Compare commits

..

1926 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
344 changed files with 106012 additions and 13546 deletions

View File

@@ -1,28 +0,0 @@
#
# 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 mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2001 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Srilatha Moturi <srilatha@netscape.com>
# Krishna Mohan Khandrika <kkhandrika@netscape.com>
#
DEPTH=..\..
DIRS=mapihook resources mapiDll
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,54 +0,0 @@
; ***** BEGIN LICENSE BLOCK *****
; Version: MPL 1.1/GPL 2.0/LGPL 2.1
;
; 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 Mozilla.
;
; The Initial Developer of the Original Code is
; Netscape Communications Corp.
; Portions created by the Initial Developer are Copyright (C) 2001
; the Initial Developer. All Rights Reserved.
;
; Contributor(s): Krishna Mohan Khandrika (kkhandrika@netscape.com)
;
; Alternatively, the contents of this file may be used under the terms of
; either the GNU General Public License Version 2 or later (the "GPL"), or
; the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
; in which case the provisions of the GPL or the LGPL are applicable instead
; of those above. If you wish to allow use of your version of this file only
; under the terms of either the GPL or the LGPL, and not to allow others to
; use your version of this file under the terms of the MPL, indicate your
; decision by deleting the provisions above and replace them with the notice
; and other provisions required by the GPL or the LGPL. If you do not delete
; the provisions above, a recipient may use your version of this file under
; the terms of any one of the MPL, the GPL or the LGPL.
;
; ***** END LICENSE BLOCK *****
LIBRARY mozMapi32.dll
DESCRIPTION 'Mozilla Simple MAPI Support'
EXPORTS
MAPILogon
MAPILogoff
MAPISendMail
MAPISendDocuments
MAPIFindNext
MAPIReadMail
MAPISaveMail
MAPIDeleteMail
MAPIAddress
MAPIDetails
MAPIResolveName
MAPIFreeBuffer
GetMapiDllVersion

View File

@@ -1,335 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 Mozilla
*
* The Initial Developer of the Original Code is
* Netscape Communications Corp.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s): Krishna Mohan Khandrika (kkhandrika@netscape.com)
* Contributor(s): Rajiv Dayal (rdayal@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <windows.h>
#include <tchar.h>
#include <assert.h>
#include <mapidefs.h>
#include <mapi.h>
#include "msgMapi.h"
#include "msgMapiMain.h"
#define MAX_RECIPS 100
#define MAX_FILES 100
const CLSID CLSID_nsMapiImp = {0x29f458be, 0x8866, 0x11d5,
{0xa3, 0xdd, 0x0, 0xb0, 0xd0, 0xf3, 0xba, 0xa7}};
const IID IID_nsIMapi = {0x6EDCD38E,0x8861,0x11d5,
{0xA3,0xDD,0x00,0xB0,0xD0,0xF3,0xBA,0xA7}};
DWORD tId = 0;
BOOL WINAPI DllMain(HINSTANCE aInstance, DWORD aReason, LPVOID aReserved)
{
switch (aReason)
{
case DLL_PROCESS_ATTACH : tId = TlsAlloc();
if (tId == 0xFFFFFFFF)
return FALSE;
break;
case DLL_PROCESS_DETACH : TlsFree(tId);
break;
}
return TRUE;
}
BOOL InitMozillaReference(nsIMapi **aRetValue)
{
// Check wehther this thread has a valid Interface
// by looking into thread-specific-data variable
*aRetValue = (nsIMapi *)TlsGetValue(tId);
// Check whether the pointer actually resolves to
// a valid method call; otherwise mozilla is not running
if ((*aRetValue) && (*aRetValue)->IsValid() == S_OK)
return TRUE;
HRESULT hRes = CoInitialize(NULL);
hRes = ::CoCreateInstance(CLSID_nsMapiImp, NULL, CLSCTX_LOCAL_SERVER,
IID_nsIMapi, (LPVOID *)aRetValue);
if (hRes == S_OK && (*aRetValue)->Initialize() == S_OK)
if (TlsSetValue(tId, (LPVOID)(*aRetValue)))
return TRUE;
// Either CoCreate or TlsSetValue failed; so return FALSE
if ((*aRetValue))
(*aRetValue)->Release();
::CoUninitialize();
return FALSE;
}
////////////////////////////////////////////////////////////////////////////////////////
// The MAPILogon function begins a Simple MAPI session, loading the default message ////
// store and address book providers ////
////////////////////////////////////////////////////////////////////////////////////////
ULONG FAR PASCAL MAPILogon(ULONG aUIParam, LPTSTR aProfileName,
LPTSTR aPassword, FLAGS aFlags,
ULONG aReserved, LPLHANDLE aSession)
{
HRESULT hr = 0;
ULONG nSessionId = 0;
nsIMapi *pNsMapi = NULL;
if (!InitMozillaReference(&pNsMapi))
return MAPI_E_FAILURE;
if (!(aFlags & MAPI_UNICODE))
{
// Need to convert the parameters to Unicode.
char *pUserName = (char *) aProfileName;
char *pPassWord = (char *) aPassword;
TCHAR ProfileName[MAX_NAME_LEN] = {0};
TCHAR PassWord[MAX_PW_LEN] = {0};
if (pUserName != NULL)
{
if (!MultiByteToWideChar(CP_ACP, 0, pUserName, -1, ProfileName,
MAX_NAME_LEN))
return MAPI_E_FAILURE;
}
if (pPassWord != NULL)
{
if (!MultiByteToWideChar(CP_ACP, 0, pPassWord, -1, PassWord,
MAX_NAME_LEN))
return MAPI_E_FAILURE;
}
hr = pNsMapi->Login(aUIParam, ProfileName, PassWord, aFlags,
&nSessionId);
}
else
hr = pNsMapi->Login(aUIParam, aProfileName, aPassword,
aFlags, &nSessionId);
if (hr == S_OK)
(*aSession) = (LHANDLE) nSessionId;
else
return nSessionId;
return SUCCESS_SUCCESS;
}
ULONG FAR PASCAL MAPILogoff (LHANDLE aSession, ULONG aUIParam,
FLAGS aFlags, ULONG aReserved)
{
nsIMapi *pNsMapi = (nsIMapi *)TlsGetValue(tId);
if (pNsMapi != NULL)
{
if (pNsMapi->Logoff((ULONG) aSession) == S_OK)
pNsMapi->Release();
pNsMapi = NULL;
}
TlsSetValue(tId, NULL);
::CoUninitialize();
return SUCCESS_SUCCESS;
}
ULONG FAR PASCAL MAPISendMail (LHANDLE lhSession, ULONG ulUIParam, lpnsMapiMessage lpMessage,
FLAGS flFlags, ULONG ulReserved )
{
HRESULT hr = 0;
BOOL bTempSession = FALSE ;
nsIMapi *pNsMapi = NULL;
if (!InitMozillaReference(&pNsMapi))
return MAPI_E_FAILURE;
if (lpMessage->nRecipCount > MAX_RECIPS)
return MAPI_E_TOO_MANY_RECIPIENTS ;
if (lpMessage->nFileCount > MAX_FILES)
return MAPI_E_TOO_MANY_FILES ;
if ( (!(flFlags & MAPI_DIALOG)) && (lpMessage->lpRecips == NULL) )
return MAPI_E_UNKNOWN_RECIPIENT ;
if (!lhSession || pNsMapi->IsValidSession(lhSession) != S_OK)
{
FLAGS LoginFlag ;
if ( (flFlags & MAPI_LOGON_UI) && (flFlags & MAPI_NEW_SESSION) )
LoginFlag = MAPI_LOGON_UI | MAPI_NEW_SESSION ;
else if (flFlags & MAPI_LOGON_UI)
LoginFlag = MAPI_LOGON_UI ;
hr = MAPILogon (ulUIParam, (LPTSTR) NULL, (LPTSTR) NULL, LoginFlag, 0, &lhSession) ;
if (hr != SUCCESS_SUCCESS)
return MAPI_E_LOGIN_FAILURE ;
bTempSession = TRUE ;
}
// we need to deal with null data passed in by MAPI clients, specially when MAPI_DIALOG is set.
// The MS COM type lib code generated by MIDL for the MS COM interfaces checks for these parameters
// to be non null, although null is a valid value for them here.
nsMapiRecipDesc * lpRecips ;
nsMapiFileDesc * lpFiles ;
nsMapiMessage Message ;
memset (&Message, 0, sizeof (nsMapiMessage) ) ;
nsMapiRecipDesc Recipient ;
memset (&Recipient, 0, sizeof (nsMapiRecipDesc) );
nsMapiFileDesc Files ;
memset (&Files, 0, sizeof (nsMapiFileDesc) ) ;
if(!lpMessage)
{
lpMessage = &Message ;
}
if(!lpMessage->lpRecips)
{
lpRecips = &Recipient ;
}
else
lpRecips = lpMessage->lpRecips ;
if(!lpMessage->lpFiles)
{
lpFiles = &Files ;
}
else
lpFiles = lpMessage->lpFiles ;
hr = pNsMapi->SendMail (lhSession, lpMessage,
(short) lpMessage->nRecipCount, lpRecips,
(short) lpMessage->nFileCount, lpFiles,
flFlags, ulReserved);
if (bTempSession)
MAPILogoff (lhSession, ulUIParam, 0,0) ;
// we are seeing a problem when using Word, although we return success from the MAPI support
// MS COM interface in mozilla, we are getting this error here. This is a temporary hack !!
if (hr == 0x800703e6)
return SUCCESS_SUCCESS;
return hr ;
}
ULONG FAR PASCAL MAPISendDocuments(ULONG ulUIParam, LPTSTR lpszDelimChar, LPTSTR lpszFilePaths,
LPTSTR lpszFileNames, ULONG ulReserved)
{
LHANDLE lhSession ;
nsIMapi *pNsMapi = NULL;
if (!InitMozillaReference(&pNsMapi))
return MAPI_E_FAILURE;
unsigned long result = MAPILogon (ulUIParam, (LPTSTR) NULL, (LPTSTR) NULL, MAPI_LOGON_UI, 0, &lhSession) ;
if (result != SUCCESS_SUCCESS)
return MAPI_E_LOGIN_FAILURE ;
HRESULT hr;
hr = pNsMapi->SendDocuments(lhSession, (LPTSTR) lpszDelimChar, (LPTSTR) lpszFilePaths,
(LPTSTR) lpszFileNames, ulReserved) ;
MAPILogoff (lhSession, ulUIParam, 0,0) ;
return hr ;
}
ULONG FAR PASCAL MAPIFindNext(LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszMessageType,
LPTSTR lpszSeedMessageID, FLAGS flFlags, ULONG ulReserved,
LPTSTR lpszMessageID)
{
return MAPI_E_FAILURE;
}
ULONG FAR PASCAL MAPIReadMail(LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszMessageID,
FLAGS flFlags, ULONG ulReserved, lpMapiMessage FAR *lppMessage)
{
return MAPI_E_FAILURE;
}
ULONG FAR PASCAL MAPISaveMail(LHANDLE lhSession, ULONG ulUIParam, lpMapiMessage lpMessage,
FLAGS flFlags, ULONG ulReserved, LPTSTR lpszMessageID)
{
return MAPI_E_FAILURE;
}
ULONG FAR PASCAL MAPIDeleteMail(LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszMessageID,
FLAGS flFlags, ULONG ulReserved)
{
return MAPI_E_FAILURE;
}
ULONG FAR PASCAL MAPIAddress(LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszCaption,
ULONG nEditFields, LPTSTR lpszLabels, ULONG nRecips,
lpMapiRecipDesc lpRecips, FLAGS flFlags,
ULONG ulReserved, LPULONG lpnNewRecips,
lpMapiRecipDesc FAR *lppNewRecips)
{
return MAPI_E_FAILURE;
}
ULONG FAR PASCAL MAPIDetails(LHANDLE lhSession, ULONG ulUIParam, lpMapiRecipDesc lpRecip,
FLAGS flFlags, ULONG ulReserved)
{
return MAPI_E_FAILURE;
}
ULONG FAR PASCAL MAPIResolveName(LHANDLE lhSession, ULONG ulUIParam, LPTSTR lpszName,
FLAGS flFlags, ULONG ulReserved, lpMapiRecipDesc FAR *lppRecip)
{
return MAPI_E_FAILURE;
}
ULONG FAR PASCAL MAPIFreeBuffer(LPVOID pv)
{
return MAPI_E_FAILURE;
}
ULONG FAR PASCAL GetMapiDllVersion()
{
return 94;
}

View File

@@ -1,61 +0,0 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# 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 Mozilla.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corp.
# Portions created by the Initial Developer are Copyright (C) 2001
# the Initial Developer. All Rights Reserved.
#
# Contributor(s): Krishna Mohan Khandrika (kkhandrika@netscape.com)
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH=..\..\..
MODULE = mozMapi32
EXPORT_LIBRARY = $(MODULE)
LIBRARY_NAME = $(MODULE)
DEFFILE = Mapi32.def
REQUIRES = MapiProxy \
msgMapi \
xpcom \
string \
$(NULL)
include <$(DEPTH)\config\config.mak>
###############################################################
LCFLAGS=-DUNICODE -D_UNICODE
OBJS= .\$(OBJDIR)\MapiDll.obj
WIN_LIBS= ole32.lib
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,26 +0,0 @@
#!nmake
#
# 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): kkhandrika@netscape.com
DEPTH=..\..\..
DIRS= build public src
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,64 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Krishna Mohan Khandrika <kkhandrika@netscape.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsISupports.idl"
/**
* This interface provides support for registering Mozilla as a COM component
* for extending the use of Mail/News through Simple MAPI.
*
*/
[noscript, uuid(8967fed2-c8bb-11d5-a3e9-00b0d0f3baa7)]
interface nsIMapiSupport : nsISupports {
/** Initiates MAPI support
*/
void initializeMAPISupport();
/** Shuts down the MAPI support
*/
void shutdownMAPISupport();
};
%{C++
#define NS_IMAPISUPPORT_CONTRACTID "@mozilla.org/mapisupport;1"
#define NS_IMAPISUPPORT_CLASSNAME "Mozilla MAPI Support"
%}

View File

@@ -1,174 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 Mozilla
*
* The Initial Developer of the Original Code is
* Netscape Communications Corp.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s): Krishna Mohan Khandrika (kkhandrika@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "nsComPtr.h"
#include "nsMapiSupport.h"
#include "nsISupports.h"
#include "nsMapiRegistry.h"
#include "nsIGenericFactory.h"
#include "nsIObserverService.h"
#include "nsIAppStartupNotifier.h"
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"
#include "nsICategoryManager.h"
const CLSID CLSID_nsMapiImp = {0x29f458be, 0x8866, 0x11d5, \
{0xa3, 0xdd, 0x0, 0xb0, 0xd0, 0xf3, 0xba, 0xa7}};
/** Implementation of the nsIMapiSupport interface.
* Use standard implementation of nsISupports stuff.
*/
NS_IMPL_THREADSAFE_ISUPPORTS2(nsMapiSupport, nsIMapiSupport, nsIObserver);
static NS_METHOD nsMapiRegistrationProc(nsIComponentManager *aCompMgr,
nsIFile *aPath, const char *registryLocation, const char *componentType,
const nsModuleComponentInfo *info)
{
nsresult rv;
nsCOMPtr<nsICategoryManager> categoryManager(do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv));
if (NS_SUCCEEDED(rv))
rv = categoryManager->AddCategoryEntry(APPSTARTUP_CATEGORY, "Mapi Support",
"service," NS_IMAPISUPPORT_CONTRACTID, PR_TRUE, PR_TRUE, nsnull);
return rv;
}
NS_IMETHODIMP
nsMapiSupport::Observe(nsISupports *aSubject, const char *aTopic, const PRUnichar *aData)
{
if (!nsCRT::strcmp(aTopic, "profile-after-change"))
return InitializeMAPISupport();
if (!nsCRT::strcmp(aTopic, NS_XPCOM_SHUTDOWN_OBSERVER_ID))
return ShutdownMAPISupport();
nsresult rv;
nsCOMPtr<nsIObserverService> observerService(do_GetService("@mozilla.org/observer-service;1", &rv));
if (NS_FAILED(rv)) return rv;
rv = observerService->AddObserver(this,"profile-after-change", PR_FALSE);
if (NS_FAILED(rv)) return rv;
rv = observerService->AddObserver(this, NS_XPCOM_SHUTDOWN_OBSERVER_ID, PR_FALSE);
return rv;
}
nsMapiSupport::nsMapiSupport()
: m_dwRegister(0),
m_nsMapiFactory(nsnull)
{
NS_INIT_ISUPPORTS();
}
nsMapiSupport::~nsMapiSupport()
{
}
NS_IMETHODIMP
nsMapiSupport::InitializeMAPISupport()
{
::CoInitialize(nsnull);
if (m_nsMapiFactory == nsnull) // No Registering if already done. Sanity Check!!
{
m_nsMapiFactory = new nsMapiFactory();
if (m_nsMapiFactory != nsnull)
{
HRESULT hr = ::CoRegisterClassObject(CLSID_nsMapiImp, \
m_nsMapiFactory, \
CLSCTX_LOCAL_SERVER, \
REGCLS_MULTIPLEUSE, \
&m_dwRegister);
if (FAILED(hr))
{
m_nsMapiFactory->Release() ;
m_nsMapiFactory = nsnull;
return NS_ERROR_FAILURE;
}
}
}
return NS_OK;
}
NS_IMETHODIMP
nsMapiSupport::ShutdownMAPISupport()
{
if (m_dwRegister != 0)
::CoRevokeClassObject(m_dwRegister);
if (m_nsMapiFactory != nsnull)
{
m_nsMapiFactory->Release();
m_nsMapiFactory = nsnull;
}
::CoUninitialize();
return NS_OK;
}
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMapiRegistry);
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMapiSupport);
// The list of components we register
static nsModuleComponentInfo components[] =
{
{
NS_IMAPIREGISTRY_CLASSNAME,
NS_IMAPIREGISTRY_CID,
NS_IMAPIREGISTRY_CONTRACTID,
nsMapiRegistryConstructor
},
{
NS_IMAPISUPPORT_CLASSNAME,
NS_IMAPISUPPORT_CID,
NS_IMAPISUPPORT_CONTRACTID,
nsMapiSupportConstructor,
nsMapiRegistrationProc,
nsnull
}
};
NS_IMPL_NSGETMODULE(msgMapiModule, components);

View File

@@ -1,67 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* 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 Mozilla
*
* The Initial Developer of the Original Code is
# Netscape Communications Corp.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s): Krishna Mohan Khandrika (kkhandrika@netscape.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef NS_MAPI_SUPPORT_H_
#define NS_MAPI_SUPPORT_H_
#include <nsIObserver.h>
#include <nsIMapiSupport.h>
#include "msgMapiFactory.h"
#define NS_IMAPISUPPORT_CID \
{0x8967fed2, 0xc8bb, 0x11d5, \
{ 0xa3, 0xe9, 0x00, 0xb0, 0xd0, 0xf3, 0xba, 0xa7 }}
class nsMapiSupport : public nsIMapiSupport, public nsIObserver
{
public :
nsMapiSupport();
~nsMapiSupport();
// Declare all interface methods we must implement.
NS_DECL_ISUPPORTS
NS_DECL_NSIOBSERVER
NS_DECL_NSIMAPISUPPORT
private :
DWORD m_dwRegister;
nsMapiFactory *m_nsMapiFactory;
};
#endif // NS_MAPI_SUPPORT_H_

View File

@@ -1,64 +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=..\..\..
MODULE=mapiguts
################################################################################
## exports
#EXPORTS =
################################################################################
## library
LIBNAME = .\$(OBJDIR)\mapiguts
!ifdef MOZ_STATIC_COMPONENT_LIBS
LIB = $(LIBNAME).lib
!else
DLL = $(LIBNAME).dll
!endif
DEFINES= -NS_DEBUG
OBJS= \
.\$(OBJDIR)\mapihook.obj \
.\$(OBJDIR)\mapimail.obj \
$(NULL)
LLIBS= \
$(LLIBS) \
$(LIBNSPR) \
$(DIST)\lib\xppref32.lib \
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\mapiutils_s.lib \
$(NULL)
include <$(DEPTH)\config\rules.mak>
!ifdef MOZ_STATIC_COMPONENT_LIBS
install:: $(LIb)
$(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\bin\components
!else
install:: $(DLL)
$(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin\components
!endif

File diff suppressed because it is too large Load Diff

View File

@@ -1,48 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _MAPI_HOOK_H_
#define _MAPI_HOOK_H_
#include <structs.h> // for MWContext
//
// This is the entry point to the MAPI session manager that lives
// inside of Communicator.
//
LONG ProcessNetscapeMAPIHook(WPARAM wParam, LPARAM lParam);
#endif // _MAPI_HOOK_H_

View File

@@ -1,853 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// More MAPI Hooks for Communicator
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
//
#include "windows.h"
#include "template.h"
#include "msgcom.h"
#include "wfemsg.h"
#include "compstd.h"
#include "compbar.h"
#include "compmisc.h"
#include "compfrm.h"
#include "prefapi.h"
#include "intl_csi.h"
#include "dlghtmrp.h"
#include "dlghtmmq.h"
// rhp - was breaking the optimized build!
//#include "edt.h"
//#include "edview.h"
//#include "postal.h"
//#include "apiaddr.h"
//#include "mailmisc.h"
extern "C" {
#include "xpgetstr.h"
extern int MK_MSG_MSG_COMPOSITION;
};
#include "mapimail.h"
#include "nscpmapi.h"
#include "mailpriv.h"
#include "nsstrseq.h"
MWContext
*GetUsableContext(void)
{
CGenericFrame *pFrame = (CGenericFrame * )FEU_GetLastActiveFrame();
ASSERT(pFrame != NULL);
if (pFrame == NULL)
{
return(NULL);
}
// Now return the context...
return((MWContext *) pFrame->GetMainContext());
}
//
// This function will create a composition window and either do
// a blind send or pop up the compose window for the user to
// complete the operation
//
// Return: appropriate MAPI return code...
//
//
extern "C" LONG
DoFullMAPIMailOperation(MAPISendMailType *sendMailPtr,
const char *pInitialText,
BOOL winShowFlag)
{
CGenericDoc *pDocument;
LPSTR subject;
NSstringSeq mailInfoSeq;
DWORD stringCount = 6;
DWORD i;
CString csDefault;
// Get a context to use for this call...
MWContext *pOldContext = GetUsableContext();
if (!pOldContext)
{
return(MAPI_E_FAILURE);
}
// Don't allow a compose window to be created if the user hasn't
// specified an email address
const char *real_addr = FE_UsersMailAddress();
if (MISC_ValidateReturnAddress(pOldContext, real_addr) < 0)
{
return(MAPI_E_FAILURE);
}
//
// Now, we must build the fields object...
//
mailInfoSeq = (NSstringSeq) &(sendMailPtr->dataBuf[0]);
subject = NSStrSeqGet(mailInfoSeq, 0);
// We should give it a subject to preven the prompt from coming
// up...
if ((!subject) || !(*subject))
{
csDefault.LoadString(IDS_COMPOSE_DEFAULTNOSUBJECT);
subject = csDefault.GetBuffer(2);
}
TRACE("MAPI: ProcessMAPISendMail() Subject = [%s]\n", subject);
TRACE("MAPI: ProcessMAPISendMail() Text Size = [%d]\n", strlen((const char *)pInitialText));
TRACE("MAPI: ProcessMAPISendMail() # of Recipients = [%d]\n", sendMailPtr->MSG_nRecipCount);
char toString[1024] = "";
char ccString[1024] = "";
char bccString[1024] = "";
for (i=0; i<sendMailPtr->MSG_nRecipCount; i++)
{
LPSTR ptr;
UCHAR tempString[256];
ULONG addrType = atoi(NSStrSeqGet(mailInfoSeq, stringCount++));
// figure which type of address this is?
if (addrType == MAPI_CC)
ptr = ccString;
else if (addrType == MAPI_BCC)
ptr = bccString;
else
ptr = toString;
LPSTR namePtr = (LPSTR) NSStrSeqGet(mailInfoSeq, stringCount++);
LPSTR emailPtr = (LPSTR) NSStrSeqGet(mailInfoSeq, stringCount++);
if ( (lstrlen(emailPtr) > 5) && (*(emailPtr + 4) == ':') )
{
emailPtr += 5;
}
// Now build the temp string to tack on in the format
// "Rich Pizzarro" <rhp@netscape.com>
wsprintf((LPSTR) tempString, "\"%s\" <%s>", namePtr, emailPtr);
// add a comma if not the first one
if (ptr[0] != '\0')
lstrcat(ptr, ",");
// tack on string!
lstrcat(ptr, (LPSTR) tempString);
}
BOOL bEncrypt = FALSE;
BOOL bSign = FALSE;
PREF_GetBoolPref("mail.crypto_sign_outgoing_mail", &bSign);
PREF_GetBoolPref("mail.encrypt_outgoing_mail", &bEncrypt);
MSG_CompositionFields *fields =
MSG_CreateCompositionFields(real_addr, real_addr,
toString,
ccString,
bccString,
"", "", "",
"", subject, "",
"", "", "",
"",
bEncrypt,
bSign);
if (!fields)
{
return(MAPI_E_FAILURE);
}
// RICHIE
// INTL_CharSetInfo csi = LO_GetDocumentCharacterSetInfo(pOldContext);
// int16 win_csid = INTL_GetCSIWinCSID(csi);
pDocument = (CGenericDoc*)theApp.m_TextComposeTemplate->OpenDocumentFile(NULL, NULL, /*win_csid RICHIE*/ winShowFlag);
if ( !pDocument )
{
return(MAPI_E_FAILURE);
}
CWinCX * pContext = (CWinCX*) pDocument->GetContext();
if ( !pContext )
{
return(MAPI_E_FAILURE);
}
MSG_CompositionPaneCallbacks Callbacks;
Callbacks.CreateRecipientsDialog = CreateRecipientsDialog;
Callbacks.CreateAskHTMLDialog = CreateAskHTMLDialog;
int16 doccsid;
MWContext *context = pContext->GetContext();
CComposeFrame *pCompose = (CComposeFrame *) pContext->GetFrame()->GetFrameWnd();
pCompose->SetComposeStuff(context, fields); // squirl away stuff for post-create
// This needs to be set TRUE if using the old non-HTML text frame
// to prevent dropping dragged URLs
pContext->m_bDragging = !pCompose->UseHtml();
if (!pCompose->UseHtml())
{
pCompose->SetMsgPane(
MSG_CreateCompositionPane(pContext->GetContext(),
context,
g_MsgPrefs.m_pMsgPrefs,
fields,
WFE_MSGGetMaster())
);
}
ASSERT(pCompose->GetMsgPane());
MSG_SetFEData(pCompose->GetMsgPane(),(void *)pCompose);
pCompose->UpdateAttachmentInfo();
// Pass doccsid info to new context for MailToWin conversion
doccsid = INTL_GetCSIDocCSID(LO_GetDocumentCharacterSetInfo(context));
INTL_SetCSIDocCSID(LO_GetDocumentCharacterSetInfo(context),
(doccsid ? doccsid : INTL_DefaultDocCharSetID(context)));
pCompose->DisplayHeaders(NULL);
CComposeBar * pBar = pCompose->GetComposeBar();
ASSERT(pBar);
LPADDRESSCONTROL pIAddressList = pBar->GetAddressWidgetInterface();
if (!pIAddressList->IsCreated())
{
pBar->CreateAddressingBlock();
}
// rhp - Deal with addressing the brute force way! This is a
// "fix" for bad behavior when creating these windows and not
// showing them on the desktop.
if (!winShowFlag) // Hack to fix the window not being mapped
{
pCompose->AppendAddress(MSG_TO_HEADER_MASK, "");
pCompose->AppendAddress(MSG_CC_HEADER_MASK, "");
pCompose->AppendAddress(MSG_BCC_HEADER_MASK, "");
}
// Always do plain text composition!
pCompose->CompleteComposeInitialization();
// Do this so we don't get popups on "empty" messages
if ( (!pInitialText) || (!(*pInitialText)) )
pInitialText = " ";
const char * pBody = pInitialText ? pInitialText : MSG_GetCompBody(pCompose->GetMsgPane());
if (pBody)
{
FE_InsertMessageCompositionText(context,pBody,TRUE);
}
//
// Now set the message as being edited!
//
pCompose->SetModified(TRUE);
//
// Finally deal with the attachments...
//
if (sendMailPtr->MSG_nFileCount > 0)
{
// Send this puppy when done with the attachments...
if (!winShowFlag)
{
pCompose->SetMAPISendMode(MAPI_SEND);
}
MSG_AttachmentData *pAttach = (MSG_AttachmentData *)
XP_CALLOC((sendMailPtr->MSG_nFileCount + 1),
sizeof(MSG_AttachmentData));
if (!pAttach)
{
return(MAPI_E_INSUFFICIENT_MEMORY);
}
memset(pAttach, 0, (sendMailPtr->MSG_nFileCount + 1) *
sizeof(MSG_AttachmentData));
for (i=0; i<sendMailPtr->MSG_nFileCount; i++)
{
CString cs;
// Create URL from filename...
WFE_ConvertFile2Url(cs,
(const char *)NSStrSeqGet(mailInfoSeq, stringCount++));
pAttach[i].url = XP_STRDUP(cs);
// Now also include the "display" name...
StrAllocCopy(pAttach[i].real_name, NSStrSeqGet(mailInfoSeq, stringCount++));
}
// Set the list!
MSG_SetAttachmentList(pCompose->GetMsgPane(), pAttach);
// Now free everything...
for (i=0; i<sendMailPtr->MSG_nFileCount; i++)
{
if (pAttach[i].url)
XP_FREE(pAttach[i].url);
if (pAttach[i].real_name)
XP_FREE(pAttach[i].real_name);
}
XP_FREE(pAttach);
}
//
// Now, if we were supposed to do the blind send...do it, otherwise,
// just popup the window...
//
if (winShowFlag)
{
// Post message to compose window to set the initial focus.
pCompose->PostMessage(WM_COMP_SET_INITIAL_FOCUS);
}
else if (sendMailPtr->MSG_nFileCount <= 0) // Send NOW if no attachments!
{
pCompose->PostMessage(WM_COMMAND, IDM_SEND);
}
return(SUCCESS_SUCCESS);
}
//
// This function will create a composition window and just attach
// the attachments of interest and pop up the window...
//
// Return: appropriate MAPI return code...
//
//
extern "C" LONG
DoPartialMAPIMailOperation(MAPISendDocumentsType *sendDocPtr)
{
CGenericDoc *pDocument;
// Get a context to use for this call...
MWContext *pOldContext = GetUsableContext();
if (!pOldContext)
{
return(MAPI_E_FAILURE);
}
// Don't allow a compose window to be created if the user hasn't
// specified an email address
const char *real_addr = FE_UsersMailAddress();
if (MISC_ValidateReturnAddress(pOldContext, real_addr) < 0)
{
return(MAPI_E_FAILURE);
}
//
// Now, build the fields object w/o much info...
//
BOOL bEncrypt = FALSE;
BOOL bSign = FALSE;
PREF_GetBoolPref("mail.crypto_sign_outgoing_mail", &bSign);
PREF_GetBoolPref("mail.encrypt_outgoing_mail", &bEncrypt);
MSG_CompositionFields *fields =
MSG_CreateCompositionFields(real_addr, real_addr, NULL,
"", "",
"", "", "",
"", "", "",
"", "", "",
"",
bEncrypt,
bSign);
if (!fields)
{
return(MAPI_E_FAILURE);
}
// RICHIE - INTL_CharSetInfo csi = LO_GetDocumentCharacterSetInfo(pOldContext);
// int16 win_csid = INTL_GetCSIWinCSID(csi);
pDocument = (CGenericDoc*)theApp.m_TextComposeTemplate->OpenDocumentFile(NULL, NULL, /*RICHIE win_csid,*/ TRUE);
if ( !pDocument )
{
// cleanup fields object
MSG_DestroyCompositionFields(fields);
return(MAPI_E_FAILURE);
}
CWinCX * pContext = (CWinCX*) pDocument->GetContext();
if ( !pContext )
{
return(MAPI_E_FAILURE);
}
MSG_CompositionPaneCallbacks Callbacks;
Callbacks.CreateRecipientsDialog = CreateRecipientsDialog;
Callbacks.CreateAskHTMLDialog = CreateAskHTMLDialog;
MWContext *context = pContext->GetContext();
CComposeFrame *pCompose = (CComposeFrame *) pContext->GetFrame()->GetFrameWnd();
pCompose->SetComposeStuff(context,fields); // squirl away stuff for post-create
// This needs to be set TRUE if using the old non-HTML text frame
// to prevent dropping dragged URLs
pContext->m_bDragging = !pCompose->UseHtml();
if (!pCompose->UseHtml())
{
pCompose->SetMsgPane(MSG_CreateCompositionPane(
pContext->GetContext(),
context,
g_MsgPrefs.m_pMsgPrefs, fields,
WFE_MSGGetMaster()));
}
ASSERT(pCompose->GetMsgPane());
MSG_SetFEData(pCompose->GetMsgPane(),(void *)pCompose);
pCompose->UpdateAttachmentInfo();
// Pass doccsid info to new context for MailToWin conversion
/***
doccsid = INTL_GetCSIDocCSID(LO_GetDocumentCharacterSetInfo(pOldContext));
INTL_SetCSIDocCSID(LO_GetDocumentCharacterSetInfo(context),
(doccsid ? doccsid : INTL_DefaultDocCharSetID(pOldContext)));
****/
pCompose->DisplayHeaders(NULL);
CComposeBar * pBar = pCompose->GetComposeBar();
ASSERT(pBar);
LPADDRESSCONTROL pIAddressList = pBar->GetAddressWidgetInterface();
if (!pIAddressList->IsCreated())
{
pBar->CreateAddressingBlock();
}
// Always do plain text composition!
pCompose->CompleteComposeInitialization();
//
// Finally deal with the attachments...
//
NSstringSeq mailInfoSeq = (NSstringSeq) &(sendDocPtr->dataBuf[0]);
DWORD stringCount = 0;
DWORD i;
TRACE("MAPI: ProcessMAPISendDocuments() # of Attachments = [%d]\n", sendDocPtr->nFileCount);
if (sendDocPtr->nFileCount > 0)
{
MSG_AttachmentData *pAttach = (MSG_AttachmentData *)
XP_CALLOC((sendDocPtr->nFileCount + 1),
sizeof(MSG_AttachmentData));
if (!pAttach)
{
return(MAPI_E_INSUFFICIENT_MEMORY);
}
memset(pAttach, 0, (sendDocPtr->nFileCount + 1) *
sizeof(MSG_AttachmentData));
for (i=0; i<sendDocPtr->nFileCount; i++)
{
CString cs;
// Create URL from filename...
WFE_ConvertFile2Url(cs,
(const char *)NSStrSeqGet(mailInfoSeq, stringCount++));
pAttach[i].url = XP_STRDUP(cs);
// Now also include the "display" name...
StrAllocCopy(pAttach[i].real_name, NSStrSeqGet(mailInfoSeq, stringCount++));
}
// Set the list!
MSG_SetAttachmentList(pCompose->GetMsgPane(), pAttach);
// Now free everything...
for (i=0; i<sendDocPtr->nFileCount; i++)
{
if (pAttach[i].url)
XP_FREE(pAttach[i].url);
if (pAttach[i].real_name)
XP_FREE(pAttach[i].real_name);
}
XP_FREE(pAttach);
}
//
// Now some checking for ... well I'm not sure...
//
if (MSG_GetAttachmentList(pCompose->GetMsgPane()))
pCompose->SetModified(TRUE);
else
pCompose->SetModified(FALSE);
// Post message to compose window to set the initial focus.
pCompose->PostMessage(WM_COMP_SET_INITIAL_FOCUS);
//
// Now, just popup the window...
//
pCompose->ShowWindow(TRUE);
// return pCompose->GetMsgPane(); rhp - used to return the MsgPane
return(SUCCESS_SUCCESS);
}
static void _GetMailCallback(HWND hwnd, MSG_Pane *pane, void *closure)
{
if (pane != NULL)
{
ShowWindow(hwnd, SW_HIDE);
MSG_Command( pane, MSG_GetNewMail, NULL, 0 );
}
}
static void _GetMailDoneCallback(HWND hwnd, MSG_Pane *pane, void *closure)
{
for(CGenericFrame * f = theApp.m_pFrameList; f; f = f->m_pNext)
f->PostMessage(WM_COMMAND, (WPARAM) ID_DONEGETTINGMAIL, (LPARAM) 0);
}
//
// This will fire off a "get mail in background operation" in an
// async. fashion.
//
extern "C" void
MAPIGetNewMessagesInBackground(void)
{
CGenericFrame *pFrame = (CGenericFrame * )FEU_GetLastActiveFrame();
// rhp - we should not hit the net if we are offline!
if (NET_IsOffline())
return;
if (!pFrame)
return;
MWContext *pOldContext = GetUsableContext();
if (!pOldContext)
return;
TRACE("MAPI: DOWNLOAD MAIL IN BACKGROUND\n");
new CProgressDialog(
pFrame->GetFrameWnd(),
NULL,
_GetMailCallback, NULL, NULL,
_GetMailDoneCallback);
}
//
// This function will save a message into the Communicator "Drafts"
// folder with no UI showing.
//
// Return: appropriate MAPI return code...
//
//
extern "C" LONG
DoMAPISaveMailOperation(MAPISendMailType *sendMailPtr,
const char *pInitialText)
{
CGenericDoc *pDocument;
LPSTR subject;
NSstringSeq mailInfoSeq;
DWORD stringCount = 6;
DWORD i;
BOOL winShowFlag = FALSE;
// Get a context to use for this call...
MWContext *pOldContext = GetUsableContext();
if (!pOldContext)
{
return(MAPI_E_FAILURE);
}
// Don't allow a compose window to be created if the user hasn't
// specified an email address
const char *real_addr = FE_UsersMailAddress();
if (MISC_ValidateReturnAddress(pOldContext, real_addr) < 0)
{
return(MAPI_E_FAILURE);
}
//
// Now, we must build the fields object...
//
mailInfoSeq = (NSstringSeq) &(sendMailPtr->dataBuf[0]);
subject = NSStrSeqGet(mailInfoSeq, 0);
TRACE("MAPI: ProcessMAPISendMail() Subject = [%s]\n", subject);
TRACE("MAPI: ProcessMAPISendMail() Text Size = [%d]\n", strlen((const char *)pInitialText));
TRACE("MAPI: ProcessMAPISendMail() # of Recipients = [%d]\n", sendMailPtr->MSG_nRecipCount);
char toString[1024] = "";
char ccString[1024] = "";
char bccString[1024] = "";
for (i=0; i<sendMailPtr->MSG_nRecipCount; i++)
{
LPSTR ptr;
UCHAR tempString[256];
ULONG addrType = atoi(NSStrSeqGet(mailInfoSeq, stringCount++));
// figure which type of address this is?
if (addrType == MAPI_CC)
ptr = ccString;
else if (addrType == MAPI_BCC)
ptr = bccString;
else
ptr = toString;
LPSTR namePtr = (LPSTR) NSStrSeqGet(mailInfoSeq, stringCount++);
LPSTR emailPtr = (LPSTR) NSStrSeqGet(mailInfoSeq, stringCount++);
if ( (!emailPtr) && (!namePtr))
{
return(MAPI_E_INVALID_RECIPS);
}
if (!emailPtr)
emailPtr = namePtr;
char *tptr = strchr(emailPtr, ':');
if (tptr != NULL)
{
if ( (*tptr != '\0') && (*(tptr+1) != '\0') )
{
emailPtr = (tptr + 1);
}
}
/**
if ( (lstrlen(emailPtr) > 5) && (*(emailPtr + 4) == ':') )
{
emailPtr += 5;
}
**/
// Now build the temp string to tack on in the format
// "Rich Pizzarro" <rhp@netscape.com>
wsprintf((LPSTR) tempString, "\"%s\" <%s>", namePtr, emailPtr);
// add a comma if not the first one
if (ptr[0] != '\0')
lstrcat(ptr, ",");
// tack on string!
lstrcat(ptr, (LPSTR) tempString);
}
BOOL bEncrypt = FALSE;
BOOL bSign = FALSE;
PREF_GetBoolPref("mail.crypto_sign_outgoing_mail", &bSign);
PREF_GetBoolPref("mail.encrypt_outgoing_mail", &bEncrypt);
MSG_CompositionFields *fields =
MSG_CreateCompositionFields(real_addr, real_addr,
toString,
ccString,
bccString,
"", "", "",
"", subject, "",
"", "", "",
"",
bEncrypt,
bSign);
if (!fields)
{
return(MAPI_E_FAILURE);
}
// RICHIE
// INTL_CharSetInfo csi = LO_GetDocumentCharacterSetInfo(pOldContext);
// int16 win_csid = INTL_GetCSIWinCSID(csi);
pDocument = (CGenericDoc*)theApp.m_TextComposeTemplate->OpenDocumentFile(NULL, NULL, /*win_csid RICHIE*/ winShowFlag);
if ( !pDocument )
{
return(MAPI_E_FAILURE);
}
CWinCX * pContext = (CWinCX*) pDocument->GetContext();
if ( !pContext )
{
return(MAPI_E_FAILURE);
}
MSG_CompositionPaneCallbacks Callbacks;
Callbacks.CreateRecipientsDialog = CreateRecipientsDialog;
Callbacks.CreateAskHTMLDialog = CreateAskHTMLDialog;
int16 doccsid;
MWContext *context = pContext->GetContext();
CComposeFrame *pCompose = (CComposeFrame *) pContext->GetFrame()->GetFrameWnd();
pCompose->SetComposeStuff(context, fields); // squirl away stuff for post-create
// This needs to be set TRUE if using the old non-HTML text frame
// to prevent dropping dragged URLs
pContext->m_bDragging = !pCompose->UseHtml();
if (!pCompose->UseHtml())
{
pCompose->SetMsgPane(
MSG_CreateCompositionPane(pContext->GetContext(),
context,
g_MsgPrefs.m_pMsgPrefs,
fields,
WFE_MSGGetMaster())
);
}
ASSERT(pCompose->GetMsgPane());
MSG_SetFEData(pCompose->GetMsgPane(),(void *)pCompose);
pCompose->UpdateAttachmentInfo();
// Pass doccsid info to new context for MailToWin conversion
doccsid = INTL_GetCSIDocCSID(LO_GetDocumentCharacterSetInfo(context));
INTL_SetCSIDocCSID(LO_GetDocumentCharacterSetInfo(context),
(doccsid ? doccsid : INTL_DefaultDocCharSetID(context)));
pCompose->DisplayHeaders(NULL);
CComposeBar * pBar = pCompose->GetComposeBar();
ASSERT(pBar);
LPADDRESSCONTROL pIAddressList = pBar->GetAddressWidgetInterface();
if (!pIAddressList->IsCreated())
{
pBar->CreateAddressingBlock();
}
// rhp - Deal with addressing the brute force way! This is a
// "fix" for bad behavior when creating these windows and not
// showing them on the desktop.
if (!winShowFlag) // Hack to fix the window not being mapped
{
pCompose->AppendAddress(MSG_TO_HEADER_MASK, "");
pCompose->AppendAddress(MSG_CC_HEADER_MASK, "");
pCompose->AppendAddress(MSG_BCC_HEADER_MASK, "");
}
// Always do plain text composition!
pCompose->CompleteComposeInitialization();
// Do this so we don't get popups on "empty" messages
if ( (!pInitialText) || (!(*pInitialText)) )
pInitialText = " ";
const char * pBody = pInitialText ? pInitialText : MSG_GetCompBody(pCompose->GetMsgPane());
if (pBody)
{
FE_InsertMessageCompositionText(context,pBody,TRUE);
}
//
// Now set the message as being edited!
//
pCompose->SetModified(TRUE);
//
// Finally deal with the attachments...
//
if (sendMailPtr->MSG_nFileCount > 0)
{
// Send this puppy when done with the attachments...
if (!winShowFlag)
{
pCompose->SetMAPISendMode(MAPI_SAVE);
}
MSG_AttachmentData *pAttach = (MSG_AttachmentData *)
XP_CALLOC((sendMailPtr->MSG_nFileCount + 1),
sizeof(MSG_AttachmentData));
if (!pAttach)
{
return(MAPI_E_INSUFFICIENT_MEMORY);
}
memset(pAttach, 0, (sendMailPtr->MSG_nFileCount + 1) *
sizeof(MSG_AttachmentData));
for (i=0; i<sendMailPtr->MSG_nFileCount; i++)
{
CString cs;
// Create URL from filename...
WFE_ConvertFile2Url(cs,
(const char *)NSStrSeqGet(mailInfoSeq, stringCount++));
pAttach[i].url = XP_STRDUP(cs);
// Now also include the "display" name...
StrAllocCopy(pAttach[i].real_name, NSStrSeqGet(mailInfoSeq, stringCount++));
}
// Set the list!
MSG_SetAttachmentList(pCompose->GetMsgPane(), pAttach);
// Now free everything...
for (i=0; i<sendMailPtr->MSG_nFileCount; i++)
{
if (pAttach[i].url)
XP_FREE(pAttach[i].url);
if (pAttach[i].real_name)
XP_FREE(pAttach[i].real_name);
}
XP_FREE(pAttach);
}
//
// Now, if we were supposed to do the blind send...do it, otherwise,
// just popup the window...
//
if (winShowFlag)
{
// Post message to compose window to set the initial focus.
pCompose->PostMessage(WM_COMP_SET_INITIAL_FOCUS);
}
else if (sendMailPtr->MSG_nFileCount <= 0) // Send NOW if no attachments!
{
pCompose->PostMessage(WM_COMMAND, IDM_SAVEASDRAFT);
}
return(SUCCESS_SUCCESS);
}

View File

@@ -1,89 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef _MAPI_MAIL_H_
#define _MAPI_MAIL_H_
#include "nscpmapi.h"
#include <structs.h> // for MWContext
//extern "C" {
//
// This function will create a composition window and either do
// a blind send or pop up the compose window for the user to
// complete the operation
//
// Return: appropriate MAPI return code...
//
//
extern "C" LONG
DoFullMAPIMailOperation(MAPISendMailType *sendMailPtr,
const char *pInitialText,
BOOL winShowFlag);
//
// This function will create a composition window and just attach
// the attachments of interest and pop up the window...
//
// Return: appropriate MAPI return code...
//
//
extern "C" LONG
DoPartialMAPIMailOperation(MAPISendDocumentsType *sendDocPtr);
//
// This function will save a message into the Communicator "Drafts"
// folder with no UI showing.
//
// Return: appropriate MAPI return code...
//
//
extern "C" LONG
DoMAPISaveMailOperation(MAPISendMailType *sendMailPtr,
const char *pInitialText);
//
// This will fire off a "get mail in background operation" in an
// async. fashion.
//
extern "C" void
MAPIGetNewMessagesInBackground(void);
// } // extern "C"
#endif // _MAPI_MAIL_H_

View File

@@ -1,50 +0,0 @@
#!nmake
#
# 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=mapiutils
include <$(DEPTH)\config\config.mak>
################################################################################
## exports
EXPORTS= mapismem.h \
nsstrseq.h \
$(NULL)
################################################################################
## library
LIBRARY_NAME=mapiutils_s
CPP_OBJS= .\$(OBJDIR)\mapismem.obj \
.\$(OBJDIR)\nsstrseq.obj \
$(NULL)
include <$(DEPTH)\config\rules.mak>
install:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
clobber::
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib

View File

@@ -1,173 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// smem.cpp - This deals with all shared memory functions needed for
// the MAPI component of Communicator
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
//
#include <windows.h>
#include <windowsx.h>
#include "mapismem.h"
#ifndef ZeroMemory
#include <memory.h>
#define ZeroMemory(PTR, SIZE) memset(PTR, 0, SIZE)
#endif // ZeroMemory
//
// *create new* shared memory chunk
// once this is created, use the pointer
// to the segment to to store data
// e.g.:
// lpString = "string for communicator";
// lstrcpy((LPSTR)pData->m_buf[0], lpString);
//
CSharedMem *
NSCreateSharedMemory(DWORD memSize, LPCTSTR memName, HANDLE *hSharedMemory)
{
#ifdef WIN32
BOOL bExistedBefore;
CSharedMem *pData;
LPCTSTR szObjectName = memName;
DWORD dwSize = sizeof(CSharedMem) + memSize;
*hSharedMemory = CreateFileMapping(
(HANDLE)0xFFFFFFFF,0,PAGE_READWRITE,0,dwSize,szObjectName);
if(*hSharedMemory == 0)
{
return NULL;
}
bExistedBefore = (GetLastError() == ERROR_ALREADY_EXISTS);
if(bExistedBefore)
{
return NULL;
}
pData = (CSharedMem *)MapViewOfFile(
*hSharedMemory, FILE_MAP_ALL_ACCESS, 0, 0, 0);
if(pData == NULL)
{
return NULL;
}
ZeroMemory(pData, dwSize);
pData->m_dwSize = memSize;
return pData;
#else
CSharedMem *sMemChunk = NULL;
DWORD dwSize = memSize = (sizeof(CSharedMem) + memSize);
if (sMemChunk != NULL)
return(sMemChunk);
sMemChunk = (CSharedMem *) GlobalAllocPtr(GMEM_MOVEABLE, dwSize);
ZeroMemory(sMemChunk, (size_t) dwSize);
sMemChunk->m_dwSize = dwSize; // Missing in Communicator code!
return(sMemChunk);
#endif // WIN32
}
//
// *open existing* shared memory chunk
// once you have the pointer to the new segment
// use this pointer to access data, e.g.:
//
CSharedMem *
NSOpenExistingSharedMemory(LPCTSTR memName, HANDLE *hSharedMemory)
{
#ifdef WIN32
CSharedMem *pData;
DWORD dwSize;
LPCTSTR szObjectName = memName;
*hSharedMemory = OpenFileMapping(
FILE_MAP_WRITE,FALSE,szObjectName);
if(*hSharedMemory == 0)
{
return NULL;
}
pData = (CSharedMem *)MapViewOfFile(
*hSharedMemory,FILE_MAP_ALL_ACCESS,0,0,0);
if(pData == NULL)
{
return NULL;
}
dwSize = pData->m_dwSize;
return pData;
#else
return(NULL); // In Win16, this is really meaningless...
#endif
}
//
// to close shared memory segment
//
void
NSCloseSharedMemory(CSharedMem *pData, HANDLE hSharedMemory)
{
#ifdef WIN32
if(pData != 0)
{
UnmapViewOfFile(pData);
pData = 0;
}
if(hSharedMemory != 0)
{
CloseHandle(hSharedMemory);
hSharedMemory = 0;
}
#else
if (pData != NULL)
{
GlobalFreePtr(pData);
pData = NULL;
}
#endif // WIN32
}

View File

@@ -1,116 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __SMEM_HPP__
#define __SMEM_HPP__
//
// Need this for Win16 since it is an undocumented message
//
#ifndef WIN32
#define WM_COPYDATA 0x004A
/*
* lParam of WM_COPYDATA message points to...
*/
typedef struct tagCOPYDATASTRUCT {
DWORD dwData;
DWORD cbData;
LPVOID lpData;
} COPYDATASTRUCT, *PCOPYDATASTRUCT;
# ifndef LPCTSTR
# define LPCTSTR LPCSTR
# endif
#endif // ifndef WIN32
// The following structure will be stored in the shared memory
// and will be used to pass data back and forth
#pragma pack(4)
typedef struct
{
DWORD m_dwSize; // size of the shared memory block
BYTE m_buf[1]; // this is the buffer of memory to be used
} CSharedMem;
#pragma pack(4)
// ******************************************************
// Public routines...
// ******************************************************
//
//
// *create new* shared memory chunk
// once this is created, use the pointer
// to the segment to to store data
// e.g.:
// lpString = "string for communicator";
// lstrcpy((LPSTR)pData->m_buf[0], lpString);
// pData->m_dwBytesUsed = lstrlen(lpString) + 1; // count '\0'
//
CSharedMem *
NSCreateSharedMemory(DWORD memSize, LPCTSTR memName, HANDLE *hSharedMemory);
//
// *open existing* shared memory chunk
// once you have the pointer to the new segment
// use this pointer to access data, e.g.:
//
// This will return the pointer to the memory chunk as well as
// fill out the hSharedMemory argument that is needed for subsequent
// operations.
//
// if(pData->m_dwBytesUsed > 0)
// {
// // use pData->m_buf here
// }
//
CSharedMem *
NSOpenExistingSharedMemory(LPCTSTR memName, HANDLE *hSharedMemory);
//
// You must pass in the pointer to the memory chunk as well as
// the hSharedMemory HANDLE to close shared memory segment
//
void
NSCloseSharedMemory(CSharedMem *pData, HANDLE hSharedMemory);
#endif // __SMEM_HPP__

View File

@@ -1,230 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// This is a string sequence handling routine to take complex
// structures and merge them into a chunk of memory.
//
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
//
#include <string.h>
#include <stdlib.h>
#include <windows.h>
#include <windowsx.h>
#include "nsstrseq.h"
#ifndef NULL
#define NULL '\0'
#endif
#define MARKER '\377'
//
// Delete an existing string sequence
//
void NSStrSeqDelete(NSstringSeq seq)
{
if (seq != NULL)
free(seq);
seq = NULL;
}
//
// Allocate a new sequence, copying the given strings into it.
//
NSstringSeq NSStrSeqNew(LPSTR strings[])
{
int size;
if (!strings)
{
return NULL;
}
{
int i;
for (i=0,size=0; strings[i]; i++)
{
size+=strlen(strings[i])+1;
switch (strings[i][0])
{
// Need to pad "" or anything starting with 255
// to allow for multiple blank strings in a row
case 0:
case MARKER:
size++;
break;
default:
break;
}
}
}
{
NSstringSeq s=(NSstringSeq)malloc(size+1);
if (!s)
{ return NULL;}
{
int i,offset;
for (i=0,offset=0; strings[i]; i++)
{
switch (strings[i][0])
{
// Need to pad "" or anything starting with 255
case 0:
case MARKER:
s[offset++]=MARKER;
break;
default:
break;
}
strcpy(s+offset,strings[i]);
offset+=strlen(strings[i])+1;
}
s[offset]=0;
}
return s;
}
}
//
// Get the # of bytes required for the sequence
//
LONG NSStrSeqSize(NSstringSeq seq)
{
const char* s;
if (!seq)
{
return -1;
}
for (s=seq+1; ((*s) || (*(s-1))); s++)
;
// At this point, s points to the second 0
// of the double 0 at the end
return (s-seq)+1;
}
//
// Get the # of strings in the sequence
//
LONG NSStrSeqNumStrs(NSstringSeq seq)
{
const char* s;
int N;
if (!seq)
{
return -1;
}
for (s=seq+1,N=0; ((*s) || (*(s-1))); s++)
{
if (!(*s))
N++;
}
return N;
}
static LPSTR correct(LPSTR s)
{
if (s[0]==MARKER)
return s+1;
else // Anup , 4/96
return s;
}
//
// Extract the index'th string in the sequence
//
LPSTR NSStrSeqGet(NSstringSeq seq, LONG index)
{
char* s;
int N;
if (!seq)
{
return NULL;
}
if (index<0)
{
return NULL;
}
if (!index)
return correct(seq);
for (s=seq+1,N=0; ((*s) || (*(s-1))) && (N<index); s++)
{
if (!(*s))
N++;
}
if (N==index)
return correct(s);
return NULL;
}
LPSTR * NSStrSeqGetAll(NSstringSeq seq)
{
LONG N=NSStrSeqNumStrs(seq);
if (N<0)
return NULL;
{
char** res=(char**)malloc( (size_t) ((N+1)*sizeof(char*)) );
int i;
if (!res)
{
return NULL;
}
for (i=0; i<N; i++)
res[i]=NSStrSeqGet(seq,i);
res[N]=NULL;
return res;
}
}

View File

@@ -1,68 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __SEQUENCES_OF_STRINGS_H_
#define __SEQUENCES_OF_STRINGS_H
typedef LPSTR NSstringSeq;
#ifdef __cplusplus
extern "C"
{
#endif
void NSStrSeqDelete(NSstringSeq seq);
NSstringSeq NSStrSeqNew(LPSTR strings[]);
// Get the # of bytes required for the sequence
LONG NSStrSeqSize(NSstringSeq seq);
// Get the # of strings in the sequence
LONG NSStrSeqNumStrs(NSstringSeq seq);
// Extract the index'th string in the sequence
LPSTR NSStrSeqGet(NSstringSeq seq, LONG index);
// Build an array of all the strings in the sequence
LPSTR *NSStrSeqGetAll(NSstringSeq seq);
#ifdef __cplusplus
}
#endif
#endif // __sequences_of_strings_h_

View File

@@ -1,26 +0,0 @@
#!nmake
#
# 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 lib mapi32 tests hook
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,100 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// DLLMain to get a handle on an hInstance
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
#include <windows.h>
//
// global variables
//
HINSTANCE hInstance;
//
// DLL entry
//
#ifdef WIN32
/****************************************************************************
FUNCTION: DllMain(HANDLE, DWORD, LPVOID)
PURPOSE: DllMain is called by Windows when
the DLL is initialized, Thread Attached, and other times.
Refer to SDK documentation, as to the different ways this
may be called.
The DllMain function should perform additional initialization
tasks required by the DLL. In this example, no initialization
tasks are required. DllMain should return a value of 1 if
the initialization is successful.
*******************************************************************************/
BOOL APIENTRY DllMain(HANDLE hInstLocal, DWORD ul_reason_being_called, LPVOID lpReserved)
{
hInstance = (HINSTANCE)hInstLocal;
if (hInstance != NULL)
return 1;
else
return 0;
}
#else // WIN16
//--------------------------------------------------------------------
// LibMain( hInstance, wDataSegment, wHeapSize, lpszCmdLine ) : WORD
//
// hInstance library instance handle
// wDataSegment library data segment
// wHeapSize default heap size
// lpszCmdLine command line arguments
//
//--------------------------------------------------------------------
int CALLBACK LibMain(HINSTANCE hInstLocal, WORD wDataSegment, WORD wHeapSize, LPSTR lpszCmdLine)
{
hInstance = hInstLocal;
/* return result 1 = success; 0 = fail */
if (hInstance != NULL)
return 1;
else
return 0;
}
#endif // WIN16

View File

@@ -1,70 +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=..\..\..
MODULE=mapi32
################################################################################
## exports
#EXPORTS =
################################################################################
## library
LIBNAME = .\$(OBJDIR)\mapi32
DEFINES= -NS_DEBUG
DEFFILE=MAPI32.def
!ifdef MOZ_STATIC_COMPONENT_LIBS
LIB = $(LIBNAME).lib
!else
DLL = $(LIBNAME).dll
!endif
OBJS= \
.\$(OBJDIR)\maindll.obj \
.\$(OBJDIR)\mapi32.obj \
.\$(OBJDIR)\mapiipc.obj \
.\$(OBJDIR)\mapimem.obj \
.\$(OBJDIR)\mapiutl.obj \
.\$(OBJDIR)\smem.obj \
.\$(OBJDIR)\trace.obj \
.\$(OBJDIR)\xpapi.obj \
$(NULL)
LLIBS= \
$(LLIBS) \
$(LIBNSPR) \
$(DIST)\lib\xppref32.lib \
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\mapiutils_s.lib \
$(NULL)
include <$(DEPTH)\config\rules.mak>
!ifdef MOZ_STATIC_COMPONENT_LIBS
install:: $(LIB)
$(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\bin\components
!else
install:: $(DLL)
$(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin\components
!endif

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +0,0 @@
EXPORTS
MAPILogon
MAPILogoff
MAPISendMail
MAPISendDocuments
MAPIFreeBuffer
MAPIFindNext
MAPIReadMail
MAPISaveMail
MAPIDeleteMail
MAPIAddress
MAPIDetails
MAPIResolveName
MAPIGetNetscapeVersion

View File

@@ -1,146 +0,0 @@
// Insert copyright and license here 1997
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
ID_DIALOG_MAPI DIALOGEX 0, 0, 186, 111
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW
CAPTION "Netscape MAPI Support"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",IDOK,41,95,50,14
PUSHBUTTON "Cancel",IDCANCEL,104,95,50,14
GROUPBOX "Diagnostic Information",IDC_STATIC,2,2,182,91
CTEXT "This window will contain MAPI relative\ninformation for Netscape Communicator",
IDC_STATIC,11,14,159,30
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
ID_DIALOG_MAPI, DIALOG
BEGIN
LEFTMARGIN, 2
RIGHTMARGIN, 184
TOPMARGIN, 2
BOTTOMMARGIN, 109
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 5,0,0,1
PRODUCTVERSION 5,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "Simple MAPI DLL\0"
VALUE "CompanyName", "Netscape Communications Corporation\0"
VALUE "FileDescription", "mapi32\0"
VALUE "FileVersion", "5, 0, 0, 1\0"
VALUE "InternalName", "mapi32\0"
VALUE "LegalCopyright", "Copyright © 1997\0"
VALUE "LegalTrademarks", "Netscape and Netscape Navigator are registered trademarks of Netscape Communications Corporation.\0"
VALUE "OriginalFilename", "mapi32.dll\0"
VALUE "ProductName", "Netscape Communications Simple MAPI\0"
VALUE "ProductVersion", "5, 0, 0, 1\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // !_MAC
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View File

@@ -1,249 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// MAPI IPC Routines
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
//
#include <windows.h>
#include <windowsx.h>
#include <nscpmapi.h> // Should live in Communicator
#include "resource.h"
#include "mapiipc.h"
#include "mapismem.h"
#include "trace.h"
#ifndef WIN32
#include <string.h>
#endif
//
// Necessary variables...
//
static LONG instanceCount = 0;
HWND hWndMAPI = NULL;
char szClassName[] = "NetscapeMAPIClient";
char szWindowName[] = "NetscapeMAPI";
//
// External declares...
//
extern HINSTANCE hInstance;
void
ProcessCommand(HWND hWnd, int id, HWND hCtl, UINT codeNotify)
{
switch (id)
{
case IDOK:
case IDCANCEL:
{
ShowWindow(hWnd, SW_HIDE);
}
default:
;
}
}
BOOL CALLBACK LOADDS
MyDlgProc(HWND hWndMain, UINT wMsg, WPARAM wParam, LPARAM lParam)
{
switch (wMsg)
{
case WM_INITDIALOG:
{
hWndMAPI = hWndMain;
}
break;
case WM_CLOSE:
// DestroyWindow(hWndMain);
break;
case WM_DESTROY:
hWndMain = NULL;
break;
case WM_COMMAND:
HANDLE_WM_COMMAND(hWndMAPI, wParam, lParam, ProcessCommand);
break;
default:
return FALSE;
}
return TRUE;
}
BOOL
InitInstance(HINSTANCE hInstance)
{
//
// Create a main window for this application instance.
//
/* RICHIE - TRY SOME CHANGES!!!
hWndMAPI = CreateDialog((HINSTANCE) hInstance,
MAKEINTRESOURCE(ID_DIALOG_QAHOOK),
(HWND) NULL, (DLGPROC) MyDlgProc);
******/
hWndMAPI = CreateWindow(
szClassName, // pointer to registered class name
szWindowName, // pointer to window name
WS_CHILD, // window style
-10, // horizontal position of window
-10, // vertical position of window
1, // window width
1, // window height
GetDesktopWindow(), // handle to parent or owner window
NULL, // handle to menu or child-window identifier
hInstance, // handle to application instance
NULL // pointer to window-creation data
);
if (!hWndMAPI)
return FALSE;
else
return TRUE;
}
BOOL
InitApp(void)
{
#ifdef WIN32
WNDCLASS wc;
wc.style = 0;
wc.lpfnWndProc = DefDlgProc;
wc.cbClsExtra = 0;
wc.cbWndExtra = DLGWINDOWEXTRA;
wc.hInstance = hInstance;
wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(ID_ICON_APP));
wc.hCursor = LoadCursor(0, IDC_ARROW);
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
wc.lpszMenuName = NULL;
wc.lpszClassName = szClassName;
if(!RegisterClass(&wc))
return FALSE;
#endif
return TRUE;
} // end InitApp
BOOL
InitDLL(void)
{
if (hWndMAPI != NULL)
return TRUE;
if (!InitApp())
{
return FALSE;
}
if (!InitInstance(hInstance))
{
return FALSE;
}
// ShowWindow(hWndMAPI, SW_SHOW); Just for jollies
return(TRUE);
}
//*************************************************************
//* Calls exposed for rest of DLL...
//*************************************************************
//
// Purpose: Open the API
// Return: 1 on success
// 0 on failure
//
DWORD nsMAPI_OpenAPI(void)
{
if (instanceCount > 0)
{
return(1);
}
++instanceCount;
return(1);
}
//
// Purpose: Close the API
//
void nsMAPI_CloseAPI(void)
{
--instanceCount;
if (instanceCount <= 0)
{
instanceCount = 0;
}
return;
}
//
// Send the actual request to Communicator
//
LRESULT
SendMAPIRequest(HWND hWnd,
DWORD mapiRequestID,
MAPIIPCType *ipcInfo)
{
LRESULT returnVal = 0;
COPYDATASTRUCT cds;
if (!InitDLL())
{
return 0;
}
cds.dwData = mapiRequestID;
cds.cbData = sizeof(MAPIIPCType);
cds.lpData = ipcInfo;
// Make the call into Communicator
returnVal = SendMessage(hWnd, WM_COPYDATA, (WPARAM) hWndMAPI, (LPARAM) &cds);
// Now kill the window...
DestroyWindow(hWndMAPI);
hWndMAPI = NULL;
UnregisterClass(szClassName, hInstance);
return returnVal;
}

View File

@@ -1,63 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __MAPIIPC_HPP__
#define __MAPIIPC_HPP__
#include "port.h"
#include <nscpmapi.h>
//********************************************************
// Open and close functions for API
//********************************************************
// Open the API
// Return: 1 on success, 0 on failure
//
DWORD nsMAPI_OpenAPI(void);
//
// Purpose: Close the API
//
void nsMAPI_CloseAPI(void);
//
// Send the actual request to Communicator
//
LRESULT SendMAPIRequest(HWND hWnd,
DWORD mapiRequestID,
MAPIIPCType *ipcInfo);
#endif // __MAPIIPC_HPP__

View File

@@ -1,363 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// mem.cpp
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
// This implements various memory management functions for use with
// MAPI features of Communicator
//
#include <windows.h>
#include <memory.h>
#include <malloc.h>
#include "mapimem.h"
#include <nscpmapi.h> // lives in communicator winfe
#include "nsstrseq.h"
#include "trace.h"
#include "mapiutl.h"
#include "xpapi.h"
LPSTR
CheckNullString(LPSTR inStr)
{
static UCHAR str[1];
str[0] = '\0';
if (inStr == NULL)
return((LPSTR)str);
else
return(inStr);
}
void
FreeMAPIFile(lpMapiFileDesc pv)
{
if (!pv)
return;
if (pv->lpszPathName != NULL)
free(pv->lpszPathName);
if (pv->lpszFileName != NULL)
free(pv->lpszFileName);
}
void
FreeMAPIMessage(lpMapiMessage pv)
{
ULONG i;
if (!pv)
return;
if (pv->lpszSubject != NULL)
free(pv->lpszSubject);
if (pv->lpszNoteText)
free(pv->lpszNoteText);
if (pv->lpszMessageType)
free(pv->lpszMessageType);
if (pv->lpszDateReceived)
free(pv->lpszDateReceived);
if (pv->lpszConversationID)
free(pv->lpszConversationID);
if (pv->lpOriginator)
FreeMAPIRecipient(pv->lpOriginator);
for (i=0; i<pv->nRecipCount; i++)
{
if (&(pv->lpRecips[i]) != NULL)
{
FreeMAPIRecipient(&(pv->lpRecips[i]));
}
}
if (pv->lpRecips != NULL)
{
free(pv->lpRecips);
}
for (i=0; i<pv->nFileCount; i++)
{
if (&(pv->lpFiles[i]) != NULL)
{
FreeMAPIFile(&(pv->lpFiles[i]));
}
}
if (pv->lpFiles != NULL)
{
free(pv->lpFiles);
}
free(pv);
pv = NULL;
}
void
FreeMAPIRecipient(lpMapiRecipDesc pv)
{
if (!pv)
return;
if (pv->lpszName != NULL)
free(pv->lpszName);
if (pv->lpszAddress != NULL)
free(pv->lpszAddress);
if (pv->lpEntryID != NULL)
free(pv->lpEntryID);
}
//
// This routine will take an lpMapiMessage structure and "flatten" it into
// one contiguous chunk of memory that can be easily passed around. After this
// is done, "extract" routines will be written to get complicated string routines
// out of the chunk of memory at the end.
//
LPVOID
FlattenMAPIMessageStructure(lpMapiMessage msg, DWORD *totalSize)
{
MAPISendMailType *mailPtr;
LPSTR *strArray;
DWORD strCount = 0;
DWORD currentString = 0;
DWORD arrayBufSize = 0;
DWORD i;
*totalSize = 0;
if (!msg)
return(NULL);
//
// Allocate the initial structure to hold all of the mail info.
//
*totalSize = sizeof(MAPISendMailType);
mailPtr = (MAPISendMailType *) malloc(sizeof(MAPISendMailType));
if (!mailPtr)
return(NULL);
memset(mailPtr, 0, sizeof(MAPISendMailType));
//
// First, assign all of the easy numeric values...
//
mailPtr->MSG_flFlags = msg->flFlags; // unread,return receipt
mailPtr->MSG_nRecipCount = msg->nRecipCount; // Number of recipients
mailPtr->MSG_nFileCount = msg->nFileCount; // # of file attachments
if (msg->lpOriginator != NULL)
{
mailPtr->MSG_ORIG_ulRecipClass = msg->lpOriginator->ulRecipClass; // Recipient class - MAPI_TO, MAPI_CC, MAPI_BCC, MAPI_ORIG
}
//
// Now, figure out how many string pointers we need...
//
strCount = 4; // These are the 4 KNOWN strings up front for a message
strCount += 2; // This is for the originator name and address
strCount += msg->nRecipCount * 3; // Name, address & class (cc, bcc) for each recipient
strCount += msg->nFileCount * 2; // filename and display name for each attachment
//
// Now allocate a new string sequence...add one entry for NULL at the end
//
arrayBufSize = sizeof(LPSTR) * (strCount + 1);
#ifdef WIN16 // Check for max mem allocation...
if ((sizeof(MAPISendMailType) + arrayBufSize) > 64000)
{
free(mailPtr);
return NULL;
}
#endif
//
// Allocate a buffer for the string pointers and if this fails,
// cleanup and return.
//
strArray = (LPSTR *)malloc( (size_t) arrayBufSize);
if (!strArray)
{
free(mailPtr);
return NULL;
}
memset(strArray, 0, (size_t) arrayBufSize); // Set the array to NULL
strArray[currentString++] = CheckNullString(msg->lpszSubject); // Message Subject
strArray[currentString++] = CheckNullString(msg->lpszNoteText); // Message Text
strArray[currentString++] = CheckNullString(msg->lpszDateReceived); // in YYYY/MM/DD HH:MM format
strArray[currentString++] = CheckNullString(msg->lpszConversationID); // conversation thread ID
if (msg->lpOriginator)
{
strArray[currentString++] = CheckNullString(msg->lpOriginator[0].lpszName);
strArray[currentString++] = CheckNullString(msg->lpOriginator[0].lpszAddress);
}
else
{
strArray[currentString++] = CheckNullString(NULL);
strArray[currentString++] = CheckNullString(NULL);
}
//
// Assign pointers for the Name and address of each recipient
//
LPSTR toString = "1";
LPSTR ccString = "2";
LPSTR bccString = "3";
for (i=0; i<msg->nRecipCount; i++)
{
// rhp - need message class
if (msg->lpRecips[i].ulRecipClass == MAPI_BCC)
strArray[currentString++] = CheckNullString(bccString);
else if (msg->lpRecips[i].ulRecipClass == MAPI_CC)
strArray[currentString++] = CheckNullString(ccString);
else
strArray[currentString++] = CheckNullString(toString);
strArray[currentString++] = CheckNullString(msg->lpRecips[i].lpszName);
strArray[currentString++] = CheckNullString(msg->lpRecips[i].lpszAddress);
}
BYTE szNewFileName[_MAX_PATH];
for (i=0; i<msg->nFileCount; i++)
{
char *namePtr;
// have to copy/create temp files here of office won't work...
if (
(msg->lpFiles[i].lpszFileName != NULL) &&
(*msg->lpFiles[i].lpszFileName != '\0')
)
{
namePtr = (char *)msg->lpFiles[i].lpszFileName;
}
else
{
namePtr = (char *)msg->lpFiles[i].lpszPathName;
}
if (GetTempMailNameWithExtension((char *)szNewFileName, namePtr) == 0)
{
free(strArray);
free(mailPtr);
return NULL;
}
if (!XP_CopyFile((char *)msg->lpFiles[i].lpszPathName, (char *)szNewFileName, TRUE))
{
free(strArray);
free(mailPtr);
return NULL;
}
strArray[currentString++] = CheckNullString((char *)szNewFileName);
strArray[currentString++] = CheckNullString(msg->lpFiles[i].lpszFileName);
AddTempFile((LPSTR) szNewFileName);
// strArray[currentString++] = CheckNullString(msg->lpFiles[i].lpszPathName);
// strArray[currentString++] = CheckNullString(msg->lpFiles[i].lpszFileName);
}
if (currentString != strCount)
{
TRACE("MAPI PROBLEM!!!!!! FlattenMAPIMessageStructure() currentString != strCount\n");
}
strArray[strCount] = NULL; // terminate at the end
NSstringSeq strSeq = NSStrSeqNew(strArray);
if (!strSeq)
{
free(strArray);
free(mailPtr);
return NULL;
}
//
// Now we need to copy the structure into a big, contiguous chunk of memory
//
LONG totalArraySize = NSStrSeqSize(strSeq);
LONG totalMemSize = sizeof(MAPISendMailType) + totalArraySize;
#ifdef WIN16
if (totalMemSize > 64000)
{
free(strArray);
NSStrSeqDelete(strSeq);
free(mailPtr);
return NULL;
}
#endif
MAPISendMailType *newMailPtr = (MAPISendMailType *)malloc((size_t)totalMemSize);
if (!newMailPtr)
{
free(strArray);
NSStrSeqDelete(strSeq);
free(mailPtr);
return NULL;
}
memset(newMailPtr, 0, (size_t) totalMemSize);
//
// Finally do the copy...
//
memcpy(newMailPtr, mailPtr, sizeof(MAPISendMailType));
memcpy(newMailPtr->dataBuf, strSeq, (size_t) totalArraySize);
*totalSize = totalMemSize;
//
// Cleanup and scram...
//
if (strArray)
free(strArray);
if (strSeq)
NSStrSeqDelete(strSeq);
if (mailPtr)
free(mailPtr);
return(newMailPtr);
}

View File

@@ -1,76 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __MY_MEM_HPP__
#define __MY_MEM_HPP__
#ifndef MAPI_OLE // Because MSFT doesn't do this for us :-(
#include <mapi.h>
#endif
//
// Needed for turning NULL's into ""'s for string sequence routines...
//
LPSTR CheckNullString(LPSTR inStr);
//
// Memory allocation functions...
//
//
// This will free an lpMapiMessage structure allocated by this DLL
//
void FreeMAPIMessage(lpMapiMessage pv);
//
// This will free an lpMapiRecipDesc structure allocated by this DLL
//
void FreeMAPIRecipient(lpMapiRecipDesc pv);
//
// Frees a mapi file object...
//
void FreeMAPIFile(lpMapiFileDesc pv);
//
// This routine will take an lpMapiMessage structure and "flatten" it into
// one contiguous chunk of memory that can be easily passed around.
//
LPVOID FlattenMAPIMessageStructure(lpMapiMessage msg, DWORD *totalSize);
#endif // __MY_MEM_HPP__

View File

@@ -1,899 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// Various utils needed for the MAPI functions
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
//
#include <windows.h>
#include <time.h>
#include <sys/stat.h>
#include <io.h>
#include "xpapi.h"
#include "trace.h"
#include "mapiipc.h"
#include "mapiutl.h"
//
// Global variables
//
BOOL gLoggingEnabled = FALSE;
void
SetLoggingEnabled(BOOL val)
{
gLoggingEnabled = val;
}
// Log File
void
LogString(LPCSTR pStr1)
{
// Off of the declaration line...
LPCSTR pStr2 = NULL;
BOOL useStr1 = TRUE;
if (gLoggingEnabled)
{
char tempPath[_MAX_PATH] = "";
if (getenv("TEMP"))
{
lstrcpy((LPSTR) tempPath, getenv("TEMP")); // environmental variable
}
int len = lstrlen(tempPath);
if ((len > 1) && tempPath[len - 1] != '\\')
{
lstrcat(tempPath, "\\");
}
lstrcat(tempPath, szMapiLog);
HFILE hFile = _lopen(tempPath, OF_WRITE);
if (hFile == HFILE_ERROR)
{
hFile = _lcreat(tempPath, 0);
}
if (hFile != HFILE_ERROR)
{
_llseek(hFile, 0, SEEK_END); // seek to the end of the file
LPCSTR pTemp = useStr1 ? pStr1 : pStr2;
_lwrite(hFile, pTemp, lstrlen(pTemp));
_lclose(hFile);
}
}
}
//
// Find Communicator and return an HWND, if not, start Communicator,
// then find an HWND
//
HWND
GetCommunicatorIPCWindow(void)
{
HWND hWnd = NULL;
DWORD timeCount = 0;
BOOL launchTry = FALSE;
//
// This will wait for 10 seconds before giving up and failing
//
while ((hWnd == NULL) && (timeCount < 20))
{
if ((hWnd = FindWindow("AfxFrameOrView", NULL)) && !FindWindow("aHiddenFrameClass", NULL))
return(hWnd);
else if ((hWnd = FindWindow("aHiddenFrameClass", NULL)))
return(hWnd);
if (!launchTry)
{
char szPath[_MAX_PATH] = "";
DWORD nMAPIERROR;
if ((nMAPIERROR = XP_GetInstallLocation(szPath, _MAX_PATH)) != SUCCESS_SUCCESS)
{
return(NULL);
}
WORD nReturn = XP_CallProcess(szPath, " -MAPICLIENT");
launchTry = TRUE;
}
//
// Pause for 1/2 a second and try to connect again...
//
#ifdef WIN32
Sleep(500);
#else
Yield();
#endif
timeCount++;
}
return(hWnd);
}
void
BuildMemName(LPSTR name, ULONG winSeed)
{
static DWORD id = 0;
if (id == 0)
{
// Seed the random-number generator with current time so that
// the numbers will be different every time we run.
srand( (unsigned)time( NULL ) );
id = rand();
}
wsprintf(name, "MAPI_IPC_SMEM-%d", (winSeed + id++));
TRACE("Shared Memory Name = [%s]\n", name);
}
DWORD
ValidateFile(LPCSTR szFile)
{
struct _stat buf;
int result;
result = _stat( szFile, &buf );
if (result != 0)
return(1);
if (!(buf.st_mode & S_IREAD))
return(2);
return(0);
}
//
// return of zero is ok
// 1 = MAPI_E_ATTACHMENT_NOT_FOUND
// 2 = MAPI_E_ATTACHMENT_OPEN_FAILURE
//
DWORD
SanityCheckAttachmentFiles(lpMapiMessage lpMessage)
{
ULONG i;
DWORD rc;
for (i=0; i<lpMessage->nFileCount; i++)
{
if ((rc = ValidateFile(lpMessage->lpFiles[i].lpszPathName)) != 0)
{
return(rc);
}
}
return(0);
}
DWORD
GetFileCount(LPSTR pFiles, LPSTR delimChar)
{
DWORD count = 1;
if ((!pFiles) || (!*pFiles))
return(0);
for (DWORD i=0; i<strlen(pFiles); i++)
{
if (pFiles[i] == delimChar[0])
{
++count;
}
}
return(count);
}
//
// Extract a filename from a string
// Return TRUE if file found, else FALSE
//
BOOL
ExtractFile(LPSTR pFiles, LPSTR delimChar, DWORD fIndex, LPSTR fName)
{
LPSTR ptr = pFiles;
DWORD loc;
DWORD count = 0;
if ((!pFiles) || (!*pFiles))
return(0);
// Get to the fIndex'th entry
for (loc=0; loc<strlen(pFiles); loc++)
{
if (count == fIndex)
break;
if (pFiles[loc] == delimChar[0])
count++;
}
if (loc >= strlen(pFiles)) // Got to the end of string!
return(FALSE);
lstrcpy(fName, (LPSTR)pFiles + loc);
//
// Truncate at 2nd delimiter
//
for (DWORD i=0; i<strlen(fName); i++)
{
if (fName[i] == delimChar[0])
{
fName[i] = '\0';
break;
}
}
return(TRUE);
}
ULONG
GetFileSize(LPSTR fName)
{
struct _stat buf;
int result;
result = _stat( fName, &buf );
if (result != 0)
return(0);
return(buf.st_size);
}
LPVOID
LoadBlobToMemory(LPSTR fName)
{
UCHAR *ptr = NULL;
ULONG bufSize = GetFileSize(fName);
if (bufSize == 0)
{
_unlink(fName);
return(NULL);
}
ptr = (UCHAR *)malloc( (size_t) bufSize);
if (!ptr)
{
_unlink(fName);
return(NULL);
}
HFILE hFile = _lopen(fName, OF_READ);
if (hFile == HFILE_ERROR)
{
_unlink(fName);
free(ptr);
return(NULL);
}
UINT numRead = _lread(hFile, ptr, (size_t) bufSize);
_lclose(hFile);
if (numRead != bufSize)
{
_unlink(fName);
free(ptr);
return(NULL);
}
_unlink(fName);
return(ptr);
}
LONG
WriteMemoryBufferToDisk(LPSTR fName, LONG bufSize, LPSTR buf)
{
if (!buf)
{
return(-1);
}
HFILE hFile = _lcreat(fName, 0);
if (hFile == HFILE_ERROR)
{
return(-1);
}
LONG writeCount = _lwrite(hFile, buf, (size_t) bufSize);
_lclose(hFile);
if (writeCount != bufSize)
{
_unlink(fName);
return(-1);
}
return(0);
}
LPSTR
GetTheTempDirectoryOnTheSystem(void)
{
static UCHAR retPath[_MAX_PATH];
if (getenv("TEMP"))
{
lstrcpy((LPSTR) retPath, getenv("TEMP")); // environmental variable
}
else if (getenv("TMP"))
{
lstrcpy((LPSTR) retPath, getenv("TMP")); // How about this environmental variable?
}
else
{
GetWindowsDirectory((LPSTR) retPath, sizeof(retPath));
}
return((LPSTR) &(retPath[0]));
}
#ifdef WIN16
int WINAPI EXPORT ISGetTempFileName(LPCSTR a_pDummyPath, LPCSTR a_pPrefix, UINT a_uUnique, LPSTR a_pResultName)
{
#ifdef GetTempFileName // we need the real thing comming up next...
#undef GetTempFileName
#endif
return GetTempFileName(0, a_pPrefix, a_uUnique, a_pResultName);
}
#endif
LONG
GetTempAttachmentName(LPSTR fName)
{
UINT res;
static UINT uUnique = 1;
if (!fName)
return(-1);
LPSTR szTempPath = GetTheTempDirectoryOnTheSystem();
TRYAGAIN:
#ifdef WIN32
res = GetTempFileName(szTempPath, "MAPI", uUnique++, fName);
#else
res = ISGetTempFileName(szTempPath, "MAPI", uUnique++, fName);
#endif
if (ValidateFile(fName) != 1)
{
if (uUnique < 32000)
{
goto TRYAGAIN;
}
else
{
return(-1);
}
}
return 0;
}
// RICHIE - strip all of the HTML stuff out of the message...
int
CheckForInlineHTML(char *noteBody, DWORD len, DWORD *curPos, char *newBody, DWORD *realLen)
{
LPSTR tags[] = {"&nbsp;", "&lt;", "&amp;", NULL};
UCHAR tagsSubst[] = {' ', '<', '&', NULL};
int x = 0;
while (tags[x])
{
// should we check for first tag
if ( (*curPos+strlen(tags[x])) < len)
{
if (strncmp(tags[x], noteBody, strlen(tags[x])) == 0)
{
*curPos += strlen(tags[x]) - 1;
newBody[*realLen] = tagsSubst[x];
*realLen += 1;
return(-1);
}
}
++x;
}
return(0);
}
//
// RICHIE - This is also temporary fix for now...
//
LPSTR
StripSignedMessage(LPSTR noteText, DWORD totalCR)
{
char *newBuf;
LPSTR startTag = "<HTML>";
LPSTR endTag = "/HTML>";
DWORD i;
DWORD realLen = 0;
DWORD startPos = 0;
DWORD len = strlen(noteText);;
// create a new buffer...
newBuf = (char *) malloc((size_t)(len + totalCR));
if (!newBuf)
return(noteText);
newBuf[0] = '\0';
// First, find the start of the HTML for the message...
for (i=0; i<len; i++)
{
// should we check for first tag
if ( (i+strlen(startTag)) < len)
{
if (strncmp(startTag, (noteText + i), strlen(startTag)) == 0)
{
startPos = i + strlen(startTag);
break;
}
}
}
// Didn't find any HTML start tag
if (i == len)
return(noteText);
BOOL inHTML = FALSE;
BOOL firstChar = FALSE;
for (i=startPos; i<len; i++)
{
char *ptr = (noteText + i);
if ( ((*ptr == 0x0D) || (*ptr == 0x20)) && (!firstChar) )
continue;
else
firstChar = TRUE;
// First, check for the end /HTML> tag
if ( (i+strlen(endTag)) < len)
{
if (strncmp(endTag, ptr, strlen(endTag)) == 0)
{
break;
}
}
// If we are in HTML, check for a ">"...
if (inHTML)
{
if (*ptr == '>')
{
inHTML = FALSE;
}
continue;
}
// Check for NEW HTML...
if (*ptr == '<')
{
inHTML = TRUE;
continue;
}
if (CheckForInlineHTML(ptr, len, &i, newBuf, &realLen))
continue;
newBuf[realLen++] = *ptr;
// Tack on a line feed if we hit a CR...
if ( *ptr == 0x0D )
{
newBuf[realLen++] = 0x0A;
}
}
// terminate the buffer - reallocate and move on...
newBuf[realLen++] = '\0';
newBuf = (LPSTR) realloc(newBuf, (size_t) realLen);
// check if the realloc worked and if so, free old memory and
// return...if not, just return the original buffer
if (!newBuf)
{
return(noteText);
}
else
{
free(noteText);
return(newBuf);
}
}
//
// RICHIE - this is a temporary fix for now to get rid of
// html stuff within the text of a message - if there was a
// valid noteText buffer coming into this call, we need to
// free it on the way out.
//
LPSTR
StripHTML(LPSTR noteText)
{
char *newBuf;
LPSTR signTag = "This is a cryptographically signed message in MIME format.";
LPSTR mimeTag = "This is a multi-part message in MIME format.";
DWORD i;
DWORD realLen = 0;
DWORD totalCR = 0;
// do sanity checking...
if ((!noteText) || (!(*noteText)))
return(noteText);
// more sanity checking...
DWORD len = strlen(noteText) + 1;
if (len <= 0)
return(noteText);
// Get the number of CR's in this message and add room for
// the LF's
for (i=0; i<len; i++)
{
if ( (*(noteText + i)) == 0x0D )
++totalCR;
}
// This is a check for a signed message in the start of a message
// check for sign line...
if ( strlen(signTag) < len)
{
if (
(strncmp(signTag, noteText, strlen(signTag)) == 0) ||
(strncmp(mimeTag, noteText, strlen(mimeTag)) == 0)
)
{
return( StripSignedMessage(noteText, totalCR) );
}
}
// create a new buffer...
newBuf = (char *) malloc((size_t)(len + totalCR));
if (!newBuf)
return(noteText);
newBuf[0] = '\0';
BOOL firstChar = FALSE;
// Now do the translation for the body of the note...
for (i=0; i<len; i++)
{
char *ptr = (noteText + i);
if ( ((*ptr == 0x0D) || (*ptr == 0x20)) && (!firstChar) )
continue;
else
firstChar = TRUE;
if (CheckForInlineHTML(ptr, len, &i, newBuf, &realLen))
continue;
newBuf[realLen++] = *ptr;
if ( *ptr == 0x0D )
{
newBuf[realLen++] = 0x0A;
}
}
// terminate the buffer - reallocate and move on...
newBuf[realLen++] = '\0';
newBuf = (LPSTR) realloc(newBuf, (size_t) realLen);
// check if the realloc worked and if so, free old memory and
// return...if not, just return the original buffer
if (!newBuf)
{
return(noteText);
}
else
{
free(noteText);
return(newBuf);
}
}
#ifdef WIN16
void
GetWin16TempName(LPSTR realFileName, LPSTR tempPath,
LPSTR szTempFileName, UINT uUnique)
{
char *dotPtr = strrchr(realFileName, '.');
if (dotPtr != NULL)
{
*dotPtr = '\0';
}
int nameLen = lstrlen(realFileName);
if (dotPtr != NULL)
{
*dotPtr = '.';
}
if (nameLen <= 7)
{
wsprintf(szTempFileName, "%s\\%d%s", tempPath, uUnique, realFileName);
}
else
{
wsprintf(szTempFileName, "%s\\%d%s", tempPath, uUnique, (realFileName + 1));
}
}
#endif
#define MAXTRY 9999 // How many times do we try..
UINT
GetTempMailNameWithExtension(LPSTR szTempFileName,
LPSTR origName)
{
UINT res = 1;
UINT uUnique = 0;
char *szTempPath = GetTheTempDirectoryOnTheSystem();
char *tmpPtr;
char *realFileName = NULL;
if ( (origName != NULL) && (*origName != '\0') )
{
tmpPtr = origName;
}
else
{
tmpPtr = szTempFileName;
}
realFileName = strrchr(tmpPtr, '\\');
if (!realFileName)
realFileName = tmpPtr;
else
realFileName++;
TRYAGAIN:
#ifdef WIN32
if (uUnique == 0)
{
wsprintf(szTempFileName, "%s\\%s", szTempPath, realFileName);
}
else
{
wsprintf(szTempFileName, "%s\\%d_%s",
szTempPath, uUnique, realFileName);
}
#else // WIN16
if ( (uUnique == 0) && (strlen(realFileName) <= 12) )
{
wsprintf(szTempFileName, "%s\\%s", szTempPath, realFileName);
}
else
{
if (uUnique < 10)
{
GetWin16TempName(realFileName, szTempPath, szTempFileName, uUnique);
}
else
{
res = ISGetTempFileName(szTempPath, "ns", uUnique++, szTempFileName);
}
// Now add the correct extension...
char *origExt = strrchr(realFileName, '.');
if (origExt != NULL)
{
char *tmpExt = strrchr(szTempFileName, '.');
if (tmpExt != NULL)
{
origExt++;
tmpExt++;
while ( ((tmpExt) && (origExt)) && (*origExt != '\0') )
{
*tmpExt = *origExt;
tmpExt++;
origExt++;
}
*tmpExt = '\0';
}
}
}
#endif
if ( (ValidateFile(szTempFileName) != 1) && (uUnique < MAXTRY) )
{
uUnique++;
if (uUnique >= MAXTRY)
return(1);
goto TRYAGAIN;
}
return res;
}
#define kMaxTempFiles 10
#define kMaxListLength (10 * _MAX_PATH)
void GetTempFiles(LPSTR pBuf, int lenBuf)
{
if (!GetConfigInfoStr(szMapiSection, szTempFiles, pBuf, lenBuf, HKEY_ROOT))
{
*pBuf = 0;
}
}
void WriteTempFiles(LPSTR pBuf)
{
SetConfigInfoStr(szMapiSection, szTempFiles, pBuf, HKEY_ROOT);
}
void AddTempFile(LPCSTR pFileName)
{
if ( (!pFileName) || (pFileName[0] == '\0') )
return;
char *files = (char *)malloc(kMaxListLength);
if (!files)
return;
GetTempFiles(files, kMaxListLength);
if ((lstrlen(files) + lstrlen(pFileName) + 2) >= kMaxListLength)
{
free(files);
return;
}
if (lstrlen(files) != 0)
{
lstrcat(files, ";");
}
lstrcat(files, pFileName);
WriteTempFiles(files);
free(files);
}
void DeleteFirstTempFile(LPSTR pFiles)
{
if (!*pFiles)
return;
LPSTR pTemp = strchr(pFiles, ';');
if (pTemp)
{
*pTemp = 0;
}
//#ifndef _DEBUG
_unlink(pFiles);
//#endif
if (pTemp)
{
memmove(pFiles, pTemp + 1, lstrlen(pTemp + 1) + 1);
}
else
{
*pFiles = 0;
}
}
void
RemoveAllTempFiles(void)
{
char *files = (char *)malloc(kMaxListLength);
if (!files)
return;
GetTempFiles(files, kMaxListLength);
while (*files)
{
DeleteFirstTempFile(files);
}
WriteTempFiles(files);
free(files);
}
void CheckAgeTempFiles(void)
{
char *files = (char *)malloc(kMaxListLength);
if (!files)
return;
GetTempFiles(files, kMaxListLength);
int i = 0;
LPSTR pTemp = files;
while (TRUE)
{
pTemp = strchr(pTemp, ';');
if (!pTemp)
break;
++pTemp;
++i;
}
if (i >= 10)
{
DeleteFirstTempFile(files);
WriteTempFiles(files);
}
free(files);
}
void
CleanupMAPITempFiles(void)
{
if (Is_16_OR_32_BIT_CommunitorRunning() == 0)
{
RemoveAllTempFiles(); // if Communicator not running, clean up all the temp files
}
else
{
CheckAgeTempFiles();
}
}
void *
CleanMalloc(size_t mallocSize)
{
void *ptr = malloc(mallocSize);
if (!ptr)
return(NULL);
memset(ptr, 0, mallocSize);
return(ptr);
}
void
SafeFree(void *ptr)
{
if (!ptr)
return;
free(ptr);
ptr = NULL;
}

View File

@@ -1,89 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#ifndef __UTILS_
#define __UTILS_
#ifdef __cplusplus
extern "C"
{
#endif
#ifndef MAPI_OLE // Because MSFT doesn't do this for us :-(
#include <mapi.h>
#endif
//
// Utility functions...
//
void SetLoggingEnabled(BOOL val); // Set a logging enabled flag
void LogString(LPCSTR pStr1); // Log a string to a file...
void BuildMemName(LPSTR name, ULONG winSeed); // Shared memory name
HWND GetCommunicatorIPCWindow(void); // Get the IPC window we will use...
DWORD SanityCheckAttachmentFiles(lpMapiMessage lpMessage); // Check attachments
DWORD ValidateFile(LPCSTR szFile); // Is this a valid file - 0=Yes 1 = NOT_FOUND 2 = OPEN_FAILURE
DWORD GetFileCount(LPSTR pFiles, LPSTR delimChar); // Get File count from string of file1;file2, etc..
BOOL ExtractFile(LPSTR pFiles, LPSTR delimChar, DWORD fIndex, LPSTR fName); // Extract a filename from a string
LPVOID LoadBlobToMemory(LPSTR fName); // Load the blob into memory!
LONG GetTempAttachmentName(LPSTR fName); // Get a temp file name and put it in fName
UINT GetTempMailNameWithExtension(LPSTR szTempFileName, LPSTR origName);
void CleanupMAPITempFiles(void);
void AddTempFile(LPCSTR pFileName);
void *CleanMalloc(size_t mallocSize);
void SafeFree(void *ptr);
//
// RICHIE - this is a temporary fix for now to get rid of
// html stuff within the text of a message - if there was a
// valid noteText buffer coming into this call, we need to
// free it on the way out.
//
LPSTR StripHTML(LPSTR noteText);
//
// Write a buffer to disk
// Return 0 on success -1 on failure
//
LONG WriteMemoryBufferToDisk(LPSTR fName, LONG bufSize, LPSTR buf);
#ifdef __cplusplus
}
#endif
#endif // __UTILS_

View File

@@ -1,303 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
#ifndef PORT_H
#define PORT_H
#ifdef __cplusplus
extern "C" {
#endif
/*****************************************************************\
* *
* PORT.H *
* *
* Win16/Win32 portability stuff *
* *
* A.Sokolsky *
* 3.10.94 distilled into this header *
* *
\*****************************************************************/
/*
* calling conventions
*/
#include <assert.h>
#ifndef CDECL
#define CDECL __cdecl
#endif // CDECL
#ifndef PASCAL
#define PASCAL __pascal
#endif // PASCAL
#ifdef FASTCALL
#error FASTCALL defined
#endif // FASTCALL
#ifdef NDEBUG
#define FASTCALL __fastcall
#else
#define FASTCALL PASCAL
#endif // NDEBUG
#ifndef HWND2DWORD
# ifdef WIN32
# define HWND2DWORD(X_hWnd) ( (DWORD)(X_hWnd) )
# else // WIN16
# define HWND2DWORD(X_hWnd) ( (DWORD)MAKELONG(((WORD)(X_hWnd)), 0) )
# endif
#endif // HWND2DWORD
/*
* WIN16 - WIN32 compatibility stuff
*/
#ifdef WIN32
# define DLLEXPORT __declspec( dllexport )
# define EXPORT
# define LOADDS
# define HUGE
# ifndef FAR
# define FAR
# endif // FAR
# ifndef NEAR
# define NEAR
# endif // NEAR
# ifdef UNICODE
# define SIZEOF(x) (sizeof(x)/sizeof(WCHAR))
# else
# define SIZEOF(x) sizeof(x)
# endif
#else // !WIN32 == WIN16
# define DLLEXPORT
# define EXPORT __export
# define LOADDS __loadds
# define HUGE __huge
# ifndef FAR
# define FAR __far
# define NEAR __near
# endif // FAR
# define CONST const
# define SIZEOF(x) sizeof(x)
# define CHAR char
# define TCHAR char
# define WCHAR char
# ifndef LPTSTR
# define LPTSTR LPSTR
# endif
# ifndef LPCTSTR
# define LPCTSTR LPCSTR
# endif
# define UNREFERENCED_PARAMETER(x) x;
# ifndef TEXT
# define TEXT(x) x
# endif
# define GetWindowTextW GetWindowText
# define lstrcpyW lstrcpy
# define BN_DBLCLK BN_DOUBLECLICKED // ~~MRJ needed for custom control.
// ~~MRJ begin Win95 backward compat section
# define LPWSTR LPSTR
# define LPCWSTR LPCSTR
// button check state for WIN16
#ifndef BST_UNCHECKED
#define BST_UNCHECKED 0x0000
#endif
#ifndef BST_CHECKED
#define BST_CHECKED 0x0001
#endif
#ifndef WIN95_COMPAT
# define WIN95_COMPAT
#endif
// ~~MRJ end Win95 compat section.
// critical section API stubs
typedef DWORD CRITICAL_SECTION;
typedef CRITICAL_SECTION FAR * LPCRITICAL_SECTION;
#ifdef __cplusplus
inline void InitializeCriticalSection(LPCRITICAL_SECTION lpSection) {}
inline void DeleteCriticalSection(LPCRITICAL_SECTION lpSection) {}
inline void EnterCriticalSection(LPCRITICAL_SECTION lpSection) {}
inline void LeaveCriticalSection(LPCRITICAL_SECTION lpSection) {}
#endif // __cplusplus
// Added for nssock16 ---Neeti
#ifndef ZeroMemory
#include <memory.h>
#define ZeroMemory(PTR, SIZE) memset(PTR, 0, SIZE)
#endif // ZeroMemory
#endif // WIN16
/*
* unix - windows compatibility stuff
*/
typedef DWORD u_int32;
typedef WORD u_int16;
typedef BYTE u_int8;
#ifdef WIN32
typedef short int Bool16;
#else // WIN16
typedef BOOL Bool16;
#endif // WIN16
/*
* Cross Platform Compatibility
*/
#ifndef UNALIGNED
# ifdef _M_ALPHA
# define UNALIGNED __unaligned
# else // !_M_ALPHA
# define UNALIGNED
# endif // !_M_ALPHA
#endif // UNALIGNED
//
// RICHIE - for the Alpha port
//
#ifdef _M_ALPHA
# undef pascal
# undef PASCAL
# if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
# define pascal __stdcall
# define PASCAL __stdcall
# else
# define PASCAL
# endif
#endif
/*
* Useful Types
*/
typedef char HUGE *HPSTR;
typedef const char HUGE *HPCSTR;
typedef unsigned char HUGE *HPBYTE;
typedef WORD HUGE *HPWORD;
typedef UINT FAR *LPUINT;
typedef BOOL (CALLBACK *USERABORTPROC)();
typedef BOOL (CALLBACK *PROGRESSPROC)(UINT uPos, UINT uRange);
typedef int INT; // ~~MRJ a function needed this defined.
typedef MINMAXINFO FAR *LPMINMAXINFO; // ~~MRJ
//
// stuff missing from windows.h
//
#ifndef MAKEWORD
#define MAKEWORD(low, high) ((WORD)(((BYTE)(low)) | (((WORD)((BYTE)(high))) << 8)))
#endif // MAKEWORD
#ifdef WIN32
# ifndef hmemcpy
# define hmemcpy memcpy
# endif // !defined(hmemcpy)
# define _fmemset memset
# include <malloc.h>
#ifdef __cplusplus
inline BOOL IsGDIObject(HGDIOBJ hObj) { return (hObj != 0); }
inline void *_halloc(long num, unsigned int size) { return malloc(num * size); }
inline void _hfree( void *memblock ) { free(memblock); }
/*
inline BOOL IsInstance(HINSTANCE hInst) {
# ifdef WIN32
return (hInst != 0);
# else // WIN16
return (hInst > HINSTANCE_ERROR);
# endif
}
*/
#endif // __cplusplus
WINUSERAPI HANDLE WINAPI LoadImageA(HINSTANCE, LPCSTR, UINT, int, int, UINT);
#endif // WIN32
#ifdef __cplusplus
inline BOOL IsInstance(HINSTANCE hInst) {
# ifdef WIN32
return (hInst != 0);
# else // WIN16
return (hInst > HINSTANCE_ERROR);
# endif
}
inline void SetWindowSmallIcon(HINSTANCE hInst, HWND hWnd, UINT uIconResourceId) {
#ifdef WIN32
# ifndef WM_SETICON
# define WM_SETICON 0x0080
# endif // WM_SETICON
# ifndef IMAGE_ICON
# define IMAGE_ICON 1
# endif
assert(IsWindow(hWnd));
HICON hIcon = (HICON)LoadImageA(hInst, MAKEINTRESOURCE(uIconResourceId), IMAGE_ICON,
16, 16, 0);
if(NULL != hIcon) {
SendMessage(hWnd, WM_SETICON, FALSE, (LPARAM)hIcon);
} else {
HICON hIcon = LoadIcon(hInst, MAKEINTRESOURCE(uIconResourceId));
assert(hIcon != 0);
SendMessage(hWnd, WM_SETICON, FALSE, (LPARAM)hIcon);
}
#endif // WIN32
}
#endif // __cplusplus
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* PORT_H */

View File

@@ -1,54 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by mapi32.rc
//
#define ID_DIALOG_QAHOOK 101
#define ID_DIALOG_MAPI 101
#define ID_ICON_APP 102
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 103
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View File

@@ -1,172 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// smem.cpp - This deals with all shared memory functions needed for
// the MAPI component of Communicator
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
//
#include <windows.h>
#include <windowsx.h>
#include "mapismem.h"
#ifndef ZeroMemory
#include <memory.h>
#define ZeroMemory(PTR, SIZE) memset(PTR, 0, SIZE)
#endif // ZeroMemory
//
// *create new* shared memory chunk
// once this is created, use the pointer
// to the segment to to store data
// e.g.:
// lpString = "string for communicator";
// lstrcpy((LPSTR)pData->m_buf[0], lpString);
//
CSharedMem *
NSCreateSharedMemory(DWORD memSize, LPCTSTR memName, HANDLE *hSharedMemory)
{
#ifdef WIN32
BOOL bExistedBefore;
CSharedMem *pData;
LPCTSTR szObjectName = memName;
DWORD dwSize = sizeof(CSharedMem) + memSize;
*hSharedMemory = CreateFileMapping(
(HANDLE)0xFFFFFFFF,0,PAGE_READWRITE,0,dwSize,szObjectName);
if(*hSharedMemory == 0)
{
return NULL;
}
bExistedBefore = (GetLastError() == ERROR_ALREADY_EXISTS);
if(bExistedBefore)
{
return NULL;
}
pData = (CSharedMem *)MapViewOfFile(
*hSharedMemory, FILE_MAP_ALL_ACCESS, 0, 0, 0);
if(pData == NULL)
{
return NULL;
}
ZeroMemory(pData, dwSize);
pData->m_dwSize = memSize;
return pData;
#else
CSharedMem *sMemChunk = NULL;
DWORD dwSize = memSize = (sizeof(CSharedMem) + memSize);
if (sMemChunk != NULL)
return(sMemChunk);
sMemChunk = (CSharedMem *) GlobalAllocPtr(GMEM_MOVEABLE, dwSize);
ZeroMemory(sMemChunk, (size_t) dwSize);
sMemChunk->m_dwSize = dwSize; // Missing in Communicator code!
return(sMemChunk);
#endif // WIN32
}
//
// *open existing* shared memory chunk
// once you have the pointer to the new segment
// use this pointer to access data, e.g.:
//
CSharedMem *
NSOpenExistingSharedMemory(LPCTSTR memName, HANDLE *hSharedMemory)
{
#ifdef WIN32
CSharedMem *pData;
DWORD dwSize;
LPCTSTR szObjectName = memName;
*hSharedMemory = OpenFileMapping(
PAGE_READWRITE,FALSE,szObjectName);
if(*hSharedMemory == 0)
{
return NULL;
}
pData = (CSharedMem *)MapViewOfFile(
*hSharedMemory,FILE_MAP_ALL_ACCESS,0,0,0);
if(pData == NULL)
{
return NULL;
}
dwSize = pData->m_dwSize;
return pData;
#else
return(NULL); // In Win16, this is really meaningless...
#endif
}
//
// to close shared memory segment
//
void
NSCloseSharedMemory(CSharedMem *pData, HANDLE hSharedMemory)
{
#ifdef WIN32
if(pData != 0)
{
UnmapViewOfFile(pData);
pData = 0;
}
if(hSharedMemory != 0)
{
CloseHandle(hSharedMemory);
hSharedMemory = 0;
}
#else
if (pData != NULL)
{
GlobalFreePtr(pData);
pData = NULL;
}
#endif // WIN32
}

View File

@@ -1,68 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <windows.h>
#include <stdio.h>
#include <stdarg.h>
#include <tchar.h>
#include "trace.h"
#ifdef _DEBUG
#ifndef WIN16
void CDECL AfxTrace(LPCTSTR lpszFormat, ...)
#else
void CDECL AfxTrace(LPCSTR lpszFormat, ...)
#endif
{
va_list args;
va_start(args, lpszFormat);
int nBuf;
TCHAR szBuffer[512];
nBuf = _vstprintf(szBuffer, lpszFormat, args);
va_end(args);
OutputDebugString(szBuffer);
return;
}
BOOL AfxAssertFailedLine(LPCSTR lpszFileName, int nLine)
{
return TRUE;
}
#endif

View File

@@ -1,81 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include <windows.h>
#ifdef _DEBUG
BOOL AfxAssertFailedLine(LPCSTR lpszFileName, int nLine);
#ifndef WIN16
void CDECL AfxTrace(LPCTSTR lpszFormat, ...);
#else
void CDECL AfxTrace(LPCSTR lpszFormat, ...);
#endif
#define TRACE ::AfxTrace
#define THIS_FILE __FILE__
#define ASSERT(f) \
do \
{ \
if (!(f) && AfxAssertFailedLine(THIS_FILE, __LINE__)) \
AfxDebugBreak(); \
} while (0) \
#define VERIFY(f) ASSERT(f)
#define TRACE_FN(name) LogFn __logFn(name)
class LogFn
{
public:
LogFn(LPCSTR pFnName) {m_pFnName = pFnName; TRACE("--%s: In--\n", pFnName);}
~LogFn() {TRACE("--%s: Out--\n", m_pFnName);}
private:
LPCSTR m_pFnName;
};
#else
// NDEBUG
#define ASSERT(f) ((void)0)
#define VERIFY(f) ((void)(f))
#define ASSERT_VALID(pOb) ((void)0)
#define DEBUG_ONLY(f) ((void)0)
#ifdef WIN32
inline void CDECL AfxTrace(LPCTSTR, ...) { }
#else
inline void CDECL AfxTrace(LPCSTR, ...) { }
#endif
#define TRACE 1 ? (void)0 : ::AfxTrace
#define TRACE_FN(name)
#endif // _DEBUG

View File

@@ -1,347 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// XPAPI.CPP
// API implementation file for mapi16.dll and mapi32.dll
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
//
#include <windows.h>
#include <stdio.h>
#include <stdarg.h>
#include "xpapi.h"
#include "mapiutl.h"
WORD LOAD_DS XP_CallProcess(LPCSTR pPath, LPCSTR pCmdLine)
{
WORD wReturn = 0;
#ifndef WIN16
STARTUPINFO startupInfo;
PROCESS_INFORMATION processInfo;
memset(&startupInfo, 0, sizeof(startupInfo));
startupInfo.cb = sizeof(startupInfo);
if (wReturn = CreateProcess(pPath, (LPTSTR)pCmdLine, NULL, NULL, FALSE, CREATE_DEFAULT_ERROR_MODE | CREATE_NEW_PROCESS_GROUP, NULL, NULL, &startupInfo, &processInfo))
{
WaitForInputIdle(processInfo.hProcess, 120000);
}
#else
// char szMsg[80];
char szExecute[512];
lstrcpy(szExecute, pPath);
lstrcat(szExecute, " ");
lstrcat(szExecute, pCmdLine);
wReturn = WinExec(szExecute,SW_SHOW);
if (wReturn < 32)
{
wReturn = 0;
}
#endif
return wReturn;
}
HKEY LOAD_DS RegOpenParent(LPCSTR pSection, HKEY hRootKey, REGSAM access)
{
HKEY hKey;
#ifndef WIN16
if (RegOpenKeyEx(hRootKey, pSection, 0, access, &hKey) != ERROR_SUCCESS)
{
return(NULL);
}
#else
if (RegOpenKey(hRootKey, pSection, &hKey) != ERROR_SUCCESS)
{
return(NULL);
}
#endif
return(hKey);
}
HKEY LOAD_DS RegCreateParent(LPCSTR pSection, HKEY hMasterKey)
{
HKEY hKey;
if (RegCreateKey(hMasterKey, pSection, &hKey) != ERROR_SUCCESS)
{
return(NULL);
}
return(hKey);
}
BOOL LOAD_DS GetConfigInfoStr(LPCSTR pSection, LPCSTR pKey, LPSTR pBuf, int lenBuf, HKEY hMasterKey)
{
HKEY hKey;
hKey = RegOpenParent(pSection, hMasterKey, KEY_QUERY_VALUE);
if (!hKey)
{
return(FALSE);
}
DWORD len = (DWORD)lenBuf;
#ifndef WIN16
BOOL retVal = (RegQueryValueEx(hKey, pKey, NULL, NULL, (LPBYTE)pBuf, &len) == ERROR_SUCCESS);
#else
BOOL retVal = (RegQueryValue(hKey, pKey, pBuf, (long far*)&len) == ERROR_SUCCESS);
#endif
RegCloseKey(hKey);
return(retVal);
}
BOOL LOAD_DS GetConfigInfoNum(LPCSTR pSection, LPCSTR pKey, DWORD* pVal, HKEY hMasterKey)
{
HKEY hKey;
hKey = RegOpenParent(pSection, hMasterKey, KEY_QUERY_VALUE);
if (!hKey)
{
return(FALSE);
}
DWORD len = sizeof(DWORD);
#ifndef WIN16
BOOL retVal = (RegQueryValueEx(hKey, pKey, NULL, NULL, (LPBYTE)pVal, &len) == ERROR_SUCCESS);
#else
BOOL retVal = (RegQueryValue(hKey, pKey, (char far*)pVal, (long far*)&len) == ERROR_SUCCESS);
#endif
RegCloseKey(hKey);
return(retVal);
}
BOOL LOAD_DS SetConfigInfoStr(LPCSTR pSection, LPCSTR pKey, LPSTR pStr, HKEY hMasterKey)
{
HKEY hKey;
hKey = RegCreateParent(pSection, hMasterKey);
if (!hKey)
{
return(FALSE);
}
#ifndef WIN16
BOOL retVal = (RegSetValueEx(hKey, pKey, 0, REG_SZ, (LPBYTE)pStr, lstrlen(pStr) + 1) == ERROR_SUCCESS);
#else
BOOL retVal = (RegSetValue(hKey, pKey, REG_SZ, pStr, lstrlen(pStr) + 1) == ERROR_SUCCESS);
#endif
RegCloseKey(hKey);
return(retVal);
}
BOOL LOAD_DS XP_GetInstallDirectory(LPCSTR pcurVersionSection, LPCSTR pInstallDirKey, LPSTR path, UINT nSize, HKEY hKey)
{
#ifdef WIN32
if (!GetConfigInfoStr(pcurVersionSection, pInstallDirKey, path, nSize, hKey))
{
return FALSE;
}
else
{
return TRUE;
}
#else
if ( 0 < GetPrivateProfileString(pcurVersionSection, pInstallDirKey,"ERROR", path, nSize, szNetscapeINI))
{
return TRUE;
}
else
{
return FALSE;
}
#endif
}
BOOL LOAD_DS XP_GetVersionInfoString(LPCSTR pNavigatorSection, LPCSTR pCurrentVersionKey, LPSTR pcurVersionStr, UINT nSize, HKEY hKey)
{
#ifdef WIN32
if (!GetConfigInfoStr(pNavigatorSection, pCurrentVersionKey, pcurVersionStr, nSize, HKEY_LOCAL_MACHINE))
{
return FALSE;
}
else
{
return TRUE;
}
#else
if ( 0 < GetPrivateProfileString(pNavigatorSection, pCurrentVersionKey,"ERROR", pcurVersionStr, nSize, szNetscapeINI))
{
return TRUE;
}
else
{
return FALSE;
}
#endif
}
DWORD LOAD_DS XP_GetInstallLocation(LPSTR pPath, UINT nSize)
{
char curVersionStr[256];
char curVersionSection[256];
if (!pPath)
return MAPI_E_LOGON_FAILURE;
#ifdef WIN32
if (!XP_GetVersionInfoString(szNavigatorSection, szCurrentVersionKey, curVersionStr,
sizeof(curVersionStr), HKEY_LOCAL_MACHINE))
{
return (MAPI_E_LOGON_FAILURE);
}
wsprintf(curVersionSection, szNavigatorCurVersionSection, curVersionStr);
if (!XP_GetInstallDirectory(curVersionSection, szInstallDirKey, pPath,
nSize, HKEY_LOCAL_MACHINE))
{
return (MAPI_E_ACCESS_DENIED);
}
lstrcat(pPath, "\\");
lstrcat(pPath, "Program\\netscape.exe");
return SUCCESS_SUCCESS;
#else
if (32 == Is_16_OR_32_BIT_CommunitorRunning())
{
if (!GetConfigInfoStr("snews\\shell\\open", "command", curVersionStr, sizeof(curVersionStr), HKEY_CLASSES_ROOT))
{
return (MAPI_E_ACCESS_DENIED);
}
else
{
char *pFind = strstr(curVersionStr,"-h");
if (pFind)
{
*pFind=0;
lstrcpy(pPath,curVersionStr);
}
else
{
return (MAPI_E_ACCESS_DENIED);
}
}
return SUCCESS_SUCCESS;
}
else //setup up to start navstart since we are a sixteen bit DLL.
{
if (!XP_GetVersionInfoString(szNavigatorSection, szCurrentVersionKey, curVersionStr, sizeof(curVersionStr), HKEY_LOCAL_MACHINE))
{
return (MAPI_E_LOGON_FAILURE);
}
wsprintf(curVersionSection, szNavigatorCurVersionSection, curVersionStr);
if (!XP_GetInstallDirectory(curVersionSection, szInstallDirKey, pPath,nSize, HKEY_LOCAL_MACHINE))
{
return (MAPI_E_ACCESS_DENIED);
}
lstrcat(pPath, "\\");
lstrcat(pPath, "NAVSTART.EXE");
return SUCCESS_SUCCESS;
}
#endif
}
int LOAD_DS Is_16_OR_32_BIT_CommunitorRunning()
{
if (FindWindow("AfxFrameOrView", NULL) && !FindWindow("aHiddenFrameClass", NULL))
return(16);
else if (FindWindow("aHiddenFrameClass", NULL))
return(32);
else
return 0;
}
// size of buffer to use for copying files.
#define COPYBUFSIZE 1024
#ifdef WIN16
BOOL Win16CopyFile(LPCSTR a_Src, LPCSTR a_Dest, BOOL a_bOverwrite)
{
OFSTRUCT ofSrc, ofDest;
HFILE hSrc, hDest;
BOOL bResult;
ofDest.cBytes = ofSrc.cBytes = sizeof(OFSTRUCT);
hDest = OpenFile(a_Dest, &ofDest, OF_EXIST);
if (hDest != HFILE_ERROR && !a_bOverwrite)
bResult = FALSE; // file exists but caller doesn't want file overwritten
else { // file either doesn't exist, or caller wants it overwritten.
hSrc = OpenFile(a_Src, &ofSrc, OF_READ);
hDest = OpenFile(a_Dest, &ofDest, OF_WRITE | OF_CREATE);
if (hSrc != HFILE_ERROR && hDest != HFILE_ERROR) {
unsigned char buf[COPYBUFSIZE];
UINT bufsize = COPYBUFSIZE;
UINT bytesread;
bResult = TRUE;
while (0 != (bytesread = _lread(hSrc, (LPVOID)buf, bufsize))) {
if ((bytesread == HFILE_ERROR) || // check for read error...
// and write error
(bytesread != _lwrite(hDest, (LPVOID)buf, bytesread))) {
bResult = FALSE; // could be out of diskspace
break;
}
}
}
else
bResult = FALSE;
if (hSrc != HFILE_ERROR)
_lclose(hSrc);
if (hDest != HFILE_ERROR)
_lclose(hDest);
}
return bResult;
}
#endif // WIN16
BOOL LOAD_DS
XP_CopyFile(LPCSTR lpExistingFile, LPCSTR lpNewFile, BOOL bFailifExist)
{
#ifdef WIN32
return CopyFile(lpExistingFile, lpNewFile, bFailifExist);
#else
return Win16CopyFile(lpExistingFile, lpNewFile, TRUE);
#endif
}

View File

@@ -1,138 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// Various routines for MAPI functions.
// Written by: Rich Pizzarro (rhp@netscape.com)
// November 1997
//
#ifndef __XPAPI_H
#define __XPAPI_H
#ifdef WIN16
#include <string.h>
#include <direct.h>
#include <shellapi.h>
#include <stdlib.h>
#else
#include <winreg.h>
#endif
#ifdef WIN16
extern "C" {
#ifndef MAPI_OLE // Because MSFT doesn't do this for us :-(
#include <mapi.h>
#endif
}
#else
//#include <mapi.h>
#endif
#ifdef WIN32
#define MAPI_IMPLEMENT(param) param PASCAL
#define LOAD_DS
#else
#define LOAD_DS __loadds
#define MAPI_IMPLEMENT(param) extern "C" param FAR PASCAL
#endif
#ifdef WIN16
#define _MAX_PATH 260 /* max. length of full pathname*/
#define MAPI_E_LOGON_FAILURE 3
#define MAPI_E_ACCESS_DENIED 6
#define INVALID_HANDLE_VALUE (HANDLE)-1
#define KEY_QUERY_VALUE 0x0001
#define HKEY_LOCAL_MACHINE ((HKEY)0x80000002)
#define HKEY_ROOT HKEY_CLASSES_ROOT
#else
#define HKEY_ROOT ((HKEY)0x80000002)
#endif
//
// registry keys
//
#ifdef WIN32
static char szNavigatorSection[] = "Software\\Netscape\\Netscape Navigator";
static char szNavigatorCurVersionSection[] = "Software\\Netscape\\Netscape Navigator\\%s\\Main";
static char szCurrentVersionKey[] = "CurrentVersion";
static char szInstallDirKey[] = "Install Directory";
static char szMapiSection[] = "Software\\Netscape\\Netscape Navigator\\MAPI";
static char szTempFiles[] = "TempFiles";
static char szMapiLog[] = "NSMAPI32.LOG";
#else
//32 bit key strings for trying to read the 32bit registry
static char szNavigatorSection32[] = "Software\\Netscape\\Netscape Navigator";
static char szNavigatorCurVersionSection32[] = "Software\\Netscape\\Netscape Navigator\\%s\\Main";
static char szMapiSection32[] = "Software\\Netscape\\Netscape Navigator\\MAPI";
// ini section and key strings
static char szNetscapeINI[] = "nscp.ini";
static char szNavigatorSection[] = "Netscape Navigator";
static char szNavigatorCurVersionSection[] = "Netscape Navigator-%s";
static char szCurrentVersionKey[] = "CurrentVersion";
static char szInstallDirKey[] = "Install Directory";
static char szMapiSection[] = "MAPI";
static char szTempFiles[] = "TempFiles";
static char szExeName[] = "NAVSTART.EXE";
static char szMapiLog[] = "NSMAPI16.LOG";
#endif
//Since REGSAM is just an ACCESS_MASK which is just a DWORD and it's not
//declared in win16 we'll make one hear for the purpose of keeping parameters
//the same even though the access rights don't get used for win16.
typedef DWORD REGSAM;
// XP declarations
int LOAD_DS Is_16_OR_32_BIT_CommunitorRunning();
WORD LOAD_DS XP_CallProcess(LPCSTR pPath, LPCSTR pCmdLine);
HKEY LOAD_DS RegOpenParent(LPCSTR pSection, HKEY hRootKey, REGSAM access);
HKEY LOAD_DS RegCreateParent(LPCSTR pSection, HKEY hMasterKey);
BOOL LOAD_DS GetConfigInfoStr(LPCSTR pSection, LPCSTR pKey, LPSTR pBuf, int lenBuf, HKEY hMasterKey);
BOOL LOAD_DS GetConfigInfoNum(LPCSTR pSection, LPCSTR pKey, DWORD* pVal, HKEY hMasterKey);
BOOL LOAD_DS SetConfigInfoStr(LPCSTR pSection, LPCSTR pKey, LPSTR pStr, HKEY hMasterKey);
BOOL LOAD_DS XP_GetInstallDirectory(LPCSTR pcurVersionSection, LPCSTR pInstallDirKey, LPSTR path, UINT nSize, HKEY hKey);
BOOL LOAD_DS XP_GetVersionInfoString(LPCSTR pNavigatorSection, LPCSTR pCurrentVersionKey, LPSTR pcurVersionStr, UINT nSize, HKEY hKey);
DWORD LOAD_DS XP_GetInstallLocation(LPSTR pPath, UINT nSize);
BOOL LOAD_DS XP_CopyFile(LPCSTR lpExistingFile, LPCSTR lpNewFile, BOOL bFailifExist);
#endif // __XPAPI_H

View File

@@ -1,31 +0,0 @@
#!nmake
#
# 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=mime
EXPORTS = \
nscpmapi.h \
$(NULL)
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,351 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
// This is a header file for the MAPI support within
// Communicator.
//
// Written by: Rich Pizzarro (rhp@netscape.com)
//
#ifndef _NSCPMAPI
#define _NSCPMAPI
#ifndef MAPI_OLE // Because MSFT doesn't do this for us :-(
#include <mapi.h> // for MAPI specific types...
#endif
#ifdef WIN16
typedef unsigned char UCHAR;
#endif
#define MAX_NAME_LEN 256
#define MAX_PW_LEN 256
#define MAX_MSGINFO_LEN 512
#define MAX_CON 4 // Maximum MAPI session supported
#define MAX_POINTERS 32
//
// The MAPI class that will act as the internal mechanism for
// Communicator to control multiple MAPI sessions.
//
class CMAPIConnection
{
protected:
LONG m_ID;
BOOL m_defaultConnection;
LONG m_sessionCount;
LONG m_messageIndex;
LPVOID m_cookie;
UCHAR m_messageFindInfo[MAX_MSGINFO_LEN];
UCHAR m_profileName[MAX_NAME_LEN];
UCHAR m_password[MAX_PW_LEN];
// Methods
public:
CMAPIConnection ( LONG, LPSTR, LPSTR );
~CMAPIConnection ( );
// ID related methods
LONG GetID( ) { return m_ID; } ;
// Dealing with the default session...
BOOL IsDefault( ) { return m_defaultConnection; } ;
void SetDefault( BOOL flag ) { m_defaultConnection = flag; } ;
// For handling multiple sessions on a profile name...
LONG GetSessionCount( ) { return m_sessionCount; } ;
void IncrementSessionCount() { ++m_sessionCount; } ;
void DecrementSessionCount() { --m_sessionCount; } ;
// Information retrieval stuff...
LPSTR GetProfileName( ) { return (LPSTR) m_profileName; };
LPSTR GetPassword( ) { return (LPSTR) m_password; };
// Dealing with message information...
void SetMessageIndex( LONG mIndex ) { m_messageIndex = mIndex; } ;
LONG GetMessageIndex( ) { return m_messageIndex; };
void SetMessageFindInfo( LPSTR info ) { lstrcpy((LPSTR)m_messageFindInfo, info); } ;
LPSTR GetMessageFindInfo( ) { return (LPSTR) m_messageFindInfo; };
// For enumerating Messages...
void SetMapiListContext( LPVOID cookie) { m_cookie = cookie; } ;
LPVOID GetMapiListContext( ) { return m_cookie; };
};
//
// Defines needed for requests being made with the WM_COPYDATA call...
//
typedef enum {
NSCP_MAPIStartRequestID = 0,
NSCP_MAPILogon,
NSCP_MAPILogoff,
NSCP_MAPIFree,
NSCP_MAPISendMail,
NSCP_MAPISendDocuments,
NSCP_MAPIFindNext,
NSCP_MAPIReadMail,
NSCP_MAPISaveMail,
NSCP_MAPIDeleteMail,
NSCP_MAPIAddress,
NSCP_MAPIDetails,
NSCP_MAPIResolveName,
NSCP_MAPIEndRequestID // Note: this is a marker for MAPI IPC requests
} NSCP_IPC_REQUEST;
//
// This is to keep track of the pointers allocated in the MAPI DLL
// and deal with them correctly.
//
#define MAPI_MESSAGE_TYPE 0
#define MAPI_RECIPIENT_TYPE 1
typedef struct {
LPVOID lpMem;
UCHAR memType;
} memTrackerType;
//
// This is the generic message that WM_COPYDATA will send to the
// Communicator product to allow it to attach to shared memory.
// NOTE: On Win16, this will simply reference a pointer.
//
typedef struct {
UCHAR smemName[64]; // Name of shared memory
DWORD smemSize; // Size of shared memory
LPVOID lpsmem; // Will be really used in Win16 only
} MAPIIPCType;
//
// These are message specific structures that will be used for
// the various MAPI operations.
//
typedef struct {
ULONG ulUIParam;
FLAGS flFlags;
LHANDLE lhSession;
DWORD ipcWorked; // Necessary for IPC check with Communicator
// LPSTR strSequence, // LPSTR lpszProfileName, LPSTR lpszPassword
// This is here to document the fact there will be a string sequence at
// this location
} MAPILogonType;
typedef struct {
LHANDLE lhSession;
ULONG ulUIParam;
FLAGS flFlags;
DWORD ipcWorked; // Necessary for IPC check with Communicator
} MAPILogoffType;
typedef struct {
LHANDLE lhSession;
ULONG ulUIParam;
FLAGS flFlags;
DWORD ipcWorked; // Necessary for IPC check with Communicator
// The following is the "FLAT" representation of the (lpMapiMessage lpMessage)
// argument of this structure
FLAGS MSG_flFlags; // unread,return receipt
ULONG MSG_nRecipCount; // Number of recipients
ULONG MSG_nFileCount; // # of file attachments
ULONG MSG_ORIG_ulRecipClass; // Recipient class - MAPI_TO, MAPI_CC, MAPI_BCC, MAPI_ORIG
BYTE dataBuf[1]; // For easy referencing
//
// This is where it gets CONFUSING...the following buffer of memory is a
// contiguous chunk of memory for various strings that are part of this
// multilevel structure. For any of the following structure, any numbers
// are represented by strings that will have to be converted back to numeric
// values with atoi() calls.
// String 0: LPSTR lpszSubject; // Message Subject
// String 1: LPSTR lpszNoteText FILE NAME; // Message Text will be
// stored into a temp file and this will be the pointer to that file.
// String 2: LPSTR lpszDateReceived; // in YYYY/MM/DD HH:MM format
// String 3: LPSTR lpszConversationID; // conversation thread ID
//
// The following are for the originator of the message. Only ONE of these.
//
// String 4: LPSTR lpszName; // Originator name
// String 5: LPSTR lpszAddress; // Originator address (optional)
//
// The following strings are for the recipients for this message. There are
// MSG_nRecipCount of these in a row:
//
// for (i=0; i<MSG_nRecipCount; i++)
// String x: LPSTR lpszRecipClass (ULONG) // Recipient class - MAPI_TO, MAPI_CC, MAPI_BCC, MAPI_ORIG
// String x: LPSTR lpszName; // Recipient N name
// String x: LPSTR lpszAddress; // Recipient N address (optional)
//
// Now, finally, add the attachments for this beast. There are MSG_nFileCount
// attachments so it would look like the following:
//
// for (i=0; i<MSG_nFileCount; i++)
//
// String x: LPSTR lpszPathName // Fully qualified path of the attached file.
// // This path should include the disk drive letter and directory name.
// String x: LPSTR lpszFileName // The display name for the attached file
//
} MAPISendMailType;
typedef struct {
ULONG ulUIParam;
ULONG nFileCount;
DWORD ipcWorked; // Necessary for IPC check with Communicator
BYTE dataBuf[1]; // For easy referencing
//
// The sequence of strings to follow are groups of PathName/FileName couples.
// The strings will be parsed in MAPI[32].DLL and then put into this format:
//
// for (i=0; i<nFileCount; i++)
//
// String x: LPSTR lpszPathName // Fully qualified path of the attached file.
// // This path should include the disk drive letter and directory name.
// String x: LPSTR lpszFileName // The display name for the attached file
} MAPISendDocumentsType;
typedef struct {
LHANDLE lhSession;
ULONG ulUIParam;
FLAGS flFlags;
DWORD ipcWorked; // Necessary for IPC check with Communicator
UCHAR lpszSeedMessageID[MAX_MSGINFO_LEN];
UCHAR lpszMessageID[MAX_MSGINFO_LEN];
} MAPIFindNextType;
typedef struct {
LHANDLE lhSession;
ULONG ulUIParam;
DWORD ipcWorked; // Necessary for IPC check with Communicator
UCHAR lpszMessageID[MAX_MSGINFO_LEN];
} MAPIDeleteMailType;
typedef struct {
LHANDLE lhSession;
ULONG ulUIParam;
FLAGS flFlags;
DWORD ipcWorked; // Necessary for IPC check with Communicator
UCHAR lpszName[MAX_NAME_LEN];
// These are returned by Communicator
UCHAR lpszABookID[MAX_NAME_LEN];
UCHAR lpszABookName[MAX_NAME_LEN];
UCHAR lpszABookAddress[MAX_NAME_LEN];
} MAPIResolveNameType;
typedef struct {
LHANDLE lhSession;
ULONG ulUIParam;
FLAGS flFlags;
DWORD ipcWorked; // Necessary for IPC check with Communicator
UCHAR lpszABookID[MAX_NAME_LEN];
} MAPIDetailsType;
typedef struct {
LHANDLE lhSession;
ULONG ulUIParam;
FLAGS flFlags;
DWORD ipcWorked; // Necessary for IPC check with Communicator
UCHAR lpszMessageID[MAX_MSGINFO_LEN];
//
// The following is the "FLAT" representation of the (lpMapiMessage lpMessage)
// argument of this structure
//
FLAGS MSG_flFlags; // unread, return or receipt
ULONG MSG_nRecipCount; // Number of recipients
ULONG MSG_nFileCount; // # of file attachments
ULONG MSG_ORIG_ulRecipClass; // Recipient class - MAPI_TO, MAPI_CC, MAPI_BCC, MAPI_ORIG
//
// Output parameter for blob of information that will live on disk.
//
UCHAR lpszBlob[MAX_MSGINFO_LEN]; // file name on disk
//
// The format of this blob of information will be:
//
// String 0: LPSTR lpszSubject; // Message Subject
// String 1: LPSTR lpszNoteText FILE NAME; // Message Text will be
// stored into a temp file and this will be the pointer to that file.
// String 2: LPSTR lpszDateReceived; // in YYYY/MM/DD HH:MM format
// String 3: LPSTR lpszConversationID; // conversation thread ID
//
// The following are for the originator of the message. Only ONE of these.
//
// String 4: LPSTR lpszName; // Originator name
// String 5: LPSTR lpszAddress; // Originator address (optional)
//
// The following strings are for the recipients for this message. There are
// MSG_nRecipCount of these in a row:
//
// for (i=0; i<MSG_nRecipCount; i++)
// String x: LPSTR lpszName; // Recipient N name
// String x: LPSTR lpszAddress; // Recipient N address (optional)
// String x: LPSTR lpszRecipClass // recipient class - sprintf of ULONG
//
// Now, finally, add the attachments for this beast. There are MSG_nFileCount
// attachments so it would look like the following:
//
// for (i=0; i<MSG_nFileCount; i++)
//
// String x: LPSTR lpszPathName // Fully qualified path of the attached file.
// // This path should include the disk drive letter and directory name.
// String x: LPSTR lpszFileName // The display name for the attached file
//
} MAPIReadMailType;
typedef struct {
LHANDLE lhSession;
ULONG ulUIParam;
FLAGS flFlags;
UCHAR lpszCaption[MAX_MSGINFO_LEN];
DWORD ipcWorked; // Necessary for IPC check with Communicator
// The following is the "FLAT" representation of the (lpMapiRecipDesc lpRecips)
// argument of this structure
ULONG nRecips; // number of recips to start with...
ULONG nNewRecips; // number of recips returned...
UCHAR lpszBlob[MAX_MSGINFO_LEN]; // file name for blob of information
// that will live on disk.
BYTE dataBuf[1]; // For easy referencing
//
// The following contiguous chunk of memory is the buffer that holds
// the recipients to load into the address picker...
//
// for (i=0; i<MSG_nRecipCount; i++)
// String x: LPSTR lpszRecipClass (ULONG) // Recipient class - MAPI_TO, MAPI_CC, MAPI_BCC, MAPI_ORIG
// String x: LPSTR lpszName; // Recipient N name
// String x: LPSTR lpszAddress; // Recipient N address (optional)
//
} MAPIAddressType;
#endif // _NSCPMAPI

View File

@@ -1,27 +0,0 @@
#!nmake
#
# 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=mapitest
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,239 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
#include <windows.h>
#include <windowsx.h>
#include <string.h>
#include <stdlib.h>
#ifndef MAPI_OLE // Because MSFT doesn't do this for us :-(
#include <mapi.h>
#endif
#include "port.h"
#include "resource.h"
#ifndef WM_PAINTICON
#define WM_PAINTICON 0x26
#endif // WM_PAINTICON
/*
* Forward Declarations...
*/
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow);
BOOL CALLBACK LOADDS MyDlgProc(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
extern void ProcessCommand(HWND hWnd, int id, HWND hCtl, UINT codeNotify);
BOOL OpenMAPI(void);
void CloseMAPI(void);
/*
* Global variables
*/
HINSTANCE hInst;
HWND hWnd;
#ifdef WIN16
HICON hIconApp;
#endif
char NEAR szAppName[] = "Netscape QA Helper";
char NEAR szShortAppName[] = "QAHelper";
char szClassName[] = "Netscape_QAHelper_Class_Name";
void
AppCleanup(void)
{
extern void DoMAPILogoff(HWND hWnd);
static BOOL isDone = FALSE;
if (isDone)
return;
extern LHANDLE mapiSession;
if (mapiSession != 0)
{
DoMAPILogoff(hWnd);
}
CloseMAPI();
isDone = TRUE;
}
BOOL
InitInstance(HINSTANCE hInstance, int nCmdShow)
{
/* Create a main window for this application instance. */
hWnd = CreateDialog((HINSTANCE) hInstance,
MAKEINTRESOURCE(ID_DIALOG),
(HWND) NULL, (DLGPROC) MyDlgProc);
if (!hWnd)
return FALSE;
else
return TRUE;
}
BOOL InitApp(void)
{
#ifndef WIN16
WNDCLASS wc;
wc.style = 0;
wc.lpfnWndProc = DefDlgProc;
wc.cbClsExtra = 0;
wc.cbWndExtra = DLGWINDOWEXTRA;
wc.hInstance = hInst;
wc.hIcon = LoadIcon(hInst, MAKEINTRESOURCE(ID_ICON_APP));
wc.hCursor = LoadCursor(0, IDC_ARROW);
wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
wc.lpszMenuName = NULL;
wc.lpszClassName = szClassName;
if(!RegisterClass(&wc))
return FALSE;
#else
hIconApp = LoadIcon(hInst, MAKEINTRESOURCE(ID_ICON_APP));
#endif
return TRUE;
} // end InitApp
// Win Main
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
MSG msg;
hInst = hInstance;
if (!InitApp())
{
return FALSE;
}
if (!InitInstance(hInstance, nCmdShow))
{
return FALSE;
}
if (!OpenMAPI())
{
return FALSE;
}
ShowWindow(hWnd, SW_SHOW);
// Start the application
while ((GetMessage(&msg, (HWND) NULL, (UINT) NULL, (UINT) NULL)))
{
if(IsDialogMessage(hWnd, &msg))
continue;
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return(msg.wParam);
}
BOOL CALLBACK LOADDS
MyDlgProc(HWND hWndMain, UINT wMsg, WPARAM wParam, LPARAM lParam)
{
switch (wMsg)
{
case WM_INITDIALOG:
{
hWnd = hWndMain;
SetDlgItemText(hWnd, ID_EDIT_ROW, "0");
}
break;
case WM_CLOSE:
{
DestroyWindow(hWnd);
break;
}
case WM_DESTROY:
{
AppCleanup();
#ifndef WIN16
UnregisterClass(szClassName, hInst);
#else
// Destroy the 16 bit windows icon
if(hIconApp != 0)
DestroyIcon(hIconApp);
#endif
PostQuitMessage(0);
break;
}
case WM_COMMAND:
HANDLE_WM_COMMAND(hWnd, wParam, lParam, ProcessCommand);
break;
case WM_QUERYDRAGICON:
#ifdef WIN16
return (BOOL)hIconApp;
#endif
case WM_PAINTICON:
#ifdef WIN16
SetClassWord(hWnd, GCW_HICON, 0);
// fall trough
case WM_PAINT:
{
if(!IsIconic(hWnd))
return FALSE;
PAINTSTRUCT ps;
HDC hDC = BeginPaint(hWnd, &ps);
SetMapMode(hDC, MM_TEXT);
DrawIcon(hDC, 2, 2, hIconApp);
EndPaint(hWnd, &ps);
break;
}
#endif //WIN16
break; // RICHIE - if this is not here NT 3.51 Pukes!!!!
default:
return FALSE;
}
//~~av return (DefWindowProc(hWnd, wMsg, wParam, lParam));
return TRUE;
}

View File

@@ -1,240 +0,0 @@
# Microsoft Developer Studio Generated NMAKE File, Based on mapitest.dsp
!IF "$(CFG)" == ""
CFG=mapitest - Win32 Debug
!MESSAGE No configuration specified. Defaulting to mapitest - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "mapitest - Win32 Release" && "$(CFG)" != "mapitest - Win32 Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "mapitest.mak" CFG="mapitest - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "mapitest - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "mapitest - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
!IF "$(CFG)" == "mapitest - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros
ALL : "$(OUTDIR)\mapitest.exe"
export :
libs :
install :
clobber_all : clobber
clobber:
-@erase "$(INTDIR)\main.obj"
-@erase "$(INTDIR)\mapimail.obj"
-@erase "$(INTDIR)\mapiproc.obj"
-@erase "$(INTDIR)\mtest32.res"
-@erase "$(INTDIR)\readmail.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(OUTDIR)\mapitest.exe"
-@erase "$(OUTDIR)\mapitest.pch"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"$(INTDIR)\mapitest.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\mtest32.res" /d "NDEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\mapitest.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:no /pdb:"$(OUTDIR)\mapitest.pdb" /machine:I386 /out:"$(OUTDIR)\mapitest.exe"
LINK32_OBJS= \
"$(INTDIR)\main.obj" \
"$(INTDIR)\mapimail.obj" \
"$(INTDIR)\mapiproc.obj" \
"$(INTDIR)\readmail.obj" \
"$(INTDIR)\mtest32.res"
"$(OUTDIR)\mapitest.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "mapitest - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
ALL : "$(OUTDIR)\mapitest.exe"
export :
libs :
install :
clobber_all : clobber
clobber :
-@erase "$(INTDIR)\main.obj"
-@erase "$(INTDIR)\mapimail.obj"
-@erase "$(INTDIR)\mapiproc.obj"
-@erase "$(INTDIR)\mtest32.res"
-@erase "$(INTDIR)\readmail.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\mapitest.exe"
-@erase "$(OUTDIR)\mapitest.ilk"
-@erase "$(OUTDIR)\mapitest.pdb"
-@erase "$(OUTDIR)\mapitest.pch"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"$(INTDIR)\mapitest.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
MTL=midl.exe
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32
RSC=rc.exe
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\mtest32.res" /d "_DEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\mapitest.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\mapitest.pdb" /debug /machine:I386 /out:"$(OUTDIR)\mapitest.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\main.obj" \
"$(INTDIR)\mapimail.obj" \
"$(INTDIR)\mapiproc.obj" \
"$(INTDIR)\readmail.obj" \
"$(INTDIR)\mtest32.res"
"$(OUTDIR)\mapitest.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ENDIF
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("mapitest.dep")
!INCLUDE "mapitest.dep"
!ELSE
!MESSAGE Warning: cannot find "mapitest.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "mapitest - Win32 Release" || "$(CFG)" == "mapitest - Win32 Debug"
SOURCE=.\main.cpp
"$(INTDIR)\main.obj" : $(SOURCE) "$(INTDIR)"
SOURCE=.\mapimail.cpp
"$(INTDIR)\mapimail.obj" : $(SOURCE) "$(INTDIR)"
SOURCE=.\mapiproc.cpp
"$(INTDIR)\mapiproc.obj" : $(SOURCE) "$(INTDIR)"
SOURCE=.\mtest32.rc
"$(INTDIR)\mtest32.res" : $(SOURCE) "$(INTDIR)"
$(RSC) $(RSC_PROJ) $(SOURCE)
SOURCE=.\readmail.cpp
"$(INTDIR)\readmail.obj" : $(SOURCE) "$(INTDIR)"
!ENDIF

View File

@@ -1,772 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
#include <windows.h>
#include <windowsx.h>
#include <string.h>
#include <mapi.h>
#include <stdlib.h>
#include "port.h"
#include "resource.h"
//
// Variables...
//
extern HINSTANCE m_hInstMapi;
extern LHANDLE mapiSession;
//
// Forward declarations...
//
void DoMAPIFreeBuffer(HWND hWnd, LPVOID buf, BOOL alert);
extern void ShowMessage(HWND hWnd, LPSTR msg);
void DoMAPISendMail(HWND hWnd);
void DoMAPISendDocuments(HWND hWnd);
void DoMAPISaveMail(HWND hWnd);
void DoMAPIAddress(HWND hWnd);
extern void SetFooter(LPSTR msg);
extern LPSTR GetMAPIError(LONG errorCode);
void
ProcessMailCommand(HWND hWnd, int id, HWND hCtl, UINT codeNotify)
{
switch (id)
{
case IDCANCEL:
EndDialog(hWnd, 0);
break;
case ID_BUTTON_MAPISENDMAIL:
DoMAPISendMail(hWnd);
break;
case ID_BUTTON_MAPISENDDOCUMENTS:
DoMAPISendDocuments(hWnd);
break;
case ID_BUTTON_MAPISAVEMAIL:
DoMAPISaveMail(hWnd);
break;
case ID_BUTTON_MAPIADDRESS:
DoMAPIAddress(hWnd);
break;
default:
break;
}
}
BOOL CALLBACK LOADDS
MailDlgProc(HWND hWndMain, UINT wMsg, WPARAM wParam, LPARAM lParam)
{
switch (wMsg)
{
case WM_INITDIALOG:
break;
case WM_COMMAND:
HANDLE_WM_COMMAND(hWndMain, wParam, lParam, ProcessMailCommand);
break;
default:
return FALSE;
}
return TRUE;
}
static LPSTR lpszDelimChar = ";";
void
TackItOn(LPSTR fileBuf, LPSTR nameBuf, LPSTR addOn)
{
if (addOn[0] != '\0')
{
lstrcat(fileBuf, addOn);
lstrcat(fileBuf, lpszDelimChar);
lstrcat(nameBuf, "NAMEOF.FILE");
lstrcat(nameBuf, lpszDelimChar);
}
}
void
DoMAPISendDocuments(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPISendDocuments) (ULONG ulUIParam,
LPTSTR lpszDelimChar, LPTSTR lpszFullPaths,
LPTSTR lpszFileNames, ULONG ulReserved);
#ifdef WIN16
(FARPROC&) lpfnMAPISendDocuments = GetProcAddress(m_hInstMapi, "MAPISENDDOCUMENTS");
#else
(FARPROC&) lpfnMAPISendDocuments = GetProcAddress(m_hInstMapi, "MAPISendDocuments");
#endif
if (!lpfnMAPISendDocuments)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
char msg[1024];
char tempFileName[_MAX_PATH] = "";
char lpszFullPaths[(_MAX_PATH + 1) * 4] = "";
char lpszFileNames[(_MAX_PATH + 1) * 4] = "";
// Now get the names of the files to attach...
GetDlgItemText(hWnd, ID_EDIT_ATTACH1, tempFileName, sizeof(tempFileName));
TackItOn(lpszFullPaths, lpszFileNames, tempFileName);
GetDlgItemText(hWnd, ID_EDIT_ATTACH2, tempFileName, sizeof(tempFileName));
TackItOn(lpszFullPaths, lpszFileNames, tempFileName);
GetDlgItemText(hWnd, ID_EDIT_ATTACH3, tempFileName, sizeof(tempFileName));
TackItOn(lpszFullPaths, lpszFileNames, tempFileName);
GetDlgItemText(hWnd, ID_EDIT_ATTACH4, tempFileName, sizeof(tempFileName));
TackItOn(lpszFullPaths, lpszFileNames, tempFileName);
LONG rc = (*lpfnMAPISendDocuments)
( (ULONG) hWnd,
lpszDelimChar,
lpszFullPaths,
lpszFileNames,
0);
if (rc == SUCCESS_SUCCESS)
{
ShowMessage(hWnd, "Success with MAPISendDocuments");
SetFooter("MAPISendDocuments success");
}
else
{
wsprintf(msg, "FAILURE: Return code %d from MAPISendDocuments\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("MAPISendDocuments failed");
}
}
void
FreeMAPIFile(lpMapiFileDesc pv)
{
if (!pv)
return;
if (pv->lpszPathName != NULL)
free(pv->lpszPathName);
if (pv->lpszFileName != NULL)
free(pv->lpszFileName);
}
void
FreeMAPIRecipient(lpMapiRecipDesc pv)
{
if (!pv)
return;
if (pv->lpszName != NULL)
free(pv->lpszName);
if (pv->lpszAddress != NULL)
free(pv->lpszAddress);
if (pv->lpEntryID != NULL)
free(pv->lpEntryID);
}
void
FreeMAPIMessage(lpMapiMessage pv)
{
ULONG i;
if (!pv)
return;
if (pv->lpszSubject != NULL)
free(pv->lpszSubject);
if (pv->lpszNoteText)
free(pv->lpszNoteText);
if (pv->lpszMessageType)
free(pv->lpszMessageType);
if (pv->lpszDateReceived)
free(pv->lpszDateReceived);
if (pv->lpszConversationID)
free(pv->lpszConversationID);
if (pv->lpOriginator)
FreeMAPIRecipient(pv->lpOriginator);
for (i=0; i<pv->nRecipCount; i++)
{
if (&(pv->lpRecips[i]) != NULL)
{
FreeMAPIRecipient(&(pv->lpRecips[i]));
}
}
if (pv->lpRecips != NULL)
{
free(pv->lpRecips);
}
for (i=0; i<pv->nFileCount; i++)
{
if (&(pv->lpFiles[i]) != NULL)
{
FreeMAPIFile(&(pv->lpFiles[i]));
}
}
if (pv->lpFiles != NULL)
{
free(pv->lpFiles);
}
free(pv);
pv = NULL;
}
void
DoMAPISendMail(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPISendMail) (LHANDLE lhSession, ULONG ulUIParam,
lpMapiMessage lpMessage, FLAGS flFlags, ULONG ulReserved);
#ifdef WIN16
(FARPROC&) lpfnMAPISendMail = GetProcAddress(m_hInstMapi, "MAPISENDMAIL");
#else
(FARPROC&) lpfnMAPISendMail = GetProcAddress(m_hInstMapi, "MAPISendMail");
#endif
if (!lpfnMAPISendMail)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
FLAGS flFlags = 0;
char msg[512];
char file1[_MAX_PATH] = "";
char file2[_MAX_PATH] = "";
char file3[_MAX_PATH] = "";
char file4[_MAX_PATH] = "";
char toAddr[128];
char ccAddr[128];
char bccAddr[128];
char subject[128];
char noteText[4096];
char dateReceived[128] = "N/A";
char threadID[128] = "N/A";;
char origName[128] = "N/A";;
char origAddress[128] = "N/A";;
GetDlgItemText(hWnd, ID_EDIT_TOADDRESS, toAddr, sizeof(toAddr));
GetDlgItemText(hWnd, ID_EDIT_CCADDRESS, ccAddr, sizeof(ccAddr));
GetDlgItemText(hWnd, ID_EDIT_BCCADDRESS, bccAddr, sizeof(bccAddr));
GetDlgItemText(hWnd, ID_EDIT_SUBJECT, subject, sizeof(subject));
GetDlgItemText(hWnd, ID_EDIT_NOTETEXT, noteText, sizeof(noteText));
// Do the one flag we support for this call...
if (BST_CHECKED == Button_GetCheck(GetDlgItem(hWnd, ID_CHECK_SHOWDIALOG)))
{
flFlags |= MAPI_DIALOG;
}
// Build the message to send off...
lpMapiMessage msgPtr = (MapiMessage *)malloc(sizeof(MapiMessage));
if (msgPtr == NULL)
{
return;
}
memset(msgPtr, 0, sizeof(MapiMessage));
//
// At this point, we need to populate the structure of information
// we are passing in via the *lppMessage
//
// Set all of the general information first!
msgPtr->lpszSubject = strdup(subject);
msgPtr->lpszNoteText = strdup(noteText);
msgPtr->lpszDateReceived = strdup(dateReceived);
msgPtr->lpszConversationID = strdup(threadID);
msgPtr->flFlags = flFlags;
// Now deal with the recipients of this message
DWORD realRecips = 0;
if (toAddr[0] != '\0') ++realRecips;
if (ccAddr[0] != '\0') ++realRecips;
if (bccAddr[0] != '\0') ++realRecips;
msgPtr->lpRecips = (lpMapiRecipDesc) malloc((size_t) (sizeof(MapiRecipDesc) * realRecips));
if (!msgPtr->lpRecips)
{
FreeMAPIMessage(msgPtr);
return;
}
msgPtr->nRecipCount = realRecips;
memset(msgPtr->lpRecips, 0, (size_t) (sizeof(MapiRecipDesc) * msgPtr->nRecipCount));
DWORD rCount = 0;
if (toAddr[0] != '\0')
{
msgPtr->lpRecips[rCount].lpszName = strdup(toAddr);
msgPtr->lpRecips[rCount].lpszAddress = strdup(toAddr);
msgPtr->lpRecips[rCount].ulRecipClass = MAPI_TO;
rCount++;
}
if (ccAddr[0] != '\0')
{
msgPtr->lpRecips[rCount].lpszName = strdup(ccAddr);
msgPtr->lpRecips[rCount].lpszAddress = strdup(ccAddr);
msgPtr->lpRecips[rCount].ulRecipClass = MAPI_CC;
rCount++;
}
if (bccAddr[0] != '\0')
{
msgPtr->lpRecips[rCount].lpszName = strdup(bccAddr);
msgPtr->lpRecips[rCount].lpszAddress = strdup(bccAddr);
msgPtr->lpRecips[rCount].ulRecipClass = MAPI_BCC;
rCount++;
}
// Now get the names of the files to attach...
GetDlgItemText(hWnd, ID_EDIT_ATTACH1, file1, sizeof(file1));
GetDlgItemText(hWnd, ID_EDIT_ATTACH2, file2, sizeof(file2));
GetDlgItemText(hWnd, ID_EDIT_ATTACH3, file3, sizeof(file3));
GetDlgItemText(hWnd, ID_EDIT_ATTACH4, file4, sizeof(file4));
DWORD realFiles = 0;
if (file1[0] != '\0') ++realFiles;
if (file2[0] != '\0') ++realFiles;
if (file3[0] != '\0') ++realFiles;
if (file4[0] != '\0') ++realFiles;
// Now deal with the list of attachments! Since the nFileCount should be set
// correctly, this loop will automagically be correct
//
msgPtr->nFileCount = realFiles;
if (realFiles > 0)
{
msgPtr->lpFiles = (lpMapiFileDesc) malloc((size_t) (sizeof(MapiFileDesc) * realFiles));
if (!msgPtr->lpFiles)
{
FreeMAPIMessage(msgPtr);
return;
}
memset(msgPtr->lpFiles, 0, (size_t) (sizeof(MapiFileDesc) * msgPtr->nFileCount));
}
rCount = 0;
if (file1[0] != '\0')
{
msgPtr->lpFiles[rCount].lpszPathName = strdup((LPSTR)file1);
msgPtr->lpFiles[rCount].lpszFileName = strdup((LPSTR)file1);
++rCount;
}
if (file2[0] != '\0')
{
msgPtr->lpFiles[rCount].lpszPathName = strdup((LPSTR)file2);
msgPtr->lpFiles[rCount].lpszFileName = strdup((LPSTR)file2);
++rCount;
}
if (file3[0] != '\0')
{
msgPtr->lpFiles[rCount].lpszPathName = strdup((LPSTR)file3);
msgPtr->lpFiles[rCount].lpszFileName = strdup((LPSTR)file3);
++rCount;
}
if (file4[0] != '\0')
{
msgPtr->lpFiles[rCount].lpszPathName = strdup((LPSTR)file4);
msgPtr->lpFiles[rCount].lpszFileName = strdup((LPSTR)file4);
++rCount;
}
// Finally, make the call...
LONG rc = (*lpfnMAPISendMail)
(mapiSession,
(ULONG) hWnd,
msgPtr,
flFlags,
0);
if (rc == SUCCESS_SUCCESS)
{
ShowMessage(hWnd, "Success with MAPISendMail");
SetFooter("MAPISendMail success");
}
else
{
wsprintf(msg, "FAILURE: Return code %d from MAPISendMail\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("MAPISendMail failed");
}
// Now cleanup and move on...
FreeMAPIMessage(msgPtr);
}
void
DoMAPISaveMail(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPISaveMail) (LHANDLE lhSession, ULONG ulUIParam,
lpMapiMessage lpMessage, FLAGS flFlags, ULONG ulReserved,
LPTSTR lpszMessageID);
#ifdef WIN16
(FARPROC&) lpfnMAPISaveMail = GetProcAddress(m_hInstMapi, "MAPISAVEMAIL");
#else
(FARPROC&) lpfnMAPISaveMail = GetProcAddress(m_hInstMapi, "MAPISaveMail");
#endif
if (!lpfnMAPISaveMail)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
FLAGS flFlags = 0;
char msg[512];
char file1[_MAX_PATH] = "";
char file2[_MAX_PATH] = "";
char file3[_MAX_PATH] = "";
char file4[_MAX_PATH] = "";
char toAddr[128];
char ccAddr[128];
char bccAddr[128];
char subject[128];
char noteText[4096];
char dateReceived[128] = "N/A";
char threadID[128] = "N/A";;
char origName[128] = "N/A";;
char origAddress[128] = "N/A";;
GetDlgItemText(hWnd, ID_EDIT_TOADDRESS, toAddr, sizeof(toAddr));
GetDlgItemText(hWnd, ID_EDIT_CCADDRESS, ccAddr, sizeof(ccAddr));
GetDlgItemText(hWnd, ID_EDIT_BCCADDRESS, bccAddr, sizeof(bccAddr));
GetDlgItemText(hWnd, ID_EDIT_SUBJECT, subject, sizeof(subject));
GetDlgItemText(hWnd, ID_EDIT_NOTETEXT, noteText, sizeof(noteText));
// Build the message to send off...
lpMapiMessage msgPtr = (MapiMessage *)malloc(sizeof(MapiMessage));
if (msgPtr == NULL)
{
return;
}
memset(msgPtr, 0, sizeof(MapiMessage));
//
// At this point, we need to populate the structure of information
// we are passing in via the *lppMessage
//
// Set all of the general information first!
msgPtr->lpszSubject = strdup(subject);
msgPtr->lpszNoteText = strdup(noteText);
msgPtr->lpszDateReceived = strdup(dateReceived);
msgPtr->lpszConversationID = strdup(threadID);
msgPtr->flFlags = flFlags;
// Now deal with the recipients of this message
DWORD realRecips = 0;
if (toAddr[0] != '\0') ++realRecips;
if (ccAddr[0] != '\0') ++realRecips;
if (bccAddr[0] != '\0') ++realRecips;
msgPtr->lpRecips = (lpMapiRecipDesc) malloc((size_t) (sizeof(MapiRecipDesc) * realRecips));
if (!msgPtr->lpRecips)
{
FreeMAPIMessage(msgPtr);
return;
}
msgPtr->nRecipCount = realRecips;
memset(msgPtr->lpRecips, 0, (size_t) (sizeof(MapiRecipDesc) * msgPtr->nRecipCount));
DWORD rCount = 0;
if (toAddr[0] != '\0')
{
msgPtr->lpRecips[rCount].lpszName = strdup(toAddr);
msgPtr->lpRecips[rCount].lpszAddress = strdup(toAddr);
msgPtr->lpRecips[rCount].ulRecipClass = MAPI_TO;
rCount++;
}
if (ccAddr[0] != '\0')
{
msgPtr->lpRecips[rCount].lpszName = strdup(ccAddr);
msgPtr->lpRecips[rCount].lpszAddress = strdup(ccAddr);
msgPtr->lpRecips[rCount].ulRecipClass = MAPI_CC;
rCount++;
}
if (bccAddr[0] != '\0')
{
msgPtr->lpRecips[rCount].lpszName = strdup(bccAddr);
msgPtr->lpRecips[rCount].lpszAddress = strdup(bccAddr);
msgPtr->lpRecips[rCount].ulRecipClass = MAPI_BCC;
rCount++;
}
// Now get the names of the files to attach...
GetDlgItemText(hWnd, ID_EDIT_ATTACH1, file1, sizeof(file1));
GetDlgItemText(hWnd, ID_EDIT_ATTACH2, file2, sizeof(file2));
GetDlgItemText(hWnd, ID_EDIT_ATTACH3, file3, sizeof(file3));
GetDlgItemText(hWnd, ID_EDIT_ATTACH4, file4, sizeof(file4));
DWORD realFiles = 0;
if (file1[0] != '\0') ++realFiles;
if (file2[0] != '\0') ++realFiles;
if (file3[0] != '\0') ++realFiles;
if (file4[0] != '\0') ++realFiles;
// Now deal with the list of attachments! Since the nFileCount should be set
// correctly, this loop will automagically be correct
//
msgPtr->nFileCount = realFiles;
if (realFiles > 0)
{
msgPtr->lpFiles = (lpMapiFileDesc) malloc((size_t) (sizeof(MapiFileDesc) * realFiles));
if (!msgPtr->lpFiles)
{
FreeMAPIMessage(msgPtr);
return;
}
memset(msgPtr->lpFiles, 0, (size_t) (sizeof(MapiFileDesc) * msgPtr->nFileCount));
}
rCount = 0;
if (file1[0] != '\0')
{
msgPtr->lpFiles[rCount].lpszPathName = strdup((LPSTR)file1);
msgPtr->lpFiles[rCount].lpszFileName = strdup((LPSTR)file1);
++rCount;
}
if (file2[0] != '\0')
{
msgPtr->lpFiles[rCount].lpszPathName = strdup((LPSTR)file2);
msgPtr->lpFiles[rCount].lpszFileName = strdup((LPSTR)file2);
++rCount;
}
if (file3[0] != '\0')
{
msgPtr->lpFiles[rCount].lpszPathName = strdup((LPSTR)file3);
msgPtr->lpFiles[rCount].lpszFileName = strdup((LPSTR)file3);
++rCount;
}
if (file4[0] != '\0')
{
msgPtr->lpFiles[rCount].lpszPathName = strdup((LPSTR)file4);
msgPtr->lpFiles[rCount].lpszFileName = strdup((LPSTR)file4);
++rCount;
}
// Finally, make the call...
LONG rc = (*lpfnMAPISaveMail)
(mapiSession,
(ULONG) hWnd,
msgPtr,
flFlags,
0, NULL);
if (rc == SUCCESS_SUCCESS)
{
ShowMessage(hWnd, "Success with MAPISaveMail");
SetFooter("MAPISaveMail success");
}
else
{
wsprintf(msg, "FAILURE: Return code %d from MAPISaveMail\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("MAPISaveMail failed");
}
// Now cleanup and move on...
FreeMAPIMessage(msgPtr);
}
void
DoMAPIAddress(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPIAddress)
(LHANDLE lhSession,
ULONG ulUIParam,
LPSTR lpszCaption,
ULONG nEditFields,
LPSTR lpszLabels,
ULONG nRecips,
lpMapiRecipDesc lpRecips,
FLAGS flFlags,
ULONG ulReserved,
LPULONG lpnNewRecips,
lpMapiRecipDesc FAR *lppNewRecips);
#ifdef WIN16
(FARPROC&) lpfnMAPIAddress = GetProcAddress(m_hInstMapi, "MAPIADDRESS");
#else
(FARPROC&) lpfnMAPIAddress = GetProcAddress(m_hInstMapi, "MAPIAddress");
#endif
if (!lpfnMAPIAddress)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
DWORD i;
FLAGS flFlags = 0;
DWORD addrCount = 0;
char msg[512];
char toAddr[128];
char ccAddr[128];
char bccAddr[128];
GetDlgItemText(hWnd, ID_EDIT_TOADDRESS, toAddr, sizeof(toAddr));
GetDlgItemText(hWnd, ID_EDIT_CCADDRESS, ccAddr, sizeof(ccAddr));
GetDlgItemText(hWnd, ID_EDIT_BCCADDRESS, bccAddr, sizeof(bccAddr));
if (toAddr[0]) ++addrCount;
if (ccAddr[0]) ++addrCount;
if (bccAddr[0]) ++addrCount;
lpMapiRecipDesc lpRecips = (lpMapiRecipDesc) malloc((size_t) (sizeof(MapiRecipDesc) * addrCount));
if (!lpRecips)
{
return;
}
memset(lpRecips, 0, (size_t) (sizeof(MapiRecipDesc) * addrCount));
DWORD rCount = 0;
if (toAddr[0] != '\0')
{
lpRecips[rCount].lpszName = strdup("To Address Name");
lpRecips[rCount].lpszAddress = strdup(toAddr);
lpRecips[rCount].ulRecipClass = MAPI_TO;
rCount++;
}
if (ccAddr[0] != '\0')
{
lpRecips[rCount].lpszName = strdup("CC Address Name");
lpRecips[rCount].lpszAddress = strdup(ccAddr);
lpRecips[rCount].ulRecipClass = MAPI_CC;
rCount++;
}
if (bccAddr[0] != '\0')
{
lpRecips[rCount].lpszName = strdup("BCC Address Name");
lpRecips[rCount].lpszAddress = strdup(bccAddr);
lpRecips[rCount].ulRecipClass = MAPI_BCC;
rCount++;
}
ULONG newRecips;
lpMapiRecipDesc lpNewRecips;
// Finally, make the call...
LONG rc = (*lpfnMAPIAddress)
(mapiSession,
0,
"MAPI Test Address Picker",
0,
NULL,
rCount,
lpRecips,
0,
0,
&newRecips,
&lpNewRecips);
if (rc == SUCCESS_SUCCESS)
{
for (i=0; i<newRecips; i++)
{
char tMsg[512];
wsprintf(tMsg, "User %d\nName=[%s]\nEmail=[%s]\nType=[%d]",
i,
lpNewRecips[i].lpszName,
lpNewRecips[i].lpszAddress,
lpNewRecips[i].ulRecipClass);
ShowMessage(hWnd, tMsg);
}
SetFooter("MAPIAddress success");
DoMAPIFreeBuffer(hWnd, lpNewRecips, TRUE);
}
else
{
wsprintf(msg, "FAILURE: Return code %d from MAPIAddress\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("MAPIAddress failed");
}
// Now cleanup and move on...
for (i=0; i<rCount; i++)
{
FreeMAPIRecipient(&(lpRecips[i]));
}
}

View File

@@ -1,832 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
#include <windows.h>
#include <windowsx.h>
#include <string.h>
#ifndef MAPI_OLE // Because MSFT doesn't do this for us :-(
#include <mapi.h>
#endif
#include "port.h"
#include "resource.h"
//
// Variables...
//
extern HINSTANCE hInst;
HINSTANCE m_hInstMapi;
LHANDLE mapiSession = 0;
//
// Forward declarations...
//
void LoadNSCPVersionFunc(HWND hWnd);
void DoMAPILogon(HWND hWnd);
void DoMAPILogoff(HWND hWnd);
void DoMAPIFreeBuffer(HWND hWnd, LPVOID buf, BOOL alert);
void DoMAPISendMail(HWND hWnd);
void DoMAPISendDocuments(HWND hWnd);
void DoMAPIFindNext(HWND hWnd);
void DoMAPIReadMail(HWND hWnd);
void DoMAPIDeleteMail(HWND hWnd);
void DoMAPIDetails(HWND hWnd);
void DoMAPIResolveName(HWND hWnd);
void DoMAPIResolveNameFreeBuffer(HWND hWnd);
void SetFooter(LPSTR msg);
void DoMAPI_NSCP_Sync(HWND hWnd);
LPSTR GetMAPIError(LONG errorCode);
extern void DisplayMAPIReadMail(HWND hWnd, lpMapiMessage msgPtr);
lpMapiMessage GetMessage(HWND hWnd, LPSTR id);
void
SetFooter(LPSTR msg)
{
extern HWND hWnd;
SetDlgItemText(hWnd, ID_STATIC_RESULT, msg);
}
char FAR *
GetMAPIError(LONG errorCode)
{
static char FAR msg[128];
switch (errorCode) {
case MAPI_E_FAILURE:
lstrcpy(msg, "General MAPI Failure");
break;
case MAPI_E_INSUFFICIENT_MEMORY:
strcpy(msg, "Insufficient Memory");
break;
case MAPI_E_LOGIN_FAILURE:
strcpy(msg, "Login Failure");
break;
case MAPI_E_TOO_MANY_SESSIONS:
strcpy(msg, "Too many MAPI sessions");
break;
case MAPI_E_INVALID_SESSION:
strcpy(msg, "Invalid Session!");
break;
case MAPI_E_INVALID_MESSAGE:
strcpy(msg, "Message identifier was bad!");
break;
case MAPI_E_NO_MESSAGES:
strcpy(msg, "No messages were found!");
break;
case MAPI_E_ATTACHMENT_WRITE_FAILURE:
strcpy(msg, "Attachment write failure!");
break;
case MAPI_E_DISK_FULL:
strcpy(msg, "Attachment write failure! DISK FULL");
break;
case MAPI_E_AMBIGUOUS_RECIPIENT:
strcpy(msg, "Recipient requested is not a unique address list entry.");
break;
case MAPI_E_UNKNOWN_RECIPIENT:
strcpy(msg, "Recipient requested does not exist.");
break;
case MAPI_E_NOT_SUPPORTED:
strcpy(msg, "Not supported by messaging system");
break;
case SUCCESS_SUCCESS:
strcpy(msg, "Success on MAPI operation");
break;
case MAPI_E_INVALID_RECIPS:
strcpy(msg, "Recipient specified in the lpRecip parameter was\nunknown. No dialog box was displayed.");
break;
case MAPI_E_ATTACHMENT_OPEN_FAILURE:
strcpy(msg, "One or more files could not be located. No message was sent.");
break;
case MAPI_E_ATTACHMENT_NOT_FOUND:
strcpy(msg, "The specified attachment was not found. No message was sent.");
break;
case MAPI_E_BAD_RECIPTYPE:
strcpy(msg, "The type of a recipient was not MAPI_TO, MAPI_CC, or MAPI_BCC. No message was sent.");
break;
default:
strcpy(msg, "Unknown MAPI Return Code");
break;
}
return((LPSTR) &(msg[0]));
}
void
ShowMessage(HWND hWnd, LPSTR msg)
{
MessageBox(hWnd, msg, "Info Message", MB_ICONINFORMATION);
}
BOOL
OpenMAPI(void)
{
#ifdef WIN16
m_hInstMapi = LoadLibrary("Y:\\ns\\cmd\\winfe\\mapi\\MAPI.DLL");
#else
m_hInstMapi = LoadLibrary(".\\COMPONENTS\\MAPI32.DLL");
#endif
if (!m_hInstMapi)
{
ShowMessage(NULL, "Error Loading the MAPI DLL...Probably not found!");
return(FALSE);
}
return(TRUE);
}
void
CloseMAPI(void)
{
if(m_hInstMapi)
{
FreeLibrary(m_hInstMapi);
}
}
void
ProcessCommand(HWND hWnd, int id, HWND hCtl, UINT codeNotify)
{
switch (id)
{
case ID_BUTTON_SYNC:
DoMAPI_NSCP_Sync(hWnd);
break;
case ID_BUTTON_NSCPVERSION:
LoadNSCPVersionFunc(hWnd);
break;
case ID_BUTTON_LOGON:
DoMAPILogon(hWnd);
break;
case ID_BUTTON_LOGOFF:
DoMAPILogoff(hWnd);
break;
case ID_BUTTON_FINDNEXT:
case ID_MENU_MAPIFINDNEXT:
DoMAPIFindNext(hWnd);
break;
case ID_BUTTON_READMAIL:
case ID_MENU_MAPIREADMAIL:
DoMAPIReadMail(hWnd);
break;
case ID_BUTTON_MAIL:
{
extern CALLBACK LOADDS
MailDlgProc(HWND hWndMain, UINT wMsg, WPARAM wParam, LPARAM lParam);
DialogBox(hInst, MAKEINTRESOURCE(ID_DIALOG_MAIL), hWnd,
(DLGPROC)MailDlgProc);
}
break;
case ID_BUTTON_DELETEMAIL:
case ID_MENU_MAPIDELETEMAIL:
DoMAPIDeleteMail(hWnd);
break;
case ID_MENU_MYEXIT:
DestroyWindow(hWnd);
break;
case ID_BUTTON_CLEAR:
case ID_MENU_CLEARRESULTS:
ListBox_ResetContent(GetDlgItem(hWnd, ID_LIST_RESULT));
break;
case ID_BUTTON_FREEBUFFER:
DoMAPIResolveNameFreeBuffer(hWnd);
break;
case ID_BUTTON_RESOLVENAME:
DoMAPIResolveName(hWnd);
break;
case ID_BUTTON_DETAILS:
DoMAPIDetails(hWnd);
break;
case ID_MENU_MYABOUT:
MessageBox(hWnd,
"Netscape MAPI Test Harness\nWritten by: Rich Pizzarro (rhp@netscape.com)",
"About",
MB_ICONINFORMATION);
break;
default:
break;
}
}
void
DoMAPILogon(HWND hWnd)
{
char msg[1024];
char user[128] = "";
char pw[128] = "";
// Get Address of MAPI function...
ULONG (FAR PASCAL *lpfnMAPILogon)(ULONG, LPSTR, LPSTR, FLAGS, ULONG, LPLHANDLE);
#ifdef WIN16
(FARPROC&) lpfnMAPILogon = GetProcAddress(m_hInstMapi, "MAPILOGON");
#else
(FARPROC&) lpfnMAPILogon = GetProcAddress(m_hInstMapi, "MAPILogon");
#endif
if (!lpfnMAPILogon)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
GetDlgItemText(hWnd, ID_EDIT_USERNAME, user, sizeof(user));
GetDlgItemText(hWnd, ID_EDIT_PW, pw, sizeof(pw));
LONG rc = (*lpfnMAPILogon)((ULONG) hWnd, user, pw,
MAPI_FORCE_DOWNLOAD | MAPI_NEW_SESSION, 0, &mapiSession);
if (rc == SUCCESS_SUCCESS)
{
wsprintf(msg, "Success with session = %d", mapiSession);
ShowMessage(hWnd, msg);
SetFooter("Logon success");
}
else
{
wsprintf(msg, "FAILURE: Return code %d from Logon\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("Logon failed");
}
}
void
DoMAPILogoff(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPILogoff) ( LHANDLE lhSession, ULONG ulUIParam,
FLAGS flFlags, ULONG ulReserved);
#ifdef WIN16
(FARPROC&) lpfnMAPILogoff = GetProcAddress(m_hInstMapi, "MAPILOGOFF");
#else
(FARPROC&) lpfnMAPILogoff = GetProcAddress(m_hInstMapi, "MAPILogoff");
#endif
if (!lpfnMAPILogoff)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
char msg[1024];
LONG rc = (*lpfnMAPILogoff)(mapiSession, (ULONG) hWnd, 0, 0);
if (rc == SUCCESS_SUCCESS)
{
wsprintf(msg, "Successful logoff");
ShowMessage(hWnd, msg);
SetFooter(msg);
}
else
{
wsprintf(msg, "FAILURE: Return code %d from Logoff\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("Logoff failed");
}
mapiSession = 0;
}
void
DoMAPIFreeBuffer(HWND hWnd, LPVOID buf, BOOL alert)
{
ULONG (FAR PASCAL *lpfnMAPIFreeBuffer) (LPVOID lpBuffer);
#ifdef WIN16
(FARPROC&) lpfnMAPIFreeBuffer = GetProcAddress(m_hInstMapi, "MAPIFREEBUFFER");
#else
(FARPROC&) lpfnMAPIFreeBuffer = GetProcAddress(m_hInstMapi, "MAPIFreeBuffer");
#endif
if (!lpfnMAPIFreeBuffer)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
char msg[1024];
LONG rc = (*lpfnMAPIFreeBuffer)(buf);
#ifdef WIN32
if (rc == S_OK)
#else
if (rc == SUCCESS_SUCCESS)
#endif
{
wsprintf(msg, "Successful Free Buffer Operation");
if (alert)
ShowMessage(hWnd, msg);
}
else
{
wsprintf(msg, "FAILURE: Return code %d from Logoff", rc);
ShowMessage(hWnd, msg);
}
}
void
DoMAPIFindNext(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPIFindNext) (LHANDLE lhSession, ULONG ulUIParam,
LPTSTR lpszMessageType, LPTSTR lpszSeedMessageID, FLAGS flFlags,
ULONG ulReserved, LPTSTR lpszMessageID);
#ifdef WIN16
(FARPROC&) lpfnMAPIFindNext = GetProcAddress(m_hInstMapi, "MAPIFINDNEXT");
#else
(FARPROC&) lpfnMAPIFindNext = GetProcAddress(m_hInstMapi, "MAPIFindNext");
#endif
if (!lpfnMAPIFindNext)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
// Clear the list before we start...
ListBox_ResetContent(GetDlgItem(hWnd, ID_LIST_RESULT));
char msg[1024];
char messageID[512];
LONG rc;
#ifdef WIN32
FLAGS flags = MAPI_GUARANTEE_FIFO | MAPI_LONG_MSGID | MAPI_UNREAD_ONLY;
#else
FLAGS flags = MAPI_GUARANTEE_FIFO | MAPI_UNREAD_ONLY;
#endif
while ( (rc = (*lpfnMAPIFindNext) (mapiSession,
(ULONG) hWnd,
NULL,
NULL,
flags,
0,
messageID)) == SUCCESS_SUCCESS)
{
//
lpMapiMessage mapiMsg = GetMessage(hWnd, messageID);
if (mapiMsg != NULL)
{
wsprintf(msg, "%s: \"%s\" Sender: %s",
messageID,
mapiMsg->lpszSubject,
mapiMsg->lpOriginator->lpszName);
DoMAPIFreeBuffer(hWnd, mapiMsg, FALSE);
}
else
{
lstrcpy(msg, messageID);
}
ListBox_InsertString(GetDlgItem(hWnd, ID_LIST_RESULT), 0, msg);
}
wsprintf(msg, "Enumeration ended: Return code %d from MAPIFindNext\nCondition=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("Enumeration ended");
}
void
DoMAPIReadMail(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPIReadMail) (LHANDLE lhSession, ULONG ulUIParam,
LPTSTR lpszMessageID, FLAGS flFlags, ULONG ulReserved,
lpMapiMessage FAR * lppMessage);
#ifdef WIN16
(FARPROC&) lpfnMAPIReadMail = GetProcAddress(m_hInstMapi, "MAPIREADMAIL");
#else
(FARPROC&) lpfnMAPIReadMail = GetProcAddress(m_hInstMapi, "MAPIReadMail");
#endif
if (!lpfnMAPIReadMail)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
char msg[1024];
char lpszMessageID[512];
lpMapiMessage lpMessage = NULL;
FLAGS flFlags = 0;
DWORD selected = ListBox_GetCurSel(GetDlgItem(hWnd, ID_LIST_RESULT));
if (selected == LB_ERR)
{
ShowMessage(hWnd, "You need to select a valid message. Make sure\nyou have done a MAPIFindNext and selected\none of the resulting messages.");
return;
}
ListBox_GetText(GetDlgItem(hWnd, ID_LIST_RESULT), selected, lpszMessageID);
// Do the various flags for this call...
if (BST_CHECKED == Button_GetCheck(GetDlgItem(hWnd, IDC_CHECK_BODYASFILE)))
{
flFlags |= MAPI_BODY_AS_FILE;
}
if (BST_CHECKED == Button_GetCheck(GetDlgItem(hWnd, IDC_CHECK_ENVELOPEONLY)))
{
flFlags |= MAPI_ENVELOPE_ONLY;
}
if (BST_CHECKED == Button_GetCheck(GetDlgItem(hWnd, IDC_CHECK_PEEK)))
{
flFlags |= MAPI_PEEK;
}
if (BST_CHECKED == Button_GetCheck(GetDlgItem(hWnd, IDC_CHECK_SUPPRESSATTACH)))
{
flFlags |= MAPI_SUPPRESS_ATTACH;
}
char *ptr = strchr( (const char *) lpszMessageID, ':');
if (ptr) *ptr = '\0';
LONG rc = (*lpfnMAPIReadMail)
(mapiSession,
(ULONG) hWnd,
lpszMessageID,
flFlags,
0,
&lpMessage);
// Deal with error up front and return if need be...
if (rc != SUCCESS_SUCCESS)
{
wsprintf(msg, "FAILURE: Return code %d from MAPIReadMail\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("ReadMail failed");
return;
}
// Now display the message and then return...
DisplayMAPIReadMail(hWnd, lpMessage);
DoMAPIFreeBuffer(hWnd, lpMessage, TRUE);
}
void
DoMAPIDeleteMail(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPIDeleteMail) (LHANDLE lhSession, ULONG ulUIParam,
LPTSTR lpszMessageID, FLAGS flFlags, ULONG ulReserved);
#ifdef WIN16
(FARPROC&) lpfnMAPIDeleteMail = GetProcAddress(m_hInstMapi, "MAPIDELETEMAIL");
#else
(FARPROC&) lpfnMAPIDeleteMail = GetProcAddress(m_hInstMapi, "MAPIDeleteMail");
#endif
if (!lpfnMAPIDeleteMail)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
char msg[1024];
char lpszMessageID[512];
lpMapiMessage lpMessage = NULL;
DWORD selected = ListBox_GetCurSel(GetDlgItem(hWnd, ID_LIST_RESULT));
if (selected == LB_ERR)
{
ShowMessage(hWnd, "You need to select a valid message. Make sure\nyou have done a MAPIFindNext and selected\none of the resulting messages.");
return;
}
ListBox_GetText(GetDlgItem(hWnd, ID_LIST_RESULT), selected, lpszMessageID);
char *ptr = strchr( (const char *) lpszMessageID, ':');
if (ptr) *ptr = '\0';
LONG rc = (*lpfnMAPIDeleteMail)
(mapiSession,
(ULONG) hWnd,
lpszMessageID,
0,
0);
// Deal with the return code...
if (rc == SUCCESS_SUCCESS)
{
wsprintf(msg, "Successful deletion");
ShowMessage(hWnd, msg);
SetFooter(msg);
// If it worked, refresh the list...
ShowMessage(hWnd, "The message list will now be refreshed\nsince one message was deleted.");
DoMAPIFindNext(hWnd);
}
else
{
wsprintf(msg, "FAILURE: Return code %d from MAPIDeleteMail\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("Logoff failed");
}
}
// This is for the name lookup stuff...
lpMapiRecipDesc lpRecip = NULL;
void
DoMAPIResolveName(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPIResolveName) (LHANDLE lhSession, ULONG ulUIParam,
LPTSTR lpszName, FLAGS flFlags, ULONG ulReserved,
lpMapiRecipDesc FAR * lppRecip);
#ifdef WIN16
(FARPROC&) lpfnMAPIResolveName = GetProcAddress(m_hInstMapi, "MAPIRESOLVENAME");
#else
(FARPROC&) lpfnMAPIResolveName = GetProcAddress(m_hInstMapi, "MAPIResolveName");
#endif
if (!lpfnMAPIResolveName)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
if (lpRecip != NULL)
{
ShowMessage(hWnd, "We need to free memory from a previous call...");
DoMAPIFreeBuffer(hWnd, lpRecip, TRUE);
lpRecip = NULL;
}
char userName[512];
char msg[1024];
FLAGS flFlags = 0; // We support none...
GetDlgItemText(hWnd, IDC_EDIT_RESOLVENAME, userName, sizeof(userName));
LONG rc = (*lpfnMAPIResolveName)
(mapiSession,
(ULONG) hWnd,
userName,
flFlags,
0,
&lpRecip);
// Deal with error up front and return if need be...
if (rc != SUCCESS_SUCCESS)
{
wsprintf(msg, "FAILURE: Return code %d from DoMAPIResolveName\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("DoMAPIResolveName failed");
return;
}
// If we get here, we should probably show the information that we
// got back
wsprintf(msg, "Received information for %s\nName=[%s]\nAddress=[%s]\nID=[%s]",
userName, lpRecip->lpszName, lpRecip->lpszAddress, (LPSTR) lpRecip->lpEntryID);
ShowMessage(hWnd, msg);
}
void
DoMAPIResolveNameFreeBuffer(HWND hWnd)
{
if (lpRecip == NULL)
{
ShowMessage(hWnd, "There is no memory allocated from MAPIResolveName()\nto be freed. Request ignored.");
}
else
{
DoMAPIFreeBuffer(hWnd, lpRecip, TRUE);
lpRecip = NULL;
}
}
void
DoMAPIDetails(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnMAPIDetails) (LHANDLE lhSession, ULONG ulUIParam,
lpMapiRecipDesc lpRecip, FLAGS flFlags, ULONG ulReserved);
#ifdef WIN16
(FARPROC&) lpfnMAPIDetails = GetProcAddress(m_hInstMapi, "MAPIDetails");
#else
(FARPROC&) lpfnMAPIDetails = GetProcAddress(m_hInstMapi, "MAPIDetails");
#endif
if (!lpfnMAPIDetails)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
char msg[1024];
FLAGS flFlags = 0; // We really don't support these...
LONG rc = (*lpfnMAPIDetails)
(mapiSession,
(ULONG) hWnd,
lpRecip,
flFlags,
0);
if (rc == SUCCESS_SUCCESS)
{
wsprintf(msg, "MAPIDetails call succeeded");
ShowMessage(hWnd, msg);
SetFooter(msg);
}
else
{
wsprintf(msg, "FAILURE: Return code %d from MAPIDetails\nError=[%s]",
rc, GetMAPIError(rc));
if (lpRecip == NULL)
{
lstrcat(msg, "\nNOTE: There is no valid pointer from a MAPIResolveName()\ncall to show details about.");
}
ShowMessage(hWnd, msg);
SetFooter("MAPIDetails failed");
}
}
lpMapiMessage
GetMessage(HWND hWnd, LPSTR id)
{
ULONG (FAR PASCAL *lpfnMAPIReadMail) (LHANDLE lhSession, ULONG ulUIParam,
LPTSTR lpszMessageID, FLAGS flFlags, ULONG ulReserved,
lpMapiMessage FAR * lppMessage);
#ifdef WIN16
(FARPROC&) lpfnMAPIReadMail = GetProcAddress(m_hInstMapi, "MAPIREADMAIL");
#else
(FARPROC&) lpfnMAPIReadMail = GetProcAddress(m_hInstMapi, "MAPIReadMail");
#endif
if (!lpfnMAPIReadMail)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return NULL;
}
char msg[1024];
lpMapiMessage lpMessage = NULL;
FLAGS flFlags = 0;
flFlags |= MAPI_ENVELOPE_ONLY;
LONG rc = (*lpfnMAPIReadMail)
(mapiSession,
(ULONG) hWnd,
id,
flFlags,
0,
&lpMessage);
// Deal with error up front and return if need be...
if (rc != SUCCESS_SUCCESS)
{
wsprintf(msg, "FAILURE: Return code %d from MAPIReadMail\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("ReadMail failed");
return NULL;
}
return(lpMessage);
}
void
LoadNSCPVersionFunc(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnLoadNSCPVersion) ( void );
#ifdef WIN16
(FARPROC&) lpfnLoadNSCPVersion = GetProcAddress(m_hInstMapi, "MAPIGETNERSCAPEVERSION");
#else
(FARPROC&) lpfnLoadNSCPVersion = GetProcAddress(m_hInstMapi, "MAPIGetNetscapeVersion");
#endif
if (!lpfnLoadNSCPVersion)
{
ShowMessage(hWnd, "Unable to locate MAPIGetNetscapeVersion() function.");
}
else
{
ShowMessage(hWnd, "MAPIGetNetscapeVersion() function was FOUND!");
}
return;
}
void
DoMAPI_NSCP_Sync(HWND hWnd)
{
ULONG (FAR PASCAL *lpfnNSCPSync) ( LHANDLE lhSession,
ULONG ulReserved );
#ifdef WIN16
(FARPROC&) lpfnNSCPSync = GetProcAddress(m_hInstMapi, "MAPI_NSCP_SYNCHRONIZECLIENT");
#else
(FARPROC&) lpfnNSCPSync = GetProcAddress(m_hInstMapi, "MAPI_NSCP_SynchronizeClient");
#endif
if (!lpfnNSCPSync)
{
ShowMessage(hWnd, "Unable to locate MAPI function.");
return;
}
LONG rc = (*lpfnNSCPSync) (mapiSession, 0);
char msg[256];
// Deal with error up front and return if need be...
if (rc != SUCCESS_SUCCESS)
{
wsprintf(msg, "FAILURE: Return code %d from MAPI_NSCP_SynchronizeClient\nError=[%s]",
rc, GetMAPIError(rc));
ShowMessage(hWnd, msg);
SetFooter("MAPI_NSCP_SynchronizeClient failed");
return;
}
else
{
wsprintf(msg, "Success for MAPI_NSCP_SynchronizeClient");
ShowMessage(hWnd, msg);
SetFooter("MAPI_NSCP_SynchronizeClient success");
}
}

View File

@@ -1,25 +0,0 @@
# Microsoft Developer Studio Generated Dependency File, included by mapitest.mak
.\main.cpp : \
".\port.h"\
"c:\program files\msdev\vc98\include\basetsd.h"\
.\mapimail.cpp : \
".\port.h"\
"c:\program files\msdev\vc98\include\basetsd.h"\
.\mapiproc.cpp : \
".\port.h"\
"c:\program files\msdev\vc98\include\basetsd.h"\
.\mtest32.rc : \
".\nscicon.ico"\
.\readmail.cpp : \
".\port.h"\
"c:\program files\msdev\vc98\include\basetsd.h"\

View File

@@ -1,121 +0,0 @@
# Microsoft Developer Studio Project File - Name="mapitest" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
CFG=mapitest - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "mapitest.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "mapitest.mak" CFG="mapitest - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "mapitest - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "mapitest - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "mapitest - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
!ELSEIF "$(CFG)" == "mapitest - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
!ENDIF
# Begin Target
# Name "mapitest - Win32 Release"
# Name "mapitest - Win32 Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=.\main.cpp
# End Source File
# Begin Source File
SOURCE=.\mapimail.cpp
# End Source File
# Begin Source File
SOURCE=.\mapiproc.cpp
# End Source File
# Begin Source File
SOURCE=.\mtest32.rc
# End Source File
# Begin Source File
SOURCE=.\readmail.cpp
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# End Group
# Begin Group "Resource Files"
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
# End Group
# End Target
# End Project

View File

@@ -1,29 +0,0 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "mapitest"=.\mapitest.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -1,44 +0,0 @@
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: mapitest - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating command line "rc.exe /l 0x409 /fo"Debug/mtest32.res" /d "_DEBUG" "Y:\mozilla\mailnews\mapi\tests\mapitest\mtest32.rc""
Creating temporary file "C:\TEMP\RSP38A.tmp" with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Fp"Debug/mapitest.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"Y:\mozilla\mailnews\mapi\tests\mapitest\readmail.cpp"
"Y:\mozilla\mailnews\mapi\tests\mapitest\mapimail.cpp"
"Y:\mozilla\mailnews\mapi\tests\mapitest\mapiproc.cpp"
"Y:\mozilla\mailnews\mapi\tests\mapitest\main.cpp"
]
Creating command line "cl.exe @C:\TEMP\RSP38A.tmp"
Creating temporary file "C:\TEMP\RSP38B.tmp" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/mapitest.pdb" /debug /machine:I386 /out:"Debug/mapitest.exe" /pdbtype:sept
.\Debug\readmail.obj
.\Debug\mapimail.obj
.\Debug\mapiproc.obj
.\Debug\mtest32.res
.\Debug\main.obj
]
Creating command line "link.exe @C:\TEMP\RSP38B.tmp"
<h3>Output Window</h3>
Compiling resources...
Compiling...
readmail.cpp
mapimail.cpp
mapiproc.cpp
main.cpp
Linking...
<h3>Results</h3>
mapitest.exe - 0 error(s), 0 warning(s)
</pre>
</body>
</html>

View File

@@ -1,245 +0,0 @@
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
ID_DIALOG DIALOG DISCARDABLE 0, 0, 344, 229
STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Netscape MAPI Test Harness"
MENU ID_MENU
FONT 8, "MS Sans Serif"
BEGIN
GROUPBOX "Open/Close",IDC_STATIC,4,4,336,27
LTEXT "User:",IDC_STATIC,9,17,18,11
EDITTEXT ID_EDIT_USERNAME,28,15,41,12,ES_AUTOHSCROLL
LTEXT "Password:",IDC_STATIC,74,17,38,11
EDITTEXT ID_EDIT_PW,112,15,41,12,ES_PASSWORD | ES_AUTOHSCROLL
PUSHBUTTON "MAPILogon",ID_BUTTON_LOGON,157,13,46,14
PUSHBUTTON "MAPILogoff",ID_BUTTON_LOGOFF,209,13,46,14
GROUPBOX "Mail Operations",IDC_STATIC,4,36,336,142
PUSHBUTTON "MAPIFindNext",ID_BUTTON_FINDNEXT,17,50,57,14
PUSHBUTTON "MAPIDeleteMail",ID_BUTTON_DELETEMAIL,80,50,57,14
PUSHBUTTON "Clear Results",ID_BUTTON_CLEAR,143,50,57,14
PUSHBUTTON "Send Mail",ID_BUTTON_MAIL,206,50,57,14
LISTBOX ID_LIST_RESULT,9,66,325,56,LBS_SORT |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
WS_TABSTOP
GROUPBOX "User Information",IDC_STATIC,4,181,336,28
PUSHBUTTON "MAPIResolveName",ID_BUTTON_RESOLVENAME,9,192,68,14
EDITTEXT IDC_EDIT_RESOLVENAME,82,192,130,14,ES_AUTOHSCROLL
PUSHBUTTON "MAPIDetails",ID_BUTTON_DETAILS,219,192,48,14
LTEXT "",ID_STATIC_RESULT,4,214,336,13,SS_SUNKEN
PUSHBUTTON "MAPIReadMail",ID_BUTTON_READMAIL,34,142,57,14
CONTROL "MAPI_BODY_AS_FILE - Body as attachment",
IDC_CHECK_BODYASFILE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,121,125,188,9
CONTROL "MAPI_ENVELOPE_ONLY - Header information only",
IDC_CHECK_ENVELOPEONLY,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,121,138,188,9
CONTROL "MAPI_PEEK - Don't mark message as read",IDC_CHECK_PEEK,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,121,151,188,9
CONTROL "MAPI_SUPPRESS_ATTACH - Suppress attachments",
IDC_CHECK_SUPPRESSATTACH,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,121,164,188,9
PUSHBUTTON "<- MAPIFreeBuffer",ID_BUTTON_FREEBUFFER,272,192,63,14
PUSHBUTTON "MAPIGetNSCPVersion",ID_BUTTON_NSCPVERSION,261,13,76,14
PUSHBUTTON "Synchronize",ID_BUTTON_SYNC,269,50,57,14
END
ID_DIALOG_MAIL DIALOG DISCARDABLE 0, 0, 285, 246
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Composition"
FONT 8, "MS Sans Serif"
BEGIN
GROUPBOX "Address Information",IDC_STATIC,4,4,275,55
LTEXT "To:",IDC_STATIC,21,19,12,8
EDITTEXT ID_EDIT_TOADDRESS,36,16,239,13,ES_AUTOHSCROLL
EDITTEXT ID_EDIT_CCADDRESS,36,30,239,13,ES_AUTOHSCROLL
EDITTEXT ID_EDIT_BCCADDRESS,36,44,239,13,ES_AUTOHSCROLL
LTEXT "Subject:",IDC_STATIC,5,65,29,9
EDITTEXT ID_EDIT_SUBJECT,36,63,239,13,ES_AUTOHSCROLL
EDITTEXT ID_EDIT_NOTETEXT,4,78,271,72,ES_MULTILINE |
ES_AUTOHSCROLL
GROUPBOX "Attachments",IDC_STATIC,4,153,275,39
EDITTEXT ID_EDIT_ATTACH1,16,162,122,13,ES_AUTOHSCROLL
EDITTEXT ID_EDIT_ATTACH2,16,176,122,13,ES_AUTOHSCROLL
EDITTEXT ID_EDIT_ATTACH3,147,162,122,13,ES_AUTOHSCROLL
EDITTEXT ID_EDIT_ATTACH4,147,175,122,13,ES_AUTOHSCROLL
PUSHBUTTON "MAPISendMail",ID_BUTTON_MAPISENDMAIL,70,204,58,14
PUSHBUTTON "Cancel",IDCANCEL,50,225,84,14
PUSHBUTTON "MAPISendDocuments",ID_BUTTON_MAPISENDDOCUMENTS,132,204,
79,14
CONTROL "Show Dialog",ID_CHECK_SHOWDIALOG,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,8,207,55,9
LTEXT "cc:",IDC_STATIC,22,32,12,8
LTEXT "bcc:",IDC_STATIC,18,47,15,8
GROUPBOX "Send Operations",IDC_STATIC,4,196,275,26
PUSHBUTTON "MAPISaveMail",ID_BUTTON_MAPISAVEMAIL,215,204,57,14
PUSHBUTTON "MAPIAddress",ID_BUTTON_MAPIADDRESS,150,225,84,14
END
ID_DIALOG_READMAIL DIALOG DISCARDABLE 0, 0, 269, 266
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Mail Message"
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "Subject:",IDC_STATIC,5,71,27,9
EDITTEXT IDC_EDIT_SUBJECT,36,69,229,12,ES_AUTOHSCROLL |
ES_READONLY
LISTBOX IDC_LIST_ATTACHMENTS,4,211,261,37,LBS_SORT |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_EDIT_BODYTEXT,4,113,261,85,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY |
ES_WANTRETURN
LISTBOX IDC_LIST_RECIPIENTS,4,29,261,36,LBS_SORT |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
LTEXT "Recipients:",IDC_STATIC,4,19,43,9
LTEXT "Attachments:",IDC_STATIC,4,202,43,9
EDITTEXT IDC_EDIT_DATETIME,36,83,229,12,ES_AUTOHSCROLL |
ES_READONLY
LTEXT "Date:",IDC_STATIC,13,84,19,9
PUSHBUTTON "OK",ID_OK,114,249,42,13
EDITTEXT IDC_EDIT_THREAD,36,97,229,12,ES_AUTOHSCROLL |
ES_READONLY
LTEXT "Thread:",IDC_STATIC,6,99,25,9
LTEXT "From:",IDC_STATIC,4,6,19,9
EDITTEXT IDC_EDIT_FROM,27,4,238,12,ES_AUTOHSCROLL | ES_READONLY
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
ID_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 4
RIGHTMARGIN, 340
VERTGUIDE, 9
VERTGUIDE, 309
TOPMARGIN, 4
BOTTOMMARGIN, 227
HORZGUIDE, 206
END
ID_DIALOG_MAIL, DIALOG
BEGIN
LEFTMARGIN, 4
RIGHTMARGIN, 281
TOPMARGIN, 4
BOTTOMMARGIN, 239
END
ID_DIALOG_READMAIL, DIALOG
BEGIN
LEFTMARGIN, 4
RIGHTMARGIN, 265
TOPMARGIN, 4
BOTTOMMARGIN, 262
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
ID_ICON_APP ICON DISCARDABLE "nscicon.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
ID_MENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "MAPI&FindNext", ID_MENU_MAPIFINDNEXT
MENUITEM "MAPI&ReadMail", ID_MENU_MAPIREADMAIL
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_MENU_MYEXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "MAPI&DeleteMail", ID_MENU_MAPIDELETEMAIL
MENUITEM "&Clear Results", ID_MENU_CLEARRESULTS
END
POPUP "&Help"
BEGIN
MENUITEM "&About...", ID_MENU_MYABOUT
END
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

Binary file not shown.

Before

Width:  |  Height:  |  Size: 766 B

View File

@@ -1,303 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
#ifndef PORT_H
#define PORT_H
#ifdef __cplusplus
extern "C" {
#endif
/*****************************************************************\
* *
* PORT.H *
* *
* Win16/Win32 portability stuff *
* *
* A.Sokolsky *
* 3.10.94 distilled into this header *
* *
\*****************************************************************/
/*
* calling conventions
*/
#include <assert.h>
#ifndef CDECL
#define CDECL __cdecl
#endif // CDECL
#ifndef PASCAL
#define PASCAL __pascal
#endif // PASCAL
#ifdef FASTCALL
#error FASTCALL defined
#endif // FASTCALL
#ifdef NDEBUG
#define FASTCALL __fastcall
#else
#define FASTCALL PASCAL
#endif // NDEBUG
#ifndef HWND2DWORD
# ifdef WIN32
# define HWND2DWORD(X_hWnd) ( (DWORD)(X_hWnd) )
# else // WIN16
# define HWND2DWORD(X_hWnd) ( (DWORD)MAKELONG(((WORD)(X_hWnd)), 0) )
# endif
#endif // HWND2DWORD
/*
* WIN16 - WIN32 compatibility stuff
*/
#ifdef WIN32
# define DLLEXPORT __declspec( dllexport )
# define EXPORT
# define LOADDS
# define HUGE
# ifndef FAR
# define FAR
# endif // FAR
# ifndef NEAR
# define NEAR
# endif // NEAR
# ifdef UNICODE
# define SIZEOF(x) (sizeof(x)/sizeof(WCHAR))
# else
# define SIZEOF(x) sizeof(x)
# endif
#else // !WIN32 == WIN16
# define DLLEXPORT
# define EXPORT __export
# define LOADDS __loadds
# define HUGE __huge
# ifndef FAR
# define FAR __far
# define NEAR __near
# endif // FAR
# define CONST const
# define SIZEOF(x) sizeof(x)
# define CHAR char
# define TCHAR char
# define WCHAR char
# ifndef LPTSTR
# define LPTSTR LPSTR
# endif
# ifndef LPCTSTR
# define LPCTSTR LPCSTR
# endif
# define UNREFERENCED_PARAMETER(x) x;
# ifndef TEXT
# define TEXT(x) x
# endif
# define GetWindowTextW GetWindowText
# define lstrcpyW lstrcpy
# define BN_DBLCLK BN_DOUBLECLICKED // ~~MRJ needed for custom control.
// ~~MRJ begin Win95 backward compat section
# define LPWSTR LPSTR
# define LPCWSTR LPCSTR
// button check state for WIN16
#ifndef BST_UNCHECKED
#define BST_UNCHECKED 0x0000
#endif
#ifndef BST_CHECKED
#define BST_CHECKED 0x0001
#endif
#ifndef WIN95_COMPAT
# define WIN95_COMPAT
#endif
// ~~MRJ end Win95 compat section.
// critical section API stubs
typedef DWORD CRITICAL_SECTION;
typedef CRITICAL_SECTION FAR * LPCRITICAL_SECTION;
#ifdef __cplusplus
inline void InitializeCriticalSection(LPCRITICAL_SECTION lpSection) {}
inline void DeleteCriticalSection(LPCRITICAL_SECTION lpSection) {}
inline void EnterCriticalSection(LPCRITICAL_SECTION lpSection) {}
inline void LeaveCriticalSection(LPCRITICAL_SECTION lpSection) {}
#endif // __cplusplus
// Added for nssock16 ---Neeti
#ifndef ZeroMemory
#include <memory.h>
#define ZeroMemory(PTR, SIZE) memset(PTR, 0, SIZE)
#endif // ZeroMemory
#endif // WIN16
/*
* unix - windows compatibility stuff
*/
typedef DWORD u_int32;
typedef WORD u_int16;
typedef BYTE u_int8;
#ifdef WIN32
typedef short int Bool16;
#else // WIN16
typedef BOOL Bool16;
#endif // WIN16
/*
* Cross Platform Compatibility
*/
#ifndef UNALIGNED
# ifdef _M_ALPHA
# define UNALIGNED __unaligned
# else // !_M_ALPHA
# define UNALIGNED
# endif // !_M_ALPHA
#endif // UNALIGNED
//
// RICHIE - for the Alpha port
//
#ifdef _M_ALPHA
# undef pascal
# undef PASCAL
# if (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED)
# define pascal __stdcall
# define PASCAL __stdcall
# else
# define PASCAL
# endif
#endif
/*
* Useful Types
*/
typedef char HUGE *HPSTR;
typedef const char HUGE *HPCSTR;
typedef unsigned char HUGE *HPBYTE;
typedef WORD HUGE *HPWORD;
typedef UINT FAR *LPUINT;
typedef BOOL (CALLBACK *USERABORTPROC)();
typedef BOOL (CALLBACK *PROGRESSPROC)(UINT uPos, UINT uRange);
typedef int INT; // ~~MRJ a function needed this defined.
typedef MINMAXINFO FAR *LPMINMAXINFO; // ~~MRJ
//
// stuff missing from windows.h
//
#ifndef MAKEWORD
#define MAKEWORD(low, high) ((WORD)(((BYTE)(low)) | (((WORD)((BYTE)(high))) << 8)))
#endif // MAKEWORD
#ifdef WIN32
# ifndef hmemcpy
# define hmemcpy memcpy
# endif // !defined(hmemcpy)
# define _fmemset memset
# include <malloc.h>
#ifdef __cplusplus
inline BOOL IsGDIObject(HGDIOBJ hObj) { return (hObj != 0); }
inline void *_halloc(long num, unsigned int size) { return malloc(num * size); }
inline void _hfree( void *memblock ) { free(memblock); }
/*
inline BOOL IsInstance(HINSTANCE hInst) {
# ifdef WIN32
return (hInst != 0);
# else // WIN16
return (hInst > HINSTANCE_ERROR);
# endif
}
*/
#endif // __cplusplus
WINUSERAPI HANDLE WINAPI LoadImageA(HINSTANCE, LPCSTR, UINT, int, int, UINT);
#endif // WIN32
#ifdef __cplusplus
inline BOOL IsInstance(HINSTANCE hInst) {
# ifdef WIN32
return (hInst != 0);
# else // WIN16
return (hInst > HINSTANCE_ERROR);
# endif
}
inline void SetWindowSmallIcon(HINSTANCE hInst, HWND hWnd, UINT uIconResourceId) {
#ifdef WIN32
# ifndef WM_SETICON
# define WM_SETICON 0x0080
# endif // WM_SETICON
# ifndef IMAGE_ICON
# define IMAGE_ICON 1
# endif
assert(IsWindow(hWnd));
HICON hIcon = (HICON)LoadImageA(hInst, MAKEINTRESOURCE(uIconResourceId), IMAGE_ICON,
16, 16, 0);
if(NULL != hIcon) {
SendMessage(hWnd, WM_SETICON, FALSE, (LPARAM)hIcon);
} else {
HICON hIcon = LoadIcon(hInst, MAKEINTRESOURCE(uIconResourceId));
assert(hIcon != 0);
SendMessage(hWnd, WM_SETICON, FALSE, (LPARAM)hIcon);
}
#endif // WIN32
}
#endif // __cplusplus
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* PORT_H */

View File

@@ -1,137 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1998
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the NPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
//
#include <windows.h>
#include <windowsx.h>
#ifndef MAPI_OLE // Because MSFT doesn't do this for us :-(
#include <mapi.h>
#endif
#include "port.h"
#include "resource.h"
//
// Variables...
//
extern HINSTANCE hInst;
extern HINSTANCE m_hInstMapi;
extern LHANDLE mapiSession;
//
// Forward declarations...
//
extern void ShowMessage(HWND hWnd, LPSTR msg);
extern void SetFooter(LPSTR msg);
extern LPSTR GetMAPIError(LONG errorCode);
lpMapiMessage mailPtr = NULL;
void
ProcessReadMailCommand(HWND hWnd, int id, HWND hCtl, UINT codeNotify)
{
switch (id)
{
case ID_OK:
case IDCANCEL:
EndDialog(hWnd, 0);
break;
default:
break;
}
}
BOOL CALLBACK LOADDS
ReadMailDlgProc(HWND hWndMail, UINT wMsg, WPARAM wParam, LPARAM lParam)
{
switch (wMsg)
{
case WM_INITDIALOG:
{
DWORD i;
// Do everything we need to display the message pointed to by
// mailPtr
if (!mailPtr)
break;
// Start with the basics...
SetDlgItemText(hWndMail, IDC_EDIT_SUBJECT, mailPtr->lpszSubject);
SetDlgItemText(hWndMail, IDC_EDIT_DATETIME, mailPtr->lpszDateReceived);
SetDlgItemText(hWndMail, IDC_EDIT_THREAD, mailPtr->lpszConversationID);
SetDlgItemText(hWndMail, IDC_EDIT_BODYTEXT, mailPtr->lpszNoteText);
char buf[1024];
wsprintf(buf, "%s (%s)", mailPtr->lpOriginator->lpszName,
mailPtr->lpOriginator->lpszAddress);
SetDlgItemText(hWndMail, IDC_EDIT_FROM, buf);
for (i=0; i<mailPtr->nRecipCount; i++)
{
wsprintf(buf, "%s (%s)", mailPtr->lpRecips[i].lpszName,
mailPtr->lpRecips[i].lpszAddress);
ListBox_InsertString(GetDlgItem(hWndMail, IDC_LIST_RECIPIENTS),
ListBox_GetCount(GetDlgItem(hWndMail, IDC_LIST_RECIPIENTS)),
buf);
}
for (i=0; i<mailPtr->nFileCount; i++)
{
ListBox_InsertString(GetDlgItem(hWndMail, IDC_LIST_ATTACHMENTS),
ListBox_GetCount(GetDlgItem(hWndMail, IDC_LIST_ATTACHMENTS)),
mailPtr->lpFiles[i].lpszPathName);
}
}
break;
case WM_COMMAND:
HANDLE_WM_COMMAND(hWndMail, wParam, lParam, ProcessReadMailCommand);
break;
default:
return FALSE;
}
return TRUE;
}
void
DisplayMAPIReadMail(HWND hWnd, lpMapiMessage msgPtr)
{
mailPtr = msgPtr;
DialogBox(hInst, MAKEINTRESOURCE(ID_DIALOG_READMAIL), hWnd,
(DLGPROC)ReadMailDlgProc);
}

View File

@@ -1,108 +0,0 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by mtest32.rc
//
/* -*- 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.
*
* Contributor(s):
*/
#define ID_GUI_MESSAGE1 1
#define ID_BUTTON_MAPIADDRESS 3
#define ID_DIALOG 101
#define ID_ICON_APP 102
#define ID_MENU 104
#define ID_DIALOG_MAIL 105
#define ID_DIALOG_READMAIL 106
#define ID_SETFROMEDIT 1000
#define ID_SETTEXT 1001
#define ID_GETROWS 1001
#define ID_EDIT 1002
#define ID_EDIT_HWND 1002
#define ID_RESOURCETEXT 1003
#define ID_GETTEXT 1003
#define ID_STATIC_RESULT 1004
#define ID_GETVISROWS 1005
#define ID_GETWINID 1006
#define ID_SETROWFOCUS 1007
#define ID_GETROWFOCUS 1008
#define ID_EDIT_ROW 1009
#define ID_LIST_RESULT 1010
#define ID_GETCOLCOUNT 1011
#define ID_BUTTON_LOGON 1011
#define ID_SETROWINVIEW 1012
#define ID_BUTTON_LOGOFF 1012
#define ID_GETNUMCHILDREN 1013
#define ID_EDIT_USERNAME 1013
#define ID_CLEARRESULTS 1014
#define ID_EDIT_PW 1014
#define ID_BUTTON_FINDNEXT 1015
#define ID_BUTTON_CLEAR 1016
#define ID_BUTTON_READMAIL 1017
#define ID_BUTTON_DELETEMAIL 1018
#define IDC_EDIT_RESOLVENAME 1019
#define ID_BUTTON_MAPISENDMAIL 1020
#define ID_BUTTON_NSCPVERSION 1020
#define ID_BUTTON_RESOLVENAME 1021
#define ID_BUTTON_MAPISENDDOCUMENTS 1021
#define ID_EDIT_TOADDRESS 1022
#define ID_EDIT_CCADDRESS 1023
#define ID_BUTTON_DETAILS 1024
#define ID_EDIT_BCCADDRESS 1024
#define ID_EDIT_SUBJECT 1025
#define ID_BUTTON_MAIL 1025
#define ID_BUTTON_FREEBUFFER 1026
#define ID_EDIT_NOTETEXT 1026
#define ID_EDIT_ATTACH1 1027
#define ID_BUTTON_SYNC 1027
#define ID_EDIT_ATTACH2 1028
#define IDC_CHECK_BODYASFILE 1028
#define ID_EDIT_ATTACH3 1029
#define IDC_CHECK_ENVELOPEONLY 1029
#define IDC_LIST_ATTACHMENTS 1029
#define ID_EDIT_ATTACH4 1030
#define IDC_CHECK_PEEK 1030
#define IDC_EDIT_BODYTEXT 1030
#define IDC_CHECK_SUPPRESSATTACH 1031
#define IDC_LIST_RECIPIENTS 1031
#define ID_BUTTON_MAPISAVEMAIL 1031
#define IDC_EDIT_SUBJECT 1032
#define IDC_EDIT_DATETIME 1033
#define ID_OK 1034
#define IDC_EDIT_THREAD 1035
#define ID_CHECK_SHOWDIALOG 1035
#define IDC_EDIT_FROM 1036
#define ID_MENU_MYEXIT 30001
#define ID_MENU_CLEAR 30002
#define ID_MENU_MYABOUT 30003
#define ID_MENU_CLEARRESULTS 30004
#define ID_MENU_MAPIDELETEMAIL 30005
#define ID_MENU_MAPIFINDNEXT 30006
#define ID_MENU_MAPIREADMAIL 30007
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 107
#define _APS_NEXT_COMMAND_VALUE 30008
#define _APS_NEXT_CONTROL_VALUE 1036
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View File

@@ -1,117 +0,0 @@
<?xml version="1.0"?>
<!-- If you modify this file, please also update the following files -->
<!-- mailnews/mapi/resources/content/contents.rdf in the ns tree -->
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<!-- list all the packages being supplied by this jar -->
<RDF:Seq about="urn:mozilla:package:root">
<RDF:li resource="urn:mozilla:package:messenger"/>
</RDF:Seq>
<!-- package information -->
<RDF:Description about="urn:mozilla:package:messenger"
chrome:displayName="Messenger"
chrome:author="mozilla.org"
chrome:name="messenger"
chrome:localeVersion="0.9.4"
chrome:skinVersion="0.9.4">
</RDF:Description>
<!-- overlay information -->
<RDF:Seq about="urn:mozilla:overlays">
<RDF:li resource="chrome://communicator/content/pref/preftree.xul"/>
<RDF:li resource="chrome://communicator/content/pref/pref-appearance.xul"/>
<RDF:li resource="chrome://communicator/content/pref/pref-advanced.xul"/>
<RDF:li resource="chrome://communicator/content/tasksOverlay.xul"/>
<RDF:li resource="chrome://navigator/content/navigatorOverlay.xul"/>
<RDF:li resource="chrome://communicator/content/history/history.xul"/>
<RDF:li resource="chrome://communicator/content/bookmarks/bookmarks.xul"/>
<RDF:li resource="chrome://communicator/content/bookmarks/bm-find.xul"/>
<RDF:li resource="chrome://messenger/content/messenger.xul"/>
<RDF:li resource="chrome://messenger/content/mail3PaneWindowVertLayout.xul"/>
<RDF:li resource="chrome://messenger/content/messengercompose/messengercompose.xul"/>
<RDF:li resource="chrome://messenger/content/addressbook/addressbook.xul"/>
<RDF:li resource="chrome://messenger/content/addressbook/abSelectAddressesDialog.xul"/>
<RDF:li resource="chrome://editor/content/editor.xul"/>
<RDF:li resource="chrome://messenger/content/pref-mailnews.xul"/>
</RDF:Seq>
<!-- messenger preferences branches -->
<RDF:Seq about="chrome://communicator/content/pref/preftree.xul">
<RDF:li>chrome://messenger/content/mailPrefsOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger startup pref -->
<RDF:Seq about="chrome://communicator/content/pref/pref-appearance.xul">
<RDF:li>chrome://messenger/content/mailPrefsOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger js toggle pref -->
<RDF:Seq about="chrome://communicator/content/pref/pref-advanced.xul">
<RDF:li>chrome://messenger/content/mailPrefsOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger taskbar/tasks menu items -->
<RDF:Seq about="chrome://communicator/content/tasksOverlay.xul">
<RDF:li>chrome://messenger/content/mailTasksOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger items for History -->
<RDF:Seq about="chrome://communicator/content/history/history.xul">
<RDF:li>chrome://messenger/content/mailNavigatorOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger items for Bookmarks -->
<RDF:Seq about="chrome://communicator/content/bookmarks/bookmarks.xul">
<RDF:li>chrome://messenger/content/mailNavigatorOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger items for History -->
<RDF:Seq about="chrome://communicator/content/bookmarks/bm-find.xul">
<RDF:li>chrome://messenger/content/mailNavigatorOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger items for Navigator -->
<RDF:Seq about="chrome://navigator/content/navigatorOverlay.xul">
<RDF:li>chrome://messenger/content/mailNavigatorOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger items for Messenger -->
<RDF:Seq about="chrome://messenger/content/messenger.xul">
<RDF:li>chrome://messenger/content/mailMessengerOverlay.xul</RDF:li>
</RDF:Seq>
<RDF:Seq about="chrome://messenger/content/mail3PaneWindowVertLayout.xul">
<RDF:li>chrome://messenger/content/mailMessengerOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger items for Mail Compose -->
<RDF:Seq about="chrome://messenger/content/messengercompose/messengercompose.xul">
<RDF:li>chrome://messenger/content/mailMessengerComposeOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger items for Addressbook -->
<RDF:Seq about="chrome://messenger/content/addressbook/addressbook.xul">
<RDF:li>chrome://messenger/content/mailABOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger items for Select Addresses dialog -->
<RDF:Seq about="chrome://messenger/content/addressbook/abSelectAddressesDialog.xul">
<RDF:li>chrome://messenger/content/mailOverlay.xul</RDF:li>
</RDF:Seq>
<!-- messenger items for Composer -->
<RDF:Seq about="chrome://editor/content/editor.xul">
<RDF:li>chrome://messenger/content/mailEditorOverlay.xul</RDF:li>
</RDF:Seq>
<!-- mapi items for Mail And Newsgroups preferences pane -->
<RDF:Seq about="chrome://messenger/content/pref-mailnews.xul">
<RDF:li>chrome://messenger/content/pref-mailnewsOverlay.xul</RDF:li>
</RDF:Seq>
</RDF:RDF>

View File

@@ -1,4 +0,0 @@
messenger.jar:
content/messenger/pref-mailnewsOverlay.xul
+ content/messenger/contents.rdf
content/messenger/pref-mailnewsOverlay.js

View File

@@ -1,26 +0,0 @@
#!nmake
#
# 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 mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2001 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Srilatha Moturi <srilatha@netscape.com>
#
DEPTH=..\..\..\..
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,14 +0,0 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:chrome="http://www.mozilla.org/rdf/chrome#"
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<!-- mapi items for mailnews preferences -->
<RDF:Seq about="urn:mozilla:overlays">
<RDF:li resource="chrome://messenger/content/pref-mailnews.xul"/>
</RDF:Seq>
<RDF:Seq about="chrome://messenger/content/pref-mailnews.xul">
<RDF:li>chrome://messenger/content/pref-mailnewsOverlay.xul</RDF:li>
</RDF:Seq>
</RDF:RDF>

View File

@@ -1,104 +0,0 @@
/*
* 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 mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 2001 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Srilatha Moturi <srilatha@netscape.com>
*/
function mailnewsOverlayStartup() {
mailnewsOverlayInit();
parent.hPrefWindow.registerOKCallbackFunc(onOK);
if (!("mapiPref" in parent)) {
parent.mapiPref = new Object;
parent.mapiPref.isDefaultMailClient =
document.getElementById("mailnewsEnableMapi").checked;
}
else {
// when we switch between different panes
// set the checkbox based on the saved state
var mailnewsEnableMapi = document.getElementById("mailnewsEnableMapi");
if (parent.mapiPref.isDefaultMailClient)
mailnewsEnableMapi.setAttribute("checked", "true");
else
mailnewsEnableMapi.setAttribute("checked", "false");
}
}
function mailnewsOverlayInit() {
try {
var mapiRegistry = Components.classes[ "@mozilla.org/mapiregistry;1" ].
getService( Components.interfaces.nsIMapiRegistry );
}
catch(ex){
mapiRegistry = null;
}
const prefbase = "system.windows.lock_ui.";
var mailnewsEnableMapi = document.getElementById("mailnewsEnableMapi");
if (mapiRegistry) {
// initialise preference component.
// While the data is coming from the system registry, we use a set
// of parallel preferences to indicate if the ui should be locked.
try {
var prefService = Components.classes["@mozilla.org/preferences-service;1"]
.getService()
.QueryInterface(Components.interfaces.nsIPrefService);
var prefBranch = prefService.getBranch(prefbase);
if (prefBranch && prefBranch.prefIsLocked("default_mail_client")) {
if (prefBranch.getBoolPref("default_mail_client"))
mapiRegistry.setDefaultMailClient();
else
mapiRegistry.unsetDefaultMailClient();
mailnewsEnableMapi.setAttribute("disabled", "true");
}
}
catch(ex) {}
if (mapiRegistry.isDefaultMailClient)
mailnewsEnableMapi.setAttribute("checked", "true");
else
mailnewsEnableMapi.setAttribute("checked", "false");
}
else
mailnewsEnableMapi.setAttribute("disabled", "true");
}
function onEnableMapi() {
// save the state of the checkbox
if ("mapiPref" in parent)
parent.mapiPref.isDefaultMailClient =
document.getElementById("mailnewsEnableMapi").checked;
}
function onOK()
{
try {
var mapiRegistry = Components.classes[ "@mozilla.org/mapiregistry;1" ].
getService( Components.interfaces.nsIMapiRegistry );
}
catch(ex){
mapiRegistry = null;
}
if (mapiRegistry &&
("mapiPref" in parent) &&
(mapiRegistry.isDefaultMailClient != parent.mapiPref.isDefaultMailClient)) {
if (parent.mapiPref.isDefaultMailClient)
mapiRegistry.setDefaultMailClient();
else
mapiRegistry.unsetDefaultMailClient();
}
}

View File

@@ -1,44 +0,0 @@
<?xml version="1.0"?>
<!--
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/
oftware distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF 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) 2001 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
Srilatha Moturi <srilatha@netscape.com>
-->
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % prefMailnewsOverlayDTD SYSTEM "chrome://messenger/locale/pref-mailnewsOverlay.dtd" >
%prefMailnewsOverlayDTD;
]>
<overlay id="prefMailnewsOverlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript">
<![CDATA[
_elementIDs.push("mailnewsEnableMapi");
]]>
</script>
<script type="application/x-javascript" src="chrome://messenger/content/pref-mailnewsOverlay.js"/>
<hbox autostretch="never" id="mapi">
<checkbox id="mailnewsEnableMapi" label="&enableMapi.label;"
accesskey="&enableMapi.accesskey;"
oncommand="onEnableMapi();"
startFunc="mailnewsOverlayStartup();"/>
</hbox>
</overlay>

View File

@@ -1,3 +0,0 @@
en-US.jar:
locale/en-US/messenger/pref-mailnewsOverlay.dtd
locale/en-US/messenger/mapi.properties

View File

@@ -1,26 +0,0 @@
#!nmake
#
# 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 mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2001 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Srilatha Moturi <srilatha@netscape.com>
#
DEPTH=..\..\..\..\..
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,18 +0,0 @@
# Mail Integration Dialog
dialogTitle=%S Mail
dialogText=Do you want to use %S as the default mail application?
checkboxText=Do not display this dialog again
# MAPI Messages
loginText=Please enter your password for %S:
loginTextwithName=Please enter your username and password
loginTitle=%S Mail
PasswordTitle=%S Mail
# MAPI Error Messages
errorMessage=%S Mail could not be set as the default mail application because a registry key could not be updated. Verify with your system administrator that you have write access to your system registry, and then try again.
errorMessageTitle=%S Mail
# MAPI Security Messages
mapiBlindSendWarning=Another application is attempting to send mail using your user profile. Are you sure you want to send mail?
mapiBlindSendDontShowAgain=Warn me whenever other applications try to send mail from me

View File

@@ -1,3 +0,0 @@
<!ENTITY enableMapiTitle.label "When sending mail from other applications">
<!ENTITY enableMapi.label "Use &vendorShortName; Mail as the default mail application.">
<!ENTITY enableMapi.accesskey "u">

View File

@@ -1,28 +0,0 @@
#!nmake
#
# 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 mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2001 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Srilatha Moturi <srilatha@netscape.com>
#
DEPTH=..\..\..\..
DIRS=en-US
include <$(DEPTH)\config\rules.mak>

View File

@@ -1,27 +0,0 @@
#
# 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 mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 2001 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Srilatha Moturi <srilatha@netscape.com>
#
DEPTH=..\..\..
DIRS=content locale
include <$(DEPTH)\config\rules.mak>

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

View File

@@ -0,0 +1,97 @@
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# 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 Bugzilla Bug Tracking System.
#
# 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): Terry Weissman <terry@mozilla.org>
# Myk Melez <myk@mozilla.org>
############################################################################
# Module Initialization
############################################################################
use diagnostics;
use strict;
package Attachment;
# This module requires that its caller have said "require CGI.pl" to import
# relevant functions from that script and its companion globals.pl.
############################################################################
# Functions
############################################################################
sub query
{
# Retrieves and returns an array of attachment records for a given bug.
# This data should be given to attachment/list.atml in an
# "attachments" variable.
my ($bugid) = @_;
my $in_editbugs = &::UserInGroup("editbugs");
# Retrieve a list of attachments for this bug and write them into an array
# of hashes in which each hash represents a single attachment.
&::SendSQL("
SELECT attach_id, creation_ts, mimetype, description, ispatch,
isobsolete, submitter_id
FROM attachments WHERE bug_id = $bugid ORDER BY attach_id
");
my @attachments = ();
while (&::MoreSQLData()) {
my %a;
my $submitter_id;
($a{'attachid'}, $a{'date'}, $a{'contenttype'}, $a{'description'},
$a{'ispatch'}, $a{'isobsolete'}, $submitter_id) = &::FetchSQLData();
# Format the attachment's creation/modification date into a standard
# format (YYYY-MM-DD HH:MM)
if ($a{'date'} =~ /^(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) {
$a{'date'} = "$1-$2-$3 $4:$5";
}
# Retrieve a list of status flags that have been set on the attachment.
&::PushGlobalSQLState();
&::SendSQL("
SELECT name
FROM attachstatuses, attachstatusdefs
WHERE attach_id = $a{'attachid'}
AND attachstatuses.statusid = attachstatusdefs.id
ORDER BY sortkey
");
my @statuses = ();
while (&::MoreSQLData()) {
my ($status) = &::FetchSQLData();
push @statuses , $status;
}
$a{'statuses'} = \@statuses;
&::PopGlobalSQLState();
# We will display the edit link if the user can edit the attachment;
# ie the are the submitter, or they have canedit.
# Also show the link if the user is not logged in - in that cae,
# They'll be prompted later
$a{'canedit'} = ($::userid == 0 || $submitter_id == $::userid ||
$in_editbugs);
push @attachments, \%a;
}
return \@attachments;
}
1;

547
mozilla/webtools/bugzilla/Bug.pm Executable file
View File

@@ -0,0 +1,547 @@
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# 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 Bugzilla Bug Tracking System.
#
# 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): Dawn Endico <endico@mozilla.org>
# Terry Weissman <terry@mozilla.org>
# Chris Yeh <cyeh@bluemartini.com>
use diagnostics;
use strict;
use DBI;
use RelationSet;
use vars qw($unconfirmedstate $legal_keywords);
require "globals.pl";
require "CGI.pl";
package Bug;
use CGI::Carp qw(fatalsToBrowser);
my %ok_field;
for my $key (qw (bug_id product version rep_platform op_sys bug_status
resolution priority bug_severity component assigned_to
reporter bug_file_loc short_desc target_milestone
qa_contact status_whiteboard creation_ts groupset
delta_ts votes whoid usergroupset comment query error) ){
$ok_field{$key}++;
}
# create a new empty bug
#
sub new {
my $type = shift();
my %bug;
# create a ref to an empty hash and bless it
#
my $self = {%bug};
bless $self, $type;
# construct from a hash containing a bug's info
#
if ($#_ == 1) {
$self->initBug(@_);
} else {
confess("invalid number of arguments \($#_\)($_)");
}
# bless as a Bug
#
return $self;
}
# dump info about bug into hash unless user doesn't have permission
# user_id 0 is used when person is not logged in.
#
sub initBug {
my $self = shift();
my ($bug_id, $user_id) = (@_);
my $old_bug_id = $bug_id;
if ((! defined $bug_id) || (!$bug_id) || (!&::detaint_natural($bug_id))) {
# no bug number given
$self->{'bug_id'} = $old_bug_id;
$self->{'error'} = "InvalidBugId";
return $self;
}
# default userid 0, or get DBID if you used an email address
unless (defined $user_id) {
$user_id = 0;
}
else {
if ($user_id =~ /^\@/) {
$user_id = &::DBname_to_id($user_id);
}
}
&::ConnectToDatabase();
&::GetVersionTable();
# this verification should already have been done by caller
# my $loginok = quietly_check_login();
$self->{'whoid'} = $user_id;
&::SendSQL("SELECT groupset FROM profiles WHERE userid=$self->{'whoid'}");
my $usergroupset = &::FetchOneColumn();
if (!$usergroupset) { $usergroupset = '0' }
$self->{'usergroupset'} = $usergroupset;
# Check to see if we can see this bug
if (!&::CanSeeBug($bug_id, $user_id, $usergroupset)) {
# Permission denied to see bug
$self->{'bug_id'} = $old_bug_id;
$self->{'error'} = "PermissionDenied";
return $self;
}
my $query = "";
if ($::driver eq 'mysql') {
$query = "
select
bugs.bug_id, product, version, rep_platform, op_sys, bug_status,
resolution, priority, bug_severity, component, assigned_to, reporter,
bug_file_loc, short_desc, target_milestone, qa_contact,
status_whiteboard, date_format(creation_ts,'%Y-%m-%d %H:%i'),
groupset, delta_ts, sum(votes.count)
from bugs left join votes using(bug_id)
where bugs.bug_id = $bug_id
group by bugs.bug_id";
} elsif ($::driver eq 'Pg') {
$query = "
select
bugs.bug_id, product, version, rep_platform, op_sys, bug_status,
resolution, priority, bug_severity, component, assigned_to, reporter,
bug_file_loc, short_desc, target_milestone, qa_contact,
status_whiteboard, creation_ts,
groupset, delta_ts, sum(votes.count)
from bugs left join votes using(bug_id)
where bugs.bug_id = $bug_id
and (bugs.groupset & int8($usergroupset)) = bugs.groupset
group by bugs.bug_id, product, version, rep_platform, op_sys, bug_status,
resolution, priority, bug_severity, component, assigned_to, reporter,
bug_file_loc, short_desc, target_milestone, qa_contact, status_whiteboard,
creation_ts, groupset, delta_ts";
}
&::SendSQL($query);
my @row;
if (@row = &::FetchSQLData()) {
my $count = 0;
my %fields;
foreach my $field ("bug_id", "product", "version", "rep_platform",
"op_sys", "bug_status", "resolution", "priority",
"bug_severity", "component", "assigned_to", "reporter",
"bug_file_loc", "short_desc", "target_milestone",
"qa_contact", "status_whiteboard", "creation_ts",
"groupset", "delta_ts", "votes") {
$fields{$field} = shift @row;
if ($fields{$field}) {
$self->{$field} = $fields{$field};
}
$count++;
}
} else {
&::SendSQL("select groupset from bugs where bug_id = $bug_id");
if (@row = &::FetchSQLData()) {
$self->{'bug_id'} = $bug_id;
$self->{'error'} = "NotPermitted";
return $self;
} else {
$self->{'bug_id'} = $bug_id;
$self->{'error'} = "NotFound";
return $self;
}
}
$self->{'assigned_to'} = &::DBID_to_name($self->{'assigned_to'});
$self->{'reporter'} = &::DBID_to_name($self->{'reporter'});
my $ccSet = new RelationSet;
$ccSet->mergeFromDB("select who from cc where bug_id=$bug_id");
my @cc = $ccSet->toArrayOfStrings();
if (@cc) {
$self->{'cc'} = \@cc;
}
if (&::Param("useqacontact") && (defined $self->{'qa_contact'}) ) {
my $name = $self->{'qa_contact'} > 0 ? &::DBID_to_name($self->{'qa_contact'}) :"";
if ($name) {
$self->{'qa_contact'} = $name;
}
}
if (@::legal_keywords) {
&::SendSQL("SELECT keyworddefs.name
FROM keyworddefs, keywords
WHERE keywords.bug_id = $bug_id
AND keyworddefs.id = keywords.keywordid
ORDER BY keyworddefs.name");
my @list;
while (&::MoreSQLData()) {
push(@list, &::FetchOneColumn());
}
if (@list) {
$self->{'keywords'} = join(', ', @list);
}
}
&::SendSQL("select attach_id, creation_ts, description
from attachments
where bug_id = $bug_id");
my @attachments;
while (&::MoreSQLData()) {
my ($attachid, $date, $desc) = (&::FetchSQLData());
if ($date =~ /^(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) {
$date = "$3/$4/$2 $5:$6";
my %attach;
$attach{'attachid'} = $attachid;
$attach{'date'} = $date;
$attach{'desc'} = $desc;
push @attachments, \%attach;
}
}
if (@attachments) {
$self->{'attachments'} = \@attachments;
}
&::SendSQL("select bug_id, who, bug_when, thetext
from longdescs
where bug_id = $bug_id");
my @longdescs;
while (&::MoreSQLData()) {
my ($bug_id, $who, $bug_when, $thetext) = (&::FetchSQLData());
my %longdesc;
$longdesc{'who'} = $who;
$longdesc{'bug_when'} = $bug_when;
$longdesc{'thetext'} = $thetext;
push @longdescs, \%longdesc;
}
if (@longdescs) {
$self->{'longdescs'} = \@longdescs;
}
if (&::Param("usedependencies")) {
my @depends = EmitDependList("blocked", "dependson", $bug_id);
if ( @depends ) {
$self->{'dependson'} = \@depends;
}
my @blocks = EmitDependList("dependson", "blocked", $bug_id);
if ( @blocks ) {
$self->{'blocks'} = \@blocks;
}
}
return $self;
}
# given a bug hash, emit xml for it. with file header provided by caller
#
sub emitXML {
( $#_ == 0 ) || confess("invalid number of arguments");
my $self = shift();
my $xml;
if (exists $self->{'error'}) {
$xml .= "<bug error=\"$self->{'error'}\">\n";
$xml .= " <bug_id>$self->{'bug_id'}</bug_id>\n";
$xml .= "</bug>\n";
return $xml;
}
$xml .= "<bug>\n";
foreach my $field ("bug_id", "bug_status", "product",
"priority", "version", "rep_platform", "assigned_to", "delta_ts",
"component", "reporter", "target_milestone", "bug_severity",
"creation_ts", "qa_contact", "op_sys", "resolution", "bug_file_loc",
"short_desc", "keywords", "status_whiteboard") {
if ($self->{$field}) {
$xml .= " <$field>" . QuoteXMLChars($self->{$field}) . "</$field>\n";
}
}
foreach my $field ("dependson", "blocks", "cc") {
if (defined $self->{$field}) {
for (my $i=0 ; $i < @{$self->{$field}} ; $i++) {
$xml .= " <$field>" . $self->{$field}[$i] . "</$field>\n";
}
}
}
if (defined $self->{'longdescs'}) {
for (my $i=0 ; $i < @{$self->{'longdescs'}} ; $i++) {
$xml .= " <long_desc>\n";
$xml .= " <who>" . &::DBID_to_name($self->{'longdescs'}[$i]->{'who'})
. "</who>\n";
$xml .= " <bug_when>" . $self->{'longdescs'}[$i]->{'bug_when'}
. "</bug_when>\n";
$xml .= " <thetext>" . QuoteXMLChars($self->{'longdescs'}[$i]->{'thetext'})
. "</thetext>\n";
$xml .= " </long_desc>\n";
}
}
if (defined $self->{'attachments'}) {
for (my $i=0 ; $i < @{$self->{'attachments'}} ; $i++) {
$xml .= " <attachment>\n";
$xml .= " <attachid>" . $self->{'attachments'}[$i]->{'attachid'}
. "</attachid>\n";
$xml .= " <date>" . $self->{'attachments'}[$i]->{'date'} . "</date>\n";
$xml .= " <desc>" . QuoteXMLChars($self->{'attachments'}[$i]->{'desc'}) . "</desc>\n";
# $xml .= " <type>" . $self->{'attachments'}[$i]->{'type'} . "</type>\n";
# $xml .= " <data>" . $self->{'attachments'}[$i]->{'data'} . "</data>\n";
$xml .= " </attachment>\n";
}
}
$xml .= "</bug>\n";
return $xml;
}
sub EmitDependList {
my ($myfield, $targetfield, $bug_id) = (@_);
my @list;
&::SendSQL("select dependencies.$targetfield, bugs.bug_status
from dependencies, bugs
where dependencies.$myfield = $bug_id
and bugs.bug_id = dependencies.$targetfield
order by dependencies.$targetfield");
while (&::MoreSQLData()) {
my ($i, $stat) = (&::FetchSQLData());
push @list, $i;
}
return @list;
}
sub QuoteXMLChars {
$_[0] =~ s/&/&amp;/g;
$_[0] =~ s/</&lt;/g;
$_[0] =~ s/>/&gt;/g;
$_[0] =~ s/'/&apos;/g;
$_[0] =~ s/"/&quot;/g;
# $_[0] =~ s/([\x80-\xFF])/&XmlUtf8Encode(ord($1))/ge;
return($_[0]);
}
sub XML_Header {
my ($urlbase, $version, $maintainer, $exporter) = (@_);
my $xml;
$xml = "<?xml version=\"1.0\" standalone=\"yes\"?>\n";
$xml .= "<!DOCTYPE bugzilla SYSTEM \"$urlbase";
if (! ($urlbase =~ /.+\/$/)) {
$xml .= "/";
}
$xml .= "bugzilla.dtd\">\n";
$xml .= "<bugzilla";
if (defined $exporter) {
$xml .= " exporter=\"$exporter\"";
}
$xml .= " version=\"$version\"";
$xml .= " urlbase=\"$urlbase\"";
$xml .= " maintainer=\"$maintainer\">\n";
return ($xml);
}
sub XML_Footer {
return ("</bugzilla>\n");
}
sub UserInGroup {
my $self = shift();
my ($groupname) = (@_);
if ($self->{'usergroupset'} eq "0") {
return 0;
}
&::ConnectToDatabase();
&::SendSQL("select (group_bit & int8($self->{'usergroupset'})) != 0 from groups where name = "
. &::SqlQuote($groupname));
my $bit = &::FetchOneColumn();
if ($bit) {
return 1;
}
return 0;
}
sub CanChangeField {
my $self = shift();
my ($f, $oldvalue, $newvalue) = (@_);
my $UserInEditGroupSet = -1;
my $UserInCanConfirmGroupSet = -1;
my $ownerid;
my $reporterid;
my $qacontactid;
if ($f eq "assigned_to" || $f eq "reporter" || $f eq "qa_contact") {
if ($oldvalue =~ /^\d+$/) {
if ($oldvalue == 0) {
$oldvalue = "";
} else {
$oldvalue = &::DBID_to_name($oldvalue);
}
}
}
if ($oldvalue eq $newvalue) {
return 1;
}
if (&::trim($oldvalue) eq &::trim($newvalue)) {
return 1;
}
if ($f =~ /^longdesc/) {
return 1;
}
if ($UserInEditGroupSet < 0) {
$UserInEditGroupSet = UserInGroup($self, "editbugs");
}
if ($UserInEditGroupSet) {
return 1;
}
&::SendSQL("SELECT reporter, assigned_to, qa_contact FROM bugs " .
"WHERE bug_id = $self->{'bug_id'}");
($reporterid, $ownerid, $qacontactid) = (&::FetchSQLData());
# Let reporter change bug status, even if they can't edit bugs.
# If reporter can't re-open their bug they will just file a duplicate.
# While we're at it, let them close their own bugs as well.
if ( ($f eq "bug_status") && ($self->{'whoid'} eq $reporterid) ) {
return 1;
}
if ($f eq "bug_status" && $newvalue ne $::unconfirmedstate &&
&::IsOpenedState($newvalue)) {
# Hmm. They are trying to set this bug to some opened state
# that isn't the UNCONFIRMED state. Are they in the right
# group? Or, has it ever been confirmed? If not, then this
# isn't legal.
if ($UserInCanConfirmGroupSet < 0) {
$UserInCanConfirmGroupSet = &::UserInGroup("canconfirm");
}
if ($UserInCanConfirmGroupSet) {
return 1;
}
&::SendSQL("SELECT everconfirmed FROM bugs WHERE bug_id = $self->{'bug_id'}");
my $everconfirmed = FetchOneColumn();
if ($everconfirmed) {
return 1;
}
} elsif ($reporterid eq $self->{'whoid'} || $ownerid eq $self->{'whoid'} ||
$qacontactid eq $self->{'whoid'}) {
return 1;
}
$self->{'error'} = "
Only the owner or submitter of the bug, or a sufficiently
empowered user, may make that change to the $f field."
}
sub Collision {
my $self = shift();
my $write = "WRITE"; # Might want to make a param to control
# whether we do LOW_PRIORITY ...
if ($::driver eq 'mysql') {
&::SendSQL("LOCK TABLES bugs $write, bugs_activity $write, cc $write, " .
"cc AS selectVisible_cc $write, " .
"profiles $write, dependencies $write, votes $write, " .
"keywords $write, longdescs $write, fielddefs $write, " .
"keyworddefs READ, groups READ, attachments READ, products READ");
}
&::SendSQL("SELECT delta_ts FROM bugs where bug_id=$self->{'bug_id'}");
my $delta_ts = &::FetchOneColumn();
if ($::driver eq 'mysql') {
&::SendSQL("unlock tables");
}
if ($self->{'delta_ts'} ne $delta_ts) {
return 1;
}
else {
return 0;
}
}
sub AppendComment {
my $self = shift();
my ($comment) = (@_);
$comment =~ s/\r\n/\n/g; # Get rid of windows-style line endings.
$comment =~ s/\r/\n/g; # Get rid of mac-style line endings.
if ($comment =~ /^\s*$/) { # Nothin' but whitespace.
return;
}
&::SendSQL("INSERT INTO longdescs (bug_id, who, bug_when, thetext) " .
"VALUES($self->{'bug_id'}, $self->{'whoid'}, now(), " . &::SqlQuote($comment) . ")");
&::SendSQL("UPDATE bugs SET delta_ts = now() WHERE bug_id = $self->{'bug_id'}");
}
#from o'reilley's Programming Perl
sub display {
my $self = shift;
my @keys;
if (@_ == 0) { # no further arguments
@keys = sort keys(%$self);
} else {
@keys = @_; # use the ones given
}
foreach my $key (@keys) {
print "\t$key => $self->{$key}\n";
}
}
sub CommitChanges {
#snapshot bug
#snapshot dependencies
#check can change fields
#check collision
#lock and change fields
#notify through mail
}
sub AUTOLOAD {
use vars qw($AUTOLOAD);
my $self = shift;
my $type = ref($self) || $self;
my $attr = $AUTOLOAD;
$attr =~ s/.*:://;
return unless $attr=~ /[^A-Z]/;
if (@_) {
$self->{$attr} = shift;
return;
}
confess ("invalid bug attribute $attr") unless $ok_field{$attr};
if (defined $self->{$attr}) {
return $self->{$attr};
} else {
return '';
}
}
1;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,16 @@
* This README is no longer used to house installation instructions. Instead,
it contains pointers to where you may find the information you need.
* Installation instructions are now found in docs/, with a variety of document
types available. Please refer to these documents when installing, configuring,
and maintaining your Bugzilla installation. A helpful starting point is
docs/txt/Bugzilla-Guide.txt, or with a web browser at docs/html/index.html.
* Release notes for people upgrading to a new version of Bugzilla are
available at docs/rel_notes.txt.
* If you wish to contribute to the documentation, please read docs/README.docs.
* The Bugzilla web site is at "http://www.mozilla.org/projects/bugzilla/".
This site will contain the latest Bugzilla information, including how to
report bugs and how to get help with Bugzilla.

View File

@@ -0,0 +1,268 @@
#
# 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 Bugzilla Bug Tracking System.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Dan Mosedale <dmose@mozilla.org>
# Terry Weissman <terry@mozilla.org>
# Dave Miller <justdave@syndicomm.com>
# This object models a set of relations between one item and a group
# of other items. An example is the set of relations between one bug
# and the users CCed on that bug. Currently, the relation objects are
# expected to be bugzilla userids. However, this could and perhaps
# should be generalized to work with non userid objects, such as
# keywords associated with a bug. That shouldn't be hard to do; it
# might involve turning this into a virtual base class, and having
# UserSet and KeywordSet types that inherit from it.
use diagnostics;
use strict;
# Everything that uses RelationSet should already have globals.pl loaded
# so we don't want to load it here. Doing so causes a loop in Perl because
# globals.pl turns around and does a 'use RelationSet'
# See http://bugzilla.mozilla.org/show_bug.cgi?id=72862
#require "globals.pl";
package RelationSet;
use CGI::Carp qw(fatalsToBrowser);
# create a new empty RelationSet
#
sub new {
my $type = shift();
# create a ref to an empty hash and bless it
#
my $self = {};
bless $self, $type;
# construct from a comma-delimited string
#
if ($#_ == 0) {
$self->mergeFromString($_[0]);
}
# unless this was a constructor for an empty list, somebody screwed up.
#
elsif ( $#_ != -1 ) {
confess("invalid number of arguments");
}
# bless as a RelationSet
#
return $self;
}
# Assumes that the set of relations "FROM $table WHERE $constantSql and
# $column = $value" is currently represented by $self, and this set should
# be updated to look like $other.
#
# Returns an array of two strings, one INSERT and one DELETE, which will
# make this change. Either or both strings may be the empty string,
# meaning that no INSERT or DELETE or both (respectively) need to be done.
#
# THE CALLER IS RESPONSIBLE FOR ANY DESIRED LOCKING AND/OR CONSISTENCY
# CHECKS (not to mention doing the SendSQL() calls).
#
sub generateSqlDeltas {
($#_ == 5) || confess("invalid number of arguments");
my ( $self, # instance ptr to set representing the existing state
$endState, # instance ptr to set representing the desired state
$table, # table where these relations are kept
$invariantName, # column held const for a RelationSet (often "bug_id")
$invariantValue, # what to hold the above column constant at
$columnName # the column which varies (often a userid)
) = @_;
# construct the insert list by finding relations which exist in the
# end state but not the current state.
#
my @endStateRelations = keys(%$endState);
my @insertList = ();
foreach ( @endStateRelations ) {
push ( @insertList, $_ ) if ( ! exists $$self{"$_"} );
}
# we've built the list. If it's non-null, add required sql chrome.
#
my $sqlInsert="";
if ( $#insertList > -1 ) {
$sqlInsert = "INSERT INTO $table ($invariantName, $columnName) VALUES " .
join (",",
map ( "($invariantValue, $_)" , @insertList )
);
}
# construct the delete list by seeing which relations exist in the
# current state but not the end state
#
my @selfRelations = keys(%$self);
my @deleteList = ();
foreach ( @selfRelations ) {
push (@deleteList, $_) if ( ! exists $$endState{"$_"} );
}
# we've built the list. if it's non-empty, add required sql chrome.
#
my $sqlDelete = "";
if ( $#deleteList > -1 ) {
$sqlDelete = "DELETE FROM $table WHERE $invariantName = $invariantValue " .
"AND $columnName IN ( " . join (",", @deleteList) . " )";
}
return ($sqlInsert, $sqlDelete);
}
# compare the current object with another.
#
sub isEqual {
($#_ == 1) || confess("invalid number of arguments");
my $self = shift();
my $other = shift();
# get arrays of the keys for faster processing
#
my @selfRelations = keys(%$self);
my @otherRelations = keys(%$other);
# make sure the arrays are the same size
#
return 0 if ( $#selfRelations != $#otherRelations );
# bail out if any of the elements are different
#
foreach my $relation ( @selfRelations ) {
return 0 if ( !exists $$other{$relation})
}
# we made it!
#
return 1;
}
# merge the results of a SQL command into this set
#
sub mergeFromDB {
( $#_ == 1 ) || confess("invalid number of arguments");
my $self = shift();
&::SendSQL(shift());
while (my @row = &::FetchSQLData()) {
$$self{$row[0]} = 1;
}
return;
}
# merge a set in string form into this set
#
sub mergeFromString {
($#_ == 1) || confess("invalid number of arguments");
my $self = shift();
# do the merge
#
foreach my $person (split(/[ ,]/, shift())) {
if ($person ne "") {
$$self{&::DBNameToIdAndCheck($person)} = 1;
}
}
}
# remove a set in string form from this set
#
sub removeItemsInString {
($#_ == 1) || confess("invalid number of arguments");
my $self = shift();
# do the merge
#
foreach my $person (split(/[ ,]/, shift())) {
if ($person ne "") {
my $dbid = &::DBNameToIdAndCheck($person);
if (exists $$self{$dbid}) {
delete $$self{$dbid};
}
}
}
}
# remove a set in array form from this set
#
sub removeItemsInArray {
($#_ > 0) || confess("invalid number of arguments");
my $self = shift();
# do the merge
#
while (my $person = shift()) {
if ($person ne "") {
my $dbid = &::DBNameToIdAndCheck($person);
if (exists $$self{$dbid}) {
delete $$self{$dbid};
}
}
}
}
# return the number of elements in this set
#
sub size {
my $self = shift();
my @k = keys(%$self);
return $#k++;
}
# return this set in array form
#
sub toArray {
my $self= shift();
return keys(%$self);
}
# return this set as an array of strings
#
sub toArrayOfStrings {
($#_ == 0) || confess("invalid number of arguments");
my $self = shift();
my @result = ();
foreach my $i ( keys %$self ) {
push @result, &::DBID_to_name($i);
}
return sort { lc($a) cmp lc($b) } @result;
}
# return this set in string form (comma-separated and sorted)
#
sub toString {
($#_ == 0) || confess("invalid number of arguments");
my $self = shift();
my @result = ();
foreach my $i ( keys %$self ) {
push @result, &::DBID_to_name($i);
}
return join(',', sort(@result));
}
1;

View File

@@ -0,0 +1,273 @@
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# 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 Bugzilla Bug Tracking System.
#
# 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): Myk Melez <myk@mozilla.org>
################################################################################
# Module Initialization
################################################################################
# Make it harder for us to do dangerous things in Perl.
use diagnostics;
use strict;
# Bundle the functions in this file together into the "Token" package.
package Token;
use Date::Format;
# This module requires that its caller have said "require CGI.pl" to import
# relevant functions from that script and its companion globals.pl.
################################################################################
# Constants
################################################################################
# The maximum number of days a token will remain valid.
my $maxtokenage = 3;
################################################################################
# Functions
################################################################################
sub IssueEmailChangeToken {
my ($userid, $old_email, $new_email) = @_;
my $token_ts = time();
my $issuedate = time2str("%Y-%m-%d %H:%M", $token_ts);
# Generate a unique token and insert it into the tokens table.
# We have to lock the tokens table before generating the token,
# since the database must be queried for token uniqueness.
&::SendSQL("LOCK TABLES tokens WRITE");
my $token = GenerateUniqueToken();
my $quotedtoken = &::SqlQuote($token);
my $quoted_emails = &::SqlQuote($old_email . ":" . $new_email);
&::SendSQL("INSERT INTO tokens ( userid , issuedate , token ,
tokentype , eventdata )
VALUES ( $userid , '$issuedate' , $quotedtoken ,
'emailold' , $quoted_emails )");
my $newtoken = GenerateUniqueToken();
$quotedtoken = &::SqlQuote($newtoken);
&::SendSQL("INSERT INTO tokens ( userid , issuedate , token ,
tokentype , eventdata )
VALUES ( $userid , '$issuedate' , $quotedtoken ,
'emailnew' , $quoted_emails )");
&::SendSQL("UNLOCK TABLES");
# Mail the user the token along with instructions for using it.
my $template = $::template;
my $vars = $::vars;
$vars->{'oldemailaddress'} = $old_email . &::Param('emailsuffix');
$vars->{'newemailaddress'} = $new_email . &::Param('emailsuffix');
$vars->{'max_token_age'} = $maxtokenage;
$vars->{'token_ts'} = $token_ts;
$vars->{'token'} = $token;
$vars->{'emailaddress'} = $old_email . &::Param('emailsuffix');
my $message;
$template->process("account/email/change-old.txt.tmpl", $vars, \$message)
|| &::ThrowTemplateError($template->error());
open SENDMAIL, "|/usr/lib/sendmail -t -i";
print SENDMAIL $message;
close SENDMAIL;
$vars->{'token'} = $newtoken;
$vars->{'emailaddress'} = $new_email . &::Param('emailsuffix');
$message = "";
$template->process("account/email/change-new.txt.tmpl", $vars, \$message)
|| &::ThrowTemplateError($template->error());
open SENDMAIL, "|/usr/lib/sendmail -t -i";
print SENDMAIL $message;
close SENDMAIL;
}
sub IssuePasswordToken {
# Generates a random token, adds it to the tokens table, and sends it
# to the user with instructions for using it to change their password.
my ($loginname) = @_;
# Retrieve the user's ID from the database.
my $quotedloginname = &::SqlQuote($loginname);
&::SendSQL("SELECT userid FROM profiles WHERE login_name = $quotedloginname");
my ($userid) = &::FetchSQLData();
my $token_ts = time();
my $issuedate = time2str("%Y-%m-%d %H:%M", $token_ts);
# Generate a unique token and insert it into the tokens table.
# We have to lock the tokens table before generating the token,
# since the database must be queried for token uniqueness.
&::SendSQL("LOCK TABLE tokens WRITE") if $::driver eq 'mysql';
my $token = GenerateUniqueToken();
my $quotedtoken = &::SqlQuote($token);
my $quotedipaddr = &::SqlQuote($::ENV{'REMOTE_ADDR'});
&::SendSQL("INSERT INTO tokens ( userid , issuedate , token , tokentype , eventdata )
VALUES ( $userid , '$issuedate' , $quotedtoken , 'password' , $quotedipaddr )");
&::SendSQL("UNLOCK TABLES") if $::driver eq 'mysql';
# Mail the user the token along with instructions for using it.
my $template = $::template;
my $vars = $::vars;
$vars->{'token'} = $token;
$vars->{'emailaddress'} = $loginname . &::Param('emailsuffix');
$vars->{'max_token_age'} = $maxtokenage;
$vars->{'token_ts'} = $token_ts;
my $message = "";
$template->process("account/password/forgotten-password.txt.tmpl",
$vars, \$message)
|| &::ThrowTemplateError($template->error());
open SENDMAIL, "|/usr/lib/sendmail -t -i";
print SENDMAIL $message;
close SENDMAIL;
}
sub CleanTokenTable {
&::SendSQL("LOCK TABLES tokens WRITE") if $::driver eq 'mysql';
if ($::driver eq 'mysql') {
&::SendSQL("DELETE FROM tokens WHERE TO_DAYS(NOW()) - TO_DAYS(issuedate) >= " . $maxtokenage);
} elsif ($::driver eq 'Pg') {
&::SendSQL("DELETE FROM tokens WHERE now() - issuedate >= '$maxtokenage days'");
}
&::SendSQL("UNLOCK TABLES") if $::driver eq 'mysql';
}
sub GenerateUniqueToken {
# Generates a unique random token. Uses &GenerateRandomPassword
# for the tokens themselves and checks uniqueness by searching for
# the token in the "tokens" table. Gives up if it can't come up
# with a token after about one hundred tries.
my $token;
my $duplicate = 1;
my $tries = 0;
while ($duplicate) {
++$tries;
if ($tries > 100) {
&::DisplayError("Something is seriously wrong with the token generation system.");
exit;
}
$token = &::GenerateRandomPassword();
&::SendSQL("SELECT userid FROM tokens WHERE token = " . &::SqlQuote($token));
$duplicate = &::FetchSQLData();
}
return $token;
}
sub Cancel {
# Cancels a previously issued token and notifies the system administrator.
# This should only happen when the user accidentally makes a token request
# or when a malicious hacker makes a token request on behalf of a user.
my ($token, $cancelaction) = @_;
# Quote the token for inclusion in SQL statements.
my $quotedtoken = &::SqlQuote($token);
# Get information about the token being cancelled.
&::SendSQL("SELECT issuedate , tokentype , eventdata , login_name , realname
FROM tokens, profiles
WHERE tokens.userid = profiles.userid
AND token = $quotedtoken");
my ($issuedate, $tokentype, $eventdata, $loginname, $realname) = &::FetchSQLData();
# Get the email address of the Bugzilla maintainer.
my $maintainer = &::Param('maintainer');
# Format the user's real name and email address into a single string.
my $username = $realname ? $realname . " <" . $loginname . ">" : $loginname;
my $template = $::template;
my $vars = $::vars;
$vars->{'emailaddress'} = $username;
$vars->{'maintainer'} = $maintainer;
$vars->{'remoteaddress'} = $::ENV{'REMOTE_ADDR'};
$vars->{'token'} = $token;
$vars->{'tokentype'} = $tokentype;
$vars->{'issuedate'} = $issuedate;
$vars->{'eventdata'} = $eventdata;
$vars->{'cancelaction'} = $cancelaction;
# Notify the user via email about the cancellation.
my $message;
$template->process("account/cancel-token.txt.tmpl", $vars, \$message)
|| &::ThrowTemplateError($template->error());
open SENDMAIL, "|/usr/lib/sendmail -t -i";
print SENDMAIL $message;
close SENDMAIL;
# Delete the token from the database.
&::SendSQL("LOCK TABLE tokens WRITE") if $::driver eq 'mysql';
&::SendSQL("DELETE FROM tokens WHERE token = $quotedtoken");
&::SendSQL("UNLOCK TABLES") if $::driver eq 'mysql';
}
sub HasPasswordToken {
# Returns a password token if the user has one.
my ($userid) = @_;
&::SendSQL("SELECT token FROM tokens
WHERE userid = $userid AND tokentype = 'password' LIMIT 1");
my ($token) = &::FetchSQLData();
return $token;
}
sub HasEmailChangeToken {
# Returns an email change token if the user has one.
my ($userid) = @_;
&::SendSQL("SELECT token FROM tokens
WHERE userid = $userid
AND tokentype = 'emailnew'
OR tokentype = 'emailold' LIMIT 1");
my ($token) = &::FetchSQLData();
return $token;
}
1;

View File

@@ -0,0 +1,3 @@
Please consult The Bugzilla Guide for instructions on how to upgrade
Bugzilla from an older version. The Guide can be found with this
distribution, in docs/html, docs/txt, and docs/sgml.

View File

@@ -0,0 +1,407 @@
This file contains only important changes made to Bugzilla before release
2.8. If you are upgrading from version older than 2.8, please read this file.
If you are upgrading from 2.8 or newer, please read the Installation and
Upgrade instructions in The Bugzilla Guide, found with this distribution in
docs/html, docs/txt, and docs/sgml.
For a complete list of what changes, use Bonsai
(http://cvs-mirror.mozilla.org/webtools/bonsai/cvsqueryform.cgi) to
query the CVS tree. For example,
http://cvs-mirror.mozilla.org/webtools/bonsai/cvsquery.cgi?module=all&branch=HEAD&branchtype=match&dir=mozilla%2Fwebtools%2Fbugzilla&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=week&mindate=&maxdate=&cvsroot=%2Fcvsroot
will tell you what has been changed in the last week.
10/12/99 The CHANGES file is now obsolete! There is a new file called
checksetup.pl. You should get in the habit of running that file every time
you update your installation of Bugzilla. That file will be constantly
updated to automatically update your installation to match any code changes.
If you're curious as to what is going on, changes are commented in that file,
at the end.
Many thanks to Holger Schurig <holgerschurig@nikocity.de> for writing this
script!
10/11/99 Restructured voting database to add a cached value in each
bug recording how many total votes that bug has. While I'm at it, I
removed the unused "area" field from the bugs database. It is
distressing to realize that the bugs table has reached the maximum
number of indices allowed by MySQL (16), which may make future
enhancements awkward.
You must feed the following to MySQL:
alter table bugs drop column area;
alter table bugs add column votes mediumint not null, add index (votes);
You then *must* delete the data/versioncache file when you make this
change, as it contains references to the "area" field. Deleting it is safe,
bugzilla will correctly regenerate it.
If you have been using the voting feature at all, then you will then
need to update the voting cache. You can do this by visiting the
sanitycheck.cgi page, and taking it up on its offer to rebuild the
votes stuff.
10/7/99 Added voting ability. You must run the new script
"makevotestable.sh". You must also feed the following to mysql:
alter table products add column votesperuser smallint not null;
9/15/99 Apparently, newer alphas of MySQL won't allow you to have
"when" as a column name. So, I have had to rename a column in the
bugs_activity table. You must feed the below to mysql or you won't
work at all.
alter table bugs_activity change column when bug_when datetime not null;
8/16/99 Added "OpenVMS" to the list of OS's. Feed this to mysql:
alter table bugs change column op_sys op_sys enum("All", "Windows 3.1", "Windows 95", "Windows 98", "Windows NT", "Mac System 7", "Mac System 7.5", "Mac System 7.6.1", "Mac System 8.0", "Mac System 8.5", "Mac System 8.6", "AIX", "BSDI", "HP-UX", "IRIX", "Linux", "FreeBSD", "OSF/1", "Solaris", "SunOS", "Neutrino", "OS/2", "BeOS", "OpenVMS", "other") not null;
6/22/99 Added an entry to the attachments table to record who the submitter
was. Nothing uses this yet, but it still should be recorded.
alter table attachments add column submitter_id mediumint not null;
You should also run this script to populate the new field:
#!/usr/bonsaitools/bin/perl -w
use diagnostics;
use strict;
require "globals.pl";
$|=1;
ConnectToDatabase();
SendSQL("select bug_id, attach_id from attachments order by bug_id");
my @list;
while (MoreSQLData()) {
my @row = FetchSQLData();
push(@list, \@row);
}
foreach my $ref (@list) {
my ($bug, $attach) = (@$ref);
SendSQL("select long_desc from bugs where bug_id = $bug");
my $comment = FetchOneColumn() . "Created an attachment (id=$attach)";
if ($comment =~ m@-* Additional Comments From ([^ ]*)[- 0-9/:]*\nCreated an attachment \(id=$attach\)@) {
print "Found $1\n";
SendSQL("select userid from profiles where login_name=" .
SqlQuote($1));
my $userid = FetchOneColumn();
if (defined $userid && $userid > 0) {
SendSQL("update attachments set submitter_id=$userid where attach_id = $attach");
}
} else {
print "Bug $bug can't find comment for attachment $attach\n";
}
}
6/14/99 Added "BeOS" to the list of OS's. Feed this to mysql:
alter table bugs change column op_sys op_sys enum("All", "Windows 3.1", "Windows 95", "Windows 98", "Windows NT", "Mac System 7", "Mac System 7.5", "Mac System 7.6.1", "Mac System 8.0", "Mac System 8.5", "Mac System 8.6", "AIX", "BSDI", "HP-UX", "IRIX", "Linux", "FreeBSD", "OSF/1", "Solaris", "SunOS", "Neutrino", "OS/2", "BeOS", "other") not null;
5/27/99 Added support for dependency information. You must run the new
"makedependenciestable.sh" script. You can turn off dependencies with the new
"usedependencies" param, but it defaults to being on. Also, read very
carefully the description for the new "webdotbase" param; you will almost
certainly need to tweak it.
5/24/99 Added "Mac System 8.6" and "Neutrino" to the list of OS's.
Feed this to mysql:
alter table bugs change column op_sys op_sys enum("All", "Windows 3.1", "Windows 95", "Windows 98", "Windows NT", "Mac System 7", "Mac System 7.5", "Mac System 7.6.1", "Mac System 8.0", "Mac System 8.5", "Mac System 8.6", "AIX", "BSDI", "HP-UX", "IRIX", "Linux", "FreeBSD", "OSF/1", "Solaris", "SunOS", "Neutrino", "OS/2", "other") not null;
5/12/99 Added a pref to control how much email you get. This needs a new
column in the profiles table, so feed the following to mysql:
alter table profiles add column emailnotification enum("ExcludeSelfChanges", "CConly", "All") not null default "ExcludeSelfChanges";
5/5/99 Added the ability to search by creation date. To make this perform
well, you ought to do the following:
alter table bugs change column creation_ts creation_ts datetime not null, add index (creation_ts);
4/30/99 Added a new severity, "blocker". To get this into your running
Bugzilla, do the following:
alter table bugs change column bug_severity bug_severity enum("blocker", "critical", "major", "normal", "minor", "trivial", "enhancement") not null;
4/22/99 There was a bug where the long descriptions of bugs had a variety of
newline characters at the end, depending on the operating system of the browser
that submitted the text. This bug has been fixed, so that no further changes
like that will happen. But to fix problems that have already crept into your
database, you can run the following perl script (which is slow and ugly, but
does work:)
#!/usr/bonsaitools/bin/perl -w
use diagnostics;
use strict;
require "globals.pl";
$|=1;
ConnectToDatabase();
SendSQL("select bug_id from bugs order by bug_id");
my @list;
while (MoreSQLData()) {
push(@list, FetchOneColumn());
}
foreach my $id (@list) {
if ($id % 50 == 0) {
print "\n$id ";
}
SendSQL("select long_desc from bugs where bug_id = $id");
my $comment = FetchOneColumn();
my $orig = $comment;
$comment =~ s/\r\n/\n/g; # Get rid of windows-style line endings.
$comment =~ s/\r/\n/g; # Get rid of mac-style line endings.
if ($comment ne $orig) {
SendSQL("update bugs set long_desc = " . SqlQuote($comment) .
" where bug_id = $id");
print ".";
} else {
print "-";
}
}
4/8/99 Added ability to store patches with bugs. This requires a new table
to store the data, so you will need to run the "makeattachmenttable.sh" script.
3/25/99 Unfortunately, the HTML::FromText CPAN module had too many bugs, and
so I had to roll my own. We no longer use the HTML::FromText CPAN module.
3/24/99 (This entry has been removed. It used to say that we required the
HTML::FromText CPAN module, but that's no longer true.)
3/22/99 Added the ability to query by fields which have changed within a date
range. To make this perform a bit better, we need a new index:
alter table bugs_activity add index (field);
3/10/99 Added 'groups' stuff, where we have different group bits that we can
put on a person or on a bug. Some of the group bits control access to bugzilla
features. And a person can't access a bug unless he has every group bit set
that is also set on the bug. See the comments in makegroupstable.sh for a bit
more info.
The 'maintainer' param is now used only as an email address for people to send
complaints to. The groups table is what is now used to determine permissions.
You will need to run the new script "makegroupstable.sh". And then you need to
feed the following lines to MySQL (replace XXX with the login name of the
maintainer, the person you wish to be all-powerful).
alter table bugs add column groupset bigint not null;
alter table profiles add column groupset bigint not null;
update profiles set groupset=0x7fffffffffffffff where login_name = XXX;
3/8/99 Added params to control how priorities are set in a new bug. You can
now choose whether to let submitters of new bugs choose a priority, or whether
they should just accept the default priority (which is now no longer hardcoded
to "P2", but is instead a param.) The default value of the params will cause
the same behavior as before.
3/3/99 Added a "disallownew" field to the products table. If non-zero, then
don't let people file new bugs against this product. (This is for when a
product is retired, but you want to keep the bug reports around for posterity.)
Feed this to MySQL:
alter table products add column disallownew tinyint not null;
2/8/99 Added FreeBSD to the list of OS's. Feed this to MySQL:
alter table bugs change column op_sys op_sys enum("All", "Windows 3.1", "Windows 95", "Windows 98", "Windows NT", "Mac System 7", "Mac System 7.5", "Mac System 7.6.1", "Mac System 8.0", "Mac System 8.5", "AIX", "BSDI", "HP-UX", "IRIX", "Linux", "FreeBSD", "OSF/1", "Solaris", "SunOS", "OS/2", "other") not null;
2/4/99 Added a new column "description" to the components table, and added
links to a new page which will use this to describe the components of a
given product. Feed this to MySQL:
alter table components add column description mediumtext not null;
2/3/99 Added a new column "initialqacontact" to the components table that gives
an initial QA contact field. It may be empty if you wish the initial qa
contact to be empty. If you're not using the QA contact field, you don't need
to add this column, but you might as well be safe and add it anyway:
alter table components add column initialqacontact tinytext not null;
2/2/99 Added a new column "milestoneurl" to the products table that gives a URL
which is to describe the currently defined milestones for a product. If you
don't use target milestone, you might be able to get away without adding this
column, but you might as well be safe and add it anyway:
alter table products add column milestoneurl tinytext not null;
1/29/99 Whoops; had a misspelled op_sys. It was "Mac System 7.1.6"; it should
be "Mac System 7.6.1". It turns out I had no bugs with this value set, so I
could just do the below simple command. If you have bugs with this value, you
may need to do something more complicated.
alter table bugs change column op_sys op_sys enum("All", "Windows 3.1", "Windows 95", "Windows 98", "Windows NT", "Mac System 7", "Mac System 7.5", "Mac System 7.6.1", "Mac System 8.0", "Mac System 8.5", "AIX", "BSDI", "HP-UX", "IRIX", "Linux", "OSF/1", "Solaris", "SunOS", "OS/2", "other") not null;
1/20/99 Added new fields: Target Milestone, QA Contact, and Status Whiteboard.
These fields are all optional in the UI; there are parameters to turn them on.
However, whether or not you use them, the fields need to be in the DB. There
is some code that needs them, even if you don't.
To update your DB to have these fields, send the following to MySQL:
alter table bugs add column target_milestone varchar(20) not null,
add column qa_contact mediumint not null,
add column status_whiteboard mediumtext not null,
add index (target_milestone), add index (qa_contact);
1/18/99 You can now query by CC. To make this perform reasonably, the CC table
needs some indices. The following MySQL does the necessary stuff:
alter table cc add index (bug_id), add index (who);
1/15/99 The op_sys field can now be queried by (and more easily tweaked).
To make this perform reasonably, it needs an index. The following MySQL
command will create the necessary index:
alter table bugs add index (op_sys);
12/2/98 The op_sys and rep_platform fields have been tweaked. op_sys
is now an enum, rather than having the legal values all hard-coded in
perl. rep_platform now no longer allows a value of "X-Windows".
Here's how I ported to the new world. This ought to work for you too.
Actually, it's probably overkill. I had a lot of illegal values for op_sys
in my tables, from importing bugs from strange places. If you haven't done
anything funky, then much of the below will be a no-op.
First, send the following commands to MySQL to make sure all your values for
rep_platform and op_sys are legal in the new world..
update bugs set rep_platform="Sun" where rep_platform="X-Windows" and op_sys like "Solaris%";
update bugs set rep_platform="SGI" where rep_platform="X-Windows" and op_sys = "IRIX";
update bugs set rep_platform="SGI" where rep_platform="X-Windows" and op_sys = "HP-UX";
update bugs set rep_platform="DEC" where rep_platform="X-Windows" and op_sys = "OSF/1";
update bugs set rep_platform="PC" where rep_platform="X-Windows" and op_sys = "Linux";
update bugs set rep_platform="other" where rep_platform="X-Windows";
update bugs set rep_platform="other" where rep_platform="";
update bugs set op_sys="Mac System 7" where op_sys="System 7";
update bugs set op_sys="Mac System 7.5" where op_sys="System 7.5";
update bugs set op_sys="Mac System 8.0" where op_sys="8.0";
update bugs set op_sys="OSF/1" where op_sys="Digital Unix 4.0";
update bugs set op_sys="IRIX" where op_sys like "IRIX %";
update bugs set op_sys="HP-UX" where op_sys like "HP-UX %";
update bugs set op_sys="Windows NT" where op_sys like "NT %";
update bugs set op_sys="OSF/1" where op_sys like "OSF/1 %";
update bugs set op_sys="Solaris" where op_sys like "Solaris %";
update bugs set op_sys="SunOS" where op_sys like "SunOS%";
update bugs set op_sys="other" where op_sys = "Motif";
update bugs set op_sys="other" where op_sys = "Other";
Next, send the following commands to make sure you now have only legal
entries in your table. If either of the queries do not come up empty, then
you have to do more stuff like the above.
select bug_id,op_sys,rep_platform from bugs where rep_platform not regexp "^(All|DEC|HP|Macintosh|PC|SGI|Sun|X-Windows|Other)$";
select bug_id,op_sys,rep_platform from bugs where op_sys not regexp "^(All|Windows 3.1|Windows 95|Windows 98|Windows NT|Mac System 7|Mac System 7.5|Mac System 7.1.6|Mac System 8.0|AIX|BSDI|HP-UX|IRIX|Linux|OSF/1|Solaris|SunOS|other)$";
Finally, once that's all clear, alter the table to make enforce the new legal
entries:
alter table bugs change column op_sys op_sys enum("All", "Windows 3.1", "Windows 95", "Windows 98", "Windows NT", "Mac System 7", "Mac System 7.5", "Mac System 7.1.6", "Mac System 8.0", "AIX", "BSDI", "HP-UX", "IRIX", "Linux", "OSF/1", "Solaris", "SunOS", "other") not null, change column rep_platform rep_platform enum("All", "DEC", "HP", "Macintosh", "PC", "SGI", "Sun", "Other");
11/20/98 Added searching of CC field. To better support this, added
some indexes to the CC table. You probably want to execute the following
mysql commands:
alter table cc add index (bug_id);
alter table cc add index (who);
10/27/98 security check for legal products in place. bug charts are not
available as an option if collectstats.pl has never been run. all products
get daily stats collected now. README updated: Chart::Base is listed as
a requirement, instructions for using collectstats.pl included as
an optional step. also got silly and added optional quips to bug
reports.
10/17/98 modified README installation instructions slightly.
10/7/98 Added a new table called "products". Right now, this is used
only to have a description for each product, and that description is
only used when initially adding a new bug. Anyway, you *must* create
the new table (which you can do by running the new makeproducttable.sh
script). If you just leave it empty, things will work much as they
did before, or you can add descriptions for some or all of your
products.
9/15/98 Everything has been ported to Perl. NO MORE TCL. This
transition should be relatively painless, except for the "params"
file. This is the file that contains parameters you've set up on the
editparams.cgi page. Before changing to Perl, this was a tcl-syntax
file, stored in the same directory as the code; after the change to
Perl, it becomes a perl-syntax file, stored in a subdirectory named
"data". See the README file for more details on what version of Perl
you need.
So, if updating from an older version of Bugzilla, you will need to
edit data/param, change the email address listed for
$::param{'maintainer'}, and then go revisit the editparams.cgi page
and reset all the parameters to your taste. Fortunately, your old
params file will still be around, and so you ought to be able to
cut&paste important bits from there.
Also, note that the "whineatnews" script has changed name (it now has
an extension of .pl instead of .tcl), so you'll need to change your
cron job.
And the "comments" file has been moved to the data directory. Just do
"cat comments >> data/comments" to restore any old comments that may
have been lost.
9/2/98 Changed the way password validation works. We now keep a
crypt'd version of the password in the database, and check against
that. (This is silly, because we're also keeping the plaintext
version there, but I have plans...) Stop passing the plaintext
password around as a cookie; instead, we have a cookie that references
a record in a new database table, logincookies.
IMPORTANT: if updating from an older version of Bugzilla, you must run
the following commands to keep things working:
./makelogincookiestable.sh
echo "alter table profiles add column cryptpassword varchar(64);" | mysql bugs
echo "update profiles set cryptpassword = encrypt(password,substring(rand(),3, 4));" | mysql bugs

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@@ -0,0 +1,792 @@
#!/usr/bonsaitools/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# 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 Bugzilla Bug Tracking System.
#
# 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): Terry Weissman <terry@mozilla.org>
# Myk Melez <myk@mozilla.org>
################################################################################
# Script Initialization
################################################################################
# Make it harder for us to do dangerous things in Perl.
use diagnostics;
use strict;
use lib qw(.);
use vars qw(
$template
$vars
);
# Include the Bugzilla CGI and general utility library.
require "CGI.pl";
# Establish a connection to the database backend.
ConnectToDatabase();
# Check whether or not the user is logged in and, if so, set the $::userid
# and $::usergroupset variables.
quietly_check_login();
################################################################################
# Main Body Execution
################################################################################
# All calls to this script should contain an "action" variable whose value
# determines what the user wants to do. The code below checks the value of
# that variable and runs the appropriate code.
# Determine whether to use the action specified by the user or the default.
my $action = $::FORM{'action'} || 'view';
if ($action eq "view")
{
validateID();
view();
}
elsif ($action eq "viewall")
{
ValidateBugID($::FORM{'bugid'});
viewall();
}
elsif ($action eq "enter")
{
confirm_login();
ValidateBugID($::FORM{'bugid'});
enter();
}
elsif ($action eq "insert")
{
confirm_login();
ValidateBugID($::FORM{'bugid'});
ValidateComment($::FORM{'comment'});
validateFilename();
validateData();
validateDescription();
validateIsPatch();
validateContentType() unless $::FORM{'ispatch'};
validateObsolete() if $::FORM{'obsolete'};
insert();
}
elsif ($action eq "edit")
{
quietly_check_login();
validateID();
validateCanEdit($::FORM{'id'});
edit();
}
elsif ($action eq "update")
{
confirm_login();
ValidateComment($::FORM{'comment'});
validateID();
validateCanEdit($::FORM{'id'});
validateDescription();
validateIsPatch();
validateContentType() unless $::FORM{'ispatch'};
validateIsObsolete();
validateStatuses();
update();
}
else
{
DisplayError("I could not figure out what you wanted to do.")
}
exit;
################################################################################
# Data Validation / Security Authorization
################################################################################
sub validateID
{
# Validate the value of the "id" form field, which must contain an
# integer that is the ID of an existing attachment.
detaint_natural($::FORM{'id'})
|| DisplayError("You did not enter a valid attachment number.")
&& exit;
# Make sure the attachment exists in the database.
SendSQL("SELECT bug_id FROM attachments WHERE attach_id = $::FORM{'id'}");
MoreSQLData()
|| DisplayError("Attachment #$::FORM{'id'} does not exist.")
&& exit;
# Make sure the user is authorized to access this attachment's bug.
my ($bugid) = FetchSQLData();
ValidateBugID($bugid);
}
sub validateCanEdit
{
my ($attach_id) = (@_);
# If the user is not logged in, claim that they can edit. This allows
# the edit scrren to be displayed to people who aren't logged in.
# People not logged in can't actually commit changes, because that code
# calls confirm_login, not quietly_check_login, before calling this sub
return if $::userid == 0;
# People in editbugs can edit all attachments
return if UserInGroup("editbugs");
# Bug 97729 - the submitter can edit their attachments
SendSQL("SELECT attach_id FROM attachments WHERE " .
"attach_id = $attach_id AND submitter_id = $::userid");
FetchSQLData()
|| DisplayError("You are not authorised to edit attachment #$attach_id")
&& exit;
}
sub validateDescription
{
$::FORM{'description'}
|| DisplayError("You must enter a description for the attachment.")
&& exit;
}
sub validateIsPatch
{
# Set the ispatch flag to zero if it is undefined, since the UI uses
# an HTML checkbox to represent this flag, and unchecked HTML checkboxes
# do not get sent in HTML requests.
$::FORM{'ispatch'} = $::FORM{'ispatch'} ? 1 : 0;
# Set the content type to text/plain if the attachment is a patch.
$::FORM{'contenttype'} = "text/plain" if $::FORM{'ispatch'};
}
sub validateContentType
{
if (!$::FORM{'contenttypemethod'})
{
DisplayError("You must choose a method for determining the content type,
either <em>auto-detect</em>, <em>select from list</em>, or <em>enter
manually</em>.");
exit;
}
elsif ($::FORM{'contenttypemethod'} eq 'autodetect')
{
# The user asked us to auto-detect the content type, so use the type
# specified in the HTTP request headers.
if ( !$::FILE{'data'}->{'contenttype'} )
{
DisplayError("You asked Bugzilla to auto-detect the content type, but
your browser did not specify a content type when uploading the file,
so you must enter a content type manually.");
exit;
}
$::FORM{'contenttype'} = $::FILE{'data'}->{'contenttype'};
}
elsif ($::FORM{'contenttypemethod'} eq 'list')
{
# The user selected a content type from the list, so use their selection.
$::FORM{'contenttype'} = $::FORM{'contenttypeselection'};
}
elsif ($::FORM{'contenttypemethod'} eq 'manual')
{
# The user entered a content type manually, so use their entry.
$::FORM{'contenttype'} = $::FORM{'contenttypeentry'};
}
else
{
my $htmlcontenttypemethod = html_quote($::FORM{'contenttypemethod'});
DisplayError("Your form submission got corrupted somehow. The <em>content
method</em> field, which specifies how the content type gets determined,
should have been either <em>autodetect</em>, <em>list</em>,
or <em>manual</em>, but was instead <em>$htmlcontenttypemethod</em>.");
exit;
}
if ( $::FORM{'contenttype'} !~ /^(application|audio|image|message|model|multipart|text|video)\/.+$/ )
{
my $htmlcontenttype = html_quote($::FORM{'contenttype'});
DisplayError("The content type <em>$htmlcontenttype</em> is invalid.
Valid types must be of the form <em>foo/bar</em> where <em>foo</em>
is either <em>application, audio, image, message, model, multipart,
text,</em> or <em>video</em>.");
exit;
}
}
sub validateIsObsolete
{
# Set the isobsolete flag to zero if it is undefined, since the UI uses
# an HTML checkbox to represent this flag, and unchecked HTML checkboxes
# do not get sent in HTML requests.
$::FORM{'isobsolete'} = $::FORM{'isobsolete'} ? 1 : 0;
}
sub validateStatuses
{
# Get a list of attachment statuses that are valid for this attachment.
PushGlobalSQLState();
SendSQL("SELECT attachstatusdefs.id
FROM attachments, bugs, attachstatusdefs
WHERE attachments.attach_id = $::FORM{'id'}
AND attachments.bug_id = bugs.bug_id
AND attachstatusdefs.product = bugs.product");
my @statusdefs;
push(@statusdefs, FetchSQLData()) while MoreSQLData();
PopGlobalSQLState();
foreach my $status (@{$::MFORM{'status'}})
{
grep($_ == $status, @statusdefs)
|| DisplayError("One of the statuses you entered is not a valid status
for this attachment.")
&& exit;
# We have tested that the status is valid, so it can be detainted
detaint_natural($status);
}
}
sub validateData
{
$::FORM{'data'}
|| DisplayError("The file you are trying to attach is empty!")
&& exit;
my $len = length($::FORM{'data'});
my $maxpatchsize = Param('maxpatchsize');
my $maxattachmentsize = Param('maxattachmentsize');
# Makes sure the attachment does not exceed either the "maxpatchsize" or
# the "maxattachmentsize" parameter.
if ( $::FORM{'ispatch'} && $maxpatchsize && $len > $maxpatchsize*1024 )
{
my $lenkb = sprintf("%.0f", $len/1024);
DisplayError("The file you are trying to attach is ${lenkb} kilobytes (KB) in size.
Patches cannot be more than ${maxpatchsize}KB in size.
Try breaking your patch into several pieces.");
exit;
} elsif ( !$::FORM{'ispatch'} && $maxattachmentsize && $len > $maxattachmentsize*1024 ) {
my $lenkb = sprintf("%.0f", $len/1024);
DisplayError("The file you are trying to attach is ${lenkb} kilobytes (KB) in size.
Non-patch attachments cannot be more than ${maxattachmentsize}KB.
If your attachment is an image, try converting it to a compressable
format like JPG or PNG, or put it elsewhere on the web and
link to it from the bug's URL field or in a comment on the bug.");
exit;
}
}
sub validateFilename
{
defined $::FILE{'data'}
|| DisplayError("You did not specify a file to attach.")
&& exit;
}
sub validateObsolete
{
# Make sure the attachment id is valid and the user has permissions to view
# the bug to which it is attached.
foreach my $attachid (@{$::MFORM{'obsolete'}}) {
detaint_natural($attachid)
|| DisplayError("The attachment number of one of the attachments
you wanted to obsolete is invalid.")
&& exit;
SendSQL("SELECT bug_id, isobsolete, description
FROM attachments WHERE attach_id = $attachid");
# Make sure the attachment exists in the database.
MoreSQLData()
|| DisplayError("Attachment #$attachid does not exist.")
&& exit;
my ($bugid, $isobsolete, $description) = FetchSQLData();
if ($bugid != $::FORM{'bugid'})
{
$description = html_quote($description);
DisplayError("Attachment #$attachid ($description) is attached
to bug #$bugid, but you tried to flag it as obsolete while
creating a new attachment to bug #$::FORM{'bugid'}.");
exit;
}
if ( $isobsolete )
{
$description = html_quote($description);
DisplayError("Attachment #$attachid ($description) is already obsolete.");
exit;
}
# Check that the user can modify this attachment
validateCanEdit($attachid);
}
}
################################################################################
# Functions
################################################################################
sub view
{
# Display an attachment.
# Retrieve the attachment content and its content type from the database.
SendSQL("SELECT mimetype, thedata FROM attachments WHERE attach_id = $::FORM{'id'}");
my ($contenttype, $thedata) = FetchSQLData();
# Return the appropriate HTTP response headers.
print "Content-Type: $contenttype\n\n";
print $thedata;
}
sub viewall
{
# Display all attachments for a given bug in a series of IFRAMEs within one HTML page.
# Retrieve the attachments from the database and write them into an array
# of hashes where each hash represents one attachment.
SendSQL("SELECT attach_id, creation_ts, mimetype, description, ispatch, isobsolete
FROM attachments WHERE bug_id = $::FORM{'bugid'} ORDER BY attach_id");
my @attachments; # the attachments array
while (MoreSQLData())
{
my %a; # the attachment hash
($a{'attachid'}, $a{'date'}, $a{'contenttype'},
$a{'description'}, $a{'ispatch'}, $a{'isobsolete'}) = FetchSQLData();
# Format the attachment's creation/modification date into something readable.
if ($a{'date'} =~ /^(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) {
$a{'date'} = "$3/$4/$2&nbsp;$5:$6";
}
# Flag attachments as to whether or not they can be viewed (as opposed to
# being downloaded). Currently I decide they are viewable if their MIME type
# is either text/*, image/*, or application/vnd.mozilla.*.
# !!! Yuck, what an ugly hack. Fix it!
$a{'isviewable'} = ( $a{'contenttype'} =~ /^(text|image|application\/vnd\.mozilla\.)/ );
# Retrieve a list of status flags that have been set on the attachment.
PushGlobalSQLState();
SendSQL("SELECT name
FROM attachstatuses, attachstatusdefs
WHERE attach_id = $a{'attachid'}
AND attachstatuses.statusid = attachstatusdefs.id
ORDER BY sortkey");
my @statuses;
push(@statuses, FetchSQLData()) while MoreSQLData();
$a{'statuses'} = \@statuses;
PopGlobalSQLState();
# Add the hash representing the attachment to the array of attachments.
push @attachments, \%a;
}
# Retrieve the bug summary for displaying on screen.
SendSQL("SELECT short_desc FROM bugs WHERE bug_id = $::FORM{'bugid'}");
my ($bugsummary) = FetchSQLData();
# Define the variables and functions that will be passed to the UI template.
$vars->{'bugid'} = $::FORM{'bugid'};
$vars->{'bugsummary'} = $bugsummary;
$vars->{'attachments'} = \@attachments;
# Return the appropriate HTTP response headers.
print "Content-Type: text/html\n\n";
# Generate and return the UI (HTML page) from the appropriate template.
$template->process("attachment/show-multiple.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
}
sub enter
{
# Display a form for entering a new attachment.
# Retrieve the attachments the user can edit from the database and write
# them into an array of hashes where each hash represents one attachment.
my $canEdit = "";
if (!UserInGroup("editbugs")) {
$canEdit = "AND submitter_id = $::userid";
}
SendSQL("SELECT attach_id, description
FROM attachments
WHERE bug_id = $::FORM{'bugid'}
AND isobsolete = 0 $canEdit
ORDER BY attach_id");
my @attachments; # the attachments array
while ( MoreSQLData() ) {
my %a; # the attachment hash
($a{'id'}, $a{'description'}) = FetchSQLData();
# Add the hash representing the attachment to the array of attachments.
push @attachments, \%a;
}
# Retrieve the bug summary for displaying on screen.
SendSQL("SELECT short_desc FROM bugs WHERE bug_id = $::FORM{'bugid'}");
my ($bugsummary) = FetchSQLData();
# Define the variables and functions that will be passed to the UI template.
$vars->{'bugid'} = $::FORM{'bugid'};
$vars->{'bugsummary'} = $bugsummary;
$vars->{'attachments'} = \@attachments;
# Return the appropriate HTTP response headers.
print "Content-Type: text/html\n\n";
# Generate and return the UI (HTML page) from the appropriate template.
$template->process("attachment/create.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
}
sub insert
{
# Insert a new attachment into the database.
# Escape characters in strings that will be used in SQL statements.
my $filename = SqlQuote($::FILE{'data'}->{'filename'});
my $description = SqlQuote($::FORM{'description'});
my $contenttype = SqlQuote($::FORM{'contenttype'});
my $thedata = SqlQuote($::FORM{'data'});
# Insert the attachment into the database.
SendSQL("INSERT INTO attachments (bug_id, filename, description, mimetype, ispatch, submitter_id, thedata)
VALUES ($::FORM{'bugid'}, $filename, $description, $contenttype, $::FORM{'ispatch'}, $::userid, $thedata)");
# Retrieve the ID of the newly created attachment record.
SendSQL("SELECT LAST_INSERT_ID()");
my $attachid = FetchOneColumn();
# Insert a comment about the new attachment into the database.
my $comment = "Created an attachment (id=$attachid)\n$::FORM{'description'}\n";
$comment .= ("\n" . $::FORM{'comment'}) if $::FORM{'comment'};
use Text::Wrap;
$Text::Wrap::columns = 80;
$Text::Wrap::huge = 'overflow';
$comment = Text::Wrap::wrap('', '', $comment);
AppendComment($::FORM{'bugid'},
$::COOKIE{"Bugzilla_login"},
$comment);
# Make existing attachments obsolete.
my $fieldid = GetFieldID('attachments.isobsolete');
foreach my $attachid (@{$::MFORM{'obsolete'}}) {
SendSQL("UPDATE attachments SET isobsolete = 1 WHERE attach_id = $attachid");
SendSQL("INSERT INTO bugs_activity (bug_id, attach_id, who, bug_when, fieldid, removed, added)
VALUES ($::FORM{'bugid'}, $attachid, $::userid, NOW(), $fieldid, '0', '1')");
}
# Send mail to let people know the attachment has been created. Uses a
# special syntax of the "open" and "exec" commands to capture the output of
# "processmail", which "system" doesn't allow, without running the command
# through a shell, which backticks (``) do.
#system ("./processmail", $bugid , $::userid);
#my $mailresults = `./processmail $bugid $::userid`;
my $mailresults = '';
open(PMAIL, "-|") or exec('./processmail', $::FORM{'bugid'}, $::COOKIE{'Bugzilla_login'});
$mailresults .= $_ while <PMAIL>;
close(PMAIL);
# Define the variables and functions that will be passed to the UI template.
$vars->{'bugid'} = $::FORM{'bugid'};
$vars->{'attachid'} = $attachid;
$vars->{'description'} = $description;
$vars->{'mailresults'} = $mailresults;
$vars->{'contenttypemethod'} = $::FORM{'contenttypemethod'};
$vars->{'contenttype'} = $::FORM{'contenttype'};
# Return the appropriate HTTP response headers.
print "Content-Type: text/html\n\n";
# Generate and return the UI (HTML page) from the appropriate template.
$template->process("attachment/created.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
}
sub edit
{
# Edit an attachment record. Users with "editbugs" privileges, (or the
# original attachment's submitter) can edit the attachment's description,
# content type, ispatch and isobsolete flags, and statuses, and they can
# also submit a comment that appears in the bug.
# Users cannot edit the content of the attachment itself.
# Retrieve the attachment from the database.
SendSQL("SELECT description, mimetype, bug_id, ispatch, isobsolete
FROM attachments WHERE attach_id = $::FORM{'id'}");
my ($description, $contenttype, $bugid, $ispatch, $isobsolete) = FetchSQLData();
# Flag attachment as to whether or not it can be viewed (as opposed to
# being downloaded). Currently I decide it is viewable if its content
# type is either text/.* or application/vnd.mozilla.*.
# !!! Yuck, what an ugly hack. Fix it!
my $isviewable = ( $contenttype =~ /^(text|image|application\/vnd\.mozilla\.)/ );
# Retrieve a list of status flags that have been set on the attachment.
my %statuses;
SendSQL("SELECT id, name
FROM attachstatuses JOIN attachstatusdefs
WHERE attachstatuses.statusid = attachstatusdefs.id
AND attach_id = $::FORM{'id'}");
while ( my ($id, $name) = FetchSQLData() )
{
$statuses{$id} = $name;
}
# Retrieve a list of statuses for this bug's product, and build an array
# of hashes in which each hash is a status flag record.
# ???: Move this into versioncache or its own routine?
my @statusdefs;
SendSQL("SELECT id, name
FROM attachstatusdefs, bugs
WHERE bug_id = $bugid
AND attachstatusdefs.product = bugs.product
ORDER BY sortkey");
while ( MoreSQLData() )
{
my ($id, $name) = FetchSQLData();
push @statusdefs, { 'id' => $id , 'name' => $name };
}
# Retrieve a list of attachments for this bug as well as a summary of the bug
# to use in a navigation bar across the top of the screen.
SendSQL("SELECT attach_id FROM attachments WHERE bug_id = $bugid ORDER BY attach_id");
my @bugattachments;
push(@bugattachments, FetchSQLData()) while (MoreSQLData());
SendSQL("SELECT short_desc FROM bugs WHERE bug_id = $bugid");
my ($bugsummary) = FetchSQLData();
# Define the variables and functions that will be passed to the UI template.
$vars->{'attachid'} = $::FORM{'id'};
$vars->{'description'} = $description;
$vars->{'contenttype'} = $contenttype;
$vars->{'bugid'} = $bugid;
$vars->{'bugsummary'} = $bugsummary;
$vars->{'ispatch'} = $ispatch;
$vars->{'isobsolete'} = $isobsolete;
$vars->{'isviewable'} = $isviewable;
$vars->{'statuses'} = \%statuses;
$vars->{'statusdefs'} = \@statusdefs;
$vars->{'attachments'} = \@bugattachments;
# Return the appropriate HTTP response headers.
print "Content-Type: text/html\n\n";
# Generate and return the UI (HTML page) from the appropriate template.
$template->process("attachment/edit.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
}
sub update
{
# Update an attachment record.
# Get the bug ID for the bug to which this attachment is attached.
SendSQL("SELECT bug_id FROM attachments WHERE attach_id = $::FORM{'id'}");
my $bugid = FetchSQLData()
|| DisplayError("Cannot figure out bug number.")
&& exit;
# Lock database tables in preparation for updating the attachment.
if ($::driver eq 'mysql') {
SendSQL("LOCK TABLES attachments WRITE , attachstatuses WRITE ,
attachstatusdefs READ , fielddefs READ , bugs_activity WRITE");
}
# Get a copy of the attachment record before we make changes
# so we can record those changes in the activity table.
SendSQL("SELECT description, mimetype, ispatch, isobsolete
FROM attachments WHERE attach_id = $::FORM{'id'}");
my ($olddescription, $oldcontenttype, $oldispatch, $oldisobsolete) = FetchSQLData();
# Get the list of old status flags.
SendSQL("SELECT attachstatusdefs.name
FROM attachments, attachstatuses, attachstatusdefs
WHERE attachments.attach_id = $::FORM{'id'}
AND attachments.attach_id = attachstatuses.attach_id
AND attachstatuses.statusid = attachstatusdefs.id
ORDER BY attachstatusdefs.sortkey
");
my @oldstatuses;
while (MoreSQLData()) {
push(@oldstatuses, FetchSQLData());
}
my $oldstatuslist = join(', ', @oldstatuses);
# Update the database with the new status flags.
SendSQL("DELETE FROM attachstatuses WHERE attach_id = $::FORM{'id'}");
foreach my $statusid (@{$::MFORM{'status'}})
{
SendSQL("INSERT INTO attachstatuses (attach_id, statusid) VALUES ($::FORM{'id'}, $statusid)");
}
# Get the list of new status flags.
SendSQL("SELECT attachstatusdefs.name
FROM attachments, attachstatuses, attachstatusdefs
WHERE attachments.attach_id = $::FORM{'id'}
AND attachments.attach_id = attachstatuses.attach_id
AND attachstatuses.statusid = attachstatusdefs.id
ORDER BY attachstatusdefs.sortkey
");
my @newstatuses;
while (MoreSQLData()) {
push(@newstatuses, FetchSQLData());
}
my $newstatuslist = join(', ', @newstatuses);
# Quote the description and content type for use in the SQL UPDATE statement.
my $quoteddescription = SqlQuote($::FORM{'description'});
my $quotedcontenttype = SqlQuote($::FORM{'contenttype'});
# Update the attachment record in the database.
# Sets the creation timestamp to itself to avoid it being updated automatically.
SendSQL("UPDATE attachments
SET description = $quoteddescription ,
mimetype = $quotedcontenttype ,
ispatch = $::FORM{'ispatch'} ,
isobsolete = $::FORM{'isobsolete'} ,
creation_ts = creation_ts
WHERE attach_id = $::FORM{'id'}
");
# Record changes in the activity table.
if ($olddescription ne $::FORM{'description'}) {
my $quotedolddescription = SqlQuote($olddescription);
my $fieldid = GetFieldID('attachments.description');
SendSQL("INSERT INTO bugs_activity (bug_id, attach_id, who, bug_when, fieldid, removed, added)
VALUES ($bugid, $::FORM{'id'}, $::userid, NOW(), $fieldid, $quotedolddescription, $quoteddescription)");
}
if ($oldcontenttype ne $::FORM{'contenttype'}) {
my $quotedoldcontenttype = SqlQuote($oldcontenttype);
my $fieldid = GetFieldID('attachments.mimetype');
SendSQL("INSERT INTO bugs_activity (bug_id, attach_id, who, bug_when, fieldid, removed, added)
VALUES ($bugid, $::FORM{'id'}, $::userid, NOW(), $fieldid, $quotedoldcontenttype, $quotedcontenttype)");
}
if ($oldispatch ne $::FORM{'ispatch'}) {
my $fieldid = GetFieldID('attachments.ispatch');
SendSQL("INSERT INTO bugs_activity (bug_id, attach_id, who, bug_when, fieldid, removed, added)
VALUES ($bugid, $::FORM{'id'}, $::userid, NOW(), $fieldid, $oldispatch, $::FORM{'ispatch'})");
}
if ($oldisobsolete ne $::FORM{'isobsolete'}) {
my $fieldid = GetFieldID('attachments.isobsolete');
SendSQL("INSERT INTO bugs_activity (bug_id, attach_id, who, bug_when, fieldid, removed, added)
VALUES ($bugid, $::FORM{'id'}, $::userid, NOW(), $fieldid, $oldisobsolete, $::FORM{'isobsolete'})");
}
if ($oldstatuslist ne $newstatuslist) {
my ($removed, $added) = DiffStrings($oldstatuslist, $newstatuslist);
my $quotedremoved = SqlQuote($removed);
my $quotedadded = SqlQuote($added);
my $fieldid = GetFieldID('attachstatusdefs.name');
SendSQL("INSERT INTO bugs_activity (bug_id, attach_id, who, bug_when, fieldid, removed, added)
VALUES ($bugid, $::FORM{'id'}, $::userid, NOW(), $fieldid, $quotedremoved, $quotedadded)");
}
# Unlock all database tables now that we are finished updating the database.
if ($::driver eq 'mysql') {
SendSQL("UNLOCK TABLES");
}
# If this installation has enabled the request manager, let the manager know
# an attachment was updated so it can check for requests on that attachment
# and fulfill them. The request manager allows users to request database
# changes of other users and tracks the fulfillment of those requests. When
# an attachment record is updated and the request manager is called, it will
# fulfill those requests that were requested of the user performing the update
# which are requests for the attachment being updated.
#my $requests;
#if (Param('userequestmanager'))
#{
# use Request;
# # Specify the fieldnames that have been updated.
# my @fieldnames = ('description', 'mimetype', 'status', 'ispatch', 'isobsolete');
# # Fulfill pending requests.
# $requests = Request::fulfillRequest('attachment', $::FORM{'id'}, @fieldnames);
# $vars->{'requests'} = $requests;
#}
# If the user submitted a comment while editing the attachment,
# add the comment to the bug.
if ( $::FORM{'comment'} )
{
use Text::Wrap;
$Text::Wrap::columns = 80;
$Text::Wrap::huge = 'wrap';
# Append a string to the comment to let users know that the comment came from
# the "edit attachment" screen.
my $comment = qq|(From update of attachment $::FORM{'id'})\n| . $::FORM{'comment'};
my $wrappedcomment = "";
foreach my $line (split(/\r\n|\r|\n/, $comment))
{
if ( $line =~ /^>/ )
{
$wrappedcomment .= $line . "\n";
}
else
{
$wrappedcomment .= wrap('', '', $line) . "\n";
}
}
# Get the user's login name since the AppendComment function needs it.
my $who = DBID_to_name($::userid);
# Mention $::userid again so Perl doesn't give me a warning about it.
my $neverused = $::userid;
# Append the comment to the list of comments in the database.
AppendComment($bugid, $who, $wrappedcomment);
}
# Send mail to let people know the bug has changed. Uses a special syntax
# of the "open" and "exec" commands to capture the output of "processmail",
# which "system" doesn't allow, without running the command through a shell,
# which backticks (``) do.
#system ("./processmail", $bugid , $::userid);
#my $mailresults = `./processmail $bugid $::userid`;
my $mailresults = '';
open(PMAIL, "-|") or exec('./processmail', $bugid, DBID_to_name($::userid));
$mailresults .= $_ while <PMAIL>;
close(PMAIL);
# Define the variables and functions that will be passed to the UI template.
$vars->{'attachid'} = $::FORM{'id'};
$vars->{'bugid'} = $bugid;
$vars->{'mailresults'} = $mailresults;
# Return the appropriate HTTP response headers.
print "Content-Type: text/html\n\n";
# Generate and return the UI (HTML page) from the appropriate template.
$template->process("attachment/updated.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
}

View File

@@ -0,0 +1,378 @@
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# 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 Bugzilla Bug Tracking System.
#
# 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): Terry Weissman <terry@mozilla.org>
# Dave Miller <justdave@syndicomm.com>
use diagnostics;
use strict;
use RelationSet;
# Use the Attachment module to display attachments for the bug.
use Attachment;
sub show_bug {
# Shut up misguided -w warnings about "used only once". For some reason,
# "use vars" chokes on me when I try it here.
sub bug_form_pl_sillyness {
my $zz;
$zz = %::FORM;
$zz = %::proddesc;
$zz = %::prodmaxvotes;
$zz = @::enterable_products;
$zz = @::settable_resolution;
$zz = $::unconfirmedstate;
$zz = $::milestoneurl;
$zz = $::template;
$zz = $::vars;
$zz = @::legal_priority;
$zz = @::legal_platform;
$zz = @::legal_severity;
$zz = @::legal_bug_status;
$zz = @::target_milestone;
$zz = @::components;
$zz = @::legal_keywords;
$zz = @::versions;
$zz = @::legal_opsys;
}
# Use templates
my $template = $::template;
my $vars = $::vars;
$vars->{'GetBugLink'} = \&GetBugLink;
$vars->{'quoteUrls'} = \&quoteUrls,
$vars->{'lsearch'} = \&lsearch,
$vars->{'header_done'} = (@_),
quietly_check_login();
my $id = $::FORM{'id'};
if (!defined($id)) {
$template->process("bug/choose.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
exit;
}
my %user = %{$vars->{'user'}};
my %bug;
# Populate the bug hash with the info we get directly from the DB.
my $query = "
SELECT
bugs.bug_id,
product,
version,
rep_platform,
op_sys,
bug_status,
resolution,
priority,
bug_severity,
component,
assigned_to,
reporter,
bug_file_loc,
short_desc,
target_milestone,
qa_contact,
status_whiteboard, ";
if ($::driver eq 'mysql') {
$query .= "
date_format(creation_ts, '%Y-%m-%d %H:%i'),
groupset,
delta_ts, ";
} elsif ($::driver eq 'Pg') {
$query .= "
TO_CHAR(creation_ts, 'YYYY-MM-DD HH24:MI:SS'),
groupset,
TO_CHAR(delta_ts, 'YYYYMMDDHH24MISS'), ";
}
$query .= "
SUM(votes.count)
FROM
bugs LEFT JOIN votes USING(bug_id)
WHERE
bugs.bug_id = $id
GROUP BY
bugs.bug_id,
product,
version,
rep_platform,
op_sys,
bug_status,
resolution,
priority,
bug_severity,
component,
assigned_to,
reporter,
bug_file_loc,
short_desc,
target_milestone,
qa_contact,
status_whiteboard,
creation_ts,
groupset,
delta_ts ";
SendSQL($query);
my $value;
my @row = FetchSQLData();
foreach my $field ("bug_id", "product", "version", "rep_platform",
"op_sys", "bug_status", "resolution", "priority",
"bug_severity", "component", "assigned_to", "reporter",
"bug_file_loc", "short_desc", "target_milestone",
"qa_contact", "status_whiteboard", "creation_ts",
"groupset", "delta_ts", "votes")
{
$value = shift(@row);
$bug{$field} = defined($value) ? $value : "";
}
# General arrays of info about the database state
GetVersionTable();
# Fiddle the product list.
my $seen_curr_prod;
my @prodlist;
foreach my $product (@::enterable_products) {
if ($product eq $bug{'product'}) {
# if it's the product the bug is already in, it's ALWAYS in
# the popup, period, whether the user can see it or not, and
# regardless of the disallownew setting.
$seen_curr_prod = 1;
push(@prodlist, $product);
next;
}
if (Param("usebuggroupsentry")
&& GroupExists($product)
&& !UserInGroup($product))
{
# If we're using bug groups to restrict entry on products, and
# this product has a bug group, and the user is not in that
# group, we don't want to include that product in this list.
next;
}
push(@prodlist, $product);
}
# The current product is part of the popup, even if new bugs are no longer
# allowed for that product
if (!$seen_curr_prod) {
push (@prodlist, $bug{'product'});
@prodlist = sort @prodlist;
}
$vars->{'product'} = \@prodlist;
$vars->{'rep_platform'} = \@::legal_platform;
$vars->{'priority'} = \@::legal_priority;
$vars->{'bug_severity'} = \@::legal_severity;
$vars->{'op_sys'} = \@::legal_opsys;
$vars->{'bug_status'} = \@::legal_bug_status;
# Hack - this array contains "" for some reason. See bug 106589.
shift @::settable_resolution;
$vars->{'resolution'} = \@::settable_resolution;
$vars->{'component_'} = $::components{$bug{'product'}};
$vars->{'version'} = $::versions{$bug{'product'}};
$vars->{'target_milestone'} = $::target_milestone{$bug{'product'}};
$bug{'milestoneurl'} = $::milestoneurl{$bug{'product'}} ||
"notargetmilestone.html";
$vars->{'use_votes'} = $::prodmaxvotes{$bug{'product'}};
# Add additional, calculated fields to the bug hash
if (@::legal_keywords) {
$vars->{'use_keywords'} = 1;
SendSQL("SELECT keyworddefs.name
FROM keyworddefs, keywords
WHERE keywords.bug_id = $id
AND keyworddefs.id = keywords.keywordid
ORDER BY keyworddefs.name");
my @keywords;
while (MoreSQLData()) {
push(@keywords, FetchOneColumn());
}
$bug{'keywords'} = \@keywords;
}
# Attachments
$bug{'attachments'} = Attachment::query($id);
# Dependencies
my @list;
SendSQL("SELECT dependson FROM dependencies WHERE
blocked = $id ORDER BY dependson");
while (MoreSQLData()) {
my ($i) = FetchSQLData();
push(@list, $i);
}
$bug{'dependson'} = \@list;
my @list2;
SendSQL("SELECT blocked FROM dependencies WHERE
dependson = $id ORDER BY blocked");
while (MoreSQLData()) {
my ($i) = FetchSQLData();
push(@list2, $i);
}
$bug{'blocked'} = \@list2;
# Groups
my @groups;
if ($::usergroupset ne '0' || $bug{'groupset'} ne '0') {
my $bug_groupset = $bug{'groupset'};
if ($::driver eq 'mysql') {
SendSQL("select bit, name, description, (bit & $bug{'groupset'} != 0), " .
"(bit & $::usergroupset != 0) from groups where isbuggroup != 0 " .
# Include active groups as well as inactive groups to which
# the bug already belongs. This way the bug can be removed
# from an inactive group but can only be added to active ones.
"and ((isactive = 1 or (bit & $bug{'groupset'} != 0)) or " .
"(bit & $bug{'groupset'} != 0)) " .
"order by description");
} elsif ($::driver eq 'Pg') {
SendSQL("select group_bit, name, description, (group_bit & int8($bug{'groupset'}) != 0), " .
"(group_bit & int8($::usergroupset) != 0) from groups where isbuggroup != 0 " .
# Include active groups as well as inactive groups to which
# the bug already belongs. This way the bug can be removed
# from an inactive group but can only be added to active ones.
"and ((isactive = 1 or (group_bit & int8($bug{'groupset'}) != 0)) or " .
"(group_bit & int8($bug{'groupset'}) != 0)) " .
"order by description");
}
$user{'inallgroups'} = 1;
while (MoreSQLData()) {
my ($bit, $name, $description, $ison, $ingroup) = FetchSQLData();
# For product groups, we only want to display the checkbox if either
# (1) The bit is already set, or
# (2) The user is in the group, but either:
# (a) The group is a product group for the current product, or
# (b) The group name isn't a product name
# This means that all product groups will be skipped, but
# non-product bug groups will still be displayed.
if($ison ||
($ingroup && (($name eq $bug{'product'}) ||
(!defined $::proddesc{$name}))))
{
$user{'inallgroups'} &= $ingroup;
push (@groups, { "bit" => $bit,
"ison" => $ison,
"ingroup" => $ingroup,
"description" => $description });
}
}
# If the bug is restricted to a group, display checkboxes that allow
# the user to set whether or not the reporter
# and cc list can see the bug even if they are not members of all
# groups to which the bug is restricted.
if ($bug{'groupset'} != 0) {
$bug{'inagroup'} = 1;
# Determine whether or not the bug is always accessible by the
# reporter, QA contact, and/or users on the cc: list.
SendSQL("SELECT reporter_accessible, cclist_accessible
FROM bugs
WHERE bug_id = $id
");
($bug{'reporter_accessible'},
$bug{'cclist_accessible'}) = FetchSQLData();
}
}
$vars->{'groups'} = \@groups;
my $movers = Param("movers");
$user{'canmove'} = Param("move-enabled")
&& (defined $::COOKIE{"Bugzilla_login"})
&& ($::COOKIE{"Bugzilla_login"} =~ /\Q$movers\E/);
# User permissions
# In the below, if the person hasn't logged in ($::userid == 0), then
# we treat them as if they can do anything. That's because we don't
# know why they haven't logged in; it may just be because they don't
# use cookies. Display everything as if they have all the permissions
# in the world; their permissions will get checked when they log in
# and actually try to make the change.
$user{'canedit'} = $::userid == 0
|| $::userid == $bug{'reporter'}
|| $::userid == $bug{'qa_contact'}
|| $::userid == $bug{'assigned_to'}
|| UserInGroup("editbugs");
$user{'canconfirm'} = ($::userid == 0) || UserInGroup("canconfirm");
# Bug states
$bug{'isunconfirmed'} = ($bug{'bug_status'} eq $::unconfirmedstate);
$bug{'isopened'} = IsOpenedState($bug{'bug_status'});
# People involved with the bug
$bug{'assigned_to_email'} = DBID_to_name($bug{'assigned_to'});
$bug{'assigned_to'} = DBID_to_real_or_loginname($bug{'assigned_to'});
$bug{'reporter'} = DBID_to_real_or_loginname($bug{'reporter'});
$bug{'qa_contact'} = $bug{'qa_contact'} > 0 ?
DBID_to_name($bug{'qa_contact'}) : "";
my $ccset = new RelationSet;
$ccset->mergeFromDB("SELECT who FROM cc WHERE bug_id=$id");
my @cc = $ccset->toArrayOfStrings();
$bug{'cc'} = \@cc if $cc[0];
# Next bug in list (if there is one)
my @bug_list;
if ($::COOKIE{"BUGLIST"} && $id)
{
@bug_list = split(/:/, $::COOKIE{"BUGLIST"});
}
$vars->{'bug_list'} = \@bug_list;
$bug{'comments'} = GetComments($bug{'bug_id'});
# This is length in number of comments
$bug{'longdesclength'} = scalar(@{$bug{'comments'}});
# Add the bug and user hashes to the variables
$vars->{'bug'} = \%bug;
$vars->{'user'} = \%user;
# Generate and return the UI (HTML page) from the appropriate template.
$template->process("bug/edit.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
}
1;

View File

@@ -0,0 +1,206 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<!--
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 Bugzilla Bug Tracking System.
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):
Contributor(s): Terry Weissman <terry@mozilla.org>
-->
<head>
<TITLE>A Bug's Life Cycle</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h1 ALIGN=CENTER>A Bug's Life Cycle</h1>
The <B>status</B> and <B>resolution</B> field define and track the
life cycle of a bug.
<a name="status"></a>
<p>
<TABLE BORDER=1 CELLPADDING=4>
<TR ALIGN=CENTER VALIGN=TOP>
<TD WIDTH="50%"><H1>STATUS</H1> <TD><H1>RESOLUTION</H1>
<TR VALIGN=TOP>
<TD>The <B>status</B> field indicates the general health of a bug. Only
certain status transitions are allowed.
<TD>The <b>resolution</b> field indicates what happened to this bug.
<TR VALIGN=TOP><TD>
<DL><DT><B>
<A HREF="confirmhelp.html">UNCONFIRMED</A></B>
<DD> This bug has recently been added to the database. Nobody has
validated that this bug is true. Users who have the "canconfirm"
permission set may confirm this bug, changing its state to NEW.
Or, it may be directly resolved and marked RESOLVED.
<DT><B>NEW</B>
<DD> This bug has recently been added to the assignee's list of bugs
and must be processed. Bugs in this state may be accepted, and
become <B>ASSIGNED</B>, passed on to someone else, and remain
<B>NEW</B>, or resolved and marked <B>RESOLVED</B>.
<DT><B>ASSIGNED</B>
<DD> This bug is not yet resolved, but is assigned to the proper
person. From here bugs can be given to another person and become
<B>NEW</B>, or resolved and become <B>RESOLVED</B>.
<DT><B>REOPENED</B>
<DD>This bug was once resolved, but the resolution was deemed
incorrect. For example, a <B>WORKSFORME</B> bug is
<B>REOPENED</B> when more information shows up and the bug is now
reproducible. From here bugs are either marked <B>ASSIGNED</B>
or <B>RESOLVED</B>.
</DL>
<TD>
<DL>
<DD> No resolution yet. All bugs which are in one of these "open" states
have the resolution set to blank. All other bugs
will be marked with one of the following resolutions.
</DL>
<TR VALIGN=TOP><TD>
<DL>
<DT><B>RESOLVED</B>
<DD> A resolution has been taken, and it is awaiting verification by
QA. From here bugs are either re-opened and become
<B>REOPENED</B>, are marked <B>VERIFIED</B>, or are closed for good
and marked <B>CLOSED</B>.
<DT><B>VERIFIED</B>
<DD> QA has looked at the bug and the resolution and agrees that the
appropriate resolution has been taken. Bugs remain in this state
until the product they were reported against actually ships, at
which point they become <B>CLOSED</B>.
<DT><B>CLOSED</B>
<DD> The bug is considered dead, the resolution is correct. Any zombie
bugs who choose to walk the earth again must do so by becoming
<B>REOPENED</B>.
</DL>
<TD>
<DL>
<DT><B>FIXED</B>
<DD> A fix for this bug is checked into the tree and tested.
<DT><B>INVALID</B>
<DD> The problem described is not a bug
<DT><B>WONTFIX</B>
<DD> The problem described is a bug which will never be fixed.
<DT><B>LATER</B>
<DD> The problem described is a bug which will not be fixed in this
version of the product.
<DT><B>REMIND</B>
<DD> The problem described is a bug which will probably not be fixed in this
version of the product, but might still be.
<DT><B>DUPLICATE</B>
<DD> The problem is a duplicate of an existing bug. Marking a bug
duplicate requires the bug# of the duplicating bug and will at
least put that bug number in the description field.
<DT><B>WORKSFORME</B>
<DD> All attempts at reproducing this bug were futile, reading the
code produces no clues as to why this behavior would occur. If
more information appears later, please re-assign the bug, for
now, file it.
</DL>
</TABLE>
<H1>Other Fields</H1>
<table border=1 cellpadding=4><tr><td>
<h2><a name="severity">Severity</a></h2>
This field describes the impact of a bug.
<p>
<p>
<table>
<tr><th>Blocker</th><td>Blocks development and/or testing work
<tr><th>Critical</th><td>crashes, loss of data, severe memory leak
<tr><th>Major</th><td>major loss of function
<tr><th>Minor</th><td>minor loss of function, or other problem where easy workaround is present
<tr><th>Trivial</th><td>cosmetic problem like misspelled words or misaligned text
<tr><th>Enhancement</th><td>Request for enhancement
</table>
</td><td>
<h2><a name="priority">Priority</a></h2>
This field describes the importance and order in which a bug should be
fixed. This field is utilized by the programmers/engineers to
prioritize their work to be done. The available priorities are:
<p>
<p>
<table>
<tr><th>P1</th><td>Most important
<tr><th>P2</th><td>
<tr><th>P3</th><td>
<tr><th>P4</th><td>
<tr><th>P5</th><td>Least important
</table>
</tr></table>
<h2><a name="rep_platform">Platform</a></h2>
This is the hardware platform against which the bug was reported. Legal
platforms include:
<UL>
<LI> All (happens on all platform; cross-platform bug)
<LI> Macintosh
<LI> PC
<LI> Sun
<LI> HP
</UL>
<b>Note:</b> Selecting the option "All" does not select bugs assigned against all platforms. It
merely selects bugs that <b>occur</b> on all platforms.
<h2><a name="op_sys">Operating System</a></h2>
This is the operating system against which the bug was reported. Legal
operating systems include:
<UL>
<LI> All (happens on all operating systems; cross-platform bug)
<LI> Windows 95
<LI> Mac System 8.0
<LI> Linux
</UL>
Note that the operating system implies the platform, but not always.
For example, Linux can run on PC and Macintosh and others.
<h2><a name="assigned_to">Assigned To</a></h2>
This is the person in charge of resolving the bug. Every time this
field changes, the status changes to <B>NEW</B> to make it easy to see
which new bugs have appeared on a person's list.
The default status for queries is set to NEW, ASSIGNED and REOPENED. When
searching for bugs that have been resolved or verified, remember to set the
status field appropriately.
<hr>
<!-- hhmts start -->
Last modified: Sun Apr 14 12:51:23 EST 2002
<!-- hhmts end -->
</body> </html>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,392 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Bug Writing Guidelines</title>
</head>
<body>
<center>
<h1>Bug Writing Guidelines</h1>
</center>
<h3>Why You Should Read This</h3>
<blockquote>
<p>Simply put, the more effectively you report a bug, the more
likely an engineer will actually fix it.</p>
<p>These guidelines are a general
tutorial to teach novice and intermediate bug reporters how to compose effective bug reports. Not every sentence may precisely apply to
your software project.</p>
</blockquote>
<h3>How to Write a Useful Bug Report</h3>
<blockquote>
<p>Useful bug reports are ones that get bugs fixed. A useful bug
report normally has two qualities:</p>
<ol>
<li><b>Reproducible.</b> If an engineer can't see the bug herself to prove that it exists, she'll probably stamp your bug report "WORKSFORME" or "INVALID" and move on to the next bug. Every detail you can provide helps.<br>
<br>
</li>
<li><b>Specific.</b> The quicker the engineer can isolate the bug
to a specific area, the more likely she'll expediently fix it.
(If a programmer or tester has to decypher a bug, they may spend
more time cursing the submitter than solving the problem.)
<br>
<br>
[ <a href="#tips" name="Anchor">Tell Me More</a> ]
</li>
</ol>
<p>Let's say the application you're testing is a web browser. You
crash at foo.com, and want to write up a bug report:</p>
<blockquote>
<p><b>BAD:</b> "My browser crashed. I think I was on www.foo.com. I play golf with Bill Gates, so you better fix this problem, or I'll report you to him. By the way, your Back icon looks like a squashed rodent. UGGGLY. And my grandmother's home page is all messed up in your browser. Thx 4 UR help."
</p>
<p>
<b>GOOD:</b> "I crashed each time I went to www.foo.com, using
the 2002-02-25 build on a Windows 2000 system. I also
rebooted into Linux, and reproduced this problem using the 2002-02-24
Linux build.
</p>
<p>
It again crashed each time upon drawing the Foo banner at the top
of the page. I broke apart the page, and discovered that the
following image link will crash the application reproducibly,
unless you remove the "border=0" attribute:
</p>
<p>
<tt>&lt;IMG SRC="http://www.foo.com/images/topics/topicfoos.gif"
width="34" height="44" border="0" alt="News"&gt;</tt>
</p>
</blockquote>
</blockquote>
<h3>How to Enter your Useful Bug Report into Bugzilla:</h3>
<blockquote>
<p>Before you enter your bug, use Bugzilla's
<a href="query.cgi">search page</a> to determine whether the defect you've discovered is a known, already-reported bug. If your bug is the 37th duplicate of a known issue, you're more likely to annoy the engineer. (Annoyed
engineers fix fewer bugs.)
</p>
<p>
Next, be sure to reproduce your bug using a recent
build. Engineers tend to be most interested in problems affecting
the code base that they're actively working on. After all, the bug you're reporting
may already be fixed.
</p>
<p>
If you've discovered a new bug using a current build, report it in
Bugzilla:
</p>
<ol>
<li>From your Bugzilla main page, choose
"<a href="enter_bug.cgi">Enter a new bug</a>".</li>
<li>Select the product that you've found a bug in.</li>
<li>Enter your e-mail address, password, and press the "Login"
button. (If you don't yet have a password, leave the password field empty,
and press the "E-mail me a password" button instead.
You'll quickly receive an e-mail message with your password.)</li>
</ol>
<p>Now, fill out the form. Here's what it all means:</p>
<p><b>Where did you find the bug?</b></p>
<blockquote>
<p><b>Product: In which product did you find the bug?</b><br>
You just specified this on the last page, so you can't edit it here.</p>
<p><b>Version: In which product version did you find the
bug?</b><br>
(If applicable)</p>
<p><b>Component: In which component does the bug exist?</b><br>
Bugzilla requires that you select a component to enter a bug. (Not sure which to choose?
Click on the Component link. You'll see a description of each component, to help you make the best choice.)</p>
<p><b>OS: On which Operating System (OS) did you find this bug?</b>
(e.g. Linux, Windows 2000, Mac OS 9.)<br>
If you know the bug happens on all OSs, choose 'All'. Otherwise,
select the OS that you found the bug on, or "Other" if your OS
isn't listed.</p>
</blockquote>
<p><b>How important is the bug?</b></p>
<blockquote>
<p><b>Severity: How damaging is the bug?</b><br>
This item defaults to 'normal'. If you're not sure what severity your bug deserves, click on the Severity link.
You'll see a description of each severity rating. <br>
</p>
</blockquote>
<p><b>Who will be following up on the bug?</b></p>
<blockquote>
<p><b>Assigned To: Which engineer should be responsible for fixing
this bug?</b><br>
Bugzilla will automatically assign the bug to a default engineer
upon submitting a bug report. If you'd prefer to directly assign the bug to
someone else, enter their e-mail address into this field. (To see the list of
default engineers for each component, click on the Component
link.)</p>
<p><b>Cc: Who else should receive e-mail updates on changes to this
bug?</b><br>
List the full e-mail addresses of other individuals who should
receive an e-mail update upon every change to the bug report. You
can enter as many e-mail addresses as you'd like, separated by spaces or commas, as long as those
people have Bugzilla accounts.</p>
</blockquote>
<p><b>What else can you tell the engineer about the bug?</b></p>
<blockquote>
<p><b>Summary:</b> <b>How would you describe the bug, in
approximately 60 or fewer characters?</b><br>
A good summary should <b>quickly and uniquely identify a bug
report</b>. Otherwise, an engineer cannot meaningfully identify
your bug by its summary, and will often fail to pay attention to
your bug report when skimming through a 10 page bug list.<br>
<br>
A useful summary might be
"<tt>PCMCIA install fails on Tosh Tecra 780DVD w/ 3c589C</tt>".
"<tt>Software fails</tt>" or "<tt>install problem</tt>" would be
examples of a bad summary.<br>
<br>
[ <a href="#summary">Tell Me More</a> ]<br>
<br>
<b>Description: </b><br>
Please provide a detailed problem report in this field.
Your bug's recipients will most likely expect the following information:</p>
<blockquote>
<p><b>Overview Description:</b> More detailed expansion of
summary.</p>
<blockquote>
<pre>
Drag-selecting any page crashes Mac builds in NSGetFactory
</pre>
</blockquote>
<p><b>Steps to Reproduce:</b> Minimized, easy-to-follow steps that will
trigger the bug. Include any special setup steps.</p>
<blockquote>
<pre>
1) View any web page. (I used the default sample page,
resource:/res/samples/test0.html)
2) Drag-select the page. (Specifically, while holding down
the mouse button, drag the mouse pointer downwards from any
point in the browser's content region to the bottom of the
browser's content region.)
</pre>
</blockquote>
<p>
<b>Actual Results:</b> What the application did after performing
the above steps.
</p>
<blockquote>
<pre>
The application crashed. Stack crawl appended below from MacsBug.
</pre>
</blockquote>
<p><b>Expected Results:</b> What the application should have done,
were the bug not present.</p>
<blockquote>
<pre>
The window should scroll downwards. Scrolled content should be selected.
(Or, at least, the application should not crash.)
</pre>
</blockquote>
<p><b>Build Date &amp; Platform:</b> Date and platform of the build
that you first encountered the bug in.</p>
<blockquote>
<pre>
Build 2002-03-15 on Mac OS 9.0
</pre>
</blockquote>
<p><b>Additional Builds and Platforms:</b> Whether or not the bug
takes place on other platforms (or browsers, if applicable).</p>
<blockquote>
<pre>
- Also Occurs On
Mozilla (2002-03-15 build on Windows NT 4.0)
- Doesn't Occur On
Mozilla (2002-03-15 build on Red Hat Linux; feature not supported)
Internet Explorer 5.0 (shipping build on Windows NT 4.0)
Netscape Communicator 4.5 (shipping build on Mac OS 9.0)
</pre>
</blockquote>
<p><b>Additional Information:</b> Any other debugging information.
For crashing bugs:</p>
<ul>
<li><b>Win32:</b> if you receive a Dr. Watson error, please note
the type of the crash, and the module that the application crashed
in. (e.g. access violation in apprunner.exe)</li>
<li><b>Mac OS:</b> if you're running MacsBug, please provide the
results of a <b>how</b> and an <b>sc</b>:</li>
</ul>
<blockquote>
<pre>
*** MACSBUG STACK CRAWL OF CRASH (Mac OS)
Calling chain using A6/R1 links
Back chain ISA Caller
00000000 PPC 0BA85E74
03AEFD80 PPC 0B742248
03AEFD30 PPC 0B50FDDC NSGetFactory+027FC
PowerPC unmapped memory exception at 0B512BD0 NSGetFactory+055F0
</pre>
</blockquote>
</blockquote>
</blockquote>
<p>You're done!<br>
<br>
After double-checking your entries for any possible errors, press
the "Commit" button, and your bug report will now be in the
Bugzilla database.<br>
</p>
</blockquote>
<hr>
<h3>More Information on Writing Good Bugs</h3>
<blockquote>
<p><b><a name="tips"></a> 1. General Tips for a Useful Bug
Report</b>
</p>
<blockquote>
<p>
<b>Use an explicit structure, so your bug reports are easy to
skim.</b> Bug report users often need immediate access to specific
sections of your bug. If your Bugzilla installation supports the
Bugzilla Helper, use it.
</p>
<p>
<b>Avoid cuteness if it costs clarity.</b> Nobody will be laughing
at your funny bug title at 3:00 AM when they can't remember how to
find your bug.
</p>
<p>
<b>One bug per report.</b> Completely different people typically
fix, verify, and prioritize different bugs. If you mix a handful of
bugs into a single report, the right people probably won't discover
your bugs in a timely fashion, or at all. Certain bugs are also
more important than others. It's impossible to prioritize a bug
report when it contains four different issues, all of differing
importance.
</p>
<p>
<b>No bug is too trivial to report.</b> Unless you're reading the
source code, you can't see actual software bugs, like a dangling
pointer -- you'll see their visible manifestations, such as the
segfault when the application finally crashes. Severe software
problems can manifest themselves in superficially trivial ways.
File them anyway.<br>
</p>
</blockquote>
<p><b><a name="summary"></a>2. How and Why to Write Good Bug Summaries</b>
</p>
<blockquote>
<p><b>You want to make a good first impression on the bug
recipient.</b> Just like a New York Times headline guides readers
towards a relevant article from dozens of choices, will your bug summary
suggest that your bug report is worth reading from dozens or hundreds of
choices?
</p>
<p>
Conversely, a vague bug summary like <tt>install problem</tt> forces anyone
reviewing installation bugs to waste time opening up your bug to
determine whether it matters.
</p>
<p>
<b>Your bug will often be searched by its summary.</b> Just as
you'd find web pages with Google by searching by keywords through
intuition, so will other people locate your bugs. Descriptive bug
summaries are naturally keyword-rich, and easier to find.
</p>
<p>
For example, you'll find a bug titled "<tt>Dragging icons from List View to
gnome-terminal doesn't paste path</tt>" if you search on "List",
"terminal", or "path". Those search keywords wouldn't have found a
bug titled "<tt>Dragging icons
doesn't paste</tt>".
</p>
<p>
Ask yourself, "Would someone understand my bug from just this
summary?" If so, you've written a fine summary.
</p>
<p><b>Don't write titles like these:</b></p>
<ol>
<li>"Can't install" - Why can't you install? What happens when you
try to install?</li>
<li>"Severe Performance Problems" - ...and they occur when you do
what?</li>
<li>"back button does not work" - Ever? At all?</li>
</ol>
<p><b>Good bug titles:</b></p>
<ol>
<li>"1.0 upgrade installation fails if Mozilla M18 package present"
- Explains problem and the context.</li>
<li>"RPM 4 installer crashes if launched on Red Hat 6.2 (RPM 3)
system" - Explains what happens, and the context.</li>
</ol>
</blockquote>
</blockquote>
<p>(Written and maintained by
<a href="http://www.prometheus-music.com/eli">Eli Goldberg</a>. Claudius
Gayle, Gervase Markham, Peter Mock, Chris Pratt, Tom Schutter and Chris Yeh also
contributed significant changes. Constructive
<a href="mailto:eli@prometheus-music.com">suggestions</a> welcome.)</p>
</body>
</html>

View File

@@ -0,0 +1,46 @@
<!ELEMENT bugzilla (bug+)>
<!ATTLIST bugzilla
version CDATA #REQUIRED
urlbase CDATA #REQUIRED
maintainer CDATA #REQUIRED
exporter CDATA #IMPLIED
>
<!ELEMENT bug (bug_id, (bug_status, product, priority, version, rep_platform, assigned_to, delta_ts, component, reporter, target_milestone?, bug_severity, creation_ts, qa_contact?, op_sys, resolution?, bug_file_loc?, short_desc?, keywords*, status_whiteboard?, dependson*, blocks*, cc*, long_desc*, attachment*)?)>
<!ATTLIST bug
error (NotFound | NotPermitted | InvalidBugId) #IMPLIED
>
<!ELEMENT bug_id (#PCDATA)>
<!ELEMENT exporter (#PCDATA)>
<!ELEMENT urlbase (#PCDATA)>
<!ELEMENT bug_status (#PCDATA)>
<!ELEMENT product (#PCDATA)>
<!ELEMENT priority (#PCDATA)>
<!ELEMENT version (#PCDATA)>
<!ELEMENT rep_platform (#PCDATA)>
<!ELEMENT assigned_to (#PCDATA)>
<!ELEMENT delta_ts (#PCDATA)>
<!ELEMENT component (#PCDATA)>
<!ELEMENT reporter (#PCDATA)>
<!ELEMENT target_milestone (#PCDATA)>
<!ELEMENT bug_severity (#PCDATA)>
<!ELEMENT creation_ts (#PCDATA)>
<!ELEMENT qa_contact (#PCDATA)>
<!ELEMENT status_whiteboard (#PCDATA)>
<!ELEMENT op_sys (#PCDATA)>
<!ELEMENT resolution (#PCDATA)>
<!ELEMENT bug_file_loc (#PCDATA)>
<!ELEMENT short_desc (#PCDATA)>
<!ELEMENT keywords (#PCDATA)>
<!ELEMENT dependson (#PCDATA)>
<!ELEMENT blocks (#PCDATA)>
<!ELEMENT cc (#PCDATA)>
<!ELEMENT long_desc (who, bug_when, thetext)>
<!ELEMENT who (#PCDATA)>
<!ELEMENT bug_when (#PCDATA)>
<!ELEMENT thetext (#PCDATA)>
<!ELEMENT attachment (attachid, date, desc, type?, data?)>
<!ELEMENT attachid (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT desc (#PCDATA)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT data (#PCDATA)>

View File

@@ -0,0 +1,39 @@
#!/usr/bonsaitools/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# 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 Bugzilla Bug Tracking System.
#
# 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): Terry Weissman <terry@mozilla.org>
use strict;
print q{Content-type: text/html
<HTML>
<HEAD>
<META HTTP-EQUIV="Refresh"
CONTENT="0; URL=userprefs.cgi">
</HEAD>
<BODY>
This URL is obsolete. Forwarding you to the correct one.
<P>
Going to <A HREF="userprefs.cgi">userprefs.cgi</A>
<BR>
</BODY>
</HTML>
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,124 @@
#!/usr/bonsaitools/bin/perl -wT
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# 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 Bugzilla Bug Tracking System.
#
# 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): Terry Weissman <terry@mozilla.org>
use diagnostics;
use strict;
use lib qw(.);
use vars qw(
@legal_keywords
$buffer
$template
$vars
);
require "CGI.pl";
print "Content-type: text/html\n";
# The master list not only says what fields are possible, but what order
# they get displayed in.
ConnectToDatabase();
GetVersionTable();
my @masterlist = ("opendate", "changeddate", "severity", "priority",
"platform", "owner", "reporter", "status", "resolution",
"product", "component", "version", "os", "votes");
if (Param("usetargetmilestone")) {
push(@masterlist, "target_milestone");
}
if (Param("useqacontact")) {
push(@masterlist, "qa_contact");
}
if (Param("usestatuswhiteboard")) {
push(@masterlist, "status_whiteboard");
}
if (@::legal_keywords) {
push(@masterlist, "keywords");
}
push(@masterlist, ("summary", "summaryfull"));
$vars->{masterlist} = \@masterlist;
my @collist;
if (defined $::FORM{'rememberedquery'}) {
my $splitheader = 0;
if (defined $::FORM{'resetit'}) {
@collist = @::default_column_list;
} else {
foreach my $i (@masterlist) {
if (defined $::FORM{"column_$i"}) {
push @collist, $i;
}
}
if (exists $::FORM{'splitheader'}) {
$splitheader = $::FORM{'splitheader'};
}
}
my $list = join(" ", @collist);
my $urlbase = Param("urlbase");
my $cookiepath = Param("cookiepath");
print "Set-Cookie: COLUMNLIST=$list ; path=$cookiepath ; expires=Sun, 30-Jun-2029 00:00:00 GMT\n";
print "Set-Cookie: SPLITHEADER=$::FORM{'splitheader'} ; path=$cookiepath ; expires=Sun, 30-Jun-2029 00:00:00 GMT\n";
print "Refresh: 0; URL=buglist.cgi?$::FORM{'rememberedquery'}\n";
print "\n";
print "<META HTTP-EQUIV=Refresh CONTENT=\"1; URL=$urlbase"."buglist.cgi?$::FORM{'rememberedquery'}\">\n";
print "<TITLE>What a hack.</TITLE>\n";
PutHeader ("Change columns");
print "Resubmitting your query with new columns...\n";
exit;
}
if (defined $::COOKIE{'COLUMNLIST'}) {
@collist = split(/ /, $::COOKIE{'COLUMNLIST'});
} else {
@collist = @::default_column_list;
}
$vars->{collist} = \@collist;
$vars->{splitheader} = 0;
if ($::COOKIE{'SPLITHEADER'}) {
$vars->{splitheader} = 1;
}
my %desc = ();
foreach my $i (@masterlist) {
$desc{$i} = $i;
}
$desc{'summary'} = "Summary (first 60 characters)";
$desc{'summaryfull'} = "Full Summary";
$vars->{desc} = \%desc;
$vars->{buffer} = $::buffer;
# Generate and return the UI (HTML page) from the appropriate template.
print "Content-type: text/html\n\n";
$template->process("list/change-columns.html.tmpl", $vars)
|| ThrowTemplateError($template->error());

View File

@@ -0,0 +1,202 @@
#!/usr/bonsaitools/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# 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 Bugzilla Bug Tracking System.
#
# 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): Terry Weissman <terry@mozilla.org>,
# Harrison Page <harrison@netscape.com>
# Gervase Markham <gerv@gerv.net>
# Run me out of cron at midnight to collect Bugzilla statistics.
use AnyDBM_File;
use diagnostics;
use strict;
use vars @::legal_product;
require "globals.pl";
# tidy up after graphing module
if (chdir("graphs")) {
unlink <./*.gif>;
unlink <./*.png>;
chdir("..");
}
ConnectToDatabase(1);
GetVersionTable();
my @myproducts;
push( @myproducts, "-All-", @::legal_product );
foreach (@myproducts) {
my $dir = "data/mining";
&check_data_dir ($dir);
&collect_stats ($dir, $_);
}
&calculate_dupes();
sub check_data_dir {
my $dir = shift;
if (! -d) {
mkdir $dir, 0777;
chmod 0777, $dir;
}
}
sub collect_stats {
my $dir = shift;
my $product = shift;
my $when = localtime (time);
# NB: Need to mangle the product for the filename, but use the real
# product name in the query
my $file_product = $product;
$file_product =~ s/\//-/gs;
my $file = join '/', $dir, $file_product;
my $exists = -f $file;
if (open DATA, ">>$file") {
push my @row, &today;
foreach my $status ('NEW', 'ASSIGNED', 'REOPENED', 'UNCONFIRMED', 'RESOLVED', 'VERIFIED', 'CLOSED') {
if( $product eq "-All-" ) {
SendSQL("select count(bug_status) from bugs where bug_status='$status'");
} else {
SendSQL("select count(bug_status) from bugs where bug_status='$status' and product='$product'");
}
push @row, FetchOneColumn();
}
foreach my $resolution ('FIXED', 'INVALID', 'WONTFIX', 'LATER', 'REMIND', 'DUPLICATE', 'WORKSFORME', 'MOVED') {
if( $product eq "-All-" ) {
SendSQL("select count(resolution) from bugs where resolution='$resolution'");
} else {
SendSQL("select count(resolution) from bugs where resolution='$resolution' and product='$product'");
}
push @row, FetchOneColumn();
}
if (! $exists) {
print DATA <<FIN;
# Bugzilla Daily Bug Stats
#
# Do not edit me! This file is generated.
#
# fields: DATE|NEW|ASSIGNED|REOPENED|UNCONFIRMED|RESOLVED|VERIFIED|CLOSED|FIXED|INVALID|WONTFIX|LATER|REMIND|DUPLICATE|WORKSFORME|MOVED
# Product: $product
# Created: $when
FIN
}
print DATA (join '|', @row) . "\n";
close DATA;
} else {
print "$0: $file, $!";
}
}
sub calculate_dupes {
SendSQL("SELECT * FROM duplicates");
my %dupes;
my %count;
my @row;
my $key;
my $changed = 1;
my $today = &today_dash;
# Save % count here in a date-named file
# so we can read it back in to do changed counters
# First, delete it if it exists, so we don't add to the contents of an old file
if (my @files = <data/duplicates/dupes$today*>) {
unlink @files;
}
dbmopen(%count, "data/duplicates/dupes$today", 0644) || die "Can't open DBM dupes file: $!";
# Create a hash with key "a bug number", value "bug which that bug is a
# direct dupe of" - straight from the duplicates table.
while (@row = FetchSQLData()) {
my $dupe_of = shift @row;
my $dupe = shift @row;
$dupes{$dupe} = $dupe_of;
}
# Total up the number of bugs which are dupes of a given bug
# count will then have key = "bug number",
# value = "number of immediate dupes of that bug".
foreach $key (keys(%dupes))
{
my $dupe_of = $dupes{$key};
if (!defined($count{$dupe_of})) {
$count{$dupe_of} = 0;
}
$count{$dupe_of}++;
}
# Now we collapse the dupe tree by iterating over %count until
# there is no further change.
while ($changed == 1)
{
$changed = 0;
foreach $key (keys(%count)) {
# if this bug is actually itself a dupe, and has a count...
if (defined($dupes{$key}) && $count{$key} > 0) {
# add that count onto the bug it is a dupe of,
# and zero the count; the check is to avoid
# loops
if ($count{$dupes{$key}} != 0) {
$count{$dupes{$key}} += $count{$key};
$count{$key} = 0;
$changed = 1;
}
}
}
}
# Remove the values for which the count is zero
foreach $key (keys(%count))
{
if ($count{$key} == 0) {
delete $count{$key};
}
}
dbmclose(%count);
}
sub today {
my ($dom, $mon, $year) = (localtime(time))[3, 4, 5];
return sprintf "%04d%02d%02d", 1900 + $year, ++$mon, $dom;
}
sub today_dash {
my ($dom, $mon, $year) = (localtime(time))[3, 4, 5];
return sprintf "%04d-%02d-%02d", 1900 + $year, ++$mon, $dom;
}

View File

@@ -0,0 +1,168 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<!--
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 Bugzilla Bug Tracking System.
The Initial Developer of the Original Code is Netscape Communications
Corporation. Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s): Terry Weissman <terry@mozilla.org>
-->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Understanding the UNCONFIRMED state, and other recent changes</title>
</head>
<body>
<h1>Understanding the UNCONFIRMED state, and other recent changes</h1>
<p>
[This document is aimed primarily at people who have used Bugzilla
before the UNCONFIRMED state was implemented. It might be helpful for
newer users as well.]
</p>
<p>
New bugs in some products will now show up in a new state,
UNCONFIRMED. This means that we have nobody has confirmed that the
bug is real. Very busy engineers will probably generally ignore
UNCONFIRMED that have been assigned to them, until they have been
confirmed in one way or another. (Engineers with more time will
hopefully glance over their UNCONFIRMED bugs regularly.)
</p>
<p>
The <a href="bug_status.html">page describing bug fields</a> has been
updated to include UNCONFIRMED.
</p>
<p>
There are two basic ways that a bug can become confirmed (and enter
the NEW) state.
</p>
<ul>
<li> A user with the appropriate permissions (see below for more on
permissions) decides that the bug is a valid one, and confirms
it. We hope to gather a small army of responsible volunteers
to regularly go through bugs for us.</li>
<li> The bug gathers a certain number of votes. <b>Any</b> valid Bugzilla user may vote for
bugs (each user gets a certain number of bugs); any UNCONFIRMED bug which
gets enough votes becomes automatically confirmed, and enters the NEW state.</li>
</ul>
<p>
One implication of this is that it is worth your time to search the
bug system for duplicates of your bug to vote on them, before
submitting your own bug. If we can spread around knowledge of this
fact, it ought to help cut down the number of duplicate bugs in the
system.
</p>
<h2>Permissions.</h2>
<p>
Users now have a certain set of permissions. To see your permissions,
check out the
<a href="userprefs.cgi?bank=permissions">user preferences</a> page.
</p>
<p>
If you have the "Can confirm a bug" permission, then you will be able
to move UNCONFIRMED bugs into the NEW state.
</p>
<p>
If you have the "Can edit all aspects of any bug" permission, then you
can tweak anything about any bug. If not, you may only edit those
bugs that you have submitted, or that you have assigned to you (or
qa-assigned to you). However, anyone may add a comment to any bug.
</p>
<p>
Some people (initially, the initial owners and initial qa-contacts for
components in the system) have the ability to give the above two
permissions to other people. So, if you really feel that you ought to
have one of these permissions, a good person to ask (via private
email, please!) is the person who is assigned a relevant bug.
</p>
<h2>Other details.</h2>
<p>
An initial stab was taken to decide who would be given which of the
above permissions. This was determined by some simple heurstics of
who was assigned bugs, and who the default owners of bugs were, and a
look at people who seem to have submitted several bugs that appear to
have been interesting and valid. Inevitably, we have failed to give
someone the permissions they deserve. Please don't take it
personally; just bear with us as we shake out the new system.
</p>
<p>
People with one of the two bits above can easily confirm their own
bugs, so bugs they submit will actually start out in the NEW state.
They can override this when submitting a bug.
</p>
<p>
People can ACCEPT or RESOLVE a bug assigned to them, even if they
aren't allowed to confirm it. However, the system remembers, and if
the bug gets REOPENED or reassigned to someone else, it will revert
back to the UNCONFIRMED state. If the bug has ever been confirmed,
then REOPENing or reassigning will cause it to go to the NEW or
REOPENED state.
</p>
<p>
Note that only some products support the UNCONFIRMED state. In other
products, all new bugs will automatically start in the NEW state.
</p>
<h2>Things still to be done.</h2>
<p>
There probably ought to be a way to get a bug back into the
UNCONFIRMED state, but there isn't yet.
</p>
<p>
If a person has submitted several bugs that get confirmed, then this
is probably a person who understands the system well, and deserves the
"Can confirm a bug" permission. This kind of person should be
detected and promoted automatically.
</p>
<p>
There should also be a way to automatically promote people to get the
"Can edit all aspects of any bug" permission.
</p>
<p>
The "enter a new bug" page needs to be revamped with easy ways for new
people to educate themselves on the benefit of searching for a bug
like the one they're about to submit and voting on it, rather than
adding a new useless duplicate.
</p>
<hr>
<p>
<!-- hhmts start -->
Last modified: Sun Apr 14 12:55:14 EST 2002
<!-- hhmts end -->
</p>
</body> </html>

View File

@@ -0,0 +1,79 @@
# -*- Mode: perl; indent-tabs-mode: nil -*-
# 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.
#
# This code is based on code found in bug_email.pl from the bugzilla
# email tracker. Initial contributors are ::
# Terry Weissman <terry@mozilla.org>
# Gregor Fischer <fischer@suse.de>
# Klaas Freitag <freitag@suse.de>
# Seth Landsman <seth@dworkin.net>
# The purpose of this module is to abstract out a bunch of the code
# that is central to email interfaces to bugzilla and its database
# Contributor : Seth Landsman <seth@dworkin.net>
# Initial checkin : 03/15/00 (SML)
# findUser() function moved from bug_email.pl to here
push @INC, "../."; # this script now lives in contrib
require "globals.pl";
use diagnostics;
use strict;
my $EMAIL_TRANSFORM_NONE = "email_transform_none";
my $EMAIL_TRANSFORM_BASE_DOMAIN = "email_transform_base_domain";
my $EMAIL_TRANSFORM_NAME_ONLY = "email_transform_name_only";
# change to do incoming email address fuzzy matching
my $email_transform = $EMAIL_TRANSFORM_NAME_ONLY;
# findUser()
# This function takes an email address and returns the user email.
# matching is sloppy based on the $email_transform parameter
sub findUser($) {
my ($address) = @_;
# if $email_transform is $EMAIL_TRANSFORM_NONE, return the address, otherwise, return undef
if ($email_transform eq $EMAIL_TRANSFORM_NONE) {
my $stmt = "SELECT login_name FROM profiles WHERE profiles.login_name = \'$address\';";
SendSQL($stmt);
my $found_address = FetchOneColumn();
return $found_address;
} elsif ($email_transform eq $EMAIL_TRANSFORM_BASE_DOMAIN) {
my ($username) = ($address =~ /(.+)@/);
my $stmt = "SELECT login_name FROM profiles WHERE profiles.login_name RLIKE \'$username\';";
SendSQL($stmt);
my $domain;
my $found = undef;
my $found_address;
my $new_address = undef;
while ((!$found) && ($found_address = FetchOneColumn())) {
($domain) = ($found_address =~ /.+@(.+)/);
if ($address =~ /$domain/) {
$found = 1;
$new_address = $found_address;
}
}
return $new_address;
} elsif ($email_transform eq $EMAIL_TRANSFORM_NAME_ONLY) {
my ($username) = ($address =~ /(.+)@/);
my $stmt = "SELECT login_name FROM profiles WHERE profiles.login_name RLIKE \'$username\';";
SendSQL($stmt);
my $found_address = FetchOneColumn();
return $found_address;
}
}
1;

View File

@@ -0,0 +1,22 @@
This directory contains contributed software related to Bugzilla.
Things in here have not necessarily been tested or tried by anyone
except the original contributor, so tred carefully. But it may still
be useful to you.
This directory includes:
mysqld-watcher.pl -- This script can be installed as a frequent cron
job to clean up stalled/dead queries.
gnats2bz.pl -- A perl script to help import bugs from a GNATS
database into a Bugzilla database. Contributed by
Tom Schutter <tom@platte.com>
bug_email.pl -- A perl script that can receive email containing
bug reports (email-interface). Contributed by
Klaas Freitag <freitag@SuSE.de>
README.Mailif -- Readme describing the mail interface.
bugmail_help.html -- User help page for the mail interface.
yp_nomail.sh -- Script you can run via cron that regularly updates
the nomail file for terminated employees

View File

@@ -0,0 +1,80 @@
The Bugzilla Mail interface
===========================
(UPDATE 03/14/00 to better reflect reality by SML)
The Bugzilla Mail interface allows to submit bugs to Bugzilla by email.
The Mail Interface Contribution consists of three files:
README.Mailif - this readme.
bug_email.pl - the script
bugmail_help.html - a user help html site
Installation:
Next is to add a user who receives the bugmails, e. g. bugmail. Create a
mail account and a home directory for the user.
The mailinterface script bug_email.pl needs to get the mail through stdin.
I use procmail for that, with the following line in the .procmailrc:
BUGZILLA_HOME=/usr/local/httpd/htdocs/bugzilla
:0 c
|(cd $BUGZILLA_HOME/contrib; ./bug_email.pl)
This defines the Bugzilla directory as the variable BUGZILLA_HOME and passes
all incoming mail to the script after cd'ing into the bugzilla home.
In some cases, it is necessary to alter the headers of incoming email. The
additional line to procmail :
:0 fhw
| formail -I "From " -a "From "
fixes many problems.
See bugzilla.procmailrc for a sample procmailrc that works for me (SML) and
also deals with bugzilla_email_append.pl
Customation:
There are some values inside the script which need to be customized for your
needs:
1. In sub-routine Reply (search 'sub Reply':
there is the line
print MAIL "From: Bugzilla Mailinterface<yourmail\@here.com>\n";
^^^^^^^^^^^^^^^^^^^^
Fill in your correct mail here. That will make it easy for people to reply
to the mail.
2. check, if your sendmail resides in /usr/sbin/sendmail, change the path if neccessary.
Search the script after 'default' - you find some default-Settings for bug
reports, which are used, if the sender did not send a field for it. The defaults
should be checked and changed.
Thats hopefully all, we will come up with any configuration file or something.
If your mail works, your script will insert mails from now on.
The mailinterface supports two commandline switches:
There are two command line switches :
-t: Testmode
The mailinterface does not really insert the bug into the database, but
writes some debug output to stdout and writes the mail into the file
bug_email_test.log in the data-dir.
-r: restricted mode
All lines before the first line with a keyword character are skipped.
In not restricted, default mode, these lines are added to the long
description of the bug.
02/2000 - Klaas Freitag, SuSE GmbH <freitag@suse.de>
03/2000 - Seth M. Landsman <seth@cs.brandeis.edu>
bug_email.pl now lives out of bugzilla/contrib
added line about formail

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,223 @@
<HTML>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--
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 Bugzilla Bug Tracking System.
Contributor(s): Klaas Freitag <Freitag@SuSE.de>
-->
<HEAD> <TITLE>Bugzilla Mail Interface</TITLE> </HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER><H1>The Bugzilla Mail Interface</H1>
Contributor: <A HREF="mailto:freitag@suse.de">Klaas Freitag</A>, SuSE GmbH
</CENTER>
<P>
The bugzilla Mail interface allows the registered bugzilla users to submit bugs by
sending email with a bug description. This is usefull for people, who do not work
inhouse and want to submitt bugs to the bugzilla system.
<p>
I know, show me the <A HREF="#examplemail">example-mail !</A>
<H2>What do you need to do to submitt a bug by mail ?</H2>
You need to send a email in the described format to the bugmail-user of the
bugzilla-system. This is <A HREF="mailto:our_bugzilla@xyz.com">yourbugzilla@here.com</A>
You receive a reply mail with the new bug-ID if your request was ok.
If not, you get a mail with
some help on the bugmail system and a specific analysis of your request.
<P>
Please dont refuse to send one or two wrong mails, you will get all the information
you need in the replies, and <I>only</I> in the mail replies. The information on this
page, concerning available products, versions and so on, is not dynamicly generated and
may be old therefore.
<H1>The Mail Format</H1>
The bugmail needs a special format , which consists of some keywords and suitable
values for them and a description text. Note that the keyword block needs to be
above of the description text.
<H2>Keywords</H2>
You need to tell bugzilla some properties of the bugs. This is done by keywords, which
start on a new line with a @, followed by the keyword and and equal-sign, followed by a
hopefully valid value.
<TABLE BORDER=4 FRAME=box CELLSPACING="5" width=95%> <COLGROUP> <col width="2*">
<col width="5*"> <col width="1*"> </COLGROUP>
<TR>
<TH>Keyword</TH>
<TH>Value description</TH>
<TH>required and default value</TH>
</TR>
<TR>
<TD>@product</TD>
<TD>The product which has a bug</TD>
<TD>yes. <br> This is the most important information. Many other
fields depend on the product.</TD>
</TR>
<TR>
<TD>@component</TD>
<TD>the desired component which is affected by the bug</TD>
<TD>yes. <br> As the @product, this is a very important
field.</TD>
</TR>
<TR>
<TD>@version</TD>
<TD>The version of the product</TD>
<TD>yes. <br>See @product and @component</TD>
</TR>
<TR>
<TD>@short_desc</TD>
<TD>A summary of your bug report</TD>
<TD>yes. <br>This summary of the error you want to report
describes what happen. You may skip the long description,
but not this summary.<br>
<b>Note:</b>The short description may be given in the mail subject
instead of using the keyword !</TD>
</TR>
<TR>
<TD>@rep_platform</TD>
<TD>The desired platform</TD>
<TD>no.<br>If you dont give a value, this field is set to <I>All</I>.</TD>
</TR>
<TR>
<TD>@bug_severity</TD>
<TD>The severity of the bug</TD>
<TD>no. <br> If you dont give a value, this field is set to
<I>normal</I></TD>
</TR>
<TR>
<TD>@priority</TD>
<TD>The priority of the bug</TD>
<TD>no.<br>If you dont give a value, this field is set to <I>P3</I></TD>
</TR>
<TR>
<TD>@op_sys</TD>
<TD>The operating system</TD>
<TD>no.<br>If you dont give a value, this field is set to <I>Linux</I>.</TD>
</TR>
<TR>
<TD>@assigned_to</TD>
<TD>The one to whom the bug is assigned to</TD>
<TD>no. <br>There is an initial owner for every product/version/component.
He owns the bug by default. The initial owner can only be found if
product, version and component are valid.</TD>
</TR>
<TR>
<TD>@bug_file_loc</TD>
<TD>?</TD>
<TD>no.</TD>
</TR>
<TR>
<TD>@status_whiteboard</TD>
<TD>?</TD>
<TD>no.</TD>
</TR>
<TR>
<TD>@target_milestone</TD>
<TD>?</TD>
<TD>no.</TD>
</TR>
<TR>
<TD>@groupset</TD>
<TD>rules the visibility of the bug.</TD>
<TD>no.<br>This value defaults to the smallest of the available groups,
which is <I>readInternal</I>.</TD>
</TR>
<TR>
<TD>@qa_contact</TD>
<TD>the quality manager for the product</TD>
<TD>no.<br>This value can be retrieved from product, component and
version</TD>
</TR>
</TABLE>
<H2>Valid values</H2>
Give string values for the most keys above. Some keywords require special values:<br>
<ol>
<li>E-Mail adresses: If you want to set the qa-contact, specify a email-adress for @qa_contact. The email must be known by bugzilla of course.</li>
<li>Listvalues: Most of the values have to be one of a list of valid values. Try by sending
a mail and read the reply. Skip fields if you dont get help for them unless you dont know
which values you may choose.</li>
<li>free Text: The descriptions may be free text. </li>
<li>Special: The field groupset may be specified in different in three different kinds:
<ol>
<li> A plain numeric way, which is one usually huge number, e. g. <I>65536</I></li>
<li> a string with added numbers e.g. <I>65536+131072</I></li>
<li> a string list, e.g. <I>ReadInternal, ReadBeta </I></li>
</ol>
</li>
</ol>
<p>
But most of them need <b>valid</b> values.
<p>
Sorry, you will not find lists of valid products, components and the other stuff
here. Send a mail to with any text, and you will get a list of valid keywords in the reply.
<p>
Some of the values must be choosen from a list:<br>
<ol>
<li>bug_severity: blocker, critical, major, normal, minor, trivial, enhancement</li>
<li>op_sys: Linux </li>
<li>priority: P1, P2, P3, P4, P5</li>
<li>rep_platform: All, i386, AXP, i686, Other</li></ol>
<p>
After you have specified the required keywords and maybe some other value, you may
describe your bug. You dont need a keyword for starting your bug description. All
text which follows the keyword block is handled as long description of the bug.
<p>
The bugmail interface is able to find required information by itself. E.g. if you specify
a product which has exactly one component, this component will be found by the interface
automatically.
<H1>Attachments</H1>
The mail interface is able to cope with MIME-attachments.
People could for example add a logfile as a mail attachment, and it will appear in
bugzilla as attachment. A comment for the attachment should be added, it will describe
the attachment in bugzilla.
<H1><A NAME="examplemail">Example Mail</A></H1>
See the example of the mail <b>body</b> (Dont forget to specify the short description
in the mail subject):<hr><pre>
@product = Bugzilla
@component = general
@version = All
@groupset = ReadWorld ReadPartners
@op_sys = Linux
@priority = P3
@rep_platform = i386
This is the description of the bug I found. It is not neccessary to start
it with a keyword.
Note: The short_description is neccessary and may be given with the keyword
@short_description or will be retrieved from the mail subject.
</pre><hr>
</BODY>
</HTML>

View File

@@ -0,0 +1,30 @@
:0 fhw
| formail -I "From " -a "From "
BUGZILLA_HOME=/home/bugzilla/WEB/bugzilla/contrib
:0
* ^Subject: .*\[Bug .*\]
RESULT=|(cd $BUGZILLA_HOME && ./bugzilla_email_append.pl)
# Feed mail to stdin of bug_email.pl
:0 Ec
#* !^Subject: .*[Bug .*]
RESULT=|(cd $BUGZILLA_HOME && ./bug_email.pl )
# write result to a logfile
:0 c
|echo `date '+%d.%m.%y %H:%M: '` $RESULT >> $HOME/bug_email.log
:0 c
|echo "----------------------------------" >> $HOME/bug_email.log
:0 c
$HOME/bug_email.log
# Move mail to the inbox
:0
$HOME/Mail/INBOX

View File

@@ -0,0 +1,189 @@
#!/usr/bin/perl -w
# -*- Mode: perl; indent-tabs-mode: nil -*-
# 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 purpose of this script is to take an email message, which
# specifies a bugid and append it to the bug as part of the longdesc
# table
# Contributor : Seth M. Landsman <seth@dworkin.net>
# 03/15/00 : Initial version by SML
# 03/15/00 : processmail gets called
# Email subject must be of format :
# .* Bug ### .*
# replying to a typical bugzilla email should be valid
# TODO :
# 1. better way to get the body text (I don't know what dump_entity() is
# actually doing
use diagnostics;
use strict;
use MIME::Parser;
push @INC, "../."; # this script lives in contrib
require "globals.pl";
require "BugzillaEmail.pm";
# Create a new MIME parser:
my $parser = new MIME::Parser;
my $Comment = "";
# Create and set the output directory:
# FIXME: There should be a $BUGZILLA_HOME variable (SML)
(-d "../data/mimedump-tmp") or mkdir "../data/mimedump-tmp",0755 or die "mkdir: $!";
(-w "../data/mimedump-tmp") or die "can't write to directory";
$parser->output_dir("../data/mimedump-tmp");
# Read the MIME message:
my $entity = $parser->read(\*STDIN) or die "couldn't parse MIME stream";
$entity->remove_sig(10); # Removes the signature in the last 10 lines
# Getting values from parsed mail
my $Sender = $entity->get( 'From' );
$Sender ||= $entity->get( 'Reply-To' );
my $Message_ID = $entity->get( 'Message-Id' );
die (" *** Cant find Sender-adress in sent mail ! ***\n" ) unless defined( $Sender );
chomp( $Sender );
chomp( $Message_ID );
print "Dealing with the sender $Sender\n";
ConnectToDatabase();
my $SenderShort = $Sender;
$SenderShort =~ s/^.*?([a-zA-Z0-9_.-]+?\@[a-zA-Z0-9_.-]+\.[a-zA-Z0-9_.-]+).*$/$1/;
$SenderShort = findUser($SenderShort);
print "SenderShort is $SenderShort\n";
if (!defined($SenderShort)) {
$SenderShort = $Sender;
$SenderShort =~ s/^.*?([a-zA-Z0-9_.-]+?\@[a-zA-Z0-9_.-]+\.[a-zA-Z0-9_.-]+).*$/$1/;
}
print "The sendershort is now $SenderShort\n";
if (!defined($SenderShort)) {
DealWithError("No such user $SenderShort exists.");
}
my $Subject = $entity->get('Subject');
print "The subject is $Subject\n";
my ($bugid) = ($Subject =~ /\[Bug ([\d]+)\]/);
print "The bugid is $bugid\n";
# make sure the bug exists
SendSQL("SELECT bug_id FROM bugs WHERE bug_id = $bugid;");
my $found_id = FetchOneColumn();
print "Did we find the bug? $found_id-\n";
if (!defined($found_id)) {
DealWithError("Bug $bugid does not exist");
}
# get the user id
SendSQL("SELECT userid FROM profiles WHERE login_name = \'$SenderShort\';");
my $userid = FetchOneColumn();
if (!defined($userid)) {
DealWithError("Userid not found for $SenderShort");
}
# parse out the text of the message
dump_entity($entity);
# Get rid of the bug id
$Subject =~ s/\[Bug [\d]+\]//;
#my $Comment = "This is only a test ...";
my $Body = "Subject: " . $Subject . "\n" . $Comment;
# shove it in the table
my $long_desc_query = "INSERT INTO longdescs SET bug_id=$found_id, who=$userid, bug_when=NOW(), thetext=" . SqlQuote($Body) . ";";
SendSQL($long_desc_query);
system("cd .. ; ./processmail $found_id '$SenderShort'");
sub DealWithError {
my ($reason) = @_;
print $reason . "\n";
}
# Yanking this wholesale from bug_email, 'cause I know this works. I'll
# figure out what it really does later
#------------------------------
#
# dump_entity ENTITY, NAME
#
# Recursive routine for parsing a mime coded mail.
# One mail may contain more than one mime blocks, which need to be
# handled. Therefore, this function is called recursively.
#
# It gets the for bugzilla important information from the mailbody and
# stores them into the global attachment-list @attachments. The attachment-list
# is needed in storeAttachments.
#
sub dump_entity {
my ($entity, $name) = @_;
defined($name) or $name = "'anonymous'";
my $IO;
# Output the body:
my @parts = $entity->parts;
if (@parts) { # multipart...
my $i;
foreach $i (0 .. $#parts) { # dump each part...
dump_entity($parts[$i], ("$name, part ".(1+$i)));
}
} else { # single part...
# Get MIME type, and display accordingly...
my $msg_part = $entity->head->get( 'Content-Disposition' );
$msg_part ||= "";
my ($type, $subtype) = split('/', $entity->head->mime_type);
my $body = $entity->bodyhandle;
my ($data, $on_disk );
if( $msg_part =~ /^attachment/ ) {
# Attached File
my $des = $entity->head->get('Content-Description');
$des ||= "";
if( defined( $body->path )) { # Data is on disk
$on_disk = 1;
$data = $body->path;
} else { # Data is in core
$on_disk = 0;
$data = $body->as_string;
}
# push ( @attachments, [ $data, $entity->head->mime_type, $on_disk, $des ] );
} else {
# Real Message
if ($type =~ /^(text|message)$/) { # text: display it...
if ($IO = $body->open("r")) {
$Comment .= $_ while (defined($_ = $IO->getline));
$IO->close;
} else { # d'oh!
print "$0: couldn't find/open '$name': $!";
}
} else { print "Oooops - no Body !\n"; }
}
}
}

View File

@@ -0,0 +1,94 @@
#!/bin/sh
# 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 Bugzilla Bug Tracking System.
#
# The Initial Developer of the Original Code is
# Andreas Franke <afranke@ags.uni-sb.de>.
# Corporation. Portions created by Andreas Franke are
# Copyright (C) 2001 Andreas Franke. All
# Rights Reserved.
#
# Contributor(s):
conf="`dirname $0`/query.conf"
query="http://bugzilla.mozilla.org/buglist.cgi?cmd=doit"
defaultcolumnlist="severity priority platform status resolution target_milestone status_whiteboard keywords summaryfull"
chart=0
and=0
while test "$1" != ""; do
arg=$1
arg_len=`expr length ${arg}`
if test `expr substr "${arg}" 1 2` == "--"; then
eq_pos=`expr match ${arg} '--.*='`
if test "${eq_pos}" == "0"; then
echo 'Missing value for long option '"${arg}"' ("=" not found)' 1>&2
exit 1;
fi
# extract option name
let name_len=${eq_pos}-3
name=`expr substr ${arg} 3 ${name_len}`
# extract option value
let val_start=${eq_pos}+1
let val_len=${arg_len}-${eq_pos}
val=`expr substr ${arg} ${val_start} ${val_len}`
elif test `expr substr ${arg} 1 1` == "-" &&
test "`expr substr ${arg} 2 1`" != ""; then
# extract
name=`expr substr ${arg} 2 1`
let val_len=${arg_len}-2
val=`expr substr ${arg} 3 ${val_len}`
else
name="default"
val="${arg}"
#echo "Unrecognized option ${arg}" 1>&2
#exit 1
fi
# find field and comparison type for option ${name}
field=`grep '"'${name}'"' ${conf} | awk '{printf $1}'`
type=`grep '"'${name}'"' ${conf} | awk '{printf $2}'`
if test "${field}" == "" || test "${type}" == ""; then
echo "Field name & comparison type not found for option ${name}." 1>&2
exit 1;
fi
or=0
while test "${val}" != ""; do
comma_idx=`expr index ${val} ,`
if test ${comma_idx} == "0"; then
val1="${val}"
val=""
else
let val1_len=${comma_idx}-1
val1=`expr substr ${val} 1 ${val1_len}`
val_len=`expr length ${val}`
let rest_start=${comma_idx}+1
let rest_len=${val_len}-${comma_idx}
val=`expr substr ${val} ${rest_start} ${rest_len}`
fi
query="${query}&field${chart}-${and}-${or}=${field}"
query="${query}&type${chart}-${and}-${or}=${type}"
query="${query}&value${chart}-${and}-${or}=${val1}"
#echo "----- ${name} : ${field} : ${type} : ${val1} -----" 1>&2
let or=${or}+1
done
let chart=${chart}+1
shift
done
outputfile="/dev/stdout"
#outputfile="buglist.html"
#\rm -f ${outputfile}
wget -q -O ${outputfile} --header="Cookie: COLUMNLIST=${COLUMNLIST-${defaultcolumnlist}}" "${query}"

View File

@@ -0,0 +1,31 @@
#!/bin/sh
# 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 Bugzilla Bug Tracking System.
#
# The Initial Developer of the Original Code is
# Andreas Franke <afranke@ags.uni-sb.de>.
# Corporation. Portions created by Andreas Franke are
# Copyright (C) 2001 Andreas Franke. All
# Rights Reserved.
#
# Contributor(s):
buglist="`dirname $0`/buglist"
htmlfile="`dirname $0`/buglist.html"
${buglist} "$@" 2>&1 1>${htmlfile}
if test ${?} == "0"; then
echo `grep 'TR VALIGN=TOP ALIGN=LEFT CLASS=' ${htmlfile} | sed -e 's/<TR.*id=//' | sed -e 's/".*//'` | sed -e 's/ /\,/g'
else
cat ${htmlfile} 1>&2
exit 1
fi

View File

@@ -0,0 +1,49 @@
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is the Bugzilla Bug Tracking System.
#
# The Initial Developer of the Original Code is
# Andreas Franke <afranke@ags.uni-sb.de>.
# Corporation. Portions created by Andreas Franke are
# Copyright (C) 2001 Andreas Franke. All
# Rights Reserved.
#
# Contributor(s):
#
# This is `query.conf', the config file for `buglist'.
#
# Columns: 1: field_name, 2: comparison_type, 3: cmd-line options
#
bug_status substring "s","status"
resolution substring "r","resolution"
rep_platform substring "p","platform"
op_sys substring "o","os","opsys"
priority substring "p","priority"
bug_severity substring "S","severity"
assigned_to substring "A","O","owner","assignedto"
reporter substring "R","reporter"
qa_contact substring "Q","qa","qacontact"
cc substring "C","cc"
product substring "product"
version substring "V","version"
component substring "c","component"
target_milestone substring "M","milestone"
short_desc substring "default","summary"
longdesc substring "d","description","longdesc"
bug_file_loc substring "u","url"
status_whiteboard substring "w","whiteboard"
keywords substring "k","K","keywords"
attachments.description substring "attachdesc"
attachments.thedata substring "attachdata"
attachments.mimetype substring "attachmime"
dependson substring # bug 30823
blocked substring # bug 30823

View File

@@ -0,0 +1,40 @@
#!/bin/sh
#
# 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 Bugzilla Bug Tracking System.
#
# 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): Dawn Endico <endico@mozilla.org>
# Keep a record of all cvs updates made from a given directory.
#
# Later, if changes need to be backed out, look at the log file
# and run the cvs command with the date that you want to back
# out to. (Probably the second to last entry).
#DATE=`date +%e/%m/%Y\ %k:%M:%S\ %Z`
DATE=`date`
COMMAND="cvs update -d -P -D"
echo $COMMAND \"$DATE\" >> cvs-update.log
$COMMAND "$DATE"
# sample log file
#cvs update -P -D "11/04/2000 20:22:08 PDT"
#cvs update -P -D "11/05/2000 20:22:22 PDT"
#cvs update -P -D "11/07/2000 20:26:29 PDT"
#cvs update -P -D "11/08/2000 20:27:10 PDT"

File diff suppressed because it is too large Load Diff

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