Compare commits

..

3386 Commits

Author SHA1 Message Date
dkl%redhat.com
8c591d53e2 Removed some remaining SelectVisible calls in favor of CanSeeBug
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@121533 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:36:31 +00:00
dkl%redhat.com
c1aa983fd5 Update to HEAD 2002/05/13
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@121401 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 21:56:49 +00:00
dkl%redhat.com
3551227412 forgot one
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@121393 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 20:49:00 +00:00
dkl%redhat.com
d0cc91f285 Fixed some template inconsistencies with current 2.16 Stable Branch
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@121392 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 20:46:50 +00:00
(no author)
65ff7d56b3 This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@121370 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 06:24:51 +00:00
dkl%redhat.com
800eccde9a Merge with HEAD 2002/04/26
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@119979 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 18:59:37 +00:00
(no author)
5360e5b008 This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@119975 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 18:12:55 +00:00
dkl%redhat.com
da759055dd Sync to HEAD 2002/03/21
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@117156 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 05:16:48 +00:00
(no author)
1f960bb1bd This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@116669 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 23:23:14 +00:00
dkl%redhat.com
e0f4b89db1 Update to HEAD 2002/02/26
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@115395 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:11:14 +00:00
(no author)
025b6e8e46 This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@115298 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-24 09:28:23 +00:00
dkl%redhat.com
704f46aa53 Update to HEAD 2002/02/04
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@113607 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 15:56:15 +00:00
(no author)
f26338df7e This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@113575 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 09:28:50 +00:00
dkl%redhat.com
58548c3f0d Update to HEAD 2002/01/30
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@113247 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 23:00:13 +00:00
(no author)
9a6b4393ad This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@113166 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 23:26:38 +00:00
dkl%redhat.com
4316819604 Fix runtests.sh error on processmail
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@112507 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-21 23:27:24 +00:00
dkl%redhat.com
9d93dfabb8 Fix botched earlier sync with HEAD
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@112499 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-21 20:42:30 +00:00
dkl%redhat.com
d2ddb07675 Update to HEAD 01/18/2002
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@112473 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 23:06:43 +00:00
dkl%redhat.com
66d426dc97 Lost the pgsetup.pl file somewhere along the line. Adding back properly.
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@111575 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 16:13:05 +00:00
dkl%redhat.com
b7e91cb3b6 Changes to CanSeeBug to allow multiple checks in one call for buglist.cgi
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@111509 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:20:15 +00:00
dkl%redhat.com
5ac0899827 Update to HEAD 2002-01-07
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@111508 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:14:41 +00:00
dkl%redhat.com
4f49e57a3b Merge 3 with HEAD: 2001/12/26
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@111103 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-27 07:26:12 +00:00
dkl%redhat.com
38c27be28f Merge 2 with HEAD: 2001/12/26
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@111102 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-27 06:02:04 +00:00
dkl%redhat.com
d60d3d6121 Merge fix. This is frustrating.
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@111101 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-27 05:29:04 +00:00
dkl%redhat.com
db0b87fb6c Merge with HEAD on 2001/12/26
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@111100 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-27 05:09:43 +00:00
(no author)
6e2791a4b7 This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@110404 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 22:41:21 +00:00
dkl%redhat.com
14542c62c7 Update to HEAD 2001-12-03
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@109510 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 04:06:19 +00:00
dkl%redhat.com
38ebcba576 Fixed error in AddFDef
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@108598 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 18:40:38 +00:00
dkl%redhat.com
a5502157a9 Update to HEAD - November 18, 2001
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@108470 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 05:57:30 +00:00
(no author)
ba69b37618 This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@108456 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-18 22:20:21 +00:00
dkl%redhat.com
22b863a5e9 Synced up with CVS HEAD and created Bugzilla_PgSQL_branch_sync tag
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@107700 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 23:03:10 +00:00
dkl%redhat.com
3e54979994 Fixed conflict in Bug.pm, removal of tabs from lots of files.
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@107385 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:21:11 +00:00
dkl%redhat.com
d73ca44c76 Add new cpan module dependencies
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@107356 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 21:43:11 +00:00
dkl%redhat.com
a4fc52b12e Updates and bug fixes
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@107354 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 21:10:15 +00:00
dkl%redhat.com
353baca797 New SQL utility functions. Changes in buglist.cgi to improve queries.
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@106967 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:35:03 +00:00
dkl%redhat.com
4618ab6c36 Initial checkin of pgsetup.pl. Utility for setting up Bugzilla database in PostgreSQL.
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@106569 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 20:15:50 +00:00
justdave%syndicomm.com
faaed9c15f initial commit of PgSQL megapatch v0.2
git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@106532 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 07:49:05 +00:00
(no author)
675f64d0ae This commit was manufactured by cvs2svn to create branch
'Bugzilla_PgSQL_branch'.

git-svn-id: svn://10.0.0.236/branches/Bugzilla_PgSQL_branch@106501 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-28 03:41:01 +00:00
zach%zachlipton.com
87b667ee3b Fix for bug 96675: checksetup should require admin e-mail address satisfy emailregexp. This fix has
checksetup.pl use the emailregexp set in params if the params file exists, or ensures that it matches the
default emailregexp from defparams.pl.

r1=justdave, r2=bbaetz.


git-svn-id: svn://10.0.0.236/trunk@106499 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-28 03:40:59 +00:00
mkaply%us.ibm.com
71ed601f6d Trying to get nsDeviceContext to rebuild to fix test bustage
git-svn-id: svn://10.0.0.236/trunk@106498 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-28 02:46:30 +00:00
peterv%netscape.com
c3ced435c5 OS X bustage fix. AEEventHandlerProcPtr takes an unsigned long instead of a long.
git-svn-id: svn://10.0.0.236/trunk@106497 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-28 01:30:30 +00:00
peterv%netscape.com
402434aa2c Clean up. mozilla/modules/libimg/src got whacked a while back. rs=sfraser.
git-svn-id: svn://10.0.0.236/trunk@106496 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-28 00:47:23 +00:00
peterv%netscape.com
1c573efac9 Trying to fix OS X bustage by setting the entry points for Carbon targets to __NSInitialize and __NSTerminate as __initializeResources and __terminateResources were made #if !TARGET_CARBON.
git-svn-id: svn://10.0.0.236/trunk@106495 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-28 00:45:00 +00:00
sspitzer%netscape.com
ef5a93299a fix for #45084. add mnemonics to the mailing list dialog.
r=jag, sr=sspitzer.  thanks to james green (jg@cyberstorm.demon.co.uk) for the patch.


git-svn-id: svn://10.0.0.236/trunk@106494 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 23:01:59 +00:00
brendan%mozilla.org
788b8d31b2 Avoid stack overflow in js_EmitTree on long left-associative operator chains (98901, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@106489 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 18:38:16 +00:00
sspitzer%netscape.com
3017557a5f fix for #90754 (return progress meter to inactive state) and #106763 (no items in subscribe tree until you do a search).
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@106488 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 18:27:56 +00:00
peterv%netscape.com
38b6df0b56 Add DEBUG-only include of "prenv.h". Bustage fix.
git-svn-id: svn://10.0.0.236/trunk@106487 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 17:27:29 +00:00
gerv%gerv.net
e2267e9bac Fix broken comment. Bug 107043. Patch by cbiesinger@web.de, r=pavlov, sr=tor.
git-svn-id: svn://10.0.0.236/trunk@106486 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 17:24:19 +00:00
peterv%netscape.com
88c301555c Adding back file that I removed by accident. rev 1.4 with patch for bug 83589 applied.
git-svn-id: svn://10.0.0.236/trunk@106485 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 16:58:43 +00:00
peterv%netscape.com
e10435b4ce Clean up. mozilla/rdf/tests/domds got whacked a while back. rs=sfraser.
git-svn-id: svn://10.0.0.236/trunk@106484 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 16:16:54 +00:00
peterv%netscape.com
ac958fa88a ix for bug 83589 -- fix the mac build scripts so that a commercial tree doesn't clobber config files in the mozilla tree. Make a MoreFilesDebug.lib. r=peterv,sr=scc -- Removing files that sfraser forgot to remove.
git-svn-id: svn://10.0.0.236/trunk@106483 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 16:05:50 +00:00
peterv%netscape.com
8474b3d48e Fix for bug 83589 -- fix the mac build scripts so that a commercial tree doesn't clobber config files in the mozilla tree. Make a MoreFilesDebug.lib. r=peterv,sr=scc -- Part of patch that sfraser forgot to check in.
git-svn-id: svn://10.0.0.236/trunk@106482 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 15:54:47 +00:00
jake%acutex.net
be3ee559e5 A few enhancements to the template test:
* If there's a compilation error, report what it is
 * Don't try to compile a template if it doesn't exist
   - We already tested for that and issued an ERROR
 * Define the 'url' FILTER


git-svn-id: svn://10.0.0.236/trunk@106481 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 15:27:31 +00:00
mkaply%us.ibm.com
c8e3400160 More OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@106480 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 15:11:44 +00:00
mkaply%us.ibm.com
8b2ff76750 Putting these back the way they were in an attempt to fix the bustage
git-svn-id: svn://10.0.0.236/trunk@106479 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 15:11:07 +00:00
mkaply%us.ibm.com
90f5b9c725 OS/2 bustage - ugly I know - I'm opening a bug with the compiler folk
git-svn-id: svn://10.0.0.236/trunk@106478 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 14:47:08 +00:00
jaggernaut%netscape.com
71e30acb6e Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106477 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 14:30:31 +00:00
mkaply%us.ibm.com
09f3f995da Fix Os/2 build bustage - I don't know why, but we have seen this before
git-svn-id: svn://10.0.0.236/trunk@106476 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 13:41:47 +00:00
mkaply%us.ibm.com
7cb4579c59 Reverting cls attempt to fix Os/2 bustage as it busts us more :( - issue is that somehow unicharutil_s.lib is bad on OS/2 - it doesn't have to do with the length of the name - still looking
git-svn-id: svn://10.0.0.236/trunk@106475 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 11:54:03 +00:00
jaggernaut%netscape.com
9851f5a7fa Bug 70083: add nsASingleFragmentString to hierarchy. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@106474 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 11:40:01 +00:00
jaggernaut%netscape.com
38717bd097 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106473 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 11:28:06 +00:00
jaggernaut%netscape.com
e50f948785 Bug 105987: Clean up nsCharTraits.h, use slightly faster implementations where possible, r=dbaron, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@106472 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 09:40:08 +00:00
seawood%netscape.com
f6ed45a7ff Fix for mac bustage. r=jag
git-svn-id: svn://10.0.0.236/trunk@106471 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 08:57:01 +00:00
stephend%netscape.com
7610fd0017 Bug 101647. Smileys missing in Message Display pref panel. Patch by Christopher Aillon <caillon@returnzero.com> r=glazou@netscape.com, sr=blakeross@telocity.com
git-svn-id: svn://10.0.0.236/trunk@106470 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 08:56:15 +00:00
jaggernaut%netscape.com
80fd1aa040 Bug 107104: ``Throbber busted; js error since complexvalue, not string, returned'', patch by jrgm, r=jag.
git-svn-id: svn://10.0.0.236/trunk@106469 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 08:42:22 +00:00
stephend%netscape.com
43e887075f Bug 83318 - Wording changes from 'Get Msg' to 'Get Msgs' and 'New Msg' to 'Compose'. 50865 - Removing the duplicated charset menu item for folders. Both bugs have r=jglick@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 08:19:54 +00:00
jaggernaut%netscape.com
8af9e92f11 Fix js error caused by bnesse's checkin (which I reviewed, shame on me), r=mozbot.
git-svn-id: svn://10.0.0.236/trunk@106467 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 08:16:56 +00:00
jaggernaut%netscape.com
894154f57b Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106466 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 08:09:28 +00:00
seawood%netscape.com
2aa4dfe1f7 Set MOZ_UNICHARUTIL_LIBS & friends in config.mk so that we can test for USE_SHORT_LIBNAME as needed. Should get the OS/2 build further along.
git-svn-id: svn://10.0.0.236/trunk@106465 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 08:04:27 +00:00
bryner%netscape.com
2a49cc581f Adding a newline to the warning printf. r=jag.
git-svn-id: svn://10.0.0.236/trunk@106464 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:45:29 +00:00
jaggernaut%netscape.com
d2ae5f0ae2 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106463 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:43:56 +00:00
leaf%mozilla.org
a56997b4bf Automated update
git-svn-id: svn://10.0.0.236/trunk@106462 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:43:13 +00:00
seawood%netscape.com
4551221bef Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 07:38:18 +00:00
jaggernaut%netscape.com
9e8f600926 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
leaf%mozilla.org
6a3dcf88cd Automated update
git-svn-id: svn://10.0.0.236/trunk@106459 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:28:11 +00:00
bernd.mielke%snafu.de
6f1d485fdf new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@106458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:27:12 +00:00
seawood%netscape.com
f42d2a8c9e Remove MOZ_MONOLITHIC_TOOLKIT
git-svn-id: svn://10.0.0.236/trunk@106457 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:16:57 +00:00
seawood%netscape.com
cb86bca7b6 Replace hardcoded -L/usr/X11R6/lib with $(XLDFLAGS). Fixes cross-compiling among other things.
git-svn-id: svn://10.0.0.236/trunk@106456 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:02:57 +00:00
seawood%netscape.com
67a0c889a0 Followup to removal of --enable-monolithic-toolkit..remove MOZ_MONOLITHIC_TOOLKIT ifdefs
git-svn-id: svn://10.0.0.236/trunk@106453 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 05:49:30 +00:00
bnesse%netscape.com
91728ad88b Bug 106159. Switch remaining js and xul files from nsIPref interface to nsIPrefService/nsIPrefBranch interfaces to eliminate conflicts. r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106452 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 05:39:25 +00:00
seawood%netscape.com
dbe0d5e888 Removing unused nsIAppShellComponentImpl reference
git-svn-id: svn://10.0.0.236/trunk@106451 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 05:26:42 +00:00
cls%seawood.org
95f0069751 Freezing nsIURIContentListener class. Fixing PSM bustage
Thanks to Rick Potts <rpotts@netscape.com> for the patch.
Bug #99627


git-svn-id: svn://10.0.0.236/trunk@106450 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 04:15:42 +00:00
rpotts%netscape.com
12190db124 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface...
git-svn-id: svn://10.0.0.236/trunk@106449 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 03:59:37 +00:00
seawood%netscape.com
90f90500cd Adding type specifier for functions to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@106448 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 03:24:15 +00:00
dougt%netscape.com
b4b3776b8d check for null. if the reference ever goes away, we crash
git-svn-id: svn://10.0.0.236/trunk@106447 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 03:06:09 +00:00
rpotts%netscape.com
9c186d4664 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface...
git-svn-id: svn://10.0.0.236/trunk@106446 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 02:52:39 +00:00
waldemar%netscape.com
ae15a26e18 Substantive semantic changes. Implemented prototype instances and property reading and writing.
git-svn-id: svn://10.0.0.236/trunk@106445 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 02:41:20 +00:00
waldemar%netscape.com
0c42855af1 Fixed comment
git-svn-id: svn://10.0.0.236/trunk@106444 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 02:40:41 +00:00
waldemar%netscape.com
5b5ee3c5e6 Added :uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@106443 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 02:40:13 +00:00
seawood%netscape.com
1890419f7f Apparently, the ANSI C++ standard no longer assumes int for functions that are mssing their type specifier. And the HP-UX & Sun Forte compilers catch this.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@106442 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 01:49:12 +00:00
pschwartau%netscape.com
2f61347057 Fixing a typo
git-svn-id: svn://10.0.0.236/trunk@106440 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 00:48:14 +00:00
wtc%netscape.com
ec801c6a75 Bugzilla bug 106379: support building under ARM Linux.
git-svn-id: svn://10.0.0.236/trunk@106434 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 00:27:06 +00:00
ftang%netscape.com
59811867eb fix 100868. Forget to include this part from previous check in.
git-svn-id: svn://10.0.0.236/trunk@106433 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 00:08:13 +00:00
shanjian%netscape.com
0c69bf8d46 #106650 Crash viewing some mails
r=ducarroz, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@106432 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:59:30 +00:00
law%netscape.com
251fc07d93 Bug 95572; patch from Roland (Roland.Tepp@mail.ee); close dialog after launch/reveal; r=law, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@106431 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:52:21 +00:00
aaronl%netscape.com
dbf9d79500 Bug 106710. Expose anonymous content via accessibility API's. r=jgaunt, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106430 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:47:52 +00:00
sfraser%netscape.com
457115228d Clean up static linkage with unichar utils (bug 100214) for alecf. r=fm, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106429 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:34:53 +00:00
alecf%netscape.com
5e1263108a finally remove this file once and for all - turns out I removed this from the mac build yesterday (by accident, but the file is obsolete anyway)
git-svn-id: svn://10.0.0.236/trunk@106428 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:09:16 +00:00
alecf%netscape.com
1eeef02f8b remove nsIAppShellComponent, not used anywhere
(not part of build)


git-svn-id: svn://10.0.0.236/trunk@106427 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:07:48 +00:00
mstoltz%netscape.com
47226a17a2 bug 104495 - don't allow unprivileged scripts to create a window without
a close box, or to disable key shortcuts. r=danm, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@106426 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:02:49 +00:00
mstoltz%netscape.com
2eb513fdbc bug 106535, adding the ability to enable codebase principals for a single host
instead of for all hosts. r=vidur, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@106425 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 23:00:48 +00:00
sfraser%netscape.com
c01879c1fd Fix for bug 83589 -- fix the mac build scripts so that a commercial tree doesn't clobber config files in the mozilla tree. Make a MoreFilesDebug.lib. r=peterv,sr=scc
git-svn-id: svn://10.0.0.236/trunk@106424 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 22:36:56 +00:00
sfraser%netscape.com
cf430037b7 Fix for bug 83589 -- fix the mac build scripts so that a commercial tree doesn't clobber config files in the mozilla tree. r=peterv,sr=scc
git-svn-id: svn://10.0.0.236/trunk@106423 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 22:36:28 +00:00
naving%netscape.com
740d1bab43 106819 r=suresh sr=mscott. Do not steal focus after search textbox is cleared.
git-svn-id: svn://10.0.0.236/trunk@106422 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 22:33:27 +00:00
naving%netscape.com
34bc6bfc3f 94968. r/sr=mscott. fix the folder-picker to not show bogus folders.
git-svn-id: svn://10.0.0.236/trunk@106420 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 22:08:21 +00:00
hewitt%netscape.com
10836e9a6f 106826 - can't drag into folders on the personal toolbar, r=hyatt, sr=blake
git-svn-id: svn://10.0.0.236/trunk@106419 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:54:36 +00:00
rginda%netscape.com
593c0075c3 check in jband's fix for command paths on win2k, whitespace nits.
git-svn-id: svn://10.0.0.236/trunk@106411 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:37:51 +00:00
pchen%netscape.com
27d3893fc3 bug 104367, r=jag, sr=ben, add bookmark dialog changed id from
newBookmarkDialog to newBookmarkWindow but this getElementByID() call
wasn't updated, ooops


git-svn-id: svn://10.0.0.236/trunk@106410 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:37:08 +00:00
jaggernaut%netscape.com
1001076524 Bug 106967: fix crash (doh me)
git-svn-id: svn://10.0.0.236/trunk@106409 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:37:07 +00:00
wtc%netscape.com
41c5ea6d57 Bugzilla bug 106836: fixed misspelled "Privilege". The patch is
contributed by timeless@mac.com.


git-svn-id: svn://10.0.0.236/trunk@106408 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:30:58 +00:00
naving%netscape.com
a5d41c30d2 106875 r=stephend sr=mscott. Remove tooltip for the searchBar.
git-svn-id: svn://10.0.0.236/trunk@106407 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:28:46 +00:00
sspitzer%netscape.com
e651048da1 fix for #106269. reply wasn't quoting the message body.
r/sr=kin


git-svn-id: svn://10.0.0.236/trunk@106402 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:21:04 +00:00
wtc%netscape.com
3c91b36b0b Bugzilla bug 106771: support building on HP-UX 11.11.
git-svn-id: svn://10.0.0.236/trunk@106400 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:20:12 +00:00
wtc%netscape.com
475fd5527a Bugzilla bug 106771: support building on HP-UX 11.11. The patch is from
Jim Dunn <jdunn@netscape.com>.
Modified files: configure configure.in


git-svn-id: svn://10.0.0.236/trunk@106399 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 21:13:06 +00:00
ftang%netscape.com
a2a8241f07 fix bug 100868. implement the real GetTextDimension code in Mac GFX. r=pierre sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@106390 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 20:54:09 +00:00
leaf%mozilla.org
896597e85e Automated update
git-svn-id: svn://10.0.0.236/trunk@106388 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 20:43:13 +00:00
ftang%netscape.com
81039f969c fix bug 106488. improve window cmap parsing code readability
change PR_Alloc / PR_Free to nsMemory:: version
r=shanjian, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@106387 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 20:40:43 +00:00
seawood%netscape.com
4c0227d9b5 Save the value of AS as we need it later tests.
git-svn-id: svn://10.0.0.236/trunk@106385 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 20:29:02 +00:00
shanjian%netscape.com
87da0a49bd #97343 annot display middot(Unicode 00B7)in the UI under W95/W98
r=ftang, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106383 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 20:14:58 +00:00
alecf%netscape.com
78f795437c attempt to fix static build bustage
git-svn-id: svn://10.0.0.236/trunk@106382 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 20:10:44 +00:00
hwaara%chello.se
d5e77a84a1 #72667, get custom quoted colors working again; obey the pref.
r=ducarroz, mcafee, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@106381 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 19:25:19 +00:00
hwaara%chello.se
c7211a20f0 #47981, link to newsgroups launches new mail window. Make our window handling in news a lot better, reuse whatever 3pane is already open. r/sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@106380 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 19:19:35 +00:00
radha%netscape.com
1120ee9abe Fix for bug # 103978. Problems with back/forward at cnn.com, mainly due to expired subframes and clicking back/forward fast. r=adamlock sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@106379 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 19:04:11 +00:00
cmanske%netscape.com
f9487fb1bd Fixed lots of problems because getAttribute now returns null if no attribute, b=106822, r=bzbarsky, sr=kin
git-svn-id: svn://10.0.0.236/trunk@106378 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 18:51:37 +00:00
jake%acutex.net
d377a74d28 Bug 105879 - Footer links have an extra | by Sanity Check
Patch by Matthew Tuck <matty@chariot.net.au>
r= dkl@redhat.com, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@106377 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 18:49:33 +00:00
cmanske%netscape.com
b4c7b8322a Fixed null return from getAttribute that killed toolbar, b=106733, r=hwaara,sr=kin; fix for JS warning by Neil, b=106224, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@106376 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 18:43:25 +00:00
jake%acutex.net
6786208022 Bug 81594 - SQL error after editing user entry when changing numerous things at once (including the login name).
Patch by Matthew Tuck <matty@chariot.net.au>
r= dkl@redhat.com, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@106375 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 18:35:04 +00:00
sonja.mirtitsch%sun.com
34c5fe4d5a took out 64 bit HP builds
git-svn-id: svn://10.0.0.236/trunk@106374 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 18:10:37 +00:00
sonja.mirtitsch%sun.com
61f2d1f6c2 increased # of tests to 133
git-svn-id: svn://10.0.0.236/trunk@106373 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 18:08:18 +00:00
sonja.mirtitsch%sun.com
6daeb62f3d adder HP as tinderboxplatform
git-svn-id: svn://10.0.0.236/trunk@106372 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 18:07:58 +00:00
bnesse%netscape.com
177926b975 Fix for bug 103883/106273. Bad JS broke theme switching. r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106371 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 18:03:49 +00:00
alecf%netscape.com
210111498e two more nsUnicharUtils.h stragglers, I think I got r=jag, sr=scc on these in a previous patch - again for bug 100214
git-svn-id: svn://10.0.0.236/trunk@106370 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 17:51:22 +00:00
timeless%mac.com
aa4a03ef45 Bug 106832 seperatorUri is misspelled, separatorUri => SEPARATOR_URI
r=dbradley sr=brendan


git-svn-id: svn://10.0.0.236/trunk@106369 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 17:39:36 +00:00
nhotta%netscape.com
6180c0fa39 Replace nsTextFormatter by NS_ConvertUTF8toUCS2, bug 105527, r=ducarroz, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@106367 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 17:24:18 +00:00
alecf%netscape.com
c96e504eb3 Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@106366 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 17:18:35 +00:00
bernd.mielke%snafu.de
c9d2fbad18 adding a table-layout:fixed regression testcase not part of the build
git-svn-id: svn://10.0.0.236/trunk@106364 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 14:38:50 +00:00
kin%netscape.com
6fcaeaf88c Fix for bug #104692: Edit field line break didn't updated
Modified WillInsertText() so that it adds a mozbr if
the last char in the plaintext string is a newline,
and we are inserting at the end of the doc. This gives
the blank line people expect to see.

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


git-svn-id: svn://10.0.0.236/trunk@106363 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 14:22:31 +00:00
leaf%mozilla.org
22b036f939 Automated update
git-svn-id: svn://10.0.0.236/trunk@106362 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 14:13:18 +00:00
seawood%netscape.com
40fb07c08d Fixing --disable-optimize again.
git-svn-id: svn://10.0.0.236/trunk@106361 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 14:06:39 +00:00
glazman%netscape.com
3ac6ff707a table alignment was not visible in AllTags mode; b=102147, r=brade, cmanske; sr=kin
git-svn-id: svn://10.0.0.236/trunk@106360 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 13:53:53 +00:00
ccarlen%netscape.com
4fe6243416 Bug 101684 - Assertions on startup on Unix from resprotocolhandler's use of directories which don't always exist. r=dougt/sr=darin
git-svn-id: svn://10.0.0.236/trunk@106359 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 13:28:07 +00:00
jake%acutex.net
e8bbc7ef2a Check templates for tabs, also.
git-svn-id: svn://10.0.0.236/trunk@106358 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 13:21:38 +00:00
seawood%netscape.com
bc1876daed Add MOZ_POST_*_COMMAND back in hopes of fixing hpux orangeness.
git-svn-id: svn://10.0.0.236/trunk@106354 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 12:39:30 +00:00
locka%iol.ie
0497fefc20 NOT PART OF BUILD. Make IE plugin dir lookup able to cope with trailing backslashes in the registry key.
git-svn-id: svn://10.0.0.236/trunk@106353 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 12:30:49 +00:00
leaf%mozilla.org
40fd2bac35 Automated update
git-svn-id: svn://10.0.0.236/trunk@106352 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 11:13:14 +00:00
seawood%netscape.com
b376c94271 Fix --disable-optimize
git-svn-id: svn://10.0.0.236/trunk@106351 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 11:04:28 +00:00
timeless%mac.com
f65d10305d Bugzilla Bug 106839 amTargettedCorrectly should be isTargetedCorrectly
r=bbaetz,glazou sr=brendan


git-svn-id: svn://10.0.0.236/trunk@106350 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 10:54:15 +00:00
mike+mozilla%meer.net
cf412012ae Initial checkin of build file for Darwin1.4.mk. It just includes Darwin1.3.mk. Because I happened to be fooling around with an OS X system.
git-svn-id: svn://10.0.0.236/trunk@106349 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 09:38:43 +00:00
jst%netscape.com
cfd25660ab New file for rarely used leaf elements that share the same implementation. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@106348 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 09:31:32 +00:00
hyatt%netscape.com
3332a352f8 Fix for tabbrowser not being localizable as well as fixes to expose Closing of tabs via CTRL+W and the top-level menus. r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@106347 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 09:26:13 +00:00
hyatt%netscape.com
1f83f62b60 Fix for tabbrowser not being localizable as well as fixes to expose Closing of tabs via CTRL+W and the top-level menus. r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@106346 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 09:26:03 +00:00
jst%netscape.com
b2088df0d0 Fixing bug 100944, making a.search and area.search settable for backwards compatibility. Patch by Fabian Guisset <hidday@geocities.com>, r=bzbarsky@mit.edu, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106345 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 08:54:45 +00:00
seawood%netscape.com
0e38f5c374 Massive reorganization of configure options into logical groups.
The following options were renamed:

--with-jpeg                --with-system-jpeg
--with-zlib                --with-system-zlib
--with-png                 --with-system-png
--with-mng                 --with-system-mng
--enable-toolkit           --enable-default-toolkit
--with-gtk                 --enable-toolkit-gtk
--with-xlib                --enable-toolkit-xlib
--with-qt                  --enable-toolkit-qt
--enable-gle               --enable-gle-support
--with-extensions          --enable-extensions
--enable-modules           --enable-standalone-modules
--enable-lea               --enable-xpcom-lea
--enable-ultrasparc        --enable-js-ultrasparc
--enable-strip-libs        --enable-strip
--with-debug-modules       --enable-debug-modules
--with-dbgrinfo-modules    --enable-debugger-info-modules
--with-profile-modules     --enable-profile-modules
--enable-eazel-profiler    --enable-eazel-profiler-support
--enable-homedir           --with-user-appdir
--enable-static-components --enable-meta-component-modules

The following options were removed:
--enable-monolithic-toolkit
--disable-jar-packaging

zip is now required to build since NSS unconditionally requires it.

Bug #61907


git-svn-id: svn://10.0.0.236/trunk@106344 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 08:36:28 +00:00
dbaron%fas.harvard.edu
1b78c37c5d Make it almost compile on MSVC++. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@106343 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 08:30:41 +00:00
hyatt%netscape.com
42261230c8 Add support for CTRL+w closing the curren tab in multi-tabbedm ode. sr=ben, r=hewitt
git-svn-id: svn://10.0.0.236/trunk@106342 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 07:49:28 +00:00
dbaron%fas.harvard.edu
d279829b0f Undoing accidental changes.
git-svn-id: svn://10.0.0.236/trunk@106341 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 07:17:41 +00:00
jband%netscape.com
f5d51737eb fix bug 106541. Do a rename rather than a copy to create the new xpti.dat. And don't leave behind xptitemp.dat. r=valeski sr=jst.
git-svn-id: svn://10.0.0.236/trunk@106340 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 07:15:56 +00:00
dbaron%fas.harvard.edu
49d26fea47 Add |release| and corresponding |operator=| and add equality operators that gcc3 doesn't need but MSVC does. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@106339 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 07:15:55 +00:00
waterson%netscape.com
658ba2a763 Change %f to %d for page load times.
git-svn-id: svn://10.0.0.236/trunk@106338 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 06:37:31 +00:00
waterson%netscape.com
d1625c5b92 Use ms instead of s for pageloader time.
git-svn-id: svn://10.0.0.236/trunk@106337 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 06:32:58 +00:00
bryner%netscape.com
32a5c28ad9 Bug 103796 -- implement ctrl+pgup/pgdn to switch tabs (these will work in tabbrowser where ctrl+tab is reversed for switching frames). r=pchen, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@106336 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 06:28:37 +00:00
alecf%netscape.com
dd98f34a2c Added files:
mozilla/intl/unicharutil/util/nsUnicharUtils.cpp


git-svn-id: svn://10.0.0.236/trunk@106335 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 06:19:51 +00:00
hyatt%netscape.com
38dae353d7 Make middle-click close a tab in tab browser, r=bryner, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106334 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 06:17:08 +00:00
alecf%netscape.com
b779335f44 Added files:
mozilla/intl/unicharutil/util/nsUnicharUtils.cpp


git-svn-id: svn://10.0.0.236/trunk@106333 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 05:23:36 +00:00
dbaron%fas.harvard.edu
2847aa0f3d Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106332 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 05:12:25 +00:00
dbaron%fas.harvard.edu
7ddeb79974 Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106331 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 05:06:07 +00:00
seawood%netscape.com
f42774dccc Convert all rhapsody (pre-beta-macosx) references to darwin.
Bug #106617 r=wtc


git-svn-id: svn://10.0.0.236/trunk@106330 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:55:58 +00:00
rbs%maths.uq.edu.au
a5068b1a4a Add look-ahead in the case of the substitute fallback font to handle several adjacent missing characters at once rather than one by one. b=104153 r=shanjian sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106329 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:54:15 +00:00
rpotts%netscape.com
f2e49dbf9c bug #85831 (r=hewitt@netscape.com, sr=jst@netscape.com) Javascript console hangs with the error this.Console.appendIten(...) not a function
git-svn-id: svn://10.0.0.236/trunk@106328 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:51:08 +00:00
jaggernaut%netscape.com
5f0668cf9d Bug 105904, bug 105971, bug 105889, bug 105906: NS_ConvertUTF8toUCS2 hangs / segfaults. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106327 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:42:57 +00:00
bryner%netscape.com
ba8e42551b Bug 93970 -- filepicker can't open symlinked directories. Patch from simm0@ii.net, r=bryner/timeless, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@106326 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:34:56 +00:00
jaggernaut%netscape.com
173b301199 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106325 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:24:06 +00:00
naving%netscape.com
02e1a52c53 102735 r/sr=bienvenu. Save the sort info etc, when doing empty trash(imap).
git-svn-id: svn://10.0.0.236/trunk@106324 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:22:17 +00:00
alecf%netscape.com
91e99a93f5 Added files:
mozilla/intl/unicharutils/util/nsUnicharUtils.cpp


git-svn-id: svn://10.0.0.236/trunk@106322 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 03:37:38 +00:00
jst%netscape.com
6f8619cfba No need to be this paranoid, checking for pointers being null once is enough! Checking twise in a row is just overkill.
git-svn-id: svn://10.0.0.236/trunk@106321 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 03:31:49 +00:00
alecf%netscape.com
6dc7d8d1e8 final makefile.win changes for bug 100214, just adding some REQUIRES to be used soon
git-svn-id: svn://10.0.0.236/trunk@106320 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 03:18:09 +00:00
bienvenu%netscape.com
80b0e9f309 fix crash with move mail by using an nsCOMPtr to hold the ref r=naving, sr=sspitzer 104398
git-svn-id: svn://10.0.0.236/trunk@106319 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 03:13:41 +00:00
alecf%netscape.com
58b7676c67 other part of bug 106130, remove unicharutil dependency and linking (just requires updates)
git-svn-id: svn://10.0.0.236/trunk@106318 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 03:06:04 +00:00
evaughan%netscape.com
eafb5e780d A little renaming. NOT IN BUILD
git-svn-id: svn://10.0.0.236/trunk@106315 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:41:06 +00:00
jst%netscape.com
b97c01a6d7 Fixing bug 106769. Document.prototype was not on the prototype chain for XMLDocument objects. sr=jband@netscape.com, r=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@106314 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:39:56 +00:00
alecf%netscape.com
820a14b2cb other changes for bug 100214, r=jag, sr=scc
include nsUnicharUtils.h for useful stuf


git-svn-id: svn://10.0.0.236/trunk@106313 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:38:29 +00:00
brendan%mozilla.org
d33cfeae5d epstein@tellme.com's patch implementing JS_ClearNewbornRoots (106790, r=brendan, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@106312 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:38:10 +00:00
brendan%mozilla.org
8b45204d8c khanson@netscape.com's fix for silent ValueIsLength failure (101488, r=rogerl, sr=me).
git-svn-id: svn://10.0.0.236/trunk@106311 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:35:01 +00:00
karnaze%netscape.com
eab9d0baff new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@106310 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:34:16 +00:00
alecf%netscape.com
f13ae072f9 fix some more stuff for bug 100214, sr=scc, r=jag
get rid of ToUpper() call, since it just calls into mCaseConversion anyway


git-svn-id: svn://10.0.0.236/trunk@106309 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:32:46 +00:00
karnaze%netscape.com
6c1a4b003e bug 60816 use correct cell when rowspan and colspan overlap. Fix pixel rounding errors. sr=attiansi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106308 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:30:38 +00:00
jst%netscape.com
3cd16cc0ad Fixing bug 106769. Document.prototype was not on the prototype chain for XMLDocument objects. sr=jband@netscape.com, r=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@106307 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:23:56 +00:00
stephend%netscape.com
e8af69c41f Bug 106668. JS strict warnings in the new Search widget. r=naving@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106306 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:20:53 +00:00
racham%netscape.com
1b034e64d6 Fixing crasher bug 105670. Adding null check on incoming server in the process of getting default account. r=racham, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@106305 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:19:43 +00:00
jst%netscape.com
d3611e95e0 Fixing bug 106823. Pass the length to nsAString::Assign() to make sure we don't loose embedded null characters in strings, and also to speed things up a bit. Also trunkate strings before 'voiding' them to make sure old string data is deleted from the string before it's reused. r=bzbarsky@mit.edu, rs=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106304 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:18:16 +00:00
sspitzer%netscape.com
697a58798d hack fix for #106674. the non ASCII character in hwaara's name was
causing us to fail to convert the style sheet into UTF-8.
this was regression was caused by a checkin by bzbarsky@mit.edu.
he's working on a proper fix, and then we'll restore hwaara's name.

r=bzbarsky@mit.edu, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@106303 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:07:57 +00:00
cavin%netscape.com
7691ed6826 Bug #74955: When loading folders, preset the msg hdr cache table size to eliminate
the need of allocating and de-allocating tables. Same thing for users of nsUInt32Array
and nsUInt8Array. r=bienvenu, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@106302 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:02:58 +00:00
dbaron%fas.harvard.edu
fbccbc22c2 Properly initialize out parameters to prevent the frame constructor from thinking it has to handle insertion points when it really doesn't. r=bryner sr=hyatt b=106802
git-svn-id: svn://10.0.0.236/trunk@106301 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:24:49 +00:00
bienvenu%netscape.com
186e3bfb3d fix abr caused by removing charset conversion code r=naving, sr=sspitzer 106725
git-svn-id: svn://10.0.0.236/trunk@106300 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:24:01 +00:00
bienvenu%netscape.com
c67da0a1c3 remove bunch of unused code after charset conversion code that needed it was removed r=naving, sr=sspitzer 106725
git-svn-id: svn://10.0.0.236/trunk@106299 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:22:07 +00:00
bienvenu%netscape.com
aada61e1f8 fix problem with 64 bit sorts, r=bienvenu, sr=sspitzer 101011 patch by shanmu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106298 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:19:13 +00:00
dougt%netscape.com
68c5c2edc1 fixes spelling error in interface comment
git-svn-id: svn://10.0.0.236/trunk@106297 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:11:18 +00:00
dougt%netscape.com
4e8521b5c8 fixes 106736 and 106523. Regressions caused by nsIObserverService changes. r=chak@netscape.com r=morse@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106296 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:10:54 +00:00
dougt%netscape.com
83b67a7071 Freeze nsIMemory interface bug 99151 r=rpotts@netscape.com, sr=brendan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106295 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:09:22 +00:00
hewitt%netscape.com
1365704b17 105751 - splitter should set orient attribute on itself based on parent orientation, r=jag, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106294 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:09:12 +00:00
hewitt%netscape.com
608f7314a8 99235 - Bogus URL's added to urlbar history will corrupt localstore.rdf (patch by jrgm), r=jag, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@106293 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:05:55 +00:00
nhotta%netscape.com
7a95d5c5a6 Fixed to pass char* to PR_smprintf() instead of PRUnichar* which is not recognized, bug 105704, r=naving, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@106292 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:03:59 +00:00
morse%netscape.com
4a0d003d29 bug 105602, fix flawed alorithm for checking for secure cookies, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106291 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 23:58:03 +00:00
evaughan%netscape.com
5bdcdca3fa Make file fixes NOT IN BUILD
git-svn-id: svn://10.0.0.236/trunk@106289 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 23:05:23 +00:00
seawood%netscape.com
ca14d69eee Rename rhapsody to darwin
bug #106617


git-svn-id: svn://10.0.0.236/trunk@106287 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 21:34:51 +00:00
neeti%netscape.com
4543813726 Fix for bug 106585 - crash in XPCOMM.DLL during shutdown when mail-news window was open, r=shaver, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@106284 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 21:03:35 +00:00
sspitzer%netscape.com
0af440900d fix (again) for blocker bug #106646.
for ContentInserted() and ContentAppended(), we need to go forward through the observers.
for ContentRemoved() and ContentReplaced(), we need to go backward.

sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@106283 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 21:01:43 +00:00
sspitzer%netscape.com
fe5a90ed8e fix for blocker bug #106646. hyatt's hack applied to the ContentReplaced() case.
sr=hyatt.


git-svn-id: svn://10.0.0.236/trunk@106282 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 20:39:40 +00:00
myk%mozilla.org
becbccb87b Fix for bug 98602: re-implementation of "create attachment" page.
Patch by Myk Melez <myk@mozilla.org>.
r=gerv@mozilla.org,jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@106281 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 20:37:53 +00:00
dbaron%fas.harvard.edu
e1c9429f4f Fix Mac debug build bustage. (Why don't we have a mac debug tinderbox?) b=86947
git-svn-id: svn://10.0.0.236/trunk@106280 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 20:19:32 +00:00
depstein%netscape.com
3e91940e85 Included SimpleEnumerator.h, added maxLength check for sHistory index, updated Observe() in TestEmbed.cpp to handle profile switching changes.
git-svn-id: svn://10.0.0.236/trunk@106278 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 18:32:34 +00:00
sspitzer%netscape.com
361b0285b1 fix for blocker bug #106646, crash opening addressbook, compose, chatzilla, etc.
patch by hyatt.  r=sspitzer, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@106277 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 18:27:25 +00:00
mkaply%us.ibm.com
463193f245 OS/2 test bustage - need LIB_SUFFIX for gkbase and need EXTRA_DSO_LIBS for gkgfx - note that I don't think gkgfx even needs to be linked for this test but I'm putting it in anyway
git-svn-id: svn://10.0.0.236/trunk@106276 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 16:36:33 +00:00
pinkerton%netscape.com
b5ced1c4cc adding nsIMenuCommandDispatcher.idl
git-svn-id: svn://10.0.0.236/trunk@106274 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 15:00:45 +00:00
jake%acutex.net
e6f2627084 Bug 104065 - Stop uninitilized string warnings from getting into the error log when the login cookie doesn't exist.
Patch by Dave Miller <justdave@syndicomm.com>
r= gerv@mozilla.org, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@106273 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 14:46:58 +00:00
pinkerton%netscape.com
a82e6af042 new file
git-svn-id: svn://10.0.0.236/trunk@106272 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 14:29:14 +00:00
bzbarsky%mit.edu
24e640b57b Workaround for RealPlayer abusing mime.types files and fix for broken
behavior if an absolute nonexistent path is listed for a helper in
mailcap.  Bugs 106380, 106381. r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@106271 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 14:26:07 +00:00
pinkerton%netscape.com
d3777355aa rewrite osx menus to use carbon command events to work around all MenuSelect problems on carbon on 9. r=beard/sr=sfraser, bug#58227
git-svn-id: svn://10.0.0.236/trunk@106270 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 13:58:13 +00:00
mkaply%us.ibm.com
3fb7e38337 Attempt to fix OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@106269 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 13:13:28 +00:00
dbradley%netscape.com
759a8eb6b7 Bug 106130 - Remove dependancy of xpconnect on intl. r=alecf, sr=shaver, patch=jband
git-svn-id: svn://10.0.0.236/trunk@106268 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 12:07:23 +00:00
locka%iol.ie
51339aca45 Use do_GetService instead of nsServiceManager::GetService plus some re-indentation. b=105458 r=dougt@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106267 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 11:37:18 +00:00
jaggernaut%netscape.com
14371ff51c Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106266 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 10:37:41 +00:00
jaggernaut%netscape.com
afb834012b Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106265 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 09:44:29 +00:00
hyatt%netscape.com
6931cb1c9a Support for basic drag and drop in tabbrowser, r=ben, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@106264 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 09:43:23 +00:00
jaggernaut%netscape.com
1c972d7317 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106263 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 09:16:56 +00:00
pavlov%netscape.com
3bc1b9f124 new image code for windows. not part of build. bug 104999
git-svn-id: svn://10.0.0.236/trunk@106262 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 09:01:32 +00:00
seawood%netscape.com
25c089864b Land the simple OSX Mach-O build changes.
Bug #75653 r=cls


git-svn-id: svn://10.0.0.236/trunk@106261 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 08:55:53 +00:00
peterv%netscape.com
18694f65c4 Fix buster for null-strings in the dom. r=Pike. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@106260 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 08:40:57 +00:00
hyatt%netscape.com
11d35ef86c Fix for 105587, tabs should support autohide, also other tabbrowser fixes. r=bryner, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@106259 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 08:33:12 +00:00
hyatt%netscape.com
3836372f62 Fix for 105587, tabs should support autohide, also other tabbrowser fixes. r=bryner, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@106258 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 08:22:43 +00:00
jaggernaut%netscape.com
5835031439 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106257 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 07:45:52 +00:00
pavlov%netscape.com
8bdd562d78 fixing bug 106623 r=bryner sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106256 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 07:44:55 +00:00
hyatt%netscape.com
b4376d8910 Fix for 106212, make ContentAppended work right with XBL insertion points. r=brendan, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106255 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 07:31:18 +00:00
jaggernaut%netscape.com
453cb11f55 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106254 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 06:42:23 +00:00
dbaron%fas.harvard.edu
be48c3eb66 Fixing AIX and OS/2 bustage by passing by value instead of by reference to operator== and operator!=.
git-svn-id: svn://10.0.0.236/trunk@106253 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 06:34:10 +00:00
matt%netscape.com
28257bacaf Adding tooltip to sidebar for search. r=samir sr=hewitt bug 77624
git-svn-id: svn://10.0.0.236/trunk@106252 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 06:29:13 +00:00
jaggernaut%netscape.com
9dba49d0db Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106250 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 06:13:52 +00:00
naving%netscape.com
05a1c4d2ea 103734 r=sspitzer sr=bienvenu. landing Quick Search feature for mail 3 pane.
git-svn-id: svn://10.0.0.236/trunk@106249 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 05:34:49 +00:00
jaggernaut%netscape.com
adf0bd9e66 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106248 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 05:10:08 +00:00
jst%netscape.com
18b8171d1a Fixing bug 106181. When a window object is asked for the numeric property n, we return the n:th frame in the window, but if there is no n:th frame we should let the JS engine do its thing w/o forsing it to return null. r=jag@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106247 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 05:09:03 +00:00
stephend%netscape.com
c70f31b748 Bug 94022. Copies and Folders -> Copies & Folders. r=timeless, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@106246 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 04:58:07 +00:00
dbaron%fas.harvard.edu
d71c613a49 Adding work in progress for new auto pointers in order to test easily on many compilers. b=104346
git-svn-id: svn://10.0.0.236/trunk@106245 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 04:09:38 +00:00
jst%netscape.com
450353a0af Fixing bug 106571. We can live w/o storing a nsINameSpace pointer in our XUL and XML elements (which saves us 4 bytes for every XML (read XBL) element and for the XUL slots), also remove the accessors from the interface nsIXMLContent, and remove some unused code in nsXULContentUtils. r=dbaron@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106244 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 04:08:29 +00:00
despotdaemon%netscape.com
013e193d41 Pseudo-automatic update of changes made by lordpixel@mac.com.
git-svn-id: svn://10.0.0.236/trunk@106243 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 04:07:20 +00:00
dbaron%fas.harvard.edu
b6abdf1de4 Remove nsViewManager2.cpp for roc. b=73382
git-svn-id: svn://10.0.0.236/trunk@106242 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:52:07 +00:00
jaggernaut%netscape.com
ab31de16ae Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106241 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:49:28 +00:00
roc+%cs.cmu.edu
72aa716fbe Bug 73382. Cleaning up view manager; remove nsViewManager2 from build. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106240 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:43:28 +00:00
roc+%cs.cmu.edu
ce8322ef4c Bug 73382. Cleaning up view manager; remove nsViewManager2, it's ueless. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106239 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:42:39 +00:00
roc+%cs.cmu.edu
19217a44fb Bug 106355. Regression where paint requests entirely outside the widge area caused copying of bogus bits from the backbuffer. r=kmcclusk,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106237 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:36:01 +00:00
seawood%netscape.com
f66607494f Don't explicitly add $(srcdir) and let VPATH do its thing. Fixes packages built in objdirs.
git-svn-id: svn://10.0.0.236/trunk@106236 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:35:01 +00:00
dbaron%fas.harvard.edu
9ef49bf676 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974
git-svn-id: svn://10.0.0.236/trunk@106235 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:21:53 +00:00
naving%netscape.com
e9de645cd0 102467 r/sr=bienvenu. fix a small memory leak
git-svn-id: svn://10.0.0.236/trunk@106234 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:14:33 +00:00
timeless%mac.com
78140762fb Bugzilla Bug 97136 Unable to load filter on space characters
patch by alexey@ihug.com.au r=naving, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@106233 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:11:40 +00:00
dbaron%fas.harvard.edu
9d2cde6f2f Fix HP bustage. Why did I ever add this to the build on Unix?
git-svn-id: svn://10.0.0.236/trunk@106231 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:05:37 +00:00
andreww%netscape.com
0c87d3d7fc bugzilla 81196 r=shliang sr=hewitt - vertical spacing and alignment of checkboxes and radio buttons in mac classic.
git-svn-id: svn://10.0.0.236/trunk@106230 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 02:57:31 +00:00
dbaron%fas.harvard.edu
bd39ad7ef4 Remove unneeded include with the wrong case.
git-svn-id: svn://10.0.0.236/trunk@106229 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 02:47:55 +00:00
bienvenu%netscape.com
a6941f6c6d bulletproof for crash with filters and movemail r=adam@gimp.org, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@106228 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 02:26:16 +00:00
bienvenu%netscape.com
b1f0ea4be4 add ui for label feature, r=ssu, sr=sspitzer, fix problem with command enabling for local mail, r=varada, sr=sspitzer 106067 106504
git-svn-id: svn://10.0.0.236/trunk@106227 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 02:25:08 +00:00
dbaron%fas.harvard.edu
8b3489a026 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
dbaron%fas.harvard.edu
0b3593b0fc Add nsIntervalSet.cpp to the build. b=86947
git-svn-id: svn://10.0.0.236/trunk@106223 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:35 +00:00
timeless%mac.com
a140bc5473 Bug 104540 LXR updates for .idl collaboration diagrams
by mozilla@elemental.com (Brian Bramlett)
r=endico


git-svn-id: svn://10.0.0.236/trunk@106222 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:05:07 +00:00
despotdaemon%netscape.com
048c5eb918 Pseudo-automatic update of changes made by samuel@sieb.net.
git-svn-id: svn://10.0.0.236/trunk@106219 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:40:23 +00:00
bzbarsky%mit.edu
c180e28886 Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106217 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:34:20 +00:00
bzbarsky%mit.edu
1057cb4190 Make pasting from remote apps on X time out independently of processor
speed.  Bug 87207, patch by Rickard Westman <riw@swipnet.se>, r=pavlov,
sr=blizzard CVS:
----------------------------------------------------------------------
nsClipboard.cpp CVS:
----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@106216 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:30:30 +00:00
bzbarsky%mit.edu
1dbc9647e5 Make SetDocument() get a new nodeinfo if the old one does not match the
new document.  Bug 106393, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@106215 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:28:08 +00:00
morse%netscape.com
0232749fd5 bug 106304, bad wording in dialog, r=bryner, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106214 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:26:50 +00:00
brendan%mozilla.org
2163e55b8e Add mutable (growable or dependent, two subtypes) strings to solve O(n^2) and O(n^3) growth rates (56940, r=rogerl, sr=jband&shaver).
git-svn-id: svn://10.0.0.236/trunk@106213 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:26:38 +00:00
karnaze%netscape.com
fad3ac250f new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@106212 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:26:16 +00:00
karnaze%netscape.com
54f2a7e5c0 bug 106336 - treat % cellspacing, cellpadding as pixel. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106211 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:24:08 +00:00
ducarroz%netscape.com
de141f84d8 Fix for bug 106560. Crash in StyleSetImp::ShutDown when mRuleTree is null. Need to check mRuleTree before using it. R=bienvenu, SR=hyatt
git-svn-id: svn://10.0.0.236/trunk@106210 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:19:21 +00:00
nhotta%netscape.com
09b1885365 Changes for JA conversion tables, bug 54135, rs=ftang, rs=blizzard.
git-svn-id: svn://10.0.0.236/trunk@106209 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:57:50 +00:00
nhotta%netscape.com
6a84cf5086 For mail body charset conversion, if charset is "us-ascii" then use "ISO-8859-1", bug 82591, r=ducarroz, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@106208 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:54:07 +00:00
timeless%mac.com
1ecaa7f3b1 Bugzilla Bug 104244 [RFE] add reload this/all tab(s) to context menu
patch by simm0@ii.net r=hyatt sr=blake


git-svn-id: svn://10.0.0.236/trunk@106207 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:49:54 +00:00
jaggernaut%netscape.com
5e2a1a7476 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106206 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:47:43 +00:00
jst%netscape.com
d2bf33af2a Fixing blocker bug 106527 (as part of bug 69468), allow creation of atoms for empty strings but don't crash when creating atoms for strings that have no internal buffer. r=dbaron@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106203 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:36:58 +00:00
nelsonb%netscape.com
d8d2f0e62b Explanation of the files in this directory.
git-svn-id: svn://10.0.0.236/trunk@106200 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 22:17:30 +00:00
karnaze%netscape.com
d0cead0255 new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@106199 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 21:55:52 +00:00
mkaply%us.ibm.com
bf92a698d1 This should be the other AIX bustage
git-svn-id: svn://10.0.0.236/trunk@106198 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 21:40:27 +00:00
bbaetz%cs.mcgill.ca
59af65fd2f Fixed "used only once" warning coming from my patch for bug 97469. The
warning was hidden from the tests by bug 106424.

r=Jake, no 2nd review needed.


git-svn-id: svn://10.0.0.236/trunk@106195 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 20:33:49 +00:00
jpierre%netscape.com
fc33ccb04d Fix debug symbols in OS/2 build of NSPR by using absolute paths. Bug 105271
git-svn-id: svn://10.0.0.236/trunk@106194 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 20:19:05 +00:00
jst%netscape.com
cd19286dfb Fixing blocker bug 106474. Make nsAFlatString::GetReadableFragment() deal with a null buffer handles correctly. r=kin@netscape.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106189 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:29:42 +00:00
mkaply%us.ibm.com
0b0e2dd7c9 Fix for OS/2 and AIX bustage
git-svn-id: svn://10.0.0.236/trunk@106188 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:12:02 +00:00
beard%netscape.com
0a9bd3f85d [Not part of build] Bumped versions to 1.0d3.
git-svn-id: svn://10.0.0.236/trunk@106187 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:02:51 +00:00
beard%netscape.com
99ea75333f [not part of build] Renamed JavaConsole.log to "Java Console.log". Implemented UnwrapJavaWrapper().
git-svn-id: svn://10.0.0.236/trunk@106186 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:02:32 +00:00
dsirnapalli%netscape.com
44bf7478bc modified the title.
git-svn-id: svn://10.0.0.236/trunk@106185 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:59:15 +00:00
beard%netscape.com
61dfa132a1 [not part of build] Fixed hang when starting JNIThread triggers a security exception. Removed obsolete NSAGG stuff.
git-svn-id: svn://10.0.0.236/trunk@106184 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:58:20 +00:00
dsirnapalli%netscape.com
d2e133d7ec modified title.
git-svn-id: svn://10.0.0.236/trunk@106183 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:55:47 +00:00
jake%acutex.net
f6426c6f03 Don't rely on the TEST_VERBOSE environment variable (no longer exported from runtests.sh) and instead print to the TESTOUT file handle pulled in from Test::More. This will allow the testing backend to check for verbosity rather than having to handle it in the .t files.
git-svn-id: svn://10.0.0.236/trunk@106182 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:41:53 +00:00
dsirnapalli%netscape.com
97a2ef3389 modified the title.
git-svn-id: svn://10.0.0.236/trunk@106181 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:40:57 +00:00
dougt%netscape.com
9e7d4bff37 Fixes bug 106313 (smoketest blocker). Allowing notification of weak references, regression caused by my nsIObserverService landing. sr=alecf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@106179 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:02:46 +00:00
jpierre%netscape.com
0db6c405c6 Better way of calling assembler on OS/2
git-svn-id: svn://10.0.0.236/trunk@106177 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 17:35:18 +00:00
mkaply%us.ibm.com
2b0ee4554e #106000
r=pedemont, a=blizzard
Wrong coordinates for stretching 24bit images


git-svn-id: svn://10.0.0.236/trunk@106169 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:46:26 +00:00
bernd.mielke%snafu.de
ac43e7d583 bug 104898 the borderpadding should not influence the inner table margin relative to the
outertable frame r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106168 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:36:33 +00:00
wtc%netscape.com
5b76abc737 Bugzilla bug 103892: include <stdlib.h> rather than <malloc.h> for the
malloc functions.  r=cls.


git-svn-id: svn://10.0.0.236/trunk@106167 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:33:28 +00:00
jake%acutex.net
5f73a3f4db Bug 106424 - We weren't going orange on warnings such as "used only once". This script now properly outputs the --WARNING and fails on such a condition.
git-svn-id: svn://10.0.0.236/trunk@106166 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 13:29:49 +00:00
simon%softel.co.il
ec64a2b0c8 Fix for bug 75034: Selection highlight on some Bidi pages was displayed in the opposite position to the actual selection. r=kin@netscape.com, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106165 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 11:12:31 +00:00
jaggernaut%netscape.com
bc36e83f58 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106162 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:43:59 +00:00
jaggernaut%netscape.com
56e20f9b60 Replace goto with if.
git-svn-id: svn://10.0.0.236/trunk@106159 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:29:54 +00:00
jaggernaut%netscape.com
94c710fdc4 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106158 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:22:08 +00:00
jaggernaut%netscape.com
238eb280fb Bug 53057: [API] turn off implicit |CharT*| conversion operators for nsCString, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106157 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:06:49 +00:00
dbaron%fas.harvard.edu
2f1eb6d907 My guess at AIX and OS/2 bustage was wrong -- backing it out. Someone with access to a machine with one of those compilers will have to try various things here.
git-svn-id: svn://10.0.0.236/trunk@106156 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:03:46 +00:00
jaggernaut%netscape.com
be692fb779 Attempt at fixing bustage for Mac OS X
git-svn-id: svn://10.0.0.236/trunk@106155 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:03:09 +00:00
axel%pike.org
257248e5d0 bug 104042, more leaked exprResults. r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@106154 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:00:32 +00:00
jst%netscape.com
22a7f4c158 Fixing bug 106421. Now that we support null strings in the DOM node.localName can be null so we must check for that before calling methods on localName. r=jaggernaut@netscape.com, peterv@netscape.com, sr=me (trivial changes).
git-svn-id: svn://10.0.0.236/trunk@106153 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:57:17 +00:00
axel%pike.org
4196f98412 bug 104042, fix leak in standalone namespacemanager, r=sicking,peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@106152 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:45:32 +00:00
jaggernaut%netscape.com
5e8d984878 BUg 103222: Spiff up nsICollation::CompareStrings string-fu, r=dbaron, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@106151 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:15:57 +00:00
glazman%netscape.com
ddcf3462dc STYLE attribute should not expand CSS shorthand property assignment to equivalent longhand assignments; b=18894, r=peterv, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106150 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:08:30 +00:00
dbaron%fas.harvard.edu
14bbe2fc1a Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336
git-svn-id: svn://10.0.0.236/trunk@106149 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 07:48:01 +00:00
jst%netscape.com
51e4831f64 Fixing bug 69468. Finally adding support for string nullness to XPConnect. r=jaggernaut@netscape.com, shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106148 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 07:15:06 +00:00
jst%netscape.com
27f42d5eb2 Fixing bug 90143. Crash in DOM timeout code on Win2k due to OS timers firing early and out of order. r=peterv@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106147 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:58:11 +00:00
dbaron%fas.harvard.edu
ae6bbca773 Wild guess at fixing AIX and OS/2 bustage.
git-svn-id: svn://10.0.0.236/trunk@106146 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:53:39 +00:00
dbaron%fas.harvard.edu
8de595e1a9 Move nsRuleNode.cpp from content/shared/src/ to content/base/src/. b=104336
git-svn-id: svn://10.0.0.236/trunk@106145 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:36:09 +00:00
dbaron%fas.harvard.edu
a222daa57a Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336
git-svn-id: svn://10.0.0.236/trunk@106143 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:25:08 +00:00
stephend%netscape.com
c7c063af59 Bug 106172. Enabling tooltips for Venkman. Patch by Bradley Hart <bhart00@yahoo.com> r=rginda, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@106142 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:23:24 +00:00
attinasi%netscape.com
b1c02980eb Fixed crash when positioned applet has to show the alt text. b=99776 r=dbaron sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106140 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:13:10 +00:00
jaggernaut%netscape.com
de17e83dc1 This nsAString& really deserves to be const. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@106139 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:11:02 +00:00
wtc%netscape.com
3796851050 Bugzilla bug 106388: made the release_export rule work with VPATH.
git-svn-id: svn://10.0.0.236/trunk@106137 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 05:43:07 +00:00
bryner%netscape.com
d674a46902 fixing crash on exit. r=attinasi, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@106135 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 05:20:11 +00:00
attinasi%netscape.com
cbf1f7522f Checkin for tingley@sundell.net - Blinking text optional via pref 'browser.blink_enabled' b=19258 r=dbaron sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106134 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 04:52:39 +00:00
attinasi%netscape.com
739f7f8dad Checkin for tingley@sundell.net - Blinking text optional via pref b=19258 r=dbaron sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106133 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 04:51:34 +00:00
bernd.mielke%snafu.de
f7141b99f6 bug 103443 remove the last two occurences of rv?rv:NS_ERROR_FAILURE
r=kin sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106132 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 04:50:37 +00:00
pavlov%netscape.com
5737de4aba fix for bug 105964. r=timeless sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106131 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 04:25:40 +00:00
shanjian%netscape.com
95ef4f3a82 fix mac bustage,
r=jelwell


git-svn-id: svn://10.0.0.236/trunk@106129 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 03:17:44 +00:00
hyatt%netscape.com
9d81f5d9f9 Fix leaks. r=dbaron, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@106127 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 02:22:40 +00:00
pschwartau%netscape.com
34e3cda14f Adding two more cases to the test.
git-svn-id: svn://10.0.0.236/trunk@106125 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 02:01:59 +00:00
hyatt%netscape.com
1503f1b4bb Fix mac bustage.
git-svn-id: svn://10.0.0.236/trunk@106124 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 02:00:15 +00:00
shrutiv%netscape.com
a916e5adef Fix for bug 105735: CD Autorun option with existing Windows configuration
(r=tao)


git-svn-id: svn://10.0.0.236/trunk@106123 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 01:56:16 +00:00
shrutiv%netscape.com
4b65b3a8d1 Fix for bug 106298: Without the CD Autorun option, creating a Windows
installer from an existing Linux configuration tarball doesn't get
removed (r=tao)


git-svn-id: svn://10.0.0.236/trunk@106122 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 01:44:05 +00:00
myk%mozilla.org
90cb92a74d Fix for bug 106315: Link on bug list for emailing QA contacts.
Patch by Dave Miller <justdave@syndicomm.com>.
r=myk@mozilla.org, no second review needed.


git-svn-id: svn://10.0.0.236/trunk@106119 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 01:31:09 +00:00
hyatt%netscape.com
38c3c6561e Fix inspector bustage.
git-svn-id: svn://10.0.0.236/trunk@106118 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 01:18:24 +00:00
cathleen%netscape.com
1dc76a53f2 Fix static build bustage.
git-svn-id: svn://10.0.0.236/trunk@106117 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 01:13:51 +00:00
hyatt%netscape.com
be43b483ee Put nsRuleNode.cpp in the shared folder inside contentshared.mcp
git-svn-id: svn://10.0.0.236/trunk@106116 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:59:52 +00:00
hyatt%netscape.com
e28637a19a added files: mozilla/content/shared/src/nsRuleNode.cpp
git-svn-id: svn://10.0.0.236/trunk@106115 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:58:36 +00:00
relyea%netscape.com
dab0dff719 CKT_ Trust values are "enums" not flags.
git-svn-id: svn://10.0.0.236/trunk@106113 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:57:06 +00:00
hyatt%netscape.com
b083be58b2 Fix linux bustage.
git-svn-id: svn://10.0.0.236/trunk@106111 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:33:17 +00:00
mscott%netscape.com
e262944a1e Bug #105553 --> convert message display to use some new XBL widgets.
r=sspitzer
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@106110 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:28:02 +00:00
mscott%netscape.com
9e9b89d430 Bug #105553 --> convert message header display to use new XBL widget
Bug #73413 --> hook up a first pass at view all headers
Bug #51616 --> don't let long subjects (with no spaces) reak havoc on the message pane.
r=ducarroz
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@106109 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:27:03 +00:00
mscott%netscape.com
13122df7bb Bug #105553 --> add XBL widgets for use in message display
r=sspitzer
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@106108 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:26:09 +00:00
av%netscape.com
a92955ba63 Reflecting changes to the server manager in the plugin SDK -- not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@106107 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:23:28 +00:00
shanjian%netscape.com
5f1bfe137e #97176 startup perf- remove the need of loading of fontEncoding.properties files at startup time to speed up
This is part of patch for 97176, it was mistakenly removed when I checked in for 102706.
r=rbs, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106106 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:21:48 +00:00
dsirnapalli%netscape.com
68dcb1767a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@106105 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:16:44 +00:00
shanjian%netscape.com
1fd6667027 #12481 libmime to feed more characters for charset detection
r=naoki, r=ducarroz, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@106104 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:16:01 +00:00
seawood%netscape.com
97ffe4d6de Fix xpcom standalone build
git-svn-id: svn://10.0.0.236/trunk@106103 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:12:06 +00:00
hyatt%netscape.com
3f41247742 added files: mozilla/content/shared/src/nsRuleNode.cpp, removed files: mozilla/content/html/style/src/nsRuleWalker.cpp, mozilla/content/html/style/src/nsRuleNode.cpp
git-svn-id: svn://10.0.0.236/trunk@106102 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:50 +00:00
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
varada%netscape.com
d06349b965 fix for 65761 - prefill filters using email address;r=ducarroz;sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@106099 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:00:32 +00:00
sspitzer%netscape.com
7d0572e219 fix for #55473. "View" | "Sort by" and "Messages" should be radio buttons, not checkboxes.
thanks to andreas.premstaller@uibk.ac.at for the patch.  r/sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@106098 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:54:54 +00:00
tor%cs.brown.edu
dde00832b1 Update to tip - not in build.
git-svn-id: svn://10.0.0.236/trunk@106097 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:53:49 +00:00
hewitt%netscape.com
451fe96bf9 106132 - DOM Inspector broken by changes to Pref API, r=jag, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106096 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:53:44 +00:00
hewitt%netscape.com
3e3d0c87ce 86551 - First show of autocomplete is blank or something or other, r=jag, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106095 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:48:35 +00:00
naving%netscape.com
ee1695d3e8 106160. r=sspitzer sr=bienvenu fix a crash on reading local messages, the fix is not to loadURL if we cannot
get a msgHdr for the message.


git-svn-id: svn://10.0.0.236/trunk@106093 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:41:47 +00:00
nhotta%netscape.com
abfeddfb7c Fix the window close problem for saveAs in .js, enable the charset alert in .cpp and some clean up,
bug 89655, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@106092 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:25:02 +00:00
morse%netscape.com
bea286690a bug 106216, remove bogus js warning messages, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106091 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:12:18 +00:00
dsirnapalli%netscape.com
1c375c8b65 Modified the testcase to report the results in tabular form.
git-svn-id: svn://10.0.0.236/trunk@106090 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:10:08 +00:00
seawood%netscape.com
6b9389f5a3 Fix typo
git-svn-id: svn://10.0.0.236/trunk@106089 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:10:02 +00:00
hewitt%netscape.com
7a0a367e92 101876 - polish wizard implementation, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106088 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:04:49 +00:00
pschwartau%netscape.com
9a0f2bf19c Improving comments.
git-svn-id: svn://10.0.0.236/trunk@106087 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 23:02:25 +00:00
darin%netscape.com
283b8d757e NOT PART OF THE BUILD: adding Makefile.in for MachO build
git-svn-id: svn://10.0.0.236/trunk@106086 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:51:09 +00:00
darin%netscape.com
ad7578a214 NOT PART OF THE BUILD: adding Makefile.in for the MachO build
git-svn-id: svn://10.0.0.236/trunk@106085 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:49:42 +00:00
waldemar%netscape.com
fac2660668 Reordered sections to match E4 draft. Added prototype semantic domain.
git-svn-id: svn://10.0.0.236/trunk@106084 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:47:20 +00:00
waldemar%netscape.com
e96301fd24 Added dump-lexer
git-svn-id: svn://10.0.0.236/trunk@106083 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:46:26 +00:00
waldemar%netscape.com
a21269cce0 Fixed handling of unions containing forward-defined types
git-svn-id: svn://10.0.0.236/trunk@106082 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:46:01 +00:00
waldemar%netscape.com
0e3af4d9d9 Added :nbsp
git-svn-id: svn://10.0.0.236/trunk@106081 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:45:31 +00:00
waldemar%netscape.com
35f6333ba5 Added :global-call and support for styled text inside %heading
git-svn-id: svn://10.0.0.236/trunk@106080 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:45:20 +00:00
sspitzer%netscape.com
04c67a04a7 fix for #106308. fix duplicate resource ids. r=hwaara, rs=bienvenu
git-svn-id: svn://10.0.0.236/trunk@106079 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:40:12 +00:00
dprice%netscape.com
3ab4deae63 fix 42433 r=dveditz sr=mscott
File.DirCreate now returns success if dir already exists


git-svn-id: svn://10.0.0.236/trunk@106076 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:35:11 +00:00
pschwartau%netscape.com
eb6bee857f Initial add. Test for regexps with global flag set.
git-svn-id: svn://10.0.0.236/trunk@106074 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:29:01 +00:00
wtc%netscape.com
f76ce3deba DBM (mcom_db.h) is no longer testing for the HAVE_COMPAT_H macro.
git-svn-id: svn://10.0.0.236/trunk@106073 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:24:34 +00:00
bienvenu%netscape.com
4034b315d1 some front end for labels r=ssu, sr=sspitzer 106067
git-svn-id: svn://10.0.0.236/trunk@106072 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:22:32 +00:00
bienvenu%netscape.com
69c36af800 some front end for label filters r=naving, sr=sspitzer 106067
git-svn-id: svn://10.0.0.236/trunk@106071 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:21:38 +00:00
bzbarsky%mit.edu
66a5cec532 Make setting body.style.background invalidate the whole canvas so the
background is repainted correctly. r=kmcclusk@netscape.com, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106067 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:08:30 +00:00
alecf%netscape.com
96cefc42e2 NS_LITERAL_STRING cruft that's needed for 100214, got left over from dougt's patch
git-svn-id: svn://10.0.0.236/trunk@106066 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:07:29 +00:00
bienvenu%netscape.com
428644ad1a add backend support for filter labels r=ssu, sr=sspitzer 106067
git-svn-id: svn://10.0.0.236/trunk@106065 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:07:24 +00:00
bienvenu%netscape.com
ada632adf4 add backend support for labels r=ssu, sr=sspitzer 106067
git-svn-id: svn://10.0.0.236/trunk@106064 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:06:03 +00:00
wtc%netscape.com
196a987032 Bugzilla bug 105173: test the compiler-defined __SVR4 macro instead of
SVR4 for Solaris.
Modified Files:
        include/mcom_db.h include/ncompat.h src/memmove.c


git-svn-id: svn://10.0.0.236/trunk@106063 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:05:06 +00:00
bienvenu%netscape.com
0a13aa1bb1 add label type r=ssu, sr=sspitzer 106067
git-svn-id: svn://10.0.0.236/trunk@106062 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:04:03 +00:00
pschwartau%netscape.com
7545f7e70b More accurate comment.
git-svn-id: svn://10.0.0.236/trunk@106058 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 19:28:40 +00:00
pschwartau%netscape.com
539afa39e5 Correcting an error in comments.
git-svn-id: svn://10.0.0.236/trunk@106057 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 19:12:42 +00:00
pschwartau%netscape.com
31d2084e5c Minor changes in style.
git-svn-id: svn://10.0.0.236/trunk@106056 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 17:39:31 +00:00
shrutiv%netscape.com
34e8a6ea4a Changing flag parameter from int to boolean (r=tao)
git-svn-id: svn://10.0.0.236/trunk@106055 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 17:11:52 +00:00
relyea%netscape.com
c3da362afd We lookup C_Initialize for non-db functions, not dbOnly functions (this should
get tokens working again.


git-svn-id: svn://10.0.0.236/trunk@106054 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 16:54:58 +00:00
shrutiv%netscape.com
90430ba110 Fix for bug 105588: linux installer cores if the config is cloned from
window's (r=tao)


git-svn-id: svn://10.0.0.236/trunk@106053 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 16:49:12 +00:00
bbaetz%cs.mcgill.ca
cced8d8047 Bug 97469 - Assignee/QA/Reporter/CC don't get email on restricted bugs.
Also fixes seeing bugs in the buglist (bug 95024), dependancy lists,
tooltips, duplicates, and everywhere else I could see which checked group
bugs.groupset == 0.

Also fxed bug 101560, by clearing BASH_ENV

r=myk,justdave


git-svn-id: svn://10.0.0.236/trunk@106051 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 15:44:53 +00:00
bzbarsky%mit.edu
3ce2e1eabc Convert nsXMLProcessingInstruction::GetAttrValue to iterators. Bug
106163, r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@106050 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 15:32:52 +00:00
jake%acutex.net
251ac470d6 Bug 63249 - The Bug Counts report was running very slowly due to unneeded fields/joins in the SQL query.
Patch by Matthew Tuck <matty@chariot.net.au>
r= gerv@mozilla.org, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@106049 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 14:45:45 +00:00
locka%iol.ie
62254b2afe NOT PART OF BUILD. Removed implementation of the "new" Moz plugin APIs in favour of the NS API
git-svn-id: svn://10.0.0.236/trunk@106046 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 12:41:56 +00:00
locka%iol.ie
05d84b3211 NOT PART OF BUILD. Added framework to support XPConnect scripting of plugin
git-svn-id: svn://10.0.0.236/trunk@106045 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 12:39:46 +00:00
locka%iol.ie
01ef22731f NOT PART OF BUILD. Added framework to support XPConnect scripting of plugin
git-svn-id: svn://10.0.0.236/trunk@106043 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 11:50:22 +00:00
locka%iol.ie
3fbc0115c6 Disable ActiveX control registration during build by default. sr=kin@netscape.com b=105285
git-svn-id: svn://10.0.0.236/trunk@106041 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 11:39:06 +00:00
pavlov%netscape.com
71fb6121f8 fixing windows build bustage
git-svn-id: svn://10.0.0.236/trunk@106039 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 08:38:14 +00:00
leaf%mozilla.org
0cabdf2b22 Automated update
git-svn-id: svn://10.0.0.236/trunk@106038 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 08:28:16 +00:00
cls%seawood.org
2bd5f6543a Since the purpose of --enable-ultrasparc is to just flip on the ultrasparc-specific js compare & swap code, move the asflags/defines to turn it on back into js/src/Makefile.in rather than causing the entire project to be built with those flags.
git-svn-id: svn://10.0.0.236/trunk@106037 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 08:17:16 +00:00
seawood%netscape.com
a904a27013 Add PR_CALLBACK to declaration of PLDHashTableEnumeratorImpl::Enumerator as well.
git-svn-id: svn://10.0.0.236/trunk@106036 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 08:09:56 +00:00
pavlov%netscape.com
0c94ba945f fixing bug 106199. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106035 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 08:07:03 +00:00
hyatt%netscape.com
ccc139d4b1 Someone didn't convert GetBoolPref in this file, sigh. r=pav, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@106034 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 07:35:02 +00:00
axel%pike.org
137be36b91 bug 104042, fix leaks in main (ifstream) and UnionExpr::evaluate (adding a null check and some iteratorlove, too), r=sicking@bigfoot.com,peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@106033 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 07:34:27 +00:00
axel%pike.org
03728af7e3 bug 104042, plug leaks in variable code and import frames. checking in for sicking@bigfoot.com, r=me, peterv, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@106032 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 07:32:19 +00:00
seawood%netscape.com
b6934d8ae1 Declare PLDHashTableEnumeratorImpl::Enumerator as a callback function.
Blind fix for OS/2 bustage


git-svn-id: svn://10.0.0.236/trunk@106031 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 06:52:07 +00:00
seawood%netscape.com
3e4295eb82 Spit out error if given -d without argument.
Bug #74067


git-svn-id: svn://10.0.0.236/trunk@106030 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 06:25:59 +00:00
kaie%netscape.com
9161f336a5 b=79153 r=javi sr=blizzard
Crypto key generation feedback, prevent crash, cleanup code, add a call from second code path.


git-svn-id: svn://10.0.0.236/trunk@106028 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 06:11:57 +00:00
curt%scruznet.com
b700abec04 Enables Okay button so dialog can be closed.
Fixes bug #53224.


git-svn-id: svn://10.0.0.236/trunk@106027 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 06:00:37 +00:00
curt%scruznet.com
52eb9190f4 Enables the pause button. Fixes bug #84595.
git-svn-id: svn://10.0.0.236/trunk@106026 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 05:49:20 +00:00
hewitt%netscape.com
cca57d897e 106178 - need a 'plain' class for removing all margin/border/padding, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106025 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 05:23:43 +00:00
dougt%netscape.com
337217beaa backing out changes to 104172. r=ccarlen@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106023 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 03:50:24 +00:00
waterson%netscape.com
31173aade4 Fix egcs-1.1.2.
git-svn-id: svn://10.0.0.236/trunk@106022 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 03:44:09 +00:00
waterson%netscape.com
28843d2d15 Need a tab, not a space.
git-svn-id: svn://10.0.0.236/trunk@106020 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 03:12:28 +00:00
seawood%netscape.com
7f55ca9be7 Convert MyService test component into an "generic" module
Bug #71601 r=dougt


git-svn-id: svn://10.0.0.236/trunk@106019 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 02:56:35 +00:00
waterson%netscape.com
39c3e8852d Bug 26104. Move broadcaster maintenance out of XUL element and into the document. r=shaver, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106018 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 02:44:44 +00:00
gerv%gerv.net
539683a461 Bug 101431 - making chromelist.txt happen again. Enable it on Unix, and add it to the relevant packaging manifests. r=cls.
git-svn-id: svn://10.0.0.236/trunk@106017 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 02:40:24 +00:00
dougt%netscape.com
de82c62b03 removing nslayout from MANIFEST
git-svn-id: svn://10.0.0.236/trunk@106015 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 02:28:29 +00:00
neeti%netscape.com
b5893430a8 fix for bug 96461 - using PLDHash for ComponentManager,r=shaver@mozilla.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106014 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 02:28:12 +00:00
sspitzer%netscape.com
3d6cb28d32 fix for #106165. fix js warning when psm not built or installed. r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@106013 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 02:11:08 +00:00
waterson%netscape.com
80a4b96cfc moving Mac OS X mach-o packaging to trunk.
git-svn-id: svn://10.0.0.236/trunk@106012 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 02:02:57 +00:00
roc+%cs.cmu.edu
9f4555ddb6 Bug 73382. Add important documentation comment. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@106010 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:29 +00:00
dougt%netscape.com
62a8215278 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
roc+%cs.cmu.edu
44f839f120 Bug 73382. View manager cleanup: eliminate Refresh(nsRect) path in favour of Refresh(nsIRegion), plus other minor cleanups. r=kmcclusk,rs=attinasi
git-svn-id: svn://10.0.0.236/trunk@106008 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:35:50 +00:00
leif%netscape.com
372229eb99 Bug 103084 and Bug 103085: Memory leaks in LDAP code. r=mitesh, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@106007 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:19:12 +00:00
shrutiv%netscape.com
f04c87495a Fic for bug 105588: linux installer cores if the config is cloned from
window's (r=tao)


git-svn-id: svn://10.0.0.236/trunk@106006 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:04:40 +00:00
bbaetz%cs.mcgill.ca
c33a71657f Bug 103737 - reenable "go up a directory" stuff which got accidentally
removed during my rewrite.
Bug 106114 - Don't assume that ftp directory listing dates are in GMT;
rather just leave them in the server's timezone.

Both r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@106005 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:56:41 +00:00
shrutiv%netscape.com
01812022f0 Fix for bug 105588: linux installer cores if the config is cloned from
window's. Providing ability to create Linux or Windows build using same
configuration. (r=tao)


git-svn-id: svn://10.0.0.236/trunk@106004 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:50:49 +00:00
hewitt%netscape.com
61874ec44f 106155 - disabled color problems in modern theme, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106003 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:40:20 +00:00
dsirnapalli%netscape.com
bc9b15068a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@106002 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:36:37 +00:00
jj%netscape.com
6a9d5de113 landing fix for bugscape 10608 (added oji.shlb in [browser] module) on the trunk.
git-svn-id: svn://10.0.0.236/trunk@106001 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:35:45 +00:00
av%netscape.com
b7c70d3c8e Updating the list of header files needed for the plugin SDK -- not part of the build
git-svn-id: svn://10.0.0.236/trunk@106000 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:23:12 +00:00
hewitt%netscape.com
52f6d011ff 106131 - hitting enter on focused OK button in dialog fires onaccept 2x, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105999 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:16:15 +00:00
karnaze%netscape.com
53af4f4999 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@105998 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:15:55 +00:00
bryner%netscape.com
64cc22396c Bug 105668 - make gtk embedding widget properly implement FocusNextElement and FocusPrevElement. r=jag, r/sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@105997 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:14:09 +00:00
cmanske%netscape.com
9d37c05073 Fixed busted HTML attribute setting in Composer Advanced Edit dialog, b=106047, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@105996 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 00:00:37 +00:00
pschwartau%netscape.com
a144c89afb Adding comments.
git-svn-id: svn://10.0.0.236/trunk@105995 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:59:20 +00:00
pchen%netscape.com
ff3d4991fe *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@105994 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:59:10 +00:00
kaie%netscape.com
87d4b27a7e b=105016 r=kaie sr=ben
Update to 88553, polish layout of dialog and clicking on radio button text to select a radio button.


git-svn-id: svn://10.0.0.236/trunk@105993 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:57:39 +00:00
cmanske%netscape.com
fbde2b6c63 Image dialog should should use 'middle', not 'center' for align attribute, b=102036, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@105991 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:55:58 +00:00
hyatt%netscape.com
ea462eacb6 Fix for 101554. r=dbaron, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@105989 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:37:33 +00:00
mcafee%netscape.com
52a6dc4ece Adding --list-only option, Getopt functionality. r=akkana
git-svn-id: svn://10.0.0.236/trunk@105988 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:33:02 +00:00
mcafee%netscape.com
d393357e6a Adding --list-only option. Added Getopt library capability. r=akkana, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105987 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:32:11 +00:00
darin%netscape.com
c51eb85860 fixes bug 105478 "nsHttpHandler::mLastUniqueID not initialized!!"
r=gordon, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@105985 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:24:26 +00:00
shanjian%netscape.com
d2a8215d9e #102706 change nsFontMetricsWin.cpp to use nsCompressedCharMap
r=rbs sr=attinasi

Most of the charmap were replaced by compressed charmap, only very few
left for direct operation. Some optimization also get in as problem
found when testing this patch.


git-svn-id: svn://10.0.0.236/trunk@105984 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:20:24 +00:00
alecf%netscape.com
3991a0512b temporarily fix bustage by moving intl earlier in the build cycle
git-svn-id: svn://10.0.0.236/trunk@105983 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 23:14:19 +00:00
nhotta%netscape.com
3a858bfd54 For charset menupopup, make sure to set selectedItem and removed unnecessary code, bug 87691, r=jbetak, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@105982 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:47:48 +00:00
bryner%netscape.com
73a2cc7db6 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105981 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:43:52 +00:00
dsirnapalli%netscape.com
5a4001e187 This file is used by ComponentListTest.html
git-svn-id: svn://10.0.0.236/trunk@105980 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:38:27 +00:00
dsirnapalli%netscape.com
d917b61c75 Test case to list the components available for mfcEmbed.
git-svn-id: svn://10.0.0.236/trunk@105979 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:37:49 +00:00
dsirnapalli%netscape.com
9bf85d1959 will rename it to .txt and check in again.
git-svn-id: svn://10.0.0.236/trunk@105978 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:36:39 +00:00
dsirnapalli%netscape.com
dbc1283d66 Will rename it to .txt and check it again.
git-svn-id: svn://10.0.0.236/trunk@105977 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:35:59 +00:00
javi%netscape.com
8faaf72005 Fix for Bug 99163, Checking in for dougt@netscape.com,r=shaver, sr=jband
git-svn-id: svn://10.0.0.236/trunk@105976 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:30:18 +00:00
karnaze%netscape.com
2f5ef17932 bug 105268 - set NS_FRAME_OUTSIDE_CHILDREN on row when cells have rowspan>1 so that painting will not clip to row. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@105975 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:21:19 +00:00
danm%netscape.com
8f2c0dd67c rework zoomed window size to use structure region bounds; looks beter on OS X. bug 105657 code=lordpixel r=pinkerton,sfraser,me
git-svn-id: svn://10.0.0.236/trunk@105974 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:07:14 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
loadrunner%betak.net
1403ab79f6 bug 97174 startup perf- remove the need of loading of wincharset.properties files at startup time to speed up, r=nhotta, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105969 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 21:52:16 +00:00
morse%netscape.com
256f214fea bug 105874, minor wording changes in p3p dialog, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105968 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 21:49:55 +00:00
dsirnapalli%netscape.com
f8c4a30307 this file is used by ComponentListTest.html
git-svn-id: svn://10.0.0.236/trunk@105967 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 21:36:41 +00:00
dsirnapalli%netscape.com
ef22a6c851 Test case to list the available components for mfcEmbed.
git-svn-id: svn://10.0.0.236/trunk@105966 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 21:36:03 +00:00
alecf%netscape.com
bd77c1a09d ack! how'd that get yanked? backing out part of my previous checkin, never should have landed
git-svn-id: svn://10.0.0.236/trunk@105965 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 21:25:14 +00:00
alecf%netscape.com
cb8cce8ae8 add ToUpperCase/ToLowerCase for PRUnichar - not used yet.. for bug 100214
git-svn-id: svn://10.0.0.236/trunk@105964 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 21:23:01 +00:00
harishd%netscape.com
63ecc27e89 105896 - CharsetAlias is a COMPtr and therefore no need for ReleaseService(). This isa regression caused by the fix to bug 88363. r=heikki, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@105963 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 21:09:20 +00:00
hewitt%netscape.com
8d31e78071 105995 - Tabs don't work in first window., sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105962 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:59:14 +00:00
nhotta%netscape.com
e8996e27ad In MIME encoder, replace nsTextFormatter by NS_ConvertUTF8toUCS2, bug 105527, r=ducarroz, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@105961 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:59:03 +00:00
bnesse%netscape.com
7f9fa9521d Fix for bug 103883. Add weak ref support for prefs observers to help reduce MLK cycles with preferences. r=ccarlen, darin, gordon, hewitt, mstoltz, srilatha, sspitzer. sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@105960 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:54:48 +00:00
harishd%netscape.com
7423f3c016 Backing out fix for bug 100397 since it caused the relow numbers and the page load time to shoot up.
git-svn-id: svn://10.0.0.236/trunk@105959 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:51:09 +00:00
mkaply%us.ibm.com
47020cc834 No bug
r=mkaply, sr=blizzard
OS/2 only - removing lots of cruft, general cleanup of widget


git-svn-id: svn://10.0.0.236/trunk@105958 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:49:50 +00:00
waterson%netscape.com
1de1aeabae Bug 68871. Permit partial sharing of XUL attributes, remove unused fields from nsXULElement and nsXULElement::Slots. Tag teamed with shaver@mozilla.org, r=shaver; sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105957 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:48:52 +00:00
alecf%netscape.com
93701a7f68 bug 100214 - add libunicharutil_s to all unix projects that require it, r=cls
git-svn-id: svn://10.0.0.236/trunk@105956 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:44:02 +00:00
alecf%netscape.com
be219fb68c bug 100214 - add makefile define for MOZ_UNICHAR_LIBS for unichar case support
r=cls (build-system only)


git-svn-id: svn://10.0.0.236/trunk@105955 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:42:39 +00:00
pschwartau%netscape.com
cd5cb1cd26 Improving readability.
git-svn-id: svn://10.0.0.236/trunk@105954 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:09:12 +00:00
pschwartau%netscape.com
e01d0c22d0 Initial add. Regression test for Bugzilla bug 105972.
git-svn-id: svn://10.0.0.236/trunk@105953 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:06:52 +00:00
waterson%netscape.com
bf277e8274 More types!
git-svn-id: svn://10.0.0.236/trunk@105951 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 18:25:37 +00:00
hewitt%netscape.com
4f23ec5d79 102241 - [XUL 1.0] use selectedIndex on deck and tabpanels, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105944 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 17:37:59 +00:00
karnaze%netscape.com
2f9729e913 new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@105938 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 15:07:12 +00:00
karnaze%netscape.com
a317d22083 bug 96343 - skip cellspacing logic when child is not a row. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@105936 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 14:37:03 +00:00
karnaze%netscape.com
f5419762fd bug 52531 - treate style change reflow like initial when positioning cell block.
git-svn-id: svn://10.0.0.236/trunk@105935 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 14:31:18 +00:00
karnaze%netscape.com
9c91a2a8e3 bug 86314 - invalidate properly when the inner table changes width. sr=attinasi, r=kmcclusk.
git-svn-id: svn://10.0.0.236/trunk@105934 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 14:24:54 +00:00
bienvenu%netscape.com
c1e9482e55 speed up loading of newsgroups by avoiding second db commit, r/sr =sspitzer 74955
git-svn-id: svn://10.0.0.236/trunk@105933 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 14:07:44 +00:00
bienvenu%netscape.com
cf0079914f correct fix for 103703 loading message leaks url spec, r/sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@105932 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 13:25:54 +00:00
peterv%netscape.com
796087a7db Fix for bug 81506 (JS error on browser startup). r=glazman@netscape.com, sr=ben@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@105931 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 11:39:02 +00:00
rods%netscape.com
8612bf6bb6 Make labels inline !important
Bug 100801 r=rods sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105930 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 10:39:35 +00:00
jfrancis%netscape.com
c64143d012 fixes following bugs:
77902: toggling from normal to source view and back in composer can leave source in normal view.
101645: big/small tags get seperately wrapped around br nodes
81315: drag and drop doesn't behave same as copy paste
90759: ascii spaces don't behave in IME mode
96328: cant outdent certain indented text
58629: some mail messages cannot be accurately quoted on reply
93088/93477: forward deletion broken
46290: relative font size controls dont play nice with absolute font size
r=various; sr=kin


git-svn-id: svn://10.0.0.236/trunk@105922 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 06:22:52 +00:00
leaf%mozilla.org
00fcc38140 Automated update
git-svn-id: svn://10.0.0.236/trunk@105921 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 04:43:16 +00:00
seawood%netscape.com
7b09be9ef1 Remove unused MOZ_ENDER_LITE & -DENDER_LITE from the tree.
git-svn-id: svn://10.0.0.236/trunk@105920 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 04:34:31 +00:00
jaggernaut%netscape.com
68b1430692 Bug 105973: s/Observe/observe/
git-svn-id: svn://10.0.0.236/trunk@105919 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 04:26:04 +00:00
jaggernaut%netscape.com
32692449ba Bug 105973: s/Observe/observe/
git-svn-id: svn://10.0.0.236/trunk@105918 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 04:16:33 +00:00
bernd.mielke%snafu.de
b287b54fc9 bug 97027 restrict the use of multilength parsing to cols and colgroups
r=karnaze sr= attinasi


git-svn-id: svn://10.0.0.236/trunk@105917 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 04:05:34 +00:00
dbaron%fas.harvard.edu
a0052ea3a7 Fix assertion from dougt's nsIObserver / nsIObserverService changes. b=99163
git-svn-id: svn://10.0.0.236/trunk@105916 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 04:00:02 +00:00
rangansen%netscape.com
35bc93c7c9 Checking in for morse@netscape.combug# 87334, r=rangansen r=jag sr=Alect Flettenforcing ask everytime option for passwords ...
git-svn-id: svn://10.0.0.236/trunk@105915 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 03:01:53 +00:00
matt%netscape.com
e22fa0aca9 bug 104119 r=samir sr=blake double escaping sherlock file fixed for netscape search
git-svn-id: svn://10.0.0.236/trunk@105910 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 01:13:04 +00:00
av%netscape.com
461ab0ebf1 The tester plugin -- first check in, not part of the build, bug 105959
git-svn-id: svn://10.0.0.236/trunk@105908 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 00:25:25 +00:00
waterson%netscape.com
8241b8d2c9 Types, types! More types!
git-svn-id: svn://10.0.0.236/trunk@105907 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 00:07:26 +00:00
seawood%netscape.com
65d28de970 Fix missing description problem for options that required multiple lines for the description.
git-svn-id: svn://10.0.0.236/trunk@105903 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 19:11:25 +00:00
waterson%netscape.com
734c20f22b Add coverage and floating width.
git-svn-id: svn://10.0.0.236/trunk@105902 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 16:46:37 +00:00
jaggernaut%netscape.com
e29e1bd829 Bug 89998: Some minor wording clean-up (title -> caption) in nsGroupBoxFrame.cpp. r=mozbot. Much thanks to FrodoB for his help (he did most of the work on my previous checkins for this bug).
git-svn-id: svn://10.0.0.236/trunk@105901 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 09:30:22 +00:00
jaggernaut%netscape.com
a7768607f4 Bug 98889: move nsTitledBoxFrame.cpp to nsGroupBoxFrame.cpp as the final step in this XUL 1.0 bug. r=me,FrodoB.
git-svn-id: svn://10.0.0.236/trunk@105900 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 08:37:10 +00:00
jaggernaut%netscape.com
5847886c93 Bug 89998: move nsTitledBoxFrame.cpp to nsGroupBoxFrame.cpp (and the classnames in it) as the final step in this XUL 1.0 bug. r=jag,FrodoB.
git-svn-id: svn://10.0.0.236/trunk@105899 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 08:35:34 +00:00
jaggernaut%netscape.com
237e5134e7 Bug 89998: bring nsGroupBoxFrame.cpp in line with nsTitledBoxFrame.cpp. r=FrodoB.
git-svn-id: svn://10.0.0.236/trunk@105898 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 07:03:02 +00:00
hewitt%netscape.com
c561a40b01 70751 - [XUL Syntax] XUL docs loaded in iframes should use <page>, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105896 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 04:16:03 +00:00
hewitt%netscape.com
fd27581a34 102241 - [XUL 1.0] use selectedIndex on deck and tabpanels, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105895 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 03:59:20 +00:00
hewitt%netscape.com
50b7982d00 102239 - [XUL 1.0] implement new control element methods, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105894 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 03:58:21 +00:00
pavlov%netscape.com
1022d4d44a fix for bug 105555. r=pavlov sr=darin. patch from sfraser
git-svn-id: svn://10.0.0.236/trunk@105893 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 00:58:36 +00:00
pavlov%netscape.com
513d1ed1ba fix FMW in gtk timer code. bug 83163 r=dbaron sr=mscott
git-svn-id: svn://10.0.0.236/trunk@105892 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 00:44:46 +00:00
pavlov%netscape.com
3fb5ffef03 fix for bug 105257 r=dbaron sr=mscott
git-svn-id: svn://10.0.0.236/trunk@105890 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 00:12:53 +00:00
dbaron%fas.harvard.edu
85c206679a Reduce the performance cost of (threadsafely) refcounting many atoms by creating a second implementation of nsIAtom (derived from the first) that does not refcount and gets destroyed at XPCOM shutdown. Normal atoms are converted to permanent ones without loss of pointer identity when a permanent atom is requested and a normal one already exists. b=92141 r=waterson sr=brendan
git-svn-id: svn://10.0.0.236/trunk@105889 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 23:19:07 +00:00
bienvenu%netscape.com
eabf63d1eb fix crash after renaming local folder while it's being reparsed r=naving, sr=sspitzer 105108
git-svn-id: svn://10.0.0.236/trunk@105888 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 23:11:02 +00:00
bienvenu%netscape.com
195e90d040 add error message for folder rename failed r=naving, sr=sspitzer part of fix for 105108
git-svn-id: svn://10.0.0.236/trunk@105887 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 23:08:24 +00:00
jake%acutex.net
6556ad04b0 Bug 71840 - Make comments referenceable using a #c4 to get the fourth comment.
Patch by Gerv <gerv@mozilla.org> and Myself.
r= jake@acutex.net, gerv@mozilla.org, justdave@syndicomm.com


git-svn-id: svn://10.0.0.236/trunk@105883 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 13:03:14 +00:00
jake%acutex.net
5fcb9d6a75 Backing out previous change, the wrong patch got checked in.
git-svn-id: svn://10.0.0.236/trunk@105882 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 12:59:57 +00:00
locka%iol.ie
c66ddad77e New NameEquals method on nsIDocShellTreeItem to reduce unnecessary strdup'ing as FindChildWithName walks through its children looking for a matching item. b=102576 r=radha@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105881 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 11:42:35 +00:00
locka%iol.ie
0f15b9fef1 Add res/entityTables to embedding dist to stop assertions. b=101605 r=chak@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@105880 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 11:36:37 +00:00
ben%netscape.com
e033344fbc 80150 - bookmark gets deleted if dropped on column picker. Prevent drops from being accepted on the head row. r=pchen, sr=hyatt. Also remove an unused obsolete file and add some ids.
git-svn-id: svn://10.0.0.236/trunk@105879 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 11:13:44 +00:00
ben%netscape.com
63aeaaa676 75825 - View|Show Columns menuitem is always disabled in bookmarks view menu.
Prevent the disabling code from disabling any items outside its range of intended
operation.
r=pchen, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@105878 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 11:11:58 +00:00
ben%netscape.com
4d4d63338d Best fix for 87864, prevent duplicate bookmarks from being processed when loading a bookmarks file.
This code was originally removed from 6.1 because performance issues with IndexOf, which have recently been addressed. r=pchen, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@105877 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 09:26:40 +00:00
seawood%netscape.com
e098085005 Create common base (nsDeviceContextX) for nsDeviceContextXlib & nsDeviceContextXp to partially remove xprint dependency upon xlib. Also fixes static builds.
Thanks to Roland.Mainz@informatik.med.uni-giessen.de for the patch.
Bug #103371 r=cls sr=waterson


git-svn-id: svn://10.0.0.236/trunk@105876 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 08:51:57 +00:00
sspitzer%netscape.com
97b7dec85e fix for #105659. fix js warnings when there isn't a mapiregistry service.
r=srilatha, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@105874 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 06:24:07 +00:00
seawood%netscape.com
5adbaf8c2f Purging removed Makefiles
git-svn-id: svn://10.0.0.236/trunk@105873 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 06:08:57 +00:00
loadrunner%betak.net
cc65a886d1 99186 Remove acceptlanguage.properties from the build, r=tao, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105872 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 04:55:21 +00:00
mkaply%us.ibm.com
44a544457b #71601
r=cls
since this is now a generic module, it no longer needs HAS_EXTRAEXPORTS hack


git-svn-id: svn://10.0.0.236/trunk@105871 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 04:13:54 +00:00
kmcclusk%netscape.com
0104aafb7e Ignore case when comparing default named anchor (top) 80784 sr=kin@netscape.com r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105870 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 03:12:33 +00:00
kmcclusk%netscape.com
0c68b26d29 Added code to UpdateCoveringWidgets to take into account hidden views when considering whether a view completely covers the invalidated rect. bug 100652 r=roc+moz@mozilla.org sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105869 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 03:09:36 +00:00
dougt%netscape.com
badd4f48a2 fixed regression in mailnews caused by my last change. Need to support weak references both while adding AND while notifying... d'oh! a=pchen@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105868 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 02:07:33 +00:00
dbaron%fas.harvard.edu
f86234616d Fix build bustage from dougt's nsIObserver / nsIObserverService changes. b=99163
git-svn-id: svn://10.0.0.236/trunk@105866 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 01:29:45 +00:00
dbaron%fas.harvard.edu
65ab76f65b Fix build bustage from dougt's nsIObserver / nsIObserverService changes. b=99163
git-svn-id: svn://10.0.0.236/trunk@105864 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 01:17:08 +00:00
gerv%gerv.net
ffb874519d Bug 71840 - make comments referenceable. Patch by gerv/jake. r=justdave, jake/gerv.
git-svn-id: svn://10.0.0.236/trunk@105863 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 01:06:59 +00:00
dbaron%fas.harvard.edu
48e3256eb5 Fix build bustage from dougt's nsIObserver / nsIObserverService changes. b=99163
git-svn-id: svn://10.0.0.236/trunk@105862 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 01:01:27 +00:00
jake%acutex.net
71b60e4071 Bug 105480 - Use the friendly name from the fielddefs table when reporting strictvalue errors if it's available.
Patch by James A. Laska <jlaska@us.ibm.com>
r= justdave@syndicomm.com, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@105860 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 00:50:27 +00:00
dougt%netscape.com
9070a71c49 fixing major regression caused by my change to nsIObserverService
git-svn-id: svn://10.0.0.236/trunk@105859 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 00:33:02 +00:00
jake%acutex.net
d3926a124b Bug 104340 - Changing the UI of the toolbar for hiding bugs in the dependency tree.
Patch by Christian Reis <kiko@async.com.br>
r= justdave@syndicomm.com, gerv@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@105858 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 00:22:52 +00:00
dbaron%fas.harvard.edu
263c995ad7 Fix page cycler orange from dougt's nsIObserver / nsIObserverService changes. b=99163 r=dougt
git-svn-id: svn://10.0.0.236/trunk@105857 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 23:51:04 +00:00
jake%acutex.net
692e3604f8 Bug 73180 - We now put a notice at the top of the versioncache file saying that it should not be edited.
Patch by Matthew Tuck <matty@chariot.net.au>
r= gerv@mozilla.org, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@105856 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 23:49:37 +00:00
dbaron%fas.harvard.edu
91e5381554 Fix build bustage from dougt's nsIObserver / nsIObserverService changes. b=99163
git-svn-id: svn://10.0.0.236/trunk@105855 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 23:28:44 +00:00
loadrunner%betak.net
ece111f5c3 bug 99186, Remove acceptlanguage.properties from the build, r=tao, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105854 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 23:18:32 +00:00
waldemar%netscape.com
a7c1ec03f5 Replaced %section and %subsection by %heading with an adjustable level number
git-svn-id: svn://10.0.0.236/trunk@105853 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 23:18:03 +00:00
dbaron%fas.harvard.edu
2287b3a42a Fix build bustage from dougt's nsIObserver / nsIObserverService changes. b=99163
git-svn-id: svn://10.0.0.236/trunk@105852 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 23:15:51 +00:00
sgehani%netscape.com
1a563a741d Fix typo that caused sorting to fail.
b = 104622
r = matt
sr = alecf


git-svn-id: svn://10.0.0.236/trunk@105851 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 23:05:04 +00:00
dougt%netscape.com
a9081d6d49 fixing build bustage cause by nsIObserver changes
git-svn-id: svn://10.0.0.236/trunk@105850 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:56:19 +00:00
alecf%netscape.com
60f63abb98 for bug 100214, add some PRUnichar case routines, #if 0'ed out
git-svn-id: svn://10.0.0.236/trunk@105849 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:51:11 +00:00
loadrunner%betak.net
e46a9cdc11 bug 99186, Remove acceptlanguage.properties from the build, r=tao, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105848 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:49:37 +00:00
javi%netscape.com
376b3dbdc4 Missed this file in dougt's last patch.
git-svn-id: svn://10.0.0.236/trunk@105847 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:48:01 +00:00
loadrunner%betak.net
15260d9453 bug 99186, Remove acceptlanguage.properties from the build, r=tao, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105846 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:41:59 +00:00
sgehani%netscape.com
6c6c6e9afa Fix typo.
b = 103215
r = morse
sr = alecf


git-svn-id: svn://10.0.0.236/trunk@105845 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:40:11 +00:00
jake%acutex.net
457d72aeff Bug 103664 - Tests should "use strict;" and not contain any tabs. We should also use the TEST_VERBOSE environment variable instead of VERBOSE.
Patch by David D. Kilzer <ddkilzer@theracingworld.com>
Additional edits by myself to add the emacs mode line.  Also, the change to runtests.sh was done by me.


git-svn-id: svn://10.0.0.236/trunk@105842 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:39:51 +00:00
relyea%netscape.com
adc610c9bf NSS specific PKCS 11 mechanisms, collected in one single header file.
git-svn-id: svn://10.0.0.236/trunk@105840 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:37:14 +00:00
dougt%netscape.com
55f600e4ec missed a few changes in my nsIObserver landing
git-svn-id: svn://10.0.0.236/trunk@105839 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:30:02 +00:00
dougt%netscape.com
ebe79ca4e9 Fixing build bustage. removing nsIObserverService.idl from MANIFEST
git-svn-id: svn://10.0.0.236/trunk@105838 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:26:37 +00:00
shrutiv%netscape.com
842a601d98 Fix for bug 105279: CCK customized linux installer contains unselected
xpi's. Removing xpi's that are not selected. (r=tao)


git-svn-id: svn://10.0.0.236/trunk@105837 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:12:15 +00:00
akkana%netscape.com
4d4b1e1f39 98546: Fix Unix too, and make mac prefs the default. r=pink, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105836 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:07:17 +00:00
alecf%netscape.com
7348edaaeb change a print line to show the number of directories being updated
not part of the default build


git-svn-id: svn://10.0.0.236/trunk@105835 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:05:57 +00:00
mkaply%us.ibm.com
955f3d7d08 No bug
r=mkaply, sr=blizzard
OS/2 only - reworking OS/2 widget/window parentage


git-svn-id: svn://10.0.0.236/trunk@105834 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:57:02 +00:00
javi%netscape.com
a06329f695 Checking in for dougt.
git-svn-id: svn://10.0.0.236/trunk@105833 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:53:39 +00:00
loadrunner%betak.net
368f1c75e3 bug 99186, Remove acceptlanguage.properties from the build, r=tao, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105832 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:53:14 +00:00
cmanske%netscape.com
8719459de0 Don't allow inserting symbols and foreign chars while in HTML source mode, b=104267, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105831 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:49:36 +00:00
cmanske%netscape.com
397c9d52bc Restrict separator character input to 1 char in Convert Selection to Table, b=101772, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105830 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:47:04 +00:00
mkaply%us.ibm.com
b89f880876 No bug
r=mkaply, sr=blizzard
OS/2 only - reworking OS/2 widget/window parentage


git-svn-id: svn://10.0.0.236/trunk@105829 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:45:34 +00:00
cmanske%netscape.com
dcc381bbd8 Finish HTML source mode before loading a new document (forgot 2nd part of fix), b=102684, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105828 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:42:43 +00:00
dougt%netscape.com
7f4ce8acb7 backing out my backout from nsIOService. Merge conficts with bnesse
git-svn-id: svn://10.0.0.236/trunk@105827 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:38:24 +00:00
cmanske%netscape.com
36402f49d3 Fixed table editing hang when spliting cell (b=102967, r=brade, sr=kin) and don't copy empty cell's <br> when joining cells (b=102930, r=brade, sr=hewitt)
git-svn-id: svn://10.0.0.236/trunk@105825 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:33:20 +00:00
rjc%netscape.com
fc55228451 Fix bug # 49142: speed up bookmarks menu creation on Mac. r=pink, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@105824 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:32:07 +00:00
dougt%netscape.com
8e7ae51ba9 fixing build bustage in nsIOService.cpp
git-svn-id: svn://10.0.0.236/trunk@105823 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:28:58 +00:00
radha%netscape.com
b9befe5a2d Fix for bug #101682. history.back() history.go(-1) misbehave on repeated usage and does notrestore scrollbar position. r=mcafee, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105822 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:28:57 +00:00
cmanske%netscape.com
2a9dc4f8aa Finish HTML source mode before loading a new document, b=102684, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105821 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:28:04 +00:00
pchen%netscape.com
624f45ff80 backing out bnesse at his request since he found conflicts with dougt's
checkin


git-svn-id: svn://10.0.0.236/trunk@105820 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:24:03 +00:00
pierre%netscape.com
8767ccc025 105576 "Unicode fallback characters don't zoom". Apply zoom before calling ATSUIFallbackDrawChar(). r=ftang/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105819 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:23:37 +00:00
pchen%netscape.com
4793cb6b95 cking out bnesse at his request since he found conflicts with dougt's
checkin


git-svn-id: svn://10.0.0.236/trunk@105818 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:15:11 +00:00
pchen%netscape.com
62ec4050a1 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@105817 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:09:11 +00:00
despotdaemon%netscape.com
f6393045af Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105816 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:08:22 +00:00
andreww%netscape.com
faea34bd7c fixed bug 95482 r=shliang sr=hewitt and bug 103760 r=shliang sr=sfraser (1 px space at bottom of mac classic status bar)
git-svn-id: svn://10.0.0.236/trunk@105815 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:07:12 +00:00
andreww%netscape.com
0953179444 fixed bug 95482 r=shliang sr=hewitt toolbar loses thumb when collapsed - mac classic skin
git-svn-id: svn://10.0.0.236/trunk@105814 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:05:04 +00:00
dougt%netscape.com
b7714209d4 Remove extra exports. patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105813 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:02:39 +00:00
akkana%netscape.com
9534d5b783 66345, the editor directory reorganization:
Remove all files in now obsolete directory editor/base.
  r=cmanske,jfrancis,brade sr=sfraser,kin


git-svn-id: svn://10.0.0.236/trunk@105812 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:01:39 +00:00
alecf%netscape.com
0ffec2590a next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase
git-svn-id: svn://10.0.0.236/trunk@105811 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:00:02 +00:00
dougt%netscape.com
1f7520e927 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
andreww%netscape.com
42d8c6e781 fixed bug 90274 r=shliang sr=hewitt selected folder name in mac classic not showing up
git-svn-id: svn://10.0.0.236/trunk@105809 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:08 +00:00
ftang%netscape.com
15b3ae1f9e fix bug 93343 so we can display UTF-16 and UTF-32.
r=harishd sr=vidur.


git-svn-id: svn://10.0.0.236/trunk@105808 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:58:22 +00:00
andreww%netscape.com
ca02d587e3 fixed bug 105132 r=shliang sr=hewitt mac classic composer tabs cleanup
git-svn-id: svn://10.0.0.236/trunk@105807 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:57:49 +00:00
ftang%netscape.com
1338859af4 fix bug 93025. delay the checking of access key pref
so we will use the user's pref instead of the default vaule in the pref.
r=jbetak sr=kin


git-svn-id: svn://10.0.0.236/trunk@105806 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:56:29 +00:00
bnesse%netscape.com
84f393ac02 Fix for bug 103883. Add weak ref support for prefs observers to help reduce MLK cycles with preferences. r=ccarlen, darin, gordon, hewitt, mstoltz, srilatha, sspitzer. sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@105805 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:55:54 +00:00
andreww%netscape.com
c65102f7fc fix bug 60010 r=shliang sr=hewitt - editor status bar in mac classic cleanup.
git-svn-id: svn://10.0.0.236/trunk@105804 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:55:14 +00:00
ducarroz%netscape.com
838a68c9af Fix for bug 105092. Patch provided by bienvenu@netscape.com. Fix crash due to freeing of memory we should not! R=ducarroz, SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@105803 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:55:08 +00:00
ftang%netscape.com
d0f2e0aa05 fix 48231. Change the default Korean font for window
r=jshin, sr/rs=waterson


git-svn-id: svn://10.0.0.236/trunk@105802 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:54:36 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
ftang%netscape.com
14658e7a61 fix bug 23363. Implement TSM1.5
r=brade
sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@105799 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:51:26 +00:00
ftang%netscape.com
6619d56ed6 fix 23363. add nsTSMStrategy.cpp to the build
This is part of implement TSM1.5
r=brade
sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@105798 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:50:48 +00:00
nhotta%netscape.com
865f862d68 Indentation change in folder property dialog, bug 94560, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@105797 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:50:17 +00:00
nhotta%netscape.com
e871d91d1f Wording change for folder property dialog, bug 94560, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@105796 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:49:56 +00:00
alecf%netscape.com
44ffdedad3 for bug 100214 - make nsStr routines stop depending on nsCRT:: routines, to further reduce our dependency on unicharutil
r=jag, sr=scc


git-svn-id: svn://10.0.0.236/trunk@105795 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:49:39 +00:00
nhotta%netscape.com
8850710011 Added a call SetOutputErrorBehavior to replace unmapped character by '?' for a window title string,
bug 96875, r=ftang, sr=blizzard.


git-svn-id: svn://10.0.0.236/trunk@105794 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:49:08 +00:00
evaughan%netscape.com
7fcc0352c2 bug 77357
r=bryner sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@105793 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:48:35 +00:00
harishd%netscape.com
eeeb1c2290 97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
99282  - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.


git-svn-id: svn://10.0.0.236/trunk@105792 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:48:18 +00:00
evaughan%netscape.com
c0b4c73271 More grid stuff: NOT IN BUILD
git-svn-id: svn://10.0.0.236/trunk@105791 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:47:36 +00:00
ian.mcgreer%sun.com
cecf9dcde1 add pkim.h, needed by some cert calls
git-svn-id: svn://10.0.0.236/trunk@105790 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:10:51 +00:00
ian.mcgreer%sun.com
7e23b3bf65 fix loop; time from PRTime
git-svn-id: svn://10.0.0.236/trunk@105789 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:06:28 +00:00
ian.mcgreer%sun.com
244e76bc39 fix possible NULL deref
git-svn-id: svn://10.0.0.236/trunk@105788 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:04:58 +00:00
ian.mcgreer%sun.com
500f291b64 implement FindCertIssuer through Stan
git-svn-id: svn://10.0.0.236/trunk@105787 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:04:27 +00:00
shrutiv%netscape.com
af0fd38218 Fix for bug 102923: Error message for insufficient disk space should
provide more details (r=bobj)


git-svn-id: svn://10.0.0.236/trunk@105784 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 18:44:44 +00:00
ian.mcgreer%sun.com
669f5eab1e get/set cert trust through PKCS#11; traversal methods for CERT_ calls; define usage for 3.4
git-svn-id: svn://10.0.0.236/trunk@105783 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 18:16:45 +00:00
ian.mcgreer%sun.com
eeb7d27f13 add usage to find best parameters
git-svn-id: svn://10.0.0.236/trunk@105782 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 18:11:31 +00:00
ian.mcgreer%sun.com
23691f4bd8 set attributes function; rename find to traverse; return object handle on import
git-svn-id: svn://10.0.0.236/trunk@105781 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 18:10:58 +00:00
ian.mcgreer%sun.com
ef6a1afb48 prepare certdb for removal of pcertdb.c; reimplement functions using Stan
git-svn-id: svn://10.0.0.236/trunk@105780 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 18:05:38 +00:00
pinkerton%netscape.com
aed93678e4 Keep stack aligned on 16-byte boundary. from bug 98290, r=beard/sr=sfraser. Not part of any build, a=pchen.
git-svn-id: svn://10.0.0.236/trunk@105779 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 17:33:06 +00:00
jake%acutex.net
eec9d51c7c Fix for bug 105365 - Hacker's Guide should be in SGML. This will make it easier to do other additions to the hacker's guide.
git-svn-id: svn://10.0.0.236/trunk@105776 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 16:18:10 +00:00
pinkerton%netscape.com
8fa7dc85e1 use contract id instead of cid now that alecf fixed it. r=lordpixel,sr=sfraser. bug#98504
git-svn-id: svn://10.0.0.236/trunk@105775 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:29:14 +00:00
pinkerton%netscape.com
7c205014e5 allow a hidden pref to reuse browser windows when we get a GURL event. r=lordpixel,sr=sfraser. bug#98504
git-svn-id: svn://10.0.0.236/trunk@105774 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:14:15 +00:00
pinkerton%netscape.com
7d96e85f1c remove prefs and quit from edit/file menus on osx (they're in the app menu now). r=sdagley/sr=blake,smfr. bug#68098
git-svn-id: svn://10.0.0.236/trunk@105773 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:13:20 +00:00
pinkerton%netscape.com
a23e69e10e adding a couple of prefs to make word selection better on mac. doesn't eat whitespace to next word and stops at punctuation. r=mjudge/sr=sfraser. bug# 98546
git-svn-id: svn://10.0.0.236/trunk@105772 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:10:22 +00:00
wtc%netscape.com
a64bfb9e66 Bugzilla bug 105173: restored the test for HAVE_COMPAT_H because we
no longer define SVR4 on Solaris.  I may use __SVR4 instead after verifying
that all Solaris compilers define it.


git-svn-id: svn://10.0.0.236/trunk@105771 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:06:28 +00:00
bzbarsky%mit.edu
c17db72087 Last checkin was r=pierre, sr=jst
git-svn-id: svn://10.0.0.236/trunk@105770 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:02:36 +00:00
bzbarsky%mit.edu
ee4bb498aa Clean up handling of quirk doctypes and case-sensitivity in the CSSOM.
Mostly just uses the nodeinfo more and combines some redundant code into
helpers. Bug 95336, bug 10622, bug 102815


git-svn-id: svn://10.0.0.236/trunk@105769 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 13:50:30 +00:00
kin%netscape.com
b343a978fe Fix for bug 101690: Delete key at end of line deletes a line then caret freezes
Modified WillDeleteSelection() to make sure that
sibling is a TextNode before trying to join it
with startNode (which is guaranteed to be a text node).

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


git-svn-id: svn://10.0.0.236/trunk@105768 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 13:48:43 +00:00
justdave%syndicomm.com
faaffb8eec yet another meaningless whitespace change to test tinderbox with
git-svn-id: svn://10.0.0.236/trunk@105767 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 13:03:52 +00:00
locka%iol.ie
9320e8b6d1 Removed chrome registry code from embedding API to improve startup performance. r=ccarlen@netscape.com sr=hyatt@netscape.com r=105462
git-svn-id: svn://10.0.0.236/trunk@105766 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 12:43:05 +00:00
axel%pike.org
e67a7d706e bug 76070, namespace and localName atom support for transformiix. original work by Jonas Sicking, alot of work by me. r=peterv, sicking@bigfoot.com, sr=jst
git-svn-id: svn://10.0.0.236/trunk@105765 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 12:09:42 +00:00
mcafee%netscape.com
1ae6e85144 Removing gtkEmbed from the build (90526). r=adamlock, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105763 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 08:28:51 +00:00
rbs%maths.uq.edu.au
2055e5722c re-instate null check for crasher bug 102900, r=rods, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105762 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 07:30:08 +00:00
seawood%netscape.com
b3956bf8ed Rebuild all *.exe one final time after license change and check them in so that others stop accidentally doing so.
Do not try to rebuild makedep.exe if NO_MFC is set.
Bug #100757


git-svn-id: svn://10.0.0.236/trunk@105761 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 07:02:54 +00:00
bryner%netscape.com
0f26101b92 Bug 104141 - context menu doesn't appear on the first attempt. r=evaughan, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105760 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 06:27:07 +00:00
mcafee%netscape.com
0e994ebb7b Adding AliveTestReturnToken(), extract_token_from_file() and supporting glue to iterate through the startup test and report an average time instead of just one time.
git-svn-id: svn://10.0.0.236/trunk@105759 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 06:23:23 +00:00
justdave%syndicomm.com
ed3ed56299 another useless whitespace change to test tinderbox with
git-svn-id: svn://10.0.0.236/trunk@105758 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 06:19:52 +00:00
mcafee%netscape.com
1bd09f90f9 Adding one more sig fig for startup time.
git-svn-id: svn://10.0.0.236/trunk@105757 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 06:15:24 +00:00
mcafee%netscape.com
8411165431 switching search token to __avg_startuptime, we are going to iterate the test now and report an average time.
git-svn-id: svn://10.0.0.236/trunk@105756 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 05:56:38 +00:00
wtc%netscape.com
9b7416bb2f Bugzilla bug 105173: in mcom_db.h, put the tests for HAVE_XXX_H inside
#ifdef __DBINTERFACE_PRIVATE so that users of this exported header don't
have to define these HAVE_XXX_H macros.  Define __DBINTERFACE_PRIVATE
in dbm/macbuild/DBMConfig.h and dbm/src/Makefile.win. r=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@105755 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 05:45:51 +00:00
justdave%syndicomm.com
ad30940b5e whitespace change to test tinderbox again.
git-svn-id: svn://10.0.0.236/trunk@105754 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 05:33:23 +00:00
naving%netscape.com
3006157fc5 105328 r/sr=sspitzer. Throw duplicate folder alert when trying to create new folder from filter
editor.


git-svn-id: svn://10.0.0.236/trunk@105753 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 05:24:18 +00:00
hewitt%netscape.com
1173c75ca5 84602 - when a button has focus, enter key doesn't fire oncommand (from blake), r=hyatt, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@105752 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 05:02:56 +00:00
mscott%netscape.com
8dd08a6349 Bug #97497-- hopefully fix a random crash when compacting folders. I'm backing out part of
a previous change by bienvenu.
r=naving
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@105751 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 04:38:00 +00:00
justdave%syndicomm.com
d8d8ecf9f8 whitespace change to do a test checkin to see how tinderbox reacts
git-svn-id: svn://10.0.0.236/trunk@105750 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 04:36:19 +00:00
pavlov%netscape.com
eb044b402b part of fix for bug 104999. r=jag sr=jst
git-svn-id: svn://10.0.0.236/trunk@105749 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 04:16:50 +00:00
jst%netscape.com
19215022f1 Fixing bug 105572. Don't bother GC'ing on context destruction when we're tearing down a frame in a frameset (or an iframe). r=jband@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105748 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 04:13:37 +00:00
mkaply%us.ibm.com
d4b444c57d #105075
r=av, sr=dougt, rpotts
Change 4xplugin APIs to use NS_4XPLUGIN_CALLBACK rather than NS_CALLBACK_ so that the calling convention can be different than XPCOM


git-svn-id: svn://10.0.0.236/trunk@105747 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 04:10:49 +00:00
waterson%netscape.com
0df59780dd Bug 105068. Move mLazyState to nsXULElement::Slots since it's rarely used. r=shaver, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105746 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 04:01:01 +00:00
jaggernaut%netscape.com
687f37442a Bug 95786: ``about: services should be converted to XHTML 1.1'', patch by Delicates (Alexey Chernyak <alexey@ihug.com.au>), r=cbiesinger@web.de, sr=jst
git-svn-id: svn://10.0.0.236/trunk@105745 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 03:16:16 +00:00
jst%netscape.com
88e0143203 Remove bugs assertion, r=syd, sr=me (part of bug 105008).
git-svn-id: svn://10.0.0.236/trunk@105744 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 03:11:44 +00:00
bbaetz%cs.mcgill.ca
366550af4b Bug 82439 - html direcotry listings not localisable. r=sfraser, sr=darin
git-svn-id: svn://10.0.0.236/trunk@105743 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 03:03:30 +00:00
brendan%mozilla.org
f51a743f35 Avoid converting lock-free to lock-full scope from GC mark call-outs (105571, r=jst, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@105742 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 03:02:41 +00:00
jj%netscape.com
cb9a393317 landing fix for bug 101608 on the trunk (keeping traceback option on for optimized Carbon build). r=sdagley, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105741 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 02:46:02 +00:00
morse%netscape.com
d4ee3f7955 bug 47437, nscookie.cpp is duplicationg URL parsing logic, c=andreas.otte, r=morse, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105740 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 02:28:06 +00:00
gordon%netscape.com
285787e8e4 Fix bug 92908 and bug 101857. Change nsCacheService::CreateSession() to
return a new session even if there are no cache devices currently enabled.
Also, changed DeactivateEntry() to bind non-doomed entries if necessary to
allow the storage of meta-data-only entries, such as HTTP redirects. 
r=sfraser, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@105739 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 02:05:12 +00:00
alecf%netscape.com
7429f7e3dd fix for some bug where I forgot a contract id.. if bugzilla was responding I might actually know the bug #
r=mkaply, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@105738 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 02:02:05 +00:00
gordon%netscape.com
c4aa2d1bb8 Fix for bug 101651, nsStdURL::SetSpec can trash memory. r=sfraser, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105737 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:59:57 +00:00
gordon%netscape.com
849c01eacd Fix for bug 103991, removing obsolete IsAsciiString() function from nsHttpChannel and nsDnsService. r=nhotta, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105736 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:58:32 +00:00
mcafee%netscape.com
e237d5a1b1 Retiring gtkEmbed in favor of TestGtkEmbed (90526). r=adamlock, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105735 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:55:07 +00:00
gordon%netscape.com
d48149f01d Fix for bug 103167, removing old cache interfaces. r=sfraser, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105734 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:54:42 +00:00
gordon%netscape.com
ad914da4c4 Fix for bug 103167, removing obsolete MANIFEST file from Mac build script. r=sfraser, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105733 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:52:31 +00:00
mcafee%netscape.com
57cf136779 Removing gtkEmbed (obsolete, bug 90526). r=adamlock, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105732 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:51:09 +00:00
mcafee%netscape.com
e8cca5c51e Retiring gtkEmbed in favor of TestGtkEmbed (90526). r=adamlock, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105731 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:45:12 +00:00
sspitzer%netscape.com
e4b9f5a4c4 more clean up the string foo in mailnews. r=cavin, rs=bienvenu. #103412.
git-svn-id: svn://10.0.0.236/trunk@105730 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:44:53 +00:00
sspitzer%netscape.com
b5cf407ab5 bulletproofing fix for topcrasher #104878.
r/sr=hyatt,sfraser.


git-svn-id: svn://10.0.0.236/trunk@105729 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:32:46 +00:00
morse%netscape.com
eeda91f125 bug 103576 cookie expiration time is wrong on mac, c=pchen, r=morse, sr=alecf && bug 105039 max-age cookie attribute is ignored, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:32:06 +00:00
hyatt%netscape.com
c2c3d3ba1c Fix for 102120, ability to load tabs in background, r=bryner, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@105727 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 01:25:51 +00:00
waldemar%netscape.com
feaec77ead Renamed type to domain
git-svn-id: svn://10.0.0.236/trunk@105726 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 00:50:40 +00:00
rogerl%netscape.com
e8967a2184 Added Array.sort. Fixed toNumber(String) for trailing whitespace. Fixed
Date.SetXXX for date values. Fixed scopechain growth bug. Fixed empty
array literals. Fixed empty type casts for built-ins.


git-svn-id: svn://10.0.0.236/trunk@105725 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 00:25:28 +00:00
jband%netscape.com
dc2c9d5087 fix Mac installer crash. bug 105437. r/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105724 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 00:15:43 +00:00
mcafee%netscape.com
c94b15e486 script to install tinderbox links for a tinderbox client.
git-svn-id: svn://10.0.0.236/trunk@105723 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 00:04:48 +00:00
mcafee%netscape.com
bf3bd231b1 cvsroot comments, update
git-svn-id: svn://10.0.0.236/trunk@105722 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 23:36:57 +00:00
cltbld%netscape.com
fb42e0d8d0 Fixing build busted in --enable-bohem builds
git-svn-id: svn://10.0.0.236/trunk@105721 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 21:45:52 +00:00
gerv%gerv.net
4831a02806 Bug 72177 - reword checkbox to make it consistent with the others on the page.
git-svn-id: svn://10.0.0.236/trunk@105719 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 21:41:25 +00:00
gerv%gerv.net
9090a5fafb Bug 60818 - make Bugzilla cope with MIME types with parameters. Patch by gerv, r=myk.
git-svn-id: svn://10.0.0.236/trunk@105718 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 21:28:06 +00:00
beard%netscape.com
76596e112b [not part of build] Added MRJPlugin.java and CarbonFrameWorkLib (for launch services).
git-svn-id: svn://10.0.0.236/trunk@105717 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 20:34:22 +00:00
beard%netscape.com
7689c3991e [not part of build] Added USE_SYSTEM_CONSOLE to turn off old Java based console.
git-svn-id: svn://10.0.0.236/trunk@105716 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 20:29:40 +00:00
beard%netscape.com
a41c7a978c [not part of build] Poor man's Java console implementation, redirects Java output to ~/Library/Logs/JavaConsole.log, displays with /Applications/Utilities/Console.app.
git-svn-id: svn://10.0.0.236/trunk@105715 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 20:28:48 +00:00
beard%netscape.com
ccbc3f8e9b [not part of build] Added redirection of Java output to a specified log file.
git-svn-id: svn://10.0.0.236/trunk@105714 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 20:24:13 +00:00
beard%netscape.com
cf366fd6c4 [not part of build] Simple class that redirects System.out/err to a specified file path.
git-svn-id: svn://10.0.0.236/trunk@105713 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 20:19:48 +00:00
rangansen%netscape.com
4799d6c886 Rolling back last changes
git-svn-id: svn://10.0.0.236/trunk@105712 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 19:09:03 +00:00
nboyd%atg.com
44143d1064 Patch from Igor:
Unsynchronized ScriptableObject.getSlotToSet contains references/modifications
to the slots array which is no go under multithreading. The attached patch
replaces references to slots by references to its local copy and moves code
to allocate the initial array to synchronized addSlot.

The patch also replace throwing of RuntimeException in case of broken code by
if (Context.check && badCondition) Context.codeBug();

Regards, Igor


git-svn-id: svn://10.0.0.236/trunk@105711 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 18:16:28 +00:00
rangansen%netscape.com
d6a588054c Checking in for morse@netscape.com
bug# 87334, r=rangansen r=jag sr=Alect Flett
enforcing ask everytime option for passwords ...


git-svn-id: svn://10.0.0.236/trunk@105710 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 18:06:39 +00:00
kestes%walrus.com
78809a5b97 Remove the /var/run/ stuff. I need to think this through more carefully.
This only needs to happen on the build script.  This needs to happen as
the user root but currently I do not run the build script ever as root.


git-svn-id: svn://10.0.0.236/trunk@105709 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 16:19:59 +00:00
kestes%walrus.com
019bfba186 bug fixes to get the /var/run stuff to work.
git-svn-id: svn://10.0.0.236/trunk@105708 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 16:17:24 +00:00
kestes%walrus.com
1376081eb8 separate the packge output into client and server packages.
git-svn-id: svn://10.0.0.236/trunk@105707 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 15:59:20 +00:00
kestes%walrus.com
e2db7a1ad9 Add support for /var/run/ directory.
git-svn-id: svn://10.0.0.236/trunk@105706 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 15:05:57 +00:00
dinglis%qnx.com
39736cc757 Not part of build
convert text to UTF8 instead of ascii


git-svn-id: svn://10.0.0.236/trunk@105705 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 14:19:00 +00:00
ian.mcgreer%sun.com
41646505d2 fix AIX build
git-svn-id: svn://10.0.0.236/trunk@105704 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 13:58:28 +00:00
dinglis%qnx.com
d481e567e4 fixed bug#91955
default preferences for photon
r=bnesse sr=jst


git-svn-id: svn://10.0.0.236/trunk@105703 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 13:46:18 +00:00
timeless%mac.com
ed0a9ab9a9 Bugzilla Bug 76339 get rid of nsIAppShellComponent
(QNX changes)
r=dbradley sr=jst


git-svn-id: svn://10.0.0.236/trunk@105702 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 13:25:10 +00:00
markh%activestate.com
7e17f52da2 Fix build bustage on Windows, caused by recent #include dir changes.
Not part of the build (hence not noticed)


git-svn-id: svn://10.0.0.236/trunk@105701 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 13:20:30 +00:00
dp%netscape.com
455aa66d39 bug# 101769 Stop loading plugins on startup r=av,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105700 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 12:26:23 +00:00
dp%netscape.com
df89cc2c43 Fixing warning r=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105699 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 12:22:31 +00:00
dp%netscape.com
31c1a00c8b Fixing warnings
git-svn-id: svn://10.0.0.236/trunk@105698 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 12:21:33 +00:00
rginda%netscape.com
ebc2ff24f9 venkman only
s/doCommand.stepOut/doCommandStepOut/ for "finish" command


git-svn-id: svn://10.0.0.236/trunk@105697 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 11:12:37 +00:00
rginda%netscape.com
c0b2b24d8c venkman only
move from "checked" attribute to "willStop" for stop button to avoid classic skin issues.


git-svn-id: svn://10.0.0.236/trunk@105696 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 11:05:15 +00:00
rginda%netscape.com
3d8116b314 venkman only
add homepage to hello message.


git-svn-id: svn://10.0.0.236/trunk@105695 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 11:04:26 +00:00
rginda%netscape.com
ce46c52740 venkman only
remove bogus classes from outliner columns
make line number column wider by default
add splitter to source view


git-svn-id: svn://10.0.0.236/trunk@105694 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 11:03:58 +00:00
rginda%netscape.com
2f45778e17 venkman only
move from "checked" attribute to "willStop" on the stop button because the classic skin does silly things for "checked".


git-svn-id: svn://10.0.0.236/trunk@105693 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 11:02:59 +00:00
rginda%netscape.com
19a3ad4c26 venkman only
invalidate outliner after continuing so the yellow bar goes away
strict mode fix


git-svn-id: svn://10.0.0.236/trunk@105692 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 11:00:33 +00:00
rginda%netscape.com
f46de207fd venkman only
remove extra braces and return


git-svn-id: svn://10.0.0.236/trunk@105691 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 10:59:47 +00:00
darin%netscape.com
2a4326a282 fixes bug 102743 "Crash pressing Back or Forward on O'Reilly website"
r=gagan, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@105690 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 10:37:04 +00:00
timeless%mac.com
e57298ae78 QNX bustage fixes
git-svn-id: svn://10.0.0.236/trunk@105689 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 10:33:08 +00:00
timeless%mac.com
736e5d4a5c Requires changes to get QNX building, r=cls
git-svn-id: svn://10.0.0.236/trunk@105688 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 10:23:55 +00:00
pavlov%netscape.com
ac8fe24c94 first of many patches to come for bug 104999 r=timeless sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105687 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 09:43:22 +00:00
seawood%netscape.com
50647dd9c6 perldoc.com lied to me. File::Spec isn't in 5.004 so we need to up the minimum requirement or change the script to not use it. Disabling the script again.
Bug 101431


git-svn-id: svn://10.0.0.236/trunk@105686 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:58:01 +00:00
jband%netscape.com
f40de0e3d3 fix warning (and perhaps wrong behavior) by restoring new-style C++ cast of nsInt64 reference into a PRInt64 when passing to PR_fprintf. This was inadvertantly removed in the recent checkin. rs=jband
git-svn-id: svn://10.0.0.236/trunk@105685 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:55:38 +00:00
beard%netscape.com
068503fa96 [not part of build] Stop using non-existent plugin methods.
git-svn-id: svn://10.0.0.236/trunk@105684 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:36:32 +00:00
beard%netscape.com
39b7565ced [not part of build] Major cleanup, removal of unnecessary methods, correct implementation of nsIPlugin/nsIJVMPlugin interfaces.
git-svn-id: svn://10.0.0.236/trunk@105683 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:34:20 +00:00
beard%netscape.com
43494c69a7 [not part of build] Keep vector<FSRef> instead of vector<FSSpec> as class path.
git-svn-id: svn://10.0.0.236/trunk@105682 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:29:44 +00:00
beard%netscape.com
09e1695bc6 [not part of build] Added operators new[] and delete[].
git-svn-id: svn://10.0.0.236/trunk@105681 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:28:33 +00:00
waterson%netscape.com
5a57247e65 Bug 105063. Drop support for storing content ID since we'll never realistically have XUL frames requiring state restoration. r=brendan, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@105680 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:25:40 +00:00
timeless%mac.com
1529a36380 a=cls (not part of the build/build bustage -- by pavlov)
git-svn-id: svn://10.0.0.236/trunk@105679 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 07:03:05 +00:00
seawood%netscape.com
77e7322f02 Re-enabling chromelist generation now that bad perl installation on tinderbox has been fixed.
Bug #101431


git-svn-id: svn://10.0.0.236/trunk@105677 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 06:47:36 +00:00
seawood%netscape.com
783a8d60d2 Creating Makefiles in cvs removed dirs is causing problems again
git-svn-id: svn://10.0.0.236/trunk@105676 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 06:45:40 +00:00
stephend%netscape.com
807453efa2 Bug 105245. Spelling typo in an error msg. r=stuartp@netscape.com, sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@105675 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 06:40:41 +00:00
seawood%netscape.com
70f79b7833 Fixing typo
git-svn-id: svn://10.0.0.236/trunk@105674 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 06:23:36 +00:00
pchen%netscape.com
7c31a815dd 91074, r=gerv, rs=ben, fix typo of Hypertext to HyperText
git-svn-id: svn://10.0.0.236/trunk@105669 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 05:53:25 +00:00
jst%netscape.com
3cb461effc Adding new file for John Keiser, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@105666 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 05:52:57 +00:00
pchen%netscape.com
22370c7b3b 93195, r=jag, rs=ben, fix comment about minimum supported macos version to match code
git-svn-id: svn://10.0.0.236/trunk@105665 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 05:48:41 +00:00
jband%netscape.com
77718ac1ef Add support for loading typelibs from multiple directories and correctly tracking that in xpti.dat. Also speedup xpti.dat reading by getting rid of PR_sscanf. This fixes bug 104191 and bug 105042. r=ccarlen sr=jst.
git-svn-id: svn://10.0.0.236/trunk@105661 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 04:23:25 +00:00
waterson%netscape.com
a8057d6717 Bug 100231. Use nsCheapVoidArray to save a word in nsXULElement. r=brendan,rjesup; sr=jst
git-svn-id: svn://10.0.0.236/trunk@105658 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:47:32 +00:00
bzbarsky%mit.edu
3ed1fa3422 Fixing extension matching for mime.types files so "c" won't match
"doc".  bug 103489, r=jag, sr=scc


git-svn-id: svn://10.0.0.236/trunk@105657 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:38:52 +00:00
mcafee%netscape.com
42227c38a5 Stop building gtkEmbed, replacing this with TestGtkEmbed (part 2 of bug 90526). r=blizzard, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105656 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:29:44 +00:00
mcafee%netscape.com
0f6946839a script to map module names to directory names. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105655 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:27:04 +00:00
dbaron%fas.harvard.edu
984385d28c Fix shutdown leaks of static regions. r=jag sr=blizzard b=103006
git-svn-id: svn://10.0.0.236/trunk@105654 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:24:09 +00:00
dbaron%fas.harvard.edu
7ac5c84051 Correct incorrect bustage fix that was causing some odd text substitutions in mail messages. r=jag sr=alecf, hyatt b=104693
git-svn-id: svn://10.0.0.236/trunk@105653 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:21:31 +00:00
timeless%mac.com
6fdb7a5e81 Bugzilla Bug 102762 Cancel does nothing in find dialog when no search text is provided
patch by simm0@ii.net r=hyatt sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@105652 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:07:25 +00:00
shrutiv%netscape.com
db3abdd601 Fix for bug 105150: Include automatic proxy configuration in UI (r=bobj)
git-svn-id: svn://10.0.0.236/trunk@105651 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 02:17:14 +00:00
peterlubczynski%netscape.com
e97395ee57 Plugin SDK basic plugin port for Mac initial check-in. not part of the build
git-svn-id: svn://10.0.0.236/trunk@105650 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 23:37:52 +00:00
wtc%netscape.com
53585b3dd1 Bugzilla bug 71179: Neutrino needs the RTLD_GROUP flag to load Netscape
plugins.  The fix is contributed by timeless@bemail.org.


git-svn-id: svn://10.0.0.236/trunk@105649 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 23:34:50 +00:00
peterlubczynski%netscape.com
3525407e34 Plugin SDK changes for Mac. not part of the build
git-svn-id: svn://10.0.0.236/trunk@105648 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 23:34:31 +00:00
wtc%netscape.com
f94b003c2e Bugzilla bug 77197: use spawn in Neutrino because fork & exec does not
work in multithreaded programs in Neutrino.  The patch is contributed
by dinglis@qnx.com (Dave Inglis), reviewed and modified by wtc.


git-svn-id: svn://10.0.0.236/trunk@105647 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 23:11:25 +00:00
wtc%netscape.com
3c26e67cfc Bugzilla bug 92085: checked in a Neutrino patch from
briane@qnx.com (Brian Edmond).  r=wtc.
Modified files: _nto.h protypes.h


git-svn-id: svn://10.0.0.236/trunk@105644 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 22:28:29 +00:00
jpierre%netscape.com
dd770d60a7 Fix NT comment in OS/2 Makefile
git-svn-id: svn://10.0.0.236/trunk@105642 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 22:15:26 +00:00
wtc%netscape.com
c4dd8d142a Bugzilla bug 77188: checked in a configure patch for Neutrino from
dinglis@qnx.com (Dave Inglis).  r=wtc.
Modified files: configure configure.in


git-svn-id: svn://10.0.0.236/trunk@105641 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 20:50:51 +00:00
jpierre%netscape.com
224f9b47dc Fix for 104740 - build bignum library on OS/2 with mpi_x86 assembly code . reviewed by nelsonb
git-svn-id: svn://10.0.0.236/trunk@105640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 20:35:37 +00:00
nelsonb%netscape.com
cbcf5e174c Fix bug 105185, which sometimes caused the result to be greater than n.
Fix suggested by Ferenc Rakoczi <Ferenc.Rakoczi@Sun.COM>


git-svn-id: svn://10.0.0.236/trunk@105639 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 20:35:04 +00:00
beard%netscape.com
7706032a1e [not part of build] Removed global thePlugin, now closing plugin's resource fork in termination routine.
git-svn-id: svn://10.0.0.236/trunk@105638 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 19:59:10 +00:00
beard%netscape.com
e2bdab0acd [not part of build] Added PROXY_JNI_CALLS define, and added proxy messages for ALL essential calls. This enables LiveConnect on Mac OS X.
git-svn-id: svn://10.0.0.236/trunk@105637 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 19:57:28 +00:00
dougt%netscape.com
f7097e84eb reverting to the old way to get windows directories since the function I am using does not work on windows systems without IE4. a=nhotta@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105636 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 19:38:58 +00:00
wtc%netscape.com
2bd3aec57a A better way to define the HAVE_SNPRINTF macro.
git-svn-id: svn://10.0.0.236/trunk@105632 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 17:53:16 +00:00
ian.mcgreer%sun.com
40e21c8720 add ability to notify user that chain is incomplete
git-svn-id: svn://10.0.0.236/trunk@105630 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 15:48:09 +00:00
ian.mcgreer%sun.com
ba36bf7bc6 some more cert lookup methods; find cert issuer/chain; mimic nickname as "token name:nickname"
git-svn-id: svn://10.0.0.236/trunk@105629 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:40:27 +00:00
ian.mcgreer%sun.com
7ec77de1f4 get token name function; change cert function name
git-svn-id: svn://10.0.0.236/trunk@105628 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:39:11 +00:00
ian.mcgreer%sun.com
4577fd5dbb fix iteration for empty list
git-svn-id: svn://10.0.0.236/trunk@105627 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:37:48 +00:00
ian.mcgreer%sun.com
6d98369750 add back pointer to Stan cert from CERTCertificate
git-svn-id: svn://10.0.0.236/trunk@105626 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:37:10 +00:00
ian.mcgreer%sun.com
be3a45a33d implement several more PKCS#11 methods with Stan counterparts
git-svn-id: svn://10.0.0.236/trunk@105625 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:36:06 +00:00
ian.mcgreer%sun.com
85e9ed13f0 implement CERT_CertChainFromCert using Stan
git-svn-id: svn://10.0.0.236/trunk@105624 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:35:01 +00:00
bernd.mielke%snafu.de
67e3a6751d bug 103443 - remove the return rv?rv: NS_ERROR_FAILURE pattern from the editor files.
the editor/base remain untouched r=cmanske sr=kin


git-svn-id: svn://10.0.0.236/trunk@105623 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:33:50 +00:00
dinglis%qnx.com
b0bee04e64 Not part of build
update of Photon port


git-svn-id: svn://10.0.0.236/trunk@105622 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:13:47 +00:00
dinglis%qnx.com
e4137224be Not part of build
update of photon port


git-svn-id: svn://10.0.0.236/trunk@105621 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:11:53 +00:00
dinglis%qnx.com
8495dea380 Not part of build
fixed up requires


git-svn-id: svn://10.0.0.236/trunk@105620 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 14:09:52 +00:00
mkaply%us.ibm.com
8277ca276b OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@105619 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 13:14:22 +00:00
nboyd%atg.com
b57e670e00 Apparently the "classic" compiler is not only deprecated in JDK 1.4, but it
also has a significant regression introduced in it.   The default compiler
not only works, but also is noticably faster.  Ant takes care of the
selection of the compiler automatically based on the JDK level, so the
following patch should make things better all around.


git-svn-id: svn://10.0.0.236/trunk@105618 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 12:59:48 +00:00
nboyd%atg.com
acea3a7499 Remove deprecated class.
git-svn-id: svn://10.0.0.236/trunk@105617 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 12:59:18 +00:00
nboyd%atg.com
61d5d439d6 Remove deprecated FlattenedObject.
Patch from Igor:
The 2 attached patches allow to avoid wrapping of array indexes to Double object
when Interpreter knows that the index is an integer number. It speed up array
benchmark by 5-10%

array_access.diff adds to ScriptRuntime getStrIdElem and setStrIdElem to get/set
properties which known to be strings plus it modifies NativeArray to use these methods.

interpreter.diff contains the Interpreter modifications to call get/setElem for
integer or string properties when the property type is known for sure.


git-svn-id: svn://10.0.0.236/trunk@105616 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 12:59:02 +00:00
nboyd%atg.com
bd420d060b Backslashes don't work.
git-svn-id: svn://10.0.0.236/trunk@105615 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 12:53:39 +00:00
dbradley%netscape.com
9bc41bcde1 bug 103649 - Crash when rendering a page with hundreds of iframes - This reduces the number of calls to JS_ContextIterator from XPCJSRuntime::SyncXPCContextList. It is only the first step in addressing this bug. r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@105614 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 11:52:55 +00:00
seawood%netscape.com
3ffa4b1dba Partial backout of Gerv's checkin until we can work out the perl dependency.
git-svn-id: svn://10.0.0.236/trunk@105613 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 09:34:47 +00:00
hyatt%netscape.com
17d94d5a2b Fix for 105214. r=jag, sr=ben
git-svn-id: svn://10.0.0.236/trunk@105612 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 09:02:02 +00:00
brendan%mozilla.org
0fcd3e9626 Checking in scole@planetweb.com's patch to prefix str_escape with js_ (96084, r=rogerl, sr=brendan).
git-svn-id: svn://10.0.0.236/trunk@105611 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 08:16:53 +00:00
seawood%netscape.com
af26dff1db Really remove extra VPATH
Bug #105005


git-svn-id: svn://10.0.0.236/trunk@105610 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 07:25:24 +00:00
seawood%netscape.com
6b5be4cbcb Oops forgot local include path.
Bug #105005


git-svn-id: svn://10.0.0.236/trunk@105609 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 06:40:48 +00:00
seawood%netscape.com
f2559aab90 Use LOCAL_INCLUDES to make sure that our ldap.h gets used before any system copy.
Bug #103281


git-svn-id: svn://10.0.0.236/trunk@105608 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 06:20:42 +00:00
rbs%maths.uq.edu.au
4050ab700c More bullet-proofing of glyph resolution. b=103777 r=shanjian sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105607 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 06:06:09 +00:00
seawood%netscape.com
a5686224c1 Remove use of additional dirs in VPATH as it causes problems in srcdir builds and the previous workarounds do not always work due to a bug in gcc's -MD.
Bug #105005 r=jag


git-svn-id: svn://10.0.0.236/trunk@105606 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 06:00:18 +00:00
rpotts%netscape.com
3db15629d1 bug #104769 (r=pavlov@netscape.com, sr=jst@netscape.com) Opening new windows sometimes stalls...
git-svn-id: svn://10.0.0.236/trunk@105605 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 05:57:29 +00:00
waterson%netscape.com
e1d5f4d759 Bug 104658. Ignore AttributeChanged notifications before the initial reflow has occurred. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105603 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 05:34:35 +00:00
gerv%gerv.net
22f4f719e8 Bug 101431 - create chromelist.txt for use with Patch Maker. r=cls, leaf.
git-svn-id: svn://10.0.0.236/trunk@105602 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 05:27:42 +00:00
jaggernaut%netscape.com
7421efac1f Bug 73292: Add const nsACString& constructor to NS_Convert(ASCII|UTF8)toUCS2. r=dbaron, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@105601 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 05:17:53 +00:00
mkaply%us.ibm.com
2460fe3a97 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@105600 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 05:01:54 +00:00
naving%netscape.com
1e17e4ef59 105162 r=racham sr=mscott. Remove unused prefs
git-svn-id: svn://10.0.0.236/trunk@105599 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 04:53:25 +00:00
naving%netscape.com
5d71096783 105162 r=racham sr=mscott. Make download message size pref work for pop3 again. Remove unused pref.
git-svn-id: svn://10.0.0.236/trunk@105597 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 04:53:23 +00:00
leaf%mozilla.org
35a5aa446b Automated update
git-svn-id: svn://10.0.0.236/trunk@105595 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 04:28:20 +00:00
blizzard%redhat.com
c5726e9c99 Update gtk2 link flags. r=cls
git-svn-id: svn://10.0.0.236/trunk@105594 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 04:25:45 +00:00
waldemar%netscape.com
671b3acf59 Added support for writable actions
git-svn-id: svn://10.0.0.236/trunk@105593 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 03:57:51 +00:00
waldemar%netscape.com
93633d4a47 Enhanced list*-bind and added tree-member
git-svn-id: svn://10.0.0.236/trunk@105592 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 03:57:32 +00:00
waldemar%netscape.com
b252b660c4 Fixes from October 1 ECMA meeting
git-svn-id: svn://10.0.0.236/trunk@105591 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 03:57:06 +00:00
waldemar%netscape.com
b55d66715b Test of writable actions
git-svn-id: svn://10.0.0.236/trunk@105590 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 03:55:46 +00:00
waldemar%netscape.com
65c89ecbb4 Updated for new syntax
git-svn-id: svn://10.0.0.236/trunk@105589 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 03:55:25 +00:00
brendan%mozilla.org
69d4fd60de Fixes for bug 80981 (``Need extended jump bytecode to avoid "script too large"
errors, etc.''):

We now ReportStatementTooLarge only if
- a jump offset overflows 32 bits, signed;
- there are 2**32 or more span dependencies in a script;
- a backpatch chain link is more than (2**30 - 1) bytecodes long;
- a source note's distance from the last note, or from script main entry
  point, is > 0x7fffff bytes.

Narrative of the patch, by file:

- js.c
  The js_SrcNoteName array of const char * is now a js_SrcNoteSpec array of
  "specifiers", structs that include a const char *name member.  Also, due to
  span-dependent jumps at the ends of basic blocks where the decompiler knows
  the basic block length, but not the jump format, we need an offset operand
  for SRC_COND, SRC_IF_ELSE, and SRC_WHILE (to tell the distance from the
  branch bytecode after the condition expression to the span-dependent jump).

- jsarena.[ch]
  JS arenas are used mainly for last-in-first-out allocation with _en masse_
  release to the malloc pool (or, optionally, to a private freelist).  But
  the code generator needs to allocate and grow (by doubling, to avoid O(n^2)
  growth) allocations that hold bytecode, source notes, and span-dependency
  records.  This exception to LIFO allocation works by claiming an entire
  arena from the pool and realloc'ing it, as soon as the allocation size
  reaches the pool's default arena size.  Call such an allocation a "large
  single allocation".

  This patch adds a new arena API, JS_ArenaFreeAllocation, which can be used
  to free a large single allocation.  If called with an allocation that's not
  a large single allocation, it will nevertheless attempt to retract the arena
  containing that allocation, if the allocation is last within its arena.
  Thus JS_ArenaFreeAllocation adds a non-LIFO "free" special case to match the
  non-LIFO "grow" special case already implemented under JS_ARENA_GROW for
  large single allocations.

  The code generator still benefits via this extension to arenas, over purely
  manual malloc/realloc/free, by virtue of _en masse_ free (JS_ARENA_RELEASE
  after code generation has completed, successfully or not).

  To avoid searching for the previous arena, in order to update its next
  member upon reallocation of the arena containing a large single allocation,
  the oversized arena has a back-pointer to that next member stored (but not
  as allocable space within the arena) in a (JSArena **) footer at its end.

- jscntxt.c
  I've observed for many scripts that the bytes of source notes and bytecode
  are of comparable lengths, but only now am I fixing the default arena size
  for cx->notePool to match the size for cx->codePool (1024 instead of 256).

- jsemit.c
  Span-dependent instructions in JS bytecode consist of the jump (JOF_JUMP)
  and switch (JOF_LOOKUPSWITCH, JOF_TABLESWITCH) format opcodes, subdivided
  into unconditional (gotos and gosubs), and conditional jumps or branches
  (which pop a value, test it, and jump depending on its value).  Most jumps
  have just one immediate operand, a signed offset from the jump opcode's pc
  to the target bytecode.  The lookup and table switch opcodes may contain
  many jump offsets.

  This patch adds "X" counterparts to the opcodes/formats (X is suffixed, btw,
  to prefer JSOP_ORX and thereby to avoid colliding on the JSOP_XOR name for
  the extended form of the JSOP_OR branch opcode).  The unextended or short
  formats have 16-bit signed immediate offset operands, the extended or long
  formats have 32-bit signed immediates.  The span-dependency problem consists
  of selecting as few long instructions as possible, or about as few -- since
  jumps can span other jumps, extending one jump may cause another to need to
  be extended.

  Most JS scripts are short, so need no extended jumps.  We optimize for this
  case by generating short jumps until we know a long jump is needed.  After
  that point, we keep generating short jumps, but each jump's 16-bit immediate
  offset operand is actually an unsigned index into cg->spanDeps, an array of
  JSSpanDep structs.  Each struct tells the top offset in the script of the
  opcode, the "before" offset of the jump (which will be the same as top for
  simplex jumps, but which will index further into the bytecode array for a
  non-initial jump offset in a lookup or table switch), the after "offset"
  adjusted during span-dependent instruction selection (initially the same
  value as the "before" offset), and the jump target (more below).

  Since we generate cg->spanDeps lazily, from within js_SetJumpOffset, we must
  ensure that all bytecode generated so far can be inspected to discover where
  the jump offset immediate operands lie within CG_CODE(cg).  But the bonus is
  that we generate span-dependency records sorted by their offsets, so we can
  binary-search when trying to find a JSSpanDep for a given bytecode offset,
  or the nearest JSSpanDep at or above a given pc.

  To avoid limiting scripts to 64K jumps, if the cg->spanDeps index overflows
  65534, we store SPANDEP_INDEX_HUGE in the jump's immediate operand.  This
  tells us that we need to binary-search for the cg->spanDeps entry by the
  jump opcode's bytecode offset (sd->before).

  Jump targets need to be maintained in a data structure that lets us look
  up an already-known target by its address (jumps may have a common target),
  and that also lets us update the addresses (script-relative, a.k.a. absolute
  offsets) of targets that come after a jump target (for when a jump below
  that target needs to be extended).  We use an AVL tree, implemented using
  recursion, but with some tricky optimizations to its height-balancing code
  (see http://www.enteract.com/~bradapp/ftp/src/libs/C++/AvlTrees.html).

  A final wrinkle: backpatch chains are linked by jump-to-jump offsets with
  positive sign, even though they link "backward" (i.e., toward lower bytecode
  address).  We don't want to waste space and search time in the AVL tree for
  such temporary backpatch deltas, so we use a single-bit wildcard scheme to
  tag true JSJumpTarget pointers and encode untagged, signed (positive) deltas
  in JSSpanDep.target pointers, depending on whether the JSSpanDep has a known
  target, or is still awaiting backpatching.

  Note that backpatch chains would present a problem for BuildSpanDepTable,
  which inspects bytecode to build cg->spanDeps on demand, when the first
  short jump offset overflows.  To solve this temporary problem, we emit a
  proxy bytecode (JSOP_BACKPATCH; JSOP_BACKPATCH_PUSH for jumps that push a
  result on the interpreter's stack, namely JSOP_GOSUB; or JSOP_BACKPATCH_POP
  for branch ops) whose nuses/ndefs counts help keep the stack balanced, but
  whose opcode format distinguishes its backpatch delta immediate operand from
  a normal jump offset.

  The cg->spanDeps array and JSJumpTarget structs are allocated from the
  cx->tempPool arena-pool.  This created a LIFO vs. non-LIFO conflict: there
  were two places under the TOK_SWITCH case in js_EmitTree that used tempPool
  to allocate and release a chunk of memory, during whose lifetime JSSpanDep
  and/or JSJumpTarget structs might also be allocated from tempPool -- the
  ensuing release would prove disastrous.  These bitmap and table temporaries
  are now allocated from the malloc heap.

- jsinterp.c
  Straightforward cloning and JUMP => JUMPX mutating of the jump and switch
  format bytecode cases.

- jsobj.c
  Silence warnings about %p used without (void *) casts.

- jsopcode.c
  Massive and scary decompiler whackage to cope with extended jumps, using
  source note offsets to help find jumps whose format (short or long) can't
  be discovered from properties of prior instructions in the script.

  One cute hack here: long || and && expressions are broken up to wrap before
  the 80th column, with the operator at the end of each non-terminal line.

- jsopcode.h, jsopcode.tbl
  The new extended jump opcodes, formats, and fundamental parameterization
  macros.  Also, more comments.

- jsparse.c
  Random and probably only aesthetic fix to avoid decorating a foo[i]++ or
  --foo[i] parse tree node with JSOP_SETCALL, wrongly (only foo(i)++ or
  --foo(i), or the other post- or prefix form operator, should have such an
  opcode decoration on its parse tree).

- jsscript.h
  Random macro naming sanity: use trailing _ rather than leading _ for macro
  local variables in order to avoid invading the standard C global namespace.


git-svn-id: svn://10.0.0.236/trunk@105588 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 03:16:48 +00:00
blizzard%redhat.com
164f60d537 Work with versions of bash older than version 2. Not part of the default build. Bug #104768.
git-svn-id: svn://10.0.0.236/trunk@105587 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 02:57:00 +00:00
hyatt%netscape.com
aab94a1cb2 Fix for 97805, r=sfraser, sr=waterson, also fixing event prioritization problems on Win32, r=jag, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@105586 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 02:14:43 +00:00
jst%netscape.com
a698aafccd Fixing most of bug 62536. Adding support for the properties scrollTop, scrollLeft, scrollHeight, scrollWidth, clientHeight, clientWidth and the method scrollIntoView() to elements for compatibility with IE. Patch by Fabian <hidday@geocities.com> and myself, r=peterv@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105584 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 01:17:47 +00:00
beard%netscape.com
f2a983d650 [Not part of build] Reset versions to 1.0d1.
git-svn-id: svn://10.0.0.236/trunk@105583 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 01:16:48 +00:00
beard%netscape.com
9ad655f30b [not part of build] Removed redundant bundle loading code, #if DEBUG kprintf, etc.
git-svn-id: svn://10.0.0.236/trunk@105582 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 01:16:13 +00:00
wtc%netscape.com
70ee1142a6 Rewrote #ifndef #else #endif by the equivalent #ifdef #else #endif.
git-svn-id: svn://10.0.0.236/trunk@105579 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 01:10:16 +00:00
kmcclusk%netscape.com
2a7864f0bc Scroll browser window to top-left if anchor can not be found (quirks only) bug 80784. r=kin@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105578 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 01:06:19 +00:00
law%netscape.com
4c669fff49 Fixes for bugs:
74445  - Add call to DdeUnaccessData (r=pchen, sr=blake)
103849 - Use ::IsIconic to check if window is minimized before restoring (r=matt, sr=blake)


git-svn-id: svn://10.0.0.236/trunk@105576 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:42:12 +00:00
av%netscape.com
28337089e7 Correction to the fix to bug 104940 (r=peterl, sr=waterson) -- memory leak avoided
git-svn-id: svn://10.0.0.236/trunk@105575 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:39:21 +00:00
law%netscape.com
07eebcccfc Fix for bug 104910; change default for Don't ask me this again checkbox on Quick Launch dialog; r=pchen, sr=blake
git-svn-id: svn://10.0.0.236/trunk@105572 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:36:10 +00:00
blakeross%telocity.com
cfea4e44b9 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@105571 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:32:35 +00:00
pierre%netscape.com
e0c5a0727b 91665 "Dump Style Contexts doesn't work anymore". Fixed nsStyleContext::List(). r=attinasi/sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105570 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:25:26 +00:00
blakeross%telocity.com
208d60fb50 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@105569 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:21:06 +00:00
seawood%netscape.com
e999279eab Backing out previous change as it's screwing up --disable-auto-deps builds.
Bug #105005


git-svn-id: svn://10.0.0.236/trunk@105568 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:14:25 +00:00
pierre%netscape.com
e21200cd23 97052 "getComputedStyle returns default value for border width when there is no border". GetBorderWidthFor() now returns 0 if NS_STYLE_BORDER_STYLE_NONE. r=bzbarsky / sr=jst
git-svn-id: svn://10.0.0.236/trunk@105567 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:05:05 +00:00
pierre%netscape.com
54f09f85f4 97534 "classic: after changing text color, text [labels] in dialogs/chrome also changed in color". Added GetDocumentColorPreferences() and call it when we set the container (chrome/content) on the presContext. r=dbaron / sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105566 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:59:25 +00:00
wtc%netscape.com
88fa081a13 Bugzilla bug 105154: fixed a timing problem in OS/2's implementation of
condition variables.  Thanks to Aaron Read <aaronr@us.ibm.com> for the
patch.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@105565 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:54:24 +00:00
seawood%netscape.com
30239478f9 Check for makefiles before running make to avoid needless errors. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105561 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:44:12 +00:00
dougt%netscape.com
7afa8ce1d2 Allows a QI from nsIServiceManager to nsIServiceManagerObsolete. b=105136, r=beard, sr=darin
git-svn-id: svn://10.0.0.236/trunk@105560 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:39:20 +00:00
seawood%netscape.com
31b5169a1b Removing modules/plugin/tools/mpdk at av's request.
Bug #104941


git-svn-id: svn://10.0.0.236/trunk@105559 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:38:40 +00:00
wtc%netscape.com
7f6484b0b8 We don't assert on invalid arguments now.
git-svn-id: svn://10.0.0.236/trunk@105558 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:36:44 +00:00
tao%netscape.com
4077c4cab0 bug 72496: How to get all platform files w/o downloading 3 Browsers?
r=ssu,sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@105557 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:36:03 +00:00
dougt%netscape.com
28d5971198 Improvements to GetWindowsFolder. bug 104962, r=dveditz@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105556 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:33:08 +00:00
beard%netscape.com
811eb2e35d [Not part of build] Removed extraneous targets, simplified access paths.
git-svn-id: svn://10.0.0.236/trunk@105555 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:32:50 +00:00
wtc%netscape.com
ef741ab75b Bugzilla bug 104269: allow one to specify an includedir or dist_includedir
that doesn't end in "/nspr".  This patch is due to cls.  r=wtc.
The only problem with this solution is that the default value for
--includedir shown in the --help output is wrong.
Modified files: configure.in configure config/autoconf.mk.in


git-svn-id: svn://10.0.0.236/trunk@105554 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:31:02 +00:00
beard%netscape.com
111e19ef60 [not part of build] Removed dependencies on MRJNetworking, which is unavailable in OS X.
git-svn-id: svn://10.0.0.236/trunk@105553 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:29:54 +00:00
beard%netscape.com
d7faa1f8f5 [not part of build] Added MRJPlugin::GetService() static methods. Added support for using both new service manager, and obsolete service manager, for backwards compatibility.
git-svn-id: svn://10.0.0.236/trunk@105552 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:29:15 +00:00
beard%netscape.com
edc0f4a971 [not part of build] Added MRJPlugin::GetService() static methods.
git-svn-id: svn://10.0.0.236/trunk@105551 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:27:47 +00:00
beard%netscape.com
0ecbf3b3ee [not part of build] Removed all uses of raw nsIServiceManager, in favor of MRJPlugin::GetService().
git-svn-id: svn://10.0.0.236/trunk@105550 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:27:15 +00:00
aaronl%netscape.com
a02d72b41b Bug 57192. Alt+Down for combo boxes in HTML. r=rods, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105547 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:00:12 +00:00
matt%netscape.com
34d29b64ff Adding context menu with search. Bug 15176. r=law sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105546 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:56:52 +00:00
ftang%netscape.com
9385592d3b add new files to the build. Not part of the build yet. Won't impact the tree.
fix bug 23363 r=brade sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@105545 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:32:39 +00:00
ftang%netscape.com
a8316b2299 fix bug 97176. delay loading of fontEncoding.properties untill we need it. Build in some common pair
r=rbs sr=waterson


git-svn-id: svn://10.0.0.236/trunk@105544 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:29:29 +00:00
alecf%netscape.com
ae461f1992 argh, add this file back to prevent further fizilla bustage
git-svn-id: svn://10.0.0.236/trunk@105543 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:23:45 +00:00
av%netscape.com
3652a1446d Fixing bug 104866 -- null chech before using nsCRT::strlen avoiding crash, r=nhotta, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105542 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:14:52 +00:00
av%netscape.com
2f106e6979 Fixing bug 104940 -- ignore plugins that do not show mime type, r=peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105541 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:12:27 +00:00
jaggernaut%netscape.com
56fd5dbc91 More REQUIRES clean-up.
git-svn-id: svn://10.0.0.236/trunk@105540 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 22:08:55 +00:00
alecf%netscape.com
0dd5094436 ack, what is this doing calling shutdown? :(
shutdown is gone


git-svn-id: svn://10.0.0.236/trunk@105539 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:54:11 +00:00
waterson%netscape.com
9c712ccd4f Bug 104328. Re-use fast code from nsIRDFContainerUtils to implement nsRDFContainer::IndexOf; fix infinite loop in nsRDFContainerUtils::IndexOf. Patch from tingley@sundell.net, r=waterson, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@105538 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:52:01 +00:00
cmanske%netscape.com
1687edd775 Don't add new attribute if value is empty in Composer Advanced Edit dialog, r=96906, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@105537 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:51:12 +00:00
cmanske%netscape.com
3c6edcc3a7 Cleaned up imageMap objects in Composer Image Dialog, b=94749, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105536 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:45:37 +00:00
kin%netscape.com
ffde4a4364 Fix for bug 97674: Parts of Mail composition/Composer window left blank after deleting text
If a paint event is received while refresh is disabled,
DispatchEvent() will now call UpdateView() to add the
area specified by the paint event, to the dirty region of
the view. This will insure that the area will get painted
properly when refresh is enabled.

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


git-svn-id: svn://10.0.0.236/trunk@105535 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:41:42 +00:00
alecf%netscape.com
ed5a290fe5 remove everything from this dir, no longer part of build
git-svn-id: svn://10.0.0.236/trunk@105534 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:38:36 +00:00
cmanske%netscape.com
a1112551b8 Fixed not clearing 'value' menulist when 'name' was changed in Composer Advanced Edit dialog, b=100653, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105533 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:36:52 +00:00
wtc%netscape.com
8229641d24 Removed memmove.c, snprintf.c, and strerror.c from CSRCS and added a
comment explaining why.


git-svn-id: svn://10.0.0.236/trunk@105532 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:32:16 +00:00
sspitzer%netscape.com
706c8349a1 fix for #105126. define a default height for the thread pane when using the
normal 3 pane layout.  without a default, the splitter between the thread pane and the
message pane jumps when we switch folders, which looks bad and causes a repaint,
which is bad for folder loading performance.  r=cavin, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@105531 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:28:34 +00:00
jst%netscape.com
1219d2d2b7 Fixing bug 101492. Making self.close() do nothing when called from within a frame in a frameset (or from an iframe) for backwards compatibility. r=peterv@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@105530 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:19:05 +00:00
pinkerton%netscape.com
ff4273d2c4 for carbon, use the simple defproc to avoid window borders by the OS. also, remove invisible windows from the OS window lists (hidden window is one example). bugs 76990 and 102525. r=sdagley/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@105529 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:10:51 +00:00
alecf%netscape.com
445fa78680 bug 76339 - kill nsIAppShellComponent, finally. sr=sfraser, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@105528 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:10:35 +00:00
dougt%netscape.com
b01e0f7cd7 backing out dbarons change to the nsIPluginClassicModule interface. Attempting to fix the fizilla bustage. r=beard, b=105072
git-svn-id: svn://10.0.0.236/trunk@105527 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:03:54 +00:00
dougt%netscape.com
47cea5ecc3 Fixing bustage caused yesterday. b=105102, r=neeti
git-svn-id: svn://10.0.0.236/trunk@105526 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 21:00:39 +00:00
alecf%netscape.com
7299bc6fc4 bug 101761 - MODULE= cleanup on windows: gkplugin is really just plugin, r=cls
git-svn-id: svn://10.0.0.236/trunk@105525 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 20:56:51 +00:00
sspitzer%netscape.com
6f35191147 remove my silly printf. rs=no one
git-svn-id: svn://10.0.0.236/trunk@105524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 20:53:54 +00:00
mcafee%netscape.com
5cec9cd36c Adding a normal perl header. r=alecf
git-svn-id: svn://10.0.0.236/trunk@105523 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 20:52:53 +00:00
alecf%netscape.com
8784307580 add some rules for module-graph.pl r=cls
git-svn-id: svn://10.0.0.236/trunk@105522 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 20:52:33 +00:00
nhotta%netscape.com
100bed33a5 Added support for MIME encoded headers in mailtoURL, changed to decode MIME encoded headers for mailto URL,
bug 12851, r=ducarroz, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@105521 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 20:38:59 +00:00
morse%netscape.com
1eda82eb05 bug 97409, add unblocking images to context menu, r=law, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105520 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 20:38:57 +00:00
cavin%netscape.com
2e04f29b58 Bug #104975: Check if 'accountValues[type]' is NULL in checkUserServerChanges(). r=racham, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@105519 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 20:35:46 +00:00
pschwartau%netscape.com
e8a1b17f30 Comment fix.
git-svn-id: svn://10.0.0.236/trunk@105518 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 19:22:47 +00:00
rogerl%netscape.com
17454e3c6d warning fix.
git-svn-id: svn://10.0.0.236/trunk@105517 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 19:14:16 +00:00
rogerl%netscape.com
cf85a41674 Fixed length fields for various functions, behavioiur of string functions
to match tests. Added missing virtuals to BoundFunction. Fixed eval access
to parameters and locals.


git-svn-id: svn://10.0.0.236/trunk@105516 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 18:58:42 +00:00
gerv%gerv.net
259c5e66d6 Bug 98146 redux - changing URL to relative one. Oops. Patch by jake, r=gerv.
git-svn-id: svn://10.0.0.236/trunk@105514 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 18:42:05 +00:00
seawood%netscape.com
1bbeefe620 Fix problem with .deps not being created when building mkdepend
git-svn-id: svn://10.0.0.236/trunk@105513 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 18:34:26 +00:00
nboyd%atg.com
a3f0680697 Test not valid in JDK 1.4.
git-svn-id: svn://10.0.0.236/trunk@105512 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 18:33:38 +00:00
pschwartau%netscape.com
119778a902 Skip new test that uses the gc() function of SpiderMonkey.
git-svn-id: svn://10.0.0.236/trunk@105511 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 18:14:19 +00:00
pschwartau%netscape.com
ab8861e594 Intial add. Regression test for Bugzilla bug 104584.
git-svn-id: svn://10.0.0.236/trunk@105508 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 17:46:26 +00:00
shrutiv%netscape.com
971e1a1c22 Fix for bug 103923: CCK installer doesn't display customize logo in
Instant Messenger window (r=tao)


git-svn-id: svn://10.0.0.236/trunk@105507 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 17:30:10 +00:00
waterson%netscape.com
0d1ec0458b Be sure to set default values\!
git-svn-id: svn://10.0.0.236/trunk@105506 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 15:45:41 +00:00
shanjian%netscape.com
7bbe170794 #104518 CharDetNativeTest is not necessary
r=nhotta, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@105505 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 14:23:44 +00:00
ftang%netscape.com
b41c2cfe61 fix bustage. somehow I can compile but tinderbox cannot.
git-svn-id: svn://10.0.0.236/trunk@105504 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 14:10:21 +00:00
ftang%netscape.com
671c15eaef fix bug 96530. delay loading of unicharutil dll till we really need it.
r=dp sr=waterson


git-svn-id: svn://10.0.0.236/trunk@105503 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 12:38:19 +00:00
ftang%netscape.com
74ac65c718 fix bug 95282. Add unicode based collation code for Mac OS X. r=nhotta sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105502 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 12:30:44 +00:00
ftang%netscape.com
33a703f57b fix 93985. add ISO-8859-16 . r=yokoyama sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@105501 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 12:26:38 +00:00
ftang%netscape.com
82ae6924d3 add ISO-8859-16. create folder for different charsets
fix bug 93985


git-svn-id: svn://10.0.0.236/trunk@105500 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 12:25:55 +00:00
ftang%netscape.com
6f675056d0 check in 93985. add ISO-8859-16 converter
r= yokoyama sr= blizzard (rs)


git-svn-id: svn://10.0.0.236/trunk@105499 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 12:06:22 +00:00
sicking%bigfoot.com
9302ceb7d0 Support LRE stylesheets
b=104052 r=peterv rs=brendan


git-svn-id: svn://10.0.0.236/trunk@105498 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 11:57:52 +00:00
peterv%netscape.com
c2d459b80e Fix for bug 88623 (Cleanup Transformiix code). Removing some warnings. r=Pike, rs=jst.
git-svn-id: svn://10.0.0.236/trunk@105497 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 11:18:13 +00:00
leaf%mozilla.org
fab2dd4d45 Automated update
git-svn-id: svn://10.0.0.236/trunk@105496 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 10:43:22 +00:00
seawood%netscape.com
91bfe99a6c Add HAVE_FCHMOD to the list of ifdefs when checking whether or not to use fchmod. duh.
git-svn-id: svn://10.0.0.236/trunk@105495 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 10:37:33 +00:00
seawood%netscape.com
85e697c6bf define NO_X11 for beos so that it can compile mkdepend
git-svn-id: svn://10.0.0.236/trunk@105494 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 10:29:07 +00:00
seawood%netscape.com
836ab0e467 For directories that use additional VPATHs, change OBJ_SUFFIX instead of duplicating build rules. Turn off compiler dependencies when changing OBJ_SUFFIX because at least gcc < 3.0 has problems generating the correct dependencies when the basename of the srcfile does not match the basename of the object file.
Bug #105005


git-svn-id: svn://10.0.0.236/trunk@105493 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 09:31:58 +00:00
peterv%netscape.com
ebdf68cab6 Fix for bug 88623 (Cleanup Transformiix code). Removing some warnings, fixing txResultStringComparator::compareValues, adding isEmpty to our string class. r=sicking, r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@105492 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 09:26:59 +00:00
seawood%netscape.com
36ec5b1b6c Generate the dep file based upon the output filename, not the srcfile name
git-svn-id: svn://10.0.0.236/trunk@105491 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 09:26:31 +00:00
timeless%mac.com
8d302704c0 bug 27506, i messed up. making the changes per cbiesinger@web.de and justdave@syndicomm.com
git-svn-id: svn://10.0.0.236/trunk@105490 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 08:44:43 +00:00
dbaron%fas.harvard.edu
7571a34e6d Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@105489 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 08:19:57 +00:00
bryner%netscape.com
de9e58db8d Re-adding comments that were in nsIDrawingSurfaceGTK.h.
git-svn-id: svn://10.0.0.236/trunk@105488 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 07:58:38 +00:00
bryner%netscape.com
832b66c722 Removing unused/obsolete rhapsody directories. r=pavlov. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@105487 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 07:52:56 +00:00
bryner%netscape.com
51adab1288 Getting rid of unused nsIDrawingSurfaceGTK interface. r=pavlov, rs=ben.
git-svn-id: svn://10.0.0.236/trunk@105486 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 07:42:54 +00:00
dbaron%fas.harvard.edu
b1ce414ecf Attempt to fix Carbon bustage from dougt's checkin for bug 99147.
git-svn-id: svn://10.0.0.236/trunk@105485 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 07:42:53 +00:00
ben%netscape.com
1fcf6e6911 94239, remove empty file from jar file. r=dveditz, rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@105484 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 07:20:00 +00:00
ben%netscape.com
da6749644a Fix for 74036 (Comment change, code being touched is disabled)
Make sure the old "File Bookmark" logic moves /all/ bookmarks selected, not just every other one.
Patch by Becki Sanford, r=ben, rs=hyatt


git-svn-id: svn://10.0.0.236/trunk@105483 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 07:16:38 +00:00
jst%netscape.com
58fc31825f Fixing part of bug 104297. Making calling window.close() on an already closed window not throw exceptions and not assert. r=jaggernaut@netscape.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105480 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 06:38:04 +00:00
dbaron%fas.harvard.edu
da2e2dc828 Fix bustage. b=104763
git-svn-id: svn://10.0.0.236/trunk@105479 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 06:34:53 +00:00
dbaron%fas.harvard.edu
7b0065f0a6 Fix bustage. b=104763
git-svn-id: svn://10.0.0.236/trunk@105478 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 06:34:32 +00:00
dbaron%fas.harvard.edu
be48f09bf2 Fix AIX and gcc 2.7.2.3 bustage -- I was relying on implicit conversion to pick the right overloaded function template. Make it faster too.
git-svn-id: svn://10.0.0.236/trunk@105477 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 06:27:39 +00:00
seawood%netscape.com
126be1ffa7 Removing unused xp_file.h includes.
Bug #38061 r=bryner


git-svn-id: svn://10.0.0.236/trunk@105476 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 06:08:11 +00:00
jst%netscape.com
50079c3385 Missed this part in my last checkin...
git-svn-id: svn://10.0.0.236/trunk@105475 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 06:01:48 +00:00
seawood%netscape.com
0ea8290c58 Replace XP_File usage with standard FILE * routines.
Bug #38061 r=bryner


git-svn-id: svn://10.0.0.236/trunk@105474 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:55:57 +00:00
jst%netscape.com
03e0d6d868 Fixing bug 102583. Fixing bad old string useage in nsXMLContentSink. r=peterv@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105473 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:55:04 +00:00
dougt%netscape.com
6939fc1b77 reverting last change to exe
git-svn-id: svn://10.0.0.236/trunk@105472 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:53:45 +00:00
jband%netscape.com
1203a52b41 trivial warning fix. rs=jband
git-svn-id: svn://10.0.0.236/trunk@105471 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:48:25 +00:00
brendan%mozilla.org
040a610072 Add SetAlphaBounds, TABLE_SIZE, and MIN_ALPHA APIs (103990, r=dbaron, sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@105470 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:40:27 +00:00
dbaron%fas.harvard.edu
f2bb49a853 Remove overloaded fputs functions, DebugDump, and (from nsCString only) ToCString). b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105469 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:35:38 +00:00
dbaron%fas.harvard.edu
1382ac90eb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dougt%netscape.com
6148bb21e2 backing out wacky changes to .exe files r=bryner
git-svn-id: svn://10.0.0.236/trunk@105467 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:15:09 +00:00
ben%netscape.com
70f4902462 Just a string change. bug 91073, Hypertext Document -> Hypertext Markup Language Document
in default mimeTypes.rdf file. Patch from Henrik Gemal, r=gerv, sr=ben


git-svn-id: svn://10.0.0.236/trunk@105465 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 04:48:48 +00:00
jaggernaut%netscape.com
51eb31b70a Bug 58461: Potential [read: lurking, ed.] segfault in nsDocument::SetHeaderData. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@105464 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 04:35:26 +00:00
dougt%netscape.com
1db6eaec11 fixing bustage caused by last checkin
git-svn-id: svn://10.0.0.236/trunk@105462 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 04:08:42 +00:00
jaggernaut%netscape.com
9c98fae369 Fix ports bustage, linux runtime problems.
git-svn-id: svn://10.0.0.236/trunk@105461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 04:07:30 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
dougt%netscape.com
3823f1e1ae Update for nsIServiceManager interface freeze. r=shaver@mozilla.org. sr=rpotts@netscape.com, bug 99147
git-svn-id: svn://10.0.0.236/trunk@105459 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:36:21 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
gerv%gerv.net
5e727a403b Bug 30480 - add 'show dependencies as buglist' links. Patch by gerv, r=myk, kiko.
git-svn-id: svn://10.0.0.236/trunk@105457 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:09:52 +00:00
bienvenu%netscape.com
98bde40397 fix crash in close row object on empty local trash rs=sspitzer 104659
git-svn-id: svn://10.0.0.236/trunk@105456 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:05:34 +00:00
brendan%mozilla.org
f0ffd6eaeb Fix js_GC to mark max(#actuals, #formals) slots at fp->argv (104584, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@105455 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 02:21:02 +00:00
jst%netscape.com
a76d9ab54f Fixing bug 104031. Bad string code in nsHTMLDocument::WriteCommon(). r=bzbarsky@mit.edu, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105453 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 01:31:49 +00:00
jst%netscape.com
d0561dd100 Fixing bug 76049. Making access past the end of a 'DOM array' return undefined and not null. r=fabian@geocities.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105452 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 01:24:16 +00:00
jst%netscape.com
fa4b79fd98 Fixing bug 103188. Making window.prompter [noscript] since it's not accessable from web scripts anyway. r=jkeiser@iname.com, rs=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105451 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 01:18:33 +00:00
pavlov%netscape.com
0563bf5800 fix it so that we don't load winmm.dll until it is needed.. should help startup a bit. bug 104885. r=timeless sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@105450 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 01:10:29 +00:00
rods%netscape.com
44d4b425d4 make it so the select's borders can't be changed by user's style
Bug 94387 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105448 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:37:05 +00:00
av%netscape.com
1395ad8334 Plugin SDK, first check in, not part of the build
git-svn-id: svn://10.0.0.236/trunk@105447 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:34:42 +00:00
rods%netscape.com
8ad4f8da8a When a resize happens and one of the dimensions are constrained and it already has been reflowed we need to remove the padding & borders
or they keep getting added in.
Bug 101936 r=kmmclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105446 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:32:14 +00:00
jst%netscape.com
8eff06a6a6 Fixing bug 79133 (by working around the real problem). Image onerror events cause window.onerror handlers to be called since the events bubble up the tree. r=brendan@mozilla.org, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105445 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:30:41 +00:00
sspitzer%netscape.com
849b6eccae fix for #104929. some minor optimizations to nsStdURL.cpp.
use PL_strchr() instead of PL_strstr() when possible.

switch from PR_smprintf() to += and AppendInt(), to avoid the malloc and free.

r=sfraser, sr=darin


git-svn-id: svn://10.0.0.236/trunk@105444 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:29:28 +00:00
blakeross%telocity.com
0f6066a579 Checking in correct patch (from before)
git-svn-id: svn://10.0.0.236/trunk@105443 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:27:26 +00:00
vidur%netscape.com
e6699df193 First implementation of wrapper classes and tests. This is not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@105442 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:18:53 +00:00
jst%netscape.com
0c24b52291 Fixing bug 70613. element.innerHTML comes up empty if element is not part of a document hierarchy. r=bzbarsky@mit.edu, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105441 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:04:59 +00:00
myk%mozilla.org
310699e97f Fix for bug 98146.
Patch by Gerv <gerv@mozilla.org>.
r=myk, no second review needed.


git-svn-id: svn://10.0.0.236/trunk@105440 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 23:02:48 +00:00
jst%netscape.com
7db246be58 Fixing crasher bug 104774, add null check before calling CallQueryInterface() on mStyleSheet, which will be null if there is no stylesheet. r=harishd@netscape.com, sr=me.
git-svn-id: svn://10.0.0.236/trunk@105438 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:57:17 +00:00
beard%netscape.com
d6ce298be2 [not part of build] Don't crash when codeBase/archive attributes of applet tag are NULL.
git-svn-id: svn://10.0.0.236/trunk@105437 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:54:30 +00:00
morse%netscape.com
8c8d2d8ef7 bug 102709, wallet: keep encrypted state and clear master password on delete-all, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105436 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:47:54 +00:00
nhotta%netscape.com
d7a2a4d096 Adding "universalchardet", bug 91304, r=ftang, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@105435 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:43:18 +00:00
morse%netscape.com
8ed5309bb5 bug 102709, wallet: keep encrypted state and clear master password on delete-all, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105434 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:42:48 +00:00
nhotta%netscape.com
e350639ab2 Adding a new project "universalchardet", bug 91304, r=ftang, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@105433 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:41:29 +00:00
evaughan%netscape.com
49b5b14759 Grid fixes. NOT IN BUILD
git-svn-id: svn://10.0.0.236/trunk@105432 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:37:25 +00:00
nhotta%netscape.com
b37c8a9a3f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@105431 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:36:40 +00:00
morse%netscape.com
3cb632103d bug 104890, p3p: treat no-identifiable-info same as requires-expl-consent, r=harishd, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105430 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:36:31 +00:00
bryner%netscape.com
4ee338ff6b Bug 102725 -- problems converting numbers to strings when using gcc -O2. r=bbaetz, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@105429 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:31:39 +00:00
nhotta%netscape.com
25821bbd3c Adding a new project "universalchardet", bug 91304, r=ftang, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@105428 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:29:34 +00:00
hwaara%chello.se
881a98ef5b #104719, change nsIMsgMailNewsUrl.idl to use attributes rather than GetFoo/SetFoo.
r=bienvenu, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@105427 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:26:24 +00:00
blakeross%telocity.com
c10f849f01 Mozilla-generated shortcuts use unix-style eol (103466). patch by Daniel Mario Vega <dv5a@dc.uba.ar>. r=pink sr=blake
git-svn-id: svn://10.0.0.236/trunk@105426 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:26:20 +00:00
darin%netscape.com
e049e476e7 fixes bug 103979 "Crash if autoconfig proxies prefs enabled by the default"
r=gagan,dougt sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@105425 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:26:19 +00:00
shrutiv%netscape.com
5ca9daaac7 Fix for bug 93019: Logo button URL c11n should work on all logo buttons
(r=bobj)


git-svn-id: svn://10.0.0.236/trunk@105424 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 21:16:30 +00:00
jake%acutex.net
e6d892cfa4 Recompiling docs to pick up last two changes
git-svn-id: svn://10.0.0.236/trunk@105423 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 19:18:04 +00:00
jake%acutex.net
badba03495 The recommended style for perl (which is the styleguide Bugzilla will use) specifies that else should not be cuddled. This guide, while not specifically saying it, elluded to cuddling else. Fixing that problem.
git-svn-id: svn://10.0.0.236/trunk@105422 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 19:12:46 +00:00
ian.mcgreer%sun.com
52d8c9bbd1 expose function for accessing parts of decoded cert
git-svn-id: svn://10.0.0.236/trunk@105421 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 18:19:03 +00:00
ian.mcgreer%sun.com
b6d3a3b082 make the subject list sorted by valid times
git-svn-id: svn://10.0.0.236/trunk@105420 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 17:18:06 +00:00
ian.mcgreer%sun.com
1c39fe046e put the sort function in the header
git-svn-id: svn://10.0.0.236/trunk@105419 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 17:13:31 +00:00
ian.mcgreer%sun.com
2c439f174f add ordering capability to the list
git-svn-id: svn://10.0.0.236/trunk@105418 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 16:50:01 +00:00
shrutiv%netscape.com
af22d378ae Fix for bugzilla 102958: Prefill CCK "Auto Proxy Config URL" will
cause browser to crash. Adding comments to disable auto config proxies.


git-svn-id: svn://10.0.0.236/trunk@105417 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 16:25:11 +00:00
ian.mcgreer%sun.com
50f04eb9a5 a slew of AIX build fixes (bug fixes, for that matter)
git-svn-id: svn://10.0.0.236/trunk@105416 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 15:01:59 +00:00
brade%netscape.com
a9e7f59666 always insert a <title> if one isn't present (create <head> if necessary); r=cmanske; sr=kin (bug #101747)
git-svn-id: svn://10.0.0.236/trunk@105415 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 14:51:26 +00:00
kin%netscape.com
4719248c5d Fix for bug 101599: onChange fires when hitting return in text widgets
Modified nsTextInputListener::KeyPress() so that the return key fires
and onChange event if the contents of the text control has changed,
and it is a single line text control.


    mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
    mozilla/layout/html/forms/src/nsGfxTextControlFrame2.h

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


git-svn-id: svn://10.0.0.236/trunk@105414 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 14:11:37 +00:00
dougt%netscape.com
03f56fb12b adding const to aDest parameter of memcmp. r=me s/r=jband@netscape.com, submitted by jim_nance@yahoo.com, bug 97231
git-svn-id: svn://10.0.0.236/trunk@105413 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 13:28:45 +00:00
sicking%bigfoot.com
d4e2baa321 Fix .ch on HTMLTableRowElement and some friends. Checkin for Fabian Guisset (hidday@geocities.com)
b=75667 r=sicking sr=jst


git-svn-id: svn://10.0.0.236/trunk@105412 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 13:04:09 +00:00
peterv%netscape.com
4276fd09ab Implement format-number() and <xsl:decimal-format>
b=65983 r=Pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@105411 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 12:34:31 +00:00
sicking%bigfoot.com
1c52e25eca Implement format-number() and <xsl:decimal-format>
b=65983 r=Pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@105410 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 12:33:54 +00:00
sicking%bigfoot.com
d36c6e96dc New files for bug 65983, implement format-number(). Not part of build yet.
git-svn-id: svn://10.0.0.236/trunk@105409 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 12:29:22 +00:00
simon%softel.co.il
7e886b236d Bring the comments on nsRenderingContextWin::SetRightToLeftText in line with the code. Bug 104791, r/rs=pavlov
git-svn-id: svn://10.0.0.236/trunk@105408 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 10:24:06 +00:00
ben%netscape.com
3afc39c608 87864 - attempt at preventing bookmarks file growth due to duplicate bookmarks (?)
by preventing duplicate bookmark creation during copy operations.
r=jag, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@105407 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 08:38:44 +00:00
jpierre%netscape.com
d34495c5f8 More changes for OS/2 build, in particular for the assembly code
git-svn-id: svn://10.0.0.236/trunk@105404 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 06:49:56 +00:00
jpierre%netscape.com
8112318c0f Allow assembly code to compile under OS/2 using IBM's Assembly Language Processor
git-svn-id: svn://10.0.0.236/trunk@105403 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 06:49:15 +00:00
bstell%netscape.com
5c1a611736 A short explaination of what the gfs/src/x11shared dir is intended for.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@105402 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 05:31:29 +00:00
gerv%gerv.net
0aa19e6335 Bug 104105 - cosmetic change to make it obvious that you can create an account.
git-svn-id: svn://10.0.0.236/trunk@105399 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 03:59:19 +00:00
gerv%gerv.net
83d330db2a Bug 46935 - trivial typo.
git-svn-id: svn://10.0.0.236/trunk@105397 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 03:46:28 +00:00
seawood%netscape.com
27f3111034 Remove config/mkdetect/Makefile
git-svn-id: svn://10.0.0.236/trunk@105396 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 01:46:36 +00:00
gerv%gerv.net
734523f630 Bug 99716 - allow query for Attachment is obsolete AND Attachment Status. Patch by myk, r=justdave, jake.
git-svn-id: svn://10.0.0.236/trunk@105394 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 00:55:50 +00:00
seawood%netscape.com
13557020a9 There's no need to create a target version of nsinstall so always compile it for the host platform.
git-svn-id: svn://10.0.0.236/trunk@105393 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 21:38:01 +00:00
seawood%netscape.com
7a6453d4be Removing unneeded dir.
Bug #89330


git-svn-id: svn://10.0.0.236/trunk@105392 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 19:51:35 +00:00
blakeross%telocity.com
3cd311565d Menulist in ab panel has no label. sr=ben
git-svn-id: svn://10.0.0.236/trunk@105391 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 19:40:12 +00:00
blizzard%redhat.com
821d333bb3 Incremental changes to get this building again. Stub out appshell.
git-svn-id: svn://10.0.0.236/trunk@105390 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 19:02:05 +00:00
sspitzer%netscape.com
ee5d3647e2 fix for #39584. user should be asked to remove non existing newsgroups, like in 4.x
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@105388 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 06:05:43 +00:00
jaggernaut%netscape.com
34e006d3a5 Remove dead code from obsolete string classes: ToNewString(), IsUnicode() and GetBuffer(). r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@105387 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 05:06:53 +00:00
jaggernaut%netscape.com
3510bb81cb Remove dead nsCString::ToNewString() code usage. r=dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105386 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 05:03:26 +00:00
jaggernaut%netscape.com
3264b088e4 Remove dead nsString::GetBuffer() code usage. r=dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105385 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 04:57:59 +00:00
blakeross%telocity.com
fe94412217 Fixing unsightly dnd feedback in classic. sr=ben
git-svn-id: svn://10.0.0.236/trunk@105384 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 04:43:27 +00:00
jaggernaut%netscape.com
45023a44cd Remove IsUnicode() check on nsString. nsString is always unicode (these days), so replacing this if/then/else with the then part. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@105383 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 04:37:37 +00:00
wtc%netscape.com
43d1d7bd79 Cleaned up the security/dbm makefiles and added
security/dbm/config/config.mk, which defines the "autoconf" macros that
mozilla's configure script defines.
Modified files: manifest.mn include/Makefile src/Makefile src/config.mk
    tests/Makefile
Added file: config/config.mk


git-svn-id: svn://10.0.0.236/trunk@105382 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 02:33:18 +00:00
pavlov%netscape.com
b3ce6188b0 oops, forgot to check in the changes from this directory. removing lowsrc support. bug 92453. r=jag sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105381 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 02:02:22 +00:00
blakeross%telocity.com
a2d1a77df2 Remove nsTimeBomb, stop doing unnecessary timebomb work (57306). r=mcafee sr=ben
git-svn-id: svn://10.0.0.236/trunk@105380 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 01:56:05 +00:00
gerv%gerv.net
028982971c Bug 57819 - change the size of the bit we print in the large error case. r=justdave.
git-svn-id: svn://10.0.0.236/trunk@105379 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 01:34:08 +00:00
pavlov%netscape.com
eff7407871 removing lowsrc support. bug 92453. r=jag sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105378 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 01:17:08 +00:00
blakeross%telocity.com
c9c2b15779 Don't load sidebar and its panels on startup if it's collapsed (72208). r=sgehani sr=ben
git-svn-id: svn://10.0.0.236/trunk@105377 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 20:52:11 +00:00
av%netscape.com
7c799c5bd3 Bug 104309 -- moved ContractID string definition for memory service to the idl file, r/sr=jband, vidur
git-svn-id: svn://10.0.0.236/trunk@105376 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 20:40:40 +00:00
peterlubczynski%netscape.com
7cbbec1c41 Fix for crash in pluginInstanceOwner::ProcessEvent when mWindow is null bug 96648, r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105375 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 17:36:03 +00:00
jaggernaut%netscape.com
39042c626f Use typedefs throughout the string code. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@105374 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 15:01:21 +00:00
nboyd%atg.com
1088aa8aea Fix 104493:
We have a tool that looks for a scary noop case of assigning an instance field
to itself. this usually comes from a constructor that assigns a argument to a
instance field with the same name and then later the argument changes name. we
ran our tool on all of our classes we have in our classpath here and found this
problem in your code.

rhino1_5R2/src/org/mozilla/javascript/regexp/NativeRegExp.java line 159 it has:
        this.flags = flags;

This seems to be a bad cut and paste from the CompilerState constructor on line
2155. or has some initialization that used to work been lost?


git-svn-id: svn://10.0.0.236/trunk@105373 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 12:06:16 +00:00
bernd.mielke%snafu.de
bd8b619784 bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
r=dbaron sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105372 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 09:27:46 +00:00
rginda%netscape.com
820c59df9b fix typo, r=syd
git-svn-id: svn://10.0.0.236/trunk@105371 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 08:33:08 +00:00
leaf%mozilla.org
b98603f3b4 Automated update
git-svn-id: svn://10.0.0.236/trunk@105370 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 07:28:52 +00:00
jshin%mailaps.org
12eed611e3 r=yokoyama@netscape.com sr=brendan@mozilla.org
fix bug 7964 : Add ISO-2022-KR decoder (to Unicode) Korean emails.
Encoder is NOT included since ISO-2022-KR should not be used for
outgoing emails.


git-svn-id: svn://10.0.0.236/trunk@105369 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 07:27:30 +00:00
jshin%mailaps.org
88c7922367 r=yokoyama@netscape.com sr=brendan@mozilla.org
fix bug 7964 : Add ISO-2022-KR decoder (to Unicode) for
Korean emails. Encoder is NOT included since ISO-2022-KR should
not be used for outgoing emails.


git-svn-id: svn://10.0.0.236/trunk@105368 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 07:22:27 +00:00
seawood%netscape.com
71efeed27e Use -v instead of -V to get gnu as version
git-svn-id: svn://10.0.0.236/trunk@105367 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 07:16:45 +00:00
seawood%netscape.com
7693f9e104 Try to use mozilla as well as netscape to launch webconfig
Bug #101075


git-svn-id: svn://10.0.0.236/trunk@105366 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 06:23:28 +00:00
seawood%netscape.com
fb784e1e1f Look for mips* on linux instead of specific variants.
Remove temp .s file when done building .o .


git-svn-id: svn://10.0.0.236/trunk@105365 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 06:09:27 +00:00
seawood%netscape.com
6a7655eea9 Install *.cfg files used for cross-compiling
git-svn-id: svn://10.0.0.236/trunk@105364 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 06:02:48 +00:00
seawood%netscape.com
71b6fcd24d Add support for mips*el
git-svn-id: svn://10.0.0.236/trunk@105363 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 06:00:00 +00:00
despotdaemon%netscape.com
145d4d5b2b Pseudo-automatic update of changes made by cls@seawood.org.
git-svn-id: svn://10.0.0.236/trunk@105362 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 05:58:48 +00:00
seawood%netscape.com
b3bc98ec8c Fix scrollbar leaks by making sure that we decrement the refcnt when Destroy() is called.
bug #101814 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@105361 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 05:50:16 +00:00
beard%netscape.com
c068ece11d [not part of build] Scrolling event support, lessen dependency on JManager.
git-svn-id: svn://10.0.0.236/trunk@105360 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 05:32:51 +00:00
beard%netscape.com
fc369cc7ec [not part of build] Fix crash when releasing memory allocator, use MRJSession::open() after putting MRJPlugin.jar in class path.
git-svn-id: svn://10.0.0.236/trunk@105359 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 05:31:44 +00:00
beard%netscape.com
47b11df4bb [not part of build] Remove dependencies on JManager, added open/close methods, vector<FSSpec> class path, removed hard coded path to MRJPlugin.jar.
git-svn-id: svn://10.0.0.236/trunk@105358 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 05:29:03 +00:00
beard%netscape.com
0d50223258 [not part of build] Remove dependencies on JManager, added open/close methods, vector<FSSpec> class path.
git-svn-id: svn://10.0.0.236/trunk@105357 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 05:28:17 +00:00
beard%netscape.com
dbfdeb6574 [not part of build] Stop using nsIServiceManager::ReleaseService, use NS_RELEASE instead.
git-svn-id: svn://10.0.0.236/trunk@105356 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 05:26:34 +00:00
beard%netscape.com
8d8ca04198 [not part of build] Remove JManager dependencies.
git-svn-id: svn://10.0.0.236/trunk@105355 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 05:25:48 +00:00
dbaron%fas.harvard.edu
37bd8ec3b2 Fix Sun WS 5.0 bustage by moving conditional deeper into expression. b=100214
git-svn-id: svn://10.0.0.236/trunk@105354 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 04:25:23 +00:00
seawood%netscape.com
e1d6ea7219 Removing ifdef surrounding #include after being cited for portability violation.
Bug #103579


git-svn-id: svn://10.0.0.236/trunk@105353 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 04:21:41 +00:00
wtc%netscape.com
9d6461e127 Bugzilla bug 104444: change the type of the h_charkey member of
struct hashhdr from int32 to uint32.
Modified files: dbm/include/hash.h dbm/src/hash.c


git-svn-id: svn://10.0.0.236/trunk@105352 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 03:16:13 +00:00
seawood%netscape.com
23bb1d44aa Removing motif port from the tree.
Bug #89330 r=bryner sr=pavlov


git-svn-id: svn://10.0.0.236/trunk@105351 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 02:59:09 +00:00
sfraser%netscape.com
49738d0e98 Fix bug 42817 -- overlay a Page Setup menu item for Mac, which displays the page setup dialog. r=jag/hwaara, sr=sspitzer/blake
git-svn-id: svn://10.0.0.236/trunk@105350 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 02:28:44 +00:00
sfraser%netscape.com
4088e8e6e8 Fix bug 42817 -- overlay a Page Setup menu item for Mac, which displays the page setup dialog. r=jag/hwaara, sr=sspitzer/blake/fm
git-svn-id: svn://10.0.0.236/trunk@105349 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 02:27:35 +00:00
ssu%netscape.com
820a5a000d fixing bug 104275 - Cannot send message from Excel/PPoint97 using SimpleMAPI. r=curt, sr=dveditz. not part of tinderbox builds. affects windows platforms only
git-svn-id: svn://10.0.0.236/trunk@105348 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 02:01:16 +00:00
jake%acutex.net
c61edb13da Tabs are not allowed in Bugzilla source... if we find one, issue a warning.
No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@105346 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 01:44:06 +00:00
justdave%syndicomm.com
d27f46ad1e Fix for bug 104516: No code changes in this patch, all this checkin does is remove all tabs from the bugzilla source and replace it with the appropriate number of spaces (in most cases 8) to line up with existing code. This is part of the effort to bring the existing codebase up to par with our style guidelines.
Patch by Jake Steehagen <jake@acutex.net>
r= justdave x2


git-svn-id: svn://10.0.0.236/trunk@105335 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 01:36:17 +00:00
shrutiv%netscape.com
b903cf9608 Fix for bugscape bug 9860: Setup dialogs and rshell.ini file needs to
be updated for 6.2. (r=tao)


git-svn-id: svn://10.0.0.236/trunk@105334 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 01:10:19 +00:00
darin%netscape.com
d394a62ae4 fixes bug 104181 "SH should not store layout state if server sends Cache-control: no-cache"
r=radha, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@105333 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 01:03:59 +00:00
leaf%mozilla.org
a1d1de1a68 Automated update
git-svn-id: svn://10.0.0.236/trunk@105331 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:58:23 +00:00
seawood%netscape.com
7bde741c41 Make uint_t test use uint_t instead of uint.
Thanks to Colin Blake <colin@theblakes.com> for the patch & the catch.
Bug #103894 r=cls


git-svn-id: svn://10.0.0.236/trunk@105330 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:55:46 +00:00
justdave%syndicomm.com
defa1bc955 Fix for bug 19910: Bugzilla installs on the same server would interfere with each others' cookies. Cookies now have a path value that can be set to indicate which bugzilla install they belong to. Browsers will only send the cookie to the appropriate installation. The path can be set in the 'cookiepath' parameter in editparams.cgi.
Patch by Dave Lawrence <dkl@redhat.com>
r= myk, justdave


git-svn-id: svn://10.0.0.236/trunk@105325 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:40:41 +00:00
shrutiv%netscape.com
d0795acd3d Fix for bug 101449: Output for CCK Linux build generates other
unnessary files. Removing file n6setup.exe (r=tao)


git-svn-id: svn://10.0.0.236/trunk@105324 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:37:42 +00:00
alecf%netscape.com
f6092384bb attempt #2 to check in this file for bug 100214
git-svn-id: svn://10.0.0.236/trunk@105323 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:33:09 +00:00
law%netscape.com
da9a34a7a9 Fix for bug 100381; use OFN_NOCHANGEDIR to prevent saved-to directory from
being in-use (i.e., preventing rmdir); r=morse, sr=blake


git-svn-id: svn://10.0.0.236/trunk@105322 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:32:37 +00:00
alecf%netscape.com
f7b48fa3b1 convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105318 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:16:32 +00:00
alecf%netscape.com
daa3b327a3 convert from nsCRT::strn?cmp to Compare() for bug 100214 r=jag, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105317 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:12:02 +00:00
alecf%netscape.com
b7f6742c4c move intl earlier in the build process so that static libs are available for bug 100214
git-svn-id: svn://10.0.0.236/trunk@105316 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:09:48 +00:00
law%netscape.com
917c4706f8 Fix for bug 91904, submitted by neil@parkwaycc.co.uk; add call to FlashWindow( .., FALSE )
when turning flashing off; r=law, sr=blake


git-svn-id: svn://10.0.0.236/trunk@105315 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:07:20 +00:00
law%netscape.com
bd80e23931 Fix for bug 79356; remove duplicate var declaration (strict JS warning); r=morse, sr=blake
git-svn-id: svn://10.0.0.236/trunk@105314 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:04:30 +00:00
law%netscape.com
45a4378547 Fix for bug 77682; remove duplicate declaration of var (strict JS warning);
r=morse, sr=blake


git-svn-id: svn://10.0.0.236/trunk@105313 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 00:02:31 +00:00
law%netscape.com
c7e1a9369e Fix for bug 76447; test for nsIFilePicker::returnOK to avoid JS error when
the user has pressed cancel; r=morse, sr=blake


git-svn-id: svn://10.0.0.236/trunk@105312 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 23:59:04 +00:00
law%netscape.com
94fa5a0ac9 Fixes for bugs:
65961 - Patch from bzbarsky@mit.edu, uses Math.floor to round down so 100%
        doesn't happen till download is complete; r=blake, sr=mscott
102956 - Blocks cancel going to uriloader/exthandler if download is completed,
        and, removes the code to reset the onclick handler for the cancel/close
        button; r=pchen, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@105311 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 23:52:59 +00:00
sfraser%netscape.com
ca33060df9 Fix for bug 36796 - implement page setup on Mac and Mac OS X. r=sdagley, sr=alecf. Adding nsPrintOptionsX.cpp
git-svn-id: svn://10.0.0.236/trunk@105310 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 23:48:51 +00:00
sfraser%netscape.com
b2e84d7311 Fix for bug 36796 - implement page setup on Mac and Mac OS X. r=sdagley, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@105307 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 23:48:34 +00:00
leaf%mozilla.org
9f9869aeab Automated update
git-svn-id: svn://10.0.0.236/trunk@105306 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 23:28:21 +00:00
seawood%netscape.com
51816b1955 Added -xgot to linux/mips build.
Use $target instead of $host when possible for cross-compiled builds.


git-svn-id: svn://10.0.0.236/trunk@105304 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 23:23:53 +00:00
sspitzer%netscape.com
05af8695d5 fix for #104498, optimize ParseReferences() / SetReferences().
rs=bienvenu


git-svn-id: svn://10.0.0.236/trunk@105303 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 23:23:11 +00:00
alecf%netscape.com
1d9b28b950 fix clobber builds for 104482 - patch from balleysson@bigfoot.com, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105302 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 23:12:19 +00:00
heikki%netscape.com
1a58cc7538 Bug 98214, minor performance improvements and cleanup. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@105300 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 22:01:19 +00:00
rangansen%netscape.com
dd0137a550 r=rangansen r=ssaux sr=hewitt
bug# 101631- enables column reordering


git-svn-id: svn://10.0.0.236/trunk@105298 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:51:57 +00:00
wtc%netscape.com
c8c2332748 Rewrote #ifndef #else #endif with the equivalent #ifdef #else #endif.
git-svn-id: svn://10.0.0.236/trunk@105297 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:45:13 +00:00
rpotts%netscape.com
25794bac66 bug #90722.(r=danm@netscape.com, sr=mscott@netscape.com) Added nsIWindowWatcher::GetWindowByName(...).
git-svn-id: svn://10.0.0.236/trunk@105296 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:42:24 +00:00
justdave%syndicomm.com
25caa8b542 Fix for bug 101056: multiple form values of the same name were not getting correctly stashed if the user had to log in as part
of a form submit.
Patch by Myk Melez <myk@mozilla.org>
r= gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@105295 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:33:21 +00:00
ducarroz%netscape.com
b8085e1672 Fix for bug xxxx. When a part check for a separator, it need first check if it's not for it's child. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@105294 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:31:57 +00:00
pschwartau%netscape.com
41dfe8d5b2 Initial add. Regression test for bug 104375.
git-svn-id: svn://10.0.0.236/trunk@105293 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:28:43 +00:00
ducarroz%netscape.com
cc75cd9146 Fix for bug 83541. Use user domain for construct a part ID. The current code was bogus! R=varada, SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@105292 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:25:10 +00:00
nhotta%netscape.com
d8c336dd31 Changed to convert MIME decoder's output of sender's address from UTF-8 to UCS2,
bug 94103, r=sspitzer, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@105291 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:22:18 +00:00
aaronl%netscape.com
4bed7de265 Bug 103903. Accessibility module must be ready for pres shell to disappear at any time, so it doesn't crash. r=jgaunt, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@105290 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:05:31 +00:00
sfraser%netscape.com
3af9b0bdcf Fix bugscape 10444. Fix crash when playing a sound a second time; I was casting from the wrong slice, so crashed calling a virtual method. r=sdagley, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@105289 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:05:15 +00:00
alecf%netscape.com
127d4b2585 bug 104118 - a non-rdf contractid for windowmediator, to reduce dependencies. r=mkaply, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@105288 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:03:40 +00:00
sspitzer%netscape.com
36d29e1e6c fix for #79217, scrollbar position need to be invalidated when switching folders.
r=hwaara,sspitzer sr=hyatt.  fix by Jan Varga (varga@utcru.sk)


git-svn-id: svn://10.0.0.236/trunk@105287 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:02:17 +00:00
shanjian%netscape.com
520a80a66d #100377 Auto-detect All detects yahoo-japan page as a wrong charset that save by Composer
r=yokoyama, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@105286 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 21:00:39 +00:00
andreww%netscape.com
57585c209e cleaning up conflict checked in from 103165
git-svn-id: svn://10.0.0.236/trunk@105285 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:58:40 +00:00
gerv%gerv.net
0ab43dc59d Bug 100490 - better error message with no JavaScript for QuickSearch. Patch by afranke, r=kiko, gerv.
git-svn-id: svn://10.0.0.236/trunk@105284 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:54:26 +00:00
wtc%netscape.com
ae0a84cd05 Bugzilla bug 104286: teach config.guess and config.sub about MKS Toolkit.
r=cls.


git-svn-id: svn://10.0.0.236/trunk@105283 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:46:34 +00:00
wtc%netscape.com
f0baed2a22 Bugzilla bug 104286: teach the configure script about MKS Toolkit. r=cls.
Modified files: configure configure.in config.guess config.sub


git-svn-id: svn://10.0.0.236/trunk@105282 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:44:02 +00:00
sicking%bigfoot.com
70ae4d3579 Clean up NumberFunctionCall.cpp: make all numberfunctions NaN and Inf safe, make round() work on windows, make all numberfunctions out-of-mem safe
b=102185 r=Pike sr=shaver


git-svn-id: svn://10.0.0.236/trunk@105281 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:38:23 +00:00
jake%acutex.net
f7494556d7 If a template doesn't exist, this should be considered a compile failure.
No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@105280 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:35:37 +00:00
jband%netscape.com
ab59dfb6c9 not yet part of build. support tracking the iid in array of interfaces
git-svn-id: svn://10.0.0.236/trunk@105279 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:29:19 +00:00
leaf%mozilla.org
8badf561ab Automated update
git-svn-id: svn://10.0.0.236/trunk@105278 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:28:22 +00:00
myk%mozilla.org
073e630fab Fix for bug 91486: Add "changed from" option to the boolean chart.
Patch by Stephen Lee <slee@uk.bnsmc.com>.
r=myk@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@105277 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:25:57 +00:00
cls%seawood.org
e11146551f Remove Motif port from build. Pull using MOTIF_LAST_RITES tag to resurrect (but why would you want to do a silly thing like that?)
Bug #89330 r=bryner sr=pavlov


git-svn-id: svn://10.0.0.236/trunk@105276 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:21:31 +00:00
dougt%netscape.com
830bd80be0 Freezing nsIClassInfo interface. r=dbradley sr=shaver bug=99158
git-svn-id: svn://10.0.0.236/trunk@105275 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:21:18 +00:00
nhotta%netscape.com
6365d25fe7 Remove charset conversion because the input data is either us-ascii or already UTF-8, bug 92420, r=ducarroz, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@105274 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:21:17 +00:00
shanjian%netscape.com
2b05ba9ad3 Recheckin documentation about universal detector. Now it is OK to make it public.
git-svn-id: svn://10.0.0.236/trunk@105273 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 19:58:21 +00:00
curt%scruznet.com
2163fcdfe8 Only add MAPI and MAPIX to win.ini.
git-svn-id: svn://10.0.0.236/trunk@105272 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 19:56:36 +00:00
pavlov%netscape.com
8ffaefabcb fixing smoketest blocker bug 104421. r=bryner a=endico
git-svn-id: svn://10.0.0.236/trunk@105269 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 19:30:28 +00:00
shrutiv%netscape.com
7b106867e8 Fix for bugscape bug 9935: Need to update the CCK product/file version
number. Changing product/file version from 6.1 to 6.2 (r=tao)


git-svn-id: svn://10.0.0.236/trunk@105267 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 17:58:41 +00:00
ian.mcgreer%sun.com
7043b5f496 check in cert lookup functions using the cache
git-svn-id: svn://10.0.0.236/trunk@105266 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 17:54:50 +00:00
ian.mcgreer%sun.com
9f40a0075a fix broken AIX build
git-svn-id: svn://10.0.0.236/trunk@105265 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 15:16:38 +00:00
jaggernaut%netscape.com
875cfc4108 Attempt to clear bustage by forcing a rebuild of this library
git-svn-id: svn://10.0.0.236/trunk@105263 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 11:20:20 +00:00
pavlov%netscape.com
20d8182ba1 bah, stupid build problems
git-svn-id: svn://10.0.0.236/trunk@105262 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 09:11:33 +00:00
leaf%mozilla.org
57b53ea23f Automated update
git-svn-id: svn://10.0.0.236/trunk@105261 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 08:28:23 +00:00
axel%pike.org
1d358c2f17 bug 97944, --enable-jsd should enable, not disable, MOZ_ARG_[EN|DIS]ABLE_BOOL
git-svn-id: svn://10.0.0.236/trunk@105260 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 08:22:35 +00:00
pavlov%netscape.com
fc911bfe73 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@105259 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 08:06:42 +00:00
pavlov%netscape.com
605da03527 fixing bug 64096 r=jag, sr=hyatt. additional patch to bug 104311 both r=bryner/jag and sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105258 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 07:59:21 +00:00
jaggernaut%netscape.com
0fe9a77221 Bug 104337: Remove nsPrivateReadableString from string hierarchy, r=dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105257 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 07:48:27 +00:00
jaggernaut%netscape.com
17085b914f Bug 104337: Remove nsPrivateSharableString from string hierarchy. r=dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105256 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 07:34:28 +00:00
jaggernaut%netscape.com
0de4726b90 Being Pav's mac buddy, adding imgILoad.idl
git-svn-id: svn://10.0.0.236/trunk@105255 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 06:55:57 +00:00
pavlov%netscape.com
8f39db38f6 part of previous checkin
git-svn-id: svn://10.0.0.236/trunk@105254 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 06:55:20 +00:00
pavlov%netscape.com
d82d5d4ba3 remove a bunch of silly xpcom nonsense from imglib. bug 104311 r=bryner sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@105253 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 06:43:52 +00:00
seawood%netscape.com
548307c4a3 nsILookAndFeel.h forward declares nsSize so include nsSize.h to actually get the class info.
Bug #103579 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@105252 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 06:23:17 +00:00
rbs%maths.uq.edu.au
20cf5d2264 Make glyph resolution more robust - bug 103777. r=shanjian, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105251 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 05:14:33 +00:00
seawood%netscape.com
823dd348bc Export imgScaler.h always to avoid bustage when building only alternative toolkits.
git-svn-id: svn://10.0.0.236/trunk@105250 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 04:33:13 +00:00
justdave%syndicomm.com
f9578f1b9e Backing out Gerv's checkin for bug 71840. Per the bug report, it did not have proper review first, and myk objected to what
got landed on irc.


git-svn-id: svn://10.0.0.236/trunk@105249 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 03:03:00 +00:00
law%netscape.com
939958037a Fix for bug 70859; patch from Oliver Klee (oliver.klee@gmx.net); initialize start/elapsed times; r=law, sr=blake
git-svn-id: svn://10.0.0.236/trunk@105248 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 03:01:58 +00:00
dbaron%fas.harvard.edu
8cfde11cea Bug 69873: remove nsAutoCString. r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105247 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 02:57:59 +00:00
law%netscape.com
439932f478 Fix bug 62155; change Save As... to Save Page As...; r=morse, sr=blake
git-svn-id: svn://10.0.0.236/trunk@105246 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 02:39:54 +00:00
blakeross%telocity.com
340562411f Add ellipses to various necko status texts (97028), patch by hwaara, r=doron sr=ben
git-svn-id: svn://10.0.0.236/trunk@105244 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 01:56:54 +00:00
jband%netscape.com
176a1ed1a3 NOT PART OF BUILD. Add support to track the type of the interfaces in an array
git-svn-id: svn://10.0.0.236/trunk@105243 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 01:51:08 +00:00
blakeross%telocity.com
b6e981e27b Hitting esc in urlbar of new blank browser window reveals proxy icon (81428), patch by Neil. sr=blake
git-svn-id: svn://10.0.0.236/trunk@105242 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 01:45:49 +00:00
evaughan%netscape.com
c2d47043e1 Fix for bug # 104225
-r bryner -sr attinasi


git-svn-id: svn://10.0.0.236/trunk@105241 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 01:33:41 +00:00
blakeross%telocity.com
163a108f66 Pressing enter in autocomplete menu should load that url in open location dialog (83922) and urlbar urls should be added to history dropdown regardless of method by which they were obtained (e.g. from autocomplete dropdown). r=kerz sr=ben
git-svn-id: svn://10.0.0.236/trunk@105240 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 01:33:39 +00:00
wtc%netscape.com
404ef5e998 Bugzilla bug 103881: restored the protection for the redefinition of
macro '__const'.  <sys/stdsyms.h> on HP-UX 11.00 defines '__const'.


git-svn-id: svn://10.0.0.236/trunk@105239 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 01:32:28 +00:00
blakeross%telocity.com
8fda570052 Javascript urls from dropdown don't replace location box (69095). r=kerz sr=ben
git-svn-id: svn://10.0.0.236/trunk@105237 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:52:51 +00:00
katakai%japan.sun.com
d1195dfd10 bug 103611
Autocomplete popup comes up unexpectedly (regression by checkin for bug 81360)
NS_TEXT_EVENT=null seems to invoke the popup window, so
we need to avoid the event when no composed text by clicking on fields.
r=bryner sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@105236 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:48:02 +00:00
roc+%cs.cmu.edu
23cb3b3694 Bug 57223. Fix up misalignment/endianness problem. r=dbaron,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105234 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:29:33 +00:00
waldemar%netscape.com
8b75b153ad Added subscript styles
git-svn-id: svn://10.0.0.236/trunk@105233 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:24:59 +00:00
waldemar%netscape.com
6299efc8ee More style changes. Removed nested character styles. Fixed line insertion. Made syntax errors catchable by the read-eval-print loop.
git-svn-id: svn://10.0.0.236/trunk@105232 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:24:20 +00:00
mcafee%netscape.com
4811193545 comments
git-svn-id: svn://10.0.0.236/trunk@105231 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:15:39 +00:00
mcafee%netscape.com
fec6cb89be HiRes comment
git-svn-id: svn://10.0.0.236/trunk@105230 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:04:26 +00:00
mcafee%netscape.com
a013c49e7b usage, allow for different exe names, e.g. mozilla or netscape or galeon
git-svn-id: svn://10.0.0.236/trunk@105229 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:02:32 +00:00
alecf%netscape.com
1a5fbb83ab return the right count from write(), so that ToLower() actually terminates
(#if 0'ed out code)


git-svn-id: svn://10.0.0.236/trunk@105228 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 00:01:19 +00:00
bienvenu%netscape.com
2a82c27fe9 potential fix for crash opening newsgroups, and fix problem when you couldn't download headers the first time you opened a newly subscribed group r=naving, sr=sspitzer 104257
git-svn-id: svn://10.0.0.236/trunk@105227 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 23:54:14 +00:00
shanjian%netscape.com
f87e8450ce While I was checking in fix of 88363 yesterday, a conflict mess got into my
check in. Remove that mess.


git-svn-id: svn://10.0.0.236/trunk@105226 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 23:46:27 +00:00
mcafee%netscape.com
b2899caa28 first attempt
git-svn-id: svn://10.0.0.236/trunk@105225 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 23:44:50 +00:00
bienvenu%netscape.com
2d95117570 speed up local search dramatically by doing more than one comparison per time slice r=naving, sr=sspitzer 104243
git-svn-id: svn://10.0.0.236/trunk@105224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 23:43:55 +00:00
mcafee%netscape.com
af5a41e5fd Checking in copy of tools/tinderbox/gettime.pl, sorry for the copy. both places need this, I didn't want either to depend on the other copy. this shouldn't change too much, hope that's ok.
git-svn-id: svn://10.0.0.236/trunk@105223 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 23:34:31 +00:00
mcafee%netscape.com
8a250cb786 moved startup-test.html file, pointing at new location now. Assumes you're linking to this at the top level.
git-svn-id: svn://10.0.0.236/trunk@105221 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 23:14:18 +00:00
gerv%gerv.net
c73af2e1df Bug 71840 - Make comments referenceable. Patch by gerv; r=myk, jake (ish :-).
git-svn-id: svn://10.0.0.236/trunk@105220 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 23:07:54 +00:00
gerv%gerv.net
71e38b7fe9 Bug 83058 - need a way to hide resolved bugs in dependency tree view. Patch by kiko; r=gerv, afranke.
git-svn-id: svn://10.0.0.236/trunk@105218 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 23:01:44 +00:00
mcafee%netscape.com
5c49a35c89 Removing reference to moved file, to match my last checkin
git-svn-id: svn://10.0.0.236/trunk@105217 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:52:46 +00:00
mcafee%netscape.com
ca081abf8f Moving this file to mozilla/tools/performance/startup, so we can group all the startup test stuff together. r=jrgm,dp
git-svn-id: svn://10.0.0.236/trunk@105216 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:34:00 +00:00
mcafee%netscape.com
d4bdc0ee87 Copying this file from mozilla/build. r=jrgm,dp
git-svn-id: svn://10.0.0.236/trunk@105215 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:31:15 +00:00
nelsonb%netscape.com
e8d7f8e737 Get the test CA program working again. Remove some bogus scripts.
git-svn-id: svn://10.0.0.236/trunk@105214 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:29:42 +00:00
gerv%gerv.net
417a600528 Bug 76161 - Don't select "resolve as dup" radio button when exiting empty dupe field. Patch by justdave, r=jake, caillon.
git-svn-id: svn://10.0.0.236/trunk@105213 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:18:35 +00:00
chak%netscape.com
9db1226fd1 Fix for #104221 - NS_LITERAL_STRING(APPSTARTUP_CATEGORY)| relies on the order
of 2 #define's
r=aaronl, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@105212 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:11:22 +00:00
law%netscape.com
4032f76643 Fix for bugs 67803/74012/79862/98797. Adds code to set initial focus to
downloading and progress dialogs, and removes code to disable the "close
this dialog" checkbox from the progress dialog.  r=aaronl, sr=ben


git-svn-id: svn://10.0.0.236/trunk@105211 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:09:56 +00:00
wtc%netscape.com
dae0a94f98 Bugzilla bug 103881: <sys/cdefs.h> as opposed to <cdefs.h> should be
included if HAVE_SYS_CDEFS_H is defined.  Other cleanups related to
cdefs.h.  r=shaver.
Modified files: dbm/src/snprintf.c dbm/include/cdefs.h
                dbm/include/mcom_db.h dbm/include/nsres.h


git-svn-id: svn://10.0.0.236/trunk@105210 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:07:55 +00:00
gerv%gerv.net
1c91e195e0 Bug 57819 - cut down large mysql error strings. Patch by n_hibma@qubesoft.com, r=gerv.
git-svn-id: svn://10.0.0.236/trunk@105209 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:58:07 +00:00
gerv%gerv.net
ea3232497f Bug 52782 - whineatnews.pl email should use the 'sendmailnow' Param. Patch by e.maryniak@pobox.com, r=gerv.
git-svn-id: svn://10.0.0.236/trunk@105208 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:55:21 +00:00
gerv%gerv.net
918cf95369 Add MacOS X. Bug 52577. Patch by afranke. r=gerv.
git-svn-id: svn://10.0.0.236/trunk@105207 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:52:28 +00:00
alecf%netscape.com
30244037ad bug 104122 - add case-insensitive comparison to nsICaseCompare for speedy in-module string comparisons
r=jag, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@105206 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:42:28 +00:00
gerv%gerv.net
2680f4367e Bug 104247 - make colours in buglists work again. Patch by kiko, r=gerv.
git-svn-id: svn://10.0.0.236/trunk@105205 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:42:07 +00:00
shrutiv%netscape.com
4945804993 Fix for bug 103019: CCK adds item to Help Menu even if no customize
Help is specified (r=tao)


git-svn-id: svn://10.0.0.236/trunk@105204 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:26:01 +00:00
rangansen%netscape.com
51067257f3 r=kaie sr=blizzard bug# 87656
[enables selecting token in change pswd dialog]


git-svn-id: svn://10.0.0.236/trunk@105203 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:18:08 +00:00
leaf%mozilla.org
d4072b8d12 bug 88898, code from lpham, r=leaf sr=granrose (packaging manifest). removing a non-existent library from the manifest
git-svn-id: svn://10.0.0.236/trunk@105202 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:15:45 +00:00
jpierre%netscape.com
930046f55e Build from absolute path on OS/2 to let the IBM debugger automatically find the source files
git-svn-id: svn://10.0.0.236/trunk@105200 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:08:38 +00:00
rangansen%netscape.com
f5e7f72e42 r=cls sr=blizzard bug# 102372
[checking in for Christian Biesinger]


git-svn-id: svn://10.0.0.236/trunk@105199 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 21:02:42 +00:00
nhotta%netscape.com
efa1fa072e Changed to use a charset convertor in DOMMimeTypeImpl and DOMPluginImpl instead of NS_ConvertASCIItoUCS2,
bug 102976, r=av, sr=blizzard.


git-svn-id: svn://10.0.0.236/trunk@105198 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 20:55:12 +00:00
sspitzer%netscape.com
09f92b7807 fix for #104226. instead of using "Mailbeep" (the windows system sound for new mail notification)
use "_moz_mailbeep".  on windows, we map this to "MailBeep" (so it works on win2k and win98)
and on mac we use sfraser's code to go to internet config.  (nothing on linux yet, that's another bug)
r=pinkerton, sr=sfraser

also, fix #104252.  selectively notify folder listeners.  when we register the folder listener
with the mail session, we pass in flags for what types of things we care about.
this reduces the notifications, especially those across XPConnect.
r=bienvenu, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@105195 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 20:45:44 +00:00
rangansen%netscape.com
db83fda3d2 r=rangansen sr=blizzard bug# 10300
[fixes regression that cert selection radio buttons were on separate lines]


git-svn-id: svn://10.0.0.236/trunk@105194 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 20:42:44 +00:00
kaie%netscape.com
eb2ee7fb85 b=99525 r=ddrinan sr=blizzard
When resetting master password, do not erase the stored web passwords if they are obscured only.


git-svn-id: svn://10.0.0.236/trunk@105193 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 20:29:51 +00:00
wtc%netscape.com
fbca330163 Added support for NSPR autoconf build system, which will be the only
way to build NSPR 4.2 and later.


git-svn-id: svn://10.0.0.236/trunk@105192 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 20:06:12 +00:00
aaronl%netscape.com
1eff26382a Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@105191 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 20:01:22 +00:00
ian.mcgreer%sun.com
b8f028fba6 fix #else
git-svn-id: svn://10.0.0.236/trunk@105190 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 19:51:47 +00:00
jake%acutex.net
fff7589bc3 Fix for bug 104180 - &nbsp; should only be used in the display for a saved query w/a space, not in the URL.
Patch by Christian Reis <kiko@async.com.br>
r= jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@105189 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 19:51:33 +00:00
jake%acutex.net
b31cbdd1ae Fix for bug 103592 - e-mail addresses that are longer than 30 characters will be truncated in the bug list.
Patch by Christian Reis <kiko@async.com.br>
r= gerv@mozilla.org, afranke@ags.uni-sb.de, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@105188 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 19:44:46 +00:00
ian.mcgreer%sun.com
95dcc33704 conditional compile in changes, this won't work until softoken is a true PKCS#11 module
git-svn-id: svn://10.0.0.236/trunk@105187 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 19:29:05 +00:00
sfraser%netscape.com
775f86d34d Fix bug 50578 -- don't show bogus error dialog when cancelling a print job. r=rods, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105186 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 19:10:26 +00:00
jake%acutex.net
40a00dee48 Fix for bug 104117 - The editkeywords.cgi link was broken as a result of the fix for bug 103554.
Patch by Christian Reis <kiko@async.com.br>
r= jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@105185 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 19:07:00 +00:00
alecf%netscape.com
2a140956a4 remove old nsCharsetMenu, bug 102004
r=ftang, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@105184 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 19:05:29 +00:00
bnesse%netscape.com
860a19ef44 Remove nsCharsetMenu.cpp from mac build. Bug 102004. r=ftang, sr=shaver. Checking in for alecf.
git-svn-id: svn://10.0.0.236/trunk@105183 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 19:00:50 +00:00
radha%netscape.com
1ec126b727 Fox for bug 96230. Back button does not preserve scroll bar positions on local files and ftp directory listings. r=adamlock sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105182 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:50:05 +00:00
aaronl%netscape.com
3d8c2face2 Bug 104173. Don't use nsIAppShellComponent in AccessProxy. r=dveditz, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105181 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:46:26 +00:00
kaie%netscape.com
c8624ab8d4 b=95987 r=relyea sr=blizzard
re-enable Diffie Hellman ciphers


git-svn-id: svn://10.0.0.236/trunk@105180 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:45:39 +00:00
timeless%mac.com
1fbabf4c79 Bug 27506 The Bonsai pages contain SCRIPTs which are not enclosed in
<!-- -->, greatly confusing some HTML parsers.
r=kiko


git-svn-id: svn://10.0.0.236/trunk@105179 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:44:14 +00:00
kaie%netscape.com
1f7b2067cc b=103774 r=javi sr=blizzard
Fix: display correct expiration date


git-svn-id: svn://10.0.0.236/trunk@105178 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:42:43 +00:00
ian.mcgreer%sun.com
92a29e6be9 fix optimized builds
git-svn-id: svn://10.0.0.236/trunk@105177 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:41:51 +00:00
ian.mcgreer%sun.com
4da3282daa more solaris fixes
git-svn-id: svn://10.0.0.236/trunk@105176 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:40:34 +00:00
nhotta%netscape.com
e85dccaf45 Added nsIUnicodeEncoder::SetOutputErrorBehavior to avoid the truncation of charse conversion, bug 92864, r=ftang, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@105173 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:36:39 +00:00
nhotta%netscape.com
85e725acb8 Moved .property file loading out from contructor, avoid loading .property file for some regions, bug 97172, r=ftang, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@105172 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:35:50 +00:00
alecf%netscape.com
ecd07394d1 fix for bug 103988 - fix the cache module so it is it's own module, not necko
r=cls, dbaron


git-svn-id: svn://10.0.0.236/trunk@105171 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:33:52 +00:00
sfraser%netscape.com
06bff04e01 Fix bug 104140. Add support for playing system sounds, or the mail sound specified in Internet Config. Sound play is async. r=pinkerton, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@105170 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:33:47 +00:00
brade%netscape.com
15661e9e9e check in this file (not yet part of the build); a=leaf
git-svn-id: svn://10.0.0.236/trunk@105169 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:20:47 +00:00
shrutiv%netscape.com
dcfc9e7703 Temporary fix for bug 102958. Removing automatic proxy configuration
from "Customize proxy configurations" UI. (r=tao)


git-svn-id: svn://10.0.0.236/trunk@105168 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:09:14 +00:00
ian.mcgreer%sun.com
747a800b3e add stan libs to static linked libs
git-svn-id: svn://10.0.0.236/trunk@105167 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 17:43:21 +00:00
ian.mcgreer%sun.com
0c9872e57e a number of windows build fixes
git-svn-id: svn://10.0.0.236/trunk@105166 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 17:41:47 +00:00
ian.mcgreer%sun.com
e2b5c393f9 asn1 is not needed yet; fix windows tbox
git-svn-id: svn://10.0.0.236/trunk@105165 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 17:15:06 +00:00
ian.mcgreer%sun.com
a86dba1947 fix broken tbox builds for solaris for now
git-svn-id: svn://10.0.0.236/trunk@105164 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 17:05:08 +00:00
ian.mcgreer%sun.com
ee38eb204c forgot to add this file
git-svn-id: svn://10.0.0.236/trunk@105163 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 16:43:06 +00:00
ian.mcgreer%sun.com
cf86d46f16 define decoded cert type; implement cert cache; glue code for old NSS types; define global default trust domain
git-svn-id: svn://10.0.0.236/trunk@105162 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 16:34:49 +00:00
ian.mcgreer%sun.com
2d3ef1d510 add glue code for old NSS types; fix certificate lookup
git-svn-id: svn://10.0.0.236/trunk@105161 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 16:33:38 +00:00
ian.mcgreer%sun.com
db82ea3725 begin process of converting pk11cert to use Stan cert code; Stan tokens integrated with SECMOD
git-svn-id: svn://10.0.0.236/trunk@105160 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 16:32:34 +00:00
ian.mcgreer%sun.com
a7aa7ecc4f integrate NSS 3.4 builds (stan parts now included)
git-svn-id: svn://10.0.0.236/trunk@105159 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 16:31:29 +00:00
bienvenu%netscape.com
7b322fb43b fix memory leak of uri rs=sspitzer 99135
git-svn-id: svn://10.0.0.236/trunk@105158 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 14:54:36 +00:00
bienvenu%netscape.com
3c530d2220 close nntp socket after logging out fixes memory leaks and assertions, r=mscott, sr=sspitzer 96381
git-svn-id: svn://10.0.0.236/trunk@105157 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 14:53:34 +00:00
mkaply%us.ibm.com
582db26bed #104047
r=morse, sr=alecf
Need to cast cookie expires date to an unsigned long since time_t is a double on OS/2


git-svn-id: svn://10.0.0.236/trunk@105155 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 12:54:58 +00:00
locka%iol.ie
bc6d57d94b NOT PART OF BUILD. Turned tabs to spaces.
git-svn-id: svn://10.0.0.236/trunk@105154 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 12:20:32 +00:00
locka%iol.ie
d0231a105a Fix for missing OK & Cancel text on XUL dialogs in embedding. b=101558 r=chak@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@105153 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 12:07:19 +00:00
pavlov%netscape.com
35f9bd599e fix indentation/tabbing
git-svn-id: svn://10.0.0.236/trunk@105151 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 07:19:01 +00:00
alecf%netscape.com
045c48f7ff remove a comment that's irrelevant, and mucks with lxr searching for nsIAppShellComponent - comment only, and not part of current build
git-svn-id: svn://10.0.0.236/trunk@105150 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 07:11:21 +00:00
peterlubczynski%netscape.com
62c2f515e4 Fixing bustage...
git-svn-id: svn://10.0.0.236/trunk@105144 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 05:40:00 +00:00
peterlubczynski%netscape.com
f701c0ab42 Do not check the "plugin safety pref" on every NPP call bug 96103 patch by av r=peterl sr=brendan
git-svn-id: svn://10.0.0.236/trunk@105143 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 04:51:06 +00:00
peterlubczynski%netscape.com
fe345ee2cf Fix for duplicate plugins being listed on Mac bug 103393 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105140 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 04:43:16 +00:00
roc+%cs.cmu.edu
57fb5f50ec Make nsMenuFrame respond to dynamic changes in the 'key' attribute in a menuitem. Bug 99853. sr=hyatt,r=jag
git-svn-id: svn://10.0.0.236/trunk@105138 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 03:03:42 +00:00
roc+%cs.cmu.edu
0a3c4015a5 Cleaning up nsViewManger code (whitespace and comments). Bug 73382. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105137 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 02:57:31 +00:00
brendan%mozilla.org
25337f4028 Include chrome directory in FastLoad file after XUL FastLoad File Version number, so several installs can take turns running with a given profile, throwing away one another's FastLoad files rather than using bad data saved by the last run (103992, r=sfraser, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@105136 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 02:46:18 +00:00
justdave%syndicomm.com
60069aef4c Fix for bug 97784: comments in attachment update form are now properly word-wrapped. This is a server-side implementation to
do the word-wrapping, which will probably eventually be used in the main comments area on the bug form as well.
Patch by Myk Melez <myk@mozilla.org>
r= gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@105134 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 02:17:58 +00:00
alecf%netscape.com
3d31b470bc bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag
git-svn-id: svn://10.0.0.236/trunk@105133 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 01:30:52 +00:00
dbaron%fas.harvard.edu
8004e4a54e Reduce string copying in nsLoadGroup::GetName. b=102386 r=jag sr=darin
git-svn-id: svn://10.0.0.236/trunk@105132 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 01:09:18 +00:00
sonja.mirtitsch%sun.com
a497037a95 version check for jss
git-svn-id: svn://10.0.0.236/trunk@105131 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 01:01:09 +00:00
despotdaemon%netscape.com
fcd10fa3b4 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105130 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:57:04 +00:00
morse%netscape.com
eaa1b1013c backing out fix for bug 47437 due to memory leak
git-svn-id: svn://10.0.0.236/trunk@105129 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:40:07 +00:00
sfraser%netscape.com
244eeeaf8d Fix bug 100472 -- play sounds asynchronously on Mac, cache sounds using necko, and deal with lots of different sound formats. r=pinkerton, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@105128 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:34:34 +00:00
sspitzer%netscape.com
568d3054c7 fix for #60139. fix problem with next navigation not working when bubbling out
fo subfolders.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@105127 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:33:50 +00:00
pavlov%netscape.com
143dee3821 xptcstubs code for o32 mips/linux r=pavlov sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105126 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:33:36 +00:00
kin%netscape.com
2043eb878d Fix for bug 104069 (crash on startup in nsCharsetMenu)
Include config.mak to produce .pdb file.

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


git-svn-id: svn://10.0.0.236/trunk@105125 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:27:38 +00:00
jaggernaut%netscape.com
7b095e25a2 Bug 103304: Make nsGenericHTMLElement::GetNodeName more efficient. r=bzbarsky@mit.edu, sr=jst
git-svn-id: svn://10.0.0.236/trunk@105124 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:26:40 +00:00
ftang%netscape.com
6c3c50baf2 fix 96529. lazy load unicharutil for start up.
author=waterson r=ftang sr=brendan


git-svn-id: svn://10.0.0.236/trunk@105123 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:25:21 +00:00
ftang%netscape.com
bf09d01765 fix bug 88050. remove Korean base transformation. r=jshin sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105122 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:22:13 +00:00
ftang%netscape.com
36054c9bef fix bug 81203. change ISO-8859-1 to windows-1252 for form submission
r=brade sr=kin


git-svn-id: svn://10.0.0.236/trunk@105121 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:20:07 +00:00
dbaron%fas.harvard.edu
6625c5de76 Fix 'text-decoration: blink' and the blink element. Patch from Chase Tingley <tingley@sundell.net>. r=dbaron sr=hyatt b=89065
git-svn-id: svn://10.0.0.236/trunk@105120 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:15:09 +00:00
naving%netscape.com
94e3a675cc 102751 r=bienvenu sr=sspitzer. If a localfolder's db is outdated, parse the folder and then compact the
folder to avoid dataloss.


git-svn-id: svn://10.0.0.236/trunk@105119 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:00:20 +00:00
alecf%netscape.com
5f110517fd quiet this script down, and prepare to add support for parallel checkout (no reviewers, not part of build)
git-svn-id: svn://10.0.0.236/trunk@105118 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 23:53:37 +00:00
alecf%netscape.com
bcd468587d part of bug 100214 - turn on unicharutil_s on all platforms. r=cls (build-only change, and unicharutil_s is #if 0'd out)
git-svn-id: svn://10.0.0.236/trunk@105117 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 23:38:36 +00:00
shanjian%netscape.com
3881b34635 #88363 Site with duplicate Content-Type loads with incorrect encoding
r=yokoyama sr=waterson


git-svn-id: svn://10.0.0.236/trunk@105116 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 23:37:18 +00:00
justdave%syndicomm.com
c7e784100c Fix for bug 103554: HTML generated by the PutHeader and GetCommandMenu subroutines now validates as HTML 4.01 at W3C.
Patch by Christian Reis <kiko@async.com.br>
r= caillon, gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@105115 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 23:36:29 +00:00
morse%netscape.com
7b3d740ef8 bug 47437, nsCookie.cpp is duplicating URL parsing logic, c=andreas.otte, r=morse, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105114 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 23:16:03 +00:00
bnesse%netscape.com
8722951db4 Fix for bugscape bug 7630, crash at www.barbie.com. Added check to kick out of loop if end of string reached. r=peterlubczynski, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105113 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 22:56:07 +00:00
alecf%netscape.com
e501260c23 part of fix for 38061 - remove last reference to XP_File
r=bryner, rs=bienvenu


git-svn-id: svn://10.0.0.236/trunk@105112 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 22:52:32 +00:00
despotdaemon%netscape.com
a4215792c2 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105111 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 22:44:57 +00:00
despotdaemon%netscape.com
ad7c741198 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105110 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 22:43:05 +00:00
despotdaemon%netscape.com
eb0b8012dc Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105109 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 22:38:03 +00:00
despotdaemon%netscape.com
89ecc3bd09 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105108 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 22:37:03 +00:00
despotdaemon%netscape.com
91e1a39f96 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105106 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 22:36:22 +00:00
despotdaemon%netscape.com
b6c0a5ad5f Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105105 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 22:35:21 +00:00
despotdaemon%netscape.com
97a70f063d Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105103 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:50:42 +00:00
despotdaemon%netscape.com
97dabb7c6e Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105101 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:48:58 +00:00
despotdaemon%netscape.com
31350582c3 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:48:16 +00:00
despotdaemon%netscape.com
3a76631c86 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105099 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:46:22 +00:00
despotdaemon%netscape.com
592244b0cf Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105098 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:40:52 +00:00
despotdaemon%netscape.com
2ec9741704 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105097 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:40:00 +00:00
despotdaemon%netscape.com
d0e849c96d Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105096 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:39:17 +00:00
despotdaemon%netscape.com
debd7d2654 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105095 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:36:36 +00:00
despotdaemon%netscape.com
9b500b1709 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105094 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:35:47 +00:00
despotdaemon%netscape.com
76ce6870ce Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105093 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:34:35 +00:00
cmanske%netscape.com
22d66bbb24 Fixed not checking for child nodes in menulist constructor, b=103310, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105092 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:34:12 +00:00
despotdaemon%netscape.com
8974e7f19d Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105091 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:33:40 +00:00
despotdaemon%netscape.com
8ab44ee9a0 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105090 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:30:20 +00:00
cmanske%netscape.com
221efe8850 Fix memory leak (not using nsCOMPtr) in editor, b=103317, r=rcassin, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105089 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:29:46 +00:00
despotdaemon%netscape.com
ed62dd6bc5 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105088 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:28:41 +00:00
despotdaemon%netscape.com
58e4b07ba8 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105087 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:26:38 +00:00
despotdaemon%netscape.com
55a4f0dec0 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105086 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:24:47 +00:00
despotdaemon%netscape.com
f783153ccd Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105085 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:23:28 +00:00
despotdaemon%netscape.com
e22addc17a Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105084 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:22:24 +00:00
despotdaemon%netscape.com
17ce507e60 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105083 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:21:33 +00:00
despotdaemon%netscape.com
5608403e69 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105082 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:20:03 +00:00
despotdaemon%netscape.com
1a7a03d495 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105081 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:19:07 +00:00
naving%netscape.com
2aa1b88de1 fix bustage for ports
git-svn-id: svn://10.0.0.236/trunk@105080 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:17:57 +00:00
despotdaemon%netscape.com
942e079837 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105079 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:16:12 +00:00
despotdaemon%netscape.com
d8b10369de Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105078 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:15:24 +00:00
despotdaemon%netscape.com
3c4d464704 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105077 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:10:38 +00:00
despotdaemon%netscape.com
dd460ab718 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105076 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:09:25 +00:00
despotdaemon%netscape.com
68fe32903a Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105075 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:07:53 +00:00
despotdaemon%netscape.com
a0501fd6b5 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105074 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:06:02 +00:00
despotdaemon%netscape.com
a4fb7514d1 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105073 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:04:57 +00:00
despotdaemon%netscape.com
ebd480d626 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105072 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:02:08 +00:00
shrutiv%netscape.com
220d222864 Fix for bug 103024: CCK for Linux installer doesn't run on Linux
Patch to remove ^M characters in linux config.ini (r=tao)


git-svn-id: svn://10.0.0.236/trunk@105071 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 21:00:18 +00:00
bienvenu%netscape.com
ef07f3ea71 fix call to PR_CWait to use interval r=ducarroz, sr=sspitzer 85250
git-svn-id: svn://10.0.0.236/trunk@105070 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 20:59:49 +00:00
despotdaemon%netscape.com
f81714e745 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@105069 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 20:58:45 +00:00
pschwartau%netscape.com
b8928316d0 Initial add. Regression test for bug 104077.
git-svn-id: svn://10.0.0.236/trunk@105068 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 20:50:27 +00:00
pschwartau%netscape.com
82159ba110 Minor change to make test exactly the same as the one reported in bug 102725.
git-svn-id: svn://10.0.0.236/trunk@105067 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 20:36:17 +00:00
blakeross%telocity.com
a8952234be Fixing typo.
git-svn-id: svn://10.0.0.236/trunk@105066 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 20:33:22 +00:00
blakeross%telocity.com
1ebe50f59a js error after selecting submenu items in navigator context menus (73804). simple fix. sr=ben
git-svn-id: svn://10.0.0.236/trunk@105065 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 20:32:15 +00:00
morse%netscape.com
fb67ea82a1 bug 102183, fix javascript warning and logic error, r=law, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105064 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 20:28:46 +00:00
brendan%mozilla.org
9cdd2afd56 Avoid O(n**2) growth rate of token buffer arena-based reallocation (103042, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@105062 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 20:19:12 +00:00
cmanske%netscape.com
2e50483362 Big UI cleanup for XUL 1.0 compliance, b=93732, r=syd,brade; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@105061 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 20:07:06 +00:00
ian.mcgreer%sun.com
d37dd4ed78 fix prompts to STDIN when using file passwords, bug 103942
git-svn-id: svn://10.0.0.236/trunk@105059 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:54:22 +00:00
blakeross%telocity.com
ee4ac695a8 Set focus to content area when opening bookmark (from pt or menu) (62765). r=kerz sr=ben
git-svn-id: svn://10.0.0.236/trunk@105058 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:53:30 +00:00
naving%netscape.com
3812ce7f6c backing out file not part of earlier checkin.
git-svn-id: svn://10.0.0.236/trunk@105057 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:53:29 +00:00
sspitzer%netscape.com
84a8a60663 fix conflicts that got checked in with the licensing foo.
rs=bienvenu


git-svn-id: svn://10.0.0.236/trunk@105056 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:50:30 +00:00
myk%mozilla.org
06bc221105 Fix for bug 27420: Gives the Component and Target Milestone fields extra space in the long list display of bugs.
Patch by Randall Whitman <randall.whitman@solipsa.com>.
r=justdave@syndicomm.com, no second review needed


git-svn-id: svn://10.0.0.236/trunk@105055 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:50:02 +00:00
vidur%netscape.com
bc5dcaf6ad Fixing DOS->unix EOL problem. This file is not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@105054 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:42:24 +00:00
blakeross%telocity.com
8e9bbff253 Workaround 'urlbar not responsive to enter' problem (90337). sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105053 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:38:21 +00:00
naving%netscape.com
b2cf98aa40 16902. oops missed this file
git-svn-id: svn://10.0.0.236/trunk@105052 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:34:23 +00:00
naving%netscape.com
e856d0a569 16902 r=sspitzer sr=bienvenu, Implement custom headers for mail filter and search.
git-svn-id: svn://10.0.0.236/trunk@105050 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:27:06 +00:00
bienvenu%netscape.com
b2755185b6 fix losing read state of news messages r=naving, sr=sspitzer 103824
git-svn-id: svn://10.0.0.236/trunk@105049 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:25:07 +00:00
sspitzer%netscape.com
fe7e1c8d6b remove unneeded crud. rs=bienvenu
git-svn-id: svn://10.0.0.236/trunk@105048 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:23:15 +00:00
vidur%netscape.com
6826c877d9 Renaming wspProxy.cpp to wspproxy.cpp. This is not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@105047 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 18:40:07 +00:00
vidur%netscape.com
4db032e56c Renaming wspProxy.cpp to wspproxy.cpp. Adding wspcomplextypewrapper.cpp. This is not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@105045 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 18:32:45 +00:00
despotdaemon%netscape.com
c6ceff428c Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@105044 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 18:03:51 +00:00
despotdaemon%netscape.com
3360105bf4 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@105043 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 17:57:31 +00:00
ian.mcgreer%sun.com
fabb0cab0e add AES test to QA
git-svn-id: svn://10.0.0.236/trunk@105042 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 17:40:03 +00:00
ian.mcgreer%sun.com
74c5238ac6 fix AES self-test
git-svn-id: svn://10.0.0.236/trunk@105041 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 17:39:49 +00:00
sonja.mirtitsch%sun.com
96e74ae50c bugfixed for jssqa
git-svn-id: svn://10.0.0.236/trunk@105040 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 17:14:31 +00:00
kestes%walrus.com
93bb9a08d1 better name for default log file
git-svn-id: svn://10.0.0.236/trunk@105039 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 15:09:06 +00:00
kestes%walrus.com
81190c7020 fix broken usage for process_builds. allow usage to be viewed even if
security tests not passed.


git-svn-id: svn://10.0.0.236/trunk@105038 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 15:08:24 +00:00
kestes%walrus.com
b3838d299e typo in new BT_NAME parameter, did not get default from TinderboxConfig
git-svn-id: svn://10.0.0.236/trunk@105037 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 15:07:41 +00:00
kestes%walrus.com
72832b000c allow usage page to be viewed withhout passing security checks.
git-svn-id: svn://10.0.0.236/trunk@105036 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 15:06:48 +00:00
bienvenu%netscape.com
907307dace fix leak of boxes r=waterson, sr=sspitzer 103846
git-svn-id: svn://10.0.0.236/trunk@105035 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 14:49:59 +00:00
blizzard%redhat.com
ce7043fd0e Bump serial for the next release. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@105034 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 14:34:04 +00:00
pinkerton%netscape.com
9426875000 unregister event handler when menu goes away. that way, if the menu is still in a visible menubar, we don't crash trying to build content off a dead listener. r=sdagley/sr=sfraser/a=jaime. bug#103935
git-svn-id: svn://10.0.0.236/trunk@105033 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 14:20:18 +00:00
locka%iol.ie
862592fa11 NOT PART OF BUILD. Fixed makefile.win to work with new REQUIRES feature & generate an error when MOZ_PLUGINSDK is undefined. Changed legacy plugin to parse CLSIDs properly.
git-svn-id: svn://10.0.0.236/trunk@105032 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 14:07:23 +00:00
morse%netscape.com
801594cc00 bug 103641, wrong item deleted from form-manager list, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105031 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 13:55:29 +00:00
jake%acutex.net
58d1809148 Fix for bug 65164 - Bugzilla wasn't sending </html> at the end of its pages.
Patch by Christian Reis <kiko@async.com.br>
r= gerv@mozilla.org, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@105030 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 13:26:28 +00:00
sspitzer%netscape.com
7ebb5789c4 remove unused code, now that we use playSystemSound(). (see #64462)
rs=bienvenu


git-svn-id: svn://10.0.0.236/trunk@105028 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 08:40:22 +00:00
sspitzer%netscape.com
d92efa4fc5 fix for #64462. play OS specified sound when new mail arrives.
r=pavlov, sr=bienvenu.  right now, this only works on windows.
mac is next.  for linux (and the other platforms), we currently beep.
if there isn't an OS specified sound, we'll play the pre-packaged
sound that mailnews will eventually ship with.


git-svn-id: svn://10.0.0.236/trunk@105027 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 08:08:22 +00:00
jaggernaut%netscape.com
386b4306b6 We'll want support for IsVoid and SetIsVoid on nsACString too. r=jst,dbaron, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@105026 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 07:51:16 +00:00
jaggernaut%netscape.com
5e4f75c9bf Bug 81444: Remove deprecated null_nsCOMPtr(), r=mozbot, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@105025 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 07:51:08 +00:00
loadrunner%betak.net
9979dec446 bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av,peterl, sr=waterson, removing unused nsHTMLUtils.* files resulting from repository copy
git-svn-id: svn://10.0.0.236/trunk@105023 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 07:17:33 +00:00
loadrunner%betak.net
c2bfafcdb7 bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av,peterl, sr=waterson, removing unused nsHTMLUtils files resulting from the repository copy
git-svn-id: svn://10.0.0.236/trunk@105022 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 07:15:14 +00:00
rginda%netscape.com
ba85c932f4 bug 103804, "Venkman doesn't like stopping in timeouts", r=jband, sr=shaver
move from setTimeout to the new enterNestedEventLoop callback
some strict mode changes
fix file/line regexps


git-svn-id: svn://10.0.0.236/trunk@105020 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 06:38:25 +00:00
justdave%syndicomm.com
fce2fb023a partial backout of the checkin from bug 103121, because it collided with the patch from bug 51519. This should satifactorily
meet the goals of both patches.  patch by kiko, r= justdave


git-svn-id: svn://10.0.0.236/trunk@105019 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 06:36:45 +00:00
rginda%netscape.com
af63e55a40 bug 103804, "Venkman doesn't like stopping in timeouts", r=jband, sr=shaver
add callback to the enterNestedEventLoop method


git-svn-id: svn://10.0.0.236/trunk@105018 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 06:35:46 +00:00
dbaron%fas.harvard.edu
5c44476f4d Add xptcinvoke code for gcc 3.0 on Solaris. This is just a heavily modified version of xptcinvoke_asm_sparc_solaris_GCC.s . Not yet part of the build. b=71627
git-svn-id: svn://10.0.0.236/trunk@105017 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 06:29:28 +00:00
dbaron%fas.harvard.edu
1399c2e2d6 Reduce construction of (expensive) nsAutoString objects at performance hotspots. r=jag sr=waterson b=102756
git-svn-id: svn://10.0.0.236/trunk@105013 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 05:00:36 +00:00
timeless%mac.com
c4b339df8f Bugzilla Bug 103121 editusers.cgi needs an Add link on the query page.
patch by dkl. r=kiko


git-svn-id: svn://10.0.0.236/trunk@105012 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 04:57:30 +00:00
timeless%mac.com
c21ee7ffe6 Bugzilla Bug 97185 make_select should add a newline after each option
patch by kiko. r=zach, gerv


git-svn-id: svn://10.0.0.236/trunk@105011 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 04:52:09 +00:00
cmanske%netscape.com
a08be9d9e9 Fixed spelling of 'menuItem' as part of bug 101750, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@105010 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 04:47:44 +00:00
timeless%mac.com
978145c42f Bugzilla Bug 51521 Broken HTML on user permissions page
patchwork by john.beranek@pace.co.uk and kiko. r=zach, kiko, gerv


git-svn-id: svn://10.0.0.236/trunk@105009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 04:47:17 +00:00
dbaron%fas.harvard.edu
546b360388 Parser still depends on cache. Fixing bustage. b=100895
git-svn-id: svn://10.0.0.236/trunk@105008 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 04:42:51 +00:00
jaggernaut%netscape.com
32e031b5e4 Bug 103548: Unicode chars in chrome properties must be four digits. Patch by Lynggaard@netscape.net (Henrik Lynggaard Hansen), r=lordpixel@mac.com, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105007 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 04:36:22 +00:00
alecf%netscape.com
70a0f7b3ce fix for bug 100895, contributed by jonsmirl@mediaone.net
r=harishd, sr=alecf
slam dunk those dependencies!


git-svn-id: svn://10.0.0.236/trunk@105004 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 04:13:16 +00:00
mkaply%us.ibm.com
09e7b0a759 #80802
r=mkaply, sr=jband
Code from jst - this patch allows Java applets that are in OBJECT and EMBED tags to use LiveConnect - hurrah!
Diff looks more complicated then it is - the change is to make nsHTMLPluginObjElementSH
inherit nsHTMLAppletElementSH, and nsHTMLPluginObjElementSH::GetPluginJSObject()
call the inherited GetPluginJSObject()


git-svn-id: svn://10.0.0.236/trunk@105002 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 04:04:21 +00:00
stephend%netscape.com
c2ebc3c8c2 Bug 101110. Go and Search buttons don't match style-wise. Patch by Bradley Hart <bhart00@yahoo.com> r=andreww@netscape.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105000 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 03:38:56 +00:00
waterson%netscape.com
3edd4d2cf9 Mmm, more types.
git-svn-id: svn://10.0.0.236/trunk@104999 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 03:32:41 +00:00
sfraser%netscape.com
80215e24fe Fix bug 101947 -- return NS_ERROR_ABORT when the user cancels the print dialog. r=sdagley, sr=floppymoose
git-svn-id: svn://10.0.0.236/trunk@104996 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 02:23:34 +00:00
jband%netscape.com
417f165d0a not part of build. Fix line endings
git-svn-id: svn://10.0.0.236/trunk@104995 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 02:13:25 +00:00
brendan%mozilla.org
22df31be87 Turn on FastLoad by default (68045, r=hyatt, sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@104994 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 02:10:17 +00:00
nicolson%netscape.com
7c9beb39ed Fix 103976: libjss is built with -taso flag
git-svn-id: svn://10.0.0.236/trunk@104991 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:34:53 +00:00
pschwartau%netscape.com
2f7d0e0923 Initial add. Regression test for bug 102725.
git-svn-id: svn://10.0.0.236/trunk@104989 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:32:28 +00:00
nicolson%netscape.com
1f361d9bec Fix 103977: JSS calls non-portable snprintf
Replace snprintf() with PR_snprintf().


git-svn-id: svn://10.0.0.236/trunk@104988 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:31:40 +00:00
sonja.mirtitsch%sun.com
28da995943 additions for JSS sanity check
git-svn-id: svn://10.0.0.236/trunk@104986 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:12:42 +00:00
ssu%netscape.com
b5e333457a need to disable a call to updateMapi() because mapi has not landed on trunk yet. If this is not done, win32 installer will fail to complete when run.
git-svn-id: svn://10.0.0.236/trunk@104985 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:11:40 +00:00
evaughan%netscape.com
c9a29c160e Grid changes. NOT IN BUILD
git-svn-id: svn://10.0.0.236/trunk@104984 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:07:45 +00:00
nelsonb%netscape.com
12d9c6ab3d Use new assembly language multiply code contributed by Richard C. Swift.
git-svn-id: svn://10.0.0.236/trunk@104983 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:05:02 +00:00
ssu%netscape.com
25fe6d0338 fixing bug 103232 - Changes the function pointer reference name (that the installer looks for in Mapi32.dll) from MAPIGetVersion() to GetMapiDllVersion(); also fixes mail.xpi to update mapi32.dll when appropriate. r=curt, sr=dveditz. affects windows platforms only
git-svn-id: svn://10.0.0.236/trunk@104982 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 01:03:42 +00:00
kaie%netscape.com
8034cb411e b=102289 r=valeski sr=alecf
Changing UI text strings


git-svn-id: svn://10.0.0.236/trunk@104981 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:55:41 +00:00
ftang%netscape.com
6032454849 fix bug 95554. r=bstell, sr=sfraser. implement the nsFontEnumeratorMac::HaveFontFor
git-svn-id: svn://10.0.0.236/trunk@104978 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:47:54 +00:00
mscott%netscape.com
af60663568 Bug #96784 --> avoid infinite recursion in the bin hex decoder when the data fork gives us back
macbinhex content as the content type.
sr=darin/sspitzer


git-svn-id: svn://10.0.0.236/trunk@104976 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:37:29 +00:00
ftang%netscape.com
e4e1c365e1 fix bug 101852. r=alecf, sr=darin/brendan. add PRUnichar* base IsAscii routines
git-svn-id: svn://10.0.0.236/trunk@104975 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:27:51 +00:00
ssu%netscape.com
9d4cc9f511 fixing bug 103939 - add new key, [JRE LIB PATH], to native win32 installer. r=curt, sr=dveditz. affects windows platforms only.
git-svn-id: svn://10.0.0.236/trunk@104973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:24:20 +00:00
bzbarsky%mit.edu
0d0ca5eeac Make changes to clip property trigger a reflow change, not just a visual
change.  Bug 88653, r=pierre, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@104972 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 00:21:02 +00:00
vidur%netscape.com
071b47cb42 Work-in-progress checkin of web services proxy implementation. New files.
git-svn-id: svn://10.0.0.236/trunk@104968 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:54:51 +00:00
nelsonb%netscape.com
09d10cfe84 Build mpi with new file mpvalpha.c.
Contributed by Richard C. Swift (swift@netscape.com)


git-svn-id: svn://10.0.0.236/trunk@104967 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:51:36 +00:00
nelsonb%netscape.com
4f7573176d The Original Code is Multiple Precision Integer optimization code for
the Compaq Alpha processor.
The Initial Developer of the Original Code is Richard C. Swift.
Portions created by the Initial Developer are Copyright (C) 2001
the Initial Developer. All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@104966 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:47:59 +00:00
alecf%netscape.com
2edf6ab589 oops, fix a typo in #if 0'ed out code
git-svn-id: svn://10.0.0.236/trunk@104965 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:43:25 +00:00
jband%netscape.com
61ab7b9603 NOT PART OF BUILD. bug 44675. bug 98209. New files
git-svn-id: svn://10.0.0.236/trunk@104964 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:42:22 +00:00
alecf%netscape.com
5b68bdd9ff add 2nd operator() to prepare for future FindInReadable work in bug 100214
not part of build


git-svn-id: svn://10.0.0.236/trunk@104963 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:41:57 +00:00
sspitzer%netscape.com
17d77ac35a fix for #19254. propagate unread state of subfolders to parents if the parent is closed.
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104962 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:40:23 +00:00
sgehani%netscape.com
dc75a8e83c Make OK button label all uppercase.
b = 102892
r = ssu
sr = dveditz


git-svn-id: svn://10.0.0.236/trunk@104961 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:31:52 +00:00
pschwartau%netscape.com
b4897cb1aa Skip this test for now. Currently uses the non-EMCA 'it' object of SpiderMonkey.
git-svn-id: svn://10.0.0.236/trunk@104960 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:28:21 +00:00
pschwartau%netscape.com
a44267bb21 Initial add. Regression test for bug 99663.
git-svn-id: svn://10.0.0.236/trunk@104958 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:12:16 +00:00
mkaply%us.ibm.com
52968f04e9 #102657
r=law, sr=blake
Remove unnecessary platform #ifdefs so any platform can turn on turbo mode


git-svn-id: svn://10.0.0.236/trunk@104957 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:09:49 +00:00
darin%netscape.com
3a6ee3eac2 fixes build bustage on HP-UX (requires a newline at the end of a source file)
git-svn-id: svn://10.0.0.236/trunk@104956 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:06:03 +00:00
rginda%netscape.com
d3d3631bcb - venkman only -
bug 102279, "Exception debug output URLs contain a comma"
surround urls in <angle-brackets> to help the munger pick them out.


git-svn-id: svn://10.0.0.236/trunk@104955 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 23:00:36 +00:00
rginda%netscape.com
8376b3a5e9 - venkman only -
comment fix, make source line column wider


git-svn-id: svn://10.0.0.236/trunk@104954 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 22:57:01 +00:00
rginda%netscape.com
6e0f4a7823 - venkman only -
strict mode fixes, invalidate outliner on soft scroll if we don't actually have to scroll.


git-svn-id: svn://10.0.0.236/trunk@104953 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 22:55:39 +00:00
rginda%netscape.com
e046eb5a40 bug 100679, "File view scrolls by itself", sr=shaver,r=venkman
report correct insertion points to the outliner when new records are added
also some strict mode fixes


git-svn-id: svn://10.0.0.236/trunk@104952 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 22:53:59 +00:00
ducarroz%netscape.com
2d053f3654 Fix for bug 90028. During a forward, we need to put back the "Re:" in the subject if the flag MSG_FLAG_HAS_RE is set. Patch provided by Denis Antrushin <adu@sparc.spb.su>. R=ducarroz, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@104951 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 22:48:32 +00:00
jgaunt%netscape.com
9aba679d3d Fix bustage on Linux on ports page and the coming bustage on the main linux pages. for bug 102777
git-svn-id: svn://10.0.0.236/trunk@104950 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 22:30:06 +00:00
waterson%netscape.com
dead4960c4 More types!
git-svn-id: svn://10.0.0.236/trunk@104947 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:58:41 +00:00
jgaunt%netscape.com
684ececbbf bug 102777 factoring of a8e code into seperate HTML and XUL files, and new impl for GetAccName for XUL a11y widgets
r=aaronl
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@104946 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:53:46 +00:00
jgaunt%netscape.com
46fef2beee bug 102777 -- factoring of a8e code into XUL and HTML specific files and new impl for GetAccName for XUL a11y widgets
r=aaronl
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@104945 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:52:36 +00:00
rginda%netscape.com
b285e0a763 bug 103831, r=cls, sr=jband
remove java stubs


git-svn-id: svn://10.0.0.236/trunk@104943 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:43:15 +00:00
wtc%netscape.com
ceab2f68cd Fix a compiler warning (comparision between signed and unsigned). The
return value of strlen() is size_t.


git-svn-id: svn://10.0.0.236/trunk@104942 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:23:11 +00:00
eddyk%netscape.com
cf08e93f77 bug 103181: disable code in AccountManager regression
More stuff for eClient disable code.
r=bhuvan, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@104940 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:04:12 +00:00
evaughan%netscape.com
6469651621 1) Fixes box parent point bug
2) Exposes code to allow new grid landing

bug# 77357
-r hyatt -sr waterson


git-svn-id: svn://10.0.0.236/trunk@104939 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 21:02:29 +00:00
nicolson%netscape.com
5ea757b0f5 Fix 103893: nickname is not NULL-terminated.
git-svn-id: svn://10.0.0.236/trunk@104937 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 20:52:22 +00:00
radha%netscape.com
59d2c1e453 fix for bug # 99305. 'Back is overjumping pages'. Expired subframes cause
error in behavior of back/forward buttons. r=valeski sr=darin


git-svn-id: svn://10.0.0.236/trunk@104936 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 20:51:38 +00:00
cmanske%netscape.com
aca039bd99 Fixed using '(', ')', and '|' as delimeters when creating table from selection, b=101783, r=timeless, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104935 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 20:39:03 +00:00
cmanske%netscape.com
b1168beb96 Fixed wrong strings for TARGET attribute values, b=88879, r=timeless, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104934 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 20:34:47 +00:00
matt%netscape.com
c70e0bddb2 Fix for bug 103415. Search tab is not getting updated. r=sgehani sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104933 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 20:26:56 +00:00
nhotta%netscape.com
8be8fe43bf In mail compose, notify charset change to editor when a charset is changed, bug 103282, r=ducarroz, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@104932 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 20:15:23 +00:00
kestes%walrus.com
8bd139a7f1 wrong format string. I keep using %e instead of %d this puts spaces
in the VERSION number which is not allowed.


git-svn-id: svn://10.0.0.236/trunk@104930 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:45:09 +00:00
morse%netscape.com
0c5c393816 bug 101637, expire master password after each time it is used, r=law, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104929 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:32:04 +00:00
kin%netscape.com
64ed342437 Fix for bug 88024: Down arrow key creates fake line break at the end of a TEXTAREA
Modified CompleteMove() to prevent selection from being placed
after the last BR in the content tree.

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


git-svn-id: svn://10.0.0.236/trunk@104928 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:29:00 +00:00
beard%netscape.com
9031e4f091 [not part of build] An assortment of glue functions for calling Core Graphics (Quartz) on Mac OS X.
git-svn-id: svn://10.0.0.236/trunk@104927 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:27:35 +00:00
cavin%netscape.com
9edb58cc08 Bug #14295: (1) Add 'realHostName' and 'realUsername' to nsIMsgIncomingServer and reflect them
in prefs (ex: mail.server.server1.realHostName). (2) The getters for the new attributes call
GetHostName() and GetUsername() if prefs is not set. (3) Change GetHostName() and GetUsername()
to GetRealHostName() and GetRealUsername() at places where we open connections or send the
username to servers. (4) Prevent users from changing an account to one that already exists.
(5) After the change is validated, close all open connections and clear all stored passwords,
plus modify the account name based on the new user/server name. r=ssiptzer, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@104925 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:20:31 +00:00
jake%acutex.net
5a2be9a074 It's also possible to PROCESS another attachment fragment, not just INCLUDE.
No review needed for tests at this time. NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@104924 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:14:59 +00:00
dbradley%netscape.com
e8297e7cfa bug 102750 - Can't call JSIID.equals from web content. r=mstoltz, sr=jband
git-svn-id: svn://10.0.0.236/trunk@104923 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 18:54:37 +00:00
morse%netscape.com
10e2829f6e bug 96261, crash in 64-bit os, r=matt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104922 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 18:43:45 +00:00
danm%netscape.com
342021a355 SetSizeMode() no longer makes the faulty assumption that the window is being maximized. bug 101332 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@104921 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 18:37:37 +00:00
ducarroz%netscape.com
bfe250c906 Fix for bug 55591. UNC files need to be treated as remote attachment and not local. R=varada, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@104920 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 18:23:06 +00:00
shrutiv%netscape.com
37269b4a29 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@104919 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 18:20:40 +00:00
waterson%netscape.com
51affc4cd6 Update types for code drift.
git-svn-id: svn://10.0.0.236/trunk@104918 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 17:11:25 +00:00
kestes%walrus.com
64d70cc625 add new features.
git-svn-id: svn://10.0.0.236/trunk@104917 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 15:52:43 +00:00
kestes%walrus.com
287b31b949 remove the colons from the tar file name. This was a bad idea because the
colons mean something special to tar.


git-svn-id: svn://10.0.0.236/trunk@104916 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 15:51:35 +00:00
kestes%walrus.com
0acae016c7 clarify the build states.
git-svn-id: svn://10.0.0.236/trunk@104915 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 15:38:27 +00:00
kestes%walrus.com
564b5f12fc make BT and VC column heading configurable.
git-svn-id: svn://10.0.0.236/trunk@104914 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 15:30:16 +00:00
pinkerton%netscape.com
f4e456d1eb rewrite to use IC service, not direct calls to IC. r=ccarlen/sr=sfraser. bug#97333.
git-svn-id: svn://10.0.0.236/trunk@104913 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 14:26:18 +00:00
wtc%netscape.com
e20398cb4f A better way to fix compiler warnings (signed/unsigned comparison) that
looks closer to the original code.


git-svn-id: svn://10.0.0.236/trunk@104909 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 13:58:29 +00:00
loadrunner%betak.net
24b2d56b7e bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104907 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 10:15:06 +00:00
glazman%netscape.com
31f862f14e Make html alignment in Composer use the align attribute and get rid of a lot of useless divs; b=102135, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104906 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 10:00:33 +00:00
stephend%netscape.com
7130b29870 Bug 92457. Plugins page refers to 'Netcenter', but should read, 'Netscape.com'. r=av@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104905 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 07:10:20 +00:00
sspitzer%netscape.com
1dbd097395 fix for #73853. allow the user to post news message when there isn't a msg window
around. r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104904 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 06:57:48 +00:00
sspitzer%netscape.com
3cbfbe57f7 fix for #92393 and #91421. "Get Message" menu item and toolbar button disable
when they shouldn't.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104903 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 06:36:30 +00:00
sfraser%netscape.com
8061f838ef Fix bug 103031 -- don't put the top-left of the structure region into event.where before passing it off to raptor, because this might actually be outside of that window (like on X when windows have rounded corners). Instead, offset event.where by the amount that the window was moved. r=sdagley, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@104902 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 06:02:08 +00:00
sspitzer%netscape.com
70c017ecc1 fix for #49157. support nntp://host/message-id urls (we already support
news://host/message-id urls).  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104901 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 06:01:16 +00:00
rpotts%netscape.com
679b4ff424 bug #102774 (r=jst@netscape.com, sr=vidur@netscape.com). location.reload(true) did not cause the cache to be bypassed.
git-svn-id: svn://10.0.0.236/trunk@104900 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 05:02:25 +00:00
darin%netscape.com
01cbb09589 backing out unnecessary now-obsolete hack for bug 89191 r=peterl, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@104899 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 04:59:03 +00:00
morse%netscape.com
756fe65710 bug 103467, fields with default values do not get prefilled by password manager, r=law, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104897 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 03:39:59 +00:00
bienvenu%netscape.com
9fcf1a5bc2 fix string leak in GetWindowsFolder r=dougt sr=sspitzer 103779
git-svn-id: svn://10.0.0.236/trunk@104895 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 03:30:12 +00:00
stephend%netscape.com
e488c02d13 Removing extra space in a declaration for the last bug (nsSidebar.js). Previously had r=me/sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104894 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 03:27:53 +00:00
stephend%netscape.com
566823cb06 Bug 78485. Javascript strict warnings. Patch by Christoper Aillon <caillon@returnzero.com> r=me, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@104893 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 03:16:31 +00:00
sspitzer%netscape.com
f77b046e74 fix for #56419. implement the "Go To Message Folder" feature from search.
r/sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@104892 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 03:05:18 +00:00
sfraser%netscape.com
83c130f034 Fix for 100353 -- handle polling for read and write on different threads, and properly deal with sending to a socket that has flow control restrictions. Fixes a problem saving to IMAP server sent messages with attachments. r=gordon, wtc.
git-svn-id: svn://10.0.0.236/trunk@104889 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 02:16:47 +00:00
curt%scruznet.com
140e1a051e Simple MAPI setting in win.ini.
git-svn-id: svn://10.0.0.236/trunk@104887 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 01:20:29 +00:00
pavlov%netscape.com
770e4bed36 build xptcinvoke_*_mips.* on linux/mips r=pavlov sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104885 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 01:01:48 +00:00
heikki%netscape.com
1be797d300 Backing out the double uconv.
git-svn-id: svn://10.0.0.236/trunk@104884 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 00:56:07 +00:00
nboyd%atg.com
dd5e8ac9bc Fix name of function in error message
git-svn-id: svn://10.0.0.236/trunk@104883 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 00:54:49 +00:00
loadrunner%betak.net
05e2e4e74f fixing bustage (will backout my changes if it doesn't help)
git-svn-id: svn://10.0.0.236/trunk@104882 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 00:50:34 +00:00
heikki%netscape.com
375a4c4f6c Trying to fix build bustage by adding requires.
git-svn-id: svn://10.0.0.236/trunk@104881 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 00:48:52 +00:00
loadrunner%betak.net
6d5c23c55c bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104880 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 00:34:52 +00:00
loadrunner%betak.net
99a070cba5 bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104873 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 00:12:15 +00:00
pschwartau%netscape.com
74f9eaca55 Warning fixes
git-svn-id: svn://10.0.0.236/trunk@104872 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 00:08:31 +00:00
rogerl%netscape.com
2438cfbd9c Added enumerable handling, === operator. Fixed try/catch across interpreter
loop invocations, other sundry ecma test suite fixes.


git-svn-id: svn://10.0.0.236/trunk@104871 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 23:57:01 +00:00
hyatt%netscape.com
fba2b95cb8 Backing out changes to commonDialog.xul. That checkin was unintentional.
git-svn-id: svn://10.0.0.236/trunk@104870 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 23:50:29 +00:00
hyatt%netscape.com
be27d915b3 Fix for initial focus problems with dialog binding, bug #103739, r=aaronl, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104869 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 23:49:45 +00:00
nhotta%netscape.com
4701d098c0 Remove nsHTMLUtils.cpp from the project, bug 88155.
git-svn-id: svn://10.0.0.236/trunk@104868 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 23:44:21 +00:00
nhotta%netscape.com
7f2a9a862d Add nsHTMLUtils.cpp to the project, bug 88155.
git-svn-id: svn://10.0.0.236/trunk@104867 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 23:43:58 +00:00
loadrunner%betak.net
d19be317eb bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104866 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 23:42:40 +00:00
wtc%netscape.com
d538d9a510 Fixed the comment about the updateEOF member of HTAB. The update_EOF()
function is not "closing and reopening the file".


git-svn-id: svn://10.0.0.236/trunk@104862 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 23:19:33 +00:00
peterlubczynski%netscape.com
54bd44bcff Fix for topcrash on UNIX where the ProxyJNI is broken with the JRE after a plugins.refresh(). bug 86591 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@104860 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 23:00:58 +00:00
beard%netscape.com
e130958c83 Fix for bug #103431, r=peterl, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@104858 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:58:59 +00:00
leaf%mozilla.org
8aaf861b8c bug 103022, update mac version string. code from lpham@netscape.com, r=granrose, sr=leaf
git-svn-id: svn://10.0.0.236/trunk@104857 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:58:31 +00:00
leaf%mozilla.org
87ce476f35 bug 103025, update version string for windows installers. code from kysmith, r=leaf
git-svn-id: svn://10.0.0.236/trunk@104856 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:47:53 +00:00
dougt%netscape.com
5e324a95a2 removes a printf. r=syd
git-svn-id: svn://10.0.0.236/trunk@104855 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:45:01 +00:00
jst%netscape.com
a96b426739 Truncate the output string in nsNodeInfo::GetQualifiedName() before appending to it. r=jag, sr=me
git-svn-id: svn://10.0.0.236/trunk@104852 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:37:23 +00:00
dougt%netscape.com
343316c034 fixes 89097. Adds pref observer to IOService. r=me, sr=darin, patch submitted by tingley@sundell.net
git-svn-id: svn://10.0.0.236/trunk@104851 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:27:14 +00:00
bienvenu%netscape.com
fdc4ac64e7 fix 10K leak when filtering multiple pop message r=naving, sr=sspitzer 103614
git-svn-id: svn://10.0.0.236/trunk@104850 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:26:02 +00:00
bienvenu%netscape.com
92365e784c fix leak of password in biff, sr=sspitzer, r=naving 103676
git-svn-id: svn://10.0.0.236/trunk@104848 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:24:13 +00:00
bienvenu%netscape.com
b6a9f1e8dc fix 103701 leak of url spec when loading local message rs=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104847 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:23:44 +00:00
jaggernaut%netscape.com
8e484aa8db Bug 102461: Workaround for bug 93771 causes hang in Xprint module, patch by gisburn, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@104846 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:23:08 +00:00
darin%netscape.com
d4b57cd06e fixes bug 103043 "nsSocketTransport should only fire OnStatus when status
changes" r=bbaetz, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@104845 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:17:25 +00:00
alecf%netscape.com
2458e6955e #if 0 out some other code which will be turned on later
not part of build, will be reviewed for bug 100214


git-svn-id: svn://10.0.0.236/trunk@104844 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:16:22 +00:00
andreww%netscape.com
09e0149c5b 103165 r=pink sr=fraser personal toolbar buttons turn dark grey on click in mac classic
git-svn-id: svn://10.0.0.236/trunk@104843 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:08:23 +00:00
andreww%netscape.com
e2db11d112 103233 r=adamlock sr=sraser global.css lists window 2x and forgot wizard. correcting.
git-svn-id: svn://10.0.0.236/trunk@104842 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:06:47 +00:00
andreww%netscape.com
d2ab3cef2e 101824 r=gerv sr=hewitt double entry in jar.mn file. mac classic
git-svn-id: svn://10.0.0.236/trunk@104841 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:04:14 +00:00
andreww%netscape.com
3cbf9638ed 94048 sr=sfraser r=shliang mac classic max width on menu items.
git-svn-id: svn://10.0.0.236/trunk@104840 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:02:58 +00:00
andreww%netscape.com
b95c19f5a4 corrected bug reference: 53826 sr=hewitt r=sfraser mac classic wizards need padding.
git-svn-id: svn://10.0.0.236/trunk@104839 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:01:28 +00:00
andreww%netscape.com
a87ed3449e 103165 r=pink sr=fraser mac classic wizards need padding.
git-svn-id: svn://10.0.0.236/trunk@104838 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:59:43 +00:00
alecf%netscape.com
3d4bffabed more updates for bug 100214:
- #if 0 out nsUnicharUtils.h
- implement case insensitive string compare
- add nsUnicharUtils.h to mac build
(none of this actually part of the build)


git-svn-id: svn://10.0.0.236/trunk@104837 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:59:13 +00:00
alexsavulov%netscape.com
ba9ff4582a fix for bug 45621 - added MarkDirty for procentage child in case of nowrap
blocks, consolidated the logic in nsBlockFrame::PrepareResizeReflow
sr= attinasi, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@104835 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:51:48 +00:00
heikki%netscape.com
c883dddafc Bug 103250, attempting to fix topcrasher with a null check. Crash happens when you select text while page loading. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@104834 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:51:43 +00:00
alexsavulov%netscape.com
71d8a41905 regression testcase for bugzilla bug 45621 (not affecting the build)
git-svn-id: svn://10.0.0.236/trunk@104833 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:46:07 +00:00
alexsavulov%netscape.com
1a8d03ea81 testcase or bugzilla bug 45621 (not affecting the build)
git-svn-id: svn://10.0.0.236/trunk@104832 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:40:58 +00:00
leaf%mozilla.org
5a505cd326 updating user agent to reflect new version, code from kysmith, r=leaf
git-svn-id: svn://10.0.0.236/trunk@104830 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:37:51 +00:00
ssu%netscape.com
b34916e84c fixing bug 103228 - Fix xpinstall engine so InstallTrigger.compareVersion() works. r=syd, sr=dveditz.
git-svn-id: svn://10.0.0.236/trunk@104829 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:24:19 +00:00
dbaron%fas.harvard.edu
4f32154297 Fix leak of string. b=102996 r=jag sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@104828 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:10:20 +00:00
ssu%netscape.com
eb1cd715e4 fixing bug 103242 - component-specific timing dependency sections don't get run. r=ssu, sr=dveditz. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@104827 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:01:34 +00:00
sspitzer%netscape.com
d76b84fae5 fix for #60139 and #72821. implement proper next folder navigation.
now we should find the right "next" folder when you hit next and there
are no more unread messages in the current folder.  we respect the folder
pane sort order for determining what's next, which is what's "below" in the folder pane.

r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104826 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:56:52 +00:00
evaughan%netscape.com
05ef81da5d Adding new grid code to cvs. NOT IN BUILD.
git-svn-id: svn://10.0.0.236/trunk@104825 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:37:56 +00:00
seawood%netscape.com
d4ba13c5fc Add $(INCLUDES) to $(host) rules to fix cross-compiling bustage.
Bug #59454


git-svn-id: svn://10.0.0.236/trunk@104824 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:36:44 +00:00
kestes%walrus.com
d29f068320 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@104823 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:36:41 +00:00
morse%netscape.com
a887c45685 bug 102288, remove app-specific wording from dialog, r=valeski, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104822 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:31:59 +00:00
kestes%walrus.com
3509bb13a0 more discriptions of what program does.
git-svn-id: svn://10.0.0.236/trunk@104821 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:25:52 +00:00
sdagley%netscape.com
5076983a17 Updating fix for #103612 from v1.14 after comments from pinkerton & sfraser. r=pinkerton,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104820 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:20:57 +00:00
ian.mcgreer%sun.com
51f51d580d make this module buildable using NSS 3.x headers; some cleanup
git-svn-id: svn://10.0.0.236/trunk@104819 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:19:30 +00:00
kmcclusk%netscape.com
6ba391829f Pass back an error when allocating offscreen fails on GTK. bug=70424 r=pavlov@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104818 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:17:26 +00:00
sspitzer%netscape.com
c507d59676 fix string usage in mailnews. #103412. rs=bienvenu
git-svn-id: svn://10.0.0.236/trunk@104816 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:10:18 +00:00
locka%iol.ie
8693f97742 Fix removes const keyword from the out param of nsIWebShell::GetURL and fixes a memory leak in viewer when it calls this method. b=102413 r=jaggernaut@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104815 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:08:30 +00:00
rjesup%wgate.com
0eab7b7d6e Bug 103330: Use Assign() instead of SetLength(0); Append(). r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104814 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:07:04 +00:00
sspitzer%netscape.com
00d94a82b5 fix for #103681 (no status messages when doing pop).
back out my bad fix for #102978.  we set the msg window on the folder datasource
and we've got a folder datasource per msg window.  by moving this from js to xul,
it made it so we'd set the msg window on one folder ds, and we'd be using the other one.

r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104813 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:05:00 +00:00
jband%netscape.com
029cf25395 fix bug 103259. Avoid crasher by correctly marking sharedscriptable object so that JSClasses don't get collected prematurely even when wrapper is 'stillborn' and not reflected into JS. r=dbradley sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@104812 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:56:25 +00:00
bryner%netscape.com
2c6b5ae2fd Getting rid of a usage of xp_file.h (bug 38061). r=jkeiser, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@104811 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:55:59 +00:00
bnesse%netscape.com
c95be0de1b Bug 99611, Freeze nsIPrefService, nsIPrefBranch, (and nsIPrefLocalizedString) interfaces. r=dveditz, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@104810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:52:17 +00:00
timeless%mac.com
e6ac72aa4d Bugzilla Bug 103343 Check for IsEmpty before more expensive value check
patch by me and bz, r=morse, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104809 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:48:29 +00:00
rginda%netscape.com
9e5dd4fe59 bug 102785, r=dp, sr=shaver, a=asa
remove venkman startup listener so we don't have to load the dll at startup.
checking into 0.9.5 branch also.


git-svn-id: svn://10.0.0.236/trunk@104808 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:44:35 +00:00
ian.mcgreer%sun.com
b65474fbb3 implement hash keyed by NSSItem; change list method names to be like hash method names; fix 99214, arena mark lists broken
git-svn-id: svn://10.0.0.236/trunk@104806 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:26:02 +00:00
kestes%walrus.com
48bf26a38d better usage discription. Index.html does not list itsself and now
displays sizes.


git-svn-id: svn://10.0.0.236/trunk@104805 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:25:33 +00:00
ian.mcgreer%sun.com
a7f07ef9a6 reuse intermediate multiplication values when decrypting; speeds up decryption in the RIJNDAEL_GENERATE_VALUES case by 60%. (todo: something similar with RIJNDAEL_GENERATE_VALUES_MACRO)
git-svn-id: svn://10.0.0.236/trunk@104804 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 19:06:31 +00:00
jpierre%netscape.com
15289e2464 Fix Linux build
git-svn-id: svn://10.0.0.236/trunk@104803 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 18:49:17 +00:00
jpierre%netscape.com
8422d239af Fix for 81246 - add default storage functions for the PKCS#12 decoder if no callbacks or objects are provided to it. In that case memory storage is automatically used
git-svn-id: svn://10.0.0.236/trunk@104802 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 18:33:04 +00:00
jpierre%netscape.com
8e55af1b91 Fix for 81246 - do not use a temporary /tmp/Pk12uTemp file anymore in pk12util . This is achieved by using new default functions in the PKCS#12 decoder that use memory storage
git-svn-id: svn://10.0.0.236/trunk@104801 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 18:32:00 +00:00
ian.mcgreer%sun.com
96738acb83 self-testing for AES
git-svn-id: svn://10.0.0.236/trunk@104797 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 16:14:04 +00:00
ian.mcgreer%sun.com
2e7fdaccef allow various ways of building AES
git-svn-id: svn://10.0.0.236/trunk@104796 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 16:11:52 +00:00
kin%netscape.com
4f48522594 Make original patch for bug 99920 (hitting enter in any text field submits form without submit button passed as param)
work in OPT builds, by moving QI() call out of NS_ASSERTION macro.

r=rods@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@104795 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 14:07:57 +00:00
ben%netscape.com
24a7c1046e 101131 - Bookmarks Menu on personal toolbar is empty.
Not the best fix but will do for short term. Comments added
detailing proposed better solution.
r=kerz, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@104792 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 12:32:14 +00:00
loadrunner%betak.net
ce6d03c125 bug 97171, startup perf- remove the need of loading of langGroups.properties files at startup time to speed up startup performance, r=ftang, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104791 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 09:02:57 +00:00
hyatt%netscape.com
39a9dc156f Fix for 102598, CTRL+T tabs should focus URL bar after opening. r=kerz, sr=hyatt, patch externally contributed.
git-svn-id: svn://10.0.0.236/trunk@104790 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 07:39:32 +00:00
bryner%netscape.com
7b761d8a36 Removing references to xp_file.h, for bug 38061. Patch from cls, r=bryner, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@104789 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 07:22:27 +00:00
hyatt%netscape.com
437a6cdb76 Fix for 96375, make XBL extends support relative URLs. r=jag, sr=ben
git-svn-id: svn://10.0.0.236/trunk@104788 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 06:29:30 +00:00
sdagley%netscape.com
66d6f135e2 Fix #103612 - work around bug in Mac OS X 10.1 Internet prefs panel when setting DL folder. r=dbaron. I'd wait for an sr= but I need trunk verification on this so I can get PDT approval for checking into the 0.9.4 branch.
git-svn-id: svn://10.0.0.236/trunk@104787 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 04:59:59 +00:00
mkaply%us.ibm.com
c72818832b No bug
r=cls
Since only OS/2 needs rdf in REQUIRES, put it in the OS2 block


git-svn-id: svn://10.0.0.236/trunk@104786 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 04:17:56 +00:00
waterson%netscape.com
cf8fdc8b0a Bug 103372. Add EXPORT_LIBRARY and MODULE_NAME decls. r=cls, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104785 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 04:02:30 +00:00
naving%netscape.com
2d0b47e9a0 99168 r=bienvenu sr=mscott. fix imapUrl leaks on reading imap messages and possibly on other operations
git-svn-id: svn://10.0.0.236/trunk@104783 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 02:43:17 +00:00
bienvenu%netscape.com
cc1ca118da more work on closing db's when changing folders, 95865 rs=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104782 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 02:06:15 +00:00
bienvenu%netscape.com
3d52bb98a3 part of fix for 95685 reduce bloat by closing db if a folder is unselected, r=naving (who did part of this patch), sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104781 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 01:05:58 +00:00
cls%seawood.org
52b9f60b72 Updating config.guess & config.sub with 2001-10-07 changes from the GNU master c
opy at :pserver:anoncvs@subversions.gnu.org:/cvs /config .


git-svn-id: svn://10.0.0.236/trunk@104780 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 23:08:41 +00:00
seawood%netscape.com
258876efd3 Updating config.guess & config.sub with 2001-10-07 changes from the GNU master c
opy at :pserver:anoncvs@subversions.gnu.org:/cvs /config .


git-svn-id: svn://10.0.0.236/trunk@104777 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 23:08:14 +00:00
bbaetz%cs.mcgill.ca
8aec115e62 Bustage fix. Remove trailing whitespace.
git-svn-id: svn://10.0.0.236/trunk@104776 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 20:49:24 +00:00
mkaply%us.ibm.com
35554e1cde OS/2 bustage - we DO need rdf in REQUIRES
git-svn-id: svn://10.0.0.236/trunk@104775 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 19:45:42 +00:00
nboyd%atg.com
581316da9c Fix for problem:
There is a bug in JavaScriptException which prevents it from being used with
out a Rhino Context.  When the getMessage() method is invoked on it, the
exception goes to the ScriptRuntime to toString the value.  If you have
already exited your context, the runtime will throw an error.  The solution
is to simply remove the overridden getMessage method from
JavaScriptException.  JavaScriptException's constructor calls the Exception
constructor with the toString'ed value.  The default implementation of
getMessage will return the exception message.

Jeff


git-svn-id: svn://10.0.0.236/trunk@104772 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 18:44:39 +00:00
nboyd%atg.com
64e89c6e99 Fix for the following problem:
I'm having problems getting inner class objects with Rhino.

I create a Hashmap, which is an implementation of Map. Map.Entry is an
inner interface of Map with key-value pairs. If I have a Map object,
"property", I should be able to get the key element with the expression
"property.key".

When I look at the "property" class name that Rhino returns I get:
"java.util.HashMap$Entry". I don't believe Rhino has a notion of the
inner Map.Entry object. The expression "property" succeeds. The
expression "property.key", which should retrieve the Map.Entry
keyValue(), fails with a "unexpected IllegalAccessException accessing
Java field".

I'm including a simple example that illustrates the problem. I hope you
can shed some light on this. Thanks!

Justyna
< Justyna.Horwat@Sun.com >

----
import java.io.*;
import java.util.*;
import org.mozilla.javascript.*;


public class MapTest {

    public static void main(String argv[]) {
        Test test = new Test();
        test.testMap();
    }
}

class Test {
    Map map;
    Set set;
    Iterator it;
    Map.Entry entry;

    public void testMap() {
System.out.println("testMap");
        map = new HashMap();

        populate();

        set = map.entrySet();
        it = set.iterator();

        // let's see if Map is populated correctly
        while (it.hasNext()) {
            entry = (Map.Entry) it.next();
            System.out.println("entry: " + entry.getClass().getName());
            System.out.println("key: " + entry.getKey());
            System.out.println("value: " + entry.getValue());
        }

        evaluate();
    }

    void populate() {
        map.put("firstKey", "firstValue");
        map.put("secondKey", "secondValue");
        map.put("thirdKey", "thirdValue");
        map.put("fourthKey", "fourthValue");
    }

    public void evaluate() {

        Context cx = Context.enter();
        Scriptable scope = cx.initStandardObjects(null);

        set = map.entrySet();
        it = set.iterator();

        while (it.hasNext()) {
            entry = (Map.Entry) it.next();
            scope.put("property", scope, cx.toObject(entry,scope));
        }

        Object eval = null;

        try {
            // attempt to get Map.Entry key value using Rhino
            eval = cx.evaluateString(scope, "property.key", "", 0,
null);
            // Unwrap scoped object
            if (eval instanceof Wrapper)
                eval = ((Wrapper) eval).unwrap();

        } catch (JavaScriptException jse) {
            System.out.println("EXCEPTION: " + jse.getMessage());
        }

        // DELETE
        System.out.println("RHINO result: " + eval + ":");
        System.out.println("RHINO class: " + eval.getClass().getName());
    }
}


git-svn-id: svn://10.0.0.236/trunk@104769 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 18:42:09 +00:00
pavlov%netscape.com
6befe588de fix for bug 103477 r=jag sr=hyatt (not bug 103536 as previously stated)
git-svn-id: svn://10.0.0.236/trunk@104768 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 18:02:13 +00:00
zach%zachlipton.com
37b58034bd Fix for bug 98074: Attachment manager doesn't html_escape bug titles.
r1=caillon <mailto:caillon@returnzero.com>, r2=Jake
<mailto:jake@acutex.net>


git-svn-id: svn://10.0.0.236/trunk@104767 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 17:50:22 +00:00
pavlov%netscape.com
05d3a42d24 fixing bug 103536. r=jag sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104766 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 17:45:00 +00:00
jband%netscape.com
4663f4729a use nsresult type rather than PRInt32, change param name, add some whitespace. Not part of build
git-svn-id: svn://10.0.0.236/trunk@104765 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 17:24:20 +00:00
jaggernaut%netscape.com
bf7774eb72 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot.
git-svn-id: svn://10.0.0.236/trunk@104764 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:58:39 +00:00
jaggernaut%netscape.com
5bcb5cf396 Clean up REQUIRES lines.
git-svn-id: svn://10.0.0.236/trunk@104763 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:35:41 +00:00
jaggernaut%netscape.com
2f43fa3e5a Bug 97067: focus changes windows when background window finally loads. patch by saari, slightly modified by me, r=jag,ben, sr/rs=hyatt (sr on the original patch)
git-svn-id: svn://10.0.0.236/trunk@104762 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:23:32 +00:00
jaggernaut%netscape.com
ab7b513654 Replace "Error creating browser instance" with more helpful debug messages.
git-svn-id: svn://10.0.0.236/trunk@104761 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 10:05:33 +00:00
hyatt%netscape.com
78e615c6f7 Fix for 78344. r=blake, sr=ben
git-svn-id: svn://10.0.0.236/trunk@104760 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 06:32:36 +00:00
bzbarsky%mit.edu
3f05566481 Make tabs crop title on "end", not in center. Bug 103450, patch from
Andrew <simm0@ii.net>, r=me, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@104759 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 04:26:08 +00:00
seawood%netscape.com
4df25fbe3a Update standalone xpcom build list
git-svn-id: svn://10.0.0.236/trunk@104758 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 04:03:57 +00:00
mkaply%us.ibm.com
a0d39df587 #84548
r=law, sr=blake
Look for 4294967295 as well as -1 with DDE-WWW_Activate to maintain compatibility with 4.x


git-svn-id: svn://10.0.0.236/trunk@104757 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 03:52:40 +00:00
mkaply%us.ibm.com
813f42c962 No bug
r=pedemont, sr=blizzard
OS/2 only - bitmap fonts don't display at all if DPI is neither 96 nor 120


git-svn-id: svn://10.0.0.236/trunk@104756 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 03:48:05 +00:00
bzbarsky%mit.edu
03eeb2e9f4 Fix JS error opening view source. Checking in for timeless
<timeless@mac.com>, r=me, sr=darin


git-svn-id: svn://10.0.0.236/trunk@104753 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 00:51:36 +00:00
hyatt%netscape.com
876bd88124 fix for 101746. r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104752 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 00:19:01 +00:00
jake%acutex.net
351aff7b88 Allow compile tests for files that run in taint mode
No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104751 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 23:22:48 +00:00
stephend%netscape.com
071d73a9e2 Bug 46812. File > Save As... should have A as accesskey, not S. Patch by James Green <jg@cyberstorm.demon.co.uk> r=bzbarsky, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@104750 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 23:11:35 +00:00
stephend%netscape.com
91ffeb3fbc Bug 103458. When typing new profile name, profile path should auto-update. Patch by James Green <jg@cyberstorm.demon.co.uk r=kiko, sr=blake
git-svn-id: svn://10.0.0.236/trunk@104749 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 22:47:48 +00:00
seawood%netscape.com
799084da5c Removing cruft from allmakefiles.sh to stop configure from generating directories that have been cvs removed.
Thanks to Chris Waterson <waterson@netscape.com> for the patch.
bug #103265 r=cls sr=darin


git-svn-id: svn://10.0.0.236/trunk@104748 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 22:26:35 +00:00
jake%acutex.net
1ee80bca07 We also need to look for templates that are INCLUDEd in other templates.
No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104747 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 21:37:22 +00:00
leaf%mozilla.org
51eefb6250 Automated update
git-svn-id: svn://10.0.0.236/trunk@104746 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 20:13:25 +00:00
seawood%netscape.com
7d432b263b Change --enable-modules to --enable-standalone-modules to make it more descript.
Bug #99807 r=jag


git-svn-id: svn://10.0.0.236/trunk@104745 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 20:01:12 +00:00
bbaetz%cs.mcgill.ca
e9b19f48eb Doc type fix, r=kiko
git-svn-id: svn://10.0.0.236/trunk@104741 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 19:04:08 +00:00
jake%acutex.net
80835a0679 Test that scans Bugzilla's code looking for used templates then checks to make sure that:
a) All the required templates exist
 b) They all have good syntax

No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104740 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 18:59:36 +00:00
bzbarsky%mit.edu
05cc80423d Fix parsing of negative (illegal) values of border-spacing, padding, and
others.  Bug 102344, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@104738 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 15:13:23 +00:00
bernd.mielke%snafu.de
32b0792adb Don't start printing when regression test are executed bug 99633 r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@104737 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 14:07:28 +00:00
andreas.otte%primus-online.de
54069551f0 fix bug 32895 [Converting \ to / in urls on windows only (was: RFC 2396 $2.4.3 non-compliance?)] We no longer convert \ to / inside the core urlparser on windows only. Conversion from filepath to url still does. r=dougt@netscape.com sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104736 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 12:08:44 +00:00
seawood%netscape.com
f98fa06492 Skip setting the result of the regxpcom run since AliveTest assume the binary will run forever and regxpcom does not
git-svn-id: svn://10.0.0.236/trunk@104735 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 10:03:46 +00:00
seawood%netscape.com
6a82547cdf Run regxpcom before tests to fix potential bustage caused by contractid changes since we do not autoreg opt builds
git-svn-id: svn://10.0.0.236/trunk@104734 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 09:12:29 +00:00
sspitzer%netscape.com
61062e45c8 fix for #103446. improve folder pane perfomance by not calling
SetPrefFlags() *every time* GetSubFolders() is called.

that's really expensive (we copy all the urls from the identity) and we get
access prefs.  not something we should do when painting.

r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104733 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 08:38:19 +00:00
pavlov%netscape.com
3b6f9233b7 adding null check to fix orangeness.
git-svn-id: svn://10.0.0.236/trunk@104732 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 08:19:44 +00:00
brendan%mozilla.org
8ff485a9c1 Fix bogus return JS_FALSE without error report for empty flat string regexp match/replace (83293, r=rogerl, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@104731 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 08:07:43 +00:00
jaggernaut%netscape.com
075bab9fca Bug 103054: remove dead code: profile/Acct and profile/Acctidl, r=varada.
git-svn-id: svn://10.0.0.236/trunk@104730 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 07:35:22 +00:00
jaggernaut%netscape.com
c5f3324458 Bug 103054: remove dead code: profile/Acct and profile/Acctidl.
git-svn-id: svn://10.0.0.236/trunk@104729 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 07:26:37 +00:00
dbaron%fas.harvard.edu
0c97766f81 Add JP_APPEND option to JPROF_FLAGS for profiling of startup. b=102014 r=jag sr=brendan
git-svn-id: svn://10.0.0.236/trunk@104728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 06:37:41 +00:00
sspitzer%netscape.com
6ea469bcf4 more changes for #103412. fix string usage in mailnews to avoid
unneeded copying, allocation and converting.
also, remove dead code.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104727 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 06:35:32 +00:00
sspitzer%netscape.com
5116445c4e more code cleanup for #103412. avoid unnecessary conversions in the account manager ds.
r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104726 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 05:26:31 +00:00
sspitzer%netscape.com
074a50e105 more code cleanup for #103412. avoid unnecessary conversions, fix warning.
r/sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@104725 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 05:16:25 +00:00
sspitzer%netscape.com
fc40817d30 code cleanup for #103412. better string usage in the mail datasources
to prevent unneeeded allocations and copies.  fix OnItemPropertyFlagChanged()
to check the property first to do as little as possible.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104724 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 05:11:51 +00:00
pavlov%netscape.com
679f5ed1eb fix for bug 92248. r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@104722 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 05:08:42 +00:00
pavlov%netscape.com
38a84b009c fix for bug 92248 r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@104721 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 05:08:16 +00:00
zach%zachlipton.com
b20d770736 Fixing issue where excluded files aren't excluded if they end in .pl or
.cgi.


git-svn-id: svn://10.0.0.236/trunk@104720 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 03:49:06 +00:00
pavlov%netscape.com
09d46c88ee Adding xptcinvoke code for the MIPS O32 ABI. r=pavlov sr=brendan
git-svn-id: svn://10.0.0.236/trunk@104719 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 03:45:29 +00:00
zach%zachlipton.com
a045f6a3ce Don't test importxml.pl since you need XML::Parser which is not required,
creating a false fail.

No review needed for tests. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104718 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 03:25:43 +00:00
bienvenu%netscape.com
a3637d64bb more addressbook leaks r=naving sr=sspitzer 99135 103014 and others
git-svn-id: svn://10.0.0.236/trunk@104717 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 03:13:54 +00:00
bienvenu%netscape.com
fbe0163c23 fix 50K memory leak on certain messages r=ducarroz, sr=sspitzer 103023
git-svn-id: svn://10.0.0.236/trunk@104716 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 02:48:27 +00:00
stephend%netscape.com
88d80633bd Bug 103068. Remove tooltip on label for emoticons pref. r=dean_tessman@hotmail.com, sr=mscott@netscape.com (UI approved by jglick@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@104715 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 02:37:17 +00:00
gerv%gerv.net
19065bb9bb Bug 103223 - Site Nav Bar doesn't check target of load/unload events. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@104713 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 02:28:39 +00:00
gerv%gerv.net
0d39002c6a Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.Bug 103264 - Site Navigation Bar doesn't activate on the startup page. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@104712 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 02:27:28 +00:00
zach%zachlipton.com
ed06973963 Get rid of our which causes errors on 5.005.
No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104711 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 01:23:38 +00:00
leif%netscape.com
deb288ebf0 Bug 102227: Crash in LDAP autocomplete addressing, r=dmose,sr=bienvenu,patch=leif
git-svn-id: svn://10.0.0.236/trunk@104710 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 01:19:14 +00:00
bienvenu%netscape.com
d520b6f829 fix a bunch of mork memory leaks r=naving, sr=sspitzer 99111 21114 and others
git-svn-id: svn://10.0.0.236/trunk@104709 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 01:16:24 +00:00
bienvenu%netscape.com
16deaa32c0 fix leak of all folders table r=naving, sr=sspitzer 103077
git-svn-id: svn://10.0.0.236/trunk@104708 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 01:09:46 +00:00
bienvenu%netscape.com
94d55e1b52 fix memory leak of mdbEnv and m_dbFolderInfo r=naving, sr=sspitzer 103003
git-svn-id: svn://10.0.0.236/trunk@104707 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 01:06:28 +00:00
sspitzer%netscape.com
10c311609d fix for #103037. preflight the message "save as file" dialog with
message.eml, and not "mail".  also move this string to a string bundle
r/sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@104706 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 01:04:32 +00:00
sspitzer%netscape.com
ad6576323b fix for #102978
set up the folder pane datasource in the xul, not in the on load handler.
r=waterson, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104705 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 00:55:39 +00:00
bienvenu%netscape.com
716e3aa7b9 fix UMR r=naving, sr=sspitzer 103134
git-svn-id: svn://10.0.0.236/trunk@104704 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 00:53:01 +00:00
bienvenu%netscape.com
8f064cca42 fix many many address book leaks r=naving, sr=sspitzer 103077 and others
git-svn-id: svn://10.0.0.236/trunk@104703 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 00:50:17 +00:00
sspitzer%netscape.com
2402f79edf fix for #103220 #94774 and #79103. when the folder name changes, we need to notify
that #Name, #FolderTreeName and #FolderTreeSimpleName have changed.

also clean up the folder datasource to not copy strings when not necessary.

r=racham, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@104702 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 00:50:12 +00:00
bienvenu%netscape.com
aeaa1844c6 fix memory leak of dir servers, use contract id's, and fix UMR r=naving, sr=sspitzer 103134 66435
git-svn-id: svn://10.0.0.236/trunk@104701 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 00:46:49 +00:00
jpierre%netscape.com
5ed89505e1 Fix for 102251 . Just updating a comment
git-svn-id: svn://10.0.0.236/trunk@104700 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 00:16:56 +00:00
jpierre%netscape.com
4ce9c2c54f Fix for 102251 . Implement 2-level locking for the SSL session cache to properly support SSL server applications using Windows NT fibers . Also optimize and enhance portability of locking primitives for single-process servers on all platforms by using a PRLock instead of cross-process locks . Reviewed by wtc
git-svn-id: svn://10.0.0.236/trunk@104699 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 00:14:33 +00:00
myk%mozilla.org
4d5caedf91 Fix for bug 76714: correctly nests the FORM and TABLE elements.
Patch by Gerv Markham <gerv@mozilla.org>.
r=myk@mozilla.org, no second review needed.


git-svn-id: svn://10.0.0.236/trunk@104697 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 00:03:00 +00:00
beard%netscape.com
33211d8470 [not part of build] added virtual destructor to NativeMessage.
git-svn-id: svn://10.0.0.236/trunk@104695 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 23:45:21 +00:00
karnaze%netscape.com
ce470ffc0e new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@104690 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 23:16:06 +00:00
jake%acutex.net
261ab93139 Fix for bug 57821 - Empty regular expression causes a software error.
Patch by Nick Hibma <n_hibma@qubesoft.com>
r= jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@104688 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 23:06:08 +00:00
kestes%walrus.com
3030d44721 fix broken parsing and handing of --help --version
git-svn-id: svn://10.0.0.236/trunk@104687 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:42:12 +00:00
jake%acutex.net
9ca10cea30 Fix for bug 66651 - Include link to attachment in notification mail
Patch by Gavin Shelley <gavins@iplbath.com>
r= jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@104686 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:38:12 +00:00
sonja.mirtitsch%sun.com
0115dda214 changed the backwardcompatibility tests t odo streight reporting
git-svn-id: svn://10.0.0.236/trunk@104685 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:27:54 +00:00
sonja.mirtitsch%sun.com
d096fe9222 trial and error programming... now I try to guess the tinderbox directory
git-svn-id: svn://10.0.0.236/trunk@104684 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:27:09 +00:00
jake%acutex.net
4426aa7d95 Fix for bug 93006 - The mass change page was auto-selecting the wrong radio button.
r= caillon@returnzero.com


git-svn-id: svn://10.0.0.236/trunk@104683 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:20:33 +00:00
kestes%walrus.com
febfd078d3 fix bug in mail processing where errors were not logged. This was a scope
error in the LOG glob. Also we now allow users to run tinderbox via setuid wrappers
and no longer exclude certain uid ranges but require tinderbox to be run via the id which
the user specifies explicitly.


git-svn-id: svn://10.0.0.236/trunk@104682 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:11:50 +00:00
kestes%walrus.com
5942ee0f62 The index files were not being over written but being appeneded to and the
documentation had not been updated.


git-svn-id: svn://10.0.0.236/trunk@104681 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:10:14 +00:00
kestes%walrus.com
53aa8257b4 add ability to generate index.html files for the directories which are processed
this is because most browsers are truncating our long build file names.


git-svn-id: svn://10.0.0.236/trunk@104680 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:05:10 +00:00
nicolson%netscape.com
ac54e182e9 use NSS 3.3.1 RTM.
git-svn-id: svn://10.0.0.236/trunk@104679 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 22:04:36 +00:00
dbaron%fas.harvard.edu
6cc7d5ce83 Backing out waterson's changes for 100952 to fix smoketest blocker 103331. r=waterson
git-svn-id: svn://10.0.0.236/trunk@104674 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 20:41:04 +00:00
pschwartau%netscape.com
1eac14cfda Improving comments and readability.
git-svn-id: svn://10.0.0.236/trunk@104673 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 20:32:12 +00:00
jake%acutex.net
c0330c9864 Fix for bug 55630 - email-suffix is not shown in createaccount-page
Patch by kai morich <mail@kai-morich.de>
r= matty@chariot.net.au


git-svn-id: svn://10.0.0.236/trunk@104672 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 19:38:26 +00:00
timeless%mac.com
eecaf3a0f0 Bugzilla Bug 102143 with multiple tabs open, View Page Info always shows info for the first tab
by doron, r=jag, sr=hyatt, a=asa. a=drivers,leaf


git-svn-id: svn://10.0.0.236/trunk@104670 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 18:36:50 +00:00
pschwartau%netscape.com
c58fca2b8e Improving comments.
git-svn-id: svn://10.0.0.236/trunk@104669 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 18:36:06 +00:00
pschwartau%netscape.com
9aaaef2f00 Initial add. Tests sparse arrays.
git-svn-id: svn://10.0.0.236/trunk@104668 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 18:27:40 +00:00
pschwartau%netscape.com
3f38a25a20 Skip test of (non-ECMA) fileName, lineNumber properties of Error objects
git-svn-id: svn://10.0.0.236/trunk@104667 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 16:25:55 +00:00
pschwartau%netscape.com
381a5469eb Initial add. Regression test for bug 50447.
git-svn-id: svn://10.0.0.236/trunk@104666 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 16:19:37 +00:00
waterson%netscape.com
e95003a254 Fix static build bustage.
git-svn-id: svn://10.0.0.236/trunk@104665 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 15:29:51 +00:00
jake%acutex.net
8412c48c7b Fix for bug 83474 - The tables were not being unlocked properly when rebuilding the keyword cache if there were no keywords to rebuild.
Patch by Lukasz Engel <Lukasz.Engel@softax.pl>
r= matty@chariot.net.au


git-svn-id: svn://10.0.0.236/trunk@104663 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 15:18:12 +00:00
brade%netscape.com
df98b626d0 don't blindly insert doctype; check if it's present first (bug #102182); remove stale code
git-svn-id: svn://10.0.0.236/trunk@104661 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 14:19:04 +00:00
pinkerton%netscape.com
9b269a6cfe r=sdagley/sr=sfraser/a=asa bug#102204
git-svn-id: svn://10.0.0.236/trunk@104660 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 14:16:51 +00:00
pinkerton%netscape.com
e73b140671 bug 102204, r=sdagley sr=sfraser a=asa.
git-svn-id: svn://10.0.0.236/trunk@104659 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 14:16:20 +00:00
pinkerton%netscape.com
5778f32abf Truncate menu items to 300px. r=sdagley/sr=sfraser/a=asa. bug# 98455
git-svn-id: svn://10.0.0.236/trunk@104658 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 14:12:35 +00:00
pinkerton%netscape.com
44c7de1353 prevent zooming windows from covering the dock. r=danm/sr=sfraser/a=asa. bug# 79974.
git-svn-id: svn://10.0.0.236/trunk@104657 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 14:11:38 +00:00
pinkerton%netscape.com
b3f74e27da respect the look&feel pref about showing comboboxes outside the client area. r=rods/sr=sfraser/a=asa. bug# 102834.
git-svn-id: svn://10.0.0.236/trunk@104656 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 14:10:16 +00:00
jaggernaut%netscape.com
f9f83ee465 Bug 95906: browser reorders bookmarks randomly. Patch by Brian Stell <bstell@netscape.com>, r=jag, sr=brendan, a=Asa.
git-svn-id: svn://10.0.0.236/trunk@104654 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 10:57:11 +00:00
locka%iol.ie
59b39390f6 Checkin makes scrolling to anchors faster by attempting to scroll to the named element from the content sink's timer routine rather than waiting until page loading completes. b=58661 r=heikki@netscape.com sr=jst@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@104653 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 10:39:01 +00:00
jaggernaut%netscape.com
bfe89e9089 Bug 73064: Doh, should teach me to pay more attention while copying old checkin comments ;-) We've decided to check this in on the trunk anyway till we can come up with the right fix (which is hard and gonna take long).
git-svn-id: svn://10.0.0.236/trunk@104652 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 10:29:25 +00:00
jaggernaut%netscape.com
57d8743455 Bug 73064: If your navigation bar is in a collapsed state when you closed your browser, its "collapsed" grippy wouldn't show up upon the next browser startup. Work-around which happens to work, only to be checked in on the branch, we'll figure out something better for the trunk. r=hixie, sr=ben, a=drivers
git-svn-id: svn://10.0.0.236/trunk@104651 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 10:22:39 +00:00
seawood%netscape.com
885c78d437 Some platforms require all symbols to be linked at link-time.
r,sr,a,moa=flaming tinderboxes.


git-svn-id: svn://10.0.0.236/trunk@104650 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 08:20:31 +00:00
darin%netscape.com
61be184b60 code changes for bug 42898 "iDNS support"
patch=william.tan@i-dns.net r=gordon sr=darin,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@104649 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 07:50:21 +00:00
darin%netscape.com
416fc254f8 preferences changes for bug 42898 "iDNS support"
patch=william.tan@i-dns.net r=gordon sr=darin,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@104648 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 07:37:56 +00:00
darin%netscape.com
d1c6d07326 netwerkIDL update for bug 42898 "iDNS support"
git-svn-id: svn://10.0.0.236/trunk@104647 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 07:35:08 +00:00
darin%netscape.com
7bc4c40a36 fixes bug 42898 "iDNS support" (part 1: adding new IDL file)
patch=william.tan@i-dns.net r=gordon sr=darin,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@104646 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 07:25:24 +00:00
mkaply%us.ibm.com
edb6aea305 #101470
r=mkaply, sr=blizzard, a=asa
OS/2 only - add nullcheck for mOS2Toolkit to catch occasional trapping - waiting for correct fix


git-svn-id: svn://10.0.0.236/trunk@104638 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 03:53:28 +00:00
mkaply%us.ibm.com
91591ed947 No bug
r=pedemont, sr=blizzard, a=asa
OS/2 only - use case insensitive font name compares


git-svn-id: svn://10.0.0.236/trunk@104637 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 03:46:59 +00:00
mkaply%us.ibm.com
812dcc3d55 No bug
r=mkaply, sr=blizzard, a=asa
OS/2 only - add -nodde flag to attempt to diagnose some startup problems


git-svn-id: svn://10.0.0.236/trunk@104636 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 03:45:49 +00:00
mkaply%us.ibm.com
e1c86ddae7 No bug
r=pedemont, sr=blizzard, a=asa
OS/2 only - better implementation of timer IDs that prevents duplicates


git-svn-id: svn://10.0.0.236/trunk@104635 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 03:44:21 +00:00
gerv%gerv.net
8164e497aa Links toolbar fixes. All are sr=hyatt, a=asa.
Bug 102895 - a few functions in the wrong place. Patch by choess@stwing.upenn.edu, r=sballard@netreach.net.

Bug 102899 - missing icons in Classic. Patch by gerv, r=choess.

Bug 103097 - two line fix to improve perf in auto-show case. Patch by sballard, r=gerv.

Bug 102991 - Links toolbar is officially known as Site Navigation Bar. Patch by gerv, r=choess.


git-svn-id: svn://10.0.0.236/trunk@104634 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 03:11:29 +00:00
dmose%netscape.com
45da1e6ab8 Fix LDAP autocomplete regression with CJK names by adding a separate pref for minimum length of CJK names to search with a different default (bug 101086). r=shanjian@netscape.com, sr=blizzard@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@104633 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 02:59:32 +00:00
akkana%netscape.com
24cfe98390 dveditz says this will fix the windows bustage
git-svn-id: svn://10.0.0.236/trunk@104631 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 02:16:58 +00:00
zach%zachlipton.com
3e4edbc835 Fix for bug 102032: Fix tinderbox test errors and warnings. Patch to make new_comment.cgi use strict and warnings and make tests run at
100%!

Patch by Jake <jake@acutex.net>, r=justdave, no 2nd review needed.


git-svn-id: svn://10.0.0.236/trunk@104630 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 02:16:34 +00:00
pschwartau%netscape.com
fae5e7854a Slight changes -
git-svn-id: svn://10.0.0.236/trunk@104629 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 02:07:47 +00:00
akkana%netscape.com
5e09c9e971 Fix OBJDIR build bustage associated with 66345 editor reorg checkin
git-svn-id: svn://10.0.0.236/trunk@104628 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:57:05 +00:00
alecf%netscape.com
935e5258e5 move config.mak inclusion later in the file so we pick up proper REQUIRES
(bustage fix)


git-svn-id: svn://10.0.0.236/trunk@104625 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:34:22 +00:00
sonja.mirtitsch%sun.com
dd688e9752 next try for tinderbox fix
git-svn-id: svn://10.0.0.236/trunk@104624 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:29:06 +00:00
akkana%netscape.com
2f854aee16 66345: Flipping the switch on the editor reorg.
Remove unused directories which should not have been created.
  r=cmanske,jfrancis,brade sr=sfraser,kin a=dbaron


git-svn-id: svn://10.0.0.236/trunk@104623 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:23:23 +00:00
brade%netscape.com
9d7098d024 new Composer project and editor project split (build plaintext or html&plaintext); also commented out bmp project which may land some day
git-svn-id: svn://10.0.0.236/trunk@104622 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:16:50 +00:00
akkana%netscape.com
917d254132 66345: Flipping the switch on the editor reorg (mac).
Add the new library names to the mac packager.
  r=cmanske,jfrancis,brade sr=sfraser,kin a=dbaron


git-svn-id: svn://10.0.0.236/trunk@104621 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:15:56 +00:00
brade%netscape.com
8adb8df188 reorg to split composer from core editing functionality
git-svn-id: svn://10.0.0.236/trunk@104620 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:13:58 +00:00
brade%netscape.com
1b976c3ac5 add missing file
git-svn-id: svn://10.0.0.236/trunk@104619 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:13:31 +00:00
akkana%netscape.com
f861ce0e22 Fix bustage -- wrong linebreaks, descending into directory with no makefile
git-svn-id: svn://10.0.0.236/trunk@104618 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:10:49 +00:00
gerv%gerv.net
4a2f13fb9d Bug 103082 - re-enable links toolbar, hidden by default, in such a way that it has no perf. impact when hidden. Patch by sballard@netreach.net, r=gerv, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@104616 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 01:06:41 +00:00
brade%netscape.com
4b48c75b1e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@104614 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:57:13 +00:00
waterson%netscape.com
eebcc1d51f Bug 100952. Don't allow re-entrant notifications while building. r=sspitzer, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@104613 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:54:56 +00:00
bstell%netscape.com
6476052597 backout bug 94327 until after the 0.9.4 branch, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@104611 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:47:41 +00:00
bstell%netscape.com
335742a08e backout bug 94327 untill after 0.9.4 branch, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@104610 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:45:59 +00:00
zach%zachlipton.com
b9dd814b18 Fix for bug 98095:importxml.pl fails perl -wc test. Simple 1 line addition
that makes importxml.pl not fail the tests. We are on our way to 100%!

Patch by Jake <jake@acutex.net>, r=zach@zachlipton.com, no 2nd review required.


git-svn-id: svn://10.0.0.236/trunk@104609 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:42:06 +00:00
akkana%netscape.com
3315eecd0d 66345: Flipping the switch on the editor reorg.
libeditor is now just the base libraries; libcomposer covers
  the composer app.  Installing both in packages that used to
  install the composer app.  Mac checkin will follow separately.
  r=cmanske,jfrancis sr=sfraser,kin a=dbaron


git-svn-id: svn://10.0.0.236/trunk@104608 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:40:27 +00:00
timeless%mac.com
112467e3cc Bugzilla Bug 103061 Find dialog should persist after finding string
by hewitt r=cmanske sr=kin@netscape.com a=asa (on behalf of drivers) for checkin to 0.9.5.


git-svn-id: svn://10.0.0.236/trunk@104607 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:37:19 +00:00
akkana%netscape.com
c28d2b3bb1 66345: Flipping the switch on the editor reorg.
base will no longer be built (and will be cvs removed soon);
  libeditor and composer are now built, building separate libraries.
  Doing unix/windows now; mac will follow shortly.
  r=cmanske,jfrancis sr=sfraser,kin a=dbaron


git-svn-id: svn://10.0.0.236/trunk@104606 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:37:04 +00:00
depstein%netscape.com
cbb6c5a2d1 Added check for null history element object in nsiHistory.cpp
git-svn-id: svn://10.0.0.236/trunk@104605 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:35:44 +00:00
pschwartau%netscape.com
230a206218 Improving readability -
git-svn-id: svn://10.0.0.236/trunk@104604 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:25:11 +00:00
sfraser%netscape.com
db971d9c23 Fix for blocker bug 103036 -- crash when opening prefs dialog in Mac classic skin. Bullet-proof nsDocShell::FocusAvailable() against recursion, and fix the XBL to set focus later on. r=adamlock, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104603 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:05:15 +00:00
pschwartau%netscape.com
9680c11d0b Including more RegExps. Not checking expected vs. actual matches now; just that we don't crash.
git-svn-id: svn://10.0.0.236/trunk@104602 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 23:58:24 +00:00
akkana%netscape.com
231ff86dce 66345: windows makefiles for editor reorganization.
Not yet part of the build (until the switch is flipped).
  r=cmanske, sr=sfraser,kin, a=dbaron + leaf,loan.


git-svn-id: svn://10.0.0.236/trunk@104600 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 23:12:09 +00:00
ssu%netscape.com
fbbe409da0 backing out my previous check in.
git-svn-id: svn://10.0.0.236/trunk@104599 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 22:04:55 +00:00
beard%netscape.com
a30bd26d1b Added Carbon.rsrc to Carbon targets.
git-svn-id: svn://10.0.0.236/trunk@104597 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 21:45:48 +00:00
beard%netscape.com
ff14390927 Carbon specific resources for Carbon targets.
git-svn-id: svn://10.0.0.236/trunk@104596 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 21:41:56 +00:00
ssu%netscape.com
3836f2c9b1 fixing bug 9943 - 2 icons showing up on desktop after installing 6.2 - r=dveditz, sr=syd
git-svn-id: svn://10.0.0.236/trunk@104595 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 21:41:24 +00:00
pschwartau%netscape.com
1be91ac56d Initial add. Regression test for bug 103087.
git-svn-id: svn://10.0.0.236/trunk@104591 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 19:54:04 +00:00
sonja.mirtitsch%sun.com
c3b409a0fb added the " back that broke the script before
git-svn-id: svn://10.0.0.236/trunk@104587 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 17:01:17 +00:00
ian%hixie.ch
cbf27479f2 Correcting minor typo (extraneous ')'s).
git-svn-id: svn://10.0.0.236/trunk@104586 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 16:09:32 +00:00
locka%iol.ie
bf7345cf6d NOT PART OF BUILD. Slightly changed descriptive wording on test pages. a=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@104585 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 13:10:45 +00:00
locka%iol.ie
b16bcfe88a NOT PART OF BUILD. Implemented NPN_Status. Added some more diagnostic debug info including hex dumping stream data to validate it's correct. Added code to support plugins that want their streams in NP_ASFILEONLY or NP_ASFILE mode (e.g. IBM's arcane Advanced Function Presentation viewer plugin). a=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@104584 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 13:09:49 +00:00
hyatt%netscape.com
eae2d3eab8 fix for 103082, disable link toolbar, r=doron, sr=hewitt, a=asa
git-svn-id: svn://10.0.0.236/trunk@104580 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 08:39:40 +00:00
rginda%netscape.com
68ca8c4ff2 bug 103063, venkman strict warnings
r=samuel@sieb.net, sr=hyatt, a=asa


git-svn-id: svn://10.0.0.236/trunk@104579 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 07:38:53 +00:00
pschwartau%netscape.com
d03c9a32fc Fixing bug that prevented -p option from working on the Mac (again!)
git-svn-id: svn://10.0.0.236/trunk@104571 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 02:08:16 +00:00
sspitzer%netscape.com
cc812ab16b fix for #97863 and #96314. get saving IMAP messages as templates or as files
to work on linux again.  r=naving, sr=bienvenu, a=asa


git-svn-id: svn://10.0.0.236/trunk@104569 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 01:47:44 +00:00
darin%netscape.com
e99d9f4be7 correcting typo in PR_LOG statement.
git-svn-id: svn://10.0.0.236/trunk@104568 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 01:40:35 +00:00
waldemar%netscape.com
4e5c0fe7c8 Added support for indexes in rtf files
git-svn-id: svn://10.0.0.236/trunk@104565 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 01:13:53 +00:00
sonja.mirtitsch%sun.com
6bd52bd411 trieing to acces a variable set by perl, for tinderbox
git-svn-id: svn://10.0.0.236/trunk@104563 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 00:36:53 +00:00
timeless%mac.com
baf7b28816 Bugzilla Bug 69533 enter_bug.cgi does not auto-detect HP-UX as OS
patch by gary@radionics.com r=zach


git-svn-id: svn://10.0.0.236/trunk@104561 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-04 00:06:54 +00:00
rods%netscape.com
e25ba4e68d Check for failure after printing the next page. If it fails then pass back PR_TRUE
to indicate we are done printing this document.
Bug 101597 r=kmcclusk sr=attinasi a=pdt


git-svn-id: svn://10.0.0.236/trunk@104557 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 23:28:38 +00:00
gerv%gerv.net
9a439492d6 Auto-show for the Links Toolbar. Bug 102832. Patch by sballard@netreach.net (Stuart Ballard). r=gerv, sr=hewitt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@104555 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 22:35:56 +00:00
darin%netscape.com
c3044172b5 fixes bug 51907 "crashes on redirect Trunk [@nsHttpChannel::ProcessResponse]"
r=gagan, sr=mscott, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@104554 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 22:19:13 +00:00
dbaron%fas.harvard.edu
a8bad20c9f Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@104553 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 21:48:47 +00:00
vidur%netscape.com
6b9fc5582d Got rid of DOS-style returns. This is not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@104552 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 21:41:38 +00:00
vidur%netscape.com
b648968531 Adding WSDL to XMLExtras if MOZ_WSDL is defined. Also added REQUIRES macros to schema and wsdl makefiles (thanks to jonsmirl@mediaone.net). This not yet part of the build. r=heikki, rs=jst.
git-svn-id: svn://10.0.0.236/trunk@104551 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 21:03:02 +00:00
waldemar%netscape.com
6288658c72 Reformatted actions to merge procedures from multiple expansions of a nonterminal. Removed U_equiv form of functions.
git-svn-id: svn://10.0.0.236/trunk@104550 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 21:01:38 +00:00
vidur%netscape.com
93eddeb1ac Adding WSDL specific interface info implementation. This not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@104549 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 21:00:14 +00:00
bernd.mielke%snafu.de
1a76aaad43 adding the renamed files again bug 102894 r=karnaze a=asa
git-svn-id: svn://10.0.0.236/trunk@104548 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 20:33:58 +00:00
bernd.mielke%snafu.de
d43b1e0d68 renaming xml testfiles in order to avois name clashes with html files
bug 102894 r=karnaze a=asa not part of the build


git-svn-id: svn://10.0.0.236/trunk@104547 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 20:29:53 +00:00
sonja.mirtitsch%sun.com
8fd97bfb91 changes for the NT tinderbox
git-svn-id: svn://10.0.0.236/trunk@104546 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 19:24:44 +00:00
dsirnapalli%netscape.com
033ffa6242 Test Case for nsIWebBrowserPersist interface.
git-svn-id: svn://10.0.0.236/trunk@104545 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 19:19:27 +00:00
gerv%gerv.net
203a974f68 CVS removal of obsolete directories. Bug 102787. Goodbyeeeee....
git-svn-id: svn://10.0.0.236/trunk@104543 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 18:54:49 +00:00
blizzard%redhat.com
e4d02d7a87 Update patches, images and spec file to the current tip. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@104542 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 18:40:13 +00:00
gerv%gerv.net
a6f67755d8 Adding missing contributor - Henri Sivonen <henris@clinet.fi>. Bug 87428 again.
While I'm here, the credit for the links toolbar in my last checkin comment should have gone to Christopher Hoess <choess@stwing.upenn.edu>, Eric Hodel <drbrain@segment7.net> and Tim Taylor <tim@tool-man.org>, as well as anyone else who contributed ideas and suggestions.


git-svn-id: svn://10.0.0.236/trunk@104537 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 17:17:13 +00:00
shrutiv%netscape.com
d7bc724196 Fix for bug 102811: CCK does not check for disk space while creating
Linux build (r=tao)
Checking 27x3Mb disk space before creating build


git-svn-id: svn://10.0.0.236/trunk@104536 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 15:57:53 +00:00
ian.mcgreer%sun.com
577a89b492 fix build error
git-svn-id: svn://10.0.0.236/trunk@104535 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 14:07:29 +00:00
timeless%mac.com
4ca40dec68 Bugzilla Bug 99067 Javascript console has a small unskinned area
by neil@parkwaycc.co.uk r=timeless, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@104533 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 11:19:05 +00:00
justdave%syndicomm.com
972f8cb409 Fix for bug 82809: comments in bugs no longer have &#013; where the linefeeds should be.
Patch by Dave Miller <justdave@syndicomm.com>
r= timeless@mac.com (no 2nd review needed)


git-svn-id: svn://10.0.0.236/trunk@104532 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 07:49:19 +00:00
brendan%mozilla.org
70be6480f2 Fix to avoid dangling PLDHashTable entry pointers that lead to humongous FastLoad files (95888, r=dbaron, sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@104530 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 06:57:52 +00:00
heikki%netscape.com
38b093fce3 Bugscape bug 9924, fix perceived hang by improving comment parsing performance in strict mode. Patch from harishd, r=heikki, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@104529 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 06:54:31 +00:00
darin%netscape.com
0392d6f008 fixes bug 102221 "SetCacheKey(key, TRUE) not implemented correctly"
r=gordon, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@104528 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 06:53:02 +00:00
rpotts%netscape.com
1768d0c8b6 bug #102450 (r=pavlov). OnStopRequest was not being fired for some imgRequests...
git-svn-id: svn://10.0.0.236/trunk@104527 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 06:41:17 +00:00
waterson%netscape.com
9742420e39 Bug 96748. Be sure to check for |open| on new rows. r=varga@utcru.sk, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104526 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 06:40:37 +00:00
brendan%mozilla.org
726006598c Fix for bug 99663 (for loop resolves properties of the object being enumerated
with JSRESOLVE_ASSIGNING, wrongly), plus a few miscellaneous bugfixes.

- Combine the JSStackFrame members constructing, special, overrides, and
  reserved into a uint32 flags member.

- Separate JOF_ASSIGNING from the JOF_SET bytecode format flag, and impute
  JSRESOLVE_ASSIGNING from the presence of JOF_ASSIGNING among the current
  opcode's format flags.  To handle the for-in loop opcodes, which do more
  than simply assign -- in particular, they do property lookups whose resolve
  hook outcalls should not be flagged with JSRESOLVE_ASSIGNING -- a new frame
  flag, JSFRAME_ASSIGNING, has been added.

- Fix interpreter version selection to respect JS_SetVersion, whose effect on
  cx->version is "sticky".

- Fix js_DecompileValueGenerator to deal with JSOP_ENUMELEM -- it never had,
  as this testcase shows (it crashes without this patch):

    version(120);
    eval("function fe(s) { for (it[s] in this); }");
    try { fe('rdonly'); } catch (e) { print(e); }


git-svn-id: svn://10.0.0.236/trunk@104525 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 06:39:30 +00:00
ccarlen%netscape.com
55b764b37a Bug 100634 - Assertion on startup coming from use of "CurWorkD" directory service key. r=brade/sr=darin
git-svn-id: svn://10.0.0.236/trunk@104524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 06:13:00 +00:00
racham%netscape.com
b539e6ec56 Fixing bug 97650. Adding improvements to unread count mail count display feature on Win XP. When the mail application starts, as soon as the unread count on Inbox folder changes, registry is updated. This enables us to present the user accurate unread count on the welcome screen, if user quits the app before the 5 minute timer is triggered. r=mscott, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104523 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 05:54:30 +00:00
gerv%gerv.net
090c3565da Links toolbar. Bug 87428. r=bzbarsky, sr=hewitt. At last!
git-svn-id: svn://10.0.0.236/trunk@104522 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 05:08:20 +00:00
rbs%maths.uq.edu.au
f2d2fb9282 [not part of the build] Follow-up to bug 99010 - Hook GetTextDimensions() in QT and Photon from where platform gurus can take on - bug 96609
git-svn-id: svn://10.0.0.236/trunk@104521 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 05:03:58 +00:00
bienvenu%netscape.com
b05eb6115c blow away corrupt history dbs r=naving sr=sspitzer 102319
git-svn-id: svn://10.0.0.236/trunk@104519 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 03:47:54 +00:00
bstell%netscape.com
1e1b9ad195 bug 94327,
r=katakai@japan.sun.com, r=Roland.Mainz@informatik.med.uni-giessen.de,
r=bstell@netscape.com (xlib code), sr=sr=kin@netscape.com
group fonts with the same name but different foundries together
so the best size can be choosen.


git-svn-id: svn://10.0.0.236/trunk@104518 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 03:38:43 +00:00
hewitt%netscape.com
18af00e032 63728 - Per-platform behavior of Enter key when a button is focused in a dialog, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104517 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 03:29:17 +00:00
hewitt%netscape.com
3f2980d14b 97611 - Autocomplete popup event coordinates miscalculated (from neil@parkwaycc.co.uk), r=jag, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@104516 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 02:59:17 +00:00
dbradley%netscape.com
203af34b05 bug 100665 - Maybe xpconnect should not init the XPCOutArg JSClass. r=jband, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104515 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 02:57:42 +00:00
dbradley%netscape.com
2cc0fd8b50 Bug 102294 - printf has an extra parameter. r=jband
git-svn-id: svn://10.0.0.236/trunk@104514 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 02:48:40 +00:00
shaver%mozilla.org
ac62853b71 Bug 101234: crash when calling focus() or blur() on not-yet-appended XUL
Element.  r=sicking(!), sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@104513 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 02:48:00 +00:00
peterv%netscape.com
6d17c71703 Fix for bug 102809 (ABR in nsPlainTextSerializer::AppendText; indexing -1 on array). r=sicking, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@104512 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 02:47:08 +00:00
sicking%bigfoot.com
8b36af93d7 Make ImportFrame a friend of ProcessorState to fix nebiros bustage after b=83651 checkin.
git-svn-id: svn://10.0.0.236/trunk@104511 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 02:18:08 +00:00
sicking%bigfoot.com
3bb58cb55a Fix typo to fix Ports bustage after b=83651 checkin.
r=peterv


git-svn-id: svn://10.0.0.236/trunk@104509 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 02:08:02 +00:00
bbaetz%cs.mcgill.ca
dcca81febd Make fieldType be public - HPUX build bustage fix.
git-svn-id: svn://10.0.0.236/trunk@104508 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 01:55:10 +00:00
alecf%netscape.com
aff7b8f812 - add some cheesy implementations of FindInReadable
- move nsCaseInsensitiveStringComparator over
- fix some crashes
not part of build, will be reviewed for bug 100214


git-svn-id: svn://10.0.0.236/trunk@104507 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 01:55:09 +00:00
blizzard%redhat.com
9785d131d8 Fix bug #101828. Sending more than one piece of unsent mail fails when posting to sent mail folder. This patch serializes the posting to the sent mail folder so that we don't try to post more than one message at a time. r=naving,sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@104505 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 01:48:56 +00:00
bbaetz%cs.mcgill.ca
5006c30b06 Why do we have two versions of nsCRT::strncmp, one taking a signed int,
the other an unsigned int? And why does the mac code barf on this?

Bustage fix.


git-svn-id: svn://10.0.0.236/trunk@104504 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 01:47:46 +00:00
blizzard%redhat.com
ae67e0df59 Fix bug #74870. "Cookie dialog invisible with moz on second screen of Xinerama". Patch from Chris P. Ross <cross@distal.com>. sr=blizzard, r=jwbaker@acm.org
git-svn-id: svn://10.0.0.236/trunk@104503 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 01:38:12 +00:00
peterv%netscape.com
3add11f567 Warning fixes. r=sicking, rs=jst.
git-svn-id: svn://10.0.0.236/trunk@104502 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 01:27:04 +00:00
bbaetz%cs.mcgill.ca
674733dda8 Oops - left thse out of the diff for bug 78148 & friends. rs=darin
git-svn-id: svn://10.0.0.236/trunk@104501 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 01:25:19 +00:00
bbaetz%cs.mcgill.ca
7a46d970fd Bustage fix - how did this build for someone else on windows?
git-svn-id: svn://10.0.0.236/trunk@104500 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 01:18:58 +00:00
bienvenu%netscape.com
6a9550638a fix memory leak on every mime2 decode trying to get global charset r=sspitzer, sr=mscott 102466
git-svn-id: svn://10.0.0.236/trunk@104499 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 01:02:00 +00:00
akkana%netscape.com
3efc64b83d 66345: Update the Makefiles to make REQUIRES work. Not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@104498 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:54:12 +00:00
akkana%netscape.com
0a93c4ea9a 97677: Revised JS to take advantage of the new nsIURILinkChecker. r=cmanske sr=kin.darin
git-svn-id: svn://10.0.0.236/trunk@104496 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:43:33 +00:00
bbaetz%cs.mcgill.ca
00f048870f Bug 78148. Reorg directory viewer backend to allow file and gopher to use
the html view as well. (This is currently disabled for file because of
i18n issues)

Should also fix dirviewer bugs 38014, 68651, 72724, 78474, and part
of 83881.

r/sr=darin, dougt


git-svn-id: svn://10.0.0.236/trunk@104495 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:43:30 +00:00
cmanske%netscape.com
8ab1d45495 Fixed comment spelling as suggested by kin for bug 93475, r/s=kin
git-svn-id: svn://10.0.0.236/trunk@104494 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:42:38 +00:00
akkana%netscape.com
727fbd6e72 97677: Check whether a link exists. r=cmanske,sr=darinf
git-svn-id: svn://10.0.0.236/trunk@104493 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:40:10 +00:00
peterv%netscape.com
500cb0084b Adding files for fix for bug 78148 and bug 97677.
git-svn-id: svn://10.0.0.236/trunk@104492 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:39:20 +00:00
bbaetz%cs.mcgill.ca
aeadd6f8db Bug 78148. Reorg directory viewer backend to allow file and gopher to use
the html view as well. (This is currently disabled for file because of
i18n issues)

Should also fix dirviewer bugs 38014, 68651, 72724, 78474, and part
of 83881.


git-svn-id: svn://10.0.0.236/trunk@104490 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:26:29 +00:00
akkana%netscape.com
8b05be3419 97677: Check whether a link exists. r=cmanske,sr=darinf
git-svn-id: svn://10.0.0.236/trunk@104489 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:21:34 +00:00
aaronl%netscape.com
002395cb27 Bug 102192. Active Accessibility: Support STATE_OFFSCREEN for accessible objects. r=kmcclusk, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104488 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:18:48 +00:00
cmanske%netscape.com
c3cf7f930f Fixed default TARGET attribute values in Advanced Edit dialog, b=88879, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104487 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:15:10 +00:00
cmanske%netscape.com
2b7fe0e378 Fixed detecting NS_ERROR_FILE_NOT_FOUND case when loading URL in Composer (b=93475) and setting new document and base URL when saving file (b=101426), r=brade,akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104486 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:13:00 +00:00
rginda%netscape.com
297609ab99 bug 102650, skin name should be Modern, not modern. r=jrgm
git-svn-id: svn://10.0.0.236/trunk@104485 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:11:24 +00:00
bienvenu%netscape.com
1f1b58874d fix problem going from threaded to sorted view, deleting a message in a thread, then switching back to threaded view r=naving, sr=sspitzer 102572
git-svn-id: svn://10.0.0.236/trunk@104484 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:11:02 +00:00
attinasi%netscape.com
475491b8d1 Outline for links are now 'invert' instead of 'WindowText' color. b=73884 r=kmcclusk sr=kin
git-svn-id: svn://10.0.0.236/trunk@104483 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:10:00 +00:00
attinasi%netscape.com
dfc8b82b5a Improvements for invert outline colors (Mac and Linux work now). b=73884 r=kmcclusk sr=kin
git-svn-id: svn://10.0.0.236/trunk@104482 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:08:25 +00:00
shrutiv%netscape.com
86b8d0c36a Fix for bug 96735: cck.che variables for custom components are confusing
Changing variable names for custom components (r=tao)


git-svn-id: svn://10.0.0.236/trunk@104481 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:01:48 +00:00
attinasi%netscape.com
b4a54fc96b Protection against null param for topcrash bug 100298. r=kmcclusk sr=kin
git-svn-id: svn://10.0.0.236/trunk@104480 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:01:04 +00:00
yokoyama%netscape.com
affb92feee Bug 88425
Ending IME Composition when we receive OnChar()
/r=yokoyama/ftang, /sr=shaver, /pdt=jaime


git-svn-id: svn://10.0.0.236/trunk@104479 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:00:15 +00:00
cmanske%netscape.com
be3a559c00 Backout change to makefile.win checked in accidentally
git-svn-id: svn://10.0.0.236/trunk@104478 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:58:21 +00:00
yokoyama%netscape.com
a9f76e3195 Bug 101885
Use WideCharToMultiByte() to convert the titleStr
/r=shanjian; /sr=brendan


git-svn-id: svn://10.0.0.236/trunk@104477 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:56:47 +00:00
rginda%netscape.com
08833b3515 bug 97945, "venkkman install packaging", sr=shaver, r=ssu,jj
add venkman to config.ini template


git-svn-id: svn://10.0.0.236/trunk@104476 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:56:10 +00:00
rginda%netscape.com
a4da907357 bug 97945, "venkkman install packaging", sr=shaver, r=ssu,jj
add venkman to config.ini template and makeall.pl


git-svn-id: svn://10.0.0.236/trunk@104475 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:55:34 +00:00
sicking%bigfoot.com
6da57db490 Implement import precedence for attributesets, matchable templates, named templates and whitespace filtering.
b=83651 r=Pike, peterv, jst-review.pl sr=jst


git-svn-id: svn://10.0.0.236/trunk@104473 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:54:12 +00:00
rginda%netscape.com
f5bb8b8727 bug 97945, "venkkman install packaging", sr=shaver, r=ssu,jj
add venkman components to the packages files


git-svn-id: svn://10.0.0.236/trunk@104472 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:54:02 +00:00
hewitt%netscape.com
516973e117 70750 - new dialog xbl bindings, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104470 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:53:06 +00:00
rginda%netscape.com
0a3570a9e2 bug 97945, "venkkman install packaging", sr=shaver, r=ssu,jj
initial add of venkman install.js templates


git-svn-id: svn://10.0.0.236/trunk@104469 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:52:49 +00:00
cmanske%netscape.com
3f360bec80 Make label in Spell Check dialog consistent with 'Personal Dictionary' dialog title, b=101750, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:49:58 +00:00
cmanske%netscape.com
de751f3d7e Cleanup InitListMenu() for Format | List submenu, b=101750, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104467 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:47:47 +00:00
depstein%netscape.com
2005a328c1 Added REQUIRES in makefiles.
git-svn-id: svn://10.0.0.236/trunk@104466 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:40:40 +00:00
cmanske%netscape.com
163b423e29 Hide 'URL is relative...' checkbox in Messenger Composer, b=101559, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104465 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:39:01 +00:00
rangansen%netscape.com
bda9213385 r=rangansen ; sr=hewitt ; bug# 99729
Removing redundant haligns..


git-svn-id: svn://10.0.0.236/trunk@104464 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:36:16 +00:00
cmanske%netscape.com
df150413b0 Use editor transactions when modifying elements in editor DOM, b=102607, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104463 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:36:02 +00:00
cmanske%netscape.com
48bddababd Fixed component icons in Composer. b=51602, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104462 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:31:46 +00:00
jst%netscape.com
a5ea5b8428 Making object destructor public to quiet down gcc. rs=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104461 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:29:05 +00:00
waterson%netscape.com
b6d64b651a Alternative test case for bug 97383.
git-svn-id: svn://10.0.0.236/trunk@104460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:23:30 +00:00
darin%netscape.com
a01fa56460 fixes bug 102332 "9K leaks on tinderbox: cycle relating to HTTP handler"
r=dougt, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 23:04:49 +00:00
terry%mozilla.org
b63dd76dc7 Fix for bug 102723: If genstats dies trying to change databases it will now include the name of the statistic it was trying to generate in addition to the name of the database it was trying to change to in the error message.
Patch by Myk Melez <myk@mozilla.org>.
r=dmose


git-svn-id: svn://10.0.0.236/trunk@104456 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:56:50 +00:00
seawood%netscape.com
7fbf0040d5 Check for both __sun__ & __sun since Forte only seems to define the latter.
Bug 101773


git-svn-id: svn://10.0.0.236/trunk@104454 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:35:31 +00:00
rginda%netscape.com
4e019764e6 - not built -
use "long name" for displayName


git-svn-id: svn://10.0.0.236/trunk@104452 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:25:47 +00:00
locka%iol.ie
168ba96cc0 NOT PART OF BUILD. Added simple array template to remove some duplicate code. Fixed a problem with the content type for a null plugin being empty when it's created from stream. Added code to set NPStream::end to the right value. Added code to read plugins from IE directory as well as NS 4.x
git-svn-id: svn://10.0.0.236/trunk@104451 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:23:45 +00:00
despotdaemon%netscape.com
7bd649e3b4 Pseudo-automatic update of changes made by cls@seawood.org.
git-svn-id: svn://10.0.0.236/trunk@104448 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:21:01 +00:00
cls%seawood.org
083a7c2fd1 Solaris 7 has deprecated the use of libposix4 in favor of librt. Check the OS_RELEASE and use the appropriate library.
Bug #96986 r=wtc


git-svn-id: svn://10.0.0.236/trunk@104447 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:19:12 +00:00
sspitzer%netscape.com
a68a90e41c fix for #102753, use the disableonsend attribute trick for the subject
to be consistent.  r=varada, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104446 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:16:28 +00:00
mscott%netscape.com
42b906d8b9 Bug #96053 --> executing a query may not return an end of query.
Checking in for john.marmion@ireland.sun.com
r/sr=sspitzer,mscott


git-svn-id: svn://10.0.0.236/trunk@104445 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:12:14 +00:00
sspitzer%netscape.com
3f042d4024 remove redundant #include. thanks to hwaara for letting me know about it.
git-svn-id: svn://10.0.0.236/trunk@104444 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:11:08 +00:00
alecf%netscape.com
24ada2441c I don't know why this worked on my machine but not tinderbox.. removing old file reference
git-svn-id: svn://10.0.0.236/trunk@104443 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:09:09 +00:00
serge%netscape.com
bf92ab6e42 fix for 102652; nsPluginsDirUnix.cpp breaks Qt/Xlib build (any build without GTK?);r=Roland.Mainz@informatik.med.uni-giessen.de, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104442 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:06:08 +00:00
cmanske%netscape.com
dff03a76c3 Fixed crash when closing Insert Character dialog window, b=100722, r=syd, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104441 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 22:00:47 +00:00
bzbarsky%mit.edu
8c09a3a42d Make CAPS correctly observe changes to capability.policy prefs. Needed
for having UI for these suckers.  Bug 101150, r=mstoltz,sr=jst


git-svn-id: svn://10.0.0.236/trunk@104440 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:56:51 +00:00
cmanske%netscape.com
d8e575be85 Scroll to new selection in Table dialog, b=94167, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104439 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:56:37 +00:00
mkaply%us.ibm.com
3db6afbb96 OS/2 REQUIRES bustage with npnul plugin
git-svn-id: svn://10.0.0.236/trunk@104438 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:56:07 +00:00
mscott%netscape.com
3de7d6d06f Bug #97497 --> Try to protect against a crash in nsUint32Array where the server may be giving us a bogus message key.
r=naving
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104434 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:51:11 +00:00
seawood%netscape.com
769b5e1aed More NS_IMPLE_THREADSAFE_ISUPPORTS cleanup.
Thanks to Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de> for the patch.
Bug #102446 r=cls


git-svn-id: svn://10.0.0.236/trunk@104433 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:42:31 +00:00
seawood%netscape.com
7ebb0fe60c Check for library version defines before using them.
Bug #100782 r=blizzard


git-svn-id: svn://10.0.0.236/trunk@104432 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:39:52 +00:00
shrutiv%netscape.com
d8df237c39 Fix for bug 90968: Feature to check same domain names for mail & news
desired (r=tao)


git-svn-id: svn://10.0.0.236/trunk@104431 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:39:30 +00:00
aaronl%netscape.com
a021ec283f Bug 102416. Document URL exposed via Acessibility API not always current. r=jgaunt, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@104430 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:36:38 +00:00
alecf%netscape.com
cc91f54202 oops, forgot to carry this line over from my unix box, from checkin to bugs 102004 and bugs 102085, r=ftang sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104429 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:36:01 +00:00
seawood%netscape.com
569f017de0 Implement minimal text rendering to go with bug 99010. r=rbs@maths.uq.edu.au
git-svn-id: svn://10.0.0.236/trunk@104428 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:32:20 +00:00
alecf%netscape.com
21ae930437 Rest of fix for bug 102004 and bug 102085 - move UI-specific i18n code into xpfe. r=ftang, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104427 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:30:28 +00:00
alexsavulov%netscape.com
61cc775335 fix or bug 101883 - completes fix for bug 92143, adding NS_MAX check
sr= attinasi, r= karnaze


git-svn-id: svn://10.0.0.236/trunk@104426 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:29:26 +00:00
mkaply%us.ibm.com
13b44138e6 #101134
r=mkaply, sr=blizzard
OS/2 only - make unicode font for sans-serif Times New Roman MT 30 as well


git-svn-id: svn://10.0.0.236/trunk@104425 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:25:48 +00:00
mkaply%us.ibm.com
aae5590d5c OS/2 debug only bustage - need nsSize.h
git-svn-id: svn://10.0.0.236/trunk@104424 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:24:16 +00:00
shrutiv%netscape.com
9c717d903d Fix for bug 101449: Output for CCK Linux build generates other
unnecessary files (r=tao)


git-svn-id: svn://10.0.0.236/trunk@104423 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:22:36 +00:00
jst%netscape.com
2272f0f59c More changes from John Keiser, not part of the build yet
git-svn-id: svn://10.0.0.236/trunk@104422 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:20:46 +00:00
shrutiv%netscape.com
b70818dcb0 Fix for bug 99403: Browser Windows Title bar text does not show up on
build (r=tao)


git-svn-id: svn://10.0.0.236/trunk@104421 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 21:14:45 +00:00
shrutiv%netscape.com
96ff3c5826 Fix for bug 99370: Linux tar file selectable after clicking on next
and back button (r=tao)


git-svn-id: svn://10.0.0.236/trunk@104419 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 17:48:13 +00:00
shrutiv%netscape.com
61a0e3d429 Fix for bug 101988: CCK problem with customize link in Help Menu (r=tao)
git-svn-id: svn://10.0.0.236/trunk@104418 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 16:52:27 +00:00
ccarlen%netscape.com
9229cf836e Bug 92750 - Fizilla doesn't ask to save changes when quitting with Cmd-Q. r=brade/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104417 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 14:50:29 +00:00
ccarlen%netscape.com
d852115c6f Adding new files for bug 92750 - Fizilla does not ask to save changes when quitting with Cmd-Q. r=brade/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104416 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 14:47:33 +00:00
nboyd%atg.com
7cf97d626b Patch from Igor:
My optimization for PreorderNodeIterator has a bug that would cause an attempt
to access stack[-1] in
    currentParent = (current == null) ? null : stack[stackTop - 1];
when current refers to a start node sibling. This is not visible in Rhino because
currently PreorderNodeIterator is always started from nodes with node.next == null.

iter.diff fixes that plus it removes currentParent field because it is always
available as stack[stackTop - 1] and code to access its value are executed less
frequently than the lines to update it in nextNode

Regarsd, Igor


git-svn-id: svn://10.0.0.236/trunk@104415 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 12:49:46 +00:00
jaggernaut%netscape.com
a4f043b425 Okay, we need |typename| for HP-UX. Adding.
git-svn-id: svn://10.0.0.236/trunk@104414 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 11:15:45 +00:00
jaggernaut%netscape.com
ea5b2d6296 Bug 102523: Non-ASCII characters are showing up as '?'s in certain cases because the ASCII to UCS2 code which we recently started using more was doing an incorrect conversion. r=bbaetz, r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104413 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 10:18:31 +00:00
peterv%netscape.com
b20e06b90f Fix for bug 97687 ([serializer]cs/gecko: copying using keyboard shortcuts>paste>source pasted {Country=US}) r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@104412 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 10:02:07 +00:00
aaronl%netscape.com
18a32a444e Bug 102475. Fixes to msaa busy statechange events. r=jgaunt, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@104411 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 08:07:40 +00:00
dbaron%fas.harvard.edu
ccd7609264 Add nsIMessengerOSIntegration.idl for racham, bug 97650.
git-svn-id: svn://10.0.0.236/trunk@104410 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 07:36:21 +00:00
hewitt%netscape.com
588ed66a91 97653 - null appears as a visible value after pressing keyboard-up, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104409 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 07:05:10 +00:00
racham%netscape.com
f9397fbb95 Fixing bustage by adding idl entries into makefiles for linux ad mac.
git-svn-id: svn://10.0.0.236/trunk@104408 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 07:01:32 +00:00
hyatt%netscape.com
7c6507bca5 fix for 101796, make tabs static width. r=bryner, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104407 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 06:28:23 +00:00
racham%netscape.com
9500586d05 Fixing bug 97650. Fix to display unread mail count of the default account on Win XP platform. Interval for timer that updates the registry with unread count is set in winprefs.js file. r=mscott, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104406 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 06:23:59 +00:00
racham%netscape.com
2928336607 Fixing bug 97650. Fix to display unread message mail count of default mail account on Windwos XP welcome screen. In case of multiple profiles, cumulative total of unread messages of default accounts is displayed. On clicking that messagem, it displays per account unread mail count in a tooltip. r=mscott, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104405 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 06:23:48 +00:00
jaggernaut%netscape.com
2e1bfd5e94 Fix for bug 75572. Separator support in outliner. patch by Jan Varga <varga@utcru.sk>, r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104404 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 05:19:46 +00:00
blizzard%redhat.com
12da234edf Bug #84240. Add methods to get a unicode version of the JS status and link message. r=philipl, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104403 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 05:03:37 +00:00
blizzard%redhat.com
54fb9773bf Bug #96213. Don't query Xinerama if Xinerama is not active. Patch from Frederic Crozat <fcrozat@mandrakesoft.com>. r=blizzard, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104402 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 04:58:32 +00:00
varga%utcru.sk
d20f603ea2 Fix for bug 75572. Separator support in outliner.
r=waterson, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@104401 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 04:42:48 +00:00
radha%netscape.com
887b4e4708 Fix for bug # 99624 r=chak sr=alecf.. freeze nsISHistorylistener as per new freezing guidelines
git-svn-id: svn://10.0.0.236/trunk@104400 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 04:29:19 +00:00
dbaron%fas.harvard.edu
ca3a2ea301 Attempt to fix AIX and BeOS bustage by adding EXTRA_DSO_LDOPTS.
git-svn-id: svn://10.0.0.236/trunk@104399 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 04:21:20 +00:00
dbaron%fas.harvard.edu
13ec911a05 Fix DEBUG bustage. b=96971
git-svn-id: svn://10.0.0.236/trunk@104398 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:52:52 +00:00
dbaron%fas.harvard.edu
bdcc8caee8 Fix typo in include guard. r=jag
git-svn-id: svn://10.0.0.236/trunk@104397 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:12 +00:00
dbaron%fas.harvard.edu
c7ecd0425e Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104396 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:08 +00:00
rbs%maths.uq.edu.au
b68f6bc447 fix possible leak that should have been fixed earlier
git-svn-id: svn://10.0.0.236/trunk@104394 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:12:02 +00:00
hewitt%netscape.com
8ce852d648 102654 - fixing inspector build bustage on windows
git-svn-id: svn://10.0.0.236/trunk@104393 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:11:57 +00:00
jaggernaut%netscape.com
5fe5db6982 Bug 45797: Remove deprecated NS_IMPL_QUERY_INTERFACE macro, patch by dbaron, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104392 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:11:26 +00:00
dbaron%fas.harvard.edu
f19aafd138 Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104391 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:10:56 +00:00
hewitt%netscape.com
14547cec57 95876 - Support <button type='checkbox'/>, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104390 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:06:51 +00:00
rbs%maths.uq.edu.au
92d8483f8c add transliterator to GfxWin, b=33498. r=shanjian, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104389 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 02:57:34 +00:00
dbaron%fas.harvard.edu
02bed3343d Make HoTMetaL 4 doctype trigger quirks mode. b=102442 r=harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104388 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 02:40:28 +00:00
hewitt%netscape.com
6c92e225ae 101657 - Advanced autocomplete prefs dialog has no title bar, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104387 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:56:19 +00:00
sdagley%netscape.com
1efff0b0d2 Finish fix of bug 97676 - Also use LaunchServices APIs to map creator code to app under OS X. Fixes automatic launch of helper app and restores ability to override helper app from download dialog. sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104385 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:45:45 +00:00
shrutiv%netscape.com
3c8c9f115d Fix for bug 93021: Tool tip on logo button should conform to change in
URL


git-svn-id: svn://10.0.0.236/trunk@104384 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:44:49 +00:00
alecf%netscape.com
883df98312 adding back dom for win32 bustage
git-svn-id: svn://10.0.0.236/trunk@104383 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:36:06 +00:00
alecf%netscape.com
22a148f71b huh, add back DOM on unix to fix requires bustage
git-svn-id: svn://10.0.0.236/trunk@104382 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:35:28 +00:00
bbaetz%cs.mcgill.ca
36687599d0 Bug 101128 - ftp sending spurious onstop before onstart
Bug 100816 - don't mask the error codes, so that we can get dns failure
messages
Bug 101027 - use a valid default for the anonymous ftp email

All patches r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@104380 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:25:32 +00:00
bzbarsky%mit.edu
e54a76d4ef Ugh. Those should be pref(), not user_pref()
git-svn-id: svn://10.0.0.236/trunk@104379 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:22:48 +00:00
zach%zachlipton.com
63a31d697d Fix for bug 52885: automatic radio selection for reassign shouldn't
trigger if new text is same as original owner or empty.

Patch by Christopher Aillon (caillon@returnzero.com). R=Bradley Baetz
(bbaetz@cs.mcgill.ca). No 2nd review needed.


git-svn-id: svn://10.0.0.236/trunk@104378 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:20:52 +00:00
rogerl%netscape.com
09b5f3debe Fixed for..in to descend prototype chain. Fixed binding for non-methods.
git-svn-id: svn://10.0.0.236/trunk@104377 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:15:12 +00:00
shrutiv%netscape.com
481738e573 Fix for bug 101658: leaving Auto proxy URL blank will cause browser to
crash. (r=tao)
Displaying error message if auto proxy URL is blank.


git-svn-id: svn://10.0.0.236/trunk@104376 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:14:22 +00:00
bzbarsky%mit.edu
922e6ef70b Add default values for the print.print_header* and print.print_footer*
prefs to all.js.  Bug 102620, r=rods, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@104375 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:08:54 +00:00
alecf%netscape.com
e1bd890fa2 fix some dumb dependencies for bug 102290
r=jag, sr=darinf


git-svn-id: svn://10.0.0.236/trunk@104374 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:06:46 +00:00
alecf%netscape.com
100ef980eb get rid of some dumb dependencies for bug 102290 r=jag, sr=darinf
git-svn-id: svn://10.0.0.236/trunk@104373 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 01:05:42 +00:00
hewitt%netscape.com
880029f550 70750 - new dialog xbl bindings, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104372 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:57:32 +00:00
mstoltz%netscape.com
44c4e93b04 Bug 18553, better fix which should cause fewer problems. Clear event listeners
before every document load, including the first, except when setNewDocument
is called from document.open. r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@104371 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:54:44 +00:00
alecf%netscape.com
502a151df4 add intl directory for bug 102004 and bug 102085 r=ftang, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104370 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:53:43 +00:00
sspitzer%netscape.com
68ed28a74c fix for #75372. can't drop messages into attachment pane (in compose window.)
a while back, the flavor for messenger dnd changed but this file
was left behind.

this fix makes it so you can dnd messages into the attachment pane, but
until #72617 is fixed, you are also able to drop folders,
which is a bug, see #102630

r=naving, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104369 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:50:50 +00:00
darin%netscape.com
d9ce73553c pref changes for bug 102332 r=gagan, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104368 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:41:18 +00:00
darin%netscape.com
d3745ceed7 fixes bug 102332 "9K leaks on tinderbox: cycle relating to HTTP handler"
r=gagan, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104367 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:40:27 +00:00
ccarlen%netscape.com
9f0b806c02 Doing mac project changes for bug 102004. r=ftang,sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@104366 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:39:55 +00:00
hewitt%netscape.com
f4ed27b609 101677 - popups should use css margins to affect positioning, r=pinkerton, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104365 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:38:34 +00:00
stephend%netscape.com
306156bf5c Bug 94437. Clean up wallet prefill dialog. Patch by Jason Kersey <kerz@netscape.com> r=morse@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@104364 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:34:42 +00:00
darin%netscape.com
13a7382b72 initial framework patch for http/1.1 pipelining (bug 93054) r=gagan, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@104363 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:31:30 +00:00
alecf%netscape.com
df220872e2 add new xpfe intl stuff to mac build r=ftang, sr=shaver
bug 101004


git-svn-id: svn://10.0.0.236/trunk@104362 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:26:44 +00:00
rginda%netscape.com
c05683c90d bug 102588, venkman skin owner is wrong
patch=daniele@grinta.net, r=me,hyatt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@104361 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:26:38 +00:00
gerv%gerv.net
f88d6534d4 Turn of Internet Keywords in Mozilla builds by default to permit debugging of DNS and other issues. Bug 100412. r=doron, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@104360 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:01:59 +00:00
bzbarsky%mit.edu
452c9306b0 Make ctrl-delete delete to end of line on Unix when no text is
selected. Bug 102448, r=akkana, sr=kin


git-svn-id: svn://10.0.0.236/trunk@104359 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:01:26 +00:00
bzbarsky%mit.edu
d063da77e9 Move the zero-check to before we divide by the number. Fixes crash when
all 3 header or all 3 footer print prefs are empty strings. Bug 102257,
r=rods, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@104358 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 23:57:57 +00:00
hewitt%netscape.com
51c80eea8f 102626 - can't switch views in inspector, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104357 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 23:57:40 +00:00
darin%netscape.com
74e3cc8650 fixes bug 94004 "Offline: redirects not cached" r=gagan, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@104356 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 23:52:00 +00:00
bzbarsky%mit.edu
f8b8a5473d fixing bustage -- nos such thing as NS_FORM_BUTTON_IMAGE
git-svn-id: svn://10.0.0.236/trunk@104354 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 23:08:47 +00:00
sspitzer%netscape.com
ecf09be317 fix for bustage. nsIHistoryEntry.idl has changed and is no longer
including the nsIURI.idl interface.  r=radha


git-svn-id: svn://10.0.0.236/trunk@104353 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 22:13:58 +00:00
pinkerton%netscape.com
f357dde28e freezing interface for embedding. r=chak/sr=alecf. bug#99623
git-svn-id: svn://10.0.0.236/trunk@104352 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 22:03:21 +00:00
rods%netscape.com
e1ba426508 Allow for image submitters also
Bug 99920 r=rods, sr=attinasi a=pdt


git-svn-id: svn://10.0.0.236/trunk@104351 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:49:43 +00:00
shrutiv%netscape.com
1373191814 Fix for bug 101984: Empty string in port no. field causes browser to
crash (r=tao)


git-svn-id: svn://10.0.0.236/trunk@104350 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:30:39 +00:00
shrutiv%netscape.com
d5dcbd6310 Fix for bug 101984: Empty string in port no. field causes browser to
crash (r=tao)


git-svn-id: svn://10.0.0.236/trunk@104349 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:25:12 +00:00
rginda%netscape.com
6f663f3dd1 - not built -
fix chrome:author attribute


git-svn-id: svn://10.0.0.236/trunk@104348 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:13:50 +00:00
radha%netscape.com
7dff3383c9 Fix for tree bustage related to bug # 100993. Include nsISHistoryListener.
git-svn-id: svn://10.0.0.236/trunk@104347 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:07:26 +00:00
blakeross%telocity.com
8e49d6cb07 Fix js strict warning about function not always returning a value...
git-svn-id: svn://10.0.0.236/trunk@104346 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:05:12 +00:00
rbs%maths.uq.edu.au
e94b93e50a Fix inverted logic that caused printing bug 102243. r=rods, sr=kin
git-svn-id: svn://10.0.0.236/trunk@104345 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:01:38 +00:00
yokoyama%netscape.com
29a01e42a7 Bug 102041
Don't use the return error code from mAlias->Equals()
/r=ftang/harishd; /sr=shaver; /ptd=jaime


git-svn-id: svn://10.0.0.236/trunk@104344 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 20:53:56 +00:00
naving%netscape.com
b6bf5e0600 102545 r/sr=sspitzer. Do not change the filter enabled/disabled state on editingan existing filter.
git-svn-id: svn://10.0.0.236/trunk@104342 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 20:37:52 +00:00
yokoyama%netscape.com
1b798daf44 Bug 97404
To prevent freezing from copying
URL. Temporary fix until
we find actual cause of invalid string offset
/r=ftang, /sr=mscott, /PDT=jpm


git-svn-id: svn://10.0.0.236/trunk@104341 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 20:37:46 +00:00
radha%netscape.com
3733126488 Fix for bug # 100993. Freeze nsIHistoryEntry.idl and nsISHistory.idl according to the
embedding freezing guidelines. r=chak sr=alec


git-svn-id: svn://10.0.0.236/trunk@104337 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 20:15:06 +00:00
waterson%netscape.com
531e932346 Bug 102534. Serialize default namespace properly on typed nodes. Patch submitted by tingley@sundell.net, r=shaver, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104336 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:54:04 +00:00
alecf%netscape.com
0442b447f7 Split necko MODULE into necko and necko2, part of bug 101761, r=cls
git-svn-id: svn://10.0.0.236/trunk@104335 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:53:27 +00:00
sspitzer%netscape.com
797b156425 more changes for #102037. use GetValueConst() instead of GetValue() where possible to avoid
strdups().

r=waterson, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104334 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:53:14 +00:00
radha%netscape.com
3698b8f5c2 Fix for bug # 96163. Bypass history load causes disorientation with page titles. r=valeski. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104333 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:47:50 +00:00
dougt%netscape.com
e791d31d3d fixed 102460. Make NS_IMPL_THREADSAFE_ISUPPORTS work again sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104332 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:44:27 +00:00
stephend%netscape.com
35fc643611 Bug 91071 'HyperText' should read 'Hypertext' according to the W3C.org r=adamlock@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104330 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:11:32 +00:00
mkaply%us.ibm.com
e57ab31ea0 #101134
r=mkaply, sr=blizzard
OS/2 only - code from Pedemont - fix text justification on OS/2


git-svn-id: svn://10.0.0.236/trunk@104329 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 18:56:00 +00:00
alecf%netscape.com
8b374d5522 fix uconv depending on itself, r=cls part of bug 101761
git-svn-id: svn://10.0.0.236/trunk@104328 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 18:48:28 +00:00
sspitzer%netscape.com
009b529d4d partial fix for #100835. fwding (inline) imap messages with large attachments
and editing imap templates & drafts with large attachments is slow since we
have to download the attachment.  this makes it so the user sees download progress
in the msg window.  r=ducarroz, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@104327 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 18:45:16 +00:00
mkaply%us.ibm.com
510114e522 #97103
rs=mscott
OS/2 only - use 55 as the limit for folder names on OS/2


git-svn-id: svn://10.0.0.236/trunk@104326 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 18:44:22 +00:00
hwaara%chello.se
5efa6c424d #102426, bloat removal round 3: clean up in nsNewsUtils.
rs=sspitzer


git-svn-id: svn://10.0.0.236/trunk@104325 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 18:43:41 +00:00
locka%iol.ie
7a13b93e2c Allow run-mozilla.sh to be renamed (e.g. foo) and have it automatically launch foo-bin if such an executable exists. b=70760 r=valeski@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@104324 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 18:40:45 +00:00
rods%netscape.com
c3f3a9e42c Backing out fix for Bug 85286 & 72906
git-svn-id: svn://10.0.0.236/trunk@104322 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 18:22:48 +00:00
jst%netscape.com
86f29bd0ae Adding new files for John Keiser <jkeiser@iname.com>, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@104320 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 17:51:28 +00:00
karnaze%netscape.com
2718238d79 new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@104319 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 16:34:35 +00:00
leaf%mozilla.org
049fe679d0 Automated update
git-svn-id: svn://10.0.0.236/trunk@104317 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 14:58:28 +00:00
kaie%netscape.com
6c73f7c10a b=100215 r=relyea sr=blizzard
Fix certificate verification chain display.


git-svn-id: svn://10.0.0.236/trunk@104316 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 14:57:35 +00:00
shaver%mozilla.org
ad65c1d519 Bug 101467: --enable-trace-malloc needs to disable symbol-removal passes.
r/sr=waterson/cls


git-svn-id: svn://10.0.0.236/trunk@104315 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 14:47:01 +00:00
peterv%netscape.com
fac2166142 Part of fix for bug 65858 (Rework XSLT sorting) that I forgot to check in. r=sicking, Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@104314 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 14:28:54 +00:00
nboyd%atg.com
1920575f5b Fix bug:
var passed = true;
try {
    eval("/* mello /* yello */");
    } catch (e) {
        print(e);
        passed = false;
    }
print(passed);

should print "true", not "false".


git-svn-id: svn://10.0.0.236/trunk@104313 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 14:25:30 +00:00
mkaply%us.ibm.com
f3480fd503 #80167
r=ftang, r=mikek, sr=blizzard
Code from simon@softel.co.il - code from original Bidi landing can be turned on now that converson is finalized
Also fixed two warnings that were in the code that could have also broke some unixes


git-svn-id: svn://10.0.0.236/trunk@104312 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 13:57:47 +00:00
rods%netscape.com
57f417f51f adding frameset printing tests
git-svn-id: svn://10.0.0.236/trunk@104311 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 11:57:30 +00:00
rods%netscape.com
acc6a4f0a7 Adding frameset navigation tests
git-svn-id: svn://10.0.0.236/trunk@104310 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 11:50:32 +00:00
timeless%mac.com
1d183f2499 Bugzilla Bug 72878 zap unused variables from xpidl
r=shaver, sr=jband


git-svn-id: svn://10.0.0.236/trunk@104309 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 09:08:04 +00:00
sdagley%netscape.com
cbc803293c Bug 97676 - Use LaunchServices APIs under OS X for helper app launching and fix Reveal to work with OS X Finder. r=ccarlen,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104306 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 06:43:41 +00:00
sdagley%netscape.com
241202012b New project for OS X specific interfaces. Part of fix for 97676. r=ccarlen,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104304 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 06:31:37 +00:00
harishd%netscape.com
35a79ebc73 102376 - Make sure that the channel exists for the life time of the parser.
r=dp sr=rpotts.


git-svn-id: svn://10.0.0.236/trunk@104301 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 05:14:03 +00:00
stephend%netscape.com
dc0f262f17 Bug 80120. Implementing tooltips on the toolbar's expand/collapse widgets. r=jglick/german/sspitzer/robinf/cmanske sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104299 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 05:03:06 +00:00
stephend%netscape.com
470adfd328 Bug 80120. Implement tooltips for toolbar's expand/collapse widgets. r=german,jglick,sspitzer,robinf,cmanske sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@104298 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 04:54:14 +00:00
blakeross%telocity.com
55c51d01bd Fix js strict warnings about redeclaration of vars and reference to undefined vars. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104297 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:56:43 +00:00
blakeross%telocity.com
63c8f01fa5 Fix js strict warning about redeclaration of var. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104296 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:56:19 +00:00
blakeross%telocity.com
db3c6db98d Fixing js strict warning about undefined property this.mSelectedItem. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104295 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:49:12 +00:00
mkaply%us.ibm.com
28b39562c5 #81664
r=simon@softel.co.il, sr=attinasi for nsTextFrame, sr=blizzard for nsBidiPresUtils
Cleanup of bidi reordering code


git-svn-id: svn://10.0.0.236/trunk@104294 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:43:42 +00:00
blakeross%telocity.com
8d0070d650 Fixing js strict warning about redeclaration of var. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104293 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:42:42 +00:00
blakeross%telocity.com
ac9ca59ac3 Fixing js strict warning about redeclaration of vars. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104292 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:41:14 +00:00
blakeross%telocity.com
0d1cb457bd Fix js strict warnings about redeclaration of vars. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104291 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:27:14 +00:00
blakeross%telocity.com
fafb46ad3d Fix js strict warning about undefined window.arguments[4]. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104290 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:24:40 +00:00
blakeross%telocity.com
376f00c126 Fixing js strict warnings about redeclaration of vars. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104289 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:20:05 +00:00
blakeross%telocity.com
45585950fc Fixing js strict warning about assignment to undeclared variable. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104288 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:17:18 +00:00
dbaron%fas.harvard.edu
0ea38bd5ab Removing / changing references to OS/2 makefiles that no longer exist.
git-svn-id: svn://10.0.0.236/trunk@104287 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:55:31 +00:00
blakeross%telocity.com
e0016fd9ae Fix js strict warning about function not always returning a value. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104286 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:55:01 +00:00
blakeross%telocity.com
9bde18f072 Fix js strict warning about redeclaration of variable. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104285 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:50:52 +00:00
blakeross%telocity.com
d53c1dda32 Fix js strict warning about redeclaration of variable. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104284 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:50:18 +00:00
blakeross%telocity.com
e17a5834fd Fix js strict warning about redeclaration of variable. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104283 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:49:54 +00:00
blakeross%telocity.com
3235ba01fc Fixing js strict warning about function not always returning a value. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104282 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:35:17 +00:00
mstoltz%netscape.com
d30bd314df bug 90386 - escape HTML tags before writing the useragent string to the document
on the "about:" page. Written by jruderman, r=mstoltz, sr=blake


git-svn-id: svn://10.0.0.236/trunk@104281 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:29:05 +00:00
roc+%cs.cmu.edu
3f96d38554 Bug 56696. Add ctrl-enter Send shortcut to mailnews composer. r=ducarroz, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@104280 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:14:05 +00:00
roc+%cs.cmu.edu
5548bcecb4 Bug 56696. Let ctrl-enter escape from multiline editors. r=brade, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@104279 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:11:19 +00:00
mstoltz%netscape.com
89fbff2047 the reopened bug 18553 - clear event handlers when first
document is loaded in a window.
r=heikki, sr=vidur


git-svn-id: svn://10.0.0.236/trunk@104278 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:08:30 +00:00
jaggernaut%netscape.com
166957e3a3 Bug 96843: 'Find in this page' textfield doesn't get focus by default. Patch by James Kelley <oneiros@darkspire.net>, r=kin, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@104276 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 01:13:43 +00:00
sdagley%netscape.com
7c8e58d843 Fix Fizilla build bustage caused by conflict between ccarlen's checkin and jag's string changes. r=jag
git-svn-id: svn://10.0.0.236/trunk@104275 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 00:57:54 +00:00
bzbarsky%mit.edu
8a0a62255c Final removal of VIEW_SOURCE_HTML define. Bug 81132,
r=rbs@maths.uq.edu.au, sr=jst


git-svn-id: svn://10.0.0.236/trunk@104274 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 23:48:07 +00:00
gerv%gerv.net
caabd6ec71 splay Resolution redundantly lists selection if selection is 72dpi or 96dpi. Bug 96339. r=hwaara, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@104273 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 23:02:25 +00:00
bzbarsky%mit.edu
0c9aadb496 Adding REQUIRES to fix bustage (dependencies on find and appshell needed
for window.find()).


git-svn-id: svn://10.0.0.236/trunk@104269 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 20:41:27 +00:00
mkaply%us.ibm.com
5c53d0b96c #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions


git-svn-id: svn://10.0.0.236/trunk@104268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 20:35:55 +00:00
bzbarsky%mit.edu
56a9af87d4 Add window.find(). Bug 9550. Patch from Fabian <hidday@geocities.com>,
r=sfraser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@104267 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 19:56:32 +00:00
leaf%mozilla.org
32927773ec Automated update
git-svn-id: svn://10.0.0.236/trunk@104265 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 17:43:29 +00:00
seawood%netscape.com
1c556b7bac Remove fullcircle reference. Bug #98293
git-svn-id: svn://10.0.0.236/trunk@104264 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 17:35:03 +00:00
jaggernaut%netscape.com
0dde6dfdd0 Clean up navigator.js (begone, evil tab, 3-space and 4-space indents, begone, curly brackets following function declarations, and begone, evil strict warnings!), r=caillon, rs=Ben
git-svn-id: svn://10.0.0.236/trunk@104263 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 15:01:58 +00:00
hwaara%chello.se
a0be399920 license should stay the same. ;)
r=jag


git-svn-id: svn://10.0.0.236/trunk@104262 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 14:34:23 +00:00
hwaara%chello.se
4b059ace63 #99702, bloat-alert in nsNNTPNewsgroupPost.
rs=sspitzer


git-svn-id: svn://10.0.0.236/trunk@104261 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 14:16:30 +00:00
hwaara%chello.se
a8ce5164b1 #91646, work around a bug in XUL so labels display.
r=srilatha, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@104260 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 13:57:55 +00:00
jaggernaut%netscape.com
da4ca93fa2 Fix strict warning by making the setter always return the |val|, which it should always do anyway. r=caillon
git-svn-id: svn://10.0.0.236/trunk@104259 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 13:48:03 +00:00
jaggernaut%netscape.com
5e47e07c76 Get rid of some js strict warnings. r=caillon
git-svn-id: svn://10.0.0.236/trunk@104258 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 13:38:35 +00:00
jaggernaut%netscape.com
d5aebfb9b1 Remove trailing comma (js strict warning)
git-svn-id: svn://10.0.0.236/trunk@104257 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 12:54:31 +00:00
jaggernaut%netscape.com
8afa9eac16 Bild Venkman by default on Mac now that the project file is fixed. See bug 97944 for further details.
git-svn-id: svn://10.0.0.236/trunk@104256 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 12:41:37 +00:00
jaggernaut%netscape.com
2fb527c1a2 Checking in updated mac project file for Venkman (the JS Debugger)
git-svn-id: svn://10.0.0.236/trunk@104255 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 12:39:29 +00:00
rginda%netscape.com
48eb12277f - not built -
remove java references, add jsd_xpc.cpp note, explain jsdb.


git-svn-id: svn://10.0.0.236/trunk@104254 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 08:52:04 +00:00
jaggernaut%netscape.com
6f7e7bff87 Bug 102154: browser.xml refers to bogus property nsIWebNavigation.LOAD_FLAGS_BYPASS_NONE (I thought I had fixed this a few months ago). r=rginda.
git-svn-id: svn://10.0.0.236/trunk@104253 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 08:33:31 +00:00
rginda%netscape.com
7d5c7774c2 move REQUIRES line above include config.mak, to fix bustage
git-svn-id: svn://10.0.0.236/trunk@104252 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 07:10:21 +00:00
rginda%netscape.com
f0abe910de turn of venkman until we can get the bustage sorted out
r=jag


git-svn-id: svn://10.0.0.236/trunk@104251 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 06:57:28 +00:00
rginda%netscape.com
97747926e4 fixing REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@104250 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 06:28:38 +00:00
rginda%netscape.com
8262c716de bug 97944, sr=shaver, r=cls,peterv, build venkman by default
split jsdebugger option into jsd and venkman.  jsd builds the binary debugger support component, and venkman builds the front end.  build both by default.


git-svn-id: svn://10.0.0.236/trunk@104248 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 06:00:54 +00:00
rginda%netscape.com
b514895184 bug 97944, sr=shaver, r=cls,peterv, build venkman by default
descend into venkman if DISABLE_JSD and DISABLE_VENKMAN are not defined


git-svn-id: svn://10.0.0.236/trunk@104247 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 05:59:09 +00:00
leaf%mozilla.org
1431e5e514 Automated update
git-svn-id: svn://10.0.0.236/trunk@104246 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 05:58:28 +00:00
rginda%netscape.com
5d4c3c05fc bug 97944, sr=shaver, r=cls,peterv, build venkman by default
descend into jsd if DISABLE_JSD isn't defined.


git-svn-id: svn://10.0.0.236/trunk@104245 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 05:57:50 +00:00
rginda%netscape.com
10ceb303d4 bug 97944, build venkman by default
change --disable-jsd to --enable-jsd, and add venkman to the default extension list.


git-svn-id: svn://10.0.0.236/trunk@104243 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 05:54:47 +00:00
bzbarsky%mit.edu
789470f88f Make nsICharsetAlias::GetPreferred() and nsICharsetAlias::Equals() take
nsAStrings instead of nsStrings.  Bug 102096, r=ftang,jag. sr=shaver


git-svn-id: svn://10.0.0.236/trunk@104241 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 04:01:15 +00:00
seawood%netscape.com
9fcd756f2b Removing nsCOMPtr.{h,cpp} from xpcom/base. They have been copied (in the cvs repo) and are built in xpcom/glue.
Bug #99698


git-svn-id: svn://10.0.0.236/trunk@104240 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 03:30:29 +00:00
seawood%netscape.com
ae505fc1ab Sync up xmlterm module name for static builds.
git-svn-id: svn://10.0.0.236/trunk@104239 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 01:59:13 +00:00
seawood%netscape.com
49d0e82cb0 Split part of xpcom into separate xpcomglue library to be used for standalone builds eventually. Start with nsCOMPtr.*
Bug #99698 r=rpotts sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104238 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 01:44:25 +00:00
seawood%netscape.com
526acc79a5 Create build_all_dep target to avoid doing the export phase twice
git-svn-id: svn://10.0.0.236/trunk@104236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 00:13:35 +00:00
seawood%netscape.com
82dd46887a Old age...that's gotta be it.
git-svn-id: svn://10.0.0.236/trunk@104234 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 23:38:14 +00:00
seawood%netscape.com
caa5a9b68f Make win9x build use the perl equiv for REQUIRES since the nmake magic doesn't seem to work quite right.
bug #102305 r=daa@distributed.net,sicking,FrodoB


git-svn-id: svn://10.0.0.236/trunk@104233 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 23:09:15 +00:00
seawood%netscape.com
e4bb761af1 Split xpcom into separate xpcomglue library starting with nsCOMPtr.*
Bug #99698 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104232 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 23:03:39 +00:00
dbaron%fas.harvard.edu
1ff870e683 Switch from ftp.netscape.com to ftp.mozilla.org since the former is down.
git-svn-id: svn://10.0.0.236/trunk@104231 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 22:20:41 +00:00
bryner%netscape.com
9a08ab1424 Fixing REQUIRES bustage. r=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@104230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 21:41:30 +00:00
brendan%mozilla.org
2f43b8afc7 Check in patch for bug 94580, thanks to Bernard Alleysson <balleysson@bigfoot.com> for researching and writing it (r=me, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@104229 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 21:30:26 +00:00
nboyd%atg.com
e8be7137ca Patch from Igor:
As profiler data show, the execution time of the nextNode and replaceCurrent
methods in PreorderNodeIterator contribute quite significantly to the total
time to run Context.compileReader.

replaceCurrent is slow because it calls Node.replaceChild which have to
iterate through all previous siblings to find the nearest to the current.
But it is easy to avoid this search by caching the previous sibling of the
current while iterating over the node tree in nextNode.

nextNode slowness is attributed to the usage of java.lang.Stack which is
expensive due to its synchronized methods. In the attched patch I replaced
it by the explicit array management.

It allows to cut Context.compileReader time by 5%-30% when processing
20K-3MB sources assembled form JS files in the test suite.


git-svn-id: svn://10.0.0.236/trunk@104228 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 20:55:36 +00:00
nboyd%atg.com
a7f3b38f8f More javadoc
git-svn-id: svn://10.0.0.236/trunk@104227 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 20:55:03 +00:00
nboyd%atg.com
1fa382f3bb Move serialization classes to separate package.
git-svn-id: svn://10.0.0.236/trunk@104226 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 20:54:08 +00:00
nboyd%atg.com
3a21e84698 Move serialization classes to new package.
git-svn-id: svn://10.0.0.236/trunk@104225 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 20:50:59 +00:00
nboyd%atg.com
30f9aac1cb Move serialization files to separate package.
git-svn-id: svn://10.0.0.236/trunk@104224 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 20:50:18 +00:00
bryner%netscape.com
5fca5a11dd fixing REQUIRES bustage for win32.
git-svn-id: svn://10.0.0.236/trunk@104223 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 20:41:58 +00:00
vidur%netscape.com
78ef111374 Fixing build bustage. Access proxy needs necko.
git-svn-id: svn://10.0.0.236/trunk@104222 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 18:40:14 +00:00
vidur%netscape.com
ec7aeceee0 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@104221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 17:50:15 +00:00
pavlov%netscape.com
c592681c6b adding uuid r=me,biesi sr=waterson bug 77354
git-svn-id: svn://10.0.0.236/trunk@104219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 14:05:14 +00:00
seawood%netscape.com
7525745442 Export nsCOMPtr.h from xpcom:glue instead of xpcom:base .
Bug #99698 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@104218 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 12:31:09 +00:00
seawood%netscape.com
ce6323a8bf Build glue:nsCOMPtr.cpp instead of base:nsCOMPtr.cpp
Bug #99698 r=sdagley


git-svn-id: svn://10.0.0.236/trunk@104217 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 12:22:57 +00:00
jaggernaut%netscape.com
a95627f25b Removing dead code, r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104216 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 10:18:32 +00:00
jaggernaut%netscape.com
ddff287e36 Bustage fix. Sorry about that.
git-svn-id: svn://10.0.0.236/trunk@104215 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 09:15:25 +00:00
seawood%netscape.com
01ab01ff07 Apparently, there's some inconsistency in how echo & nmake interact between win9x & nt kernels. This should fix the win9x build bustage.
Bug #102305


git-svn-id: svn://10.0.0.236/trunk@104214 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 09:01:54 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
seawood%netscape.com
0fef718b9e Recurse all directories regardless of whether .headerlist exists but only remove files from dirs with .headerlist. r=jag
git-svn-id: svn://10.0.0.236/trunk@104211 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 07:09:33 +00:00
bryner%netscape.com
cd62b14ed9 Fixing xpctools build on win32. r=cls.
git-svn-id: svn://10.0.0.236/trunk@104210 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 06:24:41 +00:00
dbaron%fas.harvard.edu
f6d7183d39 Fix HP bustage -- can't static_cast to an incomplete class.
git-svn-id: svn://10.0.0.236/trunk@104209 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 06:12:57 +00:00
jaggernaut%netscape.com
403bd8ee1c Make "Open New Tab" modifier "accel", not "control", sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104208 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 06:12:48 +00:00
dbaron%fas.harvard.edu
891820b86a Fix incorrect parameter to strtok_r. b=99245 r=bnesse sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104207 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 05:55:53 +00:00
dbaron%fas.harvard.edu
a5f775a5b4 Oops. Backing that out.
git-svn-id: svn://10.0.0.236/trunk@104206 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 05:10:22 +00:00
dbaron%fas.harvard.edu
b8c15ca534 Previous comment should refer to bug 102208.
git-svn-id: svn://10.0.0.236/trunk@104205 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 05:09:37 +00:00
dbaron%fas.harvard.edu
2b1a8dc392 Fix blocker bug 100208 by handling the possibility that a GdkFont wraps an XFontSet rather than an XFontStruct. Handle the XFontSet by using the size and weight from the first font and all the family names. r=jag
git-svn-id: svn://10.0.0.236/trunk@104204 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 05:06:00 +00:00
bryner%netscape.com
5b0acf962b Fixing inspector build on windows. r=cls.
git-svn-id: svn://10.0.0.236/trunk@104203 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:53:00 +00:00
cmanske%netscape.com
833557357e Fix by neil@parkwaycc.co.uk: Use 'Advanced Properties' as default string for object properties, b=100021, r=cmanske, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@104202 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:40:38 +00:00
cmanske%netscape.com
1ebc72dd20 Dialogs fixed as part of Composer color button fix to bug 77873, fix by neil@parkwaycc.co.uk, r=cmanske, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@104201 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:35:02 +00:00
bryner%netscape.com
4852787003 removing depend:: clobber line... this was causing problems since export is now done before depend. r=cls.
git-svn-id: svn://10.0.0.236/trunk@104200 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:34:55 +00:00
cmanske%netscape.com
f09c1d3d93 Pref dialog fix as part of Composer color button fix to bug 77873, fix by neil@parkwaycc.co.uk, r=cmanske, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@104199 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:33:01 +00:00
cmanske%netscape.com
6a63f08c75 Themes fixes as part of Composer color button fix to bug 77873, fix by neil@parkwaycc.co.uk, r=cmanske, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@104198 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:32:09 +00:00
mscott%netscape.com
9de7ebded8 Bug #101498 --> auto complete preselects the default domain OVER the first ldap match
r=sspitzer,ducarroz
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@104197 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:31:59 +00:00
seawood%netscape.com
c0f2bf25f3 Add OBJ_PREFIX support to build system.
Bugscape 9498 r=bryner sr=syd


git-svn-id: svn://10.0.0.236/trunk@104196 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:30:14 +00:00
cmanske%netscape.com
a23c7ddf87 Fix duplicate colors in colorpicker, b=100323, r=brade, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@104195 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:28:15 +00:00
seawood%netscape.com
daedea9e78 Files must end with a newline.
Fixing tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@104191 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 03:55:30 +00:00
bienvenu%netscape.com
a1b715dc00 fix mem leak of msg hdr when pop filters fire rs=sspitzer 101763
git-svn-id: svn://10.0.0.236/trunk@104190 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 03:41:41 +00:00
sspitzer%netscape.com
589f0c25d5 fix #102037. switch from GetValue() to GetValueConst() to avoid strdups.
this one gets hit during imap folder discovery.  r/sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104188 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 02:31:34 +00:00
karnaze%netscape.com
053c1ff32e bug 94341 keep a separate pseudo frame list for a new pseudo block or inline frame. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@104186 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 02:20:52 +00:00
ssu%netscape.com
a8add6b48c fixing bug 97650 - these patches updates the uninstaller to deal with undoing whatever mail integration we do to a WinXP system. r=curt, sr=dveditz. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@104185 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 02:17:38 +00:00
mscott%netscape.com
a08cb968c0 Bug #100669 --> landing some compose changes required by simple mapi for the simple mapi team.Bettter errror handling when cleaning
up the temp file.
r=ducarroz
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@104184 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 02:06:36 +00:00
mscott%netscape.com
16d5a39257 Bug #102215 --> xul syntax changes messed up message display. Change align="center" to align="top"
r=sspitzer
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@104181 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 01:55:27 +00:00
shrutiv%netscape.com
ea2e126f19 Fix for bug 101758: CCK wizard needs to be able to parse "Attributes="
line (r=tao)


git-svn-id: svn://10.0.0.236/trunk@104180 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 01:51:57 +00:00
jpierre%netscape.com
7520340aed Fix for 102089 - add a new "-l" command-line option to selfserv to use local threads . This enables NT fibers on Windows NT
git-svn-id: svn://10.0.0.236/trunk@104179 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:35:54 +00:00
ssu%netscape.com
4c9ad45925 fixing bugscape 9841 - Back button broken in eclient tool setup program. r=curt, sr=dveditz. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@104178 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:33:07 +00:00
heikki%netscape.com
21a67525e5 Bug 101429, bad argument to function, fixes assertion and potential crash. r=harishd, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@104177 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:30:03 +00:00
law%netscape.com
bb5f7810bd Fix for bug 57443; use PL_strncpyz instead of PL_strcpy to avoid buffer overrun when the default file name is really long; r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@104176 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:20:39 +00:00
yokoyama%netscape.com
20386b8ea6 bug 88425
Force to end IMEComposition when user switches keyboard layout.
/r=ftang;/sr=shaver


git-svn-id: svn://10.0.0.236/trunk@104175 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:15:21 +00:00
dbradley%netscape.com
48879a26b5 Items moved to bugzilla or have already been addressed
git-svn-id: svn://10.0.0.236/trunk@104173 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:13:34 +00:00
gerv%gerv.net
84cda8fe40 License changes Round 2. Expat. Updating licensing to be consistent with latest version of expat (MIT/X); relicensing NS-contributed code under expat's license (except the build system, which is tri-licensed.) Removing outdated licensing information and adding new COPYING file. This has been checked with James Clark. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104172 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:10:42 +00:00
bryner%netscape.com
26240cefd8 Bug 59211 - mouse wheel does nothing when cursor over plugin. patch from markh@activestate.com, r=bryner, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@104169 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:05:58 +00:00
sspitzer%netscape.com
fa20057019 fix for #102037. use GetValueConst() instead of GetValue() to avoid strdups.
r,sr=waterson, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@104167 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:01:58 +00:00
sspitzer%netscape.com
72b9374e89 fix for #102071. remove unneeded strdups. r=varada, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@104166 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:00:11 +00:00
sgehani%netscape.com
45adc9102b Make search sidebar tab popping open upon search on by default.
b = 100084
r = pchen
sr = dveditz


git-svn-id: svn://10.0.0.236/trunk@104165 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:58:46 +00:00
bienvenu%netscape.com
46f6a081dd fix leak of file spec rs=sspitzer 98849
git-svn-id: svn://10.0.0.236/trunk@104163 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:27:52 +00:00
bbaetz%cs.mcgill.ca
85af374039 This is not my day.
git-svn-id: svn://10.0.0.236/trunk@104162 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:16:29 +00:00
bbaetz%cs.mcgill.ca
392ea3b4d2 Save before committing. Sigh.
git-svn-id: svn://10.0.0.236/trunk@104161 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:13:46 +00:00
heikki%netscape.com
3fe35a15c0 Bug 96364, Mac project changes.
git-svn-id: svn://10.0.0.236/trunk@104160 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:11:46 +00:00
mkaply%us.ibm.com
c4c823a7af No bug - OS/2 only - yellow on tiling should have been debug only
git-svn-id: svn://10.0.0.236/trunk@104157 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:10:27 +00:00
harishd%netscape.com
e192584cad 96364 - New files should go along with my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@104156 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:09:51 +00:00
alecf%netscape.com
5eada46fca oops, we'll need a CID
not part of build


git-svn-id: svn://10.0.0.236/trunk@104155 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:09:06 +00:00
bbaetz%cs.mcgill.ca
b4d696271b Bug 99614. Treat servers of type "L8" as having unix-style dir listings.
r/sr=darin, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@104154 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:59 +00:00
mkaply%us.ibm.com
17272fb1a1 No bug - get OS/2 fonts back to where they were before the font landing
git-svn-id: svn://10.0.0.236/trunk@104153 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:43 +00:00
harishd%netscape.com
1c4e4c74ec 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.


git-svn-id: svn://10.0.0.236/trunk@104152 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:17 +00:00
bienvenu%netscape.com
3c1b9e9fad add method to clear hdr cache on db (to be used when changing folders) r=naving, sr=sspitzer part of fix for 93013
git-svn-id: svn://10.0.0.236/trunk@104150 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:07:27 +00:00
naving%netscape.com
8e4acb4a66 94968 r=bienvenu sr=sspitzer. Add error messages in cases where filter disables itself because it cannot
find the folder or filtering fails due to some other reasons.


git-svn-id: svn://10.0.0.236/trunk@104149 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:02:05 +00:00
bienvenu%netscape.com
9c66073fdf fix leak of imap folders when getting imap new mail r=naving, sr=sspitzer 102146
git-svn-id: svn://10.0.0.236/trunk@104148 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:00:31 +00:00
alecf%netscape.com
cb771e8312 oops, this was supposed to go in yesterday as a part of bug 200214, r=jag, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104147 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:00:09 +00:00
serge%netscape.com
e524a8d52e fix for 97362; Plugins error "invalid ELF header"; r=av, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104146 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:42:09 +00:00
waterson%netscape.com
2a6a7e9708 Bug 58384, 86279. Be sure to trim letter spacing as well as word spacing in TrimTrailingWhiteSpace(). Also, explicitly add letter spacing where appropriate, instead of including it in word spacing. r=shanjian, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@104145 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:39:10 +00:00
waterson%netscape.com
207ac128b7 Bug 97859. Always synchronize parent row, regardless of whether folder is opened or closed. r=varga%utcru.sk, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@104144 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:34:00 +00:00
alecf%netscape.com
70949a9330 add exports to mac build, not part of build, will be reviewed as a part of bug 102004 and 102085
git-svn-id: svn://10.0.0.236/trunk@104143 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:33:22 +00:00
alecf%netscape.com
7a28a3a473 makefiles for unix - not yet part of build, will be reviewed for bugs 102004 and 102085
git-svn-id: svn://10.0.0.236/trunk@104142 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:31:53 +00:00
darin%netscape.com
ee97121040 fixes bug 92528 "#define FORCE_PR_LOG for http" r=bbaetz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@104140 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:23:26 +00:00
nicolson%netscape.com
d35f88ada0 Add reuseAddr parameter to SSLServerSocket parameter, so servers can
re-bind to a socket.


git-svn-id: svn://10.0.0.236/trunk@104139 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:10:11 +00:00
attinasi%netscape.com
0f3762cfa6 Added new testcase for 101674, and also removed reference to bug86708.html since it does not exist. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@104138 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:09:58 +00:00
attinasi%netscape.com
36a6fdd6a7 Testcase for bug 101674 - not part of build
git-svn-id: svn://10.0.0.236/trunk@104136 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:00:20 +00:00
dbradley%netscape.com
c66456bb8f Bug 97967 - leak of nsLocalFile on failure. Patch by dbaron, r=dbradley, sr=jband
git-svn-id: svn://10.0.0.236/trunk@104135 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 21:49:00 +00:00
attinasi%netscape.com
91f86ff305 Fixed image wrapping in tables problems. b=101674 sr=hyatt r=waterson
git-svn-id: svn://10.0.0.236/trunk@104133 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 21:42:03 +00:00
dougt%netscape.com
7ee3947039 Adding new hash key. r=darin@netscape.com, sr=brendan@mozilla.org bug=81956
git-svn-id: svn://10.0.0.236/trunk@104131 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 21:37:23 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
myk%mozilla.org
d66bb72fd8 Fix for bug 98744: No more software error when the user clicks "remove cc" without specifying users to remove.
Fix by Jake <jake@acutex.net>.
r=myk@mozilla.org, no second review needed.


git-svn-id: svn://10.0.0.236/trunk@104118 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 19:49:53 +00:00
myk%mozilla.org
ec02ad7ac1 Fix for bug 73959: Make buglist.cgi display the "Show Votes" link at the bottom of the screen.
Patch by Jake <jake@acutex.net>.
r=myk@mozilla.org, no second review needed.


git-svn-id: svn://10.0.0.236/trunk@104117 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 19:17:27 +00:00
peterv%netscape.com
199b8bfeaa Trying to fix ports bustage with a workaround. Adding the REQUIRES from mozilla/extensions/transformiix/source/xslt/util to this one. r=Pike. a=granrose. See also bug 102138.
git-svn-id: svn://10.0.0.236/trunk@104114 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 16:21:39 +00:00
seawood%netscape.com
a2f908c6f4 Argh. Security doesn't need a special export target. It gets built with the rest of SeaMonkey.
git-svn-id: svn://10.0.0.236/trunk@104113 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 15:36:25 +00:00
waterson%netscape.com
2aa2c3314d Fix REQUIRES bustage for static build.
git-svn-id: svn://10.0.0.236/trunk@104112 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 15:36:20 +00:00
seawood%netscape.com
b3c8aba787 Make depend target depend upon export so that nspr headers are exported properly.
git-svn-id: svn://10.0.0.236/trunk@104111 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 15:32:00 +00:00
peterv%netscape.com
873de3a5c0 Trying to fix ports bustage with a workaround. Adding the REQUIRES from mozilla/extensions/transformiix/source/xml/parser to this one. r=Pike. See also bug 102138.
git-svn-id: svn://10.0.0.236/trunk@104110 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 14:55:30 +00:00
glazman%netscape.com
6766836155 fixing erroneous DOM 2 name for bug 101925; rs=jst
git-svn-id: svn://10.0.0.236/trunk@104109 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 14:11:05 +00:00
jst%netscape.com
eee64754c4 Always initalize the out parameter in CreateEvent(). r=nobody
git-svn-id: svn://10.0.0.236/trunk@104108 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 14:03:10 +00:00
kin%netscape.com
dc40a11ac3 Fix for bug 89236: printing is producing crash
Modified nsBlockFrame::DrainOverflowLines() so
that it reparents any floater out-of-flow frames
and their views.

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


git-svn-id: svn://10.0.0.236/trunk@104107 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 13:59:23 +00:00
peterv%netscape.com
2d8c635e96 Fix for bug 65858 (Rework XSLT sorting). r=sicking, Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@104106 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 12:58:57 +00:00
andreas.otte%primus-online.de
eb149e5f70 fix bug 99081 [ExtractPortFrom sometimes finds ports that are not there] again, this time we were not finding enough ports. Now we are checking for ? and # as additional delimiters. r=dougt@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104105 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 10:57:06 +00:00
ccarlen%netscape.com
c083079514 Bug 87831 - Fizilla won't launch if its path contains non-ASCII char. r=ftang/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104104 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 09:19:42 +00:00
hyatt%netscape.com
4ba5e07f27 Fix for 79416, document.popupNode returns wrong node. r=jag, sr=ben
git-svn-id: svn://10.0.0.236/trunk@104100 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 09:01:34 +00:00
aaronl%netscape.com
fca1662319 Bug 101615. Unique child ID's for accessible event targets. r=jgaunt, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@104093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 08:12:07 +00:00
glazman%netscape.com
3262227926 implements getComputedStyle() for float property + bad next-line argument indentation cleanup ; b=101925, r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@104092 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 07:39:41 +00:00
dbaron%fas.harvard.edu
55cff1db96 Fix OS/2 REQUIRES bustage. r=jag
git-svn-id: svn://10.0.0.236/trunk@104091 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 06:57:07 +00:00
curt%scruznet.com
4584b0f862 Adding ren8dot3.exe back into the installation for now.
Fixes bug #48306


git-svn-id: svn://10.0.0.236/trunk@104089 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 05:51:55 +00:00
pschwartau%netscape.com
b1f2be029f Initial add. Regression test for bug 101964.
git-svn-id: svn://10.0.0.236/trunk@104086 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 04:50:52 +00:00
katakai%japan.sun.com
d63010d71c bug 81360
Correct behavior of ResetInputState() for gtk/
Fix memory corruption problem at Resetting IME on GTK
r/sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@104083 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 04:18:59 +00:00
mkaply%us.ibm.com
9fc231d236 Remove unused OS/2 files - we use the Windows versions now
git-svn-id: svn://10.0.0.236/trunk@104081 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 03:38:54 +00:00
peterlubczynski%netscape.com
8798e2a775 Fix for crash when object frame goes away but stream is still going bug 99569 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@104080 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 03:34:53 +00:00
peterlubczynski%netscape.com
34002614aa Ignore leading and trailing whitespace for src and data attributes bug 96362 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@104079 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 03:29:24 +00:00
jpierre%netscape.com
01e9e71530 Fix for bug 101617 - make selfserv work in multi process mode on Windows NT
git-svn-id: svn://10.0.0.236/trunk@104077 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 02:43:48 +00:00
mkaply%us.ibm.com
b4e74bd8ef Attempt to make OS/2 fonts work again
git-svn-id: svn://10.0.0.236/trunk@104076 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 02:43:02 +00:00
mkaply%us.ibm.com
643a2d5b1f OS/2 REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@104075 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 02:42:47 +00:00
alecf%netscape.com
1769d28789 adding windows makefile for files added as a part of bug 102004, and bug 102085
not part of build, to be reviewed as a part of those bugs


git-svn-id: svn://10.0.0.236/trunk@104070 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 02:22:23 +00:00
alecf%netscape.com
c9eb80776d move default font package handling into xpfe as a part of bug 104085
not part of build, will be reviewed as a part of that bug


git-svn-id: svn://10.0.0.236/trunk@104069 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 02:21:13 +00:00
alecf%netscape.com
65f35fbcc6 add these files for bug 102004 - moving charset menu into xpfe components
not part of build, to be reviewed as part of that bug


git-svn-id: svn://10.0.0.236/trunk@104068 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 02:20:15 +00:00
mkaply%us.ibm.com
d24a777ebf OS/2 REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@104067 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 02:19:29 +00:00
despotdaemon%netscape.com
1b503cba65 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@104064 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:52:45 +00:00
serge%netscape.com
ede8cb0735 fix bug 85701; problems using plugins [@ gtk_xtbin_init] topcrash; r=pavlov;sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@104063 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:51:06 +00:00
bzbarsky%mit.edu
316ec70207 Make setting element.style.foo just parse the value instead of creating
a property:value pair and parsing that.  Speeds up setting of
element.style.top by about 5%.  Bug 99797, r=attinasi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@104060 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:38:36 +00:00
pschwartau%netscape.com
dd388f7779 Warning fixes from mac build
git-svn-id: svn://10.0.0.236/trunk@104059 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:32:05 +00:00
mkaply%us.ibm.com
3eaa45e4f8 OS/2 REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@104058 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:28:34 +00:00
wtc%netscape.com
b5d4409bdb Bugzilla bug 84035: backed out the changes to the PRMonitor functions
because some of the Mozilla client code depends on the property that
PR_EnterMonitor and PR_ExitMonitor do not call malloc, calloc, and free.
Modified Files: _pth.h, primpl.h, ptsynch.c


git-svn-id: svn://10.0.0.236/trunk@104057 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:27:07 +00:00
rogerl%netscape.com
493bc5a14d Wiped warning whining.
git-svn-id: svn://10.0.0.236/trunk@104056 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:24:38 +00:00
syd%netscape.com
e4b9e2a9dd Fix for 97249. Crash was being caused (regardless of what stack is
showing) by not carefully iterating the component list and
processing CRCs only on those XPI files that were downloaded.
r=jag, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@104055 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:17:46 +00:00
rogerl%netscape.com
fd8415d494 Snapshot of latest fixes for expression/statement/date/boolean/types ECMA
test suite related bug fixing.


git-svn-id: svn://10.0.0.236/trunk@104054 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:16:52 +00:00
rogerl%netscape.com
1aa6f500dc Fixed crash in handling 'for (var i,p in...' - the reader didn't have a
pre-peeked token for the error report unless it was backed up.


git-svn-id: svn://10.0.0.236/trunk@104053 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:16:00 +00:00
hyatt%netscape.com
c439062786 Fix for 102066, new tab in open location dialog, r=bryner, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@104052 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:15:50 +00:00
rginda%netscape.com
bab29fd350 fix seealso section
git-svn-id: svn://10.0.0.236/trunk@104037 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:43:23 +00:00
rods%netscape.com
9e77804596 Make so hitting return in text field submits form when there is a single text field and no submit
or there is a submit and the submit btn is to be included in the post data
Bug 99920 r=attinasi sr=kin a=pdt


git-svn-id: svn://10.0.0.236/trunk@104035 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:39:44 +00:00
seawood%netscape.com
8c28c75098 Track our dependencies properly by exporting before checking dependencies
git-svn-id: svn://10.0.0.236/trunk@104034 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:36:07 +00:00
rods%netscape.com
92921bbe4b Use the nsIWebProgressListener to make sure two submits do not happen
the listener is used to know when the submit got thru so it can unreg itself
Bug 85286 r=rpotts sr=kin a=pdt


git-svn-id: svn://10.0.0.236/trunk@104033 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:33:23 +00:00
dbaron%fas.harvard.edu
89236b9700 Attempting to fix OS/2 bustage by adding REQUIRES and fixing MODULE.
git-svn-id: svn://10.0.0.236/trunk@104031 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:24:55 +00:00
hyatt%netscape.com
5aa9eebddd Checking in a patch for Antoine Labour, Open Link in New Tab, r=bryner, sr=hyatt, bug #101487
git-svn-id: svn://10.0.0.236/trunk@104028 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:19:32 +00:00
kmcclusk%netscape.com
02709e4dd7 Force the backbuffer to be reallocated when the display depth is changed. bug 6061 r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@104027 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:16:57 +00:00
hyatt%netscape.com
fe8c9753e0 Fix for 102060, enable New Tab in the UI and implement tabbrowser context menus for closing and creating tabs, add CTRL+f4 for closing tabs. r=bryner, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@104023 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:10:48 +00:00
myk%mozilla.org
e970365251 Fix for bug #53612: The milestone URL appears correctly when deleting a product or a component.
Patch by Jake <jake@acutex.net>.
r=gerv@mozilla.org,myk@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@104021 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:49:07 +00:00
dbaron%fas.harvard.edu
c2c2e9c121 Implement CSS2 (and CSS3 / extension) system fonts on GTK port. b=33313 r=bryner sr=blizzard, waterson
git-svn-id: svn://10.0.0.236/trunk@104020 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:44:40 +00:00
shrutiv%netscape.com
d0746d6132 Fix for bug 90968: Feature to check same domain names for mail & news
desired (r=tao)


git-svn-id: svn://10.0.0.236/trunk@104018 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:42:31 +00:00
sfraser%netscape.com
108ee42e26 Fix for bug 71718. Make Mac NSPR work on dual CPU Mac OS X macines by using MP critical regions to fix threading synchronization problems. Uses hand-rolled critical regions because the critical section API is broke on Mac OS 10.0.x. r=gordon, wtc.
git-svn-id: svn://10.0.0.236/trunk@104017 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:35:25 +00:00
shrutiv%netscape.com
e1d45093bb Fix for bug 96268: HTTP support for network installer (r=tao)
Changing UI wording to include Http.


git-svn-id: svn://10.0.0.236/trunk@104016 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:33:40 +00:00
bienvenu%netscape.com
1f4bf4cf65 fix 102002 inline images not displayed in imap messages (and view source broken) r=ducarroz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@104015 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:33:31 +00:00
zach%zachlipton.com
be4d5ef4de Partil fix for bug 102032: Fix tinderbox test errors and warnings. This patch adds some -w and use strict; work to clean up
most of the '002goodperl.t' errors.

r=Dave Miller <justdave@syndicomm.com> no 2nd review required.


git-svn-id: svn://10.0.0.236/trunk@104014 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 23:19:33 +00:00
kaie%netscape.com
77dd0e7ffe b=92131 r=ddrinan sr=blizzard
Enable display of all certs.


git-svn-id: svn://10.0.0.236/trunk@104006 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:48:42 +00:00
saari%netscape.com
09efa680d1 fix for PDT+, topembed, nsbranch+ bug 78857, an assertion caused by the event pool code. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@104004 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:41:40 +00:00
seawood%netscape.com
acfead8717 Yep, I'm lame. I missed a hunk. It's going around.
git-svn-id: svn://10.0.0.236/trunk@104003 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:21:49 +00:00
rods%netscape.com
ec09821e38 Part of previous checkin for Bug 99415, forgot to set this back to &PT
git-svn-id: svn://10.0.0.236/trunk@104002 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:21:38 +00:00
rjesup%wgate.com
20e4c8fea5 Bug 92575: Remaining mChildren nsAutoVoidArray changes. r=waterson, sr=jst
git-svn-id: svn://10.0.0.236/trunk@104001 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:21:37 +00:00
mscott%netscape.com
17226d0f6f Bug #99391 --> landing fix for John Marmion. display name no longer being auto generated.
r=sspitzer
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@104000 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:18:45 +00:00
sfraser%netscape.com
e2ca74ff9d Include MacTypes.h via system, not user paths. r/sr=floppymoose
git-svn-id: svn://10.0.0.236/trunk@103999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:17:36 +00:00
sfraser%netscape.com
e532eee84d Fix bug 89734 -- ensure that we pass the old update region in local, not global coordinates to InvalWindowRgn. Also cleaned up the paint flashing code, and standardized the method definitions. r=pink, sr=scc
git-svn-id: svn://10.0.0.236/trunk@103998 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:16:30 +00:00
hewitt%netscape.com
3968438eb1 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103997 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:15:50 +00:00
rbs%maths.uq.edu.au
08424947c6 Placeholders to just let the build go green again
git-svn-id: svn://10.0.0.236/trunk@103996 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:57:27 +00:00
rjesup%wgate.com
03d5e140b6 Bug 101710: Fix topcrash regression in Find. r=sfraser, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103995 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:49:40 +00:00
pinkerton%netscape.com
abd5e43c54 correctly remove toplevel menus when hidden/collapsed attribute set. also fix assertions so they don't always show and add assertion when trying to show/hide a menu that is already in that state. r=sdagley/sr=sfraser. bug# 101795
git-svn-id: svn://10.0.0.236/trunk@103994 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:49:14 +00:00
alexsavulov%netscape.com
e2e66ee9b9 fix for bug 99948 - added rounding to pixel in CalculateSizeStandard
r= rods sr= attinasi


git-svn-id: svn://10.0.0.236/trunk@103993 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:45:14 +00:00
leaf%mozilla.org
8e72bfe3d5 Automated update
git-svn-id: svn://10.0.0.236/trunk@103992 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:43:29 +00:00
hewitt%netscape.com
2118ea4237 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103991 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:43:00 +00:00
dbaron%fas.harvard.edu
e946cfe315 Fix leak of widget. b=101679 r=jag sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103990 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:41:33 +00:00
morse%netscape.com
f8fced341f bug 98882, implement p3p cookie management, r=harishd,jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103989 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:41:26 +00:00
alexsavulov%netscape.com
3d381615a1 regression testing for tables file (bug 99948) - not affecting the build
git-svn-id: svn://10.0.0.236/trunk@103988 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:40:02 +00:00
sicking%bigfoot.com
af59ac96c2 implement a -q option that supress output of the credits header in standalone transformiix
not part of build
b=101959 r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@103987 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:39:08 +00:00
alexsavulov%netscape.com
80a82dde6f regression test files for tables (bugzilla bug 99948) - not affecting the build
git-svn-id: svn://10.0.0.236/trunk@103986 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:37:46 +00:00
shrutiv%netscape.com
840eb34fd8 Fix for bug 96497: Remove all Help buttons from Show Example screens for
CCK (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103983 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:32:56 +00:00
hyatt%netscape.com
f6ea87bc81 Fix for 101510, crash when clicking on font dropdown in prefs. r/sr=dbaron,waterson
git-svn-id: svn://10.0.0.236/trunk@103982 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:32:44 +00:00
sicking%bigfoot.com
93aad19662 Fix crash in parameters code.
b=101946 r=peterv sr=shaver


git-svn-id: svn://10.0.0.236/trunk@103981 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:32:20 +00:00
shrutiv%netscape.com
48a21fff28 Fix for bug 96497: Remove all Help buttons from Show Example screens
for CCK.
Removing help button urls in show example screens. (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103980 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:31:11 +00:00
seawood%netscape.com
4ff97f658d Turn on module dependency tracking.
Bug #59454 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103979 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:30:42 +00:00
sicking%bigfoot.com
f46a1c678e Cleanup the generate-id() xpath function implementation.
b=101672 r=peterv, Pike sr=jst


git-svn-id: svn://10.0.0.236/trunk@103978 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:30:33 +00:00
darin%netscape.com
4c0f541d76 fixes bug 52510 "HTTP handler should register as a listener for user agent
prefs changes" r=valeski,bnesse, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@103976 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:26:59 +00:00
mkaply%us.ibm.com
08d95b0c8e Just get the functions in there so OS/2 builds again
git-svn-id: svn://10.0.0.236/trunk@103975 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:18:41 +00:00
despotdaemon%netscape.com
63eb42fd07 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@103974 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:07:05 +00:00
waterson%netscape.com
6a8ba73bf2 Bug 73235. Don't add scrollbar's width to MES. r=attinasi, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103973 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 20:53:21 +00:00
dveditz%netscape.com
b233a6a501 Whitespace change to correct previous checkin comment: fix for sleeping too long
on Unix (bug 84896) contributed by Denis Antrushin <adu@sparc.spb.su> r=syd, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@103970 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 20:27:59 +00:00
rbs%maths.uq.edu.au
06571111c0 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@103969 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 20:04:05 +00:00
rbs%maths.uq.edu.au
7ddac010c4 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@103968 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 19:32:40 +00:00
rbs%maths.uq.edu.au
346ef380a5 bug 99010 - font changes. r=attinasi@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103967 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:34:30 +00:00
rbs%maths.uq.edu.au
1797500207 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103966 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:33:58 +00:00
rbs%maths.uq.edu.au
5f7a58bc8f bug 99010 - font changes. r=roland.mainz@informatik.med.uni-giessen.de, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103965 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:32:58 +00:00
rbs%maths.uq.edu.au
19905b49c4 bug 99010 - font changes. r=pierre@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103964 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:32:31 +00:00
rbs%maths.uq.edu.au
5fae2d04d3 bug 99010 - font changes. r=katakai@japan.sun.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103963 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:31:59 +00:00
rbs%maths.uq.edu.au
8b6f6cad1e bug 99010 - font changes. r=bstell@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103962 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:31:35 +00:00
rbs%maths.uq.edu.au
a8d5942ac5 bug 99010 - font changes. r=shanjian@netscape.com,kmcclusk@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103961 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:29:59 +00:00
rbs%maths.uq.edu.au
a1d30b60c4 bug 99010 - font changes. r=shanjian@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103960 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:29:17 +00:00
rbs%maths.uq.edu.au
d44531f21e bug 99010 - font changes. sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103959 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:28:24 +00:00
alecf%netscape.com
48a18c2b2f fix strictness and remove the clustering for now and just color visited modules
git-svn-id: svn://10.0.0.236/trunk@103958 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:02:05 +00:00
seawood%netscape.com
5a29683498 Replace File::List with homegrown rfind(). sr=alecf
not part of the pull much less the build


git-svn-id: svn://10.0.0.236/trunk@103957 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 17:54:10 +00:00
nicolson%netscape.com
12b2f2c4ce fix SSL_RSA_FIPS_* cipher enums.
git-svn-id: svn://10.0.0.236/trunk@103956 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 17:51:30 +00:00
sonja.mirtitsch%sun.com
85e93f80b9 putting new tests back, since the ciphers have been fixed again
git-svn-id: svn://10.0.0.236/trunk@103954 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 16:37:46 +00:00
despotdaemon%netscape.com
6f1cc97910 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@103953 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 16:34:37 +00:00
shaver%mozilla.org
e6c5757367 Backing out checkin(s) due to illegal relicensing of proprietary code.
sr=alecf, r=dawn (not part of build *cough*)


git-svn-id: svn://10.0.0.236/trunk@103949 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 16:22:05 +00:00
karnaze%netscape.com
e7c24ea142 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@103948 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 16:15:46 +00:00
mkaply%us.ibm.com
4490848ef7 OS/2 bustage - we don't use _System
git-svn-id: svn://10.0.0.236/trunk@103947 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 16:04:44 +00:00
cls%seawood.org
6028cfeac8 Semantics of NS_IMPL_THREADSAFE_ISUPPORTS* changed.
Fixing beos tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@103946 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 15:39:33 +00:00
nboyd%atg.com
df4f20ed0a Remove obsolete comment about serialization.
git-svn-id: svn://10.0.0.236/trunk@103945 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 15:14:24 +00:00
nboyd%atg.com
a0e5534fcf Add new serialization API classes.
git-svn-id: svn://10.0.0.236/trunk@103944 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 14:59:59 +00:00
shaver%mozilla.org
4b9d50f0ba Bug 94506: parameter named "arguments" is not accessible in JavaScript method.
Now we check for the magic "arguments" name after var-and-arg slot
optimizations. r=rogerl, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@103943 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 14:52:14 +00:00
nboyd%atg.com
e2b9cf8160 Add docs for serialization.
git-svn-id: svn://10.0.0.236/trunk@103942 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 14:51:20 +00:00
nboyd%atg.com
5ead7f3139 Remove obsolete files (perhaps re-added by mistake?)
git-svn-id: svn://10.0.0.236/trunk@103941 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 12:59:30 +00:00
nboyd%atg.com
b2b147ed4a Patches from Igor:
Note form omj/Parser.java:

* OPT source info collection is a potential performance bottleneck;
* Source wraps a java.lang.StringBuffer, which is synchronized.  It
* might be faster to implement Source with its own char buffer and
* toString method.

It is indeed a bottleneck under JDK 1.1. When I replaced StringBuffer
by a char array (see the attached patch), execution time of
Context.compileReader decreased by 15%: to test I combined a few test
cases to get a 3MB JS source and then measured time to process it by
Context.compileReader in the interpreter mode.

Under JDK 1.3 the difference is less then 1%, but still using the explicit
string buffer saves memory. When converting StringBuffer to String Sun JDK
shares the internal char array in StringBuffer with new String, but in the
Parser case typically the capacity of this buffer is bigger then the actual
string length, so this unused space in source strings is wasted in the
interpreter mode that keeps these strings in InterpreterData.

Regards, Igor

========
I implemented that member expression as function name syntactic sugar to
support scripts using this MS extension. This is only available when
Context.hasFeature(Context.FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME)
returns true to allow the deviation from the standard only when required.

The patch effectively transforms 'function <memberExpr>(...)...' to
'<memberExpr> = function(...)...' when <memberExpr> is not simple
identifier. I am not sure that MS implementation does exactly this
but hopefully it is sufficiently general to cover MS cases.

(The patch assumes that source_change.patch is already applied)

Regards, Igor


git-svn-id: svn://10.0.0.236/trunk@103940 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 12:51:42 +00:00
nboyd%atg.com
bcf0073005 Patch from Igor:
I implemented that member expression as function name syntactic sugar to support
scripts using this MS extension. This is only available when
Context.hasFeature(Context.FEATURE_MEMBER_EXPR_AS_FUNCTION_NAME)
returns true to allow the deviation from the standard only when required.

The patch effectively transforms 'function <memberExpr>(...)...' to
'<memberExpr> = function(...)...' when <memberExpr> is not simple identifier.
I am not sure that MS implementation does exactly this but hopefully it is
sufficiently general to cover MS cases.

(The patch assumes that source_change.patch is already applied)

Regards, Igor


git-svn-id: svn://10.0.0.236/trunk@103939 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 12:50:14 +00:00
jdunn%netscape.com
398e9dfa0b rulebrk.c includes this header, so we can't have c++
comment delims (//) we need to stick with c ones (/* ... */)
Fixing bustage!


git-svn-id: svn://10.0.0.236/trunk@103938 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 12:41:06 +00:00
locka%iol.ie
2cd0ee3ba1 Added WM_GETDLGCODE message handler so keyboard works properly when Gecko is embedded inside a dialog box. b=101571 r/sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103936 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 11:10:17 +00:00
rginda%netscape.com
82dc2646ff - venkman only -
fix mixup in breakpoint/blacklist atom


git-svn-id: svn://10.0.0.236/trunk@103935 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 10:40:57 +00:00
rginda%netscape.com
f4cd6049e1 - not built -
add splitter in cview.xul
list methods in seperate lines


git-svn-id: svn://10.0.0.236/trunk@103934 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 08:53:56 +00:00
glazman%netscape.com
b0f0ef596c alignment status in Composer was erroneous for cells into an aligned table; b=97519, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103933 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 08:44:25 +00:00
syd%netscape.com
e869a10a49 Checking in fix for 84896. r=selmer, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@103932 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 08:27:16 +00:00
waldemar%netscape.com
91f7f54da0 Made section headers be headings level 1 and 2 instead of 3 and 4
git-svn-id: svn://10.0.0.236/trunk@103930 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 05:41:50 +00:00
waldemar%netscape.com
150071e790 Miscellaneous renamings and formatting changes
git-svn-id: svn://10.0.0.236/trunk@103929 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 05:41:20 +00:00
waldemar%netscape.com
cd528b7805 Added optional parameters to %print-actions
git-svn-id: svn://10.0.0.236/trunk@103928 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 05:40:20 +00:00
waldemar%netscape.com
f9e027f813 Added support for -> covariance and contravariance
git-svn-id: svn://10.0.0.236/trunk@103927 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 05:39:52 +00:00
srilatha%netscape.com
f827a98db3 Checkin for backend implementation of simple MAPI prefs
Not part of the build. a=chofmann


git-svn-id: svn://10.0.0.236/trunk@103926 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 05:19:14 +00:00
srilatha%netscape.com
9907058bbd Checkin for implementation of MAPILogon and MAPILogoff.
Checking in for kkhandrika@netscape.com
Not part of the build. a=chofmann


git-svn-id: svn://10.0.0.236/trunk@103925 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 05:14:27 +00:00
brendan%mozilla.org
81ba8bd9b7 Don't report uncaught exceptions unless returning to native code (97646, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@103924 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 05:04:45 +00:00
dougt%netscape.com
05f25b6893 fixing a missing } in the macro. r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103923 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 04:49:38 +00:00
dougt%netscape.com
f30dca6482 Adding new files to the unix build.
git-svn-id: svn://10.0.0.236/trunk@103922 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 04:37:35 +00:00
dougt%netscape.com
3ae73a07eb reverting 99248. r=shaver|brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@103921 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 03:52:45 +00:00
srilatha%netscape.com
61d4844b30 Checkin for implementation of MAPILogon and MAPILogoff.
Checking in for kkhandrika@netscape.com
Not part of the build. a=chofmann


git-svn-id: svn://10.0.0.236/trunk@103920 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 03:51:23 +00:00
dougt%netscape.com
997cb851e1 Landing nsISupports changes. Freezes nsISupports.idl and nsrootidl.idl. r=valeski@netscape.com, sr=rpotts@netscape.com bug 98281
git-svn-id: svn://10.0.0.236/trunk@103919 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 03:43:00 +00:00
srilatha%netscape.com
003216efa5 Checkin for implementation of MAPILogon and MAPILogoff.
Checking in for kkhandrika@netscape.com
Not part of the build. a=chofmann


git-svn-id: svn://10.0.0.236/trunk@103918 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 03:24:19 +00:00
naving%netscape.com
6b588d4aba 93968 100037 r=bienvenu sr=sspitzer. Ask for confirmation dialog for folders that have an
associated filter and warn user if folder is renamed/deleted/moved. Also fixed
some of D&D folder problems and cleaned up the stringBundle code in base/util.


git-svn-id: svn://10.0.0.236/trunk@103917 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 02:47:03 +00:00
nboyd%atg.com
10c183d386 Add support for serialization and deserialization.
git-svn-id: svn://10.0.0.236/trunk@103916 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 02:33:51 +00:00
hewitt%netscape.com
ba5e552780 101775 - column reordering doesn't work right, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103915 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 02:22:27 +00:00
bienvenu%netscape.com
985a47d9e6 making go offline more robust in the face of errors r=naving sr=sspitzer 101712
git-svn-id: svn://10.0.0.236/trunk@103913 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 02:18:58 +00:00
darin%netscape.com
5db340c9cc fixes bug 95768 "about: services should be converted to XHTML 1.1"
patch=alexey@ihug.com.au, r=cbiesinger@web.de, sr=darin,jst


git-svn-id: svn://10.0.0.236/trunk@103911 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 01:42:06 +00:00
tor%cs.brown.edu
d2ce60b6bc Bug 98252 - assume 8-bit alpha channels are really 0- or 1-bit until
proven otherwise.  r=rjesup,pavlov, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@103909 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 01:16:59 +00:00
kmcclusk%netscape.com
86a48adb0f Check for null scrolled view before accessing it. b=98270 patch from duraid@fl.net.au. r=karnaze@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103908 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 01:05:14 +00:00
despotdaemon%netscape.com
973c0866c2 Pseudo-automatic update of changes made by jpierre@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@103907 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 01:04:42 +00:00
morse%netscape.com
c5c19032e1 bug 101637, expire master password after each time it is used, r=pchen, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103906 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:46:26 +00:00
dbaron%fas.harvard.edu
830d253373 Fix build bustage. Not part of the default build. b=99248
git-svn-id: svn://10.0.0.236/trunk@103905 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:43:32 +00:00
shrutiv%netscape.com
9fccd67e47 Fix for bug 101452: Too much of disk space for CCK Linux config (r=tao)
Removing gzip command


git-svn-id: svn://10.0.0.236/trunk@103901 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:31:02 +00:00
beard%netscape.com
f0c25d3bd0 Fix for bug #92322, changes for Carbon/Mac OS X, r=peterl, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@103900 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:29:39 +00:00
hyatt%netscape.com
a9b69df28b Fix for 101554. r/sr=jag,blake
git-svn-id: svn://10.0.0.236/trunk@103899 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:27:26 +00:00
dbaron%fas.harvard.edu
fbe51bf547 Add list of good regression test pages on the net. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@103896 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:13:52 +00:00
dbaron%fas.harvard.edu
cfbac1b525 Add list of good regression test pages on the net. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@103889 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:04:07 +00:00
darin%netscape.com
6d77edd2ab fixes bug 101832 "back/forward buttons should use LOAD_NORMAL + VALIDATE_NEVER"
r=gagan, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@103888 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:03:26 +00:00
gerv%gerv.net
c0a0d2c72e Added back accidentally-removed contributor. Thanks to brade for spotting this.
git-svn-id: svn://10.0.0.236/trunk@103886 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:02:49 +00:00
darin%netscape.com
0647f49077 fixes bug 101602 "IBM accessibility Proxy server not responding correctly"
r=gagan, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@103885 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 23:59:18 +00:00
waterson%netscape.com
a330fa9287 Back out chak's changes to mfcembed until we can separate the PSM stuff out.
git-svn-id: svn://10.0.0.236/trunk@103884 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 23:58:44 +00:00
dbaron%fas.harvard.edu
ffa8fd5f09 Ignore all regression test output. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@103883 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 23:57:07 +00:00
ftang%netscape.com
c30d408bd2 fix bug 101434. ignore "UTF-16"xx and "UTF-32"xx in mime while it is impossible
to get that value
while it is really UTF-16 and UTF-32.
r=bienvenu@netscape.com
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@103882 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 23:32:58 +00:00
darin%netscape.com
cb316be863 fixes bug 82873 "improved support for HTTP trailers" r=gagan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@103880 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 23:30:28 +00:00
darin%netscape.com
cabe15424d fixes bug 98262 "pages show up blank - avoid sending blank Accept-Charset header"
r=gagan, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@103877 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 23:25:10 +00:00
despotdaemon%netscape.com
ee004a643d Pseudo-automatic update of changes made by alexsavulov@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@103876 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 23:10:52 +00:00
eddyk%netscape.com
0f77583875 Bug 96153: disable locked prefs for addressing panel in AccountManager
r=srilatha, sr=blake,alecf


git-svn-id: svn://10.0.0.236/trunk@103873 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 22:57:41 +00:00
waterson%netscape.com
5d084dbd37 Back out chak until he can figure out how to build w/o necessarily requiring PSM.
git-svn-id: svn://10.0.0.236/trunk@103872 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 22:56:25 +00:00
eddyk%netscape.com
6c0dfc05de Bug 96152: disable locked prefs for drafts and templates in AccountManager
r=bhuvan sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103871 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 22:56:24 +00:00
andreww%netscape.com
8646677864 bugzilla 94794 - splitter alignment issue in mac classic. sr=hewitt, r=hwaara
git-svn-id: svn://10.0.0.236/trunk@103867 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 21:08:46 +00:00
alecf%netscape.com
7d47ce699b add unix makefiles for unicharutil_s (not part of build!)
git-svn-id: svn://10.0.0.236/trunk@103866 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 21:06:46 +00:00
seawood%netscape.com
4f28621d5b Update module deps. Adding timer & uriloader to REQUIRES for accessible.
git-svn-id: svn://10.0.0.236/trunk@103865 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 21:03:18 +00:00
alecf%netscape.com
84c6927992 arrghh...missed this file 100214 sr=sfraser, r=jag
git-svn-id: svn://10.0.0.236/trunk@103864 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:59:25 +00:00
alecf%netscape.com
ae864ff1f5 first cut at case-insensitive wrappers for ns*Strings - not part of build
git-svn-id: svn://10.0.0.236/trunk@103863 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:53:57 +00:00
morse%netscape.com
501782c47e image blocking problem, back out previous patch, r=bryner, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103862 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:49:59 +00:00
morse%netscape.com
851853222e bug 94590, remove dup entries from wallet preview dialog, r=law, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103861 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:40:11 +00:00
bzbarsky%mit.edu
0780568d3e Change observes= to command=. Bug 39389 (view source context menus).
sr=blake, r=doron


git-svn-id: svn://10.0.0.236/trunk@103860 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:38:01 +00:00
mitesh%netscape.com
c4935abc36 Additional Fix for bug 99515 - nsAutoConfig event loop hanging. r=danm and sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:28:45 +00:00
alecf%netscape.com
3af4e8c8ed beginning of bug 100214 - eliminate encoding-insensitive nsCRT::str*cmp uses by properly converting to unicode. r=jag, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@103858 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:26:14 +00:00
cmanske%netscape.com
b49c405a3a Fixed setting default button to Ok after typing color in colorpicker, b=99485, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103857 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:18:42 +00:00
alecf%netscape.com
0a278b6afc bug 101761 - clean up embed components so we can better understand REQUIRES r=cls
git-svn-id: svn://10.0.0.236/trunk@103856 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:17:35 +00:00
alecf%netscape.com
d6ca828781 bug 101761 - split necko MODULE into necko and necko2 (build-system only change - for REQUIRES purposes only) r=cls
git-svn-id: svn://10.0.0.236/trunk@103855 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:13:43 +00:00
locka%iol.ie
b36c32bcaa Missing documentation. Should gone in with b=99181 but didn't.
git-svn-id: svn://10.0.0.236/trunk@103854 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:13:26 +00:00
bienvenu%netscape.com
1e205b3195 remove unused, unneeded code rs=sspitzer, no bug
git-svn-id: svn://10.0.0.236/trunk@103853 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 20:05:27 +00:00
chak%netscape.com
d27cc87e85 Fix for #94974 - Provide an interface for embeddors to access security info
r=rpotts,thayes
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@103852 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:57:34 +00:00
chak%netscape.com
f13cc682dd Fix for #94974 - Provide an interface for embeddors to access security info
r=rpotts,thayes
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@103851 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:52:20 +00:00
cmanske%netscape.com
1c1d2625f0 Fixed nsIOService::ResolveRelativePath problem when basePath ends in '/', b=97682, r=andreas.otte@primus-online.de, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@103848 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:34:11 +00:00
yokoyama%netscape.com
0f422044d8 Bug 90910
Allocate correct size of buffer in BYTE for IME
Composition String.
/r=shanjian; /sr=waterson


git-svn-id: svn://10.0.0.236/trunk@103847 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:33:19 +00:00
radha%netscape.com
d4d61c67af Fix for bug 89309. Reload on a post resut simply rerenders the page without taking user's permission to repost the data to the server. r=darin sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@103846 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:33:14 +00:00
locka%iol.ie
ff866b20b5 Fix for focus & tabbing problems in the ActiveX control. b=88081 r=saari@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103845 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:27:33 +00:00
bzbarsky%mit.edu
a241b1d09e Add a context menu to viewsource. Bug 39389, patch by Doron
<doronr@naboonline.com>, r=bzbarsky, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103844 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:25:10 +00:00
sfraser%netscape.com
acf8156525 Fix for bug 99497. Re-order processing of jar.mn files so that we register en-mac locales after those for other platforms, so that non-installed builds (like the Mac OS X build) get Mac overlays. r=tao, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@103843 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:24:52 +00:00
ccarlen%netscape.com
6a9c29eb52 Bug 96543 - Make nsWebBrowserFind default to searching in all frames. r=valeski/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@103840 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 14:07:35 +00:00
rods%netscape.com
fffbeb35b8 Enables the configuration of headers and footers, via 6 string in the nsIPrintOptions
3 for the header and 3 for the footer.
The new codes are &T,&U,&D,&P,&PT (see bug for explanation)
Bug 99415 r=kmcclusk, sr=attinasi a=pdt


git-svn-id: svn://10.0.0.236/trunk@103839 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 14:01:26 +00:00
rods%netscape.com
b6238f63da pass back the proper errors codes, instead of just a null devspec
Bug 101514 r=karnazr sr=kin


git-svn-id: svn://10.0.0.236/trunk@103838 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 14:00:30 +00:00
karnaze%netscape.com
84205c2f3e Fix bug "IFrames repositioned by whitespace in HTML" (no number yet) - give cols with no content 0 width unless they have style width, sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@103837 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 13:49:26 +00:00
rginda%netscape.com
03283a8bec - not built -
move from <tree>s to <outliner>s, leaning on recent venkman outliner work.


git-svn-id: svn://10.0.0.236/trunk@103833 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 08:56:06 +00:00
rginda%netscape.com
51a6720d7c - not built -
add outliner files and new icons to .jar file


git-svn-id: svn://10.0.0.236/trunk@103832 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 08:55:09 +00:00
rginda%netscape.com
63012407bb - not built -
initial add of new cview icons


git-svn-id: svn://10.0.0.236/trunk@103831 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 08:54:27 +00:00
rginda%netscape.com
f9e30f1aa0 - not built -
initial add of cview outliner files


git-svn-id: svn://10.0.0.236/trunk@103830 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 08:53:26 +00:00
glazman%netscape.com
cdfc6fee4e Tables with borders inside of tables without borders got red dotted borders instead of the specified style because of laxist css rule in EditorContent.css; b=96354, r=jag, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103829 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 07:37:51 +00:00
bryner%netscape.com
4565bd1e93 removing a printf. rs=sfraser.
git-svn-id: svn://10.0.0.236/trunk@103820 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 06:05:38 +00:00
dveditz%netscape.com
daa59eac19 bug 92222 -- get xpinstall wizard building on IRIX. patch thanks to
johnv@adacel.com.au (John Mark Vandenberg), r=me, sr=kin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@103819 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 05:55:51 +00:00
rginda%netscape.com
6c325e0769 - venkman only -
package new icons


git-svn-id: svn://10.0.0.236/trunk@103817 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 05:48:57 +00:00
rginda%netscape.com
fe8af60bf8 - venkman only -
add appendChildren method


git-svn-id: svn://10.0.0.236/trunk@103816 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 05:47:11 +00:00
rginda%netscape.com
0231deab44 - venkman only -
remove "reload ui" string, added "reload"


git-svn-id: svn://10.0.0.236/trunk@103815 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 05:45:38 +00:00
dbaron%fas.harvard.edu
8a6246f392 Add PR-logging and assertions used to find bug 94979. r=bbaetz rs=darin, dougt
git-svn-id: svn://10.0.0.236/trunk@103814 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 05:21:12 +00:00
mscott%netscape.com
a6a8b25b54 Bug #9178 --> when migrating an account be sure to not call get default server. Instead,
create a new smtp server then set the migrated smtp settings on that new server.

r=bhuvan
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@103813 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 05:11:58 +00:00
nelsonb%netscape.com
1de7774248 Fix the 128-bit block encrypt and decrypt functions for unaligned buffers.
git-svn-id: svn://10.0.0.236/trunk@103808 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 04:24:29 +00:00
nelsonb%netscape.com
473503a731 Correct the test for length of data in SSL channel info struct.
git-svn-id: svn://10.0.0.236/trunk@103807 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 04:22:55 +00:00
dbradley%netscape.com
852b750761 Bug 94859 silence compiler warning about unused variable r=rginda, sr=jband
git-svn-id: svn://10.0.0.236/trunk@103806 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 04:11:54 +00:00
bienvenu%netscape.com
48e824fcd0 fix memory leak of nsImapProtocol and nsImapFlagAndUidState r=naving,sspitzer, sr=mscott,sspitzer 50529 101261
git-svn-id: svn://10.0.0.236/trunk@103801 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 03:44:56 +00:00
mcafee%netscape.com
8162744139 Ack! this patch never made it in. Force dynamic library for static build to install properly. (87213) r=cathleen, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@103798 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 02:47:04 +00:00
peterlubczynski%netscape.com
0890a85240 Clean up code in part for fix for doing GET rather than POST when NPN_PostURL is called bug 77603 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103797 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 02:45:20 +00:00
peterlubczynski%netscape.com
101be19de3 Fix for doing GET rather than POST when NPN_PostURL is called bug 77603 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103796 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 02:45:01 +00:00
shanjian%netscape.com
50674e829e #8664 Debug messages in terminal window on Linux Japanese build.
r=bstell sr=waterson


git-svn-id: svn://10.0.0.236/trunk@103795 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 02:38:34 +00:00
sspitzer%netscape.com
ce9a0f46c4 fix for #101421. the radiogroups in the mailnews pref panel and in search
and filters are supposed to be horizontal.  rs=bienvenu


git-svn-id: svn://10.0.0.236/trunk@103794 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 02:38:28 +00:00
justdave%syndicomm.com
1d6aad753c Fix for bug 101659: emailsuffix was missing from the component owner mailto tag on sites that use emailsuffix.
Patch by Steve Naldrett <snaldrett@transparentnetworks.com>
r= justdave@syndicomm.com x2


git-svn-id: svn://10.0.0.236/trunk@103793 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 02:37:29 +00:00
idk%eng.sun.com
8e55de7d8a *not part of the build*
tiny fix for solaris build.


git-svn-id: svn://10.0.0.236/trunk@103791 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 01:52:11 +00:00
pschwartau%netscape.com
ea654dfd73 Adding comments from contributor.
git-svn-id: svn://10.0.0.236/trunk@103787 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 01:15:14 +00:00
alecf%netscape.com
8154535363 other file I missed - use NS_LITERAL_STRING instead of char* because API changed
git-svn-id: svn://10.0.0.236/trunk@103786 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 01:14:37 +00:00
despotdaemon%netscape.com
94d894ff03 Pseudo-automatic update of changes made by seawood@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@103785 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 01:12:00 +00:00
alecf%netscape.com
e1220d60f7 oops missed this file - use NS_LITERAL_STRING now that API has changed
git-svn-id: svn://10.0.0.236/trunk@103784 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 01:10:14 +00:00
shrutiv%netscape.com
0f3ba5dc3c Fix for bug 99403: Browser Windows Title bar text does not show up on build
(r=tao)


git-svn-id: svn://10.0.0.236/trunk@103783 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 01:06:53 +00:00
sspitzer%netscape.com
6147611fba fix for #101640, to allow cavin to finish #14295. if a server is removed
or if a server "changes" notify the incoming server listeners.  for the three pane
listener, we use that to decide if we need to change our selection.
r=cavin, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@103782 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 01:01:49 +00:00
shrutiv%netscape.com
9efa3d3bf8 Fix for bug 96268: HTTP support for network installer (r=tao)
git-svn-id: svn://10.0.0.236/trunk@103781 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 01:00:27 +00:00
pschwartau%netscape.com
1036074531 Correcting some typos.
git-svn-id: svn://10.0.0.236/trunk@103780 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:58:35 +00:00
naving%netscape.com
4b112f978b 101057 r=robinf, bienvenu sr=sspitzer Add error messages when compact fails because of insufficient disk space or writing to folder failed.
git-svn-id: svn://10.0.0.236/trunk@103779 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:48:35 +00:00
gerv%gerv.net
a768cdf897 License changes, take 2. Bug 98089. mozilla/intl/ (part 2).
git-svn-id: svn://10.0.0.236/trunk@103778 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:47:52 +00:00
gerv%gerv.net
cf694b8116 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
git-svn-id: svn://10.0.0.236/trunk@103776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:45 +00:00
alecf%netscape.com
3adcd56b31 bug 101562 - dont' use necko to unnecessarily create URIs just to load a string bundle. r=harishd, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103775 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:36:45 +00:00
hewitt%netscape.com
3a4529b94a 9656 - outliner column drag and drop rearranging, r=sspitzer, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103774 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:33:48 +00:00
pschwartau%netscape.com
0a5a3fe028 Initial add. Regression test for bug 101488.
git-svn-id: svn://10.0.0.236/trunk@103773 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:32:11 +00:00
rangansen%netscape.com
c7436e62c7 bug# 100457; r=ddrinan; r=nelsonb; r=blizzard;
sr=blizzard; Patch to put in proper handling of unrecognized
cert errors in psm


git-svn-id: svn://10.0.0.236/trunk@103772 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:28:24 +00:00
gerv%gerv.net
42bc96966b Use vendor-neutral version of translation UI from Alis Technologies. Bug 77207. r=hwaara, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@103771 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:19:34 +00:00
gerv%gerv.net
1336d4c729 License changes, take 2. Bug 98089. mozilla/gfx/.
git-svn-id: svn://10.0.0.236/trunk@103770 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:16:04 +00:00
bryner%netscape.com
2a42400611 Bug 100921 - cannot tab into certain dialog fields. wrap-around of tabbing within a single document had regressed. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@103767 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:03:57 +00:00
hewitt%netscape.com
b362d1d395 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103766 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:35:36 +00:00
dougt%netscape.com
15aec61064 uses strtok_r if avaliable. r=doug/cls, sr=rpotts, patch by drepper@cygnus.com. bug 99248
git-svn-id: svn://10.0.0.236/trunk@103764 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:31:27 +00:00
gerv%gerv.net
f2fd909b29 License changes, take 2. Bug 98089. mozilla/extensions/.
git-svn-id: svn://10.0.0.236/trunk@103763 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:31:24 +00:00
nelsonb%netscape.com
a91e3f73be Add a few new OIDs for AES and one old semi-bogus OID for DSA. 55048.
git-svn-id: svn://10.0.0.236/trunk@103762 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:29:30 +00:00
mkaply%us.ibm.com
795e0731ff #100300
r=pedemont, sr=blizzard
OS/2 only - new filepicker based on OS/2 file dialog - remove old stuff


git-svn-id: svn://10.0.0.236/trunk@103761 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:03:21 +00:00
mkaply%us.ibm.com
fb03e71231 #100300
r=pedemont, sr=blizzard
OS/2 only - new filepicker based on OS/2 file dialog


git-svn-id: svn://10.0.0.236/trunk@103760 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:01:57 +00:00
jgaunt%netscape.com
20839ce556 bug 100772 bug 98777 accessible support for XUL
Description, Label, Button
r=aaronl sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@103759 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:59:55 +00:00
gerv%gerv.net
aade3081c8 License changes, take 2. Bug 98089. mozilla/embedding/.
git-svn-id: svn://10.0.0.236/trunk@103758 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:58:40 +00:00
gerv%gerv.net
3821428085 License changes, take 2. Bug 98089. mozilla/editor/.
git-svn-id: svn://10.0.0.236/trunk@103757 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:53:13 +00:00
jgaunt%netscape.com
b05231e968 bug 100772 and bug 98777 - accessibility support for XUL Descriptions, Labels and Buttons
idl and mac mcp files only -- missed something in the mcp
r=aaronl sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@103756 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:46:23 +00:00
gerv%gerv.net
612ee840db License changes, take 2. Bug 98089. mozilla/dom/.
git-svn-id: svn://10.0.0.236/trunk@103755 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:43:09 +00:00
loadrunner%betak.net
4903a65bff bug 97541, r=cmanske, sr=kin, Enable multiple spellcheckers in mail/composer
git-svn-id: svn://10.0.0.236/trunk@103754 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:41:49 +00:00
jgaunt%netscape.com
eeb62b09a4 bug 100772 and bug 98777 - accessibility support for XUL Descriptions, Labels and Buttons
idl and mac mcp files only
r=aaronl sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@103753 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:41:10 +00:00
loadrunner%betak.net
4035039e1e bug 95541, r=cmanske, sr=kin, Enable multiple spellcheckers in mail/composer
git-svn-id: svn://10.0.0.236/trunk@103752 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:39:47 +00:00
rginda%netscape.com
77ae4c5463 - venkman only -
remove duplicate rule
add blacklist rules


git-svn-id: svn://10.0.0.236/trunk@103751 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:32:56 +00:00
aaronl%netscape.com
788d349827 Bug 98781. Active Accessibility: XUL <image> element support. sr=hyatt, r=jgaunt
git-svn-id: svn://10.0.0.236/trunk@103750 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:32:32 +00:00
rginda%netscape.com
7e095bbaca - venkman only -
change prefixes for ETRACE and ERROR messages, make ERROR background color easier on the eyes


git-svn-id: svn://10.0.0.236/trunk@103749 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:32:10 +00:00
rginda%netscape.com
af9a89c033 - venkman only -
add version and blacklist strings


git-svn-id: svn://10.0.0.236/trunk@103748 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:31:07 +00:00
rginda%netscape.com
7af8a20e87 - venkman only -
add reload command
add comments


git-svn-id: svn://10.0.0.236/trunk@103747 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:30:02 +00:00
rginda%netscape.com
83fe864efe - venkman only -
add version info
implement enable/disableReloadCommand


git-svn-id: svn://10.0.0.236/trunk@103746 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:28:57 +00:00
rginda%netscape.com
c03b22464f - venkman only -
move debugger menu item from tasks to tasks->tools


git-svn-id: svn://10.0.0.236/trunk@103745 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:27:36 +00:00
rginda%netscape.com
96b60b0799 - venkman only -
add blacklist nodes, not reflected in the UI yet
implement reloadSource on SourceRecord, to reload the underlying source text


git-svn-id: svn://10.0.0.236/trunk@103744 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:26:51 +00:00
rginda%netscape.com
969e91ec56 - venkman only -
add blacklist and version strings


git-svn-id: svn://10.0.0.236/trunk@103743 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:25:21 +00:00
rginda%netscape.com
5243423bff - venkman only -
implement reload command


git-svn-id: svn://10.0.0.236/trunk@103742 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:24:36 +00:00
rginda%netscape.com
c6b4ff2a01 - venkman only -
add type checking to formatValue, fix bug in formatValue -> array


git-svn-id: svn://10.0.0.236/trunk@103741 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:23:41 +00:00
rginda%netscape.com
004f80ebea - venkman only -
pass drag and drop related events to the TOViewRecord, if it knows how to deal


git-svn-id: svn://10.0.0.236/trunk@103740 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:22:02 +00:00
hyatt%netscape.com
371741758e backing out 94836, since it did not have UI review.
git-svn-id: svn://10.0.0.236/trunk@103739 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:21:47 +00:00
dougt%netscape.com
dd310a2b40 protects against crash when calling smprintf with a null argument. r=me, sr=darin@netscape. patch submitted by risto.kankkunen@iki.fi. bug number 100293.
git-svn-id: svn://10.0.0.236/trunk@103738 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:21:14 +00:00
rginda%netscape.com
3d9f84418c - venkman only -
initial add of blacklist icons


git-svn-id: svn://10.0.0.236/trunk@103737 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:20:29 +00:00
depstein%netscape.com
d50afb9d7b added stopALL flag for nsIWebNav->Stop().
git-svn-id: svn://10.0.0.236/trunk@103736 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:20:25 +00:00
hwaara%chello.se
c991f5b6c8 #94180, fix regression from XUL 1.0 change: make alternative 3pane's grippy be center-aligned.
r=stephend, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@103735 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:18:11 +00:00
hewitt%netscape.com
aa358ac974 9656 - outliner column drag and drop rearranging, r=sspitzer, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103734 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:17:47 +00:00
hewitt%netscape.com
f15e8fc2e2 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103733 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:17:00 +00:00
heikki%netscape.com
a265cb4587 Bug 95489, attempting to fix this topcrash with a null-check. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@103732 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:16:41 +00:00
sfraser%netscape.com
72d1338b0a Fix for bug 67409 -- don't use the necko connection counts to see if we're busy, because mailnews holds IMAP connections open, and that causes us to remain busy for too long. Looking for pending PLEvents is enough. r=sdagley, saari, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@103731 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:15:03 +00:00
jgaunt%netscape.com
a486effad8 bug 98781 - accessibility for XULImage elements.
for aaronl
idl and mcp file
r=jgaunt sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@103730 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:13:45 +00:00
av%netscape.com
934a0ed1b4 Fix for bug 91095 -- Default Plugin bypassed if 'code' attribute is missing in 'applet' tag, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103728 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:04:24 +00:00
nicolson%netscape.com
34f07e2fe4 Fix 96779: UserCertConflictException always gets thrown when importing user cert.
git-svn-id: svn://10.0.0.236/trunk@103727 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 21:39:21 +00:00
bstell%netscape.com
2577eb1c6a bug 101370, r=adamlock, rs=alecf
fix bustage from checkin (bug 95518); make SearchNode and
SetUpFontCharSetInfo interact as before


git-svn-id: svn://10.0.0.236/trunk@103726 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 21:12:18 +00:00
ian.mcgreer%sun.com
7d1e9b7860 check in the nssItem_ interface
git-svn-id: svn://10.0.0.236/trunk@103725 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 20:48:51 +00:00
sonja.mirtitsch%sun.com
13d0ceb40b backing out changes until coredump of testclnt is fixed
git-svn-id: svn://10.0.0.236/trunk@103723 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 20:14:20 +00:00
shrutiv%netscape.com
b1f9b42a7d Fix for bug 101424: No error checking for port number in "Customizing
proxies" screen (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103720 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 16:52:52 +00:00
sonja.mirtitsch%sun.com
a2e0f2ad6d added tests of 3 new ciphers in TLS and SSL
git-svn-id: svn://10.0.0.236/trunk@103719 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 16:00:00 +00:00
alecf%netscape.com
2fc2f3f6c5 remove xpinstall's dependency on nsIAppShellComponent*.h
sr=sfraser bug 76339


git-svn-id: svn://10.0.0.236/trunk@103718 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 14:56:47 +00:00
pinkerton%netscape.com
d6389374e7 don't associate .jar and .dat files with mozilla. r=sdagley/sr=sfraser. bug# 100065
git-svn-id: svn://10.0.0.236/trunk@103717 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 14:41:53 +00:00
nboyd%atg.com
40a7e95769 Patch from Igor:
Currently omj/TokenStream and omj/optimizer/Optimizer.java both contain
code to convert number value to a wrapper object of smallest size. The
attached patch moves this wrapping to Node constructor to avoid code
duplication and eliminate special treatment of exact integers in
Optimizer.java.


The constant folding code in omj/optimizer/Optimizer.java currently always
replaces x * 1, x - 0 by simply x which does not force the toNumber convertion,
which is visible, for example, via typeof. For example, when running at
optimization level 2, the following

function f() {
    return "0" * 1;
}

print(typeof(f()));

prints "string" instead of expected "number".

The const_fold.patch fixes this via replacing x*1 by (+x) to force number convertion.

It assumes that the patch with number wrapping changes is in place.


git-svn-id: svn://10.0.0.236/trunk@103716 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 14:09:22 +00:00
nboyd%atg.com
f4a7b928b8 Currently omj/TokenStream and omj/optimizer/Optimizer.java both contain code to
convert number value to a wrapper object of smallest size. The attached patch
moves this wrapping to Node constructor to avoid code duplication and eliminate
special treatment of exact integers in Optimizer.java.


git-svn-id: svn://10.0.0.236/trunk@103715 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 14:08:08 +00:00
rods%netscape.com
96d692a5ec Removed setting page height to 5 pages when printing a document "AsIs"
Also, added special case code for sizing of "AsIs" documents when they
are positioned 0,0
Bug 100797 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@103713 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 13:00:04 +00:00
jaggernaut%netscape.com
2e3e10626b Bug 100116: remove window mediator's public dependency on rdf.
Fixing bustage by adding a #include "nsISupportsArray.h" as was done to the Windows counterpart of this.


git-svn-id: svn://10.0.0.236/trunk@103712 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 10:58:11 +00:00
jaggernaut%netscape.com
f01c438d1f Fixing myotonic bustage (add "timer" and "uriloader" to REQUIRES)
git-svn-id: svn://10.0.0.236/trunk@103711 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 10:46:39 +00:00
jaggernaut%netscape.com
481ff2b35e Bug 100764: remove NS_ConvertABCtoXYZ(CharT). r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@103710 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 09:37:13 +00:00
jaggernaut%netscape.com
5938d73d86 Bug 100750: string iterator users should use correct typedefs. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@103709 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 09:35:50 +00:00
aaronl%netscape.com
47a7eeb765 Bug 100498. Active accessibility: Clear, consistent events for page load busy states. r=jgaunt, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@103708 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 08:34:42 +00:00
brendan%mozilla.org
d5ee6f816f Report uncaught exceptions from all JS_Compile* APIs (97646, sr=jband&shaver).
git-svn-id: svn://10.0.0.236/trunk@103707 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 06:43:33 +00:00
attinasi%netscape.com
0259fc9d5a Don't allow consecutive images to wrap in table cells with percentage width. r=kmcclusk sr=waterson b=100568
git-svn-id: svn://10.0.0.236/trunk@103706 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 06:31:46 +00:00
stephend%netscape.com
5dfc550bec Bug 94180. Splitter appears to the left instead of center (fixed address book) r=kerz@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103705 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 06:04:50 +00:00
dmose%netscape.com
2496c27f9e xpinstall packaging changes (not built by tinderbox) for registering mozldap chrome package correctly (bug 79935). r=ssu@netscape.com; sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@103704 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 06:01:43 +00:00
aaronl%netscape.com
180502a51d Backing out 100498 for now. Mac problems
git-svn-id: svn://10.0.0.236/trunk@103703 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 05:54:10 +00:00
aaronl%netscape.com
8626b5168e Bug 100498. Active Accessibility: clear, consistent events for page load busy states. Missing file in checkin. r=jgaunt, sr=waterson. Accessible.cpp
git-svn-id: svn://10.0.0.236/trunk@103702 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 05:23:45 +00:00
aaronl%netscape.com
7086d51499 Bug 100498. Active accessibility: Clear, consistent events for page load busy states. r=jgaunt, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@103701 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 04:52:14 +00:00
stephend%netscape.com
08d34f034d Bug 57650. JS strict warnings in MsgComposeCommands.js r=varada@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103700 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 04:16:04 +00:00
waldemar%netscape.com
29947be92b Renamed local-variable to variable
git-svn-id: svn://10.0.0.236/trunk@103699 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 03:51:24 +00:00
waldemar%netscape.com
f76173920f Tweaked HTML formatting
git-svn-id: svn://10.0.0.236/trunk@103698 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 03:51:12 +00:00
waldemar%netscape.com
1e0d4a39ef Added algorithm, stmt, and lvl styles. Obsoleted semantics styles.
git-svn-id: svn://10.0.0.236/trunk@103697 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 03:50:36 +00:00
waldemar%netscape.com
965032d74d Added support for algorithm styles
git-svn-id: svn://10.0.0.236/trunk@103696 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 03:49:47 +00:00
waldemar%netscape.com
5c2495a607 Tweaked Word styles
git-svn-id: svn://10.0.0.236/trunk@103695 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 03:49:27 +00:00
waldemar%netscape.com
8dcb0a0e97 Added support for the 'named' function parameter attribute. Removed .class. Renamed production names to British spelling.
git-svn-id: svn://10.0.0.236/trunk@103694 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 03:48:53 +00:00
waldemar%netscape.com
73a4a54d1d Added named
git-svn-id: svn://10.0.0.236/trunk@103693 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 03:47:52 +00:00
waldemar%netscape.com
653ef11c7d Fixed the precedence of neg
git-svn-id: svn://10.0.0.236/trunk@103692 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 03:46:57 +00:00
jaggernaut%netscape.com
4589ddb0b6 Clean up REQUIRES, r=cls
git-svn-id: svn://10.0.0.236/trunk@103690 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 02:56:54 +00:00
srilatha%netscape.com
bb5c5d55a2 Fix for bug # 97502. setting gUpdate=false in oncancel()
r=mitesh, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@103688 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 02:27:52 +00:00
bbaetz%cs.mcgill.ca
88b28e0548 Additional fix for bug 99233, rs=darin
git-svn-id: svn://10.0.0.236/trunk@103686 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 02:14:19 +00:00
mcafee%netscape.com
f88320c545 Adding check for Time::HiRes for gettimeofday(), this perl package can give us 1ms resolution instead of default of 1s resolution. tbox instances will need to symlink in gettime.pl.
git-svn-id: svn://10.0.0.236/trunk@103683 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:36:11 +00:00
gerv%gerv.net
ed9b258739 License changes, take 2. Bug 98089. mozilla/content/.
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
sonja.mirtitsch%sun.com
ad866f8fa2 added log information for tinderbox
git-svn-id: svn://10.0.0.236/trunk@103681 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:27:59 +00:00
wtc%netscape.com
1fadf88660 Bugzilla bug 83593: worked around a possible HP-UX B.11.00 bug, where
getpeername() occasionally fails with ENOTCONN after a successful
completion of non-blocking connect.


git-svn-id: svn://10.0.0.236/trunk@103680 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:25:41 +00:00
gerv%gerv.net
6a0a795977 License changes, take 2. Bug 98089. mozilla/db/, mozilla/dbm/.
git-svn-id: svn://10.0.0.236/trunk@103679 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:25:13 +00:00
shrutiv%netscape.com
3a81339133 Fix for bug 96744: File path given for Addt'l Components can't be removed
Making the component path an editable text field (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103675 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:12:36 +00:00
gerv%gerv.net
4c7ac5dfa4 License changes, take 2. Bug 98089. mozilla/config/, mozilla/caps/, mozilla/build/.
git-svn-id: svn://10.0.0.236/trunk@103674 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:03:58 +00:00
mcafee%netscape.com
75f0d32505 Time::HiRes wrapper, code=jrgm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103673 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:49:38 +00:00
gerv%gerv.net
c125e13670 License changes, take 2. Bug 98089. mozilla/accessible/.
git-svn-id: svn://10.0.0.236/trunk@103672 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:48:50 +00:00
akkana%netscape.com
3c9ba5b911 Unix/Win makefiles for 66345. r=cmanske, sr=sfraser. Not yet part of the build
git-svn-id: svn://10.0.0.236/trunk@103671 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:45:54 +00:00
dp%netscape.com
5928625a80 bug 100682 temporary way to get service without creating a new
one. This will get fixed the right way along with other api changes
for component and servicemanager r=sfraser/dougt, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@103669 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:38:44 +00:00
sfraser%netscape.com
3730095eb7 Fix for bug 100700 -- save and restor the GDevice along with the drawing port to fix blank window problems with Carbon, and with ATM installed. r=pierre, sr=scc
git-svn-id: svn://10.0.0.236/trunk@103668 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:27:24 +00:00
dp%netscape.com
b204a73fbc bug 100834 Deferring enumeration of search plugins directory until
REALLY required. r=rjc@rjcdb.com, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103666 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:22:45 +00:00
dp%netscape.com
c0acdf26c5 bug 29063 Removing unneccessary stat() r/sr=waterson/alecf
git-svn-id: svn://10.0.0.236/trunk@103665 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:19:52 +00:00
ddrinan%netscape.com
a8853422a2 Bug 100213 - Crash in GetOCSPResponders. r=rangansen,sr=kin
git-svn-id: svn://10.0.0.236/trunk@103662 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 00:08:48 +00:00
jaggernaut%netscape.com
5fc8712864 Remove dead string files from the tree, r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@103661 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 23:55:19 +00:00
alecf%netscape.com
5003eaa90c oops, forgot to check this in - now that window mediator no longer drags in rdf, manually pull in nsISupportsArray to fix bustage (bug 100116)
git-svn-id: svn://10.0.0.236/trunk@103660 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 23:36:48 +00:00
bienvenu%netscape.com
c26065d3d9 fix leak of offline imap playback object r=naving, sr=sspitzer 101265
git-svn-id: svn://10.0.0.236/trunk@103659 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 23:36:40 +00:00
bienvenu%netscape.com
7ea0ab2bf6 fix leak of offline imap playback object r=naving, sr=sspitzer 101265
git-svn-id: svn://10.0.0.236/trunk@103658 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 23:28:15 +00:00
bienvenu%netscape.com
51025977ec prevent biff from firing during shutdown r=naving, sr=sspitzer 101209
git-svn-id: svn://10.0.0.236/trunk@103657 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 23:20:02 +00:00
bienvenu%netscape.com
fbec06d22e fix 101143 r=dp, sr=waterson shutdown observer skipped if previous observer removes itself upon shutdown notification
git-svn-id: svn://10.0.0.236/trunk@103656 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 23:07:44 +00:00
bbaetz%cs.mcgill.ca
62bc92111a Bug 99233. Increase the pipe's segment size so that commands don't get
split up over multiple packets, which should fix some broken
servers/firewalls.  r=timeless, r/sr=dougt


git-svn-id: svn://10.0.0.236/trunk@103655 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:58:40 +00:00
dbradley%netscape.com
203b5a336d patch from bug 99838 - Changes to remove xpconnects dependency on DOM r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@103654 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:57:47 +00:00
shanjian%netscape.com
77abc0c095 #93330 Manually override charset doesn't work in View | Page Source window
r= jag , sr=waterson


git-svn-id: svn://10.0.0.236/trunk@103653 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:53:26 +00:00
radha%netscape.com
cb2d8401bb Fix for bugs 87143 - Problems with setting nsSHistory::SetmaxLength()
92664 - nsISHistoryListener::OnHistoryGotoIndex() doesn't fire all the time.
r=mcafee, sr=alec


git-svn-id: svn://10.0.0.236/trunk@103652 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:53:20 +00:00
dbradley%netscape.com
df570f5b2c added files: mozilla/js/src/xpconnect/idl/nsIXPCScriptNotify.idl
git-svn-id: svn://10.0.0.236/trunk@103651 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:53:00 +00:00
dbradley%netscape.com
3223174017 patch from bug 99838 - Changes to remove xpconnects dependency on DOM r=jband, sr=jst
git-svn-id: svn://10.0.0.236/trunk@103649 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:48:35 +00:00
naving%netscape.com
de0777c655 52460 r=bienvenu sr=mscott. Allow subfolders for pop3 inbox folder.
git-svn-id: svn://10.0.0.236/trunk@103648 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:47:16 +00:00
pinkerton%netscape.com
bb00ed7bcb oops, left in a debug printf.
git-svn-id: svn://10.0.0.236/trunk@103647 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:43:56 +00:00
bzbarsky%mit.edu
f21726b0d5 Add a document.contentType attribute to allow getting the MIME type of
the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@103646 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:43:23 +00:00
pinkerton%netscape.com
f22f1d15a3 implements code for responding to hidden/collapsed attributes on top-level menus. bug 100122. r=saari/sr=sfraser/a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@103644 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:40:26 +00:00
bzbarsky%mit.edu
c6d1988306 Fix linux topcrash bug 97970. Make AddMimeInfoToCache do some more
error checking than it used to.  r=timeless, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@103643 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:39:17 +00:00
bzbarsky%mit.edu
efc4c963e6 making the "Enabling quirk stylesheet" message only show up for some
people who care (even in debug builds).  bug 100983, r=dmose, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@103642 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:36:43 +00:00
bzbarsky%mit.edu
6fec871479 Making view source load its stylesheet even when highlighting is off --
it's needed for wrap and the like.  bug 22022, r=rbs,doron sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103641 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:34:47 +00:00
alecf%netscape.com
f1fb79c6f5 fix for 100116 - remove window mediator's public dependency on rdf
r=jag, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@103640 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:31:49 +00:00
waterson%netscape.com
3f8ee6abf7 Bug 97775. Modify serializer to emit typed nodes when appropriate; patch courtesy tingley@sundell.net, r=shaver, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@103639 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:31:05 +00:00
sspitzer%netscape.com
9b9d1e738c fix for #101061. use nsDependentString to avoid copying the body of a message (twice)
when replying.  r=sfraser@netscape.com, sr=kin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@103638 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:30:39 +00:00
pinkerton%netscape.com
27d2dee35d use OS routine to sub out the menubar and dock on OSX/Carbon. r=sdagley/sr=sfraser/a=chofmann. bug# 83570.
git-svn-id: svn://10.0.0.236/trunk@103637 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:28:04 +00:00
depstein%netscape.com
debe294f3b latest testembed update
git-svn-id: svn://10.0.0.236/trunk@103630 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 19:40:00 +00:00
hyatt%netscape.com
ba76f4b35a Fix for 101389.
git-svn-id: svn://10.0.0.236/trunk@103629 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 19:39:18 +00:00
nicolson%netscape.com
8ec2466035 Emphasize that we ignore the SecureRandom parameter.
git-svn-id: svn://10.0.0.236/trunk@103628 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 18:34:18 +00:00
shrutiv%netscape.com
0544e55ec0 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@103626 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 17:21:07 +00:00
rjesup%wgate.com
66b1bc3856 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.


git-svn-id: svn://10.0.0.236/trunk@103624 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 15:26:39 +00:00
karnaze%netscape.com
576d4b2e6d bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@103623 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 14:53:06 +00:00
ian.mcgreer%sun.com
84a4e20feb remove dumb question
git-svn-id: svn://10.0.0.236/trunk@103622 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 14:39:38 +00:00
peterv%netscape.com
5463b13c1e Fix for bug 100732 (content_xsl.xpt missing in packaged bits). Also adding content_base.xpt which was missing. r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@103615 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 12:03:09 +00:00
peterv%netscape.com
d10179e1a0 Fix for bug 100732 (content_xsl.xpt missing in packaged bits). r=heikki, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@103614 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 12:03:02 +00:00
rjesup%wgate.com
df88c58576 Bustage fix attempt #2. NS_GFX was there before, but gcc didn't care. I
didn't add it back in when I went back to a struct.  (Bug 97299)


git-svn-id: svn://10.0.0.236/trunk@103613 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 09:07:53 +00:00
rjesup%wgate.com
a86ff804be Bustage fix for bug 97299 checking: Win32 compiler doesn't like class and
struct mixed.  Reverted nsFont to struct.


git-svn-id: svn://10.0.0.236/trunk@103612 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 08:14:17 +00:00
rjesup%wgate.com
faf5fdf631 Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103611 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 07:35:04 +00:00
jfrancis%netscape.com
c2e63c0eb6 fix for bug 31770: content iterator performance work. Adding an array of cached dom offsets for parent heirarchy of current node in iterator. Most of this work is courtesy of rjesup. r=rjesup,jfrancis; sr=kin
git-svn-id: svn://10.0.0.236/trunk@103610 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 06:13:03 +00:00
hyatt%netscape.com
6abd5e1275 100706. Tabbrowser stuff. r=jag, sr=blake
git-svn-id: svn://10.0.0.236/trunk@103609 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 04:38:41 +00:00
peterlubczynski%netscape.com
8e2a74ee6c Incorrect GetAttributes/GetParameters for embed/object tag types patch by philanderton@yahoo.com bug 99063 r=peterl sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103608 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 04:35:02 +00:00
peterlubczynski%netscape.com
4439e39364 Bad signed conversion in plugin streaming code bug 100888 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103607 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 04:31:58 +00:00
jfrancis%netscape.com
fe8d36a5da fixes bug 96676: deletion can pull text out of inline containers
fixes bug 97685: unbulleting empty bullet list item can create nested list
r=fm; sr=kin


git-svn-id: svn://10.0.0.236/trunk@103605 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 03:43:34 +00:00
jfrancis%netscape.com
636b0444f5 fixes bug 98573: style feedback incorrect after a <br>; r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@103604 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 03:40:23 +00:00
bienvenu%netscape.com
db8ca33a33 linux didn't like that last change, backing out
git-svn-id: svn://10.0.0.236/trunk@103602 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 23:52:36 +00:00
bienvenu%netscape.com
da8d8b6528 remove unused method NS_NewImapHostSessionList rs=sspitzer, no bug
git-svn-id: svn://10.0.0.236/trunk@103601 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 23:46:47 +00:00
bienvenu%netscape.com
29d528e09c fix memory leak of imap headers when move msg filters fire rs=sspitzer 101246
git-svn-id: svn://10.0.0.236/trunk@103600 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 23:42:19 +00:00
leaf%mozilla.org
ce6b47301e Automated update
git-svn-id: svn://10.0.0.236/trunk@103599 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 23:28:34 +00:00
cls%seawood.org
ad6d30cc5e Remove unnecessary toplevel check for shm_open() as it's only used by NSPR.
Bug #96986 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@103598 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 23:17:01 +00:00
cls%seawood.org
b30f9b9685 Adding mimetype dependency caused by checkin for bug #77909.
Fixing tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@103597 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 22:33:01 +00:00
cls%seawood.org
e0466b6bd9 Copy DIR struct definition from dbm/include/winfile.h for win32 to remove questionable dependency upon dbm.
Bug #100966 r=pavlov sr=shaver


git-svn-id: svn://10.0.0.236/trunk@103596 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 22:23:10 +00:00
hyatt%netscape.com
63305b2fff Fix for 101177. r=pavlov, sr=ben
git-svn-id: svn://10.0.0.236/trunk@103595 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 22:20:46 +00:00
locka%iol.ie
2101bdc168 The all new web browser persist object plus changes to the assorted embedding samples to use it. b=77909 r=ccarlen@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103594 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 21:03:03 +00:00
blakeross%telocity.com
20bf2c2ceb (and removing now-unnecessary class...)
git-svn-id: svn://10.0.0.236/trunk@103593 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 20:07:18 +00:00
blakeross%telocity.com
4bc71598ef fallout from hewitt's syntax change. sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@103592 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 20:07:00 +00:00
nboyd%atg.com
facb322141 Remove obsolete class.
git-svn-id: svn://10.0.0.236/trunk@103591 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 20:01:43 +00:00
nboyd%atg.com
b38ceec6e9 Fix bug:
Hello Norris

The script should return 0, Rhino returns NaN

Steven

<script>
var trial = parseInt("0)");
alert(trial);
</script>


git-svn-id: svn://10.0.0.236/trunk@103590 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 20:01:31 +00:00
nboyd%atg.com
81ac2e3232 Patch from Igor:
Currently omj/optimizer/Codegen.java uses special classes ConstantList
and ConstantDude to store the list of static constants in the generated
class. It seems that using a simple double[] array with a constant
counter and checking via "(int)number == number" for constant types not
only eliminates these 2 classes but makes the whole code simple, see
the attached patch.

The patch also modifies nodeIsConvertToObjectOfNumber to return not a
Number, but the number node itself that is used to extract double
value directly via Node.getDouble() call. I changed it to allow  to
store values of number literals in nodes without using wrapper object.


git-svn-id: svn://10.0.0.236/trunk@103589 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 20:00:26 +00:00
nboyd%atg.com
42097520f6 Patch from Igor:
Replacing usage of ShallowNodeIterator to loop throw node children by
explicit calls to Node.getFirstChild()/ Node.getNextSibling()) with
comments when the node children list is modified while iterating
through it.

It avoids creation of ShallowNodeIterator objects and eliminates the
need to have ShallowNodeIterator class.


git-svn-id: svn://10.0.0.236/trunk@103588 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 19:58:38 +00:00
zach%zachlipton.com
dc3c9e0e97 Fix for bug 93388: Full name should be trimmed of whitespace before going
into database.

r1=Zach Lipton <zach@zachlipton.com> r2=Andreas Franke
<afranke@ags.uni-sb.de>. Patch by Christopher Aillon
<caillon@returnzero.com>.


git-svn-id: svn://10.0.0.236/trunk@103587 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 17:20:50 +00:00
zach%zachlipton.com
041ee9f94b Fix for bug 97588: localconfig should mention access.conf as well as
httpd.conf (for old apache). Simple 2line comment addition to localconfig
to inform the user they may need to look at access.conf in addition to
httpd.conf if they are using an older version of apache.

Patch by Gavin Shelley <gavins@iplbath.com> r=Zach Lipton
<zach@zachlipton.com> no 2nd review needed for this patch.


git-svn-id: svn://10.0.0.236/trunk@103586 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 17:07:55 +00:00
hwaara%chello.se
0735a417e5 #52902, "Text Size" on View menu should be "Text Zoom".
Patch by Christian Biesinger <cbiesinger@web.de>

r=hwaara, sr=blake


git-svn-id: svn://10.0.0.236/trunk@103585 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 12:52:05 +00:00
pavlov%netscape.com
dfdc106c91 adding some code to enumerate the registered image decoders (ifdef'd DEBUG_pavlov)
git-svn-id: svn://10.0.0.236/trunk@103584 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 10:01:07 +00:00
hyatt%netscape.com
e873c08225 Some kind of cvs error has hosed the mac classic browser.css file. In order to keep mac green, backing out jar.mn change.
git-svn-id: svn://10.0.0.236/trunk@103583 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 09:45:47 +00:00
hyatt%netscape.com
50550dd031 More 100706 fun. The <tabbrowser> widget. r/sr=jst,jag
git-svn-id: svn://10.0.0.236/trunk@103582 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 09:33:32 +00:00
hyatt%netscape.com
1a6805f34f More 100706 fun. r/sr=jst,jag
git-svn-id: svn://10.0.0.236/trunk@103581 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 09:30:02 +00:00
hyatt%netscape.com
f5df3da293 More 98109 goodness, making _content dynamically shiftable. r/sr=bryner,ben
git-svn-id: svn://10.0.0.236/trunk@103580 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 08:33:24 +00:00
cls%seawood.org
157d81dedd Remove dbm dependency by removing unneeded winfile.h include.
git-svn-id: svn://10.0.0.236/trunk@103579 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 07:24:39 +00:00
cls%seawood.org
247b2a0c54 Use EXPORTS instead of installing headers by hand.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103578 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 07:21:04 +00:00
blakeross%telocity.com
3e15035ab9 removing inadvertently checked in line.
git-svn-id: svn://10.0.0.236/trunk@103577 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 07:19:59 +00:00
blakeross%telocity.com
4d77ccdc7b removing attr's that are now unnecessary due to default orientation. r=hewitt sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103576 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 07:16:02 +00:00
blakeross%telocity.com
b5ebd5bacf tabbrowser looks like crap in classic. set default orientation of vertical for radiogroup, tabbox and horizontal for tabs for xul1.0 (101133). r=hewitt sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103575 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 06:58:34 +00:00
blakeross%telocity.com
fcde0211d2 composer is unusable (101142). r/sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103574 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 06:56:23 +00:00
hyatt%netscape.com
47a2323fe3 Fix for 101093. Content added dynamically using the DOM is now in the right scope if anonymous. r=blake, sr=jst
git-svn-id: svn://10.0.0.236/trunk@103573 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 05:53:32 +00:00
hyatt%netscape.com
093fc7edc3 Fix for 98109, make window._content dynamically shiftable. r=blake, sr=jst
git-svn-id: svn://10.0.0.236/trunk@103572 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 05:52:23 +00:00
zach%zachlipton.com
158508051a Have checksetup.pl block web-access to runtests.sh (by .htaccess) and
chmod +x runtests.sh so that it can be run with ./

r=bbaetz on irc, no 2nd review needed. No bug filed.


git-svn-id: svn://10.0.0.236/trunk@103571 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 04:28:17 +00:00
zach%zachlipton.com
c3991b060c Renaming *.t to be 00*.t to solve any sorting issues down the road as per
bug 97976.

No review required for tests at this time. NOT_PART_OF_BUILD


git-svn-id: svn://10.0.0.236/trunk@103570 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 04:08:44 +00:00
zach%zachlipton.com
d3d55e6e94 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@103569 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 04:02:19 +00:00
cls%seawood.org
280b52b889 Purge old headers when building with MOZ_TRACK_MODULE_DEPS set.
Bug #59454 r=jag


git-svn-id: svn://10.0.0.236/trunk@103568 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 03:44:12 +00:00
cls%seawood.org
2ac62745b5 Use default EXPORTS rules instead of installing headers by hand.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103567 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 03:34:32 +00:00
stephend%netscape.com
ad011c86ee Unused cruft removal. r=cls, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@103566 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 02:26:16 +00:00
waterson%netscape.com
60cfdaab0e Remove old unused files. r=rods, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103564 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 23:29:03 +00:00
mcafee%netscape.com
f6e80de09c switching to sourceforge cvs server, more in sync?
git-svn-id: svn://10.0.0.236/trunk@103563 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 22:05:58 +00:00
stephend%netscape.com
cb736067a7 Bug 100906. JS strict warnings in mailWindowOverlay.js r=rginda@netscape.com sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103562 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 21:56:42 +00:00
cmanske%netscape.com
1772b49e80 Use 'hidden' instead of 'collapsed' to remove items from context menu (wrong bug number in last checkin!) b=100015: Fix by neil@parkwaycc.co.uk, r=cmanske,brade sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@103561 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 19:01:58 +00:00
cmanske%netscape.com
8f50ff8376 Use 'hidden' instead of 'collapsed' to remove items from context menu, b=98567: Fix by neil@parkwaycc.co.uk, r=cmanske, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@103560 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 18:49:01 +00:00
cmanske%netscape.com
9edd8e9f3e Inlude 'img' filetype for Open file dialogs when creating links, b=98567, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@103559 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 18:44:59 +00:00
cmanske%netscape.com
7753e79195 Fixed removal of empty selection ranges after joining table cells, b=96668, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@103558 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 18:40:58 +00:00
cmanske%netscape.com
e89f78fdd0 Added first-char input filtering to 'hreflang' attribute in Advanced Edit dialog. b=88881, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@103557 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 18:33:56 +00:00
jband%netscape.com
7e37012cad I'm tired of this warning: '*/' found outside of comment. This was much discussed. But no one ever bothered to actually check in the trivial fix. r=rginda rs=jband.
git-svn-id: svn://10.0.0.236/trunk@103556 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 17:42:36 +00:00
bernd.mielke%snafu.de
6d94a901b7 bug 97905 add -B 1 to the rtest.bat in order to avoid the complete regression tree dump
on every error. With this option only the differing nodes will be printed out.
This is not part of the build.


git-svn-id: svn://10.0.0.236/trunk@103555 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 17:30:21 +00:00
hwaara%chello.se
6bc48fe8de #100542, JavaScript strict warning in printdialog.js.
Patch by Christopher Aillon <caillon@returnzero.com>

r=cbiesinger@web.de, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103552 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 14:31:05 +00:00
cls%seawood.org
47182cc8a6 Convert widget_beos over to using a generic (xpcom) module.
Remove unused native widget implementations.
Thanks to arougthopher@lizardland.net for the patch.
Bug #95348 r=cls sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@103551 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 13:41:07 +00:00
cls%seawood.org
96e5ad9048 Update REQUIRES for MOZ_MATHML & MOZ_SVG builds.
Thanks to jonsmirl@mediaone.net for the patch.
Bug #98371 r=cls


git-svn-id: svn://10.0.0.236/trunk@103550 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 13:34:38 +00:00
cls%seawood.org
12042b7023 Use OBJ_SUFFIX instead of hardcoding .o . Should fix OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@103549 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 12:49:53 +00:00
locka%iol.ie
5042d42905 NOT PART OF BUILD. Moved streaming off onto another thread to make UI responsive. First cut impl of NPN_GetValue.
git-svn-id: svn://10.0.0.236/trunk@103548 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 12:33:34 +00:00
stephend%netscape.com
cf31eed8df Bug 100907. JS strict warnings in messengerdns.js r=rginda@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103547 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 11:02:20 +00:00
hyatt%netscape.com
8ace313ea8 Fix for 100706, r/sr=jag,brendan
git-svn-id: svn://10.0.0.236/trunk@103545 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 07:33:53 +00:00
hyatt%netscape.com
b5530a97ca Checking in tabbrowser prototype. r=jag, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@103544 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 07:27:30 +00:00
varga%utcru.sk
ae57adb87a Fix for 97110. nsOutlinerBodyFrame::GetLastVisibleRow returns incorrect value.
r=varga, sr=hyatt, patch by mike@vee.net


git-svn-id: svn://10.0.0.236/trunk@103543 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 05:57:11 +00:00
leif%netscape.com
8154ee7ea7 Bug 91248: LDAP referrals hangs browser. r=dmose, sr=bienvenu, patch=leif.
git-svn-id: svn://10.0.0.236/trunk@103542 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 05:13:05 +00:00
stephend%netscape.com
80741bf14e Bug 100897. JS strict warning in searchDialog.js r=naving@netscape.com sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103540 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 03:56:22 +00:00
bryner%netscape.com
9d69f8b1b2 Bug 99962 - inspector assertions when flashing a DOM node with display: none. r=hewitt, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@103539 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 03:33:33 +00:00
cls%seawood.org
0cfaa334c0 Export the viewer samples from the toplevel webshell makefile so that we have them in release builds.
Bug #87905 r=jag


git-svn-id: svn://10.0.0.236/trunk@103537 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 03:02:01 +00:00
cls%seawood.org
cceeacbea1 Place LDAP headers into ldap subdir.
Bug #98924 r=dmose sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103536 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 02:28:40 +00:00
beard%netscape.com
bf45549385 [not part of build] OJI plugin for Mac OS X.
git-svn-id: svn://10.0.0.236/trunk@103535 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 02:12:57 +00:00
cmanske%netscape.com
e02d882fb8 Checkin fix by brade for bug 100371: remove unused code, r=cmanske, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@103534 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 02:04:54 +00:00
morse%netscape.com
384c202a91 bug 96828, fix js warning, c=gemal, r=morse, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103533 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 01:44:09 +00:00
cls%seawood.org
7598224bba Remove commented out references to mozilla xp_*.h files.
Thanks to Brian Ryner <bryner@netscape.com> for the patch.
Bug #38061 r=cls


git-svn-id: svn://10.0.0.236/trunk@103532 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 01:42:48 +00:00
morse%netscape.com
4ebd59b78f bug 99910, password manager never isn't remembered, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103531 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 01:41:42 +00:00
rginda%netscape.com
22a97b8a46 - venkman only -
bug 100943, changes needed to build jsd on os/2
patch by Dainis Jonitis, r=mkaply,rginda


git-svn-id: svn://10.0.0.236/trunk@103530 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 01:39:24 +00:00
bryner%netscape.com
f25b234892 Removing dead code. r=morse.
git-svn-id: svn://10.0.0.236/trunk@103529 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 01:38:46 +00:00
bzbarsky%mit.edu
85c12e9807 Do a case-insensitive compare on the extensions fetched from mime.types
files. Bug 101014, r=bbaetz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@103528 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 01:23:55 +00:00
bzbarsky%mit.edu
85683c8389 Better defaults for the locations of the mime.types and mailcap files
(don't assume Netscape is installed).  Bug 95504, r=bbaetz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@103527 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 01:21:53 +00:00
depstein%netscape.com
fe4d82fb11 Uploading new object model (work done by Ashish) & .cpp files for separate interface tests.
git-svn-id: svn://10.0.0.236/trunk@103523 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:49:38 +00:00
beard%netscape.com
e1323274aa [not part of build] Resource files for Mac OS X OJI plugin.
git-svn-id: svn://10.0.0.236/trunk@103521 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:39:43 +00:00
beard%netscape.com
24450010d7 [not part of build] XML project files for Pro 6 & Pro 7 to build new Mac OS X OJI plugin.
git-svn-id: svn://10.0.0.236/trunk@103520 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:38:12 +00:00
hyatt%netscape.com
0c386f7c3e Fix for 96291, leaking popups in tree widget, causing reply-all in mailcompose to fail autocompletion. r/sr=waterson,danm
git-svn-id: svn://10.0.0.236/trunk@103519 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:32:23 +00:00
hyatt%netscape.com
edd0dd382e Fix for 94180. Grippy in mail 3-pane misaligned. r=hwaara, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@103518 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:29:42 +00:00
leaf%mozilla.org
dead72402f Automated update
git-svn-id: svn://10.0.0.236/trunk@103516 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:28:36 +00:00
cls%seawood.org
ae10af6d68 Make -DHAVE_MOVEMAIL localized to mailnews.
Bug #58117 r=jag


git-svn-id: svn://10.0.0.236/trunk@103514 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:26:48 +00:00
jst%netscape.com
1d560515a4 Fixing bug 100765. nsStringKey leak in the nsDOMEvent code. r=cls@seawood.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@103511 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:25:16 +00:00
mstoltz%netscape.com
855721da6d Bug 99020, need to clear the value of a textbox when we change its type to
'file.' r=heikki, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@103510 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:24:41 +00:00
jband%netscape.com
1181621592 fix bug 100773. This protects agains infinite recursion that could occur thorugh xpconnect in QI calls on elements with multiple bindings. sr=hyatt r=brendan.
git-svn-id: svn://10.0.0.236/trunk@103509 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:24:24 +00:00
naving%netscape.com
4d21e183c5 100978 r=sspitzer sr=bienvenu. fix and/or radio button load correctly in filter editor when doing
new/edit filter.


git-svn-id: svn://10.0.0.236/trunk@103508 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:23:03 +00:00
cls%seawood.org
84a5dfec4b Use non-standard OBJ_SUFFIX so that we can safely use VPATH to grab files from other srcdirs and allow people to build in the srctree.
Bug #100851 r=jag


git-svn-id: svn://10.0.0.236/trunk@103507 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:21:59 +00:00
bienvenu%netscape.com
2217a54fa7 fix 98689 mark all read local folder leaves db invalid r=naving, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@103506 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:21:13 +00:00
mstoltz%netscape.com
63a25ad1bc Bug 101021 - omitted assignment of return value from security check.
r=harishd, sr=vidur.


git-svn-id: svn://10.0.0.236/trunk@103505 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:20:59 +00:00
cls%seawood.org
d0cd4675ca Allow Makefiles to override OBJ_SUFFIX if necessary.
Bug #100851 r=jag


git-svn-id: svn://10.0.0.236/trunk@103504 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:20:31 +00:00
serge%netscape.com
2e74f8250f fix for 74938; acrobat fails on plugin registration on Linux; r=av; sr=waterson
git-svn-id: svn://10.0.0.236/trunk@103503 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:18:55 +00:00
yokoyama%netscape.com
c9b66890f6 Bug 97224
Adding a Unicode byte check in the UTF8 converter.
Checking in for ftang.
/r=yokoyama, /sr=waterson


git-svn-id: svn://10.0.0.236/trunk@103502 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:18:39 +00:00
bienvenu%netscape.com
76be632cd5 fix move from imap to local folder marking dest message read rs=sspitzer
git-svn-id: svn://10.0.0.236/trunk@103500 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:14:19 +00:00
sspitzer%netscape.com
351b266bc0 fix for #96979. hide the Total and Unread folder columns for existing profiles.
r=mscott, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@103499 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:13:21 +00:00
radha%netscape.com
f57ce1c3c0 Fix for bug 92824. Update index in SH after onStartLoad() is called for the page. r=adamlock sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@103498 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:12:41 +00:00
radha%netscape.com
d1cf6ddf4a Fix for bug 92824. Update index in SH after onStartLoad() gets called for the page
git-svn-id: svn://10.0.0.236/trunk@103497 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:10:58 +00:00
radha%netscape.com
ec63eef899 Fix for bus 92824. Update index in session History only after onStartLoad notifications come for the page. r=adamlaock sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@103496 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:07:42 +00:00
relyea%netscape.com
61fe26d0b7 Allocate space for the slot count as well.
git-svn-id: svn://10.0.0.236/trunk@103492 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 22:53:02 +00:00
relyea%netscape.com
3b3177349b SlotFlags should have a different quote char if they aren't escaped
git-svn-id: svn://10.0.0.236/trunk@103491 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 22:52:27 +00:00
pschwartau%netscape.com
9fd36cca92 Make formatArray() work in Rhino. Improve getState() by checking for more whitespace characters.
git-svn-id: svn://10.0.0.236/trunk@103488 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 22:44:46 +00:00
pchen%netscape.com
ee539ee4e4 Fix for smoketest blocker 100702, remove extra lines caused by misapplied
patch for bug 98107


git-svn-id: svn://10.0.0.236/trunk@103470 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 20:19:39 +00:00
cls%seawood.org
4b3d12095a Adding windowwatcher to REQUIRES to fix myotonic bustage.
Caused by checkin for bug 97907


git-svn-id: svn://10.0.0.236/trunk@103468 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 19:59:35 +00:00
alecf%netscape.com
5e5b3d7e09 add url to GraphViz in the comments
git-svn-id: svn://10.0.0.236/trunk@103467 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 19:49:25 +00:00
mkaply%us.ibm.com
004476b5b7 More OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@103465 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 19:31:37 +00:00
relyea%netscape.com
d93824a08c Fix JSS required prototypes. Bug 100791
git-svn-id: svn://10.0.0.236/trunk@103463 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 19:05:46 +00:00
pinkerton%netscape.com
c3cdc9e186 make the system unit of mousewhell scrolling 3 lines on osx. r=sdagley/sr=sfraser/a=chofmann. bug# 100799
git-svn-id: svn://10.0.0.236/trunk@103459 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 18:27:41 +00:00
mkaply%us.ibm.com
eb9bf61686 One more REQUIRES issue for windows
git-svn-id: svn://10.0.0.236/trunk@103456 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 16:34:42 +00:00
ian.mcgreer%sun.com
8319e5b9ae add entrust global ca's
git-svn-id: svn://10.0.0.236/trunk@103454 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 15:43:30 +00:00
mkaply%us.ibm.com
549f12e000 remove spaces in Makefile
git-svn-id: svn://10.0.0.236/trunk@103453 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 15:38:44 +00:00
mkaply%us.ibm.com
f814791b71 Windows REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@103452 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 15:22:27 +00:00
mkaply%us.ibm.com
7efa54e569 myotonic REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@103451 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 14:59:09 +00:00
alecf%netscape.com
a67226f760 oops, remove this chrome line - for REQUIRES builds only
git-svn-id: svn://10.0.0.236/trunk@103450 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 14:28:26 +00:00
alecf%netscape.com
0e4d766ac2 check in non-perl use of REQUIRES line to speed the build (bug 98371)
r=cls


git-svn-id: svn://10.0.0.236/trunk@103449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 14:25:16 +00:00
timeless%mac.com
bab5dc4c87 Bug 100873 JS Hard Codes JS_HAVE_LONG_LONG to the detriment of FreeBSD
r=cls sr=shaver


git-svn-id: svn://10.0.0.236/trunk@103448 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 14:09:54 +00:00
mkaply%us.ibm.com
01bcd3003a #97907
r=kaie, r=dcone, sr=jst
Checkin for Roland.Mainz@informatik.med.uni-giessen.de - add error codes to printing


git-svn-id: svn://10.0.0.236/trunk@103447 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 13:52:39 +00:00
karnaze%netscape.com
58ca0b5118 new regression tests developed by alexsavulov not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@103446 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 13:49:00 +00:00
mkaply%us.ibm.com
e8268d4b78 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@103445 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 13:46:45 +00:00
karnaze%netscape.com
a84183a301 bug 92143 - alexsavulov's patch for special handling of nowrap on <td> when there is a width. sr=attinasi, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@103444 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 13:43:18 +00:00
kin%netscape.com
ffd4f979fb Fix for bug #92215: [Table Printing] Mozilla crashes when printing the front page of slashdot
Modified nsBlockFrame::ReflowDirtyLines() so that it
removes any floaters on it's continuing frames list,
if they are on lines that are being pulled up.

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


git-svn-id: svn://10.0.0.236/trunk@103443 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 13:41:52 +00:00
hwaara%chello.se
176158cfbe #94836, fix some more issues with Open Address. Final part of cleanup.
r=doron, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103442 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 13:40:46 +00:00
hwaara%chello.se
86a9c3e8b7 #99702, removing more ugly cruft.
rs=sspitzer


git-svn-id: svn://10.0.0.236/trunk@103441 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 13:31:11 +00:00
peterv%netscape.com
d0a5cd0748 Improving transformiix test harness. Adding better error reporting, range selection, support for loading text-only reference files, ignore namespace attributes, cleanup code. Code by Pike, sicking and me. r=Pike. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@103439 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 12:23:25 +00:00
ssu%netscape.com
c872b19750 fixing bug 86869 - From URL: should be URL:. r=ssu, moa=dveditz.
git-svn-id: svn://10.0.0.236/trunk@103438 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 07:45:37 +00:00
cls%seawood.org
d6143aa0ed Adding import to REQUIRES to fix tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@103437 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 07:44:17 +00:00
mscott%netscape.com
52b4b8bd15 Bug #100608 --> for ldap, min # of result for popup is 2
r=hewitt
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@103436 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 07:33:14 +00:00
ssu%netscape.com
9203a23690 fixing bug 99526 - update uninstaller to be able to undo the new MAPI settings set by mail. r=dveditz, sr=mscott. affects windows platforms only.
git-svn-id: svn://10.0.0.236/trunk@103435 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 06:33:46 +00:00
jaggernaut%netscape.com
42e88e1d2a Fix js strict warning about trailing comma in object initializer. r=mozbot
git-svn-id: svn://10.0.0.236/trunk@103434 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 06:30:33 +00:00
dmose%netscape.com
edcb1dfc22 Fix error message display of incorrectly set search filters (bug 79935). r=leif@netscape.com, sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103429 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 05:26:32 +00:00
stephend%netscape.com
ca2a8b6e84 Bug 58571. JS strict warnings in searchDialog.js r=naving@netscape.com sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103428 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 05:11:14 +00:00
ccarlen%netscape.com
3c83c48108 Bug 99387 - turbo gain minimized due to profile support. Now observing a notifier which is sent to forget passwords without a profile shutdown. r=bhuvan/sr=mscott
git-svn-id: svn://10.0.0.236/trunk@103427 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 05:04:25 +00:00
bienvenu%netscape.com
6742d58fde fix unescaped send later uris in profile migration code r=naving, sr=sspitzer 91936
git-svn-id: svn://10.0.0.236/trunk@103426 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 04:43:16 +00:00
bienvenu%netscape.com
5e24bbb0b3 fix unescaped send later uris set up by old profile migration code r=naving, sr=sspitzer 91936
git-svn-id: svn://10.0.0.236/trunk@103425 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 04:41:20 +00:00
naving%netscape.com
d4494eb19a 70252 62437 r=bienvenu sr=sspitzer Use the platform charset while converting filter name etc
from 4x to 6x.


git-svn-id: svn://10.0.0.236/trunk@103423 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 04:34:13 +00:00
jst%netscape.com
3cb85318a9 Backing out part of last checkin that wasn't supposed to be checked in.
git-svn-id: svn://10.0.0.236/trunk@103422 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 04:33:47 +00:00
ducarroz%netscape.com
dda1ec3315 Fix for bug 57902 (second try). This time, the file size check is done after the file has been closed. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@103421 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 04:28:20 +00:00
sfraser%netscape.com
991911506c Fix for bugscape bug 8740 (nsISound does not work on Mac OS X). Have to call EnterMovies() on Mac OS X, so just moving it out of the TARGET_CARBON #ifdef. r=beard, pinkerton. sr=jst
git-svn-id: svn://10.0.0.236/trunk@103420 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 04:27:04 +00:00
darin%netscape.com
614db7419e fixes bug 97997 "easyweb.tdcanadatrust.com does not display" r=bbaetz, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@103419 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 03:59:02 +00:00
jst%netscape.com
6d5f67dfc9 Fixing bug 100847. Removing nsIXMLDocument::SetTitle() since it's not needed any more. r=heikki@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103418 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 03:55:50 +00:00
cls%seawood.org
ad96de8459 Updating REQUIRES list for mfcembed.
Bug #98371


git-svn-id: svn://10.0.0.236/trunk@103414 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 03:41:41 +00:00
bzbarsky%mit.edu
7243411c66 Bustage fix. replace nsIRequest::LOAD_FROM_CACHE with
::nsIRequest::LOAD_FROM_CACHE


git-svn-id: svn://10.0.0.236/trunk@103413 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 03:35:49 +00:00
jst%netscape.com
672cd5f0d3 Tweaking core document classname to make my last patch actually do the right thin in all cases.
git-svn-id: svn://10.0.0.236/trunk@103412 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 03:23:33 +00:00
nelsonb%netscape.com
c4b44f9b2f Add support for new TLS AES ciphersuites. Bug 87021.
git-svn-id: svn://10.0.0.236/trunk@103410 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 03:09:32 +00:00
nelsonb%netscape.com
f978c68393 Add support to TLS for new 128-bit and 256-bit AES ciphersuites. 87021.
git-svn-id: svn://10.0.0.236/trunk@103408 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 03:07:35 +00:00
shanjian%netscape.com
468203fe10 #99666 page is displayed as blank in certain situation
r=harishd, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@103407 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:38:37 +00:00
srilatha%netscape.com
e026314a27 Fix for bug # 100645. NextToken returns utf-8 string instead of ucs2.
r=dmose, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103406 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:24:19 +00:00
sspitzer%netscape.com
c5bb663095 fix for bug #98037. sometimes newsgroups would be marked as all read.
bad call to CleanupNewsgroupList(), which calls FinishXOVERLINE()
which adjusts the unread set.  r=mscott, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@103405 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:20:27 +00:00
morse%netscape.com
b6306e7966 bug 100682 domain cookies from sites having IP url's, r=sgehani, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103404 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:08:21 +00:00
hewitt%netscape.com
c12dd73fd5 93857 - Both 'To:' and 'Bcc:' options simultaneously checked in composition window, r=varada, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@103403 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:02:11 +00:00
srilatha%netscape.com
674ae0bc0b Fix for bug 98566. Adding support for simple MAPI
r=law, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103402 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:02:05 +00:00
srilatha%netscape.com
cd6584d3a7 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@103401 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:00:24 +00:00
bzbarsky%mit.edu
7634772e28 Make nsViewSourceChannel implement nsICachingChannel and nsIHttpChannel
as appropriate so that the docshell will do the right things as far as
pulling it from cache.  bug 99107, r=chak@netscape.com,
sr=darin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@103400 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:57:37 +00:00
naving%netscape.com
25580ab2be 100326 r=bienvenu sr=sspitzer Abort the compaction if writing to folder fails.
90702 r=bienvenu sr=sspitzer Update the expungedBytes for offline stores after compaction
95584 r/sr=bienvenu CleanupTempFiles in case compaction on a folder cannot start because
some other operation is in progress.


git-svn-id: svn://10.0.0.236/trunk@103399 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:40:30 +00:00
stephend%netscape.com
509ffa03df Bug 100656. about:config 'Prefs' column should read 'Preference Name' r=chipc@netscape.com, sr=sspitzer@netscape.com. Patch by Bradley Hart <bhart00@yahoo.com>
git-svn-id: svn://10.0.0.236/trunk@103398 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:39:59 +00:00
tao%netscape.com
9e76d326d7 97606: Default character coding setting is blank in pref.
(r=dveditz,sr=alecf). add navigator.proeprties to en-{win,mac}.jar.


git-svn-id: svn://10.0.0.236/trunk@103397 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:25:36 +00:00
relyea%netscape.com
d4e3d4a00f Fix assert to be correct!
git-svn-id: svn://10.0.0.236/trunk@103395 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:20:08 +00:00
tao%netscape.com
f4427c7e0f 97606: Default character coding setting is blank in pref
(r=dveditz,sr=alecf). add navigator.proeprties to en-{win,mac}.jar


git-svn-id: svn://10.0.0.236/trunk@103392 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:16:59 +00:00
shrutiv%netscape.com
8edf2285a1 Fix for bug 100204: Customized Linux build does not work if dir name
contains spaces (r=tao)
Including quotes in directory path of tar command


git-svn-id: svn://10.0.0.236/trunk@103391 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:11:19 +00:00
heikki%netscape.com
0be4058e88 Bug 100795 Mac project changes.
git-svn-id: svn://10.0.0.236/trunk@103390 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:08:36 +00:00
jst%netscape.com
8ceabb2e83 Fixing bug 100795. Removign the method load() from HTML documents, implement it only on XML documents since the name 'load' blocks existing global functions named 'load' from being called from event handlers in the document (since document.load is found before window.load in the scope of event handlers). HTMLDocument.load and XULDocument.load were never implemented any way. r=heikki@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103389 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:07:53 +00:00
waterson%netscape.com
289f661b27 Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103388 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:53:29 +00:00
bryner%netscape.com
d3fdac2234 Fixing build bustage. r=brendan.
git-svn-id: svn://10.0.0.236/trunk@103387 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:44:22 +00:00
cmanske%netscape.com
204d58e195 Tweaks to make relative url work, b=72583, r=syd, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@103386 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:38:47 +00:00
rangansen%netscape.com
f6b4428c94 r=rangansen sr=kin@netscape.com
bug# 100193 - updating PSM version


git-svn-id: svn://10.0.0.236/trunk@103385 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:20:34 +00:00
relyea%netscape.com
7cb64e2de7 Duh. Don't try to get a reference to the slot until we know that it's not NULL.
git-svn-id: svn://10.0.0.236/trunk@103383 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:13:10 +00:00
rogerl%netscape.com
273acc5945 Fixed value/type mismatch bugs. Fixed some warnings.
git-svn-id: svn://10.0.0.236/trunk@103382 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:52:06 +00:00
srilatha%netscape.com
1f34a21d06 Fix for smoketest blocker bugscape bug 9703
r=dmose,sr=sspitzer, a=granrose


git-svn-id: svn://10.0.0.236/trunk@103381 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:50:51 +00:00
beard%netscape.com
8276df6954 Fix crasher on Mac.
git-svn-id: svn://10.0.0.236/trunk@103380 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:39:06 +00:00
idk%eng.sun.com
a420243c8a fix for 57337 [libjar does not retrieve link information]
r  = dveditz@netscape.com
sr = brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@103378 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:33:23 +00:00
relyea%netscape.com
9c16ebd7f8 Sigh, some platforms have stdio.h included, some don't.
git-svn-id: svn://10.0.0.236/trunk@103377 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:19:15 +00:00
relyea%netscape.com
6f50db662d Replace variable that belongs in an ifdef.
git-svn-id: svn://10.0.0.236/trunk@103376 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:15:12 +00:00
alecf%netscape.com
b668e19883 update with clustering ability and comments
git-svn-id: svn://10.0.0.236/trunk@103375 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:01:21 +00:00
hewitt%netscape.com
a7487fd6d0 97574 - Implement toolbarbutton and kill menubutton, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103374 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:51:30 +00:00
dsirnapalli%netscape.com
0a5c6c9243 Added line var setCharsetValueTo = "ISO-8859-1";
git-svn-id: svn://10.0.0.236/trunk@103373 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:51:25 +00:00
relyea%netscape.com
fbaa312653 Fix compiler errors on HP, Linux, AIX, and Solaris
git-svn-id: svn://10.0.0.236/trunk@103372 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:16:25 +00:00
relyea%netscape.com
f13d9297bd Fix compiler warnings on Solaris, Linux, HP, and AIX
git-svn-id: svn://10.0.0.236/trunk@103371 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:15:32 +00:00
beard%netscape.com
9af53e73a4 Fix Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@103370 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:15:14 +00:00
relyea%netscape.com
0ffcdcfc2e Fix compiler warnings on AIX, Linux, HP, and Solaris.
git-svn-id: svn://10.0.0.236/trunk@103369 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:14:09 +00:00
hewitt%netscape.com
b762194700 97574 - Implement toolbarbutton and kill menubutton, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103368 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:13:03 +00:00
relyea%netscape.com
c774d09663 Fix compiler warnings on HP, AIX, Linux, and Solaris.
git-svn-id: svn://10.0.0.236/trunk@103367 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:12:23 +00:00
relyea%netscape.com
2e78d42585 Remove usage of KeyDBHandle from the jar code.
git-svn-id: svn://10.0.0.236/trunk@103366 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:11:19 +00:00
relyea%netscape.com
b5252ef10f Fix compiler warnings on HP, Linux, Solaris, and AIX.
git-svn-id: svn://10.0.0.236/trunk@103365 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:09:49 +00:00
jst%netscape.com
b931268a98 Adding new interface file, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@103364 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:09:41 +00:00
relyea%netscape.com
00c62fcc57 Fix compiler warnings on Solaris, Linux, AIX, HP.
Remove dependency on header files in softoken.


git-svn-id: svn://10.0.0.236/trunk@103363 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:07:33 +00:00
relyea%netscape.com
e14e336a0e Fix Linux warnings.
git-svn-id: svn://10.0.0.236/trunk@103362 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:02:46 +00:00
relyea%netscape.com
eca0a94b81 Fix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@103361 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:01:37 +00:00
relyea%netscape.com
22d7ca9cce Handle issues with raw keys not being visible.
git-svn-id: svn://10.0.0.236/trunk@103360 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:00:05 +00:00
relyea%netscape.com
5850b3c43f Fix compiler warnings
git-svn-id: svn://10.0.0.236/trunk@103359 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:59:11 +00:00
relyea%netscape.com
b349acd79b Compile in the new brave world where Low level structures are visible.
git-svn-id: svn://10.0.0.236/trunk@103358 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:54:33 +00:00
relyea%netscape.com
e9d550d3e0 Fix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@103357 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:52:59 +00:00
relyea%netscape.com
1a8f6540c8 rsaperf uses low level external headers. Get those headers from the
development tree.


git-svn-id: svn://10.0.0.236/trunk@103356 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:52:06 +00:00
relyea%netscape.com
689040a632 Remove unneeded references to the KeyDB data structure.
fix compilier warnings.


git-svn-id: svn://10.0.0.236/trunk@103355 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:50:21 +00:00
relyea%netscape.com
0023cdd352 Fix compilier warnings.
Remove calls to low level key structures.


git-svn-id: svn://10.0.0.236/trunk@103354 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:47:29 +00:00
relyea%netscape.com
f9427b6c6c Remove dead code.
Fix compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@103353 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:45:41 +00:00
relyea%netscape.com
6e05bd575f Fix compiler warnings.
Use the new Initalization functions for Modules.


git-svn-id: svn://10.0.0.236/trunk@103352 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:44:20 +00:00
relyea%netscape.com
d931f220fc BlapiTest required headers are no longer public. Get them from the
developement directory.


git-svn-id: svn://10.0.0.236/trunk@103350 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:42:54 +00:00
relyea%netscape.com
21438ed487 Fix warnings on Linux, Solaris, AIX, HP.
git-svn-id: svn://10.0.0.236/trunk@103349 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:41:34 +00:00
relyea%netscape.com
42c00a9b16 Export the new initialization functions
git-svn-id: svn://10.0.0.236/trunk@103348 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:40:24 +00:00
relyea%netscape.com
da09c34349 Make sure the Low level initialization function signature match. Include the
header to get the correct prototypes.


git-svn-id: svn://10.0.0.236/trunk@103347 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:39:58 +00:00
relyea%netscape.com
fba56f7d78 Fix warnings on Linux, HP, Solaris, and AIX.
git-svn-id: svn://10.0.0.236/trunk@103346 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:38:26 +00:00
relyea%netscape.com
6d1b3b062a Fix compilier warnings on AIX, Solaris, HP, and Linux.
git-svn-id: svn://10.0.0.236/trunk@103345 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:37:16 +00:00
relyea%netscape.com
236f6cb96c Fix compilier warnings on AIX, HP, Linux, and Solaris.
git-svn-id: svn://10.0.0.236/trunk@103344 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:34:42 +00:00
relyea%netscape.com
c7bce077ad 1) fix compilier warnings on AIX, Solaris, HP, and Linux.
2) remove Dependency on low key structures in the soft token.


git-svn-id: svn://10.0.0.236/trunk@103343 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:30:48 +00:00
relyea%netscape.com
2938d8768c Remove dependancy on direct calls inside softoken.
git-svn-id: svn://10.0.0.236/trunk@103342 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:26:40 +00:00
ian.mcgreer%sun.com
f3b2424469 add the diagram
git-svn-id: svn://10.0.0.236/trunk@103341 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:24:29 +00:00
relyea%netscape.com
bf40d79d07 1) fix warnings on AIX, HP, Linux, and Solaris.
2) Move private functions into private headers.

3) Sharpen the layer separation between NSS components, especially pkcs #12
and soft token.

4) Remove dead code.


git-svn-id: svn://10.0.0.236/trunk@103340 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:23:51 +00:00
ian.mcgreer%sun.com
bc5bdc252d add a trust domain diagram; suggestion for cert hash
git-svn-id: svn://10.0.0.236/trunk@103339 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:22:08 +00:00
relyea%netscape.com
285df75582 1) Fix Solaris, AIX, HP, and Linux warnings. Several were potential real
problems (mostly uninitialized variables in error cases).

2) Start separating softoken from the rest of NSS where appropriate (finish
separating out the key stuff, the cert stuff is coming).

3) Make the prototypes between the new functions consistant.


git-svn-id: svn://10.0.0.236/trunk@103338 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:05:53 +00:00
ian.mcgreer%sun.com
159f90e97a put in a test for search by nickname
git-svn-id: svn://10.0.0.236/trunk@103337 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:41:52 +00:00
ian.mcgreer%sun.com
38f6811a67 some cleanup; use list for modules
git-svn-id: svn://10.0.0.236/trunk@103336 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:40:03 +00:00
ian.mcgreer%sun.com
0e75bc6671 some cleanup; collect token certs in a list
git-svn-id: svn://10.0.0.236/trunk@103335 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:38:08 +00:00
ian.mcgreer%sun.com
6e9433a3f4 some cleanup in the list code
git-svn-id: svn://10.0.0.236/trunk@103334 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:33:27 +00:00
nicolson%netscape.com
7466c08078 Fix 100796: calling undeclared functions breaks AIX build
Workaround 100791: misspelled function prototypes in pk11func.h


git-svn-id: svn://10.0.0.236/trunk@103333 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 19:16:51 +00:00
shrutiv%netscape.com
ea91f2fe59 Fix for bug 99368: Banner bmp missing on second screen of wizard
Changing bmp file name (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103332 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 19:13:45 +00:00
edburns%acm.org
93988bc5d9 Changes to make it work on Linux.
git-svn-id: svn://10.0.0.236/trunk@103331 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 18:57:35 +00:00
dsirnapalli%netscape.com
2e68046b35 Automated smoketests for mfcEmbed.
git-svn-id: svn://10.0.0.236/trunk@103330 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 18:48:06 +00:00
shrutiv%netscape.com
1c86b6f44e Fix for bug 99409: Customized Linux build works only on WinNT platform
Including "/cygdrive/" in path for tar command (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103329 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 18:38:57 +00:00
shrutiv%netscape.com
c9965de2da Fix for bug 98384: CCK built N6.1 does not install additional components
(java, realplayer, winamp, etc.) correctly (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103328 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 18:09:03 +00:00
shrutiv%netscape.com
04200a2756 Fix for bug 96914: Support customizing proxies
Adding Proxy.ini to cck wizard (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 17:55:23 +00:00
shrutiv%netscape.com
3bc5595ff4 Fix for bug 96914: Support customizing proxies
Including Proxy screen in CCK wizard (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103326 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 17:51:07 +00:00
shrutiv%netscape.com
08af04a016 Fix for bug 96914: Support customizing proxies
UI code for proxies (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103325 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 17:48:28 +00:00
shrutiv%netscape.com
49a4405032 Fix for bug 96914: Support customizing proxies
Backend code for customizing proxies (r=tao)


git-svn-id: svn://10.0.0.236/trunk@103324 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 17:43:23 +00:00
ian.mcgreer%sun.com
951cdd10fc disable AES for blocksizes > 128 until it is fixed.
git-svn-id: svn://10.0.0.236/trunk@103323 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 17:11:08 +00:00
bienvenu%netscape.com
b76811d08d fix smoketest blocker 100747 can't send mail a=granrose
git-svn-id: svn://10.0.0.236/trunk@103321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 16:25:52 +00:00
mkaply%us.ibm.com
3cddf40f06 Bustage strnstr is wrong
git-svn-id: svn://10.0.0.236/trunk@103320 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 14:51:00 +00:00
wtc%netscape.com
32657f6603 Bugzilla bug 77788: checked in the bug fix again now that the manifest.mn
file that incorrectly set CFLAGS has been fixed.


git-svn-id: svn://10.0.0.236/trunk@103319 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 14:27:54 +00:00
mkaply%us.ibm.com
212ad7d015 #99503
r=dougt, sr=darinr
XP support for FTP to OS/2 servers


git-svn-id: svn://10.0.0.236/trunk@103318 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 14:16:14 +00:00
cmanske%netscape.com
a6b318d1c8 Small tweak to fix for bug 72583 because of fix to 97983: use 'url_Path' instead of 'url_Directory' r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103317 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 14:08:35 +00:00
locka%iol.ie
163592a42a Fix missing newline at the end. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103315 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 13:32:49 +00:00
locka%iol.ie
095099132d nsIWebBrowserSetup frozen and documented. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103314 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 13:30:59 +00:00
locka%iol.ie
86920db1c5 Added nsITooltipTextProvider.idl to Mac IDL project. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103313 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 13:28:25 +00:00
locka%iol.ie
ec8e40f618 nsITooltipTextProvider and contract id split out into its own files frozen and documented. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103312 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 13:25:40 +00:00
ccarlen%netscape.com
775ceae53b Bug 99117 - mail account creation problems under turbo. UnloadAccounts needed to reset some more things. r=bhuvan,dp/sr=mscott
git-svn-id: svn://10.0.0.236/trunk@103311 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 13:22:19 +00:00
locka%iol.ie
1e33f16866 NOT PART OF BUILD. Fix to allow multiple plugins off the same type to run at the same time. b=100549
git-svn-id: svn://10.0.0.236/trunk@103310 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 13:03:40 +00:00
locka%iol.ie
3661c917e1 nsITooltipTextProvider and contract id split out into its own files frozen and documented. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103309 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:43:28 +00:00
locka%iol.ie
098fb2416a nsITooltipTextProvider and contract id split out into its own files frozen and documented. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103308 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:40:53 +00:00
cls%seawood.org
4cdf497958 Only use LDAP_CFLAGS where needed.
Bug #98924 r=dmose


git-svn-id: svn://10.0.0.236/trunk@103307 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:30:57 +00:00
locka%iol.ie
2612c1468a nsIContextMenuListener frozen. Updated documentation. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103306 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:15:52 +00:00
locka%iol.ie
aca74ad389 nsIWebBrowser frozen. Updated documentation. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103305 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:14:18 +00:00
rods%netscape.com
3152467394 Should set PrintObject to print "AsIs" if it doesn't have children
Bug 83683 r=kmcclusk r=attinasi


git-svn-id: svn://10.0.0.236/trunk@103304 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:13:48 +00:00
locka%iol.ie
08529e3db3 nsIEmbeddingSiteWindow frozen. Updated documentation. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103303 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:11:46 +00:00
locka%iol.ie
ff90e0106a NS_InitEmbedding & NS_TermEmbedding become frozen APIs. Updated documentation. b=99181 r=chak@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103302 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:08:04 +00:00
cls%seawood.org
ba676d16bf Removing extraneous ldap.h include.
Bug #98924 r=dmose


git-svn-id: svn://10.0.0.236/trunk@103301 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:03:40 +00:00
cls%seawood.org
1e985db27c Update REQUIRES. Fixing archangel bustage.
git-svn-id: svn://10.0.0.236/trunk@103300 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 11:05:19 +00:00
cls%seawood.org
986d6a7494 Declare xml version before comments. Fixing problem with mailnews not showing up in Tasks menu.
r=pavlov sr=jst


git-svn-id: svn://10.0.0.236/trunk@103299 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 10:52:28 +00:00
peterv%netscape.com
d69ca49133 Fixing bug 65486. Implementing HTML[I]FrameElement.contentWindow, r=harishd@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103297 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 10:15:42 +00:00
cls%seawood.org
bc0787adda Initial version. Added nsCOMPtr.h
Bug #99698 not part of build (yet)


git-svn-id: svn://10.0.0.236/trunk@103296 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 10:08:33 +00:00
stephend%netscape.com
46d2fd5063 Bug 100178. Subscribe.xul changes for XUL 1.0. r=kerz@netscape.com sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103295 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 08:38:11 +00:00
simon%softel.co.il
fea5729a35 Add Arabic and Hebrew ISO standard encodings to the default list for mail edit. Bug 99108, r=momoi, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103294 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 08:07:09 +00:00
dmose%netscape.com
cc41e310ab Have the LDAP autocomplete session return an error item on failure; the user can select this item and an alert box with more details will be popped up. r=ducarroz@netscape.com, sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103293 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:59:15 +00:00
jst%netscape.com
24a0f2340e Fixing bug 65486. Implementing HTML[I]FrameElement.contentWindow, r=harishd@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103292 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:58:49 +00:00
dmose%netscape.com
faa784e099 Add support to the autocomplete widget, interfaces, and LDAP autocomplete session for returning "failure items" which allow the user to select an error entry and have it fire an arbitrary command, rather than actually filling in the text of the item. Part of bug 79935. r=hewitt@netscape.com, sr=bievenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103291 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:55:59 +00:00
jst%netscape.com
5a4ec1483a Adding new interface for bug 65486, implement HTML[I]FrameElement.contentWindow. r=harishd@netscape.com, sr=hyatt@netscape.com. Not used yet.
git-svn-id: svn://10.0.0.236/trunk@103290 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:53:37 +00:00
dmose%netscape.com
03ba9cd5db Theme changes to support LDAP autocomplete error-handling. Icons from marlon@netscape.com; css by me. r=jaggernaut@netscape.com, sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103289 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:49:54 +00:00
dmose%netscape.com
ae53bba07e Mac build system changes to jar up the LDAP chrome stuff when building with 'options ldap'. Part of fix for bug 79935; r=pavlov@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@103288 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:47:07 +00:00
dmose%netscape.com
57f5288a54 Add internationalized error message support to the LDAP XPCOM SDK; part of bug 79935. r=jaggernaut@netscape.com, sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103287 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:46:58 +00:00
hyatt%netscape.com
2ab7945bef Make XUL boxes check maxheight/maxwidth attrs as well as minwidth. r/sr=hewitt,jst
git-svn-id: svn://10.0.0.236/trunk@103286 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:46:13 +00:00
hyatt%netscape.com
e183b6f97e Fire DOM event when title changes. r/sr=waterson,jst
git-svn-id: svn://10.0.0.236/trunk@103285 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:43:56 +00:00
hyatt%netscape.com
a1d1c14ea3 Fix XUL popup listener to check for new contextmenu syntax. r/sr=hewitt,jst
git-svn-id: svn://10.0.0.236/trunk@103284 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:42:48 +00:00
hyatt%netscape.com
dbdc08cf3f Fix XUL atoms to match spec for minwidth/minheight/maxwidth/maxheight. r/sr=hewitt,jst
git-svn-id: svn://10.0.0.236/trunk@103283 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:40:45 +00:00
hewitt%netscape.com
e74681453a 97574 - implement toolbarbutton, kill menubutton, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103282 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:33:13 +00:00
hewitt%netscape.com
48aeb1be8d 97574 - Implement toolbarbutton and kill menubutton, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103281 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:10:52 +00:00
hewitt%netscape.com
5da5088f86 97574 - Implement toolbarbutton and kill menubutton (except outliner.css), r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103279 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:08:29 +00:00
jst%netscape.com
6237e41d0e Checking in Roland.Mainz@informatik.med.uni-giessen.de's fix for bug 87285, MathML broken in Xlib-toolkit and Xprint. r=rbs@maths.uq.edu.au, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103277 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 05:13:26 +00:00
rginda%netscape.com
53d25e8e30 - chatzilla only -
bug 59453, add options to turn off individual munger rules
patch by samuel@sieb.net, r=me


git-svn-id: svn://10.0.0.236/trunk@103276 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 05:04:17 +00:00
srilatha%netscape.com
4d43ce2bc5 Fix for bugscape bug #6906. sr=sspitzer.
part of simple MAPI UI checkin. added some comments.


git-svn-id: svn://10.0.0.236/trunk@103275 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 05:01:47 +00:00
nelsonb%netscape.com
a8c509b734 Generate larger block of key material correctly for SSL3 as well as TLS.
Add assert to detect if key material is ever too small again.


git-svn-id: svn://10.0.0.236/trunk@103273 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 04:36:14 +00:00
stephend%netscape.com
37c8348809 Bug 58567. JavaScript strict warnings (re-declarations). r=walk84@usa.net/naving@netscape.com, sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103271 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 04:13:42 +00:00
aaronl%netscape.com
f5cf7d0c84 Bug 98752. Clear consistent MSAA events to indicate when busy loading a page, and when finished. r=jgaunt, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@103270 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 04:09:23 +00:00
nelsonb%netscape.com
0a9d418750 Increase the amount of key material derived from the master secret to that
it will be enough for AES with 256-bit keys.


git-svn-id: svn://10.0.0.236/trunk@103268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 03:55:16 +00:00
stephend%netscape.com
1f7d17595e Bug 100509. JS strict warning (re-declaration) r=doron, sr=blake
git-svn-id: svn://10.0.0.236/trunk@103265 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 03:22:51 +00:00
naving%netscape.com
a25ea2b8eb 95584 r=bienvenu sr=mscott. Made it so that compacting folders and downnloading messages do not
overwrite each others data.


git-svn-id: svn://10.0.0.236/trunk@103264 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 03:07:59 +00:00
ducarroz%netscape.com
695c98b84e Fix for bug 88079 and bug 57902. As write to file is done using a buffer, we need to check the return code of the flush to be sure we phisically wrote the data to disk. Also check the file size when we are done writing to avoid sending empty mail. In the case we fetch a local file, verify that the file path is a valid file and not a directory. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@103263 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 02:59:58 +00:00
nelsonb%netscape.com
05dd12251a Fix pk11_DecryptInit for AES. It was telling AES to encrypt, not decrypt.
git-svn-id: svn://10.0.0.236/trunk@103262 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 02:56:18 +00:00
mkaply%us.ibm.com
9de09dfa55 OS/2 bustage
PR_STATIC_CALLBACK is not needed here


git-svn-id: svn://10.0.0.236/trunk@103261 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 02:38:56 +00:00
dbaron%fas.harvard.edu
9dff5d268e Fix crash due to unsigned integer underflow. b=100451 r=jag, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@103259 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 02:15:21 +00:00
darin%netscape.com
3a5782e22d fixes build bustage... forgot to checkin these makefile changes.
git-svn-id: svn://10.0.0.236/trunk@103258 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 02:05:50 +00:00
rogerl%netscape.com
0504d72851 Added 'version' function for test suite.
git-svn-id: svn://10.0.0.236/trunk@103257 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:41:03 +00:00
rogerl%netscape.com
4119277f1d Fixes for missing global object properties, various bug fixes.
git-svn-id: svn://10.0.0.236/trunk@103256 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:35:42 +00:00
darin%netscape.com
224e7e0865 removing unused file: nsIResChannel.idl
git-svn-id: svn://10.0.0.236/trunk@103255 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:34:13 +00:00
darin%netscape.com
11f36e31c0 mac project change for bug 99410
git-svn-id: svn://10.0.0.236/trunk@103254 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:33:37 +00:00
darin%netscape.com
2dc26f5426 fixes bug 99410 "further res protocol cleanup" r=dougt, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@103253 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:32:16 +00:00
gordon%netscape.com
1da5a472fc Fix bug 92348, browser won't start if cache capacities set to 0. Added
check to fail nsCacheService::ActivateEntry() if neither disk or memory
cache devices are enabled, or if the memory cache device is not enabled
and the request if for a non-stream-based entry. r=gagan, sr=dougt.

Also changing pref name for cache parent directory according to suggestion
in bug 78480.  r=gagan, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@103251 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:12:35 +00:00
gordon%netscape.com
eeddb9caeb Fix bug 100216, top crash on shutdown. Added null pointer check to
nsCacheEntryDescriptor::RequestDataSizeChange(). r=gagan, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@103250 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:09:01 +00:00
naving%netscape.com
88489460f3 62347 r=bienvenu sr=sspitzer Make non ascii folder names from 4x rules.dat work in 6x.
git-svn-id: svn://10.0.0.236/trunk@103249 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:59:22 +00:00
naving%netscape.com
27383dcd0f 70252 r=bienvenu sr=sspitzer. Make 4x non-ascii filter names and conditions migrate correctly to 6x.
git-svn-id: svn://10.0.0.236/trunk@103248 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:57:17 +00:00
jband%netscape.com
f20e03b41b fix bug 100222. Fix crash by only releasing other objects in xpcwrappedjs dtor if xpconnect has not yet shutdown. r=dbradley sr=jst.
git-svn-id: svn://10.0.0.236/trunk@103247 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:51:38 +00:00
peterlubczynski%netscape.com
a19be96dd8 Fix for OS X crash with bundle type plugins bug 98729 r=beard sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103245 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:46:50 +00:00
blakeross%telocity.com
03fd797622 Turbo turns off if you go to the advanced panel and press ok without making any changes (99677). r=hewitt sr=ben
git-svn-id: svn://10.0.0.236/trunk@103244 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:38:55 +00:00
varada%netscape.com
80af67899d fix for #89950;set focus to msg compose fields after select addresses dialog;r=ducarroz;sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@103243 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:38:53 +00:00
varada%netscape.com
e8c3692c0a fix for bug#99234;duplicate domain name check for send format;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@103242 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:31:14 +00:00
ian.mcgreer%sun.com
c95b1f54fe checkin of threadsafe hashtable; copied from ckfw/hash.c but using NSS types
git-svn-id: svn://10.0.0.236/trunk@103241 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:28:36 +00:00
waldemar%netscape.com
824f0e3d5e Transitioned to paragraph/DIV-based styles
git-svn-id: svn://10.0.0.236/trunk@103239 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:13:32 +00:00
waldemar%netscape.com
6cff0ce7ce Added time-to-string and time-to-short-string
git-svn-id: svn://10.0.0.236/trunk@103238 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:12:13 +00:00
sfraser%netscape.com
f40a806dad Fix for bug 97866. Fixes async file I/O to ensure that we always call WaitOnThisThread if we're doing an async call (which does not wait if the notifier has already fired). Also don't bother checking return values from PBRead/WriteAsync, since they never fail, but do check the return value of the PBReadSync call. Fixes synchronization problems on Mac OS X. r=gordon, a=wtc.
git-svn-id: svn://10.0.0.236/trunk@103237 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:08:36 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
despotdaemon%netscape.com
9260b72d4f Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@103233 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 23:04:24 +00:00
despotdaemon%netscape.com
b000958e4c Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@103232 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 23:03:15 +00:00
despotdaemon%netscape.com
c6970c8aa2 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@103231 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 22:53:40 +00:00
scc%mozilla.org
2281a4d137 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 22:39:41 +00:00
gerv%gerv.net
4448a74f22 More license whackage. We are relicensing the expat makefiles to be compatible with the LGPL and GPL but making it clear that expat itself is under James Clakrk's MIT/X license. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@103228 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:50:17 +00:00
mcgreer%netscape.com
256bdc1d8f match changes in dev, implement lookup by nickname for testing
git-svn-id: svn://10.0.0.236/trunk@103227 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:49:52 +00:00
mcgreer%netscape.com
224311fbd6 the device API is not public, so move:
NSSModule_ ==> nssModule_
NSSSlot_   ==> nssSlot_
NSSToken_  ==> nssToken
Functions which should be public can be changed individually.


git-svn-id: svn://10.0.0.236/trunk@103226 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:47:23 +00:00
mcgreer%netscape.com
2c10ed3f44 use the list to collect certs
git-svn-id: svn://10.0.0.236/trunk@103225 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 21:37:21 +00:00
scc%mozilla.org
327cf7a65a bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103222 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:40:05 +00:00
mcgreer%netscape.com
24b949d0b3 initial checkin of threadsafe list
git-svn-id: svn://10.0.0.236/trunk@103221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:20:06 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
mcgreer%netscape.com
bf22305f42 first cut at password handling. todo: implement transaction-based passwords (at a higher level?)
git-svn-id: svn://10.0.0.236/trunk@103213 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 19:08:32 +00:00
ian%hixie.ch
a6aab56db7 The first ContactMethod, namely Email.
git-svn-id: svn://10.0.0.236/trunk@103212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 18:56:05 +00:00
scc%mozilla.org
7721a318d8 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103211 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 18:55:32 +00:00
ian%hixie.ch
8458307437 Added a hook for installing new user fields so that setupInstall handlers don't have to go through the same process multiple times. Also corrected an obvious error (using a variable after checking that it couldn't be used...).
git-svn-id: svn://10.0.0.236/trunk@103208 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 18:43:06 +00:00
ian%hixie.ch
6e6fd80d50 Correcting the misspelling of the package names ('Components' not 'Component') to match the directory.
git-svn-id: svn://10.0.0.236/trunk@103207 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 18:29:39 +00:00
ian%hixie.ch
09011bc7ce Corrected the order of return values (newPassword) and removed the extraneous argument (output).
git-svn-id: svn://10.0.0.236/trunk@103206 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 18:11:03 +00:00
ian%hixie.ch
f841c45515 Cached the SMTP object to improve performance.
git-svn-id: svn://10.0.0.236/trunk@103205 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 18:05:28 +00:00
ian%hixie.ch
e857b66e93 Made the outputter be a simple service rather than a service instance to improve performance.
git-svn-id: svn://10.0.0.236/trunk@103204 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 18:01:23 +00:00
ian%hixie.ch
9c2608c334 Corrected an oversight in the service instance creation code: if a service acts as both a service instance and a normal service, it needs a special constructor to force the creation of the instance, otherwise if the service is created first it will be used again for the instances.
git-svn-id: svn://10.0.0.236/trunk@103203 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 17:56:15 +00:00
nboyd%atg.com
aa2c5f6644 Patch from Igor:
Currently Rhino source has quite a few places with code like (String)node.getDatum()
 or ((Number)node.getDatum()).doubleValue(). The patch changes this usage to call
node.getString() or node.getDouble().

It also adds new constructors to Node to accept int or double values in addition to
Object datum to replace new Node(token, new Integer(x)) by Node(token, x) etc. It
may allow in future not to create a wrapper object for int or double datum to speed
up parsing.


git-svn-id: svn://10.0.0.236/trunk@103201 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 17:01:46 +00:00
jake%acutex.net
6b6097c59e Fix for bug 97971 - Sanity check should check statuses, resolutions, everconfirmed & number of votes.
Patch by Matthew Tuck <matty@chariot.net.au>
r= jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@103198 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 15:06:43 +00:00
bzbarsky%mit.edu
75407cbbca Implement the parentRule property of CSS rules. Bug 37470, r=pierre,
sr=jst


git-svn-id: svn://10.0.0.236/trunk@103197 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 14:16:34 +00:00
mkaply%us.ibm.com
c2fa199fd5 No bug
r=mkaply, sr=blizzard
Code from aaronr - continuing to try to fix focus/etc. issues related to XWorkplace/XCenter
Man I with Mozilla had picked a focus model that wasn't so similar to Windows


git-svn-id: svn://10.0.0.236/trunk@103196 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 14:01:02 +00:00
rods%netscape.com
ce9c399a8e Make the default "submit"
Bug 59035 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@103195 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 13:00:23 +00:00
rods%netscape.com
399b9183c4 Make the default for "submit"
Bug 59035 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@103194 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:58:41 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
leaf%mozilla.org
7a358b4a58 Automated update
git-svn-id: svn://10.0.0.236/trunk@103192 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 10:28:33 +00:00
cls%seawood.org
ee20fa4afb Remove extraneous spaces from variable assignment.
Thanks to Masaki Katakai <katakai@japan.sun.com> for the patch.
Bug #100275 r=cls


git-svn-id: svn://10.0.0.236/trunk@103191 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 10:23:32 +00:00
cls%seawood.org
42546073fd Initial version of libxpcomglue win32 makefile. not part of build (yet)
Bug #99698


git-svn-id: svn://10.0.0.236/trunk@103190 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 08:09:04 +00:00
racham%netscape.com
4e0d493a22 Fixing bug 100404. Backing out changes made to to accountwizard to reflect the current xpcom component. Bug 100483 will be used to bring back these changes.
git-svn-id: svn://10.0.0.236/trunk@103189 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 07:47:59 +00:00
racham%netscape.com
22ccbd0fe7 Fixing bug 100404. Backing out changes made to xpcom that caused dependency on chrome component. AccountManager in mailnews need to be fixed as explained in bug 100483 to solve the problem in a better way.
git-svn-id: svn://10.0.0.236/trunk@103188 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 07:43:41 +00:00
jst%netscape.com
9ba2e4188b Fixing bug 100270. Crash when evaluating 'window.close();' in the JavaScript console. r=waterson@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103187 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 07:08:15 +00:00
jband%netscape.com
09fde32fce fix bug 100260. xpconnect should not hold a weak reference to a classinfo object after the xpcwrappednativeproto that was holding a strong ref is destroyed. sr=jst, r=dbradley,markh.
git-svn-id: svn://10.0.0.236/trunk@103184 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 06:22:17 +00:00
bstell%netscape.com
3b48d0d55d ports bustage fix for bug 95518
git-svn-id: svn://10.0.0.236/trunk@103183 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 06:03:47 +00:00
cls%seawood.org
6b39ce4b3d Compilers handle local declarations of 'int i' inside a for-loop differently so just declare it once at the top of the function.
git-svn-id: svn://10.0.0.236/trunk@103180 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 04:23:48 +00:00
cls%seawood.org
ebb6c99cbb Update REQUIRES list with added depedency upon uconv introduced by checkin for bug 95518. Fixing myotonic bustage
git-svn-id: svn://10.0.0.236/trunk@103179 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 04:22:21 +00:00
cls%seawood.org
57344bcda1 Declare REQUIRES list for activex control. Should fix archangel bustage
git-svn-id: svn://10.0.0.236/trunk@103178 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 04:06:01 +00:00
edburns%acm.org
8d3d442afd bug=98107
r=peterl
sr=rpotts

/* According to the HTML 4.01 spec, at
                       * http://www.w3.org/TR/html4/types.html#type-cdata
                       * ''User agents may ignore leading and trailing
                       * white space in CDATA attribute values (e.g., "
                       * myval " may be interpreted as "myval"). Authors
                       * should not declare attribute values with
                       * leading or trailing white space.''
                       */


git-svn-id: svn://10.0.0.236/trunk@103177 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 03:34:17 +00:00
ducarroz%netscape.com
05bc542a07 Fix for bug 96386. When a generic or unknown error occures while posting a message, we should report a post error instead of a send error. Also, the send unsent message listener should not display errors. Finally, the Display Send Report function should avoid displaying twice the same string. R=varada, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@103176 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 03:28:23 +00:00
bstell%netscape.com
ff63715851 bug 95518, r=yokoyama@netscape.com,r=Roland.Mainz@informatik.med.uni-giessen.de,
sr=brendan@mozilla.org,

Compress font char maps by folding the empty spaces on top of each other.


git-svn-id: svn://10.0.0.236/trunk@103175 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 03:01:54 +00:00
cls%seawood.org
40d220fe45 Create the BApplication on a seperate thread like apprunner does.
Call the native viewer app's shutdown function on SIGTERM instead of forcefully quitting the app.
Bug #99564 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103174 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 02:52:50 +00:00
bstell%netscape.com
4614cc2f7d bug 95518, r=yokoyama@netscape.com,r=Roland.Mainz@informatik.med.uni-giessen.de,
sr=brendan@mozilla.org,

Compress font char maps by folding the empty spaces on top of each other.


git-svn-id: svn://10.0.0.236/trunk@103173 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 02:52:30 +00:00
cls%seawood.org
1cc8dafd1a Change beos sighandler to get the nsAppShellService and call its shutdown function on SIGTERM rather than forcefully quitting the app.
Bug #99564 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103172 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 02:51:32 +00:00
bstell%netscape.com
682aa91ee3 bug 95518, r=yokoyama@netscape.com,r=Roland.Mainz@informatik.med.uni-giessen.de,
sr=brendan@mozilla.org,

Define the size of a PRUint32 char map, aka: 8K char map


git-svn-id: svn://10.0.0.236/trunk@103171 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 02:49:05 +00:00
hyatt%netscape.com
8b83395577 Fix for 99198, ensure that stack doesn't stretch children explicitly position at left/top of (0,0), r=bryner, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@103170 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 02:05:57 +00:00
hyatt%netscape.com
57db03f42a Fix for 99476, setting the pack attribute on boxes should cause a reflow. r=bryner, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@103169 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 01:56:03 +00:00
hyatt%netscape.com
01431ff45e Fix for 49874 and 98109, make iframes build their docshells and kick off their content load from frame construction, also enabling the primary content area to be dynamically shiftable. r=jag, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@103168 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 01:53:00 +00:00
dp%netscape.com
adddab947a bug 88844 Fixing turbo mode initialization on launch preventing xpcom double initialization. Merging branch to tip
git-svn-id: svn://10.0.0.236/trunk@103167 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 01:51:15 +00:00
cmanske%netscape.com
d9fb860dec Enable 'None' item in Format | List submenu, b=96510, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103164 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:44:12 +00:00
gerv%gerv.net
df75c81fea Plugins dir environment variable was misnamed. Renamed it to MOZ_PLUGIN_PATH. Bug 99846. r=av, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@103162 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:37:36 +00:00
cls%seawood.org
d0abe23458 Declaring win32 dependencies for smimestub.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103161 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:30:46 +00:00
cmanske%netscape.com
d2a90f73f4 Fixed disabling of menulist in Insert Character dialog; Fix by jrgm: b=96703, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103160 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:26:00 +00:00
markh%activestate.com
f466bcdf46 Cache nsIClassInfos for all Python classes. This works around a bug in
XPConnect that is soon to be fixed, but also allows us to take advantage
of the XPConnect caching, and to save rebuilding the same class info for
short-lived objects created repeatedly.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@103159 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:25:31 +00:00
tao%netscape.com
59c07e460b 95944: XPI packages not working on Linux 0.9.3. (r=ssu,sr=dveditz).
failover to profile directory when the global location isn't writable.


git-svn-id: svn://10.0.0.236/trunk@103158 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:21:21 +00:00
markh%activestate.com
168e47aee3 Remove bad tests for Unicode - we only support strings as contract IDs.
git-svn-id: svn://10.0.0.236/trunk@103157 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:20:50 +00:00
markh%activestate.com
9b20c7465f Add weak-reference test output to the expected test output.
git-svn-id: svn://10.0.0.236/trunk@103156 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:20:04 +00:00
sspitzer%netscape.com
d1576f4b41 fix for some news problems we've been having. #95320 and #59449.
in the case where the socket gets closed we need to remove it from the
connection cache.  more work needs to be done to properly clean up
the protocol instance and to fix some related issues, but this helps
the end user.  r=bienvenu, sr=sspitzer.  thanks to Phil Anderton
for the patch.


git-svn-id: svn://10.0.0.236/trunk@103155 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:19:43 +00:00
cls%seawood.org
b065cf0ab3 Updating xpinstall dependencies.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103154 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:14:33 +00:00
cls%seawood.org
75129830d7 Updating accessibility dependencies.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103153 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:11:41 +00:00
cls%seawood.org
7e0d10215d Updating profile acct dependencies.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103151 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:08:30 +00:00
blakeross%telocity.com
48a4d4ca4b editable menulists use wrong text size/font (96946). r/sr=ben
git-svn-id: svn://10.0.0.236/trunk@103150 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:06:39 +00:00
cls%seawood.org
cd40cb959c Updating xmlextras deps.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103149 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:03:53 +00:00
srilatha%netscape.com
3e93df812f Fix for bug #95122. sr=sspitzer
Missed this change in the previous checkin. SO rechecking in this file


git-svn-id: svn://10.0.0.236/trunk@103147 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:02:51 +00:00
cls%seawood.org
eda06e15a6 Updating security/ REQUIRES.
Bug #98371 moa=kaie r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103146 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:01:47 +00:00
harishd%netscape.com
cecf1d33ee 98187 - Make sure that the end tag, inline element, does not close tags in the root tag list. r=heikki,sr-vidur
git-svn-id: svn://10.0.0.236/trunk@103145 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 00:01:42 +00:00
cls%seawood.org
f8ac63ed7e Updating accessibility dependencies.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103142 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 23:48:03 +00:00
cls%seawood.org
6a55e06ff2 Add accessibility dependencies.
Bug #98371 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103131 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 23:36:42 +00:00
kin%netscape.com
237a94d4ee Patch submitted by neil@parkwaycc.co.uk
Fix for bug #80239: javascript strict warnings in editor.js

Simplify methods that check for existence of
spellchecker and find components, by checking
if they exist in Components.classes.

r=cmanske@netscape.com   sr=kin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@103130 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 23:35:19 +00:00
bienvenu%netscape.com
a33d2c43de fix regression in downloading messages for offline use and disabling commands when local message is loaded while offline r=naving, sr=sspitzer 99696 100124
git-svn-id: svn://10.0.0.236/trunk@103128 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 23:27:20 +00:00
cls%seawood.org
fb7750bb00 Delete the semaphore used to sync timer callbacks when shutting down the appshell. This should prevent the timer thread from hanging on exit.
Bug #99564 sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103126 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 23:25:30 +00:00
mcafee%netscape.com
b20fa51f21 Adding branch page
git-svn-id: svn://10.0.0.236/trunk@103125 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 23:24:28 +00:00
darin%netscape.com
d9914fb477 fixes bug 99183 "JAR channel allocates and uses a monitor even though it is
accessed exclusively by the UI thread" r=dougt, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@103124 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 23:07:57 +00:00
bryner%netscape.com
43546bcee2 Bug 64052 - don't allow chrome documents to take focus via tabbing. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@103123 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 23:07:44 +00:00
rogerl%netscape.com
a01fa23e32 Fix bug #98306, ParseAtom crash for "/[/]/" r=jst, r/sr=be.
git-svn-id: svn://10.0.0.236/trunk@103121 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:36:14 +00:00
srilatha%netscape.com
97f215fbe3 Fix for bug #95122. sr=sspitzer
Cleaning up the contents.rdf and fixing the js error


git-svn-id: svn://10.0.0.236/trunk@103120 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:26:16 +00:00
colin%theblakes.com
22e6baf645 Use a different URL for the plugin page for OpenVMS.
b=99114 r=av@netscape.com sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@103119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:23:14 +00:00
mitesh%netscape.com
f9c9f59b2d Fix for bug 80789 Changing hashing algorithm for netscape.cfg
r=bnesse and sr=alecf
checking in for chipc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@103118 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:05:57 +00:00
alecf%netscape.com
16f11bc1ec fix for bug 100310 r=jag, sr=blizzard - remove gfx dependency on string bundles, move into windows-specific module
git-svn-id: svn://10.0.0.236/trunk@103117 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:02:30 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
fdac6a026c Bug 89784: ``xlib 0.9.2 will not display to m64(8+24bit)/Expert3D/Creator3D framebuffers because of visuals/depths'', author=Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>, r=Caspian Maclean <caspian.maclean@tuxia.com>, sr=jst
git-svn-id: svn://10.0.0.236/trunk@103115 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:04 +00:00
oeschger%netscape.com
deb6947294 just changing id of help window to match the new sys tray icon on the ns side, bug=96140, r=andreww, sr=hewitt, pdt says in on trunk
git-svn-id: svn://10.0.0.236/trunk@103114 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 21:56:54 +00:00
jaggernaut%netscape.com
9233ab9978 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103113 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 21:52:15 +00:00
mitesh%netscape.com
5c8558a3a9 Fix for bug 99515 - AutoConfig hangs during Profile Migration
r=danm and sr=alecf


git-svn-id: svn://10.0.0.236/trunk@103112 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 21:52:01 +00:00
jaggernaut%netscape.com
5415c5da69 Bug 99876: [XUL Syntax] <spring/> --> <spacer/>, r=alecf, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@103111 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 21:47:32 +00:00
blizzard%redhat.com
643618026a Fix bug #80051. Attach the user running the mozilla process to the x remote windows so that another user running mozilla can run another copy of the process tothe same display. r/sr=alecf,shaver
git-svn-id: svn://10.0.0.236/trunk@103110 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 21:45:43 +00:00
jband%netscape.com
59b8e22a73 unbust XPCOM_STANDALONE. bug 66759. These days xpcom relies on nsIChromeRegistry.h too. Gak! r=dougt sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@103109 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 21:43:46 +00:00
pinkerton%netscape.com
bc0203a4f4 work around bugs in CarbonLib's ::MenuSelect() with submenus. r=saari/sr=sfraser. bug#83639
git-svn-id: svn://10.0.0.236/trunk@103108 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 21:43:45 +00:00
chak%netscape.com
181d4f9c48 Fix for #99144 - Marking nsIFactory as frozen
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@103107 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 21:40:42 +00:00
mcgreer%netscape.com
3fe2b80569 cleanup; match changes to dev/; update doc
git-svn-id: svn://10.0.0.236/trunk@103105 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 20:55:01 +00:00
mcgreer%netscape.com
bfe5a4a03b cleanup; add nssSession type to allow multiple sessions accessing the token API
git-svn-id: svn://10.0.0.236/trunk@103104 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 20:54:28 +00:00
alecf%netscape.com
a9e58e7c85 fix blocker 100312 - fix the XPIDL_MODULE lines so they aren't all content_xul
r=jag


git-svn-id: svn://10.0.0.236/trunk@103101 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 18:21:58 +00:00
jaggernaut%netscape.com
ae3ddf1d13 Clean up some of the die messages, only look for srcdirs which have "mozilla" or "ns" in them (shortcut around fancy Makefile parsing), emit one module per line.
git-svn-id: svn://10.0.0.236/trunk@103096 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 16:08:37 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
jdunn%netscape.com
9e96eff17d now fixing nebiros bustage, apparently my previous fix wasn't
liked by it.
so what I did was remove 2 instances of "for (int i = <blah>"
and replaced it with "int i;  <blah> for (i = <blah>"


git-svn-id: svn://10.0.0.236/trunk@103092 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:13:16 +00:00
cls%seawood.org
338e52b058 Updating module dependencies list
git-svn-id: svn://10.0.0.236/trunk@103091 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 12:56:49 +00:00
nboyd%atg.com
dd74cb10b1 Patch from Igor:
Currently in the interpreter mode all number literals are stored in
InterpreterData.itsICode as an index to InterpreterData.itsNumberTable
which holds the actual value.

For integers that fit 2 or 4 bytes this is an overkill and the attached
patch stores integers in InterpreterData.itsICode inline after special
TokenStream.INTNUMBER or TokenStream.SHORTNUMBERS tokens.

The changes made benchmarks to run 1.5% faster. It also saves memory
because InterpreterData.itsNumberTable is allocated only for non-integers
that present only in a small number of scripts.

In principle, it may be possible to store all numbers inline as well, but
unfortunately re-assembling of 8 bytes from InterpreterData.itsICode array
into double is rather slow operation and is not worth the hassles.

Regards, Igor


git-svn-id: svn://10.0.0.236/trunk@103090 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 12:27:23 +00:00
nboyd%atg.com
52fd793a66 Patch from Igor:
Hi, Norris!

Currently ScriptableObject.put does not check lastAccess cache during its search for
slots. When I added this check (see the attached patch) it speeded up the benchmark
suite by about 1.5% and in particular for setProp_bench.js the win was about 8%.

I think that even on multiprocessor machines it would not introduces any additional
issues  like accessing the old value in the processor cache because the put method
accesses existing properties via unsynchronized getSlot, and the check for lastAccess
is on pair with that.

Trgards, Igor


git-svn-id: svn://10.0.0.236/trunk@103089 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 12:26:10 +00:00
nboyd%atg.com
e838eaede0 Fix for problem from Felix Meschberger:
When handling an Exception the Context tries to get the current script
and line number from the Java Stacktrace. To get the indication of which
entry in the trace might be an ECMA script, the file extension ".js" is
assumed.

For our integration we use the standard extension ".ecma" which collides
with the above assumption. But we don't force this extension, we just
have a convention. We name these files ".ecma" as they are not plain
ECMA but JSP-like ECMA. That is instead of using Java as the programming
language we use ECMA. In this respect they would be ".esp".


git-svn-id: svn://10.0.0.236/trunk@103088 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 12:24:56 +00:00
jdunn%netscape.com
ce1a8e406f fixing katakai's bustage on cement and myotonic
git-svn-id: svn://10.0.0.236/trunk@103087 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 11:54:38 +00:00
katakai%japan.sun.com
1496fa7bc3 bug 84380 Need a component that generates thai presentation forms
Updates for *extensions*/ctl for prabhat@Sun, r=ftank for check-in
A Incorporate frank's review fixes (08/07)
B Bugfix in TIS620Encoder
C Fix memory corruption
D Makefile changes in pangoLite directory to install pango.modules


git-svn-id: svn://10.0.0.236/trunk@103086 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 10:14:38 +00:00
stephend%netscape.com
d9fd93b244 Bug 10020. JS function verifyAccounts() should be verifyAccount(null) to reflect parameter passing. r=bhuvan@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103083 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 06:56:08 +00:00
srilatha%netscape.com
0359e77c4b Fix for bug # 95122. Implementation of UI for simple MAPI
r=rdayal, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@103082 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 06:10:34 +00:00
alecf%netscape.com
d2145a5ad8 add some comments, clean up the generated graphs, etc
git-svn-id: svn://10.0.0.236/trunk@103080 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 05:46:45 +00:00
jst%netscape.com
363f1c313a Fix bug 99690. Fix crash when external apps try to open mozilla windows. r=bzbarsky@mit.edu, sr=blakeross@telocity.com
git-svn-id: svn://10.0.0.236/trunk@103079 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 05:32:03 +00:00
dougt%netscape.com
ba5ece1168 Adds Double PASV support. r=gagan, sr=darin b92582
git-svn-id: svn://10.0.0.236/trunk@103078 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 05:21:18 +00:00
bzbarsky%mit.edu
55cffed35d Fix topcrash bug 99057 (crash @
GetExtensionsAndDescriptionFromMimetypesFile). r=dbaron, sr=scc


git-svn-id: svn://10.0.0.236/trunk@103074 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 03:53:25 +00:00
jst%netscape.com
e41f11fa43 Fixing bug 81928. JS errors in XUL files were not always reported. sr=brendan@mozilla.org, r=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103072 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 03:32:03 +00:00
loadrunner%betak.net
f6d9a26100 bug 99253, Optimization on sort in pref-languages.js, patch by jrgm, r=jbetak, sr=blizzard, alecf
git-svn-id: svn://10.0.0.236/trunk@103069 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 03:12:03 +00:00
saari%netscape.com
570c005a78 adding files to IDL projects for aaronl. Accessiblity stuff, bug 82207
git-svn-id: svn://10.0.0.236/trunk@103068 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 03:09:19 +00:00
aaronl%netscape.com
6c18128152 Bug 82207. Beginning XUL MSAA support (checkboxes). r=jgaunt, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103067 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 03:09:01 +00:00
bryner%netscape.com
0e84091532 Bug 99192 - don't tab into popups. r=jag, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@103064 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:25:07 +00:00
peterlubczynski%netscape.com
6816be05a4 Fix for full-page plugin printing bug 53349 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103062 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:16:52 +00:00
peterlubczynski%netscape.com
e88c276837 Implement plugin printing bug 27478 r=av,beard sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103060 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:11:09 +00:00
nelsonb%netscape.com
838aefdfe7 Use new function SSL_GetChannelInfo(). Bugzilla bug 78959.
Also, reduce size of SSL server session cache on disk.


git-svn-id: svn://10.0.0.236/trunk@103059 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:05:08 +00:00
nelsonb%netscape.com
65c1d8ebc2 Use new function SSL_GetChannelInfo(). Bugzilla bug 78959.
git-svn-id: svn://10.0.0.236/trunk@103058 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:02:05 +00:00
nelsonb%netscape.com
c38ee88985 Implement new function SSL_GetChannelInfo(). Bugzilla bug 78959.
git-svn-id: svn://10.0.0.236/trunk@103057 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 01:59:21 +00:00
rangansen%netscape.com
1fcb4bc2c8 r=ddrinan sr=kin@netscape.com
bug# 99719; patch to regression on dialog window


git-svn-id: svn://10.0.0.236/trunk@103056 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 01:50:28 +00:00
brendan%mozilla.org
c5ed6660bd Use the maximum of fp->argc and fp->fun->nargs to bound fp->argv (97921, sr=jband&shaver).
git-svn-id: svn://10.0.0.236/trunk@103055 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 01:47:41 +00:00
sfraser%netscape.com
ad1923a9ba Fix bug 86694 -- image tiling slow on Mac. Implement repeated scaling into a temporary GWorld before final blit. sr=scc, r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@103054 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 01:39:04 +00:00
naving%netscape.com
8612278b5d 99168; r/sr=mscott fix nsMsgMailNewsUrl leak on reading imap messages
git-svn-id: svn://10.0.0.236/trunk@103052 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 00:50:56 +00:00
ddrinan%netscape.com
fb8158f193 Fix build bustage for rpotts. Removed GetProtocolHandler() method
git-svn-id: svn://10.0.0.236/trunk@103048 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 00:20:16 +00:00
dbaron%fas.harvard.edu
f25532bcbf Allow declarations in style attribute to be surrounded by braces in quirks mode. Rename ParseDeclarations to ParseStyleAttribute since that's what it does. b=99554 r=hixie,glazman sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103044 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:59:30 +00:00
dbaron%fas.harvard.edu
7bdb46f971 Make fixed positioning code check for NS_AUTOOFFSET to fix positioning of auto-sized fixed positioned elements relative to bottom or right. b=98579 r=waterson sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103043 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:55:58 +00:00
pschwartau%netscape.com
9017fd7bcd Forgot to remove these comment-marks.
git-svn-id: svn://10.0.0.236/trunk@103042 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:55:06 +00:00
pschwartau%netscape.com
05556de073 Skip regression test for bug 100199 until the bug is fixed.
git-svn-id: svn://10.0.0.236/trunk@103041 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:53:12 +00:00
sspitzer%netscape.com
0d3dfb1778 fix for #99491. persist mailnews sidebar height by persisting the outliner height.
r=varada, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@103040 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:51:07 +00:00
pschwartau%netscape.com
2041d901f7 Initial add. Regression test for bug 100199.
git-svn-id: svn://10.0.0.236/trunk@103039 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:49:25 +00:00
sdagley%netscape.com
cf37c81c53 Fix #99556. Account for change in Mac epoch time as of MSL 6. r=wtc/sfraser
git-svn-id: svn://10.0.0.236/trunk@103038 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:42:12 +00:00
hewitt%netscape.com
12bda0148b 99102 - update skin versions in all contents.rdf, r=hyatt, sr=blake
git-svn-id: svn://10.0.0.236/trunk@103036 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:40:50 +00:00
leif%netscape.com
fb1a4be4c0 Fix for bug 82412: Preresolve DNS before calling into LDAP C-SDk. SR=bienvenu@netscape.com, r=dmose@netscape.com, patch=leif@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@103035 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:35:03 +00:00
naving%netscape.com
8e096d7cb3 99150 r/sr=sspitzer. Make minor changes to return value and freeing memory.
git-svn-id: svn://10.0.0.236/trunk@103034 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:31:28 +00:00
rpotts%netscape.com
c61968e3c4 bug #70223 (r=valeski@netscape.com, sr=mscott@netscape.com). Remove nsIURIContentListener::GetProtocol() since it is unused.
git-svn-id: svn://10.0.0.236/trunk@103032 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:22:00 +00:00
attinasi%netscape.com
602857076b Fixing erroneous addition to previously reviewed and approved patch: b=97619 r=bernd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@103028 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:14:43 +00:00
stephend%netscape.com
27f62a5e0c Bug 91751. In the Search window of mail/news, 'Search' should appear the default button. Patch by Bradley Hart <bhart00@yahoo.com> r=hwaara@chello.se/jglick@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103026 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:05:58 +00:00
sicking%bigfoot.com
b44d102f77 Make the XPath engine handle CDATA sections as text-nodes.
b=92786 r=peterv, pike sr=jst

Mixed small fixes and comments.
b=99792 r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@103025 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:02:57 +00:00
jst%netscape.com
1d23a9848c Duh! (typo in the fix for bug 95840).
git-svn-id: svn://10.0.0.236/trunk@103023 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 22:58:06 +00:00
mcgreer%netscape.com
eee6e64a55 add suggestion about new NSSSession type; crypto context question
git-svn-id: svn://10.0.0.236/trunk@103020 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 22:14:55 +00:00
aaronl%netscape.com
e0b865c6d4 Part of checkin for 82207 (XUL MSAA support). Fixing accidentally lowercased names. r=jgaunt, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103019 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 21:51:20 +00:00
naving%netscape.com
7fd837278b 99473 r/sr=mscott. fix a specific pop3 message downloading problems on linux.
git-svn-id: svn://10.0.0.236/trunk@103018 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 21:50:26 +00:00
wtc%netscape.com
a283fa5a06 lla bug 98371: specify the NSPR and DBM include directories using
MOZILLA_INCLUDES instead of SOURCE_MDHEADERS_DIR.


git-svn-id: svn://10.0.0.236/trunk@103017 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:55:25 +00:00
gordon%netscape.com
38ed8264eb Fix bug 97620 [r=rpotts, sr=brendan/ben] Added code to doom and clear
active cache entries when devices are shutdown.

Fix bug 88768 [a=nisheeth], fixing unary operator usage in nsCacheEntryDescriptor.cpp.


git-svn-id: svn://10.0.0.236/trunk@103015 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:47:09 +00:00
stephend%netscape.com
e437e5da57 Bug 99245. Using strtok is evil. Patch by Ulrich Drepper <drepper@cygnus.com> r=bnesse@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103014 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:39:31 +00:00
jaggernaut%netscape.com
cf70e0c265 Bug 79889: download progress dialog not wide enough. r=hewitt, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103008 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:28:38 +00:00
hyatt%netscape.com
1a60797acb Fix for 96899, unable to see addresswes when scrolling up in mailcompose. r=mscott, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@103007 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:24:30 +00:00
heikki%netscape.com
cc689d7c32 Bug 100106, XMLHttpRequest.responseText empty if XML parsing error. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@103006 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 20:22:16 +00:00
cmanske%netscape.com
a2feafea50 New strings for UI part of relative URL support, b=72583, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103004 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:33:53 +00:00
cmanske%netscape.com
8667c2b02f Added support to use relative URLs in link and image dialogs and let user convert to/from absolute URLs, b=72583, r=brade,akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@103003 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:31:19 +00:00
alecf%netscape.com
6f4b44bcf4 additional changes per cls for bug 98371 (REQUIRES support on Win32)
git-svn-id: svn://10.0.0.236/trunk@103000 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:14:31 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
sspitzer%netscape.com
49518c84e4 fix for trivial bug #100128. ("account ." should be "account.") rs=bienvenu
git-svn-id: svn://10.0.0.236/trunk@102998 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:05:59 +00:00
stephend%netscape.com
31b501f801 Bug 99984. JavaScript strict warning in am-prefs.js r=dmose@netscape.com, sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102997 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 18:59:42 +00:00
rginda%netscape.com
0b2e733162 patch from Pavel Hlavnicka pavel@gingerall.cz
fix ordering of user footer and menu


git-svn-id: svn://10.0.0.236/trunk@102996 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 18:58:14 +00:00
stephend%netscape.com
3c271c4e33 Bug 98381. Align and change the wording of the Subscribe dialog's label. Patch by Bradley Hart <bhart00@yahoo.com> r=stephend@netscape.com/jglick@netscape.com/robinf@netscape.com sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102995 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 18:58:09 +00:00
myk%mozilla.org
ded048fcee Fix for bug 90333: Bugzilla now displays an appropriate error message if a user hits process_bug.cgi without specifying any bugs to change.
Patch by Myk Melez <myk@mozilla.org>
r=jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@102994 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 18:55:31 +00:00
dbaron%fas.harvard.edu
7f671ce2b5 Add all extension properties to nsIDOMNSCSS2Properties, rather than just a few. Clean up nsDOMCSSDeclaration implementation of nsIDOM{,NS}CSS2Properties and implement new attributes in nsIDOMNSCSS2Properties. r=hixie sr=jst b=98500
git-svn-id: svn://10.0.0.236/trunk@102992 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 00:57:46 +00:00
ian%hixie.ch
b17b61acb3 Fixed error messages to be more accurate.
git-svn-id: svn://10.0.0.236/trunk@102991 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 00:13:16 +00:00
naving%netscape.com
5eeff8faef 98650 r/sr=mscott. Look for only '\n' as endOfLine char. This will fix
the problem of not getting mail from one specific account. At the same time
it should increase performance where ever reading buffer is involved in
mailnews because PL_strstr is changed to PL_strchr.


git-svn-id: svn://10.0.0.236/trunk@102990 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 23:55:32 +00:00
gerv%gerv.net
4aac52fcb9 Prevent security dialogs being untitled. Bug 99845. r=timeless. rs=brendan with his magic string-only-changes rubberstamp.
git-svn-id: svn://10.0.0.236/trunk@102989 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 23:27:11 +00:00
zach%zachlipton.com
be39f40d3c Fix to make the tests generate the list of files to test instead of having to update the list manually whenever a file is added
or removed. The main logic is in t/Support/Files.pm, changes to the test files are needed to allow it to function properly.

NOT_PART_OF_BUILD. No review needed for tests at this time.


git-svn-id: svn://10.0.0.236/trunk@102988 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 18:35:18 +00:00
bernd.mielke%snafu.de
d628a49eda bug 97905, adding a link from block regression tests to table regression tests,
this has already been done for linux. Creating a virtual drive s: if necessary.
r=karnaze not part of the build


git-svn-id: svn://10.0.0.236/trunk@102987 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 18:35:07 +00:00
zach%zachlipton.com
c98ca09634 Make this file test for exec calls in addition to system calls that are
one-argument and are therefore insecure.

NOT_PART_OF_BUILD, no review needed.


git-svn-id: svn://10.0.0.236/trunk@102986 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 17:52:19 +00:00
jaggernaut%netscape.com
ddbe957f8b Bug 99876: <spring/> --> <spacer/>. r=mozbot
git-svn-id: svn://10.0.0.236/trunk@102985 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 14:39:37 +00:00
bryner%netscape.com
b6d3a9eb1c Bug 98041 - xlib port of image tiling assertion fixes. Checking in for Roland.Mainz@informatik.med.uni-giessen.de. r=timeless, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@102984 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 21:20:24 +00:00
kmcclusk%netscape.com
0b16a7e103 Protect against null-pointer in nsViewManager::ProcessPendingUpdates. bug 97664 sr=mscott@netscape.com r=peterl@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102983 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 17:22:06 +00:00
mkaply%us.ibm.com
20fdde39ca myotonic REQUIRES bustage I think
git-svn-id: svn://10.0.0.236/trunk@102982 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 13:00:17 +00:00
racham%netscape.com
aaa50d8405 Fixing bugscape bug 4198. This fix allows ISPs add signature files to the user accounts. If ISP opts for attaching signature file, get the respective file and set the signature.
git-svn-id: svn://10.0.0.236/trunk@102980 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 07:57:48 +00:00
racham%netscape.com
af481b9a4d Fixing bugscape bug 4198. This fix allows ISPs add signature files to the user accounts. Adding changes to AppFileLocationProvider to get to messenger defaults.
git-svn-id: svn://10.0.0.236/trunk@102979 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 07:53:54 +00:00
myk%mozilla.org
0260babdad Fix for bug 97877: changed* operators now work for attachment statuses on query form.
Fix by Myk Melez <myk@mozilla.org>
r=jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@102978 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 07:26:21 +00:00
bryner%netscape.com
4a248d5162 Bug 89998 - deprecate titledbox in favor of groupbox. This checkin moves the groupbox functionality to groupbox.* instead of titledbox.*. Patch from andersma@luther.edu, r=bryner, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@102977 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 06:47:08 +00:00
waldemar%netscape.com
565e137cb7 Eliminated unnecessary VC6 workaround
git-svn-id: svn://10.0.0.236/trunk@102976 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 05:17:51 +00:00
wtc%netscape.com
ba11393180 Deleted unused prototypes for _PR_Unlock, _PR_SuspendThread, and
_PR_ResumeThread.


git-svn-id: svn://10.0.0.236/trunk@102975 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 04:53:12 +00:00
wtc%netscape.com
913d62f0eb Added 'const' to two arrays of constants. Thanks to Simon Fraser for
suggesting this.


git-svn-id: svn://10.0.0.236/trunk@102974 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 04:47:14 +00:00
waldemar%netscape.com
0d9075ada0 Fixed error in lexing hexadecimal literals
git-svn-id: svn://10.0.0.236/trunk@102973 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 01:52:07 +00:00
darin%netscape.com
9ba42a9da0 fix AIX & OS/2 bustage (second attempt)
git-svn-id: svn://10.0.0.236/trunk@102972 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 01:45:27 +00:00
aaronl%netscape.com
d745421739 Bug 82207. Reversing part of change, before redness occurs
git-svn-id: svn://10.0.0.236/trunk@102971 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 01:33:24 +00:00
bzbarsky%mit.edu
08e13f7472 Make insertRule() calls on a media rule which initially had no children
not fail.  Bug 98931, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102970 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 01:27:49 +00:00
bzbarsky%mit.edu
54ce63514d Make the vertical separator next to the "Home" button not show up when
there are no buttons there.  Bug 80494, patch by Fabian
<hidday@geocities.com>, r=hwaara, sr=ben


git-svn-id: svn://10.0.0.236/trunk@102969 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 01:24:16 +00:00
aaronl%netscape.com
31ef3cce70 Part of bug 82207. r=jgaunt, sr=hyatt. XUL Checkbox supporting MSAA
git-svn-id: svn://10.0.0.236/trunk@102965 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 01:15:19 +00:00
cls%seawood.org
b0014b8855 Adding htmlparser to REQUIRES. Fixing myotonic bustage
git-svn-id: svn://10.0.0.236/trunk@102964 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 00:52:51 +00:00
waterson%netscape.com
3c7ac0611c Bug 99538. Improve debug output for XUL frames. r=evaughan, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102962 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 00:45:54 +00:00
darin%netscape.com
fc46c2b828 attempting to fix AIX bustage
git-svn-id: svn://10.0.0.236/trunk@102960 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-15 00:09:09 +00:00
cls%seawood.org
cc13fa6484 Initial version for bug 99698. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102958 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 23:50:59 +00:00
darin%netscape.com
8008536b25 fixes obj dir build bustage
git-svn-id: svn://10.0.0.236/trunk@102957 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 22:29:06 +00:00
heikki%netscape.com
e15193424a Not part of build. New tests.
git-svn-id: svn://10.0.0.236/trunk@102956 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 22:02:43 +00:00
jake%acutex.net
b176facdc0 Fix for bug 30731 - Reassigning closed bugs from the mass change page caused their status to be set to new.
r= myk@mozilla.org, zach@zachlipton.com


git-svn-id: svn://10.0.0.236/trunk@102955 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:50:08 +00:00
sspitzer%netscape.com
8a7a58ad8e fix for #99657. change biff url from pop3://user@host:port?check to pop3://user@host:port?/check
the first url isn't valid (w.r.t. our parser) so we'll fail to biff.  r=bbaetz, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@102954 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:30:23 +00:00
darin%netscape.com
c25366fe24 fixes bug 99522 "nsHttpConnectionInfo need not inherit from nsISupports"
r=dougt, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@102953 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:28:41 +00:00
sspitzer%netscape.com
888dd90c77 fix ^Ms for varada.
git-svn-id: svn://10.0.0.236/trunk@102952 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:28:16 +00:00
darin%netscape.com
c643356f83 mac project changes for bug 97528
r=dp, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@102951 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:19:48 +00:00
darin%netscape.com
af57f84492 fixes bug 97528 "1200 urls created on startup about:blank" (take 2)
r=dp, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@102950 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:19:41 +00:00
mkaply%us.ibm.com
8dcfc84412 #83698
r=beard, sr=jband
This code was previously r/sr for XP_UNIX. Because the OS/2 Java plugin is based on the Unix Java plugin, we need this fix too.


git-svn-id: svn://10.0.0.236/trunk@102949 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:16:19 +00:00
heikki%netscape.com
3f9884bac0 Bug 78622, DOMParser and XMLHttpRequest failures when parser blocked (with xml-stylesheet for example). r=harishd,sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@102948 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:14:41 +00:00
jfrancis%netscape.com
f11c6a2688 fixes 88109: caret jumps down when typing after inserting table. One liner to properly set selection after table insertion. r=fm;sr=kin
git-svn-id: svn://10.0.0.236/trunk@102947 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:12:35 +00:00
sfraser%netscape.com
67b5d38f41 Fix for bug 96160 -- null check the i18n resource before use. Checking in for ftang, r=yokoyama, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@102946 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:12:17 +00:00
jaggernaut%netscape.com
0434fcaba2 Keep those ^M out of the tree please
git-svn-id: svn://10.0.0.236/trunk@102945 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:11:41 +00:00
jfrancis%netscape.com
ef3482215e fixes 97797: empty solo list item won't indent. Changes to nsHTMLEditRules::WillMakeList() to not outsmart itself so badly. r=fm;sr=kin
git-svn-id: svn://10.0.0.236/trunk@102944 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:09:55 +00:00
mkaply%us.ibm.com
ea207f9a95 #55103
r=mkaply, sr=blizzard
Code from Javier. Hack up the font code real good to account for OS/2 weirdness.
We now size things correctly.


git-svn-id: svn://10.0.0.236/trunk@102943 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:09:54 +00:00
darin%netscape.com
9d78227063 fixes bug 99562 "nsHttpTransaction should own the nsIProgressEventSink proxy
instead of nsHttpConnection" r=gagan, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@102942 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:08:58 +00:00
mkaply%us.ibm.com
acf9f8babe #95642
r=cls
When given the win/mac/unix choice for chrome, OS/2 should use win, not define its own


git-svn-id: svn://10.0.0.236/trunk@102941 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:07:39 +00:00
vidur%netscape.com
95992b1d96 Added new WSDL loading mechanism. This is not (as yet) part of the build
git-svn-id: svn://10.0.0.236/trunk@102940 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:56:54 +00:00
vidur%netscape.com
d004bebfb4 Added nsISchemaCollection interface. Started using DOM3 namespace lookup methods. This is not (as yet) part of the build.
git-svn-id: svn://10.0.0.236/trunk@102939 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:56:06 +00:00
vidur%netscape.com
66ee3d3220 Adding DOM utility classes. This could get moved to a more general location if we continue to add functionality that is common to multiple modules. For now, it's a schema/wsdl-only thing. This is not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@102937 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:54:09 +00:00
ssu%netscape.com
12eaba0200 fixing bug 99340's part regarding turbo settings in installer not retained when running installer in silent/auto modes. r=dveditz,syd sr=mscott, a=asa affects windows platforms only.
git-svn-id: svn://10.0.0.236/trunk@102936 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:52:54 +00:00
harishd%netscape.com
1770a9beef 91744 - Avoid stack overflow by replacing recursion with a simple do-while. Removed unwanted assertions. r=heikki,sr=vidur
git-svn-id: svn://10.0.0.236/trunk@102934 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:48:25 +00:00
harishd%netscape.com
beea70d29d 98261 - Instead of throwing away the current tag close it's parent such that the stack level does not go beyond the reflow depth limit. This would allow leaf tags, that follow the current tag, to find the correct node. r=heikki, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@102933 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:45:16 +00:00
harishd%netscape.com
7c0676bf06 98261 - reconcile the difference between the ContentSink's notion of depth and Layout's notion of depth. r=heikki, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@102932 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:44:41 +00:00
waterson%netscape.com
e7777863f5 Bug 99293. Clean up regression tests that throw dialogs on Unix. r=karnaze, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102929 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:32:29 +00:00
cotter%netscape.com
69d17c15fd privacy & security help content update per 85925 and 96018, a=asa, r=oeschger
git-svn-id: svn://10.0.0.236/trunk@102928 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:27:23 +00:00
sspitzer%netscape.com
6fc3865237 fix for #99671. remove unused code. r=hwaara, rs=bienvenu
git-svn-id: svn://10.0.0.236/trunk@102927 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:26:07 +00:00
varada%netscape.com
dc4bf10507 fix for bug#99393;message compose performance improvements; r=ducarroz; sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@102926 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:24:49 +00:00
kaie%netscape.com
5355c98172 b=99525 r=ddrinan/morse/relyea sr=blizzard
Completing feature added with bug 96018.


git-svn-id: svn://10.0.0.236/trunk@102924 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:19:29 +00:00
pschwartau%netscape.com
abafd4dd75 Improve visual presentation in the case where test string contains '\n'.
git-svn-id: svn://10.0.0.236/trunk@102923 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:10:49 +00:00
shrutiv%netscape.com
aa96591e89 Bug 99409: Customized Linux build works only on WinNT platform (r=tao)
Channging path names to support linux format


git-svn-id: svn://10.0.0.236/trunk@102922 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 19:42:37 +00:00
mcgreer%netscape.com
f49abbf1a2 work-in-progress document for stan development
git-svn-id: svn://10.0.0.236/trunk@102921 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 19:01:56 +00:00
jaggernaut%netscape.com
e366bf9ab7 Allow this script to work on ns trees too, and have more helpful error reporting when no srcdir was found in a Makefile.
git-svn-id: svn://10.0.0.236/trunk@102920 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 18:45:30 +00:00
mcgreer%netscape.com
cf2aaa9018 initial checkin of pkiutil.
git-svn-id: svn://10.0.0.236/trunk@102919 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 18:37:58 +00:00
mcgreer%netscape.com
c280ddbd94 initial checkin of the new command library.
git-svn-id: svn://10.0.0.236/trunk@102918 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 18:37:37 +00:00
mcgreer%netscape.com
9e7d9cfbc0 make stan buildable using BUILD_STAN variable
git-svn-id: svn://10.0.0.236/trunk@102917 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 18:07:54 +00:00
shrutiv%netscape.com
a36d016c5d Fix for bug 99409: Customized Linux build works only on WinNT platform
Changing options used in tar command (r=tao)


git-svn-id: svn://10.0.0.236/trunk@102916 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 17:39:17 +00:00
despotdaemon%netscape.com
2e1265bc21 Pseudo-automatic update of changes made by ddrinan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@102915 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 17:35:58 +00:00
nboyd%atg.com
9e1ccfcd4c Patch from Igor:
Patch fixes issue of not ignoring UNICODE format characters in match
and peek methods, adds explicit assertions checks for code assumptions
and makes handling of ASCII '\r', '\n' and UNICODE U+2028, U+2029 line
ends uniform.

It was rather tricky to fix format character issue and I spend some
time figuring out what TokenStream assumes about LineBuffer that
breaks my initial thoughts on the patch in cases like very long
sequences of format characters that do not fit in the buffer. I
fixed that but it made the code rather unclear so I put explicit
checks for assumptions/preconditions to help with debugging.

I added Context.check flag to turn on/off these checks and
Context.codeBug to throw an exception in case of check violations,
and also modified UintMap to use them instead of the private
flags there.

It would be nice to add some tests about format characters to the test
suite with checks similar to "eval('1 =\u200C= 1') == true" and
"eval('.\u200C1') == 0.1".


git-svn-id: svn://10.0.0.236/trunk@102914 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 17:26:12 +00:00
nboyd%atg.com
5964ebdfd5 Patch from Igor:
Hi, Norris!

I have found few problems with NativeArraj.java.

1. jsSet_length requires that the new length value should be an instance of Number. But according to Ecma 15.4.5.1, item 12-13, an error should be thrown only if ToUint32(length_value) != ToNumber(length_value). Here is a simple test that demonstrates it:

Array(5).length = new Number(1)

It currenly throws an exception.

2. jsSet_length when executing the code marked with "// assume that the representation is sparse" effectively removes all properties with values less then the current length when String is used to represent its value. Note that simply changing lines "if (d == d && d < length) delete(id);" to "if (d == d && d >= longVal) delete(id);" is not good because it would remove properties like "4.5" or "007", the full array index check has to be used instead.

Here is a test case that catches the problem:

var BIG_INDEX = 4294967290;
var a = Array(BIG_INDEX);
a[BIG_INDEX - 1] = 'a';
a[BIG_INDEX - 10000] = 'b';
a[BIG_INDEX - 0.5] = 'c';

a.length = BIG_INDEX - 5000;
var s = '';
for (var i in a) s += a[i];

print('s="'+s+'"');

this should print s='cb' (or 'bc': EcmaScript does not fix the order), but currently it gives s=''.

3. There are race conditions in jsSet_length and getIds.
The first contains:
                    if (hasElem(this, i))
                        ScriptRuntime.delete(this, new Long(i));
which would lead to call to delete in the Array prototype if 2 threads would invoke this code. Simply calling ScriptableObject.delete without any checks for existence is enough here.

getIds assumes that the count of present elements in the dense array does not change, which is not true when another thread deletes elements from dense.

The attached patch fixes these issues.

Regards, Igor


git-svn-id: svn://10.0.0.236/trunk@102913 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 13:50:09 +00:00
sicking%bigfoot.com
06ad4ebdd3 Make PathExpr::matches more clever and remove specialcasing of absolute path expressions
b=97107 r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@102912 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 11:49:50 +00:00
jaggernaut%netscape.com
08a47b4511 Fix debug build bustage on Windows by changing |for (PRUint32 i=0; ..; ..) {} for (PRUint32 i=0; ..; ..) {}| to |PRUint32 i; for (i=0; ..; ..) {} for (i=0; ..; ..) {}|
git-svn-id: svn://10.0.0.236/trunk@102911 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 09:27:57 +00:00
jaggernaut%netscape.com
cbf6249310 Add support for IsVoid and SetIsVoid, add NS_COM to nsAStringGenerator. r=jst, rs=scc.
git-svn-id: svn://10.0.0.236/trunk@102910 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 08:23:46 +00:00
andreas.otte%primus-online.de
84bc369b7e fix bug 97983 [ExtractUrlPart allows no access to the directory part of the url] This patch introduces a new bitmask url_Path that allows accessing the whole path, moved url_Directory from path access to it's original meaning accessing the directory portion of the url. Also fixed some start/endposition calculations, r=dougt@netscape.com,sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102909 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:47:54 +00:00
andreas.otte%primus-online.de
3bd3613d5a fix bug 99081 [ExtractPortFrom sometimes finds ports that are not there] ExtractPortFrom trys to parse the portnumber from url-strings and sometimes it found ports that are none like messageids of news urls, r=dougt@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102908 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:38:51 +00:00
jaggernaut%netscape.com
937638062c Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls
git-svn-id: svn://10.0.0.236/trunk@102907 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:37:29 +00:00
mscott%netscape.com
54ca33a168 Bug #99222 --> for compose auto complete, don't show the popup if we have an exact
macth.
r=ducarroz
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@102906 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:36:27 +00:00
mscott%netscape.com
e70b8b3f14 Bug #99222 --> make the widget flexible enough to only show the popup if
there are  a certain # of results present in the list.
r=sspitzer, ducarroz
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@102905 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:34:59 +00:00
bryner%netscape.com
a1a013a1fa Bug 73353 - clean up REQUIRES. patch from jag, r=bryner, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@102904 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 04:55:50 +00:00
bienvenu%netscape.com
be6dc02100 fix problems playing back offline deletes when delete model is not delete to trash r=naving, sr=sspitzer 96631
git-svn-id: svn://10.0.0.236/trunk@102903 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 04:47:43 +00:00
blizzard%redhat.com
55401797e9 Bump the epoch up to make room for 0.9.4.x versions. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102902 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 04:44:27 +00:00
bienvenu%netscape.com
85c4a00c88 fix crash exiting browser with turbo enabled if you've opened an address book r=naving sr=sspitzer 99510
git-svn-id: svn://10.0.0.236/trunk@102901 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 04:44:10 +00:00
naving%netscape.com
013b55f08a 89698 r=bienvenu sr=mscott. Make rename imap folder work for backslash and
change the alert wording
99150 r/sr=bienvenu Make rename Cyrus imap folder work correctly for '/'


git-svn-id: svn://10.0.0.236/trunk@102900 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 04:39:28 +00:00
dbaron%fas.harvard.edu
638d954dab Make public identifier matching case-insensitive to expand the set of public identifiers triggering quirks mode since some existing pages use FPIs with incorrect case. Add two additional FPIs to the list. b=98977 r=harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102899 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 04:18:59 +00:00
brendan%mozilla.org
c1e6be1826 Fix unsafe JS_DHashTableRawRemove usage; unoverload cx->resolving into a counter and a JSDHashTable pointer (94422, r/sr=jband,waterson with dbaron sanity checks).
git-svn-id: svn://10.0.0.236/trunk@102898 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 03:37:15 +00:00
sonmi%netscape.com
8c5d584c57 forgot this in the last checkin - added Solaris 9, fixed 2 bugs
git-svn-id: svn://10.0.0.236/trunk@102897 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 01:05:06 +00:00
sonmi%netscape.com
81ba96e1a7 added Sparc solaris 9
fixed unfiled bug in mksymlink (trying to symlink if dir exists in
	unix dirs, trying to symlink if either dir or symlink exists)
fixed bug in header , debug flag not passed into mksymlinks
fixed bug in header , always-yes flag not passed into mksymlinks
added email option -ml for qa_stat - only sends hyperlink to result.html
fixed unfiled bug NT backward compatibility test failures
removed unnecessary hostnamesetting from anything but nssqa
changed handeling of pass/fail in backward compatibility test
	evaluation, started fix of bugs 97209 and 98219


git-svn-id: svn://10.0.0.236/trunk@102896 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 01:04:05 +00:00
pschwartau%netscape.com
fd39a30c74 Making testcase compatible with updated testRegExp() function in utility file shell.js
git-svn-id: svn://10.0.0.236/trunk@102895 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 00:29:21 +00:00
pschwartau%netscape.com
cfa8058644 Improving the error-reporting functions for RegExp tests. Now more complete and more consistent.
git-svn-id: svn://10.0.0.236/trunk@102894 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 00:15:59 +00:00
mkaply%us.ibm.com
23b1bbae91 #95642
r=cls
Because other platforms then Unix use the Unix build system, add Makefile.ins to some win
directories so platforms can choose to use the win versions of files


git-svn-id: svn://10.0.0.236/trunk@102893 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 23:01:14 +00:00
waterson%netscape.com
9ad4e81448 Bug 99443. Use filtered insertion point of first appended child instead of unfiltered insertion point when appending. r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102892 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 22:56:55 +00:00
mcgreer%netscape.com
0f765a19da Use NSS_IMPLEMENT in code files for consistency.
Implement some basic certificate routines.
Define some of the PKI types.
Implement some trust domain routines, but only for testing purposes.
Allow for building as shared library.


git-svn-id: svn://10.0.0.236/trunk@102891 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 22:16:22 +00:00
mcgreer%netscape.com
96afac4792 ah, first bug. init the token last when creating a slot.
git-svn-id: svn://10.0.0.236/trunk@102890 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 22:14:22 +00:00
mcgreer%netscape.com
4a2c156d61 initial checkin of the cryptoki device library code for stan. The current
amount of implemented code does little more than basic initialization of
a module and loading of a module's slots and tokens.


git-svn-id: svn://10.0.0.236/trunk@102889 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 22:06:10 +00:00
alecf%netscape.com
b83f1b96a6 back out this change, it was unintentional
r=bryner
no a=


git-svn-id: svn://10.0.0.236/trunk@102888 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 22:03:27 +00:00
wtc%netscape.com
7a6591ae62 Bugzilla bug 98335: fixed two errors identified by compiler warnings
and deleted an unnecessary if.  The patch is contributed by
timeless@mac.com.


git-svn-id: svn://10.0.0.236/trunk@102887 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 21:39:05 +00:00
timeless%mac.com
53bd53d97b bugzilla wasn't catching mozilla on 98 which was annoying. r=jake
git-svn-id: svn://10.0.0.236/trunk@102885 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 20:41:59 +00:00
jake%acutex.net
f30e44a89e Fix for bug 58436 - javascript strict warnings in query.cgi
Patch by Christian Reis <kiko@async.com.br>
r= caillon@returnzero.com, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@102884 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 20:04:40 +00:00
timeless%mac.com
a28f045020 Bugzilla Bug 99465 FreeBSD not recognized!
r=jake


git-svn-id: svn://10.0.0.236/trunk@102881 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 18:21:07 +00:00
gerv%gerv.net
5f3a15bc40 Backing that out. <sigh>. Trunk, branch. Branch, trunk. How hard can it be?
git-svn-id: svn://10.0.0.236/trunk@102879 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 17:40:57 +00:00
gerv%gerv.net
764742fd24 Prevent problems with NS initial start page appearing, by renaming pref. Bug 99441. r=syd, gerv, sr=jband. This will be backed out immediately after 0.9.4 ships.
git-svn-id: svn://10.0.0.236/trunk@102878 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 16:57:41 +00:00
axel%pike.org
06c1dcb37b updating testcase. IE needs to have dummy-param declared, synching with version from the website
git-svn-id: svn://10.0.0.236/trunk@102877 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 14:58:26 +00:00
nboyd%atg.com
9ede964b6a Fix broken link
git-svn-id: svn://10.0.0.236/trunk@102876 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 13:49:23 +00:00
timeless%mac.com
f99092b056 Bug 51844 about:blank is invalid
The new about blank:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title></title></head><body></body></html>

patch by cbiesinger@web.de r=bbaetz sr=darin


git-svn-id: svn://10.0.0.236/trunk@102875 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 13:48:44 +00:00
locka%iol.ie
95541d8e3c NOT PART OF BUILD. Updated pluginhostctrl project to remove some duff targets and added a README file
git-svn-id: svn://10.0.0.236/trunk@102874 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 13:34:22 +00:00
timeless%mac.com
493a18f5a7 Bug 90380 Get rid of |#ifdef _IMPL_NS_XPRINT|
patch by Roland.Mainz@informatik.med.uni-giessen.de
r=jesup,jag,dcran sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@102873 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 13:29:58 +00:00
locka%iol.ie
8aeeeed60a NOT PART OF BUILD. Test files for ActiveX control for hosting Netscape plugins in IE
git-svn-id: svn://10.0.0.236/trunk@102872 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 12:38:20 +00:00
locka%iol.ie
987d15ef62 NOT PART OF BUILD. Plugin SDK headers for building ActiveX control for hosting Netscape plugins in IE
git-svn-id: svn://10.0.0.236/trunk@102871 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 12:37:11 +00:00
locka%iol.ie
c90b07582a NOT PART OF BUILD. New ActiveX control that allows Netscape plugins to run in IE without modification.
git-svn-id: svn://10.0.0.236/trunk@102870 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 12:36:17 +00:00
despotdaemon%netscape.com
61073b6c12 Pseudo-automatic update of changes made by glazman@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@102869 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 12:14:17 +00:00
syd%netscape.com
c6fdc17778 More 88844 stuff, make sure we create the key if it doesn't exist.
git-svn-id: svn://10.0.0.236/trunk@102865 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 09:37:50 +00:00
axel%pike.org
45ecfc4658 bug 98704, kill ContextState|ProcessorState|DOMHelper::getParentNode, r=sicking, peterv; sr=jst
git-svn-id: svn://10.0.0.236/trunk@102864 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 09:23:44 +00:00
syd%netscape.com
04476a3966 Trunk version of latest 88844 stuff, look for "Mozilla Quick Launch" instead of
trying to construct a string based on the app name, which is not working.
r=ssu, sr=brendan, a=asa


git-svn-id: svn://10.0.0.236/trunk@102863 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 09:09:06 +00:00
andreas.otte%primus-online.de
07ebb01e7e fix bug 97988 [contractid of nsAuthURLParser same as of nsNoAuthURLParser] seems to be a simple cut and paste error now corrected, r=dougt@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102862 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 07:42:22 +00:00
cls%seawood.org
bd89b42517 Adding newline to end of file to fix HP-UX bustage
git-svn-id: svn://10.0.0.236/trunk@102861 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 03:42:52 +00:00
bienvenu%netscape.com
8e2d5732de default for unsent messages should be escaped uri, r=sspitzer, sr=mscott 79245
git-svn-id: svn://10.0.0.236/trunk@102860 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 03:00:59 +00:00
darin%netscape.com
76c7355ac1 checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@102859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:21:05 +00:00
darin%netscape.com
eb65859c5a mac project change for bug 89500
git-svn-id: svn://10.0.0.236/trunk@102858 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:20:52 +00:00
waldemar%netscape.com
d71222e9b1 Fixed template overinstantiation bug
git-svn-id: svn://10.0.0.236/trunk@102857 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 01:04:22 +00:00
sonmi%netscape.com
299c5faba1 took out some outdated 3.2 workarounds
put in debug info for sjsu


git-svn-id: svn://10.0.0.236/trunk@102856 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 01:03:07 +00:00
jaggernaut%netscape.com
df1bc44219 Oops, messed up the copyright in the license part, rectifying that. r=michel@rubberchicken.nl
git-svn-id: svn://10.0.0.236/trunk@102855 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 00:31:47 +00:00
rjesup%wgate.com
b88ac2aaa0 Bug 98711: Fix misuses of string.Right(). r=jfrancis, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102854 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 00:09:49 +00:00
cls%seawood.org
fea7889357 Increase GOT buffer for irix (debug) builds when building gkcontent.
Thanks to nickb@adacel.com.au (Nick Blievers) for the patch.
Bug #99395 r=cls


git-svn-id: svn://10.0.0.236/trunk@102853 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:48:26 +00:00
edburns%acm.org
05e81fc36e 99188
r=ashuk
a=edburns

re-implement prompt for cookies.

Modified Files:
 	CBrowserContainer.cpp PromptActionEvents.cpp ns_util.cpp
 	ns_util.h


git-svn-id: svn://10.0.0.236/trunk@102852 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:45:37 +00:00
heikki%netscape.com
8ef0ee4d61 Bug 78021, Copy Link Address context menu does not work for image maps (<area> elements), <link> elements or simple XLinks. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@102850 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:31:37 +00:00
bienvenu%netscape.com
db3558d8b8 fix problems enabling reply/forward and related commands when offline w/o offline msg bodies (91352) and problem with delete key getting disabled after next unread (84260) r=naving, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@102849 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:26:33 +00:00
bienvenu%netscape.com
3d50835873 cosmetic, whitespace changes only
git-svn-id: svn://10.0.0.236/trunk@102848 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:19:36 +00:00
bienvenu%netscape.com
2d2ba143df fix handling of limiting offline download checkbox rs=sspitzer prefs ui was setting the wrong pref 96335
git-svn-id: svn://10.0.0.236/trunk@102847 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:15:33 +00:00
bienvenu%netscape.com
789e928684 fix assertions on exit trying to remove biff servers r=racham, sr=sspitzer 97240
git-svn-id: svn://10.0.0.236/trunk@102846 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 23:14:02 +00:00
bnesse%netscape.com
2ea4145ea4 Fixes for bug 98582 (add title to about:config window) and bug 99291 (correctness: use defines instead of hard coded numbers in switch statement). r=dveditz, sr=waterson (98582) and r=bnesse, sr=brendan (99291). Checking in for chipc.
git-svn-id: svn://10.0.0.236/trunk@102844 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 22:50:00 +00:00
waterson%netscape.com
d9b076b1a6 Fix missing return value on ChildIterator::operator=().
git-svn-id: svn://10.0.0.236/trunk@102843 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 22:41:49 +00:00
alecf%netscape.com
6e7817f040 oops, back out this line - didn't mean to check it in
git-svn-id: svn://10.0.0.236/trunk@102842 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 22:32:19 +00:00
locka%iol.ie
d2678d6cea NOT PART OF BUILD. Doxygen config file updated slightly
git-svn-id: svn://10.0.0.236/trunk@102841 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 22:09:17 +00:00
kaie%netscape.com
516c90280a Mozilla bug 99052, fixing crash.
Adding null and error checks.
r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@102840 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 21:58:06 +00:00
cavin%netscape.com
7c5a99d724 Removing newlines (^M).
git-svn-id: svn://10.0.0.236/trunk@102839 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 21:48:33 +00:00
waterson%netscape.com
e9f40bddfa Use C-style cast to make gcc-2.7.2.3 happy.
git-svn-id: svn://10.0.0.236/trunk@102838 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 21:37:20 +00:00
alecf%netscape.com
b7598a10b0 Add REQUIRES to many modules for win32 support, bug 98372 r=cls
git-svn-id: svn://10.0.0.236/trunk@102837 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 21:32:10 +00:00
alecf%netscape.com
b5515d626e oops, back this out!
git-svn-id: svn://10.0.0.236/trunk@102836 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 21:30:31 +00:00
alecf%netscape.com
d6583a39a3 oops, missed this in my last checkin
git-svn-id: svn://10.0.0.236/trunk@102834 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 21:03:13 +00:00
ssu%netscape.com
ad5c0c10a3 fixing bug 99340 - Installer dies with error 2 under Win9x. r=syd,dveditz sr=mscott a=asa. not part of tinderbox builds. affects windows installers only.
git-svn-id: svn://10.0.0.236/trunk@102833 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:59:48 +00:00
varada%netscape.com
0c696b9b47 fix for 99146- performance improvement for mailcompose window- getting rid of unnecessary logging; r/sr= sspitzer
git-svn-id: svn://10.0.0.236/trunk@102830 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:47:38 +00:00
varada%netscape.com
22b379f9f3 fix for bug#99146;performance improvement for mailcompose;r/sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@102829 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:47:28 +00:00
vidur%netscape.com
7149298284 Fix for bug 12189. Added NS_ERROR_MODULE_GENERAL as an return code base for non-core components that don't care if their return codes overlap. r=dougt, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@102828 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:43:49 +00:00
peterlubczynski%netscape.com
9b969a0e52 Fix for crash when checking for a sub document bug 96579 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102827 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:43:40 +00:00
alecf%netscape.com
f3d9c9c141 Add REQUIRES to many modules for win32 support, bug 98372 r=cls
git-svn-id: svn://10.0.0.236/trunk@102825 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:32:40 +00:00
alecf%netscape.com
18b7e93c42 Update mailnews REQUIRES and MODULEs for bug 98371, r=cls
git-svn-id: svn://10.0.0.236/trunk@102824 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:30:32 +00:00
alecf%netscape.com
95ff5385bc more updates to rules to support REQUIRES on windows, bug 98371, r=cls
git-svn-id: svn://10.0.0.236/trunk@102823 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:27:13 +00:00
bienvenu%netscape.com
243bf35f37 fix imap copying messages status rs=sspitzer 99358
git-svn-id: svn://10.0.0.236/trunk@102822 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:23:28 +00:00
waterson%netscape.com
b2c5eb44e4 Bug 84645. Move XBL insertion point stuff in frame constructor so it can get along with continuing frames. r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102821 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:22:21 +00:00
waterson%netscape.com
25df26f9d3 Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102820 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:19:41 +00:00
bzbarsky%mit.edu
eadb233ab0 Add line-wrapping capability to the view source window. Bug 22022,
r=bzbarsky, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@102819 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:16:32 +00:00
cavin%netscape.com
216eb63309 Bug #99101: In RenameLeaf(), unescape the folder name before searching for hierarchy delimiter (to figure out parent pathname). r=naving, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@102818 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:14:35 +00:00
nicolson%netscape.com
93fa7382af Fix 99375: UnsatisfiedLinkError gives misleading description
git-svn-id: svn://10.0.0.236/trunk@102815 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 18:55:03 +00:00
alecf%netscape.com
bbdc10e41a add platform support
git-svn-id: svn://10.0.0.236/trunk@102813 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 18:46:31 +00:00
jaggernaut%netscape.com
2b5d7e4de9 Add perl script that cleans up the REQUIRES lines in Makefile.in files by removing module names which aren't "REQUIRE"d any longer.
git-svn-id: svn://10.0.0.236/trunk@102812 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 18:06:07 +00:00
danm%netscape.com
9acc98ddc3 disable the code that gets the application name by initializing an http protocol handler before XPCOM is initalized. bug 99286 code=dp r=danm
git-svn-id: svn://10.0.0.236/trunk@102811 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 17:56:40 +00:00
dbaron%fas.harvard.edu
60089011e0 Oops.
git-svn-id: svn://10.0.0.236/trunk@102810 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 16:57:21 +00:00
dbaron%fas.harvard.edu
51a98f11f2 Add script that uses gcc-generated dependency files to count the number of C/C++ files for which each header file is brought in.
git-svn-id: svn://10.0.0.236/trunk@102809 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 16:55:38 +00:00
alecf%netscape.com
a390414a3e oops, comment out some code that I wasn't done with
git-svn-id: svn://10.0.0.236/trunk@102808 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 16:52:26 +00:00
alecf%netscape.com
44443bfe09 first time added
generates graphviz-style .dot files from REQUIRES/MODULE entries in makefiles


git-svn-id: svn://10.0.0.236/trunk@102807 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 16:51:11 +00:00
rjesup%wgate.com
23c9a74723 Bug 92576. nsVoidArray->nsAutoVoidArray. sr=jst, r=waterson, r=pavlov, r=kin, r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@102805 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 14:59:11 +00:00
locka%iol.ie
a9d85d95f7 NOT PART OF BUILD. Doxygen config file for generating documents from Mozilla's public include and idl files.
git-svn-id: svn://10.0.0.236/trunk@102804 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 14:53:46 +00:00
jaggernaut%netscape.com
9985dcc528 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls.
git-svn-id: svn://10.0.0.236/trunk@102802 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 12:48:23 +00:00
bryner%netscape.com
37f7eb6022 REQUIRES updates. Patch from jag, r=cls.
git-svn-id: svn://10.0.0.236/trunk@102800 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 08:16:34 +00:00
andreas.otte%primus-online.de
aae2540b4c bug 95677 [update urltest.cpp] update urltest to reflect changes in urlparser, changing format of testfiles, adding special testfiles for fileurls, r=dougt@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102799 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 08:01:12 +00:00
cls%seawood.org
ba0eafb017 Create active header list for each module during the export phase.
At the end of the export loop, remove the outdated files.
Requires setting MOZ_TRACK_MODULE_DEPS to activate
Bug #59454 r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@102798 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 06:42:26 +00:00
cls%seawood.org
db81759000 Recursively compare pre-generated list of active header files against current include directory contents. If the directory contains extra entries, remove them.
Bug #59454 r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@102797 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 06:39:56 +00:00
brendan%mozilla.org
9457b2de04 1. Fix jsdhash/pldhash.[ch] so that add/remove cycles for a given k do not
create a long chain of removed sentinels.  Also, when adding k to a table
    where k is not mapped, but where k hashes to a chain that includes removed
    sentinels, recycle the first removed sentinel in the chain for k's entry.
2.  Cache cx->resolving till js_DestroyContext, to avoid high JSDHashTable
    new/destroy overhead in js_LookupProperty.
3.  Add NS_TraceStack to nsTraceMalloc.[ch] and clean the .c file up a bit.


git-svn-id: svn://10.0.0.236/trunk@102796 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 06:39:31 +00:00
cls%seawood.org
6d47ac1557 Make generated header use common install rules.
Bug #59454 r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@102795 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 06:35:50 +00:00
cls%seawood.org
9c104e0cdb Drop delay between retrying locks from 1sec to 100ms and drop the overall timeout value from 60 secs to 10secs.
Bug #59454 r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@102794 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 06:34:06 +00:00
cls%seawood.org
8c6f8fdd2e Add support for adding multiple items to list at once.
Read entire file into mem to avoid overhead of exec'ing multiple greps.
Bug #59454 r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@102793 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 06:32:35 +00:00
simon%softel.co.il
be6ca20704 Change the title of ISO-8859-8 encoding from Visual Hebrew to Hebrew Visual so that it appears with the other Hebrew encodings in the sorted list. Bug 84181, r=tao.
git-svn-id: svn://10.0.0.236/trunk@102792 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 06:32:16 +00:00
peterlubczynski%netscape.com
5b05cad31c Correct ussages of data= for object tags embedding documents bug 97799 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102791 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 04:00:52 +00:00
leaf%mozilla.org
f97f65b810 Automated update
git-svn-id: svn://10.0.0.236/trunk@102790 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 03:28:43 +00:00
blizzard%redhat.com
3afe7411a3 Checking in for Ulrich Drepper. Bug #99246. r=beard, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@102789 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 03:19:08 +00:00
stephend%netscape.com
2994843c26 Bug 60658. JavaScript strict warning. r=timeless, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@102788 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 03:01:56 +00:00
mkaply%us.ibm.com
4648d4241f #96050
Removing unnecessary files from xprint for Roland.Mainz@informatik.med.uni-giessen.de


git-svn-id: svn://10.0.0.236/trunk@102787 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 02:35:51 +00:00
blakeross%telocity.com
6bfd582786 Quitting from Composer does not work correctly when in turbo (99318) and another non turbo-related quitting bug. r/sr=ben
git-svn-id: svn://10.0.0.236/trunk@102786 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 02:20:50 +00:00
markh%activestate.com
6173ac0a20 Add support for unwrap() testing, and also add some better messages
for xpcom sample component missing.

Not part of the build


git-svn-id: svn://10.0.0.236/trunk@102785 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:47:22 +00:00
markh%activestate.com
3da7154e02 Add unwrap support.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@102784 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:46:43 +00:00
markh%activestate.com
25a26c0129 Fix up bogus casts of nsXPTType pointers - fixes segment faults on some
platforms.

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@102783 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:45:57 +00:00
markh%activestate.com
6c0218a0d0 Add unwrap support.
Not part of the build


git-svn-id: svn://10.0.0.236/trunk@102782 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:44:42 +00:00
markh%activestate.com
1b547eec4b Add unwrap support (the ability to get the Python object behind an
anonymous Python implemented xpcom object)

Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@102781 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:43:33 +00:00
blakeross%telocity.com
2584dcf72b Committing a file I forgot yesterday in an r/sr/a'd checkin (caused an xml error when opening the addressbook sidebar panel).
git-svn-id: svn://10.0.0.236/trunk@102780 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 01:00:14 +00:00
bienvenu%netscape.com
4724750747 fix leak of temp file while saving imap message as draft offline r=cavin, sr=sspitzer 81690
git-svn-id: svn://10.0.0.236/trunk@102778 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 00:27:10 +00:00
danm%netscape.com
6b1424917c unmaximize the window any time it's moved or sized. bug 98701 r=hyatt,jaggernaut
git-svn-id: svn://10.0.0.236/trunk@102776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 00:19:25 +00:00
waterson%netscape.com
8b1cbb3fd2 Bug 97383. Add regression test.
git-svn-id: svn://10.0.0.236/trunk@102771 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 22:49:15 +00:00
waterson%netscape.com
edab5b07b2 Bug 98844. Don't include LDAP libs when DISABLE_LDAP build flag is set. r=rpotts, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@102767 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 22:27:32 +00:00
wtc%netscape.com
4567105730 Bugzilla bug 96571: fixed the PL_strn* functions that may read beyond
the end of buffer if the buffer is not null-terminated.
Modified files: strchr.c strcstr.c strlen.c strpbrk.c strstr.c


git-svn-id: svn://10.0.0.236/trunk@102763 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 22:22:16 +00:00
waterson%netscape.com
9a5298ffca Bug 72152. Be sure to update the pres context's visible area after doing a resize reflow. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102762 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 22:21:21 +00:00
waterson%netscape.com
56661b67f2 Bug 97383. Include the float's max-element-width in computation of the line's max-element-width so that we're guaranteed to place content next to a left floater. Revert some of the NOWRAP changes that should no longer be necessary. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102761 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 22:17:21 +00:00
attinasi%netscape.com
0808e2e5a9 Fixed a typo that was causing an assertion in one of my testcases: b=99229, r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102760 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 21:28:38 +00:00
timeless%mac.com
8dceacd894 Bugzilla Bug 98929 Implementation of Content-Language in HTTP
patch by drepper@cygnus.com r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@102759 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 21:12:23 +00:00
dp%netscape.com
29c892e459 letting factories overrride native components. Fixes embedding
smoketest blocker bug# 99130 r=adamlock


git-svn-id: svn://10.0.0.236/trunk@102757 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 18:10:31 +00:00
shrutiv%netscape.com
7fa533958e Fix for bug 7717: Cancel button should have confirm dialog (r=tao)
git-svn-id: svn://10.0.0.236/trunk@102756 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 17:22:53 +00:00
mkaply%us.ibm.com
746b35c5f6 OS/2 breakage
git-svn-id: svn://10.0.0.236/trunk@102755 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 13:08:11 +00:00
peterv%netscape.com
cddb6a17e5 Fix for bug 98031 (Composer adds space(s) when saving doc with link between parentheses). r=brade, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@102754 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 09:32:51 +00:00
timeless%mac.com
1344b908fb Bugzilla Bug 85543 Extra blank box to the left of 'Done.' on mac classic skin.
r=ksosez sr=blake


git-svn-id: svn://10.0.0.236/trunk@102752 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 08:45:15 +00:00
mcafee%netscape.com
195d9616b2 Avoid stomping on build status when testing for Embed build status. One line change, rest is whitespace cleanup
git-svn-id: svn://10.0.0.236/trunk@102751 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 07:43:37 +00:00
peterv%netscape.com
0ee150e531 Fix for bug 85708 (Should support "text/xml" MIME media type). Recognize text/xml and application/xml in the type attribute of a stylesheet PI. r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@102749 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 07:14:29 +00:00
peterv%netscape.com
1761db333c Fix for bug 99044 (Big memory leak in DOMHelper.cpp). Switch arguments to correct order in the Map::put call and set ownership model for the Map. r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@102748 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 07:09:23 +00:00
beard%netscape.com
acc4c8f8c6 fix for bug #98290, keep stack aligned to 16 byte boundaries, r=beard, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@102747 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 06:10:31 +00:00
naving%netscape.com
39abfc8109 Just crashed here. Make sure filterList is not null. no bug
git-svn-id: svn://10.0.0.236/trunk@102746 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 05:37:48 +00:00
mkaply%us.ibm.com
ac2c728dcb OS/2 breakage - forgotten member variable
git-svn-id: svn://10.0.0.236/trunk@102745 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 05:16:07 +00:00
mkaply%us.ibm.com
76fc2451f3 These files are somehow crosslinked in CVS - putting them back
git-svn-id: svn://10.0.0.236/trunk@102744 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 04:50:13 +00:00
jst%netscape.com
34c33bcf31 Removing unnecessary casts. No code change
git-svn-id: svn://10.0.0.236/trunk@102743 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 04:48:31 +00:00
mkaply%us.ibm.com
b1120cb472 #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed


git-svn-id: svn://10.0.0.236/trunk@102742 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 04:45:47 +00:00
mkaply%us.ibm.com
2fa9205419 #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed


git-svn-id: svn://10.0.0.236/trunk@102741 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 04:34:45 +00:00
mkaply%us.ibm.com
f2e45e6f41 #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed


git-svn-id: svn://10.0.0.236/trunk@102740 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 04:25:14 +00:00
bienvenu%netscape.com
1c553c1d4a fix saving of newsrc files on shutdown when the prefs service has gone away rs=sspitzer 98816
git-svn-id: svn://10.0.0.236/trunk@102739 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 04:18:15 +00:00
mkaply%us.ibm.com
17e9e184bf #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed


git-svn-id: svn://10.0.0.236/trunk@102738 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:50:35 +00:00
jst%netscape.com
412f672172 Reoving unnecessary casts and giving this code some more nsCOMPtr love. r=bryner@netscape.com, sr=me
git-svn-id: svn://10.0.0.236/trunk@102737 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:35:30 +00:00
peterlubczynski%netscape.com
0924fbda32 Use memmove instead of strncpy bug 98705 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102736 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:29:20 +00:00
mkaply%us.ibm.com
7e93f022c8 #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed


git-svn-id: svn://10.0.0.236/trunk@102734 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:22:16 +00:00
vidur%netscape.com
49d869d53e Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102733 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:05:15 +00:00
vidur%netscape.com
10d80cd1e9 Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. The implementation of these may be changed later if we get rid of the nsINameSpace interface. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102732 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:04:49 +00:00
shrutiv%netscape.com
1aef6dea67 Fixing bug 93113: Enhancement for disabled look of Navigator check box
(r=tao)


git-svn-id: svn://10.0.0.236/trunk@102731 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:48:28 +00:00
sonmi%netscape.com
8bbd8b95f0 removed obsolete workaround, not running pk12util tests because of 3.2 failures
git-svn-id: svn://10.0.0.236/trunk@102730 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:46:09 +00:00
blizzard%redhat.com
bc90ba2ebd Fix bug #99118. X remote client can't find any running clients. We need to find the inner window that is the window managed window, not just the toplevel windows. "I can't believe this ever worked." r=bryner,sr=alecf
git-svn-id: svn://10.0.0.236/trunk@102729 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:36:19 +00:00
bienvenu%netscape.com
b997ab9e29 fix topcrash when you delete a local folder while it's being reparsed rs=sspitzer 90253
git-svn-id: svn://10.0.0.236/trunk@102728 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:30:44 +00:00
shrutiv%netscape.com
ad041c24da Fixing bug 93019: Logo button URL c11n should work on all logo buttons
(r=tao)


git-svn-id: svn://10.0.0.236/trunk@102727 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:29:27 +00:00
bienvenu%netscape.com
775401e954 part of fix for problems saving imap messages offline as templates, rs=sspitzer 81690
git-svn-id: svn://10.0.0.236/trunk@102726 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:23:51 +00:00
bienvenu%netscape.com
9a5be8fb8a part of fix for problems saving imap messages offline as templates, r=cavin, sr=sspitzer 81690
git-svn-id: svn://10.0.0.236/trunk@102725 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:22:59 +00:00
blakeross%telocity.com
2ecc2b033f Fixing minor problem from turbo landing. r/sr=ben
git-svn-id: svn://10.0.0.236/trunk@102724 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:18:18 +00:00
bienvenu%netscape.com
78db366c6b fix problem opening folders after imap connection cache is full and connections have timed out r=sspitzer, sr=mscott 99228
git-svn-id: svn://10.0.0.236/trunk@102723 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:17:36 +00:00
sonmi%netscape.com
e77c634b64 added debug info on linux failure (bad password certutil -K)
git-svn-id: svn://10.0.0.236/trunk@102721 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:10:46 +00:00
shrutiv%netscape.com
f4dee49d42 Fix for bug 83679: Ability to create customized Linux builds of N6.1+
Graying out feature (r=tao)


git-svn-id: svn://10.0.0.236/trunk@102720 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:08:15 +00:00
shrutiv%netscape.com
e385d9fdfc Fix for bug 83679: Ability to create customized Linux builds of N6.1+
Removing trimming of text for linux tar file edit field (r=tao)


git-svn-id: svn://10.0.0.236/trunk@102719 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 01:01:14 +00:00
sonmi%netscape.com
610f505129 workaround for BAckward compatibility failures (newly added test had
not been accounted for)
changed number of expected tests


git-svn-id: svn://10.0.0.236/trunk@102718 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:59:50 +00:00
jst%netscape.com
2ec1ee65c2 Fixing bug 98828. Cache a few nsSpaceManager objects to avoid spending 43%cvs ci -m ! of the time spent in PresShell::ProcessReflowCommand() in new and delete. r=dbaron@fas.harvard.edu, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102715 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:55:05 +00:00
shrutiv%netscape.com
d6ab1d171f Fix for bug 83679: Ability to create customized Linux builds of N6.1+
(r=tao)


git-svn-id: svn://10.0.0.236/trunk@102714 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:45:57 +00:00
dbaron%fas.harvard.edu
80b9856a97 Removing commented-out remnant of old hand-crafted nsIFactory implementation. b=97491 r=edburns sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102713 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:42:52 +00:00
mscott%netscape.com
e8b9cb2e4b Bug #88315 --> fix the default selection for the auto complete widget
to make it match 4.x
r=ducarroz
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@102712 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:39:15 +00:00
leaf%mozilla.org
5fadd26caa change the trunk windows installer version to 0.9.4+, so trunk nightlies
don't over-write installed 0.9.4 installations. bug 98615, r=ssu, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@102711 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:33:23 +00:00
syd%netscape.com
a489ccb294 Fix typo in last checkin, wanted "Quick Launch", not "QuickLaunch"
git-svn-id: svn://10.0.0.236/trunk@102709 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:17:32 +00:00
attinasi%netscape.com
c51c04dbab Fixed performance issue by restricting the cases in which we traverse up the frame tree looking for a containing block with a real computed height. b=85016 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102708 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:12:28 +00:00
bzbarsky%mit.edu
0f66a22500 Bug 74759. Make the default userChrome.css file have some useful
comments.  Also add a @namespace rule to make it be in the XUL
namespace.  r=rbs, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@102706 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:01:02 +00:00
syd%netscape.com
c9a24cde3f Fix for 88844. Turbo mode changes to installer. r=ssu, sr=blake, a=asa
git-svn-id: svn://10.0.0.236/trunk@102705 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:59:33 +00:00
shrutiv%netscape.com
47f20b90fa Fixing bug 83679: Ability to create customized Linux builds of N6.1+
Including Linux_page.ini in wizard (r=tao)


git-svn-id: svn://10.0.0.236/trunk@102704 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:58:38 +00:00
shrutiv%netscape.com
8fee20f5ef Bug 83679: Ability to create customized Linux builds of N6.1+
Adding .ini file for specifying platform information in wizard (r=tao)


git-svn-id: svn://10.0.0.236/trunk@102703 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:55:19 +00:00
blakeross%telocity.com
e46d7734bb (fixing license)
git-svn-id: svn://10.0.0.236/trunk@102702 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:51:55 +00:00
blakeross%telocity.com
cf77d7a48c Turbo landing:
- Turbo mode should run Mozilla from registry (88844). r=ccarlen sr=ben
- Systray menu for turbo should include components (89532). r=syd sr=ben
- Installer checkbox needs to turn turbo on properly (96936, 97338). r=ccarlen sr=ben
- Add 'Disable Quick Launch' menuitem to turbo systray icon (98770). r=syd sr=ben
- Need confirmation dialog when 'Disable Quick Launch' is selected (98805). r=syd sr=ben
- Show dialog when last window is closed in turbo mode (89166). r=ccarlen sr=ben

and some cleanup.


git-svn-id: svn://10.0.0.236/trunk@102701 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:48:09 +00:00
shrutiv%netscape.com
d3e1780457 Fix for bug 93159: Incorrect explanation under Browser Windows Title Bar
Text (r=tao)


git-svn-id: svn://10.0.0.236/trunk@102700 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:32:22 +00:00
danm%netscape.com
51fa80385a complain if callers try to unregister a null window (it was being done, and I got bushwhacked by it). bug 98792 r=alecf,ccarlen
git-svn-id: svn://10.0.0.236/trunk@102699 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:27:11 +00:00
danm%netscape.com
8a33dd4047 clean up use of nsAppShellService.UnregisterTopLevelWindow. bug 98792 r=alecf,ccarlen
git-svn-id: svn://10.0.0.236/trunk@102698 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:27:08 +00:00
mscott%netscape.com
f73c9721b9 Remove obsolete file from the build.
git-svn-id: svn://10.0.0.236/trunk@102697 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:19:06 +00:00
pschwartau%netscape.com
d531f59d48 Trivial whitespace cleanup.
git-svn-id: svn://10.0.0.236/trunk@102696 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:16:43 +00:00
leaf%mozilla.org
f699ef37a9 update user agent string and mac binary version, r=dveditz, sr=mscott, bug
93164


git-svn-id: svn://10.0.0.236/trunk@102695 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:11:09 +00:00
pschwartau%netscape.com
facd45d64c Initial add. Regression test for bug 97921.
git-svn-id: svn://10.0.0.236/trunk@102694 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:05:12 +00:00
jband%netscape.com
ed436aa174 Not part of the build - updating status page to reflect pavlov's great accomplishment. Also adding title attributes to <img> tags so that we can see the tip text on mozilla too.
git-svn-id: svn://10.0.0.236/trunk@102693 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:03:37 +00:00
alecf%netscape.com
7574047850 fix potential win32 bustage (thanks dbaron!)
git-svn-id: svn://10.0.0.236/trunk@102692 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 23:02:53 +00:00
alecf%netscape.com
3ae41e83f1 fix win32 bustage
git-svn-id: svn://10.0.0.236/trunk@102691 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:59:12 +00:00
mkaply%us.ibm.com
1571e688b7 #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed


git-svn-id: svn://10.0.0.236/trunk@102690 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:59:04 +00:00
nicolson%netscape.com
f93b61af9b Fix 95666: ImportDERPublicKey assigns CK_KEY_TYPE to pubkey->type.
git-svn-id: svn://10.0.0.236/trunk@102688 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:53:34 +00:00
shrutiv%netscape.com
e05d2e08e3 Fix for bug 7717: Cancel button should have confirm dialog (r=tao)
git-svn-id: svn://10.0.0.236/trunk@102687 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:51:55 +00:00
radha%netscape.com
009b995541 Removing a printf statement that I mistakenly included in the previous checkin. Got permission
from leaf to checkin this fix  with out  r and sr comments.


git-svn-id: svn://10.0.0.236/trunk@102686 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:47:17 +00:00
dougt%netscape.com
47e11a7754 fixes sending e-mail address as anonymous ftp passwd doesn't work. Patch submitted by jrgm@netscape.com, r=bbaetz, sr=me 57763
git-svn-id: svn://10.0.0.236/trunk@102685 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:31:34 +00:00
dsirnapalli%netscape.com
8b5873b2c8 Test case for nsIDocCharset interface.
git-svn-id: svn://10.0.0.236/trunk@102684 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:30:54 +00:00
hwaara%chello.se
0d935a86cc #94836, "Open Web Location' dialog needs cleanup [Open Address']". UI remake of the Open Web Location dialog. Now known as Open Address.
r=cmanske, sr=blake


git-svn-id: svn://10.0.0.236/trunk@102683 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:30:53 +00:00
waldemar%netscape.com
90addddd67 Added support for list-sets, some, and every. Removed tuple and record tags. Made many minor semantic notation improvements.
git-svn-id: svn://10.0.0.236/trunk@102681 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:10:36 +00:00
sonmi%netscape.com
f094b6d884 fixed 2 problems with local QA, right usage information and
absolute PATHS in NT understood as well now


git-svn-id: svn://10.0.0.236/trunk@102680 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:09:29 +00:00
rginda%netscape.com
47c65ebd0c - venkman only -
increase max string display length


git-svn-id: svn://10.0.0.236/trunk@102679 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:07:23 +00:00
blakeross%telocity.com
e447b81207 Updating the license that I intended for this file. r/sr=ben
git-svn-id: svn://10.0.0.236/trunk@102678 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:05:17 +00:00
edburns%acm.org
0e646abf4f 99099
r=ashuk
a=edburns
This bug fix uses os.name as the way to tell platform.


git-svn-id: svn://10.0.0.236/trunk@102676 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:02:05 +00:00
sonmi%netscape.com
a73d4719ac fixed a problems related to bug 96758 (typo in variable name)
and added comment about weird behavior and weirder solution


git-svn-id: svn://10.0.0.236/trunk@102675 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 21:55:52 +00:00
cmanske%netscape.com
235234e482 Check if HTML Source has been edited when loading into existing Composer window, b=98768, r=syd, sr=kin
git-svn-id: svn://10.0.0.236/trunk@102674 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 21:50:12 +00:00
sonmi%netscape.com
0c77c1a0d4 changed behavior so rsh is not necessary anymore
git-svn-id: svn://10.0.0.236/trunk@102670 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 21:30:26 +00:00
sonmi%netscape.com
b0edf43591 trieing again, the same change as a week ago, setting TMPDIR and TEMP
to the HOSTDIR as well


git-svn-id: svn://10.0.0.236/trunk@102669 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 21:29:29 +00:00
harishd%netscape.com
8badc43252 98645 - Added SELECT to the set of tags that cannot be crossed over when an end tag ( block-level ) tries to close it's matching open tag on the stack. r=heikki, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@102668 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 21:29:27 +00:00
sonmi%netscape.com
e191084d3d added perl to the HP path
git-svn-id: svn://10.0.0.236/trunk@102667 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 21:27:13 +00:00
gerv%gerv.net
86fd0a166e Make Bugzilla support <link> tag for buglists. Bug 87818. r=jake, caillon.
git-svn-id: svn://10.0.0.236/trunk@102665 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 21:26:05 +00:00
alecf%netscape.com
d0766d027e add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls
git-svn-id: svn://10.0.0.236/trunk@102664 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:48:38 +00:00
blakeross%telocity.com
6ba15f6554 App hangs sometimes when scrolling addressbook panel (99121). r=varada,hwaara sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@102663 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:47:24 +00:00
alecf%netscape.com
7e8f1eff5d add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls
git-svn-id: svn://10.0.0.236/trunk@102662 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:46:52 +00:00
alecf%netscape.com
35cb5d6fd3 add REQUIRES support to mailnews b=98371 r=cls
git-svn-id: svn://10.0.0.236/trunk@102661 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:42:53 +00:00
mscott%netscape.com
d7d4a08c64 Bug # 98846 --> fix a leak of a nsFileSpec object.
r=naving, hawara
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@102659 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:16:48 +00:00
alecf%netscape.com
d59c272cc0 add REQUIRES support to intl
b=98371 r=cls


git-svn-id: svn://10.0.0.236/trunk@102658 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:03:25 +00:00
dbaron%fas.harvard.edu
d042c2ddb4 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797
git-svn-id: svn://10.0.0.236/trunk@102656 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 19:54:27 +00:00
dbaron%fas.harvard.edu
fdc3365574 Clean up nsIAppShellService.idl. b=98026 r=danm sr=alecf
git-svn-id: svn://10.0.0.236/trunk@102655 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 19:42:54 +00:00
dbaron%fas.harvard.edu
3513e49a5e Change NS_SUCCEEDED check to null-check since GetDocument may return a null document. r=jag sr=waterson b=99056
git-svn-id: svn://10.0.0.236/trunk@102654 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 19:39:25 +00:00
dbaron%fas.harvard.edu
dd62233a09 Null check to fix topcrash bug 97226. r=hixie sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102653 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 19:36:59 +00:00
axel%pike.org
a826b8c933 bug 98704, xml/dom part of beating DOMHelper::getParentNode out of the tree, r=peterv, rs=brendan
git-svn-id: svn://10.0.0.236/trunk@102651 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 18:01:23 +00:00
jake%acutex.net
5c859df96e Fix for bug 76140 - Adding some more sanity checks.
Patch by Matthew Tuck <matty@chariot.net.au>
r= caillon@returnzero.com, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@102650 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 15:20:11 +00:00
jake%acutex.net
e9503eff4f Fix for bug 97657 - in defparams.pl, the sillyness sub should be called defparams_pl_sillyness
Patch by David D. Kilzer <ddkilzer@theracingworld.com>
r= jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@102649 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 14:57:12 +00:00
beard%netscape.com
54bebf1f06 [not part of build] Changed MIME type to be compatible with windows plugin.
git-svn-id: svn://10.0.0.236/trunk@102648 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 14:56:47 +00:00
beard%netscape.com
cdfc1133b9 Added version attribute to nsI4xScriptablePlugin.idl.
git-svn-id: svn://10.0.0.236/trunk@102647 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 14:56:04 +00:00
kin%netscape.com
08f0c16feb Fix for bug 98018: Impossible to delete text in textbox
nsEditor::CreateTxnForDeleteInsertionPoint() shouldn't
use count-1 when calculating isLast, in the non-text case.

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


git-svn-id: svn://10.0.0.236/trunk@102646 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 14:46:57 +00:00
jake%acutex.net
e2de88b45f Fix for bug 71664 - Don't complain about a bad keyword cache for a bug that doesn't exist.
Patch by Matthew Tuck <matty@chariot.net.au>
r= afranke@ags.uni-sb.de, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@102645 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 14:12:10 +00:00
jake%acutex.net
5aa31d5f98 Fix for bug 95060 - Correct the instructions on how to view your current votes.
Patch by Gavin Shelley <gavins@iplbath.com>
r= jake@acutex.net x2


git-svn-id: svn://10.0.0.236/trunk@102644 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 14:00:48 +00:00
jake%acutex.net
866f721d34 Fix for bug 8647 - Add an option to the query page to sort by Last Changed date.
Patch by Matthew Tuck <matty@chariot.net.au>
r= jake@acutex.net x2


git-svn-id: svn://10.0.0.236/trunk@102643 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 13:49:26 +00:00
brade%netscape.com
763d8c555c not in the build
git-svn-id: svn://10.0.0.236/trunk@102642 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 13:16:45 +00:00
kaie%netscape.com
844e15ee2e b=96018 r=jag
Fix wrong attribute name introduced by checkin on Friday


git-svn-id: svn://10.0.0.236/trunk@102640 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 11:50:11 +00:00
mcafee%netscape.com
07ffa554fe po/ChangeLog hack, for gettext bug
git-svn-id: svn://10.0.0.236/trunk@102639 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 09:07:29 +00:00
ben%netscape.com
17f0c9d48f Add some more code to the prototype resizable popup binding. Not complete yet, but unused.
Part of fix for 95401 - implement resizable popups.
r=jag, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@102638 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 07:35:56 +00:00
ben%netscape.com
cbf8597d4f Add implementation for MoveTo method to nsMenuPopupFrame (exposed through nsIPopupBoxObject), etc.
Also change static mDismissalListener to sDismissalListener.
Part of fix for 95401
r=jag, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@102637 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 07:34:54 +00:00
ben%netscape.com
558801a6ac Add |sizeTo| and |moveTo| methods to nsIPopupBoxObject, allow popups to have their automatic rollup, keyboard navigator and auto positioning functionality disabled.
Part of fix for 95401.
r=jag, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@102636 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 07:33:33 +00:00
ben%netscape.com
15f9cf3f0e Add implementation for left, top, persist, ref, and datasources attributes on nsIDOMXULElement per XUL1.0 spec.
Part of fix for 95401 - implement resizable popups.
r=jag, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@102635 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 07:32:20 +00:00
ben%netscape.com
8e75312333 Add left, top, persist, ref, and datasources attributes to nsIDOMXULElement per XUL1.0 spec.
Part of fix for 95401 - implement resizable popups.
r=jag, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@102634 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 07:31:38 +00:00
leaf%mozilla.org
9026810a2f Automated update
git-svn-id: svn://10.0.0.236/trunk@102633 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 05:28:42 +00:00
cls%seawood.org
373451a083 Install LDAP headers into seperate ldap include dir.
Bug #98924 r=dmose


git-svn-id: svn://10.0.0.236/trunk@102632 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 05:17:41 +00:00
leaf%mozilla.org
53e59756d4 Automated update
git-svn-id: svn://10.0.0.236/trunk@102631 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 05:13:43 +00:00
cls%seawood.org
85334dd439 If building for 64bit target, pass --enable-64bit to NSPR as it does not do 64bit-autodetection. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@102630 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 04:58:38 +00:00
dougt%netscape.com
81ae60cfe7 fixes 98735. r=adamlock, sr=rpotts. Basic problem is that the first argument of NS_InitXPCOM2 was not returning an nsIServiceManager
git-svn-id: svn://10.0.0.236/trunk@102628 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 04:28:37 +00:00
mcafee%netscape.com
ad12d36dff Fixing some logic errors
git-svn-id: svn://10.0.0.236/trunk@102627 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 03:27:27 +00:00
jaggernaut%netscape.com
a86e757d5f Add "exthandler" and "mimetype" to REQUIRES line for dependency tracking builds.
git-svn-id: svn://10.0.0.236/trunk@102626 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 02:07:52 +00:00
oeschger%netscape.com
1f5fa2a738 adding help key for content updates, a=asa, bug=85925, r=cotter
git-svn-id: svn://10.0.0.236/trunk@102625 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 00:55:46 +00:00
darin%netscape.com
29bd0e8f8d backing out patch for bug 97528 due to regression/smoketest-blocker bug 98838.
git-svn-id: svn://10.0.0.236/trunk@102624 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 00:42:50 +00:00
ian%hixie.ch
d8bb2290c9 First stab at an e-mail output service. Also added support for checking addresses for validity and used that when creating a new account.
git-svn-id: svn://10.0.0.236/trunk@102623 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 21:02:33 +00:00
jfrancis%netscape.com
c52350e6b5 fixes 98543: backspace/delete was crossing table structure boundaries. Also fixed other flavors of this bug that had not been discovered yet.
r=fm; sr=kin


git-svn-id: svn://10.0.0.236/trunk@102622 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 20:57:46 +00:00
zach%zachlipton.com
ca5d6d78c2 Oops. Forgot to check this is.
git-svn-id: svn://10.0.0.236/trunk@102621 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:48:15 +00:00
ian%hixie.ch
f2c4a72d49 Reduced the ErrorContext from 2 to 1. 2 is too much.
git-svn-id: svn://10.0.0.236/trunk@102620 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:48:14 +00:00
ian%hixie.ch
e4abc2ef8a corrected a comment, corrected the spelling of a method call, and added a placeholder in 'login.failed' which will eventually have to be replaced by code which finds the list of contact methods.
git-svn-id: svn://10.0.0.236/trunk@102619 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:47:04 +00:00
ian%hixie.ch
447d63ebe4 Added ErrorContext to the Expat arguments so that well formedness errors are easier to track down.
git-svn-id: svn://10.0.0.236/trunk@102618 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:38:24 +00:00
ian%hixie.ch
06727db199 Corrected and improved some comments.
Corrected a problem with scope and the 'escape' attribute of <text> elements.
Renamed 'shrink' and 'expand' to the slightly more accurate 'flatten' and 'rounden'. (ahem)
Changed the ordering of symbol unescaping in roundening to be less (not?) susceptible to incorrect expansion.
Changed the ordering of symbol escaping in flattening to be consistent with the unescape order when roundening.
Made <text> trim one leading and one trailing newline in text nodes if xml:space="default" (makes COSES files neater).
Added a 'coses: original keys' hash to values whose keys are sanitised
Made the 'escape' values be lower case instead of upper case (makes COSES files neater).


git-svn-id: svn://10.0.0.236/trunk@102617 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:36:23 +00:00
ian%hixie.ch
bf75d78321 Corrected the SQL for 'SHOW COLUMNS FROM' so that it actually works...
git-svn-id: svn://10.0.0.236/trunk@102616 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:21:17 +00:00
ian%hixie.ch
67dc277de0 Added a string data source which gets the strings from a file instead of from the database, useful as a fallback.
git-svn-id: svn://10.0.0.236/trunk@102615 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:19:05 +00:00
ian%hixie.ch
8c9220bbac Made the error message printed when no string expander can be found more explicit (it now mentions the name and type of the string).
git-svn-id: svn://10.0.0.236/trunk@102614 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:08:58 +00:00
ian%hixie.ch
37f35ccfe7 Added a comment clarification.
git-svn-id: svn://10.0.0.236/trunk@102613 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:06:13 +00:00
ian%hixie.ch
d14ad445fd Changed the magic piping array so that it is more consistent by removing the special casing of when there is only one return value.
git-svn-id: svn://10.0.0.236/trunk@102612 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:04:37 +00:00
ian%hixie.ch
03f038f0c1 Added the message level number to the debug output to help gauge what level is useful.
git-svn-id: svn://10.0.0.236/trunk@102611 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 17:55:21 +00:00
ian%hixie.ch
c6af0b8abd Added header and stylistic note.
Clarified some of the text.
Made the use of quotes more consistent.
Wrote Chapter 5, "USING GET SERVICE".
Added an empty Chapter 10, "THE SERVICE REFERENCE".


git-svn-id: svn://10.0.0.236/trunk@102610 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 17:48:07 +00:00
sicking%bigfoot.com
f9ef17c1ea Fix bustage. gcc dosn't like function-results used as non-const argument.
git-svn-id: svn://10.0.0.236/trunk@102609 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 17:02:15 +00:00
sicking%bigfoot.com
6cafa71f04 Implement xsl:import. This dosn't implement any import precedence but gives us the infrastructure to do so.
b=78068 r=peterv sr=shaver


git-svn-id: svn://10.0.0.236/trunk@102608 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 16:09:57 +00:00
bernd.mielke%snafu.de
485411b457 Adding xhtml table testfiles to the regression tests not part of the build
git-svn-id: svn://10.0.0.236/trunk@102607 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 14:27:52 +00:00
jaggernaut%netscape.com
a1b3647d73 Bug 73353: clean up REQUIRES. r=cls
git-svn-id: svn://10.0.0.236/trunk@102606 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 13:36:07 +00:00
cls%seawood.org
3268fb198e Set MODULE so that headers are grouped properly.
git-svn-id: svn://10.0.0.236/trunk@102604 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 07:43:48 +00:00
jaggernaut%netscape.com
f6fb205f3f Bug 97328: switch XPIDL from nsAReadableString (and nsAWritableString) to const nsAString. r=cls, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@102603 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 07:17:17 +00:00
mkaply%us.ibm.com
eee9fc790b #98387
OS/2 only
Use getopt from mac LDAP so we can get rid of GPLed code


git-svn-id: svn://10.0.0.236/trunk@102601 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 22:37:24 +00:00
mcafee%netscape.com
0a62606bf3 Backing out my change to avoid pulling by date on branches, my assertion that this didn't work was incorrect. thanks to cls for figuring this out.
git-svn-id: svn://10.0.0.236/trunk@102600 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 22:31:24 +00:00
dp%netscape.com
ad73acbae3 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@102599 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 22:01:22 +00:00
bzbarsky%mit.edu
198ed50ec9 Bug 98663. Make Presshell not call InsertRule() on strings that contain
multiple rules.  r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@102598 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 21:42:02 +00:00
cls%seawood.org
3ca2a3f334 Set MOZILLA_FIVE_HOME to use $binary dir on each loop
git-svn-id: svn://10.0.0.236/trunk@102597 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 21:37:06 +00:00
dp%netscape.com
eb731f9c5d bug# 98786 Eliminating url cloning r=gagan,sr=jst
git-svn-id: svn://10.0.0.236/trunk@102596 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 21:13:20 +00:00
attinasi%netscape.com
e2f7d9afcc Tweaked the existing CalcQuirkContainingBlockHeight method to allows for percentage based elements in deeply nested blocks, instead of just elements that are directly in the BODY. b=85016 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102595 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 20:09:08 +00:00
attinasi%netscape.com
82570cc02b Fix for image wrapping problems in table cells. b=97619 r=bernd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102594 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 19:26:34 +00:00
cls%seawood.org
25625e84ea Replace cat<<EOF with echos to avoid potential security risk with predictable /tmp files.
Thanks to Ashu Kulkarni <ashuk@eng.sun.com> for the patch.
Bug #98723 r=cls a=blizzard


git-svn-id: svn://10.0.0.236/trunk@102593 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 19:16:27 +00:00
pschwartau%netscape.com
f12f5af680 Trivial change to comment and whitespace.
git-svn-id: svn://10.0.0.236/trunk@102592 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 18:58:40 +00:00
dbaron%fas.harvard.edu
e59c2701d9 Make forward-compatible the DOCTYPE handling for determining whether to be in quirks mode or strict mode: properly parse the DOCTYPE declaration and use a list of known public identifiers that should trigger quirks. Remove some remnants of modes that no longer exist. b=55264 r=harishd sr=vidur
git-svn-id: svn://10.0.0.236/trunk@102591 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 18:37:19 +00:00
dbaron%fas.harvard.edu
0998d9523b Move trace-malloc readers from mozilla/xpcom/base/ to mozilla/tools/trace-malloc/. Add a --shutdown-leaks option to nsTraceMalloc to dump, to the file given as an argument to the option, information about allocations still live at shutdown. Add a new trace-malloc reader (leakstats.c) to print leak statistics. b=84831 r=jag sr=brendan
git-svn-id: svn://10.0.0.236/trunk@102590 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 18:29:24 +00:00
aaronl%netscape.com
7df41cc87e Reversing 82207 patch - mac problems.
git-svn-id: svn://10.0.0.236/trunk@102589 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 17:05:09 +00:00
aaronl%netscape.com
d45d392f62 Bug 82207. XUL Checkbox working with MSAA. r=jgaunt, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102588 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 16:22:09 +00:00
andreas.otte%primus-online.de
306f3914a2 fix bug 94796 [code cleanup in nsURLHelper.cpp] remove nsURLEscape/nsURLUnescape from nsURLHelper and replace all usage with nsStdEscape/nsStdUnescape, r=ccarlen@netscape.com, sr=dougt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102586 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 12:47:05 +00:00
cls%seawood.org
15b3554227 AIX linker requires that all symbols be resolved at link time so link against MOZ_COMPONENT_LIBS when building shared lib. Should fix tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@102585 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 08:09:14 +00:00
leaf%mozilla.org
9fb6641e49 Automated update
git-svn-id: svn://10.0.0.236/trunk@102584 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 07:58:42 +00:00
cls%seawood.org
0e7879c814 Remove -DMOZ_MAIL_NEWS from build system.
Bug #66543 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@102583 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 07:44:13 +00:00
cls%seawood.org
2f251f476b Updating module dependencies
git-svn-id: svn://10.0.0.236/trunk@102582 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 07:40:14 +00:00
blizzard%redhat.com
f2df3f8b5c Rewrite XRemote code. It sucks less now. Fixes bugs 62250, 66543, 84239, 89911, 90580, 94289, 98764. r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@102581 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 05:08:13 +00:00
blizzard%redhat.com
64c08dd915 Fix bug #98600. Handle the return of NS_ERROR_NO_CONTENT in the URI loader. mailto: urls shouldn't assert now. r=rpotts, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@102580 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 04:58:59 +00:00
cotter%netscape.com
8aadb7f32b revised Show Example bitmaps
git-svn-id: svn://10.0.0.236/trunk@102579 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 04:27:13 +00:00
cotter%netscape.com
b9a9d25ffe privacy & security help content updates per b=85925, for new reset master password dialog (b=96019) and related changes. a=asa, r=oeschger
git-svn-id: svn://10.0.0.236/trunk@102578 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 04:22:47 +00:00
mkaply%us.ibm.com
6a345da4df OS/2 and AIX bustage - use path.get()
Fix from dbaron
And since I am in here, I'm removing the IBM spam


git-svn-id: svn://10.0.0.236/trunk@102577 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 02:53:31 +00:00
mkaply%us.ibm.com
89f9578c8e Remove C++ style comment to fix OSF bustage
git-svn-id: svn://10.0.0.236/trunk@102576 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 02:46:22 +00:00
kaie%netscape.com
59964b4cc2 oops, fixing code per bug 96018
r=jag


git-svn-id: svn://10.0.0.236/trunk@102575 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 02:24:27 +00:00
nicolson%netscape.com
158dec054e More work on running an SSLSocket over a generic Socket. This is required
for JSSE compliance.


git-svn-id: svn://10.0.0.236/trunk@102574 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 01:53:38 +00:00
jaggernaut%netscape.com
5002e73042 Removing newlines (^M) to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@102573 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 01:47:44 +00:00
naving%netscape.com
682421a488 fix whitespace from last checkin
git-svn-id: svn://10.0.0.236/trunk@102572 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 01:12:36 +00:00
sspitzer%netscape.com
727e138a05 fix for #98793. r=varada, sr=mscott. pre-cache the unread / read / flagged / unflagged thread pane images
so that they don't fail to show when you launch mail (because of bug #92512)


git-svn-id: svn://10.0.0.236/trunk@102571 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 01:09:18 +00:00
av%netscape.com
d07e1e546f Fix for bug 98285 -- adding possibility for plugins to access the service manager, r=beard, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@102570 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 01:04:03 +00:00
jst%netscape.com
21fc764dbf Comment change only, sr=me
git-svn-id: svn://10.0.0.236/trunk@102569 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:53:38 +00:00
kaie%netscape.com
d943972f0f b=96018 r=ddrinan sr=blake
New "Reset Master Password" functionality, for users who have forgotten their password.


git-svn-id: svn://10.0.0.236/trunk@102568 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:52:21 +00:00
kaie%netscape.com
39c6379c87 b=96018 r=ddrinan sr=blake
New "Reset Master Password" functionality, for users who have forgotten their password.


git-svn-id: svn://10.0.0.236/trunk@102567 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:44:39 +00:00
naving%netscape.com
b8d8cdd0c1 98391 98470 r=bienvenu sr=sspitzer. Make rename folder work again for folders having
subfolders. Also make filters work for a local folder whose parent is renamed.


git-svn-id: svn://10.0.0.236/trunk@102566 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:40:05 +00:00
despotdaemon%netscape.com
bafa37bfb2 Pseudo-automatic update of changes made by mhein@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@102565 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:31:21 +00:00
av%netscape.com
8d0ac39f1b Fix for bug 98285 -- added a new value to the NPNVariable enum type to enable access to the service manager from plugins, r=beard, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@102564 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:23:07 +00:00
vidur%netscape.com
381f948d15 Fix for bug 98597. The event held onto from the document's load handler was bogus by the time we sent it to the XMLHttpRequest's event listeners (DOM events have members that are stack-based and, despite being reference-counted objects, should not be held across a call. Instead we create a new event of our own for the XMLHttpRequest load. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102563 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:18:45 +00:00
vidur%netscape.com
44736581ad Part of fix for bug 98597. Null checks so that accessing properties on a DOM event without an underlying PresContext doesn't crash. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102562 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:16:04 +00:00
dp%netscape.com
4869247c4f bug# 96457 Fixing ReInit() to account for the new factory entry type
r=gagan, sr=jband


git-svn-id: svn://10.0.0.236/trunk@102561 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 00:01:03 +00:00
danm%netscape.com
826be1b5f2 restoring rev 1.11 (bug 97514 r=hyatt,pchen). the root cause of bug 98732 (and rev 1.12) has been fixed elsewhere (bug 98785).
git-svn-id: svn://10.0.0.236/trunk@102560 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 23:38:06 +00:00
danm%netscape.com
301323f895 restoring rev 1.159 (bug 97514 r=hyatt,pchen). the root cause of bug 98732 (and rev 1.160) has been fixed elsewhere (bug 98785).
git-svn-id: svn://10.0.0.236/trunk@102559 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 23:37:16 +00:00
danm%netscape.com
c2fbecce04 now _blank windows without a parent will actually open in a new window. wow. bugs like that shouldn't still exist. bug 98785 r=hyatt,rpotts
git-svn-id: svn://10.0.0.236/trunk@102558 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 23:24:34 +00:00
tao%netscape.com
b3adefd3b5 71517: Dynamically select platform jar in langxxxx.xpi.
(r=jbetak,sr=mscott). Build en-{win,unix}.jar on Mac.


git-svn-id: svn://10.0.0.236/trunk@102556 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:45:31 +00:00
darin%netscape.com
5ef7161975 mac project changes for bug 97528
git-svn-id: svn://10.0.0.236/trunk@102555 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:37:38 +00:00
darin%netscape.com
66747c911f fixes bug 97528 "1200 urls created on startup about:blank"
r=dp, sr=dougt


git-svn-id: svn://10.0.0.236/trunk@102554 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:32:50 +00:00
shanjian%netscape.com
9a550abb76 #90581 Cyrillic is not autodetected by nsIStringCharsetDetector
r= roy, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@102553 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:28:38 +00:00
heikki%netscape.com
cd37d0dbd3 Not part of build. Test more stuff.
git-svn-id: svn://10.0.0.236/trunk@102552 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:09:06 +00:00
radha%netscape.com
cb733e6f90 Fix for bug 79063 r=rpotts sr=darin
git-svn-id: svn://10.0.0.236/trunk@102551 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:06:08 +00:00
cavin%netscape.com
a2c859066d Bug #98294: In nsImapService::DiscoverChildren(), make sure we have a consistent server hierarchy delimiter. r=sspitzer, sr=mscott.
Bug #98433: In nsImapService::GetListOfFoldersWithPath(), if the folder path contains 'INBOX' of any forms, we need to convert it to uppercase before finding it under the root folder. r=naving, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@102550 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:55:38 +00:00
rangansen%netscape.com
ef69772aa4 b=94026 r=rangansen sr=hewitt a=asa Changing UI string
git-svn-id: svn://10.0.0.236/trunk@102549 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:39:13 +00:00
svn%xmlterm.org
5ef4cb6e35 --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Major restructuring of the xmlterm build process. Split lineterm from xmlterm.
IDLified all interfaces (bug 69002). Eliminated printing to console in opt
builds (bug 78641)


git-svn-id: svn://10.0.0.236/trunk@102548 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:33:32 +00:00
rjesup%wgate.com
02ba8117de Bug 93999: 1-liner fix to unhork xlib (fix to typo by imot). r/sr=blake
via IRC


git-svn-id: svn://10.0.0.236/trunk@102547 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:32:54 +00:00
sonmi%netscape.com
bf5ff59388 took some machines out that are not in the commonly used environment now
git-svn-id: svn://10.0.0.236/trunk@102546 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:28:08 +00:00
sonmi%netscape.com
dbea0f6dea changes to eliminate the need for tortoise
git-svn-id: svn://10.0.0.236/trunk@102545 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:27:17 +00:00
sonmi%netscape.com
c41caab5bc changes reflecting the RE build area move
git-svn-id: svn://10.0.0.236/trunk@102544 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:25:16 +00:00
sonmi%netscape.com
be509fc071 added information about OS to the .nssqa file
git-svn-id: svn://10.0.0.236/trunk@102543 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:24:43 +00:00
sonmi%netscape.com
72130b9970 changed masterbuild etc. to reflect RE changes
git-svn-id: svn://10.0.0.236/trunk@102542 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:23:23 +00:00
mitesh%netscape.com
ca72868cd3 Fix for the regression caused by bug 92447
movinf request for the nsPrefService out of Init()
r=bnesse and sr=alecf


git-svn-id: svn://10.0.0.236/trunk@102540 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:12:41 +00:00
bryner%netscape.com
cbfe25d575 Bug 42313 - unable to scroll over iframes with mousewheel. We now
correctly bubble up the scroll to the parent document if the iframe is
unable to scroll (either because it isn't scrollable, or because we're
already at the top/bottom of it).  r=saari, sr=hyatt.


git-svn-id: svn://10.0.0.236/trunk@102539 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 21:00:57 +00:00
sspitzer%netscape.com
841c0f5106 remove ^Ms for varada. no bug. rs=bienvenu
git-svn-id: svn://10.0.0.236/trunk@102538 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 20:58:16 +00:00
sspitzer%netscape.com
e9470a3d39 backing out danm's changes for #97514, as they cause the regression bug #98732
a=heikki


git-svn-id: svn://10.0.0.236/trunk@102536 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 19:29:43 +00:00
wtc%netscape.com
99b1973ff0 Bugzilla bug 98741: replaced NPL by MPL/GPL.
Modified files: prerr.et prmkdir.bat pr/src/md/os2/objs.mk


git-svn-id: svn://10.0.0.236/trunk@102535 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 18:37:58 +00:00
wtc%netscape.com
11f1593318 Bugzilla bug 98741: removed the extra NPL header.
git-svn-id: svn://10.0.0.236/trunk@102534 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 18:28:31 +00:00
wtc%netscape.com
5b8e1cf962 Bugzilla bug 98741: changed the license URL to http://www.mozilla.org/MPL/.
Modified Files:
	pr/src/prvrsion.c lib/ds/plvrsion.c lib/libc/src/plvrsion.c
	lib/prstreams/plvrsion.c


git-svn-id: svn://10.0.0.236/trunk@102533 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 18:27:33 +00:00
locka%iol.ie
aecb361ff6 Fix for fallout in embedding from component/service manager merge. b=98721 r=ccarlen@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@102532 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 18:05:50 +00:00
beard%netscape.com
ad548ee4ed [not part of build] Mac files for scriptable NPAPI plugin.
git-svn-id: svn://10.0.0.236/trunk@102529 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 15:54:40 +00:00
jaggernaut%netscape.com
4847353edd Bug 97571: Any <label> in <groupbox> becomes <caption> per XUL 1.0. r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102528 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 14:23:21 +00:00
kaie%netscape.com
e5381ddaba b=87578 r=ssaux sr=blizzard
Changing one word in a user interface string


git-svn-id: svn://10.0.0.236/trunk@102527 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 14:23:19 +00:00
kaie%netscape.com
ec46d5529a b=97571 r=ben sr=hyatt
Checking in for jag


git-svn-id: svn://10.0.0.236/trunk@102526 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 14:19:18 +00:00
mkaply%us.ibm.com
1f4cc8ef09 #94055
r=saari, sr=blizzard
Make OS/2 go down WIN32 only #ifdef as well to fix tabbing issues


git-svn-id: svn://10.0.0.236/trunk@102525 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 12:19:55 +00:00
cls%seawood.org
86c34d2c2b Adding newline to end of file to fix hpux bustage
git-svn-id: svn://10.0.0.236/trunk@102524 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 11:00:48 +00:00
pavlov%netscape.com
699a6c2a09 fix for table 64bit lameness. bug 98686. r=gisburnd sr=jst
git-svn-id: svn://10.0.0.236/trunk@102522 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 09:58:16 +00:00
peterv%netscape.com
8da59ee228 Implement TreeWalker in DOM2-traversal.
b=82625, r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102521 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 09:32:00 +00:00
sicking%bigfoot.com
1f749a9c7d Implement TreeWalker in DOM2-traversal.
b=82625, r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102520 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 09:30:03 +00:00
cls%seawood.org
70e416b21b Update dependencies to handle static libs used by installer
git-svn-id: svn://10.0.0.236/trunk@102519 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 08:04:13 +00:00
cls%seawood.org
27a923b30f The AIX compiler cannot handle string literals inside of a triconditional statement so use named literals instead.
Thanks to David Baron <dbaron@fas.harvard.edu> for the patch.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@102518 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 07:33:15 +00:00
despotdaemon%netscape.com
aa914a892c Pseudo-automatic update of changes made by jshin@pantheon.yale.edu.
git-svn-id: svn://10.0.0.236/trunk@102517 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 05:29:23 +00:00
leaf%mozilla.org
1b52bcee42 Automated update
git-svn-id: svn://10.0.0.236/trunk@102516 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 05:13:43 +00:00
cls%seawood.org
6c600f25bf Remove unused fullcircle build references.
Bug #98293 r=namachi


git-svn-id: svn://10.0.0.236/trunk@102515 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 04:59:44 +00:00
markh%activestate.com
01db5ffb50 Fix bug in makefile when building from Python binaries rather than Python sources
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@102514 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 04:52:06 +00:00
jst%netscape.com
ab462ac543 Fixing bug 98292. Adding support for image.x and image.y for compatibility with NS4.x, r=jrgm@netscape.com, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@102511 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 04:00:37 +00:00
jaggernaut%netscape.com
3cec579db1 Bug 93071: Incorrect test in UnregisterComponent: we want to unregister if the registry name matches. r=bryner, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@102510 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 03:48:37 +00:00
rjesup%wgate.com
0202c4da49 Bug 96710: (try 2). Right() takes number-of-chars-to-return, not position.
r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102509 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 03:44:33 +00:00
shanjian%netscape.com
eda91c291b #90595 Crash when switch to different Simplified Chinese IME a few times
r=yokoyama, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@102508 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 03:43:07 +00:00
justdave%syndicomm.com
f0c275702c Fix for bug 98468: sample email regexp for username-only address changed from ^[^@]*$ to ^[^@]+$ and the default emailregexp changed from ^[^@]*@[^@]*\\.[^@]*$ to ^[^@]+@[^@]+\\.[^@]+$
Patch by Dave Miller <justdave@syndicomm.com>
r= jake@acutex.net x2


git-svn-id: svn://10.0.0.236/trunk@102507 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 03:25:33 +00:00
dbaron%fas.harvard.edu
d015d63bf1 Make getComputedStyle remove the extra default font that we add to the end of the font-family list so it returns the original computed value. b=94078 r=hyatt sr=jst
git-svn-id: svn://10.0.0.236/trunk@102506 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 02:28:10 +00:00
sspitzer%netscape.com
622ab66c0e move the unused 4.x mapi code to mozilla/mailnews/mapi/old to make room for the new mapi code coming.
rs=bienvneu


git-svn-id: svn://10.0.0.236/trunk@102505 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 02:14:34 +00:00
wtc%netscape.com
e5218cd198 Bugzilla bug 95836: Added _PR_CleanupIO() and made it call
_PR_CleanupFdCache().  PR_Cleanup() now calls _PR_CleanupIO() and does
not call _PR_CleanupFdCache() directly.
Modified files: primpl.h prio.c prinit.c ptio.c ptthread.c


git-svn-id: svn://10.0.0.236/trunk@102504 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 01:55:49 +00:00
relyea%netscape.com
f19270c4f2 Free the Pairs, not the previous values.
git-svn-id: svn://10.0.0.236/trunk@102502 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 01:34:18 +00:00
relyea%netscape.com
8cdfd556f7 Free the data, in the array, not the array;).
git-svn-id: svn://10.0.0.236/trunk@102501 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 01:33:22 +00:00
justdave%syndicomm.com
cc43b69ce0 refix for bug 91808: previous patch for this bug used an INNER JOIN construct in the SQL, which is not supported by the
minimum version of MySQL that we require.
Patch by Matthew Tuck <matty@chariot.net.au>
r= justdave x2


git-svn-id: svn://10.0.0.236/trunk@102500 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 01:32:13 +00:00
hyatt%netscape.com
8cdd4a4654 98337 fix (r/sr=danm,brendan), also fix for 96610 from jgaunt/aaronl (sr from me, just checking it in since aaronl is on vacation)
git-svn-id: svn://10.0.0.236/trunk@102499 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 01:26:00 +00:00
rjesup%wgate.com
4c270b21d7 Bug 93999: Minor bustage fix for HPUX (doesn't allow delete [] of void *);
dbaron looked it over and agrees.


git-svn-id: svn://10.0.0.236/trunk@102496 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:57:52 +00:00
bryner%netscape.com
f426319898 Removing obsolete file. r=cls.
git-svn-id: svn://10.0.0.236/trunk@102495 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:38:23 +00:00
pierre%netscape.com
53dfaf64c7 Bug 93371 (WRMB: Treat classes case insensitively in quirks mode). Back out ianh's patch in nsCSSParser.cpp and nsHTMLAttributes.cpp. Treat classes and IDs case insensitively as described in Bug 35522. r=glazman (+dbaron/jst) sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102494 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:23:37 +00:00
wtc%netscape.com
a44592e2b8 Bugzilla bug 95817: destroy _pr_sleeplock in PR_Cleanup(). The patch is
contributed by jeff@NerdOne.com.
Modified files: prinit.c ptthread.c


git-svn-id: svn://10.0.0.236/trunk@102492 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:15:21 +00:00
wtc%netscape.com
40b3bff0fa Bugzilla bug 95773: Added _PR_CleanupEnv() and call it from PR_Cleanup().
The patch is contributed by jeff@NerdOne.com.
Modified files: primpl.h prenv.c prinit.c ptthread.c


git-svn-id: svn://10.0.0.236/trunk@102491 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:05:50 +00:00
sicking%bigfoot.com
c9f433c3dc Push and pop xslt-current node only when needed. Also evaluate xsl:with-param only once in an xsl:apply-templates.
b=97405, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102489 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 00:04:02 +00:00
bryner%netscape.com
0d507fb37f Bug 98420 - nsIFontRetrieverService, nsIFontNameIterator, and nsIFontSizeIterator are obsolete. Also, some cleanup to nsWidgetsCID.h. r=pavlov, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@102487 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:50:02 +00:00
relyea%netscape.com
71fc851f32 Change the keydb reset code from walking down deleting all the key entries to
closing the keydb and reopenning it truncated.


git-svn-id: svn://10.0.0.236/trunk@102486 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:23:42 +00:00
rjesup%wgate.com
f686201c7a Bug 97345: fixing bustage, checked wrong version in (without return).
git-svn-id: svn://10.0.0.236/trunk@102485 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:20:16 +00:00
beard%netscape.com
0051338311 [not part of build] fixes for bug #98382, r=av, allow building on Mac.
git-svn-id: svn://10.0.0.236/trunk@102484 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:18:07 +00:00
beard%netscape.com
b43f7e045a [not part of build] Mac files for scriptable NPAPI plugin.
git-svn-id: svn://10.0.0.236/trunk@102483 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:15:57 +00:00
vidur%netscape.com
795ea6cca5 Out parameters should be set to null to account for failure cases. r=jband, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102481 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:05:21 +00:00
rjesup%wgate.com
5f20dbeac5 bug 93999: reduce number of image creations in gtk/xlib. Patch by imot
(Tomi.Leppikangas@oulu.fi).  r=pavlov, sr=brendan, r=bbaetz on c++ issues,
 jst said "check it in" on c++ issues.


git-svn-id: svn://10.0.0.236/trunk@102480 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 23:00:49 +00:00
rginda%netscape.com
62a5fb2141 - venkman only -
prepare for "group/ungroup" UI in the file list


git-svn-id: svn://10.0.0.236/trunk@102479 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:57:34 +00:00
rginda%netscape.com
af90d76aa3 - venkman only -
fix sort tests


git-svn-id: svn://10.0.0.236/trunk@102478 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:56:56 +00:00
rjesup%wgate.com
34bdbec8d4 bug 97345: insertion of <option>'s into <select> is very slow.
r=rods, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102477 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:54:44 +00:00
pinkerton%netscape.com
b30e2850a9 allow changing of the label of a submenu. r=saari/sr=smfr/a=asa. bug# 97549.
git-svn-id: svn://10.0.0.236/trunk@102476 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:49:55 +00:00
waldemar%netscape.com
4d24ce62eb Split out parseFunctionExpression
git-svn-id: svn://10.0.0.236/trunk@102475 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:44:32 +00:00
waldemar%netscape.com
4937ee8e4d Added missing library
git-svn-id: svn://10.0.0.236/trunk@102474 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:31:29 +00:00
waldemar%netscape.com
3f0f2f0e97 Added missing files
git-svn-id: svn://10.0.0.236/trunk@102473 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:31:05 +00:00
rginda%netscape.com
08c69f7e45 - venkman only -
fix line ending split regexp to avoid the brain dead $ meta character (which considers \r\n to be TWO line endings.)


git-svn-id: svn://10.0.0.236/trunk@102472 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:29:14 +00:00
rginda%netscape.com
0ca89379fd - venkman only -
fix imput history regression


git-svn-id: svn://10.0.0.236/trunk@102471 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:28:09 +00:00
ccarlen%netscape.com
de5f8fea5c Fixing bustage - didn't remove file from both targets
git-svn-id: svn://10.0.0.236/trunk@102470 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:16:57 +00:00
mkaply%us.ibm.com
5521f4e839 OS/2 build bustage - thanks gerv
git-svn-id: svn://10.0.0.236/trunk@102469 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:10:51 +00:00
yokoyama%netscape.com
6c6445fd09 bug 91193
Makefile.win change. Correcting dll name
/r=ftang;/sr=waterson


git-svn-id: svn://10.0.0.236/trunk@102468 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 22:06:55 +00:00
rginda%netscape.com
086a4d9e61 bug 95534, r=brendan, sr=jband
fix semantics of JSTRAP_CONTINUE to prevent a debugger client from telling the engine to continue when we all know it'll proobably just crash.


git-svn-id: svn://10.0.0.236/trunk@102465 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:46:18 +00:00
naving%netscape.com
e6a794f445 95501 r/sr=bienvenu sr=mscott. Fix nsDocShell leaks for pop3 accts on start-up and shutdown.
git-svn-id: svn://10.0.0.236/trunk@102460 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:32:11 +00:00
jband%netscape.com
c25a7edcbb Slightly modify the WIN32 flags check to catch missing XP_WIN32 define also. Add a comment to help people tripping over this so that they can see what we are telling them to fix. See bug 65727. rs=jband
git-svn-id: svn://10.0.0.236/trunk@102459 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:26:08 +00:00
gerv%gerv.net
64eeb6482f Set start page override and home page to be http://www.mozilla.org/start , a page encouraging people to get involved with Mozilla. r,a=asa.
git-svn-id: svn://10.0.0.236/trunk@102458 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:24:43 +00:00
relyea%netscape.com
6ea5d224d7 For a search reload after the database has been cleared.
git-svn-id: svn://10.0.0.236/trunk@102456 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:20:16 +00:00
relyea%netscape.com
658b7a021a Don't reuse sessions that have already be closed.
git-svn-id: svn://10.0.0.236/trunk@102455 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:19:13 +00:00
relyea%netscape.com
ab5346358b Add option to reset the cert and key database.
git-svn-id: svn://10.0.0.236/trunk@102454 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:18:13 +00:00
relyea%netscape.com
96a8daf191 Fix Updating the slot in modutil.
Add option to dump the raw PKCS #11 strings.


git-svn-id: svn://10.0.0.236/trunk@102453 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:16:51 +00:00
relyea%netscape.com
523dee343c Export functions for Modutil (need to fix the names to be global!)
git-svn-id: svn://10.0.0.236/trunk@102452 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:15:09 +00:00
ccarlen%netscape.com
ef0da78764 removed nsServiceManager.cpp, nsRepository.cpp for dougt
git-svn-id: svn://10.0.0.236/trunk@102451 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:14:30 +00:00
relyea%netscape.com
2dcc708078 Allow modutil to get the raw pkcs #11 strings.
fix NSS_Init_NO_DB().


git-svn-id: svn://10.0.0.236/trunk@102450 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:14:06 +00:00
dougt%netscape.com
6abd1d51a4 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
rjesup%wgate.com
8b0885ab65 bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102448 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:11:44 +00:00
relyea%netscape.com
a85264d923 Fix Modutil delete.
add function to modutil to display raw pkcs #11 module strings


git-svn-id: svn://10.0.0.236/trunk@102447 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:08:44 +00:00
relyea%netscape.com
56d45b5359 1) fix bug in module deletion.
2) Add new function in modutil to desplay the raw PKCS #11 module strings


git-svn-id: svn://10.0.0.236/trunk@102446 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:06:39 +00:00
blizzard%redhat.com
fcaadca915 honor the running state of the xremote service. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102445 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 20:46:57 +00:00
blizzard%redhat.com
3a60039893 loading urls into the most recently used window works properly now and other cleanups. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102444 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 20:34:16 +00:00
kaie%netscape.com
eb20d6cd23 r=87578 r=ddrinan sr=blizzard
Enable a user to use (or switch to) an empty security password, i.e. no password at all.


git-svn-id: svn://10.0.0.236/trunk@102443 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 20:29:07 +00:00
shanjian%netscape.com
df5bf28667 #97516 crash in nsRenderingContextWin::GetWidth() in certain situation
r=rbs, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@102442 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 20:21:59 +00:00
kaie%netscape.com
ee77cee24a b=93103 r=relyea/ddrinan sr=blizzard
Enable display of complete chains when viewing certificates.


git-svn-id: svn://10.0.0.236/trunk@102441 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 20:20:50 +00:00
hwaara%chello.se
1ed017745c #82104, "`Software Installation' alert is unneccessarily complicated".
r=dveditz, sr=blizzard.


git-svn-id: svn://10.0.0.236/trunk@102440 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 20:18:15 +00:00
blizzard%redhat.com
7a94ab9706 More work in progress. Added ping command and you can now open mail/news and browser windows remotely. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102438 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 20:09:30 +00:00
varada%netscape.com
26d0fdafa3 fix for bug#82120;disable editable fields during sending of mail;r=cmanske;sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@102437 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:46:49 +00:00
rjesup%wgate.com
977fe6eac8 Bug 96710: Misuse of string.Mid() - uses should be string.Right().
r=kin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102436 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:38:20 +00:00
bnesse%netscape.com
2651ba14d0 Fix for bug 49776. Add additional bulletproofing to nsPrefBranch. r=mitesh, sr=alecfl.
git-svn-id: svn://10.0.0.236/trunk@102435 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:30:47 +00:00
hwaara%chello.se
1f6b8b786e #72203, optimize local search a bit by short-circuiting our evaluation code.
Original patch submitted by Michael Tiemann.

r=naving, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@102434 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:30:13 +00:00
rjesup%wgate.com
2e2ef60158 bug 97480: missing virtual in destructor in nsFontCache. r=bstell, sr=kin
git-svn-id: svn://10.0.0.236/trunk@102433 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:27:38 +00:00
hwaara%chello.se
58ad9ef22d #97834, checking in the final change to not mark a msg as read in the db if it already is...
r/sr=bienvenu, sspitzer


git-svn-id: svn://10.0.0.236/trunk@102431 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:20:49 +00:00
rjesup%wgate.com
3d0a34aaca Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
  r=hyatt r=pierre sr=jst


git-svn-id: svn://10.0.0.236/trunk@102430 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:16:03 +00:00
naving%netscape.com
13d658c059 96921 r=suresh sr=mscott, part of the fix that was not checked in.
git-svn-id: svn://10.0.0.236/trunk@102429 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:13:45 +00:00
waterson%netscape.com
b7c9fb7cd4 Bug 98456. Fix meta-modules on Linux. r=dp, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@102428 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:13:41 +00:00
jband%netscape.com
2416ed1694 fix bug 96511. Meant #ifdef not #if. sr=brendan r=jband
git-svn-id: svn://10.0.0.236/trunk@102425 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:01:17 +00:00
cotter%netscape.com
a633ad4bb5 privacy & security help content update per b=85925, a=asa, r=oeschger
git-svn-id: svn://10.0.0.236/trunk@102424 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:55:28 +00:00
jgaunt%netscape.com
e7791d639e patch for bug 98101 patch from jband r=jgaunt sr=waterson
add OBJDIR to 2 makefile.win files


git-svn-id: svn://10.0.0.236/trunk@102423 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:48:40 +00:00
cotter%netscape.com
5611782025 privacy & security help content updates per b=85925, a=asa, r=oeschger
git-svn-id: svn://10.0.0.236/trunk@102422 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:46:13 +00:00
danm%netscape.com
73a2cec18e XULWindow no longer needs to cache the widget size mode. bug 96475 r=hyatt,pchen
git-svn-id: svn://10.0.0.236/trunk@102421 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:35:59 +00:00
danm%netscape.com
759e12d6fc remove bug 70283's optimization to persist window size state only if it (apparently) hasn't changed. bug 86955, 89740. also set a newly opened window's main widget's zoom state even if it's not yet visible. bug 96475 r=hyatt,pchen
git-svn-id: svn://10.0.0.236/trunk@102420 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:35:55 +00:00
danm%netscape.com
fd9c5602bd tell nsWindowWatcher about window creation/destruction so its enumerators will work. bug 97514 r=hyatt,pchen
git-svn-id: svn://10.0.0.236/trunk@102418 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:26:52 +00:00
attinasi%netscape.com
3742456a40 New testcase added. Not part of build
git-svn-id: svn://10.0.0.236/trunk@102417 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:18:48 +00:00
attinasi%netscape.com
30c0aaac9d New table layout regression test. Not part of build
git-svn-id: svn://10.0.0.236/trunk@102416 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:18:10 +00:00
kestes%walrus.com
9719c2f833 better documentation both internal and external. Reevaluate the steps
to make a build each iteration to allow builds to create time stamped output.
catch some errrors using eval so that they will appear in the tinderbox mail and not as fatal errors. Strip a few more 'dangerous variables' from the environment.


git-svn-id: svn://10.0.0.236/trunk@102415 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:15:53 +00:00
attinasi%netscape.com
cf6ab32fb9 Added table layout regression test for bug 97619. Not part of build
git-svn-id: svn://10.0.0.236/trunk@102414 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 17:49:46 +00:00
attinasi%netscape.com
52e9a07c29 New table layuout regression test: not part of build.
git-svn-id: svn://10.0.0.236/trunk@102413 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 17:40:55 +00:00
nboyd%atg.com
ea2f8a8c22 patch (with my modifications) from jj@mail.ahc.umn.edu:
It would be nice if the rhino shell would accept a URL as the source
for javascript.

I've added this feature to my local copy so that I can launch rhino
with js scripts using  JavaWebStart.

Below is a context diff of the changes I made to
toolsrc/org/mozilla/javascript/tools/shell/Main.java


git-svn-id: svn://10.0.0.236/trunk@102412 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 16:53:29 +00:00
dbaron%fas.harvard.edu
1d897716fd Fix topcrash bug 96563 by reading only the number of characters of string that we have, rather than double that number. r=pavlov sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@102410 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 14:30:38 +00:00
bstell%netscape.com
cf763bcfc1 bug 97533, patch by dbaron@fas.harvard.edu, r=bstell, sr=blizzard
check return status from getIntPref


git-svn-id: svn://10.0.0.236/trunk@102409 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 14:22:08 +00:00
blizzard%redhat.com
43506cd4ce Fix bug #97851. Make sure that file permissions are set properly on the temporary file used for file uploads. r=pete, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102407 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 13:25:15 +00:00
bzbarsky%mit.edu
bafa24e23a Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar.  So ParseRule() has to return an array of
rules, not just a rule.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102406 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 13:14:35 +00:00
jdunn%netscape.com
99fae25d41 fixing cement IRIX tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@102405 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 12:50:38 +00:00
jake%acutex.net
b9a3313a65 Fix for bug 30597 - Hyperlinking the number of votes was causing some confusion because it was such a small link, yet the most useful. Instead, we now have a link labeled "Show votes for this bug".
Patch by Matthew Tuck <matty@chariot.net.au>
r= louie@ximian.com, jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@102404 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 12:42:47 +00:00
leaf%mozilla.org
d1a74e42dd Automated update
git-svn-id: svn://10.0.0.236/trunk@102402 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 11:28:40 +00:00
katakai%japan.sun.com
529ec58458 bug 95258
Need to add a new extension to support Complex Text Layout
changing configure and configure.in
check for prabhat.hegde@sun.com
r=leaf sr=cls


git-svn-id: svn://10.0.0.236/trunk@102401 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 11:19:25 +00:00
pavlov%netscape.com
ee52ce4677 fixing warnings/build bustage from checkin a minute ago
git-svn-id: svn://10.0.0.236/trunk@102399 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 09:07:08 +00:00
pavlov%netscape.com
efc36dfc55 adding additional tests. part of sparcv9 work.. bug 91840. r=me/cls@seawood.org/rogerl rs=brendan
git-svn-id: svn://10.0.0.236/trunk@102397 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 08:27:43 +00:00
pavlov%netscape.com
9121ce11c0 Enabling the sparcv9 xptcall code. Bug 91840. r=me/cls@seawood.org/rogerl rs=brendan
git-svn-id: svn://10.0.0.236/trunk@102396 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 08:23:09 +00:00
glazman%netscape.com
99716e4ffe getComputedStyle answered for background-color #ffffff instead of transparent; b=97771, r=pierre, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102395 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 08:20:50 +00:00
pavlov%netscape.com
dcf116656b Adding a few more comments about what is going on and fixing the couple of issues brought up by brendan. Work for bug 91840. not part of build
git-svn-id: svn://10.0.0.236/trunk@102394 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 08:18:24 +00:00
blizzard%redhat.com
28f2ef4767 More new X Remote work. This code is now in better shape than the original. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102392 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 06:43:54 +00:00
jband%netscape.com
870c86ceaf fix bug 98450. We need to be calling OBJ_DROP_PROPERTY after OBJ_LOOKUP_PROPERTY. Also, this was refactored on dbradley's suggestion. sr=brendan r=dbradley
git-svn-id: svn://10.0.0.236/trunk@102391 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 06:29:19 +00:00
jst%netscape.com
b3062e8e60 Fixing leaks introduced by my fix for 91241. Breaking circular namespace manager -> XUL element factory -> namespace manager reference that kept one namespace manager and one XUL and XML element factory alive. sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102390 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 06:18:31 +00:00
rpotts%netscape.com
32390b41d3 bug #98469 (r=pavlov, sr=jst). Using the _content window target sometimes fails...
git-svn-id: svn://10.0.0.236/trunk@102388 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 05:31:14 +00:00
naving%netscape.com
3100f77e68 98377 r/sr=bienvenu fix nsMsgMailNewsUrl mlk on copying local messages.
git-svn-id: svn://10.0.0.236/trunk@102386 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 04:41:03 +00:00
alecf%netscape.com
ab0aba9085 string changes for MOZ_TRACK_MODULE_DEPS - bug 98371 r=cls
git-svn-id: svn://10.0.0.236/trunk@102385 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 04:06:10 +00:00
mkaply%us.ibm.com
0bee895f7b No bug
r=mkaply, sr=blizzard
OS/2 only - Got these reversed - on OS/2, NEWFRAME is used at the end of a page, not the beginning


git-svn-id: svn://10.0.0.236/trunk@102384 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 04:01:45 +00:00
mkaply%us.ibm.com
3594d5d6bb No bug
r=mkaply, sr=blizzard
OS/2 only - code from javier - more font improvements - better scaling and text zoom for bitmap fonts


git-svn-id: svn://10.0.0.236/trunk@102383 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 04:00:07 +00:00
alecf%netscape.com
1a422e5b81 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@102380 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:56:35 +00:00
alecf%netscape.com
8e8f64c3fd adding MOZ_TRACK_MODULE_DEPS support to win32 build
the rest of the makefiles are not ready
for bug 98371
r=cls


git-svn-id: svn://10.0.0.236/trunk@102379 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:49:50 +00:00
stephend%netscape.com
4ef67e6533 Bug 98453. Use 'Mail & Newsgroups' consistently throughout the UI. r/sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102378 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:41:10 +00:00
blizzard%redhat.com
194f563358 get mailto: links working, clean up a lot of debugging code. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102377 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:39:51 +00:00
bienvenu%netscape.com
a77f3b626f don't mark news msg read when reading it if it's already read original patch from hwaara, r=bienvenu sr=sspitzer 97834
git-svn-id: svn://10.0.0.236/trunk@102376 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:23:43 +00:00
bienvenu%netscape.com
0fefb8fc0a don't mark imap msg read when reading it if it's already read rs=sspitzer 97834
git-svn-id: svn://10.0.0.236/trunk@102375 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:21:29 +00:00
justdave%syndicomm.com
1cb991e0dc Fix for bug 42337: Adding the usual red box for errors uploading attachments.
Patch by Matthew Tuck <matty@chariot.net.au>
r= louie@ximian.com, justdave@syndicomm.com


git-svn-id: svn://10.0.0.236/trunk@102374 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:20:34 +00:00
nelsonb%netscape.com
44cf59d2ab Fix a crash. An attempt to move a sensitive key longer than 48 bytes
from one token to another will no longer crash.  Instead, it will fail
with the new error code SEC_ERROR_CANNOT_MOVE_SENSITIVE_KEY.  Bug 97887.
In addition, DHE key pairs are now generated with CKA_SENSITIVE false.


git-svn-id: svn://10.0.0.236/trunk@102373 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:00:39 +00:00
hyatt%netscape.com
36a8713c53 Missed another file from 93180.
git-svn-id: svn://10.0.0.236/trunk@102372 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 02:21:55 +00:00
justdave%syndicomm.com
9dabccd718 Fix for bug 69616: If you have tweakparams privs, the "Sanity check" link was listed with a group of items that said "Edit" so
it appeared as if you were going to edit the sanity checks if you clicked on it, when in fact you were going to run them.
This patch rewords the links so Sanity check is in a group by itself in the block of links on the right.
Patch by Matthew Tuck <matty@chariot.net.au>
r= justdave x2


git-svn-id: svn://10.0.0.236/trunk@102371 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 02:19:04 +00:00
hyatt%netscape.com
a6f8ebbafe Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@102369 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 02:10:11 +00:00
brendan%mozilla.org
6d5f73866a Don't cache chrome scripts unless their master document URL is chrome too (we need the prototype cache to root the script objects; 98207, sr=jband&waterson, a=asa).
git-svn-id: svn://10.0.0.236/trunk@102368 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 02:01:40 +00:00
rginda%netscape.com
079b48a06f - venkman only -
fixing popup events


git-svn-id: svn://10.0.0.236/trunk@102367 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:54:53 +00:00
rginda%netscape.com
8c7d55aef9 - venkman only -
init xpconnect on the debugger's default context so that xpconnect can use it when it has to.  r=jband


git-svn-id: svn://10.0.0.236/trunk@102366 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:34:44 +00:00
av%netscape.com
c2b06c9bd5 Fixing bug 96804 -- isReplaced is not set for object frames created with <embed> tag, patch by timkoogleblowsgoats@yahoo.com, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102365 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:26:14 +00:00
attinasi%netscape.com
e0458cee7d Two QuirkMode only fixes: 1) prevent bullets from getting resized with LI and 2) collapse margins for empty elements in BODY and table cells. b=97351 r=pierre sr=waterson b=97361 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102363 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:22:55 +00:00
hyatt%netscape.com
7168876239 Adding stack testcase to the debug menu for 93180.
git-svn-id: svn://10.0.0.236/trunk@102362 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:09:35 +00:00
hyatt%netscape.com
f82ab97f32 Removing file for 93180.
git-svn-id: svn://10.0.0.236/trunk@102361 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:07:56 +00:00
hyatt%netscape.com
459bc5fe31 Fix for 93180. r-jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102360 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:07:40 +00:00
rginda%netscape.com
ab633fa73d - venkman only -
strict mode fixes


git-svn-id: svn://10.0.0.236/trunk@102359 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:05:50 +00:00
rginda%netscape.com
d6b2dbf16d - venkman only -
remove debug spoo


git-svn-id: svn://10.0.0.236/trunk@102358 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:05:20 +00:00
rginda%netscape.com
e9b8b7e003 - venkman only -
record last stack depth. when the stack depth changes, we display a frame header in the console for single step mode.


git-svn-id: svn://10.0.0.236/trunk@102357 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:05:02 +00:00
rginda%netscape.com
d28982ed49 - venkman only -
strict mode fixes.


git-svn-id: svn://10.0.0.236/trunk@102356 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:04:01 +00:00
rginda%netscape.com
e6fd4e7ecc - venkman only -
move debugTrap code that may involve network activity from venkman-debugger.js to this file.
strict mode fixes.
fix outliner select events, which range checked against the wrong properties.


git-svn-id: svn://10.0.0.236/trunk@102355 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:03:06 +00:00
rginda%netscape.com
489e14dff4 - venkman only -
move calls that might involve network activity to *after* te enterNestedEventLoop() call so their requests go on the pushed thread.  The call is made after enterNestedEventLoop (which, by definition, blocks) via a setTimeout call.


git-svn-id: svn://10.0.0.236/trunk@102353 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:01:34 +00:00
rginda%netscape.com
06b249145d - venkman only -
strict mode fixes
remove some debugging spoo


git-svn-id: svn://10.0.0.236/trunk@102352 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 00:59:24 +00:00
nelsonb%netscape.com
9859fd8821 Detect Null pointer. Assert if null, else don't crash here. Bug 97887.
git-svn-id: svn://10.0.0.236/trunk@102351 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 00:49:39 +00:00
sfraser%netscape.com
b01c4aa84d Add an explicit search path to 'Carbon Support' first to ensure that we pick up CarbonLib 1.4, rather than the older version in Univeral Headers.
git-svn-id: svn://10.0.0.236/trunk@102350 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 00:46:38 +00:00
dp%netscape.com
7045611501 bug# 97528 Eliminating the extra Clone() on chrome urls. Plus
optimizing nsChromeRegistry::Canonify() to only SetSpec() if there is
a change. r=brendan,hyatt sr=waterson


git-svn-id: svn://10.0.0.236/trunk@102349 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 00:45:16 +00:00
yokoyama%netscape.com
7ff3a20943 Bug 96318:
Fixing accidental removal of nsIFontPackageService.
/r=ftang;/sr=waterson;/a=asa


git-svn-id: svn://10.0.0.236/trunk@102348 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 00:26:13 +00:00
bryner%netscape.com
ec6a6ca84a Removing obsolete/unused file. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102347 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 00:08:42 +00:00
pschwartau%netscape.com
e4d5a55745 Trivial whitespace fix.
git-svn-id: svn://10.0.0.236/trunk@102344 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 23:35:07 +00:00
mitesh%netscape.com
c20c2c2a0e Fix for bug 97228 - multiple appends of email address
r=bnesse and sr=shaver


git-svn-id: svn://10.0.0.236/trunk@102343 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 23:25:54 +00:00
kaie%netscape.com
f2bf305181 b=97369 r=kaie sr=blizzard
Checking in for walk84


git-svn-id: svn://10.0.0.236/trunk@102342 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 23:22:31 +00:00
pschwartau%netscape.com
90d6d1ad55 Completely rethinking this testcase. Reduced test as much as possible, added try...catch blocks and for-loop to stress-test the code.
git-svn-id: svn://10.0.0.236/trunk@102341 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 23:21:33 +00:00
kaie%netscape.com
e6b2897694 b=78720 r=javi sr=blizzard
Checking in for walk84


git-svn-id: svn://10.0.0.236/trunk@102340 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 23:20:41 +00:00
despotdaemon%netscape.com
b53ccc277a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@102339 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 23:19:39 +00:00
ducarroz%netscape.com
cfde140b23 Fix for bug 97256. Don't be case sensitive when checking for a RFC822 header!
Patch provided by Denis Antrushin <adu@sparc.spb.su>. R=ducarroz, SR=sspitzer


git-svn-id: svn://10.0.0.236/trunk@102338 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 23:04:55 +00:00
hwaara%chello.se
b8eeb24c68 #90774, "Up and Down should be 'Up Arrow' and 'Down Arrow'".
Patch by Neil <neil@parkwaycc.co.uk>.

r=rchen, sr=blizzard.


git-svn-id: svn://10.0.0.236/trunk@102336 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 22:59:15 +00:00
valeski%netscape.com
5bca1cb1dd fixing IRIX bustage. win line endings wound up in the new .h file. this diff converts them to raw line ending chars
git-svn-id: svn://10.0.0.236/trunk@102335 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 22:52:43 +00:00
bryner%netscape.com
4513ecc825 Bug 81398 -- tabbing doesn't go into out-of-flow frames. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@102334 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 22:52:18 +00:00
jaggernaut%netscape.com
fa712547bb Bug 96721: Make nsAppRunner use WindowOpen instead of CreateTopLevelWindow, r=danm, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@102333 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 22:34:20 +00:00
sspitzer%netscape.com
70275e6d21 fix for #97585. if the user happens to have a directory for their sig file, don't go into
an infinite loop.  r=ducarroz, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@102331 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 22:24:43 +00:00
blizzard%redhat.com
5569c2d112 More WIP on new X Remote code. Not part of the build. OpenURL() with and without arguments work now.
git-svn-id: svn://10.0.0.236/trunk@102330 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:48:23 +00:00
kaie%netscape.com
f759fc8db1 removing a fprintf(stderr) from my previous checkin
git-svn-id: svn://10.0.0.236/trunk@102329 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:34:38 +00:00
rginda%netscape.com
59d192da29 - venkman only -
turn off verbose debugging for me
push a thread event queue for necko before we enter a nested event loop


git-svn-id: svn://10.0.0.236/trunk@102328 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:29:59 +00:00
valeski%netscape.com
8db35965a8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
kaie%netscape.com
7b5cf182e5 Checking in for valeski. In case of problems you can reach me at kai.engert@gmx.de
r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now
required if you want to use do_GetInterface() for convenience. The two were split because the stuff
that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just
contain interface defs anyway.


git-svn-id: svn://10.0.0.236/trunk@102326 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:27:22 +00:00
jband%netscape.com
453d5271bf fix bug 97444. It is not good to patch a different fun into the frame. Let's safely shunt aside the callee frame instead. r=rogerl sr=brendan
git-svn-id: svn://10.0.0.236/trunk@102325 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:25:09 +00:00
pschwartau%netscape.com
737218a125 Improved accuracy of test, and added more cases.
git-svn-id: svn://10.0.0.236/trunk@102324 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:15:43 +00:00
aaronl%netscape.com
5f30f30f80 Bug 96473, added accessible.properties to Mac Build - r=tao, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102323 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:13:54 +00:00
waterson%netscape.com
43c613727c Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
locka%iol.ie
34ed787b7e Remove winEmbed from embedding dist. b=90614 r=rpotts@netscape.com sr=blizzatf@mozilla.org a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@102320 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:26:42 +00:00
sicking%bigfoot.com
03deb5c948 Make myAnchorElement.text return the same as NS4.x. Patch from Fabian Guisset (hidday@geocities.com).
b=85448, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102319 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:20:50 +00:00
locka%iol.ie
c76cf87cf2 NOT PART OF BUILD. Fixed a couple of silly build breakages for when MOZ_ACTIVEX_PLUGIN_LIVECONNECT is not defined.
git-svn-id: svn://10.0.0.236/trunk@102318 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:10:04 +00:00
dsirnapalli%netscape.com
391db898b3 added two more test cases.
git-svn-id: svn://10.0.0.236/trunk@102317 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 19:25:49 +00:00
pschwartau%netscape.com
6d6f70b18b Warning suppression, plus getting date files into mac build
git-svn-id: svn://10.0.0.236/trunk@102316 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 18:38:17 +00:00
bienvenu%netscape.com
c0493c59e1 fix alignment of text following text boxes rs=sspitzer 97697
git-svn-id: svn://10.0.0.236/trunk@102315 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 18:31:36 +00:00
sspitzer%netscape.com
6214f4a8bb remove control Ms.
git-svn-id: svn://10.0.0.236/trunk@102314 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 18:30:23 +00:00
kin%netscape.com
91a6d5f254 Fix for bug #97387: WRMB:iframe with frameborder="no" does not work
Call ParseFrameborderValue() with value returned from InNavQuirksMode(),
instead of hardcoded PR_TRUE.

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


git-svn-id: svn://10.0.0.236/trunk@102313 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 18:25:24 +00:00
bnesse%netscape.com
dec4d71678 Fix for bug 92447. Internalize loading of config file so it can be re-read if the preferences are reset. r=chipc, mitesh. sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@102312 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 18:22:10 +00:00
pschwartau%netscape.com
430684703a Adding comment regarding regress-97646-001-n.js, regress-97646-002-n.js
git-svn-id: svn://10.0.0.236/trunk@102311 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 17:47:11 +00:00
kaie%netscape.com
b52007e705 Trying to fix BeOS bustage
git-svn-id: svn://10.0.0.236/trunk@102310 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 17:35:47 +00:00
pschwartau%netscape.com
8153af34c7 Correcting comments at top of file, plus bug and summary values.
git-svn-id: svn://10.0.0.236/trunk@102309 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 17:13:14 +00:00
pschwartau%netscape.com
2ae8b14bf9 Correcting date at top of file.
git-svn-id: svn://10.0.0.236/trunk@102308 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 17:03:32 +00:00
pschwartau%netscape.com
b8f6189c5e Correcting comments at top of file, plus bug and summary values.
git-svn-id: svn://10.0.0.236/trunk@102307 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 17:01:03 +00:00
nboyd%atg.com
6544d41b2d Patch from Igor.
git-svn-id: svn://10.0.0.236/trunk@102303 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 16:54:37 +00:00
nboyd%atg.com
5c7eda79e4 Patch from jeffh@aiinet.com:
There is a bug in the JavaMembers class called to wrap a Java object.

In JavaMembers.lookup(), code was added to override the static type.  The
code works in the case of an Enumeration returning an Object which would
have to be casted to the appropriate type.

The code does not work when the static type is an interface.  In this case,
the interface class is the one which should be reflected, not a parent class
of the dynamic type.  A simple staticType.isInterface() check around the
parent traversal code fixes the problem.

Jeff


git-svn-id: svn://10.0.0.236/trunk@102302 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 16:52:39 +00:00
nboyd%atg.com
e899c924a5 Patch from jeffh@aiinet.com:
I have found a couple problems with running Rhino 1.5R2 in a heavily
multi-threaded environment.  The attached patches fix the problems.

- org.mozilla.javascript.optimizer.InvokerImpl - This class was accessing
the shared classNumber outside of the synchronized block.

- org.mozilla.javascript.optimizer.OptClassNameHelper - The reset method was
not synchronized.  It needs to be because the class using the classNames map
is synchronized and does not handle nulling of the variable while it's
looping on the map.

Jeff


git-svn-id: svn://10.0.0.236/trunk@102301 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 16:50:26 +00:00
nboyd%atg.com
82bb8039ec Update for new tests.
git-svn-id: svn://10.0.0.236/trunk@102300 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 16:48:31 +00:00
kaie%netscape.com
a18e083aff b=24847 r=dcone sr=attinasi
Implement printing of Landscape in Unix.
Contact me at kai.engert@gmx.de


git-svn-id: svn://10.0.0.236/trunk@102297 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 14:30:16 +00:00
karnaze%netscape.com
10f9310e62 bug 95688 - null check on base url which might fix the talkback reports. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@102295 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 14:05:01 +00:00
jaggernaut%netscape.com
1536b0881b Remove #define nsString2 nsString and #define nsAutoString2 nsAutoString and fix last few uses of them. r=dbradley, rs=scc
git-svn-id: svn://10.0.0.236/trunk@102294 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 12:42:54 +00:00
jaggernaut%netscape.com
54a31f5907 Bug 92581: [xlib] Implement Xlib error handler for Xlib-toolkit. Patch by Roland Mainz (aka gisburn) <Roland.Mainz@informatik.med.uni-giessen.de>, r=syd, sr=kin
git-svn-id: svn://10.0.0.236/trunk@102293 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 11:34:29 +00:00
jaggernaut%netscape.com
234588f481 Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@102292 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 10:46:45 +00:00
axel%pike.org
6fa04b04c1 bug 94834, without png and mng, DIRS was " ", r=pavlov, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102291 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 08:48:54 +00:00
bryner%netscape.com
24e290ab05 Removing unused/obsolete file. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@102289 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 08:19:53 +00:00
bryner%netscape.com
66b6116e42 Bug 90886 - eStyleStruct_BorderPaddingShortcut is obsolete. r=jag, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@102288 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 08:09:45 +00:00
bryner%netscape.com
61da61b224 Bug 94491 - make the filepicker not allow multiple selection, since our filepicker API doesn't support it. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@102287 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 08:06:09 +00:00
cls%seawood.org
02515d8bc5 Deactivate sidebar panels when the panel is not selected.
Special thanks to matt@netscape.com for providing this patch.
Bug #53239 r=cls sr=ben a=asa


git-svn-id: svn://10.0.0.236/trunk@102285 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 07:43:17 +00:00
mscott%netscape.com
1790afbb1b Adding prototype property file to project from mscott's mac. This is hyatt.
git-svn-id: svn://10.0.0.236/trunk@102284 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 07:39:38 +00:00
mscott%netscape.com
807f017cd5 File has been added to manifest for XBL brutal sharing. This is hyatt.
git-svn-id: svn://10.0.0.236/trunk@102283 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 07:39:11 +00:00
mscott%netscape.com
3570f28c34 Landing XBL brutal sharing from mscott's machine. This is hyatt. The bug has r/sr=hyatt,brendan.
git-svn-id: svn://10.0.0.236/trunk@102282 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 07:36:55 +00:00
bryner%netscape.com
e4db469fc4 Bug 85388 - Xprint prints transparent images with black background. Patch from Roland.Mainz@informatik.med.uni-giessen.de, r=jesup@wgate.com, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@102281 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 07:29:26 +00:00
sspitzer%netscape.com
9aa04494aa update the icons for #88970 for marlon. r/sr=hewitt,sspitzer
git-svn-id: svn://10.0.0.236/trunk@102278 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 06:44:39 +00:00
sspitzer%netscape.com
1c17106ca0 landing new icons for modern skin for marlon. #92429 r=sspitzer, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@102277 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 06:43:12 +00:00
cls%seawood.org
725755040b Updating module dependencies caused by checkin for bug 29839 and/or bug 63408 .
git-svn-id: svn://10.0.0.236/trunk@102276 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 06:41:12 +00:00
sspitzer%netscape.com
afd84df604 landing new icons for modern skin for marlon. #92429
r=sspitzer, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@102275 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 06:40:51 +00:00
cls%seawood.org
911a6f4163 Updating module dependencies caused by checkin for bug 97380
git-svn-id: svn://10.0.0.236/trunk@102273 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 06:37:42 +00:00
pschwartau%netscape.com
2a346d4ab4 Initial add. Regression test for bug 98306.
git-svn-id: svn://10.0.0.236/trunk@102272 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 06:27:25 +00:00
dougt%netscape.com
440e888df5 fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@102271 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 04:37:13 +00:00
jst%netscape.com
1ecab07c09 Fixing bug 62613, patch from Fabian <hidday@geocities.com>. CSSStyleDeclaration objects didn't support the array syntax in JS for calling the item() method. r=harishd@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102270 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 04:35:21 +00:00
jst%netscape.com
5a93f1f248 Fixing compiler warning (i might be used uninitialized in this function)
git-svn-id: svn://10.0.0.236/trunk@102269 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 04:30:12 +00:00
jst%netscape.com
f26b002773 Fixing bug 95840. Speeding up global property access in JS. r=mstoltz@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 04:29:13 +00:00
jst%netscape.com
2de4e518a6 Fixing bug 91241. Don't use the service manager to get the element factory everty time it's needed, cache it per namespace id, we spent about 0.9% of startup getting the element factory service. r=dp@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@102267 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 04:20:54 +00:00
edburns%acm.org
753ec174c7 r=peterl
sr=waterson
a=asa


modules/plugin/base/src/nsIPluginInstanceOwner.h
modules/plugin/base/src/nsPluginHostImpl.cpp
modules/plugin/base/src/nsPluginHostImpl.h
modules/plugin/base/src/nsPluginViewer.cpp
modules/oji/src/nsJVMManager.cpp
modules/oji/src/nsJVMManager.h
layout/html/base/src/nsObjectFrame.cpp
xpfe/global/resources/locale/en-US/region.properties


Here's what I did to fix this bug.

I pestered Rick Potts about the problem of
nsIWebBrowserChrome->SetStatus() not being synchronous.  He fixed that
under bug 97227.

Taking advantage of Rick's fix to 97227, I modified
nsIPluginInstanceOwner to have new method, ShowStatus(const PRUnichar
*aStatusMsg).  This is necessary to allow for localized messages to be
posted from the plugin, such as "Starting plugin for type
application/x-java-vm" or "Beginnen steckbar für Art
application/x-java-vm".

I modified all the implementations of nsIPluginInstanceOwner:

  layout/html/base/src/nsObjectFrame.cpp
  modules/plugin/base/src/nsPluginViewer.cpp

I inserted a call to nsIPluginInstanceOwner->ShowStatus() at the part
just before the big "whole damn app freezes when starting java" thing
happens.

I also modifed nsJVMManager.cpp ShowJavaConsole() to do the same.  These
are the two places I know of now that can start java.


git-svn-id: svn://10.0.0.236/trunk@102266 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:58:34 +00:00
dougt%netscape.com
8e801f7f38 Upload Channel API changes. Bug 29839. r=darin@Netscape.com, sr=rpotts@netscape.com.
Also fixes bug 63408, not alerting when file-not-found. r/sr same as above


git-svn-id: svn://10.0.0.236/trunk@102265 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:52:26 +00:00
dougt%netscape.com
120f1da920 Trival change to fix 58792 submitted by jkobal@us.ibm.com
git-svn-id: svn://10.0.0.236/trunk@102264 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:51:38 +00:00
ccarlen%netscape.com
a51a68f739 Adding nsIUploadChannel.idl for dougt
git-svn-id: svn://10.0.0.236/trunk@102263 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:42:32 +00:00
dougt%netscape.com
466a519589 adding nsIUploadChannel to the build. r=darin, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@102262 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:32:23 +00:00
dbaron%fas.harvard.edu
eb5b72dd4c Make the "browser.display.screen_resolution" pref work again. b=69205 r=bryner sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102261 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:15:55 +00:00
dbaron%fas.harvard.edu
10a638521f Replace per-struct Check*Properties with property tables and account for the possibility of having an explicit 'inherit' value. b=91054 r=hyatt sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102260 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:13:58 +00:00
blizzard%redhat.com
e152d59a63 Rev the serial number, remove some old patches. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102259 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:06:01 +00:00
peterlubczynski%netscape.com
4ff5889753 Fix for not setting reflow state on object frame in printing case bug 97563 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102257 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 02:45:48 +00:00
stephend%netscape.com
3ee98a68f6 Bug 48053. Remove sidebar-messenger* from the tree. r=cls, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@102256 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 02:43:37 +00:00
sspitzer%netscape.com
7c0740a860 fix for bug #98299. clean up fallout from #97487. rs=bienvenu
git-svn-id: svn://10.0.0.236/trunk@102255 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 02:20:41 +00:00
zach%zachlipton.com
ab18280466 Adding a test for safe system and exec calls. Part of this code by Dave.
git-svn-id: svn://10.0.0.236/trunk@102254 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:43:25 +00:00
rginda%netscape.com
c9da2557a6 - venkman only -
remove guessed function style, as this is now indicated by surrounding the function name in square brackets.


git-svn-id: svn://10.0.0.236/trunk@102253 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:41:07 +00:00
rginda%netscape.com
a6b55d6cbf - venkman only -
add formatting messages, remove fclear


git-svn-id: svn://10.0.0.236/trunk@102252 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:40:01 +00:00
rginda%netscape.com
5ffce21c70 - venkman only -
make dump tree function taka a param
remove bogus _cache dance
add matchesScriptRecord method to breakpoint record
only do the icode replacement if the breakpoint is enabled in addScriptRecord


git-svn-id: svn://10.0.0.236/trunk@102251 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:39:09 +00:00
rginda%netscape.com
60b571c7bc - venkman only -
remove unused messages
add used messages


git-svn-id: svn://10.0.0.236/trunk@102250 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:37:11 +00:00
rginda%netscape.com
f1de04bbc1 - venkman only -
change string concats to getMsg calls, to make bidi more better
don't duplicate setBreakpoints()s efforts by checking for matching files in onInputBreak
reimpliment onInputFBreak
remove onInputFClear.  future breakpoints can now be cleared wit the standard clear command.
remove dead onScriptCreated function


git-svn-id: svn://10.0.0.236/trunk@102249 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:36:44 +00:00
rginda%netscape.com
7b5157ac4c - venkman only -
dont pay attention to scripts without filenames
remove script from the script tree when it is unloaded
if a newly created script matches an existing breakpoint record, add that script to the breakpoint record.
remove obsoleted future breakpoint functions


git-svn-id: svn://10.0.0.236/trunk@102248 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:34:23 +00:00
rginda%netscape.com
ae5684e0f2 - venkman only -
remove fclear command, future breakpoints now share the same list as normal breakpoints.  the standard clear comman will suffice


git-svn-id: svn://10.0.0.236/trunk@102247 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:31:56 +00:00
rginda%netscape.com
453f11b043 - venkman only -
reset childIndex and parentRecord on a removed tree item


git-svn-id: svn://10.0.0.236/trunk@102246 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:30:59 +00:00
ftang%netscape.com
9324fd7c9f back out change of 56863 because it cause 98233
git-svn-id: svn://10.0.0.236/trunk@102244 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:21:27 +00:00
pschwartau%netscape.com
0fa3d563e6 Skipping two new tests that use non-EMCA functionality: toSource() and uneval().
git-svn-id: svn://10.0.0.236/trunk@102243 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:07:17 +00:00
bryner%netscape.com
d30e97109d Removing obsolete/unused file. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102242 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:04:31 +00:00
rbs%maths.uq.edu.au
8cedb518ee Back-end to allow viewsource to toggle wrapping of long lines. b=22022 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@102241 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:02:58 +00:00
pschwartau%netscape.com
216a755d04 Improved readabilty. Improved accuracy of stripBraces() function.
git-svn-id: svn://10.0.0.236/trunk@102240 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:49:31 +00:00
bryner%netscape.com
e21ebf8cf6 Removing obsolete/unused file. Not part of the build. r=cls.
git-svn-id: svn://10.0.0.236/trunk@102239 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:48:43 +00:00
pschwartau%netscape.com
c1a88c8a50 This is more accurate. Also using sorting now, for definiteness in comparisons.
git-svn-id: svn://10.0.0.236/trunk@102238 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:46:24 +00:00
bryner%netscape.com
e988e3408f Bug 96438 - file name and type descriptions aren't aligned with fields. r=jag, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@102237 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:39:00 +00:00
bryner%netscape.com
79e8b202e3 Oops -- missed adding this code from nsFileWidget. This should fix the beos bustage.
git-svn-id: svn://10.0.0.236/trunk@102236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:17:04 +00:00
naving%netscape.com
5c336e927f 96921 r=suresh sr=mscott. fix mlk of nsSupportsArray elements because they were
being addref'ed twice.


git-svn-id: svn://10.0.0.236/trunk@102235 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:06:30 +00:00
bzbarsky%mit.edu
0f2651a119 Fix the nsIDOMMediaList interface to have the right properties. Make
media rules implement nsIDOMCSSMediaRule.  Fix insertRule() to be able
to insert into the middle of a rule list.  Fix issues with stylesheets
not getting dirtied when media lists are modified.  bug 93977,
r=pierre, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102234 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:00:18 +00:00
stephend%netscape.com
283731508b Bug 94839. 'Open Web Location dialog shouldn't have an icon'. Patch by Bradley Hart <bhart00@yahoo.com>. r=hwaara, sr=ben
git-svn-id: svn://10.0.0.236/trunk@102232 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:40:33 +00:00
danm%netscape.com
32c574645c add new file nsAppShellWindowEnumerator. bug 96151 r=hyatt,sfraser
git-svn-id: svn://10.0.0.236/trunk@102231 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:30:58 +00:00
danm%netscape.com
5a76e32252 add new z-level enumerators. bug 96151 r=hyatt,sfraser
git-svn-id: svn://10.0.0.236/trunk@102230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:30:46 +00:00
danm%netscape.com
487aa46a02 move window enumerators to new file; add new z-level enumerators. bug 96151 r=hyatt,sfraser
git-svn-id: svn://10.0.0.236/trunk@102229 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:30:41 +00:00
cls%seawood.org
a4d3cd95e7 Updating REQUIRES
git-svn-id: svn://10.0.0.236/trunk@102228 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:30:27 +00:00
danm%netscape.com
bffa3bd421 new implementation for window enumerators, including new z-level enumerators. bug 96151 r=hyatt,sfraser
git-svn-id: svn://10.0.0.236/trunk@102227 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:30:24 +00:00
naving%netscape.com
8458096beb 67836 r/sr=sspitzer. Use PL_strchr instead of PL_strstr for finding end of line.
git-svn-id: svn://10.0.0.236/trunk@102226 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:30:06 +00:00
cls%seawood.org
d984e53eff Update REQUIRES
git-svn-id: svn://10.0.0.236/trunk@102225 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:24:04 +00:00
naving%netscape.com
8f290007b2 97530 r=cavin sr=bienvenu. Save the filterlist if the destination folder for a
filter has been renamed/deleted.


git-svn-id: svn://10.0.0.236/trunk@102224 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:19:39 +00:00
av%netscape.com
72c385ca9f Fixing bug 86642 -- crash in DOMMimeTypeImpl::DOMMimeTypeImpl() when assigning fields missing from the plugin version stamp, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102223 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:17:48 +00:00
danm%netscape.com
bda3afbc6a ignore width or height of 0 (as in 'width=') when opening windows. bug 67947 r=hyatt,joki
git-svn-id: svn://10.0.0.236/trunk@102222 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:14:31 +00:00
darin%netscape.com
1a25fee22d fixes bug 59016 "jpg don't display" r=gagan, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@102221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:11:46 +00:00
darin%netscape.com
f90e1af576 fixes bug 83526 "http should use fewer connections per server per page"
r=bbaetz sr=dougt,blizzard


git-svn-id: svn://10.0.0.236/trunk@102220 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:02:26 +00:00
blizzard%redhat.com
2ede81a925 Ongoing new X Remote Code. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 23:01:23 +00:00
blizzard%redhat.com
198d4dc6fe Ongoing WIP for new X Remote code. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@102218 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 22:59:39 +00:00
naving%netscape.com
33de6f0e0b 98180 r/sr=sspitzer. Do not preflight the date pikcer w/ current date, if there is already an exisiting
date


git-svn-id: svn://10.0.0.236/trunk@102214 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 22:58:12 +00:00
bryner%netscape.com
f5ed2a3be4 Bug 47551 -- removing obsolete nsIFileSpecWithUI and nsIFileWidget. r=pavlov, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@102213 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 22:56:38 +00:00
saari%netscape.com
4e08eef5ef checking in mac project changes for bryner, bug 47551
git-svn-id: svn://10.0.0.236/trunk@102212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 22:54:02 +00:00
rogerl%netscape.com
6a5d50c542 Added setXXX funciton implementations.
git-svn-id: svn://10.0.0.236/trunk@102210 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 22:07:32 +00:00
rogerl%netscape.com
88a6e5c796 Added jsdate & prmjtime to build.
git-svn-id: svn://10.0.0.236/trunk@102209 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 21:10:21 +00:00
rogerl%netscape.com
9778122dbe Fix for apparent missing region compare in gcc version of basic_string.
git-svn-id: svn://10.0.0.236/trunk@102208 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 21:02:10 +00:00
relyea%netscape.com
2b8b0be222 Don't skip certs that are already in the database. We may have to tweak
with the trust bits.


git-svn-id: svn://10.0.0.236/trunk@102207 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 20:20:48 +00:00
relyea%netscape.com
2d76d3deb0 Allow 'importing' certificates that already exist in the database.
Use the import to change the trust flags on the given certificate.


git-svn-id: svn://10.0.0.236/trunk@102206 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 20:19:26 +00:00
mcgreer%netscape.com
eb6d8a3074 checkin for colin@theblakes.com, OpenVMS fix
r=javi,sr=cls,a=dbaron


git-svn-id: svn://10.0.0.236/trunk@102205 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 14:51:08 +00:00
23370 changed files with 106011 additions and 4704830 deletions

View File

@@ -1,43 +0,0 @@
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.

View File

@@ -1,567 +0,0 @@
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."

View File

@@ -1,187 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = .
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/build/unix/modules.mk
ifneq ($(BUILD_MODULES),all)
DIRS = $(BUILD_MODULE_DIRS)
EXPORT_DIRS = $(BUILD_MODULE_DEP_DIRS)
else
DIRS = config build
ifdef MOZ_JAVA_SUPPLEMENT
DIRS += \
java/util \
java/webclient \
$(NULL)
endif
# boehm needs to be built before XPCOM
ifdef GC_LEAK_DETECTOR
DIRS += gc/boehm
endif
DIRS += $(NSPRPUB_DIR)
DIRS += dbm modules/libreg js string xpcom js/src/xpconnect
ifdef MOZ_OJI
DIRS += js/src/liveconnect
endif
ifdef MOZ_JSDEBUGGER
DIRS += js/jsd
endif
ifndef MOZ_NATIVE_ZLIB
DIRS += modules/zlib
endif
ifndef MOZ_NATIVE_JPEG
DIRS += jpeg
endif
ifdef MOZ_ENABLE_XLIB
DIRS += gfx/src/xlibrgb widget/src/xlibxtbin
endif
ifdef MOZ_ENABLE_GTK
DIRS += widget/src/gtksuperwin widget/src/gtkxtbin
endif
# Linux and Solaris installer needs standalone libjar, hence standalone zlib
ifneq (,$(filter Linux SunOS,$(OS_ARCH)))
DIRS += modules/zlib/standalone
endif
DIRS += \
widget/timer \
include \
modules/libutil \
netwerk \
modules/mpfilelocprovider \
uriloader \
intl \
modules/libpref \
modules/libimg \
modules/oji \
modules/libjar \
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
DIRS += accessible
endif
# This must preceed xpfe
ifdef MOZ_JPROF
DIRS += tools/jprof
endif
DIRS += xpfe
DIRS += xpinstall
ifdef MOZ_PSM
DIRS += security/manager
endif
ifdef MOZ_LDAP_XPCOM
DIRS += directory/c-sdk/ldap directory/xpcom
endif
ifdef MOZ_EXTENSIONS
DIRS += extensions
endif
ifdef MOZ_MAIL_NEWS
DIRS += mailnews
endif
ifdef MOZ_LEAKY
DIRS += tools/leaky
endif
ifdef ENABLE_TESTS
DIRS += xpcom/tests
endif
DIRS += l10n
ifneq (,$(MOZ_STATIC_COMPONENTS)$(MOZ_META_COMPONENTS))
DIRS += modules/staticmod
endif
DIRS += xpfe/bootstrap
endif # BUILD_MODULES == all
STATIC_MAKEFILES := $(NSPRPUB_DIR) 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
include $(topsrcdir)/config/rules.mk
export::
+$(LOOP_OVER_EXPORT_DIRS)
distclean::
cat unallmakefiles | $(XARGS) rm -f
rm -f unallmakefiles $(DIST_GARBAGE)

View File

@@ -1,2 +0,0 @@
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

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

View File

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

View File

@@ -1,190 +0,0 @@
<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

@@ -1,57 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility
EXPORT_LIBRARY = 1
SHORT_LIBNAME = access
IS_COMPONENT = 1
MODULE_NAME = nsAccessibilityModule
REQUIRES = xpcom string dom
CPPSRCS = nsAccessibilityFactory.cpp
LOCAL_INCLUDES = -I$(srcdir)/../src
SHARED_LIBRARY_LIBS = \
$(DIST)/lib/libaccessibility_s.$(LIB_SUFFIX) \
$(NULL)
EXTRA_DSO_LIBS = \
gkconshared_s \
$(NULL)
EXTRA_DSO_LDOPTS = \
$(MOZ_COMPONENT_LIBS) \
-L$(DIST)/lib \
$(EXTRA_DSO_LIBS) \
-lgkgfx \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,46 +0,0 @@
#!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
LIBRARY_NAME=accessibility
MODULE_NAME=nsAccessibilityModule
CPP_OBJS=\
.\$(OBJDIR)\nsAccessibilityFactory.obj \
$(NULL)
LINCS = $(LINCS) -I..\src # for implementation headers
SUB_LIBRARIES=\
$(DIST)\lib\accessibility_s.lib \
$(NULL)
LLIBS=\
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\timer_s.lib \
$(DIST)\lib\gkgfx.lib \
$(DIST)\lib\contentshared_s.lib \
$(LIBNSPR) \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,60 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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):
*/
#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 nsModuleComponentInfo components[] =
{
{ "AccessibilityService",
NS_ACCESSIBILITY_SERVICE_CID,
"@mozilla.org/accessibilityService;1",
NS_ConstructAccessibilityService
},
};
NS_IMPL_NSGETMODULE(nsAccessibilityModule, components);

View File

@@ -1,26 +0,0 @@
#!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

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

View File

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

View File

@@ -1,38 +0,0 @@
#!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 \
$(NULL)
EXPORTS = \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,67 +0,0 @@
/* -*- 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 createRootAccessible(in nsISupports aPresContext, in nsISupports aFrame);
nsIAccessible createHTMLComboboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
nsIAccessible createHTMLListboxAccessible(in nsIDOMNode aNode, in nsISupports aPresShell);
nsIAccessible createHTMLSelectOptionAccessible(in nsIDOMNode aNode, in nsIAccessible aAccParent, in nsISupports aPresShell);
nsIAccessible createHTMLCheckboxAccessible(in nsISupports aFrame);
nsIAccessible createHTMLRadioButtonAccessible(in nsISupports aFrame);
nsIAccessible createHTMLButtonAccessible(in nsISupports aFrame);
nsIAccessible createHTML4ButtonAccessible(in nsISupports aFrame);
nsIAccessible createHTMLTextAccessible(in nsISupports aFrame);
nsIAccessible createHTMLImageAccessible(in nsISupports aFrame);
nsIAccessible createHTMLAreaAccessible(in nsIWeakReference aPresShell, in nsIDOMNode aDOMNode, in nsIAccessible aAccParent);
nsIAccessible createHTMLTableAccessible(in nsISupports aFrame);
nsIAccessible createHTMLTableCellAccessible(in nsISupports aFrame);
nsIAccessible createHTMLTextFieldAccessible(in nsISupports aFrame);
nsIAccessible createHTMLIFrameAccessible(in nsIDOMNode aNode, in nsISupports aPresContext);
nsIAccessible createHTMLBlockAccessible(in nsIDOMNode aNode, in nsISupports aDocument);
nsIAccessible createAccessible(in nsIDOMNode aNode, in nsISupports aDocument);
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

@@ -1,189 +0,0 @@
/* -*- 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();
// 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
};

View File

@@ -1,41 +0,0 @@
/* -*- 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

@@ -1,41 +0,0 @@
/* -*- 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;
void handleEvent(in unsigned long aEvent, in nsIAccessible aTarget);
};

View File

@@ -1,32 +0,0 @@
/* -*- 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(in nsIAccessibleEventListener aListener);
};

View File

@@ -1,34 +0,0 @@
/* -*- 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

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

View File

@@ -1,58 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = accessibility
LIBRARY_NAME = accessibility_s
REQUIRES = xpcom string layout widget dom view locale intl docshell webshell necko htmlparser xuldoc imglib2 gfx2
CPPSRCS = \
nsAccessible.cpp \
nsAccessibilityService.cpp \
nsRootAccessible.cpp \
nsHTMLIFrameRootAccessible.cpp \
nsHTMLFormControlAccessible.cpp \
nsHTMLTextAccessible.cpp \
nsHTMLTableAccessible.cpp \
nsHTMLImageAccessible.cpp \
nsHTMLAreaAccessible.cpp \
nsHTMLLinkAccessible.cpp \
nsHTMLSelectListAccessible.cpp \
nsHTMLComboboxAccessible.cpp \
nsHTMLListboxAccessible.cpp \
nsGenericAccessible.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

View File

@@ -1,5 +0,0 @@
jump = Jump
press = Press
check = Check
uncheck = Uncheck
select = Select

View File

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

View File

@@ -1,5 +0,0 @@
jump = Jump
press = Press
check = Check
uncheck = Uncheck
select = Select

View File

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

View File

@@ -1,685 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: David W. Hyatt (hyatt@netscape.com)
*
* Contributor(s):
*/
#include "nsIAccessibilityService.h"
#include "nsAccessibilityService.h"
#include "nsAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsRootAccessible.h"
#include "nsINameSpaceManager.h"
#include "nsLayoutAtoms.h"
#include "nsIDOMNode.h"
#include "nsHTMLTextAccessible.h"
#include "nsHTMLTableAccessible.h"
#include "nsHTMLImageAccessible.h"
#include "nsHTMLAreaAccessible.h"
#include "nsHTMLLinkAccessible.h"
#include "nsHTMLSelectListAccessible.h"
#include "nsHTMLComboboxAccessible.h"
#include "nsHTMLListboxAccessible.h"
#include "nsIDOMHTMLAreaElement.h"
#include "nsHTMLFormControlAccessible.h"
#include "nsILink.h"
#include "nsIDocShellTreeItem.h"
#include "nsIDOMDocument.h"
#include "nsIDOMHTMLOptionElement.h"
// IFrame
#include "nsIDocShell.h"
#include "nsHTMLIFrameRootAccessible.h"
//--------------------
nsAccessibilityService::nsAccessibilityService()
{
NS_INIT_REFCNT();
}
nsAccessibilityService::~nsAccessibilityService()
{
}
NS_IMPL_THREADSAFE_ISUPPORTS1(nsAccessibilityService, nsIAccessibilityService);
////////////////////////////////////////////////////////////////////////////////
// nsIAccessibilityService methods:
NS_IMETHODIMP
nsAccessibilityService::CreateRootAccessible(nsISupports* aPresContext, nsISupports* aFrame, nsIAccessible **_retval)
{
// XXX - jgaunt - looks like we aren't using this
//nsIFrame* f = NS_STATIC_CAST(nsIFrame*, aFrame);
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
NS_ASSERTION(presShell,"Error not presshell!!");
nsCOMPtr<nsIWeakReference> weakShell(do_GetWeakReference(presShell));
*_retval = new nsRootAccessible(weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLComboboxAccessible(nsIDOMNode* aDOMNode, nsISupports* aPresContext, nsIAccessible **_retval)
{
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(presShell);
*_retval = new nsHTMLComboboxAccessible(aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLListboxAccessible(nsIDOMNode* aDOMNode, nsISupports* aPresContext, nsIAccessible **_retval)
{
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(presShell);
*_retval = new nsHTMLListboxAccessible(aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLSelectOptionAccessible(nsIDOMNode* aDOMNode, nsIAccessible *aAccParent, nsISupports* aPresContext, nsIAccessible **_retval)
{
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(presShell);
*_retval = new nsHTMLSelectOptionAccessible(aAccParent, aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLCheckboxAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLCheckboxAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLCheckboxAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMRadioButtonAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLRadioButtonAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLRadioButtonAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLButtonAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLButtonAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLButtonAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTML4ButtonAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTML4ButtonAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTML4ButtonAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLTextAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLTextAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLTextAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLTableAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLTableAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLTableAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLTableCellAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLTableCellAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLTableCellAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLImageAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLImageAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
nsIImageFrame* imageFrame = nsnull;
// not using a nsCOMPtr frames don't support them.
aFrame->QueryInterface(NS_GET_IID(nsIImageFrame), (void**)&imageFrame);
if (!imageFrame)
return NS_ERROR_FAILURE;
*_retval = new nsHTMLImageAccessible(node, imageFrame, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLAreaAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLAreaAccessible(nsIWeakReference *aShell, nsIDOMNode *aDOMNode, nsIAccessible *aAccParent,
nsIAccessible **_retval)
{
*_retval = new nsHTMLAreaAccessible(aDOMNode, aAccParent, aShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLTextFieldAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLTextFieldAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLTextFieldAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsAccessibilityService::GetInfo(nsISupports* aFrame, nsIFrame** aRealFrame, nsIWeakReference** aShell, nsIDOMNode** aNode)
{
NS_ASSERTION(aFrame,"Error -- 1st argument (aFrame) is null!!");
*aRealFrame = NS_STATIC_CAST(nsIFrame*, aFrame);
nsCOMPtr<nsIContent> content;
(*aRealFrame)->GetContent(getter_AddRefs(content));
nsCOMPtr<nsIDOMNode> node(do_QueryInterface(content));
*aNode = node;
NS_IF_ADDREF(*aNode);
nsCOMPtr<nsIDocument> document;
content->GetDocument(*getter_AddRefs(document));
if (!document)
return NS_ERROR_FAILURE;
#ifdef DEBUG
PRInt32 shells = document->GetNumberOfShells();
NS_ASSERTION(shells > 0,"Error no shells!");
#endif
// do_GetWR only works into a |nsCOMPtr| :-(
nsCOMPtr<nsIPresShell> tempShell;
nsCOMPtr<nsIWeakReference> weakShell;
document->GetShellAt(0, getter_AddRefs(tempShell));
weakShell = do_GetWeakReference(tempShell);
NS_IF_ADDREF(*aShell = weakShell);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateAccessible(nsIDOMNode* aDOMNode, nsISupports* aDocument, nsIAccessible **_retval)
{
nsCOMPtr<nsIDocument> document (do_QueryInterface(aDocument));
if (!document)
return NS_ERROR_FAILURE;
#ifdef DEBUG
PRInt32 shells = document->GetNumberOfShells();
NS_ASSERTION(shells > 0,"Error no shells!");
#endif
nsCOMPtr<nsIPresShell> tempShell;
document->GetShellAt(0, getter_AddRefs(tempShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(tempShell);
*_retval = new nsAccessible(aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLBlockAccessible(nsIDOMNode* aDOMNode, nsISupports* aDocument, nsIAccessible **_retval)
{
nsCOMPtr<nsIDocument> document (do_QueryInterface(aDocument));
if (!document)
return NS_ERROR_FAILURE;
#ifdef DEBUG
PRInt32 shells = document->GetNumberOfShells();
NS_ASSERTION(shells > 0,"Error no shells!");
#endif
nsCOMPtr<nsIPresShell> tempShell;
document->GetShellAt(0, getter_AddRefs(tempShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(tempShell);
*_retval = new nsAccessible(aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLIFrameAccessible(nsIDOMNode* aDOMNode, nsISupports* aPresContext, nsIAccessible **_retval)
{
*_retval = nsnull;
nsCOMPtr<nsIContent> content(do_QueryInterface(aDOMNode));
NS_ASSERTION(content,"Error non nsIContent passed to accessible factory!!!");
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
NS_ASSERTION(presShell,"Error non PresShell passed to accessible factory!!!");
nsCOMPtr<nsIWeakReference> weakRef = do_GetWeakReference(presShell);
nsCOMPtr<nsIDocument> doc;
if (NS_SUCCEEDED(content->GetDocument(*getter_AddRefs(doc))) && doc) {
nsCOMPtr<nsIPresShell> presShell;
doc->GetShellAt(0, getter_AddRefs(presShell));
if (presShell) {
nsCOMPtr<nsISupports> supps;
presShell->GetSubShellFor(content, getter_AddRefs(supps));
if (supps) {
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(supps));
if (docShell) {
nsCOMPtr<nsIPresShell> ps;
docShell->GetPresShell(getter_AddRefs(ps));
if (ps) {
nsCOMPtr<nsIWeakReference> wr = do_GetWeakReference(ps);
nsCOMPtr<nsIDocument> innerDoc;
ps->GetDocument(getter_AddRefs(innerDoc));
if (innerDoc) {
nsCOMPtr<nsIAccessible> root = new nsHTMLIFrameRootAccessible(aDOMNode, wr);
if ( root ) {
nsHTMLIFrameAccessible* frameAcc = new nsHTMLIFrameAccessible(aDOMNode, root, weakRef, innerDoc);
if ( frameAcc != nsnull ) {
*_retval = NS_STATIC_CAST(nsIAccessible*, frameAcc);
if ( *_retval ) {
NS_ADDREF(*_retval);
return NS_OK;
}
}
}
}
}
}
}
}
}
return NS_ERROR_FAILURE;
}
//-----------------------------------------------------------------------
// This method finds the content node in the parent document
// corresponds to the docshell
// This code is copied and pasted from nsEventStateManager.cpp
// Is also inefficient - better solution should come along as part of
// Bug 85602: "FindContentForDocShell walks entire content tree"
// Hopefully there will be a better method soon, with a public interface
nsIContent*
nsAccessibilityService::FindContentForDocShell(nsIPresShell* aPresShell,
nsIContent* aContent,
nsIDocShell* aDocShell)
{
NS_ASSERTION(aPresShell, "Pointer is null!");
NS_ASSERTION(aDocShell, "Pointer is null!");
NS_ASSERTION(aContent, "Pointer is null!");
nsCOMPtr<nsISupports> supps;
aPresShell->GetSubShellFor(aContent, getter_AddRefs(supps));
if (supps) {
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(supps));
if (docShell.get() == aDocShell)
return aContent;
}
// walk children content
PRInt32 count;
aContent->ChildCount(count);
for (PRInt32 i=0;i<count;i++) {
nsCOMPtr<nsIContent> child;
aContent->ChildAt(i, *getter_AddRefs(child));
nsIContent* foundContent = FindContentForDocShell(aPresShell, child, aDocShell);
if (foundContent != nsnull) {
return foundContent;
}
}
return nsnull;
}
void nsAccessibilityService::GetOwnerFor(nsIPresShell *aPresShell, nsIPresShell **aOwnerShell, nsIContent **aOwnerContent)
{
nsCOMPtr<nsIPresContext> presContext;
aPresShell->GetPresContext(getter_AddRefs(presContext));
if (!presContext)
return;
nsCOMPtr<nsISupports> pcContainer;
presContext->GetContainer(getter_AddRefs(pcContainer));
if (!pcContainer)
return;
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(pcContainer));
nsCOMPtr<nsIDocShellTreeItem> treeItem(do_QueryInterface(docShell));
if (!treeItem)
return;
// Get Parent Doc
nsCOMPtr<nsIDocShellTreeItem> treeItemParent;
treeItem->GetParent(getter_AddRefs(treeItemParent));
if (!treeItemParent)
return;
nsCOMPtr<nsIDocShell> parentDS(do_QueryInterface(treeItemParent));
if (!parentDS)
return;
nsCOMPtr<nsIPresShell> parentPresShell;
parentDS->GetPresShell(getter_AddRefs(parentPresShell));
if (!parentPresShell)
return;
nsCOMPtr<nsIDocument> parentDoc;
parentPresShell->GetDocument(getter_AddRefs(parentDoc));
if (!parentDoc)
return;
nsCOMPtr<nsIContent> rootContent;
parentDoc->GetRootContent(getter_AddRefs(rootContent));
nsIContent *tempContent;
tempContent = FindContentForDocShell(parentPresShell, rootContent, docShell);
if (tempContent) {
*aOwnerContent = tempContent;
*aOwnerShell = parentPresShell;
NS_ADDREF(*aOwnerShell);
NS_ADDREF(*aOwnerContent);
}
}
/* -------------------------------------------------------
* GetAccessibleFor - get an nsIAccessible from a DOM node
* ------------------------------------------------------- */
NS_IMETHODIMP nsAccessibilityService::GetAccessibleFor(nsIDOMNode *aNode,
nsIAccessible **_retval)
{
*_retval = nsnull;
if (!aNode)
return NS_ERROR_NULL_POINTER;
// ---- Get the document for this node ----
nsCOMPtr<nsIDocument> doc;
nsCOMPtr<nsIDocument> nodeIsDoc(do_QueryInterface(aNode));
if (nodeIsDoc)
doc = nodeIsDoc;
else {
nsCOMPtr<nsIDOMDocument> domDoc;
aNode->GetOwnerDocument(getter_AddRefs(domDoc));
if (!domDoc)
return NS_ERROR_INVALID_ARG;
doc = do_QueryInterface(domDoc);
}
if (!doc)
return NS_ERROR_INVALID_ARG;
// ---- Get the pres shell ----
nsCOMPtr<nsIPresShell> shell;
doc->GetShellAt(0, getter_AddRefs(shell));
if (!shell)
return NS_ERROR_FAILURE;
// ---- Check if area node ----
nsCOMPtr<nsIDOMHTMLAreaElement> areaContent(do_QueryInterface(aNode));
if (areaContent) // Area elements are implemented in nsHTMLImageAccessible as children of the image
return PR_FALSE; // Return, otherwise the image frame looks like an accessible object in the wrong place
// ---- Check if we need outer owning doc ----
nsCOMPtr<nsIContent> content(do_QueryInterface(aNode));
if (!content && nodeIsDoc) {
// This happens when we're on the document node, which will not QI to an nsIContent,
// When that happens, we try to get the outer, parent document node that contains the document
// For example, a <browser> or <iframe> element
nsCOMPtr<nsIPresShell> ownerShell;
nsCOMPtr<nsIContent> ownerContent;
GetOwnerFor(shell, getter_AddRefs(ownerShell), getter_AddRefs(ownerContent));
shell = ownerShell;
content = ownerContent;
}
// ---- If still no nsIContent, return ----
if (!content)
return PR_FALSE;
// ---- Try using frame to get IAccessible ----
nsIFrame* frame = nsnull;
shell->GetPrimaryFrameFor(content, &frame);
if (!frame)
return PR_FALSE;
nsCOMPtr<nsIAccessible> newAcc;
frame->GetAccessible(getter_AddRefs(newAcc));
// ---- Try QI'ing node to get nsIAccessible ----
if (!newAcc)
newAcc = do_QueryInterface(aNode);
// ---- If link, create link accessible ----
if (!newAcc) {
// is it a link?
nsCOMPtr<nsILink> link(do_QueryInterface(aNode));
if (link) {
nsCOMPtr<nsIWeakReference> weakShell(do_GetWeakReference(shell));
newAcc = new nsHTMLLinkAccessible(aNode, weakShell);
}
}
// ---- If <select> option, create select option accessible
if (!newAcc) {
nsCOMPtr<nsIDOMHTMLOptionElement> optionElement(do_QueryInterface(aNode));
if (optionElement) {
// nsHTMLSelectionOptionAccessible's must be created via the parent
nsCOMPtr<nsIDOMNode> parentNode;
aNode->GetParentNode(getter_AddRefs(parentNode));
if (parentNode) {
nsCOMPtr<nsIAccessible> parentAccessible;
GetAccessibleFor(parentNode, getter_AddRefs(parentAccessible));
if (parentAccessible) {
nsCOMPtr<nsIWeakReference> weakShell(do_GetWeakReference(shell));
newAcc = new nsHTMLSelectOptionAccessible(parentAccessible, aNode, weakShell);
}
}
}
}
if (!newAcc)
return NS_ERROR_FAILURE;
*_retval = newAcc;
NS_ADDREF(*_retval);
return NS_OK;
}
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
nsresult
NS_NewAccessibilityService(nsIAccessibilityService** aResult)
{
NS_PRECONDITION(aResult != nsnull, "null ptr");
if (! aResult)
return NS_ERROR_NULL_POINTER;
nsAccessibilityService* accService = new nsAccessibilityService();
if (!accService)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(accService);
*aResult = accService;
return NS_OK;
}

View File

@@ -1,59 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
*
* Original Author: David W. Hyatt (hyatt@netscape.com)
*
* Contributor(s):
*/
#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:
NS_DECL_ISUPPORTS
// nsIAccessibilityService methods:
NS_DECL_NSIACCESSIBILITYSERVICE
// nsAccessibilityService methods:
nsAccessibilityService();
virtual ~nsAccessibilityService();
public:
private:
NS_IMETHOD GetInfo(nsISupports* aFrame, nsIFrame** aRealFrame, nsIWeakReference** aShell, nsIDOMNode** aContent);
void GetOwnerFor(nsIPresShell *aPresShell, nsIPresShell **aOwnerShell, nsIContent **aOwnerContent);
nsIContent* FindContentForDocShell(nsIPresShell* aPresShell, nsIContent* aContent, nsIDocShell* aDocShell);
};
#endif /* __nsIccessibilityService_h__ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,155 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#ifndef _nsAccessible_H_
#define _nsAccessible_H_
#include "nsISupports.h"
#include "nsGenericAccessible.h"
#include "nsCOMPtr.h"
#include "nsIContent.h"
#include "nsIDOMNode.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsWeakReference.h"
#include "nsIFocusController.h"
#include "nsRect.h"
#include "nsPoint.h"
#define ACCESSIBLE_BUNDLE_URL "chrome://global/locale/accessible.properties"
class nsIFrame;
class nsIDocShell;
class nsIWebShell;
class nsIContent;
class nsAccessible : public nsGenericAccessible
{
public:
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);
public:
nsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
virtual ~nsAccessible();
virtual void GetListAtomForFrame(nsIFrame* aFrame, nsIAtom*& aList) { aList = nsnull; }
// Helper Routines for Sub-Docs
static nsresult GetDocShellFromPS(nsIPresShell* aPresShell, nsIDocShell** aDocShell);
static nsresult GetDocShellObjects(nsIDocShell* aDocShell,
nsIPresShell** aPresShell,
nsIPresContext** aPresContext,
nsIContent** aContent);
static nsresult GetDocShells(nsIPresShell* aPresShell,
nsIDocShell** aDocShell,
nsIDocShell** aParentDocShell);
static nsresult GetParentPresShellAndContent(nsIPresShell* aPresShell,
nsIPresShell** aParentPresShell,
nsIContent** aSubShellContent);
static PRBool FindContentForWebShell(nsIPresShell* aParentPresShell,
nsIContent* aParentContent,
nsIWebShell* aWebShell,
nsIContent** aFoundContent);
nsresult CalcOffset(nsIFrame* aFrame,
nsIPresContext * aPresContext,
nsRect& aRect);
nsresult GetAbsPosition(nsIPresShell* aPresShell, nsPoint& aPoint);
nsresult GetAbsoluteFramePosition(nsIPresContext* aPresContext,
nsIFrame *aFrame,
nsRect& aAbsoluteTwipsRect,
nsRect& aAbsolutePixelRect);
static nsresult GetTranslatedString(PRUnichar *aKey, nsAWritableString *aStringOut);
// helper method to verify frames
static PRBool IsCorrectFrameType(nsIFrame* aFrame, nsIAtom* aAtom);
protected:
virtual nsIFrame* GetFrame();
virtual nsIFrame* GetBoundsFrame();
virtual void GetBounds(nsRect& aRect, nsIFrame** aRelativeFrame);
virtual void GetPresContext(nsCOMPtr<nsIPresContext>& aContext);
NS_IMETHOD AppendFlatStringFromSubtree(nsIContent *aContent, nsAWritableString *aFlatString);
NS_IMETHOD AppendFlatStringFromContentNode(nsIContent *aContent, nsAWritableString *aFlatString);
// Data Members
nsCOMPtr<nsIDOMNode> mDOMNode;
nsCOMPtr<nsIWeakReference> mPresShell;
nsCOMPtr<nsIFocusController> mFocusController;
};
/* Special Accessible that knows how to handle hit detection for flowing text */
class nsHTMLBlockAccessible : public nsAccessible
{
public:
nsHTMLBlockAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD AccGetAt(PRInt32 x, PRInt32 y, nsIAccessible **_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);
};
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;
};
#endif

View File

@@ -1,225 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#include "nsGenericAccessible.h"
#include "nsIFrame.h"
#include "nsCOMPtr.h"
#include "nsIWeakReference.h"
#include "nsISelectionController.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;
}

View File

@@ -1,51 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric D Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#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

@@ -1,478 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#include "nsIAccessible.h"
#include "nsRootAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsIDOMEventTarget.h"
#include "nsIDOMElement.h"
#include "nsIDOMEventReceiver.h"
#include "nsReadableUtils.h"
#include "nsILink.h"
#include "nsHTMLFormControlAccessible.h"
#include "nsHTMLLinkAccessible.h"
#include "nsIURI.h"
#include "nsIDocShell.h"
#include "nsIDocShellTreeItem.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 "nsHTMLSelectListAccessible.h"
#include "nsIDOMHTMLSelectElement.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_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);
//-----------------------------------------------------
// construction
//-----------------------------------------------------
nsRootAccessible::nsRootAccessible(nsIWeakReference* aShell):nsAccessible(nsnull,aShell),
nsDocAccessibleMixin(aShell), mAccService(do_GetService("@mozilla.org/accessibilityService;1"))
{
mListener = nsnull;
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
NS_ASSERTION(shell,"Shell is gone!!! What are we doing here?");
shell->GetDocument(getter_AddRefs(mDocument));
mDOMNode = do_QueryInterface(mDocument);
nsLayoutAtoms::AddRefAtoms();
}
//-----------------------------------------------------
// destruction
//-----------------------------------------------------
nsRootAccessible::~nsRootAccessible()
{
nsLayoutAtoms::ReleaseAtoms();
RemoveAccessibleEventListener(mListener);
}
/* attribute wstring accName; */
NS_IMETHODIMP nsRootAccessible::GetAccName(nsAWritableString& aAccName)
{
return GetTitle(aAccName);
}
// helpers
nsIFrame* nsRootAccessible::GetFrame()
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell)
return nsnull;
nsIFrame* root = nsnull;
if (shell)
shell->GetRootFrame(&root);
return root;
}
void nsRootAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
*aRelativeFrame = GetFrame();
(*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 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;
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetAccState(PRUint32 *aAccState)
{
return nsDocAccessibleMixin::GetAccState(aAccState);
}
NS_IMETHODIMP nsRootAccessible::GetAccValue(nsAWritableString& aAccValue)
{
return GetURL(aAccValue);
}
/* void addAccessibleEventListener (in nsIAccessibleEventListener aListener); */
NS_IMETHODIMP nsRootAccessible::AddAccessibleEventListener(nsIAccessibleEventListener *aListener)
{
if (!mListener)
{
// add an event listener to the document
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell)
return NS_ERROR_FAILURE;
nsCOMPtr<nsIDocument> document;
shell->GetDocument(getter_AddRefs(document));
// use AddEventListener from the nsIDOMEventTarget interface
nsCOMPtr<nsIDOMEventTarget> target;
if (NS_SUCCEEDED(document->QueryInterface(NS_GET_IID(nsIDOMEventTarget), getter_AddRefs(target))) && target)
{
nsresult rv = NS_OK;
// we're a DOMEventListener now!!
nsCOMPtr<nsIDOMEventListener> listener;
rv = this->QueryInterface( NS_GET_IID(nsIDOMEventListener), getter_AddRefs(listener) );
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to QI");
// capture DOM focus events
rv = target->AddEventListener( NS_LITERAL_STRING("focus") , listener, PR_TRUE );
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// capture Form change events
rv = target->AddEventListener( NS_LITERAL_STRING("change") , listener, 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") , listener, PR_TRUE );
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// add ourself as a RadiobuttonStateChange listener ( custom event fired in nsHTMLInputElement.cpp )
rv = target->AddEventListener( NS_LITERAL_STRING("RadiobuttonStateChange") , listener, PR_TRUE );
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
}
}
// create a weak reference to the listener
mListener = aListener;
return NS_OK;
}
/* void removeAccessibleEventListener (in nsIAccessibleEventListener aListener); */
NS_IMETHODIMP nsRootAccessible::RemoveAccessibleEventListener(nsIAccessibleEventListener *aListener)
{
if (mListener)
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
nsCOMPtr<nsIDocument> document;
if (!shell)
return NS_OK;
shell->GetDocument(getter_AddRefs(document));
nsCOMPtr<nsIDOMEventReceiver> erP;
if (NS_SUCCEEDED(document->QueryInterface(NS_GET_IID(nsIDOMEventReceiver), getter_AddRefs(erP))) && erP)
{
nsresult rv = erP->RemoveEventListenerByIID(NS_STATIC_CAST(nsIDOMFocusListener *, this), NS_GET_IID(nsIDOMFocusListener));
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
}
}
mListener = nsnull;
return NS_OK;
}
// --------------- 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);
nsAutoString eventType;
aEvent->GetType(eventType);
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(mAccService->GetAccessibleFor(targetNode, getter_AddRefs(accessible)))) {
if ( eventType.EqualsIgnoreCase("focus") ) {
if (mCurrentFocus != targetNode) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, accessible);
mCurrentFocus = targetNode;
}
}
else if ( eventType.EqualsIgnoreCase("change") ) {
if (optionTargetNode) { // Set to current option only for HTML selects
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_SELECTION, accessible);
if (mCurrentFocus != optionTargetNode &&
NS_SUCCEEDED(mAccService->GetAccessibleFor(optionTargetNode, getter_AddRefs(accessible)))) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, accessible);
mCurrentFocus = optionTargetNode;
}
}
else
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
else if ( eventType.EqualsIgnoreCase("CheckboxStateChange") ) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
else if ( eventType.EqualsIgnoreCase("RadiobuttonStateChange") ) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
}
}
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetTargetNode(nsIDOMEvent *aEvent, nsCOMPtr<nsIDOMNode>& aTargetNode)
{
nsCOMPtr<nsIDOMEventTarget> domEventTarget;
aEvent->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; }
// ------- 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);
}
nsDocAccessibleMixin::nsDocAccessibleMixin(nsIDocument *aDoc):mDocument(aDoc)
{
}
nsDocAccessibleMixin::nsDocAccessibleMixin(nsIWeakReference *aPresShell)
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(aPresShell));
NS_ASSERTION(shell,"Shell is gone!!! What are we doing here?");
shell->GetDocument(getter_AddRefs(mDocument));
}
nsDocAccessibleMixin::~nsDocAccessibleMixin()
{
}
NS_IMETHODIMP nsDocAccessibleMixin::GetURL(nsAWritableString& aURL)
{
nsCOMPtr<nsIURI> pURI;
mDocument->GetDocumentURL(getter_AddRefs(pURI));
nsXPIDLCString path;
pURI->GetSpec(getter_Copies(path));
aURL.Assign(NS_ConvertUTF8toUCS2(path).get());
//XXXaaronl Need to use CopyUTF8toUCS2(nsDependentCString(path), aURL); when it's written
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)
{
if (mDocument)
return mDocument->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::GetAccState(PRUint32 *aAccState)
{
// Screen readers need to know when the document is finished loading (STATE_BUSY flag)
// We do it this way, rather than via nsIWebProgressListener, because
// if accessibility was turned on after a document already finished loading,
// we would get no state changes from nsIWebProgressListener.
// The GetBusyFlags method, however, always has the current busy state information for us.
*aAccState = 0;
if (mDocument) {
nsCOMPtr<nsIPresShell> presShell;
mDocument->GetShellAt(0, getter_AddRefs(presShell));
if (presShell) {
nsCOMPtr<nsIPresContext> context;
presShell->GetPresContext(getter_AddRefs(context));
if (context) {
nsCOMPtr<nsISupports> container;
context->GetContainer(getter_AddRefs(container));
if (container) {
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(container));
if (docShell) {
PRUint32 busyFlags;
docShell->GetBusyFlags(&busyFlags);
if (busyFlags != nsIDocShell::BUSY_FLAGS_NONE)
*aAccState = nsIAccessible::STATE_BUSY;
}
}
}
}
}
return NS_OK;
}

View File

@@ -1,106 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#ifndef _nsRootAccessible_H_
#define _nsRootAccessible_H_
#include "nsAccessible.h"
#include "nsIAccessibleEventReceiver.h"
#include "nsIAccessibleEventListener.h"
#include "nsIAccessibleDocument.h"
#include "nsIDOMFormListener.h"
#include "nsIDOMFocusListener.h"
#include "nsIDocument.h"
#include "nsIAccessibilityService.h"
class nsDocAccessibleMixin
{
public:
nsDocAccessibleMixin(nsIDocument *doc);
nsDocAccessibleMixin(nsIWeakReference *aShell);
virtual ~nsDocAccessibleMixin();
NS_DECL_NSIACCESSIBLEDOCUMENT
NS_IMETHOD GetAccState(PRUint32 *aAccState);
protected:
nsCOMPtr<nsIDocument> mDocument;
};
class nsRootAccessible : public nsAccessible,
public nsDocAccessibleMixin,
public nsIAccessibleDocument,
public nsIAccessibleEventReceiver,
public nsIDOMFocusListener,
public nsIDOMFormListener
{
NS_DECL_ISUPPORTS_INHERITED
public:
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(nsIAccessibleEventListener *aListener);
// ----- nsIDOMEventListener --------------------------
NS_IMETHOD HandleEvent(nsIDOMEvent* anEvent);
// ----- 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_DECL_NSIACCESSIBLEDOCUMENT
protected:
NS_IMETHOD GetTargetNode(nsIDOMEvent *aEvent, nsCOMPtr<nsIDOMNode>& aTargetNode);
virtual void GetBounds(nsRect& aRect, nsIFrame** aRelativeFrame);
virtual nsIFrame* GetFrame();
// 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
nsIAccessibleEventListener* mListener;
nsCOMPtr<nsIDOMNode> mCurrentFocus;
nsCOMPtr<nsIAccessibilityService> mAccService;
};
#endif

View File

@@ -1,154 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#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"
#include "nsGUIEvent.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

@@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#ifndef _nsHTMLAreaAccessible_H_
#define _nsHTMLAreaAccessible_H_
#include "nsGenericAccessible.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

@@ -1,467 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#include "nsHTMLFormControlAccessible.h"
#include "nsWeakReference.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLTextAreaElement.h"
#include "nsINameSpaceManager.h"
#include "nsHTMLAtoms.h"
#include "nsIDOMHTMLButtonElement.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#include "nsAccessible.h"
#include "nsIFrame.h"
#include "nsIDOMHTMLLabelElement.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsISelectionController.h"
nsHTMLFormControlAccessible::nsHTMLFormControlAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsLeafAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLFormControlAccessible::AppendLabelFor(nsIContent *aLookNode, nsAReadableString *aId, nsAWritableString *aLabel)
{
PRInt32 numChildren = 0;
nsCOMPtr<nsIDOMHTMLLabelElement> labelElement(do_QueryInterface(aLookNode));
if (labelElement) {
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(aLookNode));
nsresult rv = NS_OK;
if (elt) {
nsAutoString labelIsFor;
elt->GetAttribute(NS_LITERAL_STRING("for"),labelIsFor);
if (labelIsFor.Equals(*aId))
rv = AppendFlatStringFromSubtree(aLookNode, aLabel);
}
return rv;
}
aLookNode->ChildCount(numChildren);
nsIContent *contentWalker;
PRInt32 index;
for (index = 0; index < numChildren; index++) {
aLookNode->ChildAt(index, contentWalker);
if (contentWalker)
AppendLabelFor(contentWalker, aId, aLabel);
}
return NS_OK;
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLFormControlAccessible::GetAccName(nsAWritableString& _retval)
{
nsCOMPtr<nsIContent> walkUpContent(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIDOMHTMLLabelElement> labelElement;
nsCOMPtr<nsIDOMHTMLFormElement> formElement;
nsresult rv = NS_OK;
nsAutoString label;
// go up tree get name of ancestor label if there is one. Don't go up farther than form element
while (walkUpContent && label.IsEmpty() && !formElement) {
labelElement = do_QueryInterface(walkUpContent);
if (labelElement)
rv = AppendFlatStringFromSubtree(walkUpContent, &label);
formElement = do_QueryInterface(walkUpContent); // reached top ancestor in form
nsCOMPtr<nsIContent> nextParent;
walkUpContent->GetParent(*getter_AddRefs(nextParent));
walkUpContent = nextParent;
}
// There can be a label targeted at this control using the for="control_id" attribute
// To save computing time, only look for those inside of a form element
walkUpContent = do_QueryInterface(formElement);
if (walkUpContent) {
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mDOMNode));
nsAutoString forId;
elt->GetAttribute(NS_LITERAL_STRING("id"), forId);
// Actually we'll be walking down the content this time, with a depth first search
if (!forId.IsEmpty())
AppendLabelFor(walkUpContent,&forId,&label);
}
label.CompressWhitespace();
if (label.IsEmpty())
return nsAccessible::GetAccName(_retval);
_retval.Assign(label);
return NS_OK;
}
/* long getAccState (); */
NS_IMETHODIMP nsHTMLFormControlAccessible::GetAccState(PRUint32 *_retval)
{
// can be
// focusable, focused, checked, protected, unavailable
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
PRBool checked = PR_FALSE;
element->GetChecked(&checked);
if (checked) *_retval |= STATE_CHECKED;
PRBool disabled = PR_FALSE;
element->GetDisabled(&disabled);
if (disabled)
*_retval |= STATE_UNAVAILABLE;
nsAutoString typeString;
element->GetType(typeString);
if (typeString.EqualsIgnoreCase("password"))
*_retval |= STATE_PROTECTED;
return NS_OK;
}
// --- checkbox -----
nsHTMLCheckboxAccessible::nsHTMLCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsHTMLFormControlAccessible(aNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_CHECKBUTTON;
return NS_OK;
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
if (index == 0) {
// check or uncheck
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
PRBool checked = PR_FALSE;
if (element)
element->GetChecked(&checked);
if (checked)
_retval = NS_LITERAL_STRING("uncheck");
else
_retval = NS_LITERAL_STRING("check");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTMLCheckboxAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) { // 0 is the magic value for default action
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
PRBool checked = PR_FALSE;
element->GetChecked(&checked);
element->SetChecked(checked ? PR_FALSE : PR_TRUE);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
//------ Radio button -------
nsHTMLRadioButtonAccessible::nsHTMLRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsHTMLFormControlAccessible(aNode, aShell)
{
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTMLRadioButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsHTMLRadioButtonAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
if (index == 0) {
_retval = NS_LITERAL_STRING("select");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTMLRadioButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
element->Click();
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLRadioButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_RADIOBUTTON;
return NS_OK;
}
// ----- Button -----
nsHTMLButtonAccessible::nsHTMLButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsHTMLFormControlAccessible(aNode, aShell)
{
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
if (index == 0) {
_retval = NS_LITERAL_STRING("press");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTMLButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
element->Click();
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/* wstring getAccName (); */
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):
nsHTMLBlockAccessible(aNode, aShell)
{
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
if (index == 0) {
_retval = NS_LITERAL_STRING("press");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTML4ButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
element->Click();
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/* long getAccState (); */
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/* wstring getAccName (); */
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):
nsHTMLFormControlAccessible(aNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TEXT;
return NS_OK;
}
/* wstring getAccValue (); */
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccValue(nsAWritableString& _retval)
{
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;
}
/* long getAccState (); */
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;
if (content && NS_SUCCEEDED(shell->GetPrimaryFrameFor(content, &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 = nsHTMLFormControlAccessible::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;
}

View File

@@ -1,105 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric D Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#ifndef _nsHTMLFormControlAccessible_H_
#define _nsHTMLFormControlAccessible_H_
#include "nsAccessible.h"
class nsICheckboxControlFrame;
/* Accessible for supporting for controls
* supports:
* - walking up to get name from label
* - support basic state
*/
class nsHTMLFormControlAccessible : public nsLeafAccessible
{
public:
nsHTMLFormControlAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
protected:
NS_IMETHODIMP AppendLabelFor(nsIContent *aLookNode, nsAReadableString *aId, nsAWritableString *aLabel);
};
class nsHTMLCheckboxAccessible : public nsHTMLFormControlAccessible
{
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);
};
class nsHTMLRadioButtonAccessible : public nsHTMLFormControlAccessible
{
public:
nsHTMLRadioButtonAccessible(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);
};
class nsHTMLButtonAccessible : public nsHTMLFormControlAccessible
{
public:
nsHTMLButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(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 nsHTMLBlockAccessible
{
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 nsHTMLFormControlAccessible
{
public:
nsHTMLTextFieldAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
#endif

View File

@@ -1,274 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#include "nsHTMLIFrameRootAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsIDocShell.h"
#include "nsIWebShell.h"
#include "nsIDocShellTreeItem.h"
#include "nsIXULDocument.h"
#include "nsIDOMDocument.h"
#include "nsIDOMDocumentType.h"
#include "nsINameSpaceManager.h"
#include "nsReadableUtils.h"
NS_INTERFACE_MAP_BEGIN(nsHTMLIFrameRootAccessible)
NS_INTERFACE_MAP_ENTRY(nsIDOMFocusListener)
NS_INTERFACE_MAP_ENTRY(nsIDOMFormListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMFormListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsIDOMEventListener, nsIDOMFormListener)
NS_INTERFACE_MAP_END_INHERITING(nsRootAccessible)
NS_IMPL_ADDREF_INHERITED(nsHTMLIFrameRootAccessible, nsRootAccessible);
NS_IMPL_RELEASE_INHERITED(nsHTMLIFrameRootAccessible, nsRootAccessible);
NS_IMPL_ADDREF_INHERITED(nsHTMLIFrameAccessible, nsHTMLBlockAccessible);
NS_IMPL_RELEASE_INHERITED(nsHTMLIFrameAccessible, nsHTMLBlockAccessible);
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 nsHTMLBlockAccessible::QueryInterface(aIID, aInstancePtr);
}
nsHTMLIFrameAccessible::nsHTMLIFrameAccessible(nsIDOMNode* aNode, nsIAccessible* aRoot, nsIWeakReference* aShell, nsIDocument *aDoc):
nsHTMLBlockAccessible(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 nsDocAccessibleMixin::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):
nsRootAccessible(aShell)
{
mRealDOMNode = aNode;
}
//-----------------------------------------------------
// destruction
//-----------------------------------------------------
nsHTMLIFrameRootAccessible::~nsHTMLIFrameRootAccessible()
{
}
/* readonly attribute nsIAccessible accParent; */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccParent(nsIAccessible * *_retval)
{
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(GetHTMLIFrameAccessible(getter_AddRefs(accessible))))
return accessible->GetAccParent(_retval);
*_retval = nsnull;
return NS_OK;
}
/* nsIAccessible getAccNextSibling (); */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(GetHTMLIFrameAccessible(getter_AddRefs(accessible))))
return accessible->GetAccNextSibling(_retval);
*_retval = nsnull;
return NS_ERROR_FAILURE;
}
/* nsIAccessible getAccPreviousSibling (); */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(GetHTMLIFrameAccessible(getter_AddRefs(accessible))))
return accessible->GetAccPreviousSibling(_retval);
*_retval = nsnull;
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetHTMLIFrameAccessible(nsIAccessible** aAcc)
{
// Start by finding our PresShell and from that
// we get our nsIDocShell in order to walk the DocShell tree
nsCOMPtr<nsIPresShell> presShell(do_QueryReferent(mPresShell));
if (!presShell) {
*aAcc = nsnull;
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIDocShell> docShell;
if (NS_SUCCEEDED(GetDocShellFromPS(presShell, getter_AddRefs(docShell)))) {
// Now that we have the DocShell QI
// it to a tree item to find it's parent
nsCOMPtr<nsIDocShellTreeItem> item(do_QueryInterface(docShell));
if (item) {
nsCOMPtr<nsIDocShellTreeItem> itemParent;
item->GetParent(getter_AddRefs(itemParent));
// QI to get the WebShell for the parent document
nsCOMPtr<nsIDocShell> parentDocShell(do_QueryInterface(itemParent));
if (parentDocShell) {
// Get the PresShell/Content and
// Root Content Node of the parent document
nsCOMPtr<nsIPresShell> parentPresShell;
nsCOMPtr<nsIPresContext> parentPresContext;
nsCOMPtr<nsIContent> rootContent;
if (NS_SUCCEEDED(GetDocShellObjects(parentDocShell,
getter_AddRefs(parentPresShell),
getter_AddRefs(parentPresContext),
getter_AddRefs(rootContent)))) {
// QI the DocShell (of this sub-doc) to a webshell
nsCOMPtr<nsIWebShell> webShell(do_QueryInterface(docShell));
if (webShell && parentPresShell && parentPresContext && rootContent) {
// Now, find the Content in the parent document
// that represents this sub-doc,
// we do that matching webshells
nsCOMPtr<nsIContent> content;
if (FindContentForWebShell(parentPresShell,
rootContent,
webShell,
getter_AddRefs(content))) {
// OK, we found the content node in the parent doc
// that corresponds to this sub-doc
// Get the frame for that content
nsCOMPtr<nsIWeakReference> wr = do_GetWeakReference(parentPresShell);
nsIFrame* frame = nsnull;
parentPresShell->GetPrimaryFrameFor(content, &frame);
#ifdef NS_DEBUG_X
printf("** Found: Con:%p Fr:%p", content, frame);
char * name;
if (GetNameForFrame(frame, &name)) {
printf(" Name:[%s]", name);
nsMemory::Free(name);
}
printf("\n");
#endif
nsCOMPtr<nsIDOMNode> node(do_QueryInterface(content));
nsCOMPtr<nsIAccessible> acc(do_QueryInterface(frame));
*aAcc = acc;
NS_IF_ADDREF(*aAcc);
return NS_OK;
}
}
}
}
}
}
return NS_ERROR_FAILURE;
}

View File

@@ -1,78 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#ifndef _nsIFrameRootAccessible_H_
#define _nsIFrameRootAccessible_H_
#include "nsRootAccessible.h"
#include "nsAccessible.h"
#include "nsIAccessibleDocument.h"
class nsIWebShell;
class nsIWeakReference;
class nsHTMLIFrameAccessible : public nsHTMLBlockAccessible,
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:
NS_IMETHOD GetHTMLIFrameAccessible(nsIAccessible** aAcc);
nsCOMPtr<nsIDOMNode> mRealDOMNode;
};
#endif

View File

@@ -1,188 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#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, nsIImageFrame *aImageFrame, nsIWeakReference* aShell):
nsLinkableAccessible(aDOMNode, aShell)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(aDOMNode));
nsCOMPtr<nsIDocument> doc;
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
NS_ASSERTION(shell,"Shell is gone!!! What are we doing here?");
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

@@ -1,54 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#ifndef _nsHTMLImageAccessible_H_
#define _nsHTMLImageAccessible_H_
#include "nsAccessible.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, nsIImageFrame *imageFrame, 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

@@ -1,63 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#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

@@ -1,38 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
* Author: Aaron Leventhal (aaronl@netscape.com)
*/
#ifndef _nsHTMLLinkAccessible_H_
#define _nsHTMLLinkAccessible_H_
#include "nsAccessible.h"
class nsHTMLLinkAccessible : public nsLinkableAccessible
{
public:
nsHTMLLinkAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -1,794 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#include "nsHTMLSelectAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsRootAccessible.h"
#include "nsINameSpaceManager.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsLayoutAtoms.h"
#include "nsIDOMXULListener.h"
#include "nsIDOMEventReceiver.h"
#include "nsReadableUtils.h"
#include "nsIDOMHTMLCollection.h"
#include "nsISelectElement.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
#include "nsIDOMHTMLOptionElement.h"
/*
* A class the represents the text field in the Select to the left
* of the drop down button
*/
class nsHTMLSelectTextFieldAccessible : public nsLeafAccessible
{
public:
nsHTMLSelectTextFieldAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame);
nsCOMPtr<nsIAccessible> mParent;
};
/*
* A base class that can listen to menu events. Its used so the
* button and the window accessibles can change there 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;
};
NS_IMPL_ISUPPORTS_INHERITED(nsMenuListenerAccessible, nsAccessible, nsIDOMXULListener)
/**
* A class that represents the button inside the Select to the right of the text field
*/
class nsHTMLSelectButtonAccessible : public nsMenuListenerAccessible
{
public:
nsHTMLSelectButtonAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAWritableString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame);
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 nsHTMLSelectWindowAccessible : public nsMenuListenerAccessible
{
public:
nsHTMLSelectWindowAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame);
nsCOMPtr<nsIAccessible> mParent;
};
/*
* The list that contains all the options in the select. It is inside the window.
*/
class nsHTMLSelectListAccessible : public nsAccessible
{
public:
nsHTMLSelectListAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectListAccessible() {}
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
nsCOMPtr<nsIAccessible> mParent;
};
//--------- nsHTMLSelectAccessible -----
nsHTMLSelectAccessible::nsHTMLSelectAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
}
NS_IMPL_ISUPPORTS_INHERITED1(nsHTMLSelectAccessible, nsAccessible, nsIAccessibleSelectable)
// ------------- Helper method for determination of proper Frame ------
//static
PRBool nsHTMLSelectAccessible::IsCorrectFrame( nsIFrame* aFrame, nsIAtom* aAtom ) {
if (!aFrame || !aAtom)
return PR_FALSE;
nsCOMPtr<nsIAtom> frameType;
aFrame->GetFrameType(getter_AddRefs(frameType));
if (frameType.get() != aAtom)
return PR_FALSE;
return PR_TRUE;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccValue(nsAWritableString& _retval)
{
nsCOMPtr<nsIAccessible> text;
GetAccFirstChild(getter_AddRefs(text));
if (text)
return text->GetAccValue(_retval);
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_COMBOBOX;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccLastChild(nsIAccessible **_retval)
{
// create a window accessible
*_retval = new nsHTMLSelectWindowAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
// create a text field
*_retval = new nsHTMLSelectTextFieldAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccChildCount(PRInt32 *_retval)
{
// always have 3 children
*_retval = 3;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetSelectedChildren(nsISupportsArray **_retval)
{
*_retval = nsnull;
return NS_OK;
}
//-------- SelectTextFieldAccessible ------
nsHTMLSelectTextFieldAccessible::nsHTMLSelectTextFieldAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccValue(nsAWritableString& _retval)
{
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if ( !frame )
return NS_ERROR_FAILURE;
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return NS_ERROR_FAILURE;
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::textFrame) )
return NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> content;
frame->GetContent(getter_AddRefs(content));
if (!content)
return NS_ERROR_FAILURE;
AppendFlatStringFromSubtree(content, &_retval);
return NS_OK;
}
void nsHTMLSelectTextFieldAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
// get our first child's frame
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if ( !frame )
return;
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return;
frame->GetParent(aRelativeFrame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( *aRelativeFrame, nsLayoutAtoms::areaFrame) )
return;
frame->GetRect(aBounds);
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLSelectButtonAccessible(parent, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_STATICTEXT;
return NS_OK;
}
// --------- nsMenuListenerAccessible -----------
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()
{
// not 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;
}
}
//-------- SelectButtonAccessible ------
nsHTMLSelectButtonAccessible::nsHTMLSelectButtonAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsMenuListenerAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTMLSelectButtonAccessible::AccDoAction(PRUint8 index)
{
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return NS_ERROR_FAILURE;
frame->GetNextSibling(&frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::gfxButtonControlFrame) )
return NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> content;
frame->GetContent(getter_AddRefs(content));
if (index == 0) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(content));
if (element)
{
element->Click();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_NOT_IMPLEMENTED;
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;
}
void nsHTMLSelectButtonAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
// get our second child's frame
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return;
frame->GetNextSibling(&frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::gfxButtonControlFrame) )
return;
frame->GetParent(aRelativeFrame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( *aRelativeFrame, nsLayoutAtoms::areaFrame) )
return;
frame->GetRect(aBounds);
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccName(nsAWritableString& _retval)
{
return GetAccActionName(0, _retval);
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
SetupMenuListener();
// get the current state open or closed
// set _retval to it.
// notice its supposed to be reversed. Close if opened
// and Open if closed.
if (mOpen)
_retval = NS_LITERAL_STRING("Close");
else
_retval = NS_LITERAL_STRING("Open");
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLSelectWindowAccessible(parent, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLSelectTextFieldAccessible(parent, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}
//---------------------
nsHTMLSelectWindowAccessible::nsHTMLSelectWindowAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell)
:nsMenuListenerAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
SetupMenuListener();
// if open we are visible if closed we are invisible
// set _retval to it.
if (mOpen)
*_retval |= STATE_DEFAULT;
else
*_retval |= STATE_INVISIBLE;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLSelectButtonAccessible(parent, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 1;
return NS_OK;
}
void nsHTMLSelectWindowAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
// get our first option
nsCOMPtr<nsIDOMNode> child;
mDOMNode->GetFirstChild(getter_AddRefs(child));
// now get its frame
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
*aRelativeFrame = nsnull;
return;
}
nsIFrame* frame = nsnull;
nsCOMPtr<nsIContent> content(do_QueryInterface(child));
shell->GetPrimaryFrameFor(content, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return;
frame->GetParent(&frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::areaFrame) )
return;
frame->GetParent(aRelativeFrame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( *aRelativeFrame, nsLayoutAtoms::listControlFrame) )
return;
frame->GetRect(aBounds);
}
//----------
nsHTMLSelectListAccessible::nsHTMLSelectListAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
NS_IMETHODIMP nsHTMLSelectListAccessible::AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
{
return mParent->AccGetBounds(x,y,width,height);
}
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LIST;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
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;
}
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::nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LISTITEM;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
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;
}
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;
}
NS_IMETHODIMP nsHTMLSelectOptionAccessible::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;
}

View File

@@ -1,72 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#ifndef __nsHTMLSelectAccessible_h__
#define __nsHTMLSelectAccessible_h__
#include "nsAccessible.h"
#include "nsCOMPtr.h"
#include "nsIAtom.h"
#include "nsIAccessibleSelectable.h"
class nsHTMLSelectAccessible : public nsAccessible,
public nsIAccessibleSelectable
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLESELECTABLE
nsHTMLSelectAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectAccessible() {}
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
// helper method to verify frames
static PRBool IsCorrectFrame( nsIFrame* aFrame, nsIAtom* aAtom );
};
/*
* Each option in the Select. These are in the nsListAccessible
*/
class nsHTMLSelectOptionAccessible : public nsLeafAccessible
{
public:
nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
nsCOMPtr<nsIAccessible> mParent;
};
#endif

View File

@@ -1,51 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#include "nsHTMLTableAccessible.h"
#include "nsWeakReference.h"
#include "nsReadableUtils.h"
nsHTMLTableCellAccessible::nsHTMLTableCellAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsHTMLBlockAccessible(aDomNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTableCellAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_CELL;
return NS_OK;
}
nsHTMLTableAccessible::nsHTMLTableAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsHTMLBlockAccessible(aDomNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTableAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TABLE;
return NS_OK;
}

View File

@@ -1,44 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#ifndef _nsHTMLTableAccessible_H_
#define _nsHTMLTableAccessible_H_
#include "nsAccessible.h"
class nsHTMLTableCellAccessible : public nsHTMLBlockAccessible
{
public:
nsHTMLTableCellAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
class nsHTMLTableAccessible : public nsHTMLBlockAccessible
{
public:
nsHTMLTableAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -1,74 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#include "nsHTMLTextAccessible.h"
#include "nsWeakReference.h"
#include "nsIFrame.h"
#include "nsString.h"
#include "nsILink.h"
#include "nsILinkHandler.h"
#include "nsISelection.h"
#include "nsISelectionController.h"
#include "nsIPresContext.h"
#include "nsReadableUtils.h"
nsHTMLTextAccessible::nsHTMLTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsLinkableAccessible(aDomNode, aShell)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccName(nsAWritableString& _retval)
{
return mDOMNode->GetNodeValue(_retval);
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TEXT;
return NS_OK;
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}

View File

@@ -1,43 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#ifndef _nsHTMLTextAccessible_H_
#define _nsHTMLTextAccessible_H_
#include "nsAccessible.h"
class nsIWeakReference;
class nsITextControlFrame;
class nsHTMLTextAccessible : public nsLinkableAccessible
{
public:
nsHTMLTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
#endif

View File

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

View File

@@ -1,64 +0,0 @@
#!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
LIBRARY_NAME=accessibility_s
CPP_OBJS=\
.\$(OBJDIR)\nsAccessible.obj \
.\$(OBJDIR)\nsRootAccessible.obj \
.\$(OBJDIR)\nsHTMLIFrameRootAccessible.obj \
.\$(OBJDIR)\nsAccessibilityService.obj \
.\$(OBJDIR)\nsHTMLSelectListAccessible.obj \
.\$(OBJDIR)\nsGenericAccessible.obj \
.\$(OBJDIR)\nsHTMLFormControlAccessible.obj \
.\$(OBJDIR)\nsHTMLTextAccessible.obj \
.\$(OBJDIR)\nsHTMLImageAccessible.obj \
.\$(OBJDIR)\nsHTMLAreaAccessible.obj \
.\$(OBJDIR)\nsHTMLTableAccessible.obj \
.\$(OBJDIR)\nsHTMLLinkAccessible.obj \
.\$(OBJDIR)\nsHTMLComboboxAccessible.obj \
.\$(OBJDIR)\nsHTMLListboxAccessible.obj \
$(NULL)
EXPORTS = \
.\nsRootAccessible.h \
$(NULL)
LINCS= \
-I..\..\layout\html\forms\public \
-I..\..\layout\html\forms\src \
-I..\..\layout\html\base\src \
$(NULL)
include <$(DEPTH)\config\rules.mak>
install:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib

View File

@@ -1,685 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: David W. Hyatt (hyatt@netscape.com)
*
* Contributor(s):
*/
#include "nsIAccessibilityService.h"
#include "nsAccessibilityService.h"
#include "nsAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsRootAccessible.h"
#include "nsINameSpaceManager.h"
#include "nsLayoutAtoms.h"
#include "nsIDOMNode.h"
#include "nsHTMLTextAccessible.h"
#include "nsHTMLTableAccessible.h"
#include "nsHTMLImageAccessible.h"
#include "nsHTMLAreaAccessible.h"
#include "nsHTMLLinkAccessible.h"
#include "nsHTMLSelectListAccessible.h"
#include "nsHTMLComboboxAccessible.h"
#include "nsHTMLListboxAccessible.h"
#include "nsIDOMHTMLAreaElement.h"
#include "nsHTMLFormControlAccessible.h"
#include "nsILink.h"
#include "nsIDocShellTreeItem.h"
#include "nsIDOMDocument.h"
#include "nsIDOMHTMLOptionElement.h"
// IFrame
#include "nsIDocShell.h"
#include "nsHTMLIFrameRootAccessible.h"
//--------------------
nsAccessibilityService::nsAccessibilityService()
{
NS_INIT_REFCNT();
}
nsAccessibilityService::~nsAccessibilityService()
{
}
NS_IMPL_THREADSAFE_ISUPPORTS1(nsAccessibilityService, nsIAccessibilityService);
////////////////////////////////////////////////////////////////////////////////
// nsIAccessibilityService methods:
NS_IMETHODIMP
nsAccessibilityService::CreateRootAccessible(nsISupports* aPresContext, nsISupports* aFrame, nsIAccessible **_retval)
{
// XXX - jgaunt - looks like we aren't using this
//nsIFrame* f = NS_STATIC_CAST(nsIFrame*, aFrame);
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
NS_ASSERTION(presShell,"Error not presshell!!");
nsCOMPtr<nsIWeakReference> weakShell(do_GetWeakReference(presShell));
*_retval = new nsRootAccessible(weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLComboboxAccessible(nsIDOMNode* aDOMNode, nsISupports* aPresContext, nsIAccessible **_retval)
{
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(presShell);
*_retval = new nsHTMLComboboxAccessible(aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLListboxAccessible(nsIDOMNode* aDOMNode, nsISupports* aPresContext, nsIAccessible **_retval)
{
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(presShell);
*_retval = new nsHTMLListboxAccessible(aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLSelectOptionAccessible(nsIDOMNode* aDOMNode, nsIAccessible *aAccParent, nsISupports* aPresContext, nsIAccessible **_retval)
{
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(presShell);
*_retval = new nsHTMLSelectOptionAccessible(aAccParent, aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLCheckboxAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLCheckboxAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLCheckboxAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMRadioButtonAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLRadioButtonAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLRadioButtonAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLButtonAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLButtonAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLButtonAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTML4ButtonAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTML4ButtonAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTML4ButtonAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLTextAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLTextAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLTextAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLTableAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLTableAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLTableAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLTableCellAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLTableCellAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLTableCellAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLImageAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLImageAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
nsIImageFrame* imageFrame = nsnull;
// not using a nsCOMPtr frames don't support them.
aFrame->QueryInterface(NS_GET_IID(nsIImageFrame), (void**)&imageFrame);
if (!imageFrame)
return NS_ERROR_FAILURE;
*_retval = new nsHTMLImageAccessible(node, imageFrame, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLAreaAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLAreaAccessible(nsIWeakReference *aShell, nsIDOMNode *aDOMNode, nsIAccessible *aAccParent,
nsIAccessible **_retval)
{
*_retval = new nsHTMLAreaAccessible(aDOMNode, aAccParent, aShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
/* nsIAccessible createHTMLTextFieldAccessible (in nsISupports aPresShell, in nsISupports aFrame); */
NS_IMETHODIMP nsAccessibilityService::CreateHTMLTextFieldAccessible(nsISupports *aFrame, nsIAccessible **_retval)
{
nsIFrame* frame;
nsCOMPtr<nsIDOMNode> node;
nsCOMPtr<nsIWeakReference> weakShell;
nsresult rv = GetInfo(aFrame, &frame, getter_AddRefs(weakShell), getter_AddRefs(node));
if (NS_FAILED(rv))
return rv;
*_retval = new nsHTMLTextFieldAccessible(node, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsAccessibilityService::GetInfo(nsISupports* aFrame, nsIFrame** aRealFrame, nsIWeakReference** aShell, nsIDOMNode** aNode)
{
NS_ASSERTION(aFrame,"Error -- 1st argument (aFrame) is null!!");
*aRealFrame = NS_STATIC_CAST(nsIFrame*, aFrame);
nsCOMPtr<nsIContent> content;
(*aRealFrame)->GetContent(getter_AddRefs(content));
nsCOMPtr<nsIDOMNode> node(do_QueryInterface(content));
*aNode = node;
NS_IF_ADDREF(*aNode);
nsCOMPtr<nsIDocument> document;
content->GetDocument(*getter_AddRefs(document));
if (!document)
return NS_ERROR_FAILURE;
#ifdef DEBUG
PRInt32 shells = document->GetNumberOfShells();
NS_ASSERTION(shells > 0,"Error no shells!");
#endif
// do_GetWR only works into a |nsCOMPtr| :-(
nsCOMPtr<nsIPresShell> tempShell;
nsCOMPtr<nsIWeakReference> weakShell;
document->GetShellAt(0, getter_AddRefs(tempShell));
weakShell = do_GetWeakReference(tempShell);
NS_IF_ADDREF(*aShell = weakShell);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateAccessible(nsIDOMNode* aDOMNode, nsISupports* aDocument, nsIAccessible **_retval)
{
nsCOMPtr<nsIDocument> document (do_QueryInterface(aDocument));
if (!document)
return NS_ERROR_FAILURE;
#ifdef DEBUG
PRInt32 shells = document->GetNumberOfShells();
NS_ASSERTION(shells > 0,"Error no shells!");
#endif
nsCOMPtr<nsIPresShell> tempShell;
document->GetShellAt(0, getter_AddRefs(tempShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(tempShell);
*_retval = new nsAccessible(aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLBlockAccessible(nsIDOMNode* aDOMNode, nsISupports* aDocument, nsIAccessible **_retval)
{
nsCOMPtr<nsIDocument> document (do_QueryInterface(aDocument));
if (!document)
return NS_ERROR_FAILURE;
#ifdef DEBUG
PRInt32 shells = document->GetNumberOfShells();
NS_ASSERTION(shells > 0,"Error no shells!");
#endif
nsCOMPtr<nsIPresShell> tempShell;
document->GetShellAt(0, getter_AddRefs(tempShell));
nsCOMPtr<nsIWeakReference> weakShell = do_GetWeakReference(tempShell);
*_retval = new nsAccessible(aDOMNode, weakShell);
if (! *_retval)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP
nsAccessibilityService::CreateHTMLIFrameAccessible(nsIDOMNode* aDOMNode, nsISupports* aPresContext, nsIAccessible **_retval)
{
*_retval = nsnull;
nsCOMPtr<nsIContent> content(do_QueryInterface(aDOMNode));
NS_ASSERTION(content,"Error non nsIContent passed to accessible factory!!!");
nsCOMPtr<nsIPresContext> presContext(do_QueryInterface(aPresContext));
NS_ASSERTION(presContext,"Error non prescontext passed to accessible factory!!!");
nsCOMPtr<nsIPresShell> presShell;
presContext->GetShell(getter_AddRefs(presShell));
NS_ASSERTION(presShell,"Error non PresShell passed to accessible factory!!!");
nsCOMPtr<nsIWeakReference> weakRef = do_GetWeakReference(presShell);
nsCOMPtr<nsIDocument> doc;
if (NS_SUCCEEDED(content->GetDocument(*getter_AddRefs(doc))) && doc) {
nsCOMPtr<nsIPresShell> presShell;
doc->GetShellAt(0, getter_AddRefs(presShell));
if (presShell) {
nsCOMPtr<nsISupports> supps;
presShell->GetSubShellFor(content, getter_AddRefs(supps));
if (supps) {
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(supps));
if (docShell) {
nsCOMPtr<nsIPresShell> ps;
docShell->GetPresShell(getter_AddRefs(ps));
if (ps) {
nsCOMPtr<nsIWeakReference> wr = do_GetWeakReference(ps);
nsCOMPtr<nsIDocument> innerDoc;
ps->GetDocument(getter_AddRefs(innerDoc));
if (innerDoc) {
nsCOMPtr<nsIAccessible> root = new nsHTMLIFrameRootAccessible(aDOMNode, wr);
if ( root ) {
nsHTMLIFrameAccessible* frameAcc = new nsHTMLIFrameAccessible(aDOMNode, root, weakRef, innerDoc);
if ( frameAcc != nsnull ) {
*_retval = NS_STATIC_CAST(nsIAccessible*, frameAcc);
if ( *_retval ) {
NS_ADDREF(*_retval);
return NS_OK;
}
}
}
}
}
}
}
}
}
return NS_ERROR_FAILURE;
}
//-----------------------------------------------------------------------
// This method finds the content node in the parent document
// corresponds to the docshell
// This code is copied and pasted from nsEventStateManager.cpp
// Is also inefficient - better solution should come along as part of
// Bug 85602: "FindContentForDocShell walks entire content tree"
// Hopefully there will be a better method soon, with a public interface
nsIContent*
nsAccessibilityService::FindContentForDocShell(nsIPresShell* aPresShell,
nsIContent* aContent,
nsIDocShell* aDocShell)
{
NS_ASSERTION(aPresShell, "Pointer is null!");
NS_ASSERTION(aDocShell, "Pointer is null!");
NS_ASSERTION(aContent, "Pointer is null!");
nsCOMPtr<nsISupports> supps;
aPresShell->GetSubShellFor(aContent, getter_AddRefs(supps));
if (supps) {
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(supps));
if (docShell.get() == aDocShell)
return aContent;
}
// walk children content
PRInt32 count;
aContent->ChildCount(count);
for (PRInt32 i=0;i<count;i++) {
nsCOMPtr<nsIContent> child;
aContent->ChildAt(i, *getter_AddRefs(child));
nsIContent* foundContent = FindContentForDocShell(aPresShell, child, aDocShell);
if (foundContent != nsnull) {
return foundContent;
}
}
return nsnull;
}
void nsAccessibilityService::GetOwnerFor(nsIPresShell *aPresShell, nsIPresShell **aOwnerShell, nsIContent **aOwnerContent)
{
nsCOMPtr<nsIPresContext> presContext;
aPresShell->GetPresContext(getter_AddRefs(presContext));
if (!presContext)
return;
nsCOMPtr<nsISupports> pcContainer;
presContext->GetContainer(getter_AddRefs(pcContainer));
if (!pcContainer)
return;
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(pcContainer));
nsCOMPtr<nsIDocShellTreeItem> treeItem(do_QueryInterface(docShell));
if (!treeItem)
return;
// Get Parent Doc
nsCOMPtr<nsIDocShellTreeItem> treeItemParent;
treeItem->GetParent(getter_AddRefs(treeItemParent));
if (!treeItemParent)
return;
nsCOMPtr<nsIDocShell> parentDS(do_QueryInterface(treeItemParent));
if (!parentDS)
return;
nsCOMPtr<nsIPresShell> parentPresShell;
parentDS->GetPresShell(getter_AddRefs(parentPresShell));
if (!parentPresShell)
return;
nsCOMPtr<nsIDocument> parentDoc;
parentPresShell->GetDocument(getter_AddRefs(parentDoc));
if (!parentDoc)
return;
nsCOMPtr<nsIContent> rootContent;
parentDoc->GetRootContent(getter_AddRefs(rootContent));
nsIContent *tempContent;
tempContent = FindContentForDocShell(parentPresShell, rootContent, docShell);
if (tempContent) {
*aOwnerContent = tempContent;
*aOwnerShell = parentPresShell;
NS_ADDREF(*aOwnerShell);
NS_ADDREF(*aOwnerContent);
}
}
/* -------------------------------------------------------
* GetAccessibleFor - get an nsIAccessible from a DOM node
* ------------------------------------------------------- */
NS_IMETHODIMP nsAccessibilityService::GetAccessibleFor(nsIDOMNode *aNode,
nsIAccessible **_retval)
{
*_retval = nsnull;
if (!aNode)
return NS_ERROR_NULL_POINTER;
// ---- Get the document for this node ----
nsCOMPtr<nsIDocument> doc;
nsCOMPtr<nsIDocument> nodeIsDoc(do_QueryInterface(aNode));
if (nodeIsDoc)
doc = nodeIsDoc;
else {
nsCOMPtr<nsIDOMDocument> domDoc;
aNode->GetOwnerDocument(getter_AddRefs(domDoc));
if (!domDoc)
return NS_ERROR_INVALID_ARG;
doc = do_QueryInterface(domDoc);
}
if (!doc)
return NS_ERROR_INVALID_ARG;
// ---- Get the pres shell ----
nsCOMPtr<nsIPresShell> shell;
doc->GetShellAt(0, getter_AddRefs(shell));
if (!shell)
return NS_ERROR_FAILURE;
// ---- Check if area node ----
nsCOMPtr<nsIDOMHTMLAreaElement> areaContent(do_QueryInterface(aNode));
if (areaContent) // Area elements are implemented in nsHTMLImageAccessible as children of the image
return PR_FALSE; // Return, otherwise the image frame looks like an accessible object in the wrong place
// ---- Check if we need outer owning doc ----
nsCOMPtr<nsIContent> content(do_QueryInterface(aNode));
if (!content && nodeIsDoc) {
// This happens when we're on the document node, which will not QI to an nsIContent,
// When that happens, we try to get the outer, parent document node that contains the document
// For example, a <browser> or <iframe> element
nsCOMPtr<nsIPresShell> ownerShell;
nsCOMPtr<nsIContent> ownerContent;
GetOwnerFor(shell, getter_AddRefs(ownerShell), getter_AddRefs(ownerContent));
shell = ownerShell;
content = ownerContent;
}
// ---- If still no nsIContent, return ----
if (!content)
return PR_FALSE;
// ---- Try using frame to get IAccessible ----
nsIFrame* frame = nsnull;
shell->GetPrimaryFrameFor(content, &frame);
if (!frame)
return PR_FALSE;
nsCOMPtr<nsIAccessible> newAcc;
frame->GetAccessible(getter_AddRefs(newAcc));
// ---- Try QI'ing node to get nsIAccessible ----
if (!newAcc)
newAcc = do_QueryInterface(aNode);
// ---- If link, create link accessible ----
if (!newAcc) {
// is it a link?
nsCOMPtr<nsILink> link(do_QueryInterface(aNode));
if (link) {
nsCOMPtr<nsIWeakReference> weakShell(do_GetWeakReference(shell));
newAcc = new nsHTMLLinkAccessible(aNode, weakShell);
}
}
// ---- If <select> option, create select option accessible
if (!newAcc) {
nsCOMPtr<nsIDOMHTMLOptionElement> optionElement(do_QueryInterface(aNode));
if (optionElement) {
// nsHTMLSelectionOptionAccessible's must be created via the parent
nsCOMPtr<nsIDOMNode> parentNode;
aNode->GetParentNode(getter_AddRefs(parentNode));
if (parentNode) {
nsCOMPtr<nsIAccessible> parentAccessible;
GetAccessibleFor(parentNode, getter_AddRefs(parentAccessible));
if (parentAccessible) {
nsCOMPtr<nsIWeakReference> weakShell(do_GetWeakReference(shell));
newAcc = new nsHTMLSelectOptionAccessible(parentAccessible, aNode, weakShell);
}
}
}
}
if (!newAcc)
return NS_ERROR_FAILURE;
*_retval = newAcc;
NS_ADDREF(*_retval);
return NS_OK;
}
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
nsresult
NS_NewAccessibilityService(nsIAccessibilityService** aResult)
{
NS_PRECONDITION(aResult != nsnull, "null ptr");
if (! aResult)
return NS_ERROR_NULL_POINTER;
nsAccessibilityService* accService = new nsAccessibilityService();
if (!accService)
return NS_ERROR_OUT_OF_MEMORY;
NS_ADDREF(accService);
*aResult = accService;
return NS_OK;
}

View File

@@ -1,59 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
*
* Original Author: David W. Hyatt (hyatt@netscape.com)
*
* Contributor(s):
*/
#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:
NS_DECL_ISUPPORTS
// nsIAccessibilityService methods:
NS_DECL_NSIACCESSIBILITYSERVICE
// nsAccessibilityService methods:
nsAccessibilityService();
virtual ~nsAccessibilityService();
public:
private:
NS_IMETHOD GetInfo(nsISupports* aFrame, nsIFrame** aRealFrame, nsIWeakReference** aShell, nsIDOMNode** aContent);
void GetOwnerFor(nsIPresShell *aPresShell, nsIPresShell **aOwnerShell, nsIContent **aOwnerContent);
nsIContent* FindContentForDocShell(nsIPresShell* aPresShell, nsIContent* aContent, nsIDocShell* aDocShell);
};
#endif /* __nsIccessibilityService_h__ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,155 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#ifndef _nsAccessible_H_
#define _nsAccessible_H_
#include "nsISupports.h"
#include "nsGenericAccessible.h"
#include "nsCOMPtr.h"
#include "nsIContent.h"
#include "nsIDOMNode.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsWeakReference.h"
#include "nsIFocusController.h"
#include "nsRect.h"
#include "nsPoint.h"
#define ACCESSIBLE_BUNDLE_URL "chrome://global/locale/accessible.properties"
class nsIFrame;
class nsIDocShell;
class nsIWebShell;
class nsIContent;
class nsAccessible : public nsGenericAccessible
{
public:
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);
public:
nsAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
virtual ~nsAccessible();
virtual void GetListAtomForFrame(nsIFrame* aFrame, nsIAtom*& aList) { aList = nsnull; }
// Helper Routines for Sub-Docs
static nsresult GetDocShellFromPS(nsIPresShell* aPresShell, nsIDocShell** aDocShell);
static nsresult GetDocShellObjects(nsIDocShell* aDocShell,
nsIPresShell** aPresShell,
nsIPresContext** aPresContext,
nsIContent** aContent);
static nsresult GetDocShells(nsIPresShell* aPresShell,
nsIDocShell** aDocShell,
nsIDocShell** aParentDocShell);
static nsresult GetParentPresShellAndContent(nsIPresShell* aPresShell,
nsIPresShell** aParentPresShell,
nsIContent** aSubShellContent);
static PRBool FindContentForWebShell(nsIPresShell* aParentPresShell,
nsIContent* aParentContent,
nsIWebShell* aWebShell,
nsIContent** aFoundContent);
nsresult CalcOffset(nsIFrame* aFrame,
nsIPresContext * aPresContext,
nsRect& aRect);
nsresult GetAbsPosition(nsIPresShell* aPresShell, nsPoint& aPoint);
nsresult GetAbsoluteFramePosition(nsIPresContext* aPresContext,
nsIFrame *aFrame,
nsRect& aAbsoluteTwipsRect,
nsRect& aAbsolutePixelRect);
static nsresult GetTranslatedString(PRUnichar *aKey, nsAWritableString *aStringOut);
// helper method to verify frames
static PRBool IsCorrectFrameType(nsIFrame* aFrame, nsIAtom* aAtom);
protected:
virtual nsIFrame* GetFrame();
virtual nsIFrame* GetBoundsFrame();
virtual void GetBounds(nsRect& aRect, nsIFrame** aRelativeFrame);
virtual void GetPresContext(nsCOMPtr<nsIPresContext>& aContext);
NS_IMETHOD AppendFlatStringFromSubtree(nsIContent *aContent, nsAWritableString *aFlatString);
NS_IMETHOD AppendFlatStringFromContentNode(nsIContent *aContent, nsAWritableString *aFlatString);
// Data Members
nsCOMPtr<nsIDOMNode> mDOMNode;
nsCOMPtr<nsIWeakReference> mPresShell;
nsCOMPtr<nsIFocusController> mFocusController;
};
/* Special Accessible that knows how to handle hit detection for flowing text */
class nsHTMLBlockAccessible : public nsAccessible
{
public:
nsHTMLBlockAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD AccGetAt(PRInt32 x, PRInt32 y, nsIAccessible **_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);
};
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;
};
#endif

View File

@@ -1,225 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#include "nsGenericAccessible.h"
#include "nsIFrame.h"
#include "nsCOMPtr.h"
#include "nsIWeakReference.h"
#include "nsISelectionController.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;
}

View File

@@ -1,51 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric D Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#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

@@ -1,154 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#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"
#include "nsGUIEvent.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

@@ -1,55 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#ifndef _nsHTMLAreaAccessible_H_
#define _nsHTMLAreaAccessible_H_
#include "nsGenericAccessible.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

@@ -1,728 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s): John Gaunt (jgaunt@netscape.com)
*/
#include "nsHTMLComboboxAccessible.h"
#include "nsCOMPtr.h"
#include "nsIComboboxControlFrame.h"
#include "nsIDOMEventReceiver.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIFrame.h"
#include "nsLayoutAtoms.h"
/** ----- nsHTMLComboboxAccessible ----- */
/**
* Constructor -- create the nsHTMLAccessible and set initial state
* closed and not registered
*/
nsHTMLComboboxAccessible::nsHTMLComboboxAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
mRegistered = PR_FALSE;
mOpen = PR_FALSE;
SetupMenuListener();
}
/**
* Destructor -- If we are registered, remove ourselves as a listener.
*/
nsHTMLComboboxAccessible::~nsHTMLComboboxAccessible()
{
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 ourself */
NS_IMPL_ISUPPORTS_INHERITED(nsHTMLComboboxAccessible, nsAccessible, nsIDOMXULListener)
/**
* Tell our caller we are a combobox
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_COMBOBOX;
return NS_OK;
}
/**
* Through the arg, pass back our last child, a 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;
}
/**
* Through the arg, pass back our first child, a 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;
}
/**
* We always have 3 children: TextField, Button, Window. In that order
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::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.
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::GetSelectedChildren(nsISupportsArray **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* Our value is the value of our ( first ) selected child. SelectElement
* 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;
}
/**
* As a nsHTMLComboboxAccessible we can have the following states:
* STATE_FOCUSED
* STATE_READONLY
* STATE_FOCUSABLE
* STATE_HASPOPUP
* STATE_EXPANDED
* STATE_COLLAPSED
*/
NS_IMETHODIMP nsHTMLComboboxAccessible::GetAccState(PRUint32 *_retval)
{
// this sets either STATE_FOCUSED or 0
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 nsHTMLComboboxAccessible::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 nsHTMLComboboxAccessible::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 nsHTMLComboboxAccessible::Close(nsIDOMEvent* aEvent)
{
mOpen = PR_FALSE;
/* TBD send state change event */
return NS_OK;
}
/**
* 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
nsHTMLComboboxAccessible::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;
}
}
/** ----- nsHTMLComboboxTextFieldAccessible ----- */
/**
* Constructor -- create the nsLeafAccessible and set our parent
*/
nsHTMLComboboxTextFieldAccessible::nsHTMLComboboxTextFieldAccessible(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 nsHTMLComboboxTextFieldAccessible::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 nsHTMLComboboxTextFieldAccessible::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);
}
/**
* Getter for our parent
*/
NS_IMETHODIMP nsHTMLComboboxTextFieldAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* Through the arg, pass back our next sibling, a
* 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;
}
/**
* We are the first child of our parent, no previous sibling
*/
NS_IMETHODIMP nsHTMLComboboxTextFieldAccessible::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 nsHTMLComboboxTextFieldAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_STATICTEXT;
return NS_OK;
}
/**
* As a nsHTMLComboboxTextFieldAccessible we can have the following states:
* STATE_READONLY
* STATE_FOCUSED
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsHTMLComboboxTextFieldAccessible::GetAccState(PRUint32 *_retval)
{
// this sets either STATE_FOCUSED or 0
nsAccessible::GetAccState(_retval);
*_retval |= STATE_READONLY | STATE_FOCUSABLE;
return NS_OK;
}
/** -----SelectButtonAccessible ----- */
/**
* Constructor -- create the nsMenuListenerAccessible and set our parent
*/
nsHTMLComboboxButtonAccessible::nsHTMLComboboxButtonAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/**
* 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;
}
/**
* Just one action ( click ).
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;
}
/**
* Gets the bounds for the gfxButtonControlFrame.
* Walks the Frame tree and checks for proper frames.
*/
void nsHTMLComboboxButtonAccessible::GetBounds(nsRect& aBounds, nsIFrame** aBoundingFrame)
{
// get our second child's frame
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if (!context)
return;
frame->FirstChild(context, nsnull, &frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::blockFrame))
return;
#endif
frame->GetNextSibling(aBoundingFrame);
frame->GetNextSibling(&frame);
#ifdef DEBUG
if (! nsAccessible::IsCorrectFrameType(frame, nsLayoutAtoms::gfxButtonControlFrame))
return;
#endif
frame->GetRect(aBounds);
}
/**
* Tell our caller we are a button.
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/**
* Getter for our parent
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* Gets the name from GetAccActionName()
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::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.
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
// we are open or closed
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 = NS_LITERAL_STRING("Close");
else
_retval = NS_LITERAL_STRING("Open");
return NS_OK;
}
/**
* Through the arg, pass back our next sibling, a
* 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;
}
/**
* Through the arg, pass back our previous sibling, a
* 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;
}
/**
* No Children. Just a button ( over-riding nsAccessible )
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children. Just a button ( over-riding nsAccessible )
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
* No Children. Just a button ( over-riding nsAccessible )
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}
/**
* As a nsHTMLComboboxButtonAccessible we can have the following states:
* STATE_PRESSED
* STATE_FOCUSED
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsHTMLComboboxButtonAccessible::GetAccState(PRUint32 *_retval)
{
// this sets either STATE_FOCUSED or 0
nsAccessible::GetAccState(_retval);
// we are open or closed
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;
}
/** ----- nsHTMLComboboxWindowAccessible ----- */
/**
* Constructor -- create the nsMenuListener and set our parent
*/
nsHTMLComboboxWindowAccessible::nsHTMLComboboxWindowAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/**
* As a nsHTMLComboboxWindowAccessible we can have the following states:
* STATE_FOCUSED
* STATE_FOCUSABLE
* STATE_INVISIBLE
* STATE_FLOATING
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccState(PRUint32 *_retval)
{
// this sets either STATE_FOCUSED or 0
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;
}
/**
* Tell our caller we are a window
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
/**
* Getter for our parent
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
* Through the arg, pass back our previous sibling, 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 are the last sibling of our parent.
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
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;
}
/**
* We only have one child, a list
*/
NS_IMETHODIMP nsHTMLComboboxWindowAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 1;
return NS_OK;
}
/**
* Gets the bounds for the areaFrame.
* Walks the Frame tree and checks for proper frames.
*/
void nsHTMLComboboxWindowAccessible::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);
#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

@@ -1,164 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: John Gaunt (jgaunt@netscape.com)
*
* Contributor(s):
*/
#ifndef __nsHTMLComboboxAccessible_h__
#define __nsHTMLComboboxAccessible_h__
#include "nsAccessible.h"
#include "nsIAccessibleSelectable.h"
#include "nsCOMPtr.h"
#include "nsHTMLSelectListAccessible.h"
#include "nsIDOMXULListener.h"
/*
* A class the represents the HTML Combobox widget.
*/
class nsHTMLComboboxAccessible : public nsAccessible,
public nsIAccessibleSelectable,
public nsIDOMXULListener
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLESELECTABLE
nsHTMLComboboxAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLComboboxAccessible();
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
// 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();
protected:
PRBool mRegistered;
PRBool mOpen;
};
/*
* A class the represents the text field in the Select to the left
* of the drop down button
*/
class nsHTMLComboboxTextFieldAccessible : public nsLeafAccessible
{
public:
nsHTMLComboboxTextFieldAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
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 nsHTMLComboboxButtonAccessible : public nsAccessible
{
public:
enum { eAction_Click=0 };
nsHTMLComboboxButtonAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAWritableString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
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 nsHTMLComboboxWindowAccessible : public nsAccessible
{
public:
nsHTMLComboboxWindowAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(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

@@ -1,467 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#include "nsHTMLFormControlAccessible.h"
#include "nsWeakReference.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLTextAreaElement.h"
#include "nsINameSpaceManager.h"
#include "nsHTMLAtoms.h"
#include "nsIDOMHTMLButtonElement.h"
#include "nsReadableUtils.h"
#include "nsString.h"
#include "nsAccessible.h"
#include "nsIFrame.h"
#include "nsIDOMHTMLLabelElement.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsISelectionController.h"
nsHTMLFormControlAccessible::nsHTMLFormControlAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsLeafAccessible(aNode, aShell)
{
}
NS_IMETHODIMP nsHTMLFormControlAccessible::AppendLabelFor(nsIContent *aLookNode, nsAReadableString *aId, nsAWritableString *aLabel)
{
PRInt32 numChildren = 0;
nsCOMPtr<nsIDOMHTMLLabelElement> labelElement(do_QueryInterface(aLookNode));
if (labelElement) {
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(aLookNode));
nsresult rv = NS_OK;
if (elt) {
nsAutoString labelIsFor;
elt->GetAttribute(NS_LITERAL_STRING("for"),labelIsFor);
if (labelIsFor.Equals(*aId))
rv = AppendFlatStringFromSubtree(aLookNode, aLabel);
}
return rv;
}
aLookNode->ChildCount(numChildren);
nsIContent *contentWalker;
PRInt32 index;
for (index = 0; index < numChildren; index++) {
aLookNode->ChildAt(index, contentWalker);
if (contentWalker)
AppendLabelFor(contentWalker, aId, aLabel);
}
return NS_OK;
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLFormControlAccessible::GetAccName(nsAWritableString& _retval)
{
nsCOMPtr<nsIContent> walkUpContent(do_QueryInterface(mDOMNode));
nsCOMPtr<nsIDOMHTMLLabelElement> labelElement;
nsCOMPtr<nsIDOMHTMLFormElement> formElement;
nsresult rv = NS_OK;
nsAutoString label;
// go up tree get name of ancestor label if there is one. Don't go up farther than form element
while (walkUpContent && label.IsEmpty() && !formElement) {
labelElement = do_QueryInterface(walkUpContent);
if (labelElement)
rv = AppendFlatStringFromSubtree(walkUpContent, &label);
formElement = do_QueryInterface(walkUpContent); // reached top ancestor in form
nsCOMPtr<nsIContent> nextParent;
walkUpContent->GetParent(*getter_AddRefs(nextParent));
walkUpContent = nextParent;
}
// There can be a label targeted at this control using the for="control_id" attribute
// To save computing time, only look for those inside of a form element
walkUpContent = do_QueryInterface(formElement);
if (walkUpContent) {
nsCOMPtr<nsIDOMElement> elt(do_QueryInterface(mDOMNode));
nsAutoString forId;
elt->GetAttribute(NS_LITERAL_STRING("id"), forId);
// Actually we'll be walking down the content this time, with a depth first search
if (!forId.IsEmpty())
AppendLabelFor(walkUpContent,&forId,&label);
}
label.CompressWhitespace();
if (label.IsEmpty())
return nsAccessible::GetAccName(_retval);
_retval.Assign(label);
return NS_OK;
}
/* long getAccState (); */
NS_IMETHODIMP nsHTMLFormControlAccessible::GetAccState(PRUint32 *_retval)
{
// can be
// focusable, focused, checked, protected, unavailable
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
PRBool checked = PR_FALSE;
element->GetChecked(&checked);
if (checked) *_retval |= STATE_CHECKED;
PRBool disabled = PR_FALSE;
element->GetDisabled(&disabled);
if (disabled)
*_retval |= STATE_UNAVAILABLE;
nsAutoString typeString;
element->GetType(typeString);
if (typeString.EqualsIgnoreCase("password"))
*_retval |= STATE_PROTECTED;
return NS_OK;
}
// --- checkbox -----
nsHTMLCheckboxAccessible::nsHTMLCheckboxAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsHTMLFormControlAccessible(aNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_CHECKBUTTON;
return NS_OK;
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsHTMLCheckboxAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
if (index == 0) {
// check or uncheck
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
PRBool checked = PR_FALSE;
if (element)
element->GetChecked(&checked);
if (checked)
_retval = NS_LITERAL_STRING("uncheck");
else
_retval = NS_LITERAL_STRING("check");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTMLCheckboxAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) { // 0 is the magic value for default action
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
PRBool checked = PR_FALSE;
element->GetChecked(&checked);
element->SetChecked(checked ? PR_FALSE : PR_TRUE);
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
//------ Radio button -------
nsHTMLRadioButtonAccessible::nsHTMLRadioButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsHTMLFormControlAccessible(aNode, aShell)
{
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTMLRadioButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsHTMLRadioButtonAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
if (index == 0) {
_retval = NS_LITERAL_STRING("select");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTMLRadioButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
element->Click();
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLRadioButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_RADIOBUTTON;
return NS_OK;
}
// ----- Button -----
nsHTMLButtonAccessible::nsHTMLButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell):
nsHTMLFormControlAccessible(aNode, aShell)
{
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
if (index == 0) {
_retval = NS_LITERAL_STRING("press");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTMLButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
element->Click();
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/* wstring getAccName (); */
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):
nsHTMLBlockAccessible(aNode, aShell)
{
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;;
}
/* wstring getAccActionName (in PRUint8 index); */
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
if (index == 0) {
_retval = NS_LITERAL_STRING("press");
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTML4ButtonAccessible::AccDoAction(PRUint8 index)
{
if (index == 0) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(mDOMNode));
element->Click();
return NS_OK;
}
return NS_ERROR_INVALID_ARG;
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
/* long getAccState (); */
NS_IMETHODIMP nsHTML4ButtonAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
*_retval |= STATE_FOCUSABLE;
return NS_OK;
}
/* wstring getAccName (); */
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):
nsHTMLFormControlAccessible(aNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TEXT;
return NS_OK;
}
/* wstring getAccValue (); */
NS_IMETHODIMP nsHTMLTextFieldAccessible::GetAccValue(nsAWritableString& _retval)
{
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;
}
/* long getAccState (); */
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;
if (content && NS_SUCCEEDED(shell->GetPrimaryFrameFor(content, &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 = nsHTMLFormControlAccessible::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;
}

View File

@@ -1,105 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric D Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#ifndef _nsHTMLFormControlAccessible_H_
#define _nsHTMLFormControlAccessible_H_
#include "nsAccessible.h"
class nsICheckboxControlFrame;
/* Accessible for supporting for controls
* supports:
* - walking up to get name from label
* - support basic state
*/
class nsHTMLFormControlAccessible : public nsLeafAccessible
{
public:
nsHTMLFormControlAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
protected:
NS_IMETHODIMP AppendLabelFor(nsIContent *aLookNode, nsAReadableString *aId, nsAWritableString *aLabel);
};
class nsHTMLCheckboxAccessible : public nsHTMLFormControlAccessible
{
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);
};
class nsHTMLRadioButtonAccessible : public nsHTMLFormControlAccessible
{
public:
nsHTMLRadioButtonAccessible(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);
};
class nsHTMLButtonAccessible : public nsHTMLFormControlAccessible
{
public:
nsHTMLButtonAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(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 nsHTMLBlockAccessible
{
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 nsHTMLFormControlAccessible
{
public:
nsHTMLTextFieldAccessible(nsIDOMNode* aNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
#endif

View File

@@ -1,274 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#include "nsHTMLIFrameRootAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsIDocShell.h"
#include "nsIWebShell.h"
#include "nsIDocShellTreeItem.h"
#include "nsIXULDocument.h"
#include "nsIDOMDocument.h"
#include "nsIDOMDocumentType.h"
#include "nsINameSpaceManager.h"
#include "nsReadableUtils.h"
NS_INTERFACE_MAP_BEGIN(nsHTMLIFrameRootAccessible)
NS_INTERFACE_MAP_ENTRY(nsIDOMFocusListener)
NS_INTERFACE_MAP_ENTRY(nsIDOMFormListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMFormListener)
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsIDOMEventListener, nsIDOMFormListener)
NS_INTERFACE_MAP_END_INHERITING(nsRootAccessible)
NS_IMPL_ADDREF_INHERITED(nsHTMLIFrameRootAccessible, nsRootAccessible);
NS_IMPL_RELEASE_INHERITED(nsHTMLIFrameRootAccessible, nsRootAccessible);
NS_IMPL_ADDREF_INHERITED(nsHTMLIFrameAccessible, nsHTMLBlockAccessible);
NS_IMPL_RELEASE_INHERITED(nsHTMLIFrameAccessible, nsHTMLBlockAccessible);
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 nsHTMLBlockAccessible::QueryInterface(aIID, aInstancePtr);
}
nsHTMLIFrameAccessible::nsHTMLIFrameAccessible(nsIDOMNode* aNode, nsIAccessible* aRoot, nsIWeakReference* aShell, nsIDocument *aDoc):
nsHTMLBlockAccessible(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 nsDocAccessibleMixin::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):
nsRootAccessible(aShell)
{
mRealDOMNode = aNode;
}
//-----------------------------------------------------
// destruction
//-----------------------------------------------------
nsHTMLIFrameRootAccessible::~nsHTMLIFrameRootAccessible()
{
}
/* readonly attribute nsIAccessible accParent; */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccParent(nsIAccessible * *_retval)
{
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(GetHTMLIFrameAccessible(getter_AddRefs(accessible))))
return accessible->GetAccParent(_retval);
*_retval = nsnull;
return NS_OK;
}
/* nsIAccessible getAccNextSibling (); */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(GetHTMLIFrameAccessible(getter_AddRefs(accessible))))
return accessible->GetAccNextSibling(_retval);
*_retval = nsnull;
return NS_ERROR_FAILURE;
}
/* nsIAccessible getAccPreviousSibling (); */
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(GetHTMLIFrameAccessible(getter_AddRefs(accessible))))
return accessible->GetAccPreviousSibling(_retval);
*_retval = nsnull;
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsHTMLIFrameRootAccessible::GetHTMLIFrameAccessible(nsIAccessible** aAcc)
{
// Start by finding our PresShell and from that
// we get our nsIDocShell in order to walk the DocShell tree
nsCOMPtr<nsIPresShell> presShell(do_QueryReferent(mPresShell));
if (!presShell) {
*aAcc = nsnull;
return NS_ERROR_FAILURE;
}
nsCOMPtr<nsIDocShell> docShell;
if (NS_SUCCEEDED(GetDocShellFromPS(presShell, getter_AddRefs(docShell)))) {
// Now that we have the DocShell QI
// it to a tree item to find it's parent
nsCOMPtr<nsIDocShellTreeItem> item(do_QueryInterface(docShell));
if (item) {
nsCOMPtr<nsIDocShellTreeItem> itemParent;
item->GetParent(getter_AddRefs(itemParent));
// QI to get the WebShell for the parent document
nsCOMPtr<nsIDocShell> parentDocShell(do_QueryInterface(itemParent));
if (parentDocShell) {
// Get the PresShell/Content and
// Root Content Node of the parent document
nsCOMPtr<nsIPresShell> parentPresShell;
nsCOMPtr<nsIPresContext> parentPresContext;
nsCOMPtr<nsIContent> rootContent;
if (NS_SUCCEEDED(GetDocShellObjects(parentDocShell,
getter_AddRefs(parentPresShell),
getter_AddRefs(parentPresContext),
getter_AddRefs(rootContent)))) {
// QI the DocShell (of this sub-doc) to a webshell
nsCOMPtr<nsIWebShell> webShell(do_QueryInterface(docShell));
if (webShell && parentPresShell && parentPresContext && rootContent) {
// Now, find the Content in the parent document
// that represents this sub-doc,
// we do that matching webshells
nsCOMPtr<nsIContent> content;
if (FindContentForWebShell(parentPresShell,
rootContent,
webShell,
getter_AddRefs(content))) {
// OK, we found the content node in the parent doc
// that corresponds to this sub-doc
// Get the frame for that content
nsCOMPtr<nsIWeakReference> wr = do_GetWeakReference(parentPresShell);
nsIFrame* frame = nsnull;
parentPresShell->GetPrimaryFrameFor(content, &frame);
#ifdef NS_DEBUG_X
printf("** Found: Con:%p Fr:%p", content, frame);
char * name;
if (GetNameForFrame(frame, &name)) {
printf(" Name:[%s]", name);
nsMemory::Free(name);
}
printf("\n");
#endif
nsCOMPtr<nsIDOMNode> node(do_QueryInterface(content));
nsCOMPtr<nsIAccessible> acc(do_QueryInterface(frame));
*aAcc = acc;
NS_IF_ADDREF(*aAcc);
return NS_OK;
}
}
}
}
}
}
return NS_ERROR_FAILURE;
}

View File

@@ -1,78 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#ifndef _nsIFrameRootAccessible_H_
#define _nsIFrameRootAccessible_H_
#include "nsRootAccessible.h"
#include "nsAccessible.h"
#include "nsIAccessibleDocument.h"
class nsIWebShell;
class nsIWeakReference;
class nsHTMLIFrameAccessible : public nsHTMLBlockAccessible,
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:
NS_IMETHOD GetHTMLIFrameAccessible(nsIAccessible** aAcc);
nsCOMPtr<nsIDOMNode> mRealDOMNode;
};
#endif

View File

@@ -1,188 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#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, nsIImageFrame *aImageFrame, nsIWeakReference* aShell):
nsLinkableAccessible(aDOMNode, aShell)
{
nsCOMPtr<nsIDOMElement> element(do_QueryInterface(aDOMNode));
nsCOMPtr<nsIDocument> doc;
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
NS_ASSERTION(shell,"Shell is gone!!! What are we doing here?");
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

@@ -1,54 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#ifndef _nsHTMLImageAccessible_H_
#define _nsHTMLImageAccessible_H_
#include "nsAccessible.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, nsIImageFrame *imageFrame, 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

@@ -1,63 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#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

@@ -1,38 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
* Author: Aaron Leventhal (aaronl@netscape.com)
*/
#ifndef _nsHTMLLinkAccessible_H_
#define _nsHTMLLinkAccessible_H_
#include "nsAccessible.h"
class nsHTMLLinkAccessible : public nsLinkableAccessible
{
public:
nsHTMLLinkAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -1,183 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#include "nsHTMLListboxAccessible.h"
#include "nsCOMPtr.h"
#include "nsIAccessibilityService.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIDOMHTMLOptionElement.h"
#include "nsIFrame.h"
#include "nsIServiceManager.h"
#include "nsLayoutAtoms.h"
/** ----- nsHTMLListboxAccessible ----- */
/**
* Constructor -- create the nsHTMLAccessible
*/
nsHTMLListboxAccessible::nsHTMLListboxAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
}
/** Inherit the ISupports impl from nsAccessible */
NS_IMPL_ISUPPORTS_INHERITED1(nsHTMLListboxAccessible, nsAccessible, nsIAccessibleSelectable)
/**
* Tell our caller we are a list ( there isn't a listbox value )
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
/**
* Through the arg, pass back our last child, a nsHTMLListboxWindowAccessible 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;
}
/**
* Through the arg, pass back our first child, a nsHTMLListboxWindowAccessible 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;
}
/**
* We always have 1 child: SelectList.
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 1;
return NS_OK;
}
/**
* nsIAccessibleSelectable method. This needs to get from the select the list
* of select options and then iterate through that pulling out the selected
* items and creating IAccessible objects for them. Put the IAccessibles in
* the nsISupportsArray and return them.
* retval will be nsnull if:
* - there are no options in the select
* - 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;
}
/**
* Our value is the value of our ( first ) selected child. SelectElement
* 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;
}
/**
* As a nsHTMLListboxAccessible we can have the following states:
* STATE_FOCUSED
* STATE_READONLY
* STATE_FOCUSABLE
*/
NS_IMETHODIMP nsHTMLListboxAccessible::GetAccState(PRUint32 *_retval)
{
// this sets either STATE_FOCUSED or 0
nsAccessible::GetAccState(_retval);
*_retval |= STATE_READONLY | STATE_FOCUSABLE;
return NS_OK;
}

View File

@@ -1,57 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: John Gaunt (jgaunt@netscape.com)
*
* Contributor(s):
*/
#ifndef __nsHTMLListboxAccessible_h__
#define __nsHTMLListboxAccessible_h__
#include "nsAccessible.h"
#include "nsIAccessibleSelectable.h"
#include "nsCOMPtr.h"
#include "nsHTMLSelectListAccessible.h"
/*
* A class the represents the HTML Combobox widget.
*/
class nsHTMLListboxAccessible : public nsAccessible,
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 GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
};
#endif

View File

@@ -1,794 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#include "nsHTMLSelectAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsRootAccessible.h"
#include "nsINameSpaceManager.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsLayoutAtoms.h"
#include "nsIDOMXULListener.h"
#include "nsIDOMEventReceiver.h"
#include "nsReadableUtils.h"
#include "nsIDOMHTMLCollection.h"
#include "nsISelectElement.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIAccessibilityService.h"
#include "nsIServiceManager.h"
#include "nsIDOMHTMLOptionElement.h"
/*
* A class the represents the text field in the Select to the left
* of the drop down button
*/
class nsHTMLSelectTextFieldAccessible : public nsLeafAccessible
{
public:
nsHTMLSelectTextFieldAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame);
nsCOMPtr<nsIAccessible> mParent;
};
/*
* A base class that can listen to menu events. Its used so the
* button and the window accessibles can change there 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;
};
NS_IMPL_ISUPPORTS_INHERITED(nsMenuListenerAccessible, nsAccessible, nsIDOMXULListener)
/**
* A class that represents the button inside the Select to the right of the text field
*/
class nsHTMLSelectButtonAccessible : public nsMenuListenerAccessible
{
public:
nsHTMLSelectButtonAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccNumActions(PRUint8 *_retval);
NS_IMETHOD GetAccActionName(PRUint8 index, nsAWritableString& _retval);
NS_IMETHOD AccDoAction(PRUint8 index);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame);
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 nsHTMLSelectWindowAccessible : public nsMenuListenerAccessible
{
public:
nsHTMLSelectWindowAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
virtual void GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame);
nsCOMPtr<nsIAccessible> mParent;
};
/*
* The list that contains all the options in the select. It is inside the window.
*/
class nsHTMLSelectListAccessible : public nsAccessible
{
public:
nsHTMLSelectListAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectListAccessible() {}
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
nsCOMPtr<nsIAccessible> mParent;
};
//--------- nsHTMLSelectAccessible -----
nsHTMLSelectAccessible::nsHTMLSelectAccessible(nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
}
NS_IMPL_ISUPPORTS_INHERITED1(nsHTMLSelectAccessible, nsAccessible, nsIAccessibleSelectable)
// ------------- Helper method for determination of proper Frame ------
//static
PRBool nsHTMLSelectAccessible::IsCorrectFrame( nsIFrame* aFrame, nsIAtom* aAtom ) {
if (!aFrame || !aAtom)
return PR_FALSE;
nsCOMPtr<nsIAtom> frameType;
aFrame->GetFrameType(getter_AddRefs(frameType));
if (frameType.get() != aAtom)
return PR_FALSE;
return PR_TRUE;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccValue(nsAWritableString& _retval)
{
nsCOMPtr<nsIAccessible> text;
GetAccFirstChild(getter_AddRefs(text));
if (text)
return text->GetAccValue(_retval);
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_COMBOBOX;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccLastChild(nsIAccessible **_retval)
{
// create a window accessible
*_retval = new nsHTMLSelectWindowAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
// create a text field
*_retval = new nsHTMLSelectTextFieldAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetAccChildCount(PRInt32 *_retval)
{
// always have 3 children
*_retval = 3;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectAccessible::GetSelectedChildren(nsISupportsArray **_retval)
{
*_retval = nsnull;
return NS_OK;
}
//-------- SelectTextFieldAccessible ------
nsHTMLSelectTextFieldAccessible::nsHTMLSelectTextFieldAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccValue(nsAWritableString& _retval)
{
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if ( !frame )
return NS_ERROR_FAILURE;
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return NS_ERROR_FAILURE;
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::textFrame) )
return NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> content;
frame->GetContent(getter_AddRefs(content));
if (!content)
return NS_ERROR_FAILURE;
AppendFlatStringFromSubtree(content, &_retval);
return NS_OK;
}
void nsHTMLSelectTextFieldAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
// get our first child's frame
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
if ( !frame )
return;
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return;
frame->GetParent(aRelativeFrame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( *aRelativeFrame, nsLayoutAtoms::areaFrame) )
return;
frame->GetRect(aBounds);
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLSelectButtonAccessible(parent, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectTextFieldAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_STATICTEXT;
return NS_OK;
}
// --------- nsMenuListenerAccessible -----------
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()
{
// not 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;
}
}
//-------- SelectButtonAccessible ------
nsHTMLSelectButtonAccessible::nsHTMLSelectButtonAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsMenuListenerAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/* void accDoAction (in PRUint8 index); */
NS_IMETHODIMP nsHTMLSelectButtonAccessible::AccDoAction(PRUint8 index)
{
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return NS_ERROR_FAILURE;
frame->GetNextSibling(&frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::gfxButtonControlFrame) )
return NS_ERROR_FAILURE;
nsCOMPtr<nsIContent> content;
frame->GetContent(getter_AddRefs(content));
if (index == 0) {
nsCOMPtr<nsIDOMHTMLInputElement> element(do_QueryInterface(content));
if (element)
{
element->Click();
return NS_OK;
}
return NS_ERROR_FAILURE;
}
return NS_ERROR_NOT_IMPLEMENTED;
}
/* PRUint8 getAccNumActions (); */
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccNumActions(PRUint8 *_retval)
{
*_retval = 1;
return NS_OK;
}
void nsHTMLSelectButtonAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
// get our second child's frame
nsIFrame* frame = nsAccessible::GetBoundsFrame();
nsCOMPtr<nsIPresContext> context;
GetPresContext(context);
frame->FirstChild(context, nsnull, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return;
frame->GetNextSibling(&frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::gfxButtonControlFrame) )
return;
frame->GetParent(aRelativeFrame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( *aRelativeFrame, nsLayoutAtoms::areaFrame) )
return;
frame->GetRect(aBounds);
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_PUSHBUTTON;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccName(nsAWritableString& _retval)
{
return GetAccActionName(0, _retval);
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccActionName(PRUint8 index, nsAWritableString& _retval)
{
SetupMenuListener();
// get the current state open or closed
// set _retval to it.
// notice its supposed to be reversed. Close if opened
// and Open if closed.
if (mOpen)
_retval = NS_LITERAL_STRING("Close");
else
_retval = NS_LITERAL_STRING("Open");
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLSelectWindowAccessible(parent, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLSelectTextFieldAccessible(parent, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectButtonAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}
//---------------------
nsHTMLSelectWindowAccessible::nsHTMLSelectWindowAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell)
:nsMenuListenerAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccState(PRUint32 *_retval)
{
nsAccessible::GetAccState(_retval);
SetupMenuListener();
// if open we are visible if closed we are invisible
// set _retval to it.
if (mOpen)
*_retval |= STATE_DEFAULT;
else
*_retval |= STATE_INVISIBLE;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_WINDOW;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
nsCOMPtr<nsIAccessible> parent;
GetAccParent(getter_AddRefs(parent));
*_retval = new nsHTMLSelectButtonAccessible(parent, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = new nsHTMLSelectListAccessible(this, mDOMNode, mPresShell);
if ( ! *_retval )
return NS_ERROR_FAILURE;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectWindowAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 1;
return NS_OK;
}
void nsHTMLSelectWindowAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
// get our first option
nsCOMPtr<nsIDOMNode> child;
mDOMNode->GetFirstChild(getter_AddRefs(child));
// now get its frame
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell) {
*aRelativeFrame = nsnull;
return;
}
nsIFrame* frame = nsnull;
nsCOMPtr<nsIContent> content(do_QueryInterface(child));
shell->GetPrimaryFrameFor(content, &frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::blockFrame) )
return;
frame->GetParent(&frame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( frame, nsLayoutAtoms::areaFrame) )
return;
frame->GetParent(aRelativeFrame);
if ( ! nsHTMLSelectAccessible::IsCorrectFrame( *aRelativeFrame, nsLayoutAtoms::listControlFrame) )
return;
frame->GetRect(aBounds);
}
//----------
nsHTMLSelectListAccessible::nsHTMLSelectListAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
NS_IMETHODIMP nsHTMLSelectListAccessible::AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
{
return mParent->AccGetBounds(x,y,width,height);
}
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_ADDREF(*_retval);
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LIST;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
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;
}
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::nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LISTITEM;
return NS_OK;
}
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
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;
}
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;
}
NS_IMETHODIMP nsHTMLSelectOptionAccessible::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;
}

View File

@@ -1,72 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#ifndef __nsHTMLSelectAccessible_h__
#define __nsHTMLSelectAccessible_h__
#include "nsAccessible.h"
#include "nsCOMPtr.h"
#include "nsIAtom.h"
#include "nsIAccessibleSelectable.h"
class nsHTMLSelectAccessible : public nsAccessible,
public nsIAccessibleSelectable
{
public:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIACCESSIBLESELECTABLE
nsHTMLSelectAccessible(nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectAccessible() {}
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccValue(nsAWritableString& _retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
// helper method to verify frames
static PRBool IsCorrectFrame( nsIFrame* aFrame, nsIAtom* aAtom );
};
/*
* Each option in the Select. These are in the nsListAccessible
*/
class nsHTMLSelectOptionAccessible : public nsLeafAccessible
{
public:
nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
nsCOMPtr<nsIAccessible> mParent;
};
#endif

View File

@@ -1,312 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s): John Gaunt (jgaunt@netscape.com)
*/
#include "nsHTMLSelectListAccessible.h"
#include "nsRootAccessible.h"
#include "nsCOMPtr.h"
#include "nsLayoutAtoms.h"
#include "nsIAtom.h"
#include "nsIFrame.h"
#include "nsISelectControlFrame.h"
#include "nsIDOMHTMLOptionElement.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIListControlFrame.h"
/** ----- nsHTMLSelectListAccessible ----- */
/**
*
*/
nsHTMLSelectListAccessible::nsHTMLSelectListAccessible(nsIAccessible* aParent,
nsIDOMNode* aDOMNode,
nsIWeakReference* aShell)
:nsAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/**
*
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height)
{
return mParent->AccGetBounds(x,y,width,height);
}
/**
*
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_ADDREF(*_retval);
return NS_OK;
}
/**
*
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LIST;
return NS_OK;
}
/**
*
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccPreviousSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
*
*/
NS_IMETHODIMP nsHTMLSelectListAccessible::GetAccNextSibling(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/**
*
*/
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;
}
/**
*
*/
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;
}
/**
* As a nsHTMLSelectListAccessible we can have the following states:
* STATE_MULTISELECTABLE
* STATE_EXTSELECTABLE
* no STATE_FOCUSED! -- can't be focused, options are focused instead
* no STATE_FOCUSABLE! -- can't be focused, options are focused instead
*/
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;
}
/** ----- nsHTMLSelectOptionAccessible ----- */
/**
*
*/
nsHTMLSelectOptionAccessible::nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell):
nsLeafAccessible(aDOMNode, aShell)
{
mParent = aParent;
}
/**
*
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_LISTITEM;
return NS_OK;
}
/**
*
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::GetAccParent(nsIAccessible **_retval)
{
*_retval = mParent;
NS_IF_ADDREF(*_retval);
return NS_OK;
}
/**
*
*/
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;
}
/**
*
*/
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;
}
/**
*
*/
NS_IMETHODIMP nsHTMLSelectOptionAccessible::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;
}
/**
* 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)
{
// this sets either STATE_FOCUSED or 0 (nsAccessible::GetAccState() doesn't know about list options)
*_retval = 0;
nsCOMPtr<nsIDOMNode> focusedOptionNode, parentNode;
mParent->AccGetDOMNode(getter_AddRefs(parentNode));
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;
}
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);
nsresult rv;
nsCOMPtr<nsIListControlFrame> listFrame(do_QueryInterface(frame, &rv));
if (NS_FAILED(rv))
return rv; // How can list content not have a list frame?
NS_ASSERTION(listFrame, "We don't have a list frame, but rv returned a success code.");
// Get what's focused by asking frame for "selected item".
// Don't use DOM method of getting selected item, which instead gives *first* selected option
PRInt32 focusedOptionIndex = 0;
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;
}

View File

@@ -1,79 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Original Author: Eric Vaughan (evaughan@netscape.com)
*
* Contributor(s):
*/
#ifndef __nsHTMLSelectListAccessible_h__
#define __nsHTMLSelectListAccessible_h__
#include "nsAccessible.h"
#include "nsCOMPtr.h"
/*
* The list that contains all the options in the select.
*/
class nsHTMLSelectListAccessible : public nsAccessible
{
public:
nsHTMLSelectListAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
virtual ~nsHTMLSelectListAccessible() {}
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD AccGetBounds(PRInt32 *x, PRInt32 *y, PRInt32 *width, PRInt32 *height);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
/*
* Options inside the select, contained within the list
*/
class nsHTMLSelectOptionAccessible : public nsLeafAccessible
{
public:
nsHTMLSelectOptionAccessible(nsIAccessible* aParent, nsIDOMNode* aDOMNode, nsIWeakReference* aShell);
/* ----- nsIAccessible ----- */
NS_IMETHOD GetAccParent(nsIAccessible **_retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccNextSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccPreviousSibling(nsIAccessible **_retval);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccState(PRUint32 *_retval);
static nsresult GetFocusedOptionNode(nsIWeakReference *aPresShell, nsIDOMNode *aListNode, nsCOMPtr<nsIDOMNode>& aFocusedOptionNode);
protected:
nsCOMPtr<nsIAccessible> mParent;
};
#endif

View File

@@ -1,51 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#include "nsHTMLTableAccessible.h"
#include "nsWeakReference.h"
#include "nsReadableUtils.h"
nsHTMLTableCellAccessible::nsHTMLTableCellAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsHTMLBlockAccessible(aDomNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTableCellAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_CELL;
return NS_OK;
}
nsHTMLTableAccessible::nsHTMLTableAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsHTMLBlockAccessible(aDomNode, aShell)
{
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTableAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TABLE;
return NS_OK;
}

View File

@@ -1,44 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Aaron Leventhal (aaronl@netscape.com)
* Contributor(s):
*/
#ifndef _nsHTMLTableAccessible_H_
#define _nsHTMLTableAccessible_H_
#include "nsAccessible.h"
class nsHTMLTableCellAccessible : public nsHTMLBlockAccessible
{
public:
nsHTMLTableCellAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
class nsHTMLTableAccessible : public nsHTMLBlockAccessible
{
public:
nsHTMLTableAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
};
#endif

View File

@@ -1,74 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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.
*
* Author: Eric Vaughan (evaughan@netscape.com)
* Contributor(s):
*/
#include "nsHTMLTextAccessible.h"
#include "nsWeakReference.h"
#include "nsIFrame.h"
#include "nsString.h"
#include "nsILink.h"
#include "nsILinkHandler.h"
#include "nsISelection.h"
#include "nsISelectionController.h"
#include "nsIPresContext.h"
#include "nsReadableUtils.h"
nsHTMLTextAccessible::nsHTMLTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell):
nsLinkableAccessible(aDomNode, aShell)
{
}
/* wstring getAccName (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccName(nsAWritableString& _retval)
{
return mDOMNode->GetNodeValue(_retval);
}
/* unsigned long getAccRole (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccRole(PRUint32 *_retval)
{
*_retval = ROLE_TEXT;
return NS_OK;
}
/* nsIAccessible getAccFirstChild (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccFirstChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* nsIAccessible getAccLastChild (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccLastChild(nsIAccessible **_retval)
{
*_retval = nsnull;
return NS_OK;
}
/* long getAccChildCount (); */
NS_IMETHODIMP nsHTMLTextAccessible::GetAccChildCount(PRInt32 *_retval)
{
*_retval = 0;
return NS_OK;
}

View File

@@ -1,43 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#ifndef _nsHTMLTextAccessible_H_
#define _nsHTMLTextAccessible_H_
#include "nsAccessible.h"
class nsIWeakReference;
class nsITextControlFrame;
class nsHTMLTextAccessible : public nsLinkableAccessible
{
public:
nsHTMLTextAccessible(nsIDOMNode* aDomNode, nsIWeakReference* aShell);
NS_IMETHOD GetAccName(nsAWritableString& _retval);
NS_IMETHOD GetAccRole(PRUint32 *_retval);
NS_IMETHOD GetAccFirstChild(nsIAccessible **_retval);
NS_IMETHOD GetAccLastChild(nsIAccessible **_retval);
NS_IMETHOD GetAccChildCount(PRInt32 *_retval);
};
#endif

View File

@@ -1,478 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#include "nsIAccessible.h"
#include "nsRootAccessible.h"
#include "nsCOMPtr.h"
#include "nsIDocument.h"
#include "nsIPresShell.h"
#include "nsIPresContext.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsIDOMEventTarget.h"
#include "nsIDOMElement.h"
#include "nsIDOMEventReceiver.h"
#include "nsReadableUtils.h"
#include "nsILink.h"
#include "nsHTMLFormControlAccessible.h"
#include "nsHTMLLinkAccessible.h"
#include "nsIURI.h"
#include "nsIDocShell.h"
#include "nsIDocShellTreeItem.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 "nsHTMLSelectListAccessible.h"
#include "nsIDOMHTMLSelectElement.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_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);
//-----------------------------------------------------
// construction
//-----------------------------------------------------
nsRootAccessible::nsRootAccessible(nsIWeakReference* aShell):nsAccessible(nsnull,aShell),
nsDocAccessibleMixin(aShell), mAccService(do_GetService("@mozilla.org/accessibilityService;1"))
{
mListener = nsnull;
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
NS_ASSERTION(shell,"Shell is gone!!! What are we doing here?");
shell->GetDocument(getter_AddRefs(mDocument));
mDOMNode = do_QueryInterface(mDocument);
nsLayoutAtoms::AddRefAtoms();
}
//-----------------------------------------------------
// destruction
//-----------------------------------------------------
nsRootAccessible::~nsRootAccessible()
{
nsLayoutAtoms::ReleaseAtoms();
RemoveAccessibleEventListener(mListener);
}
/* attribute wstring accName; */
NS_IMETHODIMP nsRootAccessible::GetAccName(nsAWritableString& aAccName)
{
return GetTitle(aAccName);
}
// helpers
nsIFrame* nsRootAccessible::GetFrame()
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell)
return nsnull;
nsIFrame* root = nsnull;
if (shell)
shell->GetRootFrame(&root);
return root;
}
void nsRootAccessible::GetBounds(nsRect& aBounds, nsIFrame** aRelativeFrame)
{
*aRelativeFrame = GetFrame();
(*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 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;
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetAccState(PRUint32 *aAccState)
{
return nsDocAccessibleMixin::GetAccState(aAccState);
}
NS_IMETHODIMP nsRootAccessible::GetAccValue(nsAWritableString& aAccValue)
{
return GetURL(aAccValue);
}
/* void addAccessibleEventListener (in nsIAccessibleEventListener aListener); */
NS_IMETHODIMP nsRootAccessible::AddAccessibleEventListener(nsIAccessibleEventListener *aListener)
{
if (!mListener)
{
// add an event listener to the document
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
if (!shell)
return NS_ERROR_FAILURE;
nsCOMPtr<nsIDocument> document;
shell->GetDocument(getter_AddRefs(document));
// use AddEventListener from the nsIDOMEventTarget interface
nsCOMPtr<nsIDOMEventTarget> target;
if (NS_SUCCEEDED(document->QueryInterface(NS_GET_IID(nsIDOMEventTarget), getter_AddRefs(target))) && target)
{
nsresult rv = NS_OK;
// we're a DOMEventListener now!!
nsCOMPtr<nsIDOMEventListener> listener;
rv = this->QueryInterface( NS_GET_IID(nsIDOMEventListener), getter_AddRefs(listener) );
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to QI");
// capture DOM focus events
rv = target->AddEventListener( NS_LITERAL_STRING("focus") , listener, PR_TRUE );
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// capture Form change events
rv = target->AddEventListener( NS_LITERAL_STRING("change") , listener, 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") , listener, PR_TRUE );
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
// add ourself as a RadiobuttonStateChange listener ( custom event fired in nsHTMLInputElement.cpp )
rv = target->AddEventListener( NS_LITERAL_STRING("RadiobuttonStateChange") , listener, PR_TRUE );
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
}
}
// create a weak reference to the listener
mListener = aListener;
return NS_OK;
}
/* void removeAccessibleEventListener (in nsIAccessibleEventListener aListener); */
NS_IMETHODIMP nsRootAccessible::RemoveAccessibleEventListener(nsIAccessibleEventListener *aListener)
{
if (mListener)
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(mPresShell));
nsCOMPtr<nsIDocument> document;
if (!shell)
return NS_OK;
shell->GetDocument(getter_AddRefs(document));
nsCOMPtr<nsIDOMEventReceiver> erP;
if (NS_SUCCEEDED(document->QueryInterface(NS_GET_IID(nsIDOMEventReceiver), getter_AddRefs(erP))) && erP)
{
nsresult rv = erP->RemoveEventListenerByIID(NS_STATIC_CAST(nsIDOMFocusListener *, this), NS_GET_IID(nsIDOMFocusListener));
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to register listener");
}
}
mListener = nsnull;
return NS_OK;
}
// --------------- 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);
nsAutoString eventType;
aEvent->GetType(eventType);
nsCOMPtr<nsIAccessible> accessible;
if (NS_SUCCEEDED(mAccService->GetAccessibleFor(targetNode, getter_AddRefs(accessible)))) {
if ( eventType.EqualsIgnoreCase("focus") ) {
if (mCurrentFocus != targetNode) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, accessible);
mCurrentFocus = targetNode;
}
}
else if ( eventType.EqualsIgnoreCase("change") ) {
if (optionTargetNode) { // Set to current option only for HTML selects
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_SELECTION, accessible);
if (mCurrentFocus != optionTargetNode &&
NS_SUCCEEDED(mAccService->GetAccessibleFor(optionTargetNode, getter_AddRefs(accessible)))) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_FOCUS, accessible);
mCurrentFocus = optionTargetNode;
}
}
else
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
else if ( eventType.EqualsIgnoreCase("CheckboxStateChange") ) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
else if ( eventType.EqualsIgnoreCase("RadiobuttonStateChange") ) {
mListener->HandleEvent(nsIAccessibleEventListener::EVENT_STATE_CHANGE, accessible);
}
}
}
return NS_OK;
}
NS_IMETHODIMP nsRootAccessible::GetTargetNode(nsIDOMEvent *aEvent, nsCOMPtr<nsIDOMNode>& aTargetNode)
{
nsCOMPtr<nsIDOMEventTarget> domEventTarget;
aEvent->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; }
// ------- 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);
}
nsDocAccessibleMixin::nsDocAccessibleMixin(nsIDocument *aDoc):mDocument(aDoc)
{
}
nsDocAccessibleMixin::nsDocAccessibleMixin(nsIWeakReference *aPresShell)
{
nsCOMPtr<nsIPresShell> shell(do_QueryReferent(aPresShell));
NS_ASSERTION(shell,"Shell is gone!!! What are we doing here?");
shell->GetDocument(getter_AddRefs(mDocument));
}
nsDocAccessibleMixin::~nsDocAccessibleMixin()
{
}
NS_IMETHODIMP nsDocAccessibleMixin::GetURL(nsAWritableString& aURL)
{
nsCOMPtr<nsIURI> pURI;
mDocument->GetDocumentURL(getter_AddRefs(pURI));
nsXPIDLCString path;
pURI->GetSpec(getter_Copies(path));
aURL.Assign(NS_ConvertUTF8toUCS2(path).get());
//XXXaaronl Need to use CopyUTF8toUCS2(nsDependentCString(path), aURL); when it's written
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)
{
if (mDocument)
return mDocument->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::GetAccState(PRUint32 *aAccState)
{
// Screen readers need to know when the document is finished loading (STATE_BUSY flag)
// We do it this way, rather than via nsIWebProgressListener, because
// if accessibility was turned on after a document already finished loading,
// we would get no state changes from nsIWebProgressListener.
// The GetBusyFlags method, however, always has the current busy state information for us.
*aAccState = 0;
if (mDocument) {
nsCOMPtr<nsIPresShell> presShell;
mDocument->GetShellAt(0, getter_AddRefs(presShell));
if (presShell) {
nsCOMPtr<nsIPresContext> context;
presShell->GetPresContext(getter_AddRefs(context));
if (context) {
nsCOMPtr<nsISupports> container;
context->GetContainer(getter_AddRefs(container));
if (container) {
nsCOMPtr<nsIDocShell> docShell(do_QueryInterface(container));
if (docShell) {
PRUint32 busyFlags;
docShell->GetBusyFlags(&busyFlags);
if (busyFlags != nsIDocShell::BUSY_FLAGS_NONE)
*aAccState = nsIAccessible::STATE_BUSY;
}
}
}
}
}
return NS_OK;
}

View File

@@ -1,106 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* 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):
*/
#ifndef _nsRootAccessible_H_
#define _nsRootAccessible_H_
#include "nsAccessible.h"
#include "nsIAccessibleEventReceiver.h"
#include "nsIAccessibleEventListener.h"
#include "nsIAccessibleDocument.h"
#include "nsIDOMFormListener.h"
#include "nsIDOMFocusListener.h"
#include "nsIDocument.h"
#include "nsIAccessibilityService.h"
class nsDocAccessibleMixin
{
public:
nsDocAccessibleMixin(nsIDocument *doc);
nsDocAccessibleMixin(nsIWeakReference *aShell);
virtual ~nsDocAccessibleMixin();
NS_DECL_NSIACCESSIBLEDOCUMENT
NS_IMETHOD GetAccState(PRUint32 *aAccState);
protected:
nsCOMPtr<nsIDocument> mDocument;
};
class nsRootAccessible : public nsAccessible,
public nsDocAccessibleMixin,
public nsIAccessibleDocument,
public nsIAccessibleEventReceiver,
public nsIDOMFocusListener,
public nsIDOMFormListener
{
NS_DECL_ISUPPORTS_INHERITED
public:
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(nsIAccessibleEventListener *aListener);
// ----- nsIDOMEventListener --------------------------
NS_IMETHOD HandleEvent(nsIDOMEvent* anEvent);
// ----- 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_DECL_NSIACCESSIBLEDOCUMENT
protected:
NS_IMETHOD GetTargetNode(nsIDOMEvent *aEvent, nsCOMPtr<nsIDOMNode>& aTargetNode);
virtual void GetBounds(nsRect& aRect, nsIFrame** aRelativeFrame);
virtual nsIFrame* GetFrame();
// 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
nsIAccessibleEventListener* mListener;
nsCOMPtr<nsIDOMNode> mCurrentFocus;
nsCOMPtr<nsIAccessibilityService> mAccService;
};
#endif

14
mozilla/aclocal.m4 vendored
View File

@@ -1,14 +0,0 @@
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/pkg.m4)dnl
dnl
define(MOZ_TOPSRCDIR,.)dnl MOZ_TOPSRCDIR is used in altoptions.m4
builtin(include, build/autoconf/altoptions.m4)dnl

File diff suppressed because it is too large Load Diff

View File

@@ -1,42 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code,
# 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
ifneq ($(MOZ_WIDGET_TOOLKIT),os2)
DIRS = unix
endif
include $(topsrcdir)/config/rules.mk
# Install bloaturls.txt file for tinderbox Bloaty test.
install:: $(srcdir)/bloaturls.txt
$(INSTALL) $< $(DIST)/bin
# Install startup.html, startup test page.
install:: $(srcdir)/startup-test.html
$(INSTALL) $< $(DIST)/bin

View File

@@ -1,179 +0,0 @@
#! /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 (<>);
# 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

@@ -1,140 +0,0 @@
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, STR1, IF-STR1, STR2, IF-STR2 [, ELSE])
AC_DEFUN(MOZ_TWO_STRING_TEST,
[if test "$enableval" = "[$2]"; then
ifelse([$3], , :, [$3])
elif test "$enableval" = "[$4]"; then
ifelse([$5], , :, [$5])
else
ifelse([$6], ,
[AC_MSG_ERROR([Option, [$1], does not take an argument ($enableval).])],
[$6])
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], 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], 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], 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], 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], 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

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,200 +0,0 @@
# 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 enviroment 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 enviroment 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

@@ -1,191 +0,0 @@
# 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 enviroment 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 enviroment 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
])

View File

@@ -1,119 +0,0 @@
#!/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

@@ -1,198 +0,0 @@
# 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 enviroment 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 enviroment 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

@@ -1,280 +0,0 @@
#! /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

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

@@ -1,46 +0,0 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 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

@@ -1,94 +0,0 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 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

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