Compare commits

..

611 Commits

Author SHA1 Message Date
alecf%netscape.com
c7bfb46f1a start fixing this branch
git-svn-id: svn://10.0.0.236/branches/alecf_killuri_branch@50832 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 16:40:41 +00:00
(no author)
c781a4931a This commit was manufactured by cvs2svn to create branch
'alecf_killuri_branch'.

git-svn-id: svn://10.0.0.236/branches/alecf_killuri_branch@50775 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:50:22 +00:00
bienvenu%netscape.com
78b763db4d more of addrbook memory leak fixes r=mscott
git-svn-id: svn://10.0.0.236/trunk@50774 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:50:21 +00:00
radha%netscape.com
d6dbd3db1f fixing session history for frames. I accidently broke the behavior in
my monday's checkin. No bug #. r=law


git-svn-id: svn://10.0.0.236/trunk@50773 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:49:29 +00:00
troy%netscape.com
be2abd7a2c Patch from jst@citec.fi r=troy@netscape.com
Part of a fix for crash when expanding/collapsing toolbars. Change to
DeletingFrameSubtree() to make sure it examines the additional child
list as well as the principal child list


git-svn-id: svn://10.0.0.236/trunk@50772 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:37:10 +00:00
waterson%netscape.com
1464bedb39 Bug 16402. Make sure that literals addref (and release) the RDF service. Make sure to deal with edge Unregister[Resource|Literal] conditions; e.g., being called to unregister a literal when none was ever registered. r=rjc
git-svn-id: svn://10.0.0.236/trunk@50771 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:36:04 +00:00
jband%netscape.com
df5ae28aef r=shaver
- Fixed two similar cases where code was missing one level of
pointer dereference in terminating a copied string. Was trashing
data further up the stack.
- Use 'nsAllocator::Free' in two similar cases where 'delete' was
mistakenly used. Error pointed out by Purify.


git-svn-id: svn://10.0.0.236/trunk@50770 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:31:09 +00:00
rhp%netscape.com
2caa1592a8 Fix for email names with embedded &'s - Bug #16383 r=jefft
git-svn-id: svn://10.0.0.236/trunk@50769 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:27:33 +00:00
troy%netscape.com
8ec1b4ee83 Space savings. r=kipp@netscape.com
Re-implemented DST code to use separate objects for leaf nodes and
internal nodes. This reduces the per node size from 16 bytes to (on
average) 13 bytes per node


git-svn-id: svn://10.0.0.236/trunk@50768 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:18:28 +00:00
troy%netscape.com
9c1337b86f Space savings. r=karnaze@netscape.com Cc'd hyatt@netscape.com
Eliminated member data mIsContentEmpty and now we use a frame state bit
instead. This saves 4 bytes of space per table cell frame


git-svn-id: svn://10.0.0.236/trunk@50767 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:14:59 +00:00
shaver%netscape.com
9a4de938e7 make xpcshell use jsrtsvc, and let jsrtsvc handle JS_Shutdown (r=jband)
git-svn-id: svn://10.0.0.236/trunk@50766 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 03:05:48 +00:00
bienvenu%netscape.com
0eddf3358e fix memory leak of nsIURI in Set and GetAttribute r=waterson
git-svn-id: svn://10.0.0.236/trunk@50765 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 02:59:37 +00:00
srinivas%netscape.com
cc0b044bfe Autoconf for NSPR. Checkin for cls@seawood.org. Bugzilla #11893.
git-svn-id: svn://10.0.0.236/trunk@50764 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 02:42:36 +00:00
srinivas%netscape.com
6f136bc3f5 Autoconf for NSPR. Checkin for cls@seawood.org. Bugzilla #11893.
git-svn-id: svn://10.0.0.236/trunk@50763 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 02:36:40 +00:00
peterl%netscape.com
06471a021a moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
no bug #
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50762 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 02:11:09 +00:00
cls%seawood.org
e381009988 Fix for bug #13412. r=shaver
If configured using --with-extensions or --with-extension=all, enable all of the non-default extensions rather than extension "yes" or "all".


git-svn-id: svn://10.0.0.236/trunk@50761 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 02:04:09 +00:00
akhil.arora%sun.com
047329ce0a 16426 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
The class java.lang.RuntimeException was not being pinned


git-svn-id: svn://10.0.0.236/trunk@50760 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 01:47:04 +00:00
akhil.arora%sun.com
4e04c99aad 16427 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Check before dereferencing a NULL pointer.


git-svn-id: svn://10.0.0.236/trunk@50759 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 01:43:24 +00:00
varada%netscape.com
b2e2e2a6bc change from relative to absolute path
git-svn-id: svn://10.0.0.236/trunk@50758 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 01:39:32 +00:00
sspitzer%netscape.com
0d6acc8491 fix for #14892, automatically migrate if we only have one 4.x profile and no 5.0 profiles.
r=mscott.


git-svn-id: svn://10.0.0.236/trunk@50757 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 01:38:54 +00:00
akhil.arora%sun.com
0e030fdb50 16424 r=akhil.arora@sun.com fixed by Denis Sharypov <sdv@sparc.spb.su>
Fix two problems that kept the code from compiling on Win32


git-svn-id: svn://10.0.0.236/trunk@50756 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 01:38:42 +00:00
varada%netscape.com
cbaf31ef98 getting rid of relative paths in wizardmachine.cpp and wizardui.cpp for generate lists
git-svn-id: svn://10.0.0.236/trunk@50755 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 01:38:25 +00:00
varada%netscape.com
0e04699ad6 getting rid of relative paths in accountsetup and checklist inifiles
git-svn-id: svn://10.0.0.236/trunk@50754 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 01:19:25 +00:00
despotdaemon%netscape.com
6e4309cd35 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@50753 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:57:31 +00:00
wtc%netscape.com
ef278f909e Bugsplat bug #358401: created a separate .rc file for each DLL. The
product name is "Netscape Portable Runtime" and the file descriptions
are "NSPR Library", "PLDS Library", "PLC Library", and "PRSTRMS Library".
A debug build is indicated in the file description.  The copyright years
changed to 1996-1999.
Modified files: rules.mk, lib/ds/Makefile, lib/ds/Makefile.in,
lib/libc/src/Makefile, lib/libc/src/Makefile.in,
lib/prstreams/Makefile, lib/prstreams/Makefile.in,
prinit.h, nspr.rc
Added files: plds.rc, plc.rc, prstrms.rc
Removed file: resource.h


git-svn-id: svn://10.0.0.236/trunk@50752 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:51:41 +00:00
mcafee%netscape.com
981a0b415a Add #status option so you don't have to scroll down to the tree status.
git-svn-id: svn://10.0.0.236/trunk@50751 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:50:58 +00:00
sspitzer%netscape.com
13ef2ec53a more fixes to the 4.x uri -> 5.0 uri (copies and folders) code, for windows and mac.
#14951.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@50750 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:50:34 +00:00
rpotts%netscape.com
fa27c68f3e bug #16328. Share a single nsToolkit instance among all widgets.
git-svn-id: svn://10.0.0.236/trunk@50749 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:49:11 +00:00
fur%netscape.com
69272dcfcd Initial version of net data cache APIs
git-svn-id: svn://10.0.0.236/trunk@50748 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:46:41 +00:00
kipp%netscape.com
f23d12f0ae Removed two more warnings
git-svn-id: svn://10.0.0.236/trunk@50747 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:29:28 +00:00
leaf%mozilla.org
1388fcf255 adding lib/mac/embedding for pierre -leaf
git-svn-id: svn://10.0.0.236/trunk@50746 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:19:06 +00:00
cathleen%netscape.com
1ba2750fb6 adds jsurl.xpt and html.css to windows packager list
git-svn-id: svn://10.0.0.236/trunk@50745 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:14:44 +00:00
wtc%netscape.com
974a9a3d5c Backed out the Windows resource file stuff checked in in the autoconf
branch merge.  It has two problems: 1. RESOBJ is not being used.  It
has the same meaning as the existing variable RES.  2. $(RES) is added
to OBJS twice on Win32.


git-svn-id: svn://10.0.0.236/trunk@50744 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:14:09 +00:00
nhotta%netscape.com
0cbcded17a Hooking up nsISaveAsCharset to the build, part of bug fix 8865, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@50743 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:13:00 +00:00
bienvenu%netscape.com
f9c5bba278 fix memory leaks opening and closing dbs r=mscott
git-svn-id: svn://10.0.0.236/trunk@50742 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:11:58 +00:00
nhotta%netscape.com
dbcdcc135b Changed to get a charset name from a locale instead of hard code, also fixed a memory leak, bug=10816, r=tague
git-svn-id: svn://10.0.0.236/trunk@50741 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:11:38 +00:00
nhotta%netscape.com
54747068e8 Additional fallback for not charset labeled input, bug=15766, r=rhp
git-svn-id: svn://10.0.0.236/trunk@50740 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:08:42 +00:00
nhotta%netscape.com
58752631d9 Hooking up nsISaveAsCharset to the build, part of bug fix 8865, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@50739 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:05:23 +00:00
bienvenu%netscape.com
284cea9db5 fix mork linked list which was disabling more than one table change from getting recorded r=davidmc
git-svn-id: svn://10.0.0.236/trunk@50738 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:05:10 +00:00
shaver%netscape.com
62dca335b0 Fix for 15480 (menu reflow from content change).
Use <titledbutton>, not <div>, for accelerator text to fix alignment
and improve performance _ever_ so slightly.
Initial support for checked menus (needs more magic).
(r=hyatt)


git-svn-id: svn://10.0.0.236/trunk@50737 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:59:18 +00:00
wtc%netscape.com
ad9bb8908b Removed the rule for $(PURE_LIBRARY), which was accidentally
resurrected in the autoconf checkin.


git-svn-id: svn://10.0.0.236/trunk@50736 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:55:27 +00:00
shaver%netscape.com
f3548d4772 case correction, scriptability and deprecative comment for nsIEnumerator (r=waterson,brendan)
git-svn-id: svn://10.0.0.236/trunk@50734 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:52:59 +00:00
mjudge%netscape.com
8633625794 oops. for got to check this in last time. bug number is 14795
git-svn-id: svn://10.0.0.236/trunk@50733 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:52:42 +00:00
norris%netscape.com
9323b18962 Fix a Unix warning by removing an unused local variable
git-svn-id: svn://10.0.0.236/trunk@50732 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:49:36 +00:00
norris%netscape.com
d8ebef8633 correct a comment.
git-svn-id: svn://10.0.0.236/trunk@50731 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:49:05 +00:00
kmcclusk%netscape.com
d8ff43782f Set vertical-align:baseline for input[type=image] to make it compatible with Nav 4.x
bug #16370; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50730 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:48:02 +00:00
pollmann%netscape.com
806e3f40cd Bugs 16450, 11979, 16576: Add back a CRLF I took out of the form post headers; r=harishd
git-svn-id: svn://10.0.0.236/trunk@50729 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:47:08 +00:00
davidm%netscape.com
b8febcc271 14974 apprunner fails to start up on B&W G3 8.6
Add file to generate logs on the mac
r sdagley


git-svn-id: svn://10.0.0.236/trunk@50728 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:46:27 +00:00
norris%netscape.com
814809437c Fix bug 16303. r=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50727 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:45:40 +00:00
davidm%netscape.com
4d52510e79 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@50726 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:45:20 +00:00
kmcclusk%netscape.com
440593ffd1 When submitting a form using a "get" method only add the ? if the href does not end in a ?.
bug #16137 r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50725 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:45:02 +00:00
kmcclusk%netscape.com
9827b1d455 Return the value of the option element value attribute if it is present otherwise return
the content of the option. bug #16158. r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50724 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:41:40 +00:00
morse%netscape.com
19b5a1e558 fix bug 16357, memory leak, r=neeti
git-svn-id: svn://10.0.0.236/trunk@50723 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:37:35 +00:00
harishd%netscape.com
1cd0327569 Bug fix 2749 - Tweaked comment handling in quirks mode.
Bug fix 15992 - Line breaks within script and style were not getting counted
Related to bug 15423 - Rectified a glitch in Nav. DTD code where a doctype tag
                                         was opening up a body.
Userdefined tags are now treated as containers.
Added Kipp's Leaky Tool

r=pollmann.


git-svn-id: svn://10.0.0.236/trunk@50722 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:37:21 +00:00
morse%netscape.com
75a2c4fce1 fix bug 16348, memory leak, r=neeti
git-svn-id: svn://10.0.0.236/trunk@50721 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:36:50 +00:00
sdagley%netscape.com
6f9ff35120 Enforce _MD_DEFAULT_STACK_SIZE as the minimum stack size on Mac. r=beard
git-svn-id: svn://10.0.0.236/trunk@50720 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:33:13 +00:00
pepper%netscape.com
7f58cc3a0b Changed friend declaration to make HP compilers happy.
aCC requires a decl of friend class ClassName instead of friend ClassName.
r=peterl@netscape.com,mgleeson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50719 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:31:07 +00:00
ssu%netscape.com
6277f3a3b3 fixes bug #16246, #16312, #16344, #16308. r=dbragg@netscape.com. fixes crash bug if the install file operation fails. no longer crashes.
git-svn-id: svn://10.0.0.236/trunk@50718 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:30:56 +00:00
kipp%netscape.com
a4a3169649 r=dougt; fixed a warning
git-svn-id: svn://10.0.0.236/trunk@50717 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:30:39 +00:00
sdagley%netscape.com
072fc1a666 Marking all Mac threads as GCable for leak detector work. Bug #15906. r=beard
git-svn-id: svn://10.0.0.236/trunk@50716 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:29:34 +00:00
pepper%netscape.com
0c627abfcd Added missing newline at end of file to make the HP compilers happy.
r=mgleeson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50715 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:28:17 +00:00
alecf%netscape.com
3185d0a81d add boehm to apprunner
(flag not active in build yet)


git-svn-id: svn://10.0.0.236/trunk@50714 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:27:45 +00:00
alecf%netscape.com
4d423eecaf add boehm leak detector support to xpcom on linux
(these flags not active in the build yet)


git-svn-id: svn://10.0.0.236/trunk@50713 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:26:41 +00:00
wtc%netscape.com
0317a9ec8d Bugsplat bug #365543: removed the PRIntn typecast in the definition of
PR_TRUE and PR_FALSE.


git-svn-id: svn://10.0.0.236/trunk@50712 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:25:01 +00:00
alecf%netscape.com
c8460fa4ce tweaks to make generic_threads work on linux
not part of build


git-svn-id: svn://10.0.0.236/trunk@50711 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:24:34 +00:00
alecf%netscape.com
2fce42c8be more tweaks to make beard's generic_threads stuff work on linux
linux already has some of these routines implemented with pthread-specifics
not part of build = no reviewer/bug


git-svn-id: svn://10.0.0.236/trunk@50710 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:22:17 +00:00
mgleeson1%netscape.com
34c5281c43 r=pepper HPUX specific change - enable 64-bit int for js
git-svn-id: svn://10.0.0.236/trunk@50709 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:20:27 +00:00
wtc%netscape.com
463f69ae27 Bugzilla bug #14126: quote $(OS_RELEASE) in the shell command.
Thanks to Greg Noel <GregNoel@san.rr.com> for the bug report
and the fix.  Reviewed by Greg Noel and tested on several flavors
of Linux (x86, sparc, alpha, and ppc) and FreeBSD.


git-svn-id: svn://10.0.0.236/trunk@50708 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:17:38 +00:00
mcafee%netscape.com
8ebe80d3dc Better warning messages. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@50707 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:13:39 +00:00
kipp%netscape.com
37a76d8a25 r=Tomi.Leppikangas@oulu.fi; landed his patch for solaris build issues
git-svn-id: svn://10.0.0.236/trunk@50706 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:11:44 +00:00
kipp%netscape.com
63bce01588 Fixed edge case where line bounds wasn't quite accurate which causes the combined rect to not match which now wastes memory; only affects right aligned lines
git-svn-id: svn://10.0.0.236/trunk@50705 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:10:59 +00:00
kipp%netscape.com
18e9b9d2f5 r=troy; Reworked nsLineBox api to allow for reduced storage overhead; fixed bug 16252 while keeping bug 12709 fixed
git-svn-id: svn://10.0.0.236/trunk@50704 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:10:03 +00:00
jband%netscape.com
b3711cec39 Fixing leaks found by beard...
- Fixed leaked nsID ptr. bug 16373. This alsothrows a JS
exception when JS callers call createInstance or getService
using an (optional) param that is not an iid. This had been a
'XXX' in the code.
- Moved a release call out of just the error condition block in
setting up a ServiceReleaser. I should have caught this one, but
few of my tests use services :(  I have hopes that the whole
ServiceReleaser will become unnecessary as the ServiceManager
system changes and simply calling NS_RELEASE on a service becomes
sufficient.
- Cleaned up an addref/release pair in a setter (need to move to
nsComPtrs!) r=beard


git-svn-id: svn://10.0.0.236/trunk@50703 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:08:59 +00:00
kipp%netscape.com
dde9a9185e r=troy; Use a custom frame type so that bullets show up properly in the frame sizing data
git-svn-id: svn://10.0.0.236/trunk@50702 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:08:58 +00:00
kipp%netscape.com
3f737c9dc4 r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes
git-svn-id: svn://10.0.0.236/trunk@50701 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:08:31 +00:00
kipp%netscape.com
873c0b8d47 r=troy; Added a #define to prevent future code crashes
git-svn-id: svn://10.0.0.236/trunk@50700 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:08:04 +00:00
ftang%netscape.com
2a3924d2e0 fix Shift+a does not produce A in editor problem. We need to clean up isShift before we send. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@50699 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:04:57 +00:00
kipp%netscape.com
a542382c77 Added a new table regression test
git-svn-id: svn://10.0.0.236/trunk@50698 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 22:58:41 +00:00
terry%mozilla.org
909afc64d2 Patch by holger@holger.om.org (Holger Schurig) -- was not correctly fixing up the 'when' column in the bugs_activity table.
git-svn-id: svn://10.0.0.236/trunk@50697 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 22:35:12 +00:00
terry%mozilla.org
270c5df832 Patch by holger@holger.om.org (Holger Schurig) -- get the permissions right on the shadow directory.
git-svn-id: svn://10.0.0.236/trunk@50696 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 22:32:44 +00:00
ftang%netscape.com
da9f453e91 fix problem with url bar trancation. Do not send extra key press for non A-Z0-9
git-svn-id: svn://10.0.0.236/trunk@50695 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 21:49:49 +00:00
brade%netscape.com
6bc5327b10 add nspr shlb to optimized too (to fix probably future mac bustage); remove bad path (r=sfraser@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@50694 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 20:34:38 +00:00
ssu%netscape.com
0acd8acee3 fixing bug #16242. approved by leaf. r=leaf. removes jre122 from the mozilla installer. not part of tinderbox. would only affect windows.
git-svn-id: svn://10.0.0.236/trunk@50693 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 20:23:22 +00:00
brade%netscape.com
9c363797fa add nspr shlb to debug to fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@50692 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 20:18:30 +00:00
dmose%mozilla.org
f0ad8b22a7 fix to cope with checkins.when column name change to checkins.ci_when
git-svn-id: svn://10.0.0.236/trunk@50691 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 20:10:30 +00:00
ftang%netscape.com
0abb41fb24 fix the problem taht PageUp/PageDown/Up/Down/Left/Right/Home/End does not work after we land the keyevent branch. add missing isMeta code there
git-svn-id: svn://10.0.0.236/trunk@50690 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 20:03:00 +00:00
ftang%netscape.com
2d2a382150 landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856


git-svn-id: svn://10.0.0.236/trunk@50688 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 18:27:01 +00:00
alecf%netscape.com
74f7c311eb fix back/forward buttons, #16415
a=leaf


git-svn-id: svn://10.0.0.236/trunk@50687 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 18:26:13 +00:00
terry%mozilla.org
210deb53ba Fix invalid SQL introduced by last patch.
git-svn-id: svn://10.0.0.236/trunk@50686 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 17:34:00 +00:00
terry%mozilla.org
e121b35d4c Allow sorting of status whiteboard column.
git-svn-id: svn://10.0.0.236/trunk@50685 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 17:21:43 +00:00
srinivas%netscape.com
3b846f9edf Add autoconf for NSPR. Check in for cls@seawood.org. Buzill 11893
git-svn-id: svn://10.0.0.236/trunk@50684 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 15:09:11 +00:00
rods%netscape.com
f2b4462a33 This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone
git-svn-id: svn://10.0.0.236/trunk@50683 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 14:55:08 +00:00
srinivas%netscape.com
e68238933b Autconf for NSPR. Checkin for cls@seawood.org. Bugzill #11893.
git-svn-id: svn://10.0.0.236/trunk@50682 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 14:50:38 +00:00
kipp%netscape.com
49f795c9c9 Make necko work with the viewer again
git-svn-id: svn://10.0.0.236/trunk@50681 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 14:43:59 +00:00
brade%netscape.com
bbc03d38ad remove dbl-click message (per joki); dblclick message is causing bug #14990; r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50680 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 14:22:22 +00:00
brade%netscape.com
eb9061c0ef add nsXULControllers.cpp for hyatt (fix mac bustage)
git-svn-id: svn://10.0.0.236/trunk@50679 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 14:14:55 +00:00
brade%netscape.com
093237bea8 add nsIControllers.idl for hyatt (fix mac build bustage)
git-svn-id: svn://10.0.0.236/trunk@50678 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 13:56:34 +00:00
morse%netscape.com
9cbd053f44 fix bug 10434, memory leak detection, r=kin
git-svn-id: svn://10.0.0.236/trunk@50677 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 13:50:36 +00:00
morse%netscape.com
789e4a6e68 fix bug 10434, memory leak detection, r=valeski
git-svn-id: svn://10.0.0.236/trunk@50676 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 13:36:33 +00:00
hyatt%netscape.com
b895b64505 Fixing warnings. r=travis
git-svn-id: svn://10.0.0.236/trunk@50675 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 12:02:32 +00:00
hyatt%netscape.com
3e56d44211 Fixing linux bustage. Typo in makefile.
git-svn-id: svn://10.0.0.236/trunk@50674 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 11:18:03 +00:00
tbogard%aol.net
226a10c27a Changed the content area of navigator to use the new browser tag rather than html:iframe. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@50673 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 11:00:21 +00:00
hyatt%netscape.com
9259952dca Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++)
git-svn-id: svn://10.0.0.236/trunk@50672 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 10:58:25 +00:00
tbogard%aol.net
d548e091c7 Fixed a number of incorrect assumptions of the attribute retrieval so it would now work with the of new XUL content nodes (iframe, browser, editor). r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@50671 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 10:58:04 +00:00
tbogard%aol.net
e623d0cd2b Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@50670 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 10:55:24 +00:00
tbogard%aol.net
645b1aba54 Adding new XUL tags, "iframe", "browser", "editor". r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@50669 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 10:54:32 +00:00
tbogard%aol.net
9cb4c25b8a Added rules for the new browser, editor and iframe types. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@50668 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 10:50:10 +00:00
sgehani%netscape.com
04a7745986 *** NOT PART OF BUILD ***
Fixed bug 11216: Cascading dependencies feature
   
Fixed bug 14320: Parser and action support for the LAUNCHAPP atribute
   
Fixed bug 14322: Mouse over displays component description
   
Fixed bug 16224: Mac Install Wizard crashing when installing custom components


git-svn-id: svn://10.0.0.236/trunk@50667 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 08:30:29 +00:00
sgehani%netscape.com
e33d697bbd Divide by 1024 rather than 1000 when calculating component install sizes. [r=ssu]
git-svn-id: svn://10.0.0.236/trunk@50666 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 08:15:35 +00:00
locka%iol.ie
3e4a7413ef Seperated webshell initialisation/termination out into their own methods. Added support to run Mozilla control from any directory with calls to the new NS_InitXPCOM and some new registry keys.
git-svn-id: svn://10.0.0.236/trunk@50665 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 07:46:55 +00:00
locka%iol.ie
e08fc8df48 Added context popup menu resources
git-svn-id: svn://10.0.0.236/trunk@50664 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 07:44:40 +00:00
locka%iol.ie
9d3f958db2 Added simple working implementation of drag and drop. Control now accepts a URL dragged and dropped from the IE address bar.
git-svn-id: svn://10.0.0.236/trunk@50663 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 07:43:50 +00:00
alecf%netscape.com
4cb578fb28 fix for #16303 - work around DOM security by specifying absolute chrome URLs
patch from norris, r=alecf


git-svn-id: svn://10.0.0.236/trunk@50662 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 07:07:43 +00:00
alecf%netscape.com
067e9e08c7 more tweaks to actually make this do useful things with linux - override malloc with GC_malloc
git-svn-id: svn://10.0.0.236/trunk@50659 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 05:34:21 +00:00
alecf%netscape.com
b7e4e49c84 make this link on rh60 - the pthreads that comes with rh60 doesn't allow direct access to __pthread_initial_thread_box, which was only used as a test anyway
git-svn-id: svn://10.0.0.236/trunk@50658 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 05:33:46 +00:00
troy%netscape.com
3007f63368 b=15388,15408 r=peterl@netscape.com
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height


git-svn-id: svn://10.0.0.236/trunk@50657 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:56:50 +00:00
troy%netscape.com
bc13612958 b=16238. Fix discussed with evaughan@netscape. One line change to make sure
the default area frame flag of NS_BLOCK_SPACE_MGR is used for scrolled
elements


git-svn-id: svn://10.0.0.236/trunk@50656 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:47:18 +00:00
warren%netscape.com
18d4872487 Reordered columns as per macafee's suggestion.
git-svn-id: svn://10.0.0.236/trunk@50655 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:37:13 +00:00
troy%netscape.com
50fb78a575 Space reductions for nsTableFrame. r=karnaze@netscape.com and changes Cc'd to
Hyatt. Tested extensively in apprunner (now mozilla). Change was to reduce from
10 to 5 the default size of the mColumnWidths array (note that the array is
dynamically grown if necessary). This reduces by 20 bytes the minimum table
frame size


git-svn-id: svn://10.0.0.236/trunk@50654 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:27:01 +00:00
karnaze%netscape.com
43efe84083 bug 15247 - ComputeAvailableTableWidth accounts for margins
git-svn-id: svn://10.0.0.236/trunk@50653 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:03:20 +00:00
karnaze%netscape.com
14d9729d57 cells with width=0 become auto, added comments
git-svn-id: svn://10.0.0.236/trunk@50652 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 04:01:26 +00:00
karnaze%netscape.com
1c91cf67ee new regression tests
git-svn-id: svn://10.0.0.236/trunk@50651 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 03:59:42 +00:00
ssu%netscape.com
661f8f1993 fixing bug #16064. checking in for dveditz@netscape.com. r=ssu@netscape.com. This fixes the crash under win98 when running from the windows installer.
git-svn-id: svn://10.0.0.236/trunk@50650 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 03:26:22 +00:00
srinivas%netscape.com
33f38025b2 Enable specification of minimum stack size.
git-svn-id: svn://10.0.0.236/trunk@50649 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 02:33:14 +00:00
jefft%netscape.com
f59d48eecf enable message move/copy {File Here} menu item; bug 13880, r= hangas
git-svn-id: svn://10.0.0.236/trunk@50648 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 02:20:02 +00:00
rhp%netscape.com
36d221edd9 Fix for attachment count - bug #16076 - reviewer: jefft
git-svn-id: svn://10.0.0.236/trunk@50647 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 02:05:20 +00:00
alecf%netscape.com
e39c37dd58 one down, one to go
git-svn-id: svn://10.0.0.236/trunk@50646 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 02:01:40 +00:00
beard%netscape.com
2975241aaf added support for "about:bloat?leaks". bug=15906,r=warren
git-svn-id: svn://10.0.0.236/trunk@50645 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 01:56:49 +00:00
varada%netscape.com
60280cb48a fix for bug #6348 -new field called Title is to be added in each ini file for the show example
git-svn-id: svn://10.0.0.236/trunk@50644 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 01:56:43 +00:00
evaughan%netscape.com
c89e48e233 Fixed gfx scrollbars style rule. Reviewed by Hyatt
git-svn-id: svn://10.0.0.236/trunk@50642 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 01:55:41 +00:00
alecf%netscape.com
af6d54dbdd convert to nsIModule
r=sspitzer
no bug


git-svn-id: svn://10.0.0.236/trunk@50640 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 01:40:27 +00:00
mcafee%netscape.com
ea6a04a363 Backing out quotes change for (14663), r=matt
git-svn-id: svn://10.0.0.236/trunk@50639 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 01:38:22 +00:00
varada%netscape.com
9acc778e9e bug #10361 config in title
git-svn-id: svn://10.0.0.236/trunk@50637 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 01:23:02 +00:00
varada%netscape.com
9b7d72b4f3 fix for bug #10361 - make neccessary changes in ini files in the title
git-svn-id: svn://10.0.0.236/trunk@50636 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 01:21:01 +00:00
bienvenu%netscape.com
48263cb73e real fix for build bustage
git-svn-id: svn://10.0.0.236/trunk@50635 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 01:02:23 +00:00
peterl%netscape.com
946d493f92 moved style rule cascading logic into a stand-alone rule processor
the rule processor can now cascade rules from multiple style sheets
fix for bug 12401 & 12106
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50634 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:59:21 +00:00
peterl%netscape.com
c7896988cd factored out parsing of style attribute
deferred parsing of style attribute until content
is connected to a document
Fix for bug 14986
r=vidur


git-svn-id: svn://10.0.0.236/trunk@50633 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:57:37 +00:00
peterl%netscape.com
866322d95e added an assertion to help track down Bug 14238
r=troy


git-svn-id: svn://10.0.0.236/trunk@50632 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:56:30 +00:00
cyeh%netscape.com
8ba9c7c1f8 move megahal initialization so that if there is a nick collision and we
die, we at least don't leave a forked process behind.


git-svn-id: svn://10.0.0.236/trunk@50631 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:44:37 +00:00
don%netscape.com
7491373c1e Fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@50630 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:39:45 +00:00
varada%netscape.com
0a71d36864 rewriting verifyval to compare values
git-svn-id: svn://10.0.0.236/trunk@50629 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:39:31 +00:00
Jerry.Kirk%Nexwarecorp.com
5f745cfd66 These changes fix a draw problem when a top-level window was Move'd
Bug=16325 r=Michael.Kedl@Nexwarecorp.com


git-svn-id: svn://10.0.0.236/trunk@50628 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:33:49 +00:00
cmanske%netscape.com
1347e8f244 Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge
git-svn-id: svn://10.0.0.236/trunk@50627 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:13:27 +00:00
cmanske%netscape.com
376ee7ffc4 Fixed bug 16118, part of fix for 14342. Reduced size of ender input widget. r=hyatt,hangas
git-svn-id: svn://10.0.0.236/trunk@50626 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:13:21 +00:00
beard%netscape.com
c49f31fb70 fixing a memory leak, just use an nsAutoString. bug=15380, r=harishd
git-svn-id: svn://10.0.0.236/trunk@50625 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:59:27 +00:00
alecf%netscape.com
064759d0a6 make this compile with -pedantic on Linux 2.2
git-svn-id: svn://10.0.0.236/trunk@50624 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:58:25 +00:00
alecf%netscape.com
4cc8b798cc add new makefile for our build system
git-svn-id: svn://10.0.0.236/trunk@50623 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:58:09 +00:00
alecf%netscape.com
e8c68e85db move old Boehm makefile to Makefile.unix
(not part of build)


git-svn-id: svn://10.0.0.236/trunk@50622 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:57:38 +00:00
bienvenu%netscape.com
2d2078838d add close method to datasources, r=mscott, no bug, but fixes some shutdown memory leaks
git-svn-id: svn://10.0.0.236/trunk@50621 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:55:57 +00:00
beard%netscape.com
06ca9ef5c4 make stack crawl instructions addresses reflect call site, not return address. bug=15906, r=rjc
git-svn-id: svn://10.0.0.236/trunk@50620 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:45:40 +00:00
beard%netscape.com
a0aa1b960a Rewrote using Mac file I/O, since MSL can only manage 35 FILEs. bug=15906, r=rjc
git-svn-id: svn://10.0.0.236/trunk@50619 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:45:03 +00:00
beard%netscape.com
34cb9deb75 for now, let leak detector reclaim block. bug=15906, r=rjc
git-svn-id: svn://10.0.0.236/trunk@50618 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:44:55 +00:00
beard%netscape.com
6dfda342cc html-ized the report, added -blame option.
git-svn-id: svn://10.0.0.236/trunk@50617 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:42:49 +00:00
alecf%netscape.com
416447022b fix typo (gif not dif)
talked to cmanske about this, no review necessary


git-svn-id: svn://10.0.0.236/trunk@50616 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:39:52 +00:00
dveditz%netscape.com
c5129bc74b added directory recursion feature to makecopy.exe, r=dougt
git-svn-id: svn://10.0.0.236/trunk@50615 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 23:37:24 +00:00
varada%netscape.com
59aaafb7d0 fix for bug #6569
git-svn-id: svn://10.0.0.236/trunk@50614 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 21:30:51 +00:00
terry%mozilla.org
10a148d16b Removing the last vote on a bug was causing an SQL error.
git-svn-id: svn://10.0.0.236/trunk@50611 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 20:17:01 +00:00
selmer%netscape.com
9c33ecf2b8 fix 15325 - don't allow dupl config
git-svn-id: svn://10.0.0.236/trunk@50607 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 19:55:13 +00:00
selmer%netscape.com
73b2bf9d78 Can't have commands after a Reload
git-svn-id: svn://10.0.0.236/trunk@50606 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 19:24:41 +00:00
wtc%netscape.com
78e2d8b9b1 Fixed an error of incorrect return value type in _MD_DeleteSharedMemory.
git-svn-id: svn://10.0.0.236/trunk@50603 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 19:17:05 +00:00
larryh%netscape.com
c2335df585 NSPR 3.5 landing
git-svn-id: svn://10.0.0.236/trunk@50602 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 18:32:42 +00:00
rbs%maths.uq.edu.au
28de62d660 [MathML] Fix to get the scriptlevel style context back, and minor cleanups.
git-svn-id: svn://10.0.0.236/trunk@50600 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 15:10:14 +00:00
karnaze%netscape.com
d0d34df829 bug 11026 - AllocateUnconstrained was off by 1 twip in some cases. bug 14159 - cell is not fixed width if an auto cell in the same col has a larger desired size for backward compatibilty.
git-svn-id: svn://10.0.0.236/trunk@50599 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 14:44:22 +00:00
kipp%netscape.com
9c0c764b13 Removed an unsupported argument (-f)
git-svn-id: svn://10.0.0.236/trunk@50598 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 14:43:04 +00:00
karnaze%netscape.com
12a011a2e9 removed handling of 0 width cells in ComputeAvailableTableWidth since it is done in nsHTMLTableElement. review=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50597 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 14:39:33 +00:00
karnaze%netscape.com
b893071648 added comments
git-svn-id: svn://10.0.0.236/trunk@50596 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 14:36:28 +00:00
gagan%netscape.com
6d496c35bf Argh... fix my last fix.
git-svn-id: svn://10.0.0.236/trunk@50595 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 12:16:08 +00:00
gagan%netscape.com
14334bc5ea Fix build bustage on windows.
git-svn-id: svn://10.0.0.236/trunk@50594 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 11:50:14 +00:00
gagan%netscape.com
22f1039803 Fix the windows build bustage. Bad checkin on my part!
git-svn-id: svn://10.0.0.236/trunk@50593 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 11:09:37 +00:00
gagan%netscape.com
a4426a97a5 Removing an #if 0 block that got checked in accidently with my last checkins.
git-svn-id: svn://10.0.0.236/trunk@50592 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 10:31:16 +00:00
gagan%netscape.com
8d5737519d Removed an unneccesary include statement. No bug number.
git-svn-id: svn://10.0.0.236/trunk@50591 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 10:28:10 +00:00
gagan%netscape.com
b3785299ff Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren
git-svn-id: svn://10.0.0.236/trunk@50588 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 10:24:12 +00:00
waterson%netscape.com
821cb4f5b2 Factor out dirtying of tree, fixed bug with dynamic column creation due to row addition. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@50587 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 08:53:57 +00:00
waterson%netscape.com
250dbce4cf Add check-for-null-pointer to FireOnSelectHandler() to avoid crashing in the case where a select handler fires on an 'orphaned' node with no document. This can happen if a document is being destroyed and random scripts and events are still filtering through the system.
git-svn-id: svn://10.0.0.236/trunk@50585 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 08:02:02 +00:00
pinkerton%netscape.com
3cadc697e1 correctly update cellmap when scrolling in a tree with no column headers (r=hyatt, partial fix for bug#15771)
git-svn-id: svn://10.0.0.236/trunk@50584 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 08:01:43 +00:00
waterson%netscape.com
eecbd2d60c Add PR_LOG() calls to aid debugging.
git-svn-id: svn://10.0.0.236/trunk@50583 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 08:00:45 +00:00
waterson%netscape.com
d69c3be183 Add PR_LOG() calls to aid with debugging.
git-svn-id: svn://10.0.0.236/trunk@50582 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 08:00:14 +00:00
sfraser%netscape.com
6aa6a226a0 Add jsurl IDL manifest and project for dougt.
git-svn-id: svn://10.0.0.236/trunk@50579 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 07:19:40 +00:00
dougt%netscape.com
683eda7a2e 1) Now evaluting the script during channel creation rather than read() to
avoid a deadlock between the UI/JS thread and the FileTransport thread.

2) Isolating the proxy of the eval to a single interface

3) Change makefiles for windows and unix.

Brendan asked me to look at this.  I am not sure if there is a bug number.

reviewer=brendan@meer.net


git-svn-id: svn://10.0.0.236/trunk@50578 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 07:17:36 +00:00
sfraser%netscape.com
057541d810 Part of dougt jsurl changes. Fixing the project to use the _debug prefix file when building debug. r=dougt
git-svn-id: svn://10.0.0.236/trunk@50577 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 07:16:12 +00:00
sfraser%netscape.com
1359dee773 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@50576 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 07:14:12 +00:00
alecf%netscape.com
fb48c801ad fix windows bustage (sorry, I thought I checked this line in from my windows box, must have missed it)
git-svn-id: svn://10.0.0.236/trunk@50575 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 07:00:42 +00:00
alecf%netscape.com
252994d3f4 update status
git-svn-id: svn://10.0.0.236/trunk@50574 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 06:14:58 +00:00
alecf%netscape.com
579a822e8a convert XPFE components over the nsIModules
git-svn-id: svn://10.0.0.236/trunk@50573 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 06:12:15 +00:00
despotdaemon%netscape.com
17726547ac Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@50572 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 06:07:34 +00:00
alecf%netscape.com
aae40a4d2d nsIModule-ize addressbook
r=sspizer
no bug


git-svn-id: svn://10.0.0.236/trunk@50571 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:55:06 +00:00
alecf%netscape.com
53caf671cb DTDs contain image names too
git-svn-id: svn://10.0.0.236/trunk@50570 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:53:10 +00:00
pavlov%netscape.com
2aaf45465d take 2 static CID's out of two different functions and combine them into 1 r=alecf fixes bug #15776
git-svn-id: svn://10.0.0.236/trunk@50569 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:42:05 +00:00
karnaze%netscape.com
36a43a236d new regression tests, file images for others. Does not affect the build.
git-svn-id: svn://10.0.0.236/trunk@50568 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:40:53 +00:00
alecf%netscape.com
309ba432a9 fix makefiles to correct outdent.dif/outdent.gif typo
git-svn-id: svn://10.0.0.236/trunk@50567 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:35:57 +00:00
alecf%netscape.com
7f72e574c1 add another missing file
git-svn-id: svn://10.0.0.236/trunk@50566 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:34:24 +00:00
sspitzer%netscape.com
e3f84eb9e4 add more comments about what's left to do, and why this is a little scary.
git-svn-id: svn://10.0.0.236/trunk@50565 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:33:26 +00:00
mscott%netscape.com
619a993e2c make sure the user name goes into outgoing imap urls that we make
Bug #16263 --> implement NewURI so we can view embedded images!
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50564 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:21:08 +00:00
mscott%netscape.com
d272bf5abd Bug #16263 --> CreateListOfMessageIDStrings should look for '?' as the delimiter used by
mime for each message part instead of '&'.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50563 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:20:14 +00:00
mscott%netscape.com
fab3227026 Bug #16263 --> make nsGetImapServer public
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50562 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:19:27 +00:00
sspitzer%netscape.com
1caffddc3f whoops, forgot this wee bit of JS.
git-svn-id: svn://10.0.0.236/trunk@50561 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:14:16 +00:00
alecf%netscape.com
dad4df6919 remove file that's making CVS complain
git-svn-id: svn://10.0.0.236/trunk@50560 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:10:14 +00:00
sspitzer%netscape.com
332b7443db fix for #16264, r=mscott. migrate prefs (if we need to) when compose is opened.
also, if we have no identities, launch the account wizard so the user can create
 one.  also, cache the nsIMsgMailSession, we don't need to go through Components
[] and do a getService each time.


git-svn-id: svn://10.0.0.236/trunk@50559 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 05:09:14 +00:00
alecf%netscape.com
f347f08869 oops, missed this file because of a misspelling
fixes mac and possibly windows breakage


git-svn-id: svn://10.0.0.236/trunk@50558 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:41:11 +00:00
alecf%netscape.com
9083887386 update new image names in all XUL, JS, and CSS
git-svn-id: svn://10.0.0.236/trunk@50556 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:26:01 +00:00
sspitzer%netscape.com
7516584ad9 fix for #16262, r=mscott. now we have "Mozilla Profile Wizard" (a.k.a. -ProfileWizard) for the mac.
git-svn-id: svn://10.0.0.236/trunk@50555 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:21:18 +00:00
vidur%netscape.com
b1974e5540 Fix for bug 15772. Check that a content node is part of the document tree before dispatching a blur event to it. R=joki
git-svn-id: svn://10.0.0.236/trunk@50554 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:19:26 +00:00
alecf%netscape.com
d807cd69da get rid of old poorly cased gif file
git-svn-id: svn://10.0.0.236/trunk@50553 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:18:00 +00:00
alecf%netscape.com
b5cd4ed681 oops, missed this mac file
git-svn-id: svn://10.0.0.236/trunk@50552 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:17:04 +00:00
sspitzer%netscape.com
cb1644bdd6 fix for bug #14591, r=mscott.
handle the case where we migrate from 4.x and our sent folder is on the imap server.
but, since we haven't logged into the imap server yet, our folders are undiscovered.

other related fixes:
1) make it so on failure to fcc, save to draft, save to template, send later the message shows up.
2) clean up the error message strings
3) fix how we determine if an URI points to a local folder. (all we need to do is look at the scheme and see if it is "mailbox:"
4) remove a stale comment.


git-svn-id: svn://10.0.0.236/trunk@50551 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:12:06 +00:00
alecf%netscape.com
e7a07c934b export new gifs on Mac
git-svn-id: svn://10.0.0.236/trunk@50550 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:10:49 +00:00
alecf%netscape.com
4353d33c01 export new images on windows
r=mscott
no bug


git-svn-id: svn://10.0.0.236/trunk@50549 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:09:25 +00:00
alecf%netscape.com
4b07a41a74 export new gifs on unix
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50548 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 04:08:15 +00:00
alecf%netscape.com
2475291b21 checkin new image file names
not part of build
no reviewer 'cause you can't review images :)
no bug #, just maintenance for skins a la German
all files added with -kb


git-svn-id: svn://10.0.0.236/trunk@50547 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 03:57:13 +00:00
mscott%netscape.com
928088a46d we appeared to be leaking an rdf resource. I fixed this leak by using a nsCOMPtr.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50546 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 03:18:32 +00:00
pollmann%netscape.com
5c5ba7aa15 Bug 16126: Check for a cached state when reading value or submitting Gfx text frame (before initialize); r=joki
git-svn-id: svn://10.0.0.236/trunk@50545 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 02:49:42 +00:00
mscott%netscape.com
2b381da127 Bug #16115 --> addref the web shell window inside it's Close method to keep the web shell window from getting
deleted out from under us. This could happen because in closing the window, we are destroying a webshell which
could have the last outstanding reference to the webshell window.
r=dp


git-svn-id: svn://10.0.0.236/trunk@50544 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 02:47:56 +00:00
cathleen%netscape.com
b0844bfd3a update windows packaging file list, bug 16144, r=ssu
git-svn-id: svn://10.0.0.236/trunk@50543 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 02:20:16 +00:00
pollmann%netscape.com
489f3fc875 Bug 15423: Check for a base href when forming the URL for an image map; r=harishd
git-svn-id: svn://10.0.0.236/trunk@50541 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:37:30 +00:00
valeski%netscape.com
e96f49b91f 16250. r=warren. IOService method name case changed. reflecting the new method names in the directory javascript
git-svn-id: svn://10.0.0.236/trunk@50540 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:36:57 +00:00
davidm%netscape.com
989168e646 8010 [FEATURE] Task Menu | Tools sub-menu items do not work
remove bogus rules
r = hangas


git-svn-id: svn://10.0.0.236/trunk@50539 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:25:39 +00:00
varada%netscape.com
caca355dec correcting temp node problem
git-svn-id: svn://10.0.0.236/trunk@50538 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:19:23 +00:00
mjudge%netscape.com
01e83014a6 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h
git-svn-id: svn://10.0.0.236/trunk@50537 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:16:09 +00:00
mjudge%netscape.com
dcd63f4da3 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling.
git-svn-id: svn://10.0.0.236/trunk@50536 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:15:26 +00:00
troy%netscape.com
5132f68d26 b=15509, r=peterl@netscape.com
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content


git-svn-id: svn://10.0.0.236/trunk@50535 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:02:53 +00:00
pinkerton%netscape.com
9101132f9e removed some visibility/display rules that were already in xul.css. added a workaround for bug #15722 to not change the icons of the scrollbar buttons on rollover, which caused the trees that contained said scrollbars to fully reflow. (r=hyatt).
git-svn-id: svn://10.0.0.236/trunk@50534 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 01:00:05 +00:00
pollmann%netscape.com
c41e517028 Bug 15180: Don't add a Referer line to the HTTP post data, as Necko already adds one. r=harishd
git-svn-id: svn://10.0.0.236/trunk@50533 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:54:47 +00:00
mgleeson1%netscape.com
fc95d0c6a1 r=dougt need eol for port boxes
git-svn-id: svn://10.0.0.236/trunk@50532 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:50:31 +00:00
rbs%maths.uq.edu.au
6c0a9f5fc0 [MathML] Hooks to allow --enable-mathml
git-svn-id: svn://10.0.0.236/trunk@50531 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:46:09 +00:00
waterson%netscape.com
34e280d8c3 Fix up commentary to reflect reality; remove some confusing stylistic changes. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@50530 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:45:57 +00:00
briano%netscape.com
971976b8c4 Automated update
git-svn-id: svn://10.0.0.236/trunk@50529 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:45:14 +00:00
pinkerton%netscape.com
93aed372f7 pulled mac-specific patches to the tip in order to allow typing in the url bar in navigator to work w/out firing cmd-keybindings. (r=saari, no explicit bug number).
git-svn-id: svn://10.0.0.236/trunk@50528 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:44:43 +00:00
waterson%netscape.com
aa390e05d8 Fix 'commandupdater' nodes; make sure that they are hooked up correctly from the XUL content sink; factor code to appropriately deal with being called from two places. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@50527 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:43:46 +00:00
beard%netscape.com
1a22e3ed7e fixing image decoder leak. bug=15380, r=pnunn
git-svn-id: svn://10.0.0.236/trunk@50526 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:41:43 +00:00
rbs%maths.uq.edu.au
1896cfefef [MathML] Assigning @MOZ_MATHML@ to MOZ_MATHML
git-svn-id: svn://10.0.0.236/trunk@50525 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:39:36 +00:00
rbs%maths.uq.edu.au
410ce267d5 [MathML] Update MathML hooks
git-svn-id: svn://10.0.0.236/trunk@50524 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:33:17 +00:00
varada%netscape.com
fcb9e9bf51 fixes for bug #15782 to save caches
git-svn-id: svn://10.0.0.236/trunk@50523 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:28:59 +00:00
varada%netscape.com
37e2169b4e fix for bug #15782 to save cache file in the respective directories and also to save after each page and to save the last used config name in the default che
git-svn-id: svn://10.0.0.236/trunk@50522 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:28:10 +00:00
selmer%netscape.com
2e8166fd64 Added checking to ensure DLL & procedure get loaded successfully
git-svn-id: svn://10.0.0.236/trunk@50521 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:19:03 +00:00
selmer%netscape.com
3f42f06246 Fixed up releasing DLLs in destructor
git-svn-id: svn://10.0.0.236/trunk@50519 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:12:27 +00:00
cbegle%netscape.com
7519f0fc4c * removed stuff from the idl file that caused warnings
* fixed a typo that caused a warning (nsIsupports)
* fixed values of constants that caused warnings
* use a macro instead of assinging a long long value directly

r=jband


git-svn-id: svn://10.0.0.236/trunk@50518 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:11:21 +00:00
pinkerton%netscape.com
7062dc3e8b take a first stab at native system colors. obviously more work needs to be done to use appearance, but this will get us started. (r=sfraser, bug# 1021).
git-svn-id: svn://10.0.0.236/trunk@50517 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:08:17 +00:00
pinkerton%netscape.com
8c90b18f03 correctly trigger the sending of mouse_exit events when the mouse moves into the growBox. fixes a bug with gfx scrollbars in bookmarks when the window was resized. (r=sfraser, no explicit bug number).
git-svn-id: svn://10.0.0.236/trunk@50516 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:06:00 +00:00
selmer%netscape.com
51c5a4e65e Implemented basis for DLL functions in interpreter; fixed Reload to exit if anything follows it
git-svn-id: svn://10.0.0.236/trunk@50515 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 00:01:10 +00:00
norris%netscape.com
169ef88ab4 Fix following problem:
Subject:
        another getClassLoader exception
   Date:
        Tue, 12 Oct 1999 10:39:26 -0400
   From:
        Andrew Wason <aw@softcom.com>
     To:
        norris@netscape.com (Norris Boyd)
    CC:
        Howard Lin <howard@softcom.com>




Norris,

It looks like the classes the optimizer generates call
ScriptRuntime.defineFunction which calls getClassLoader.  This throws a
SecurityException.

java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClassLoader )
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
, Compiled Code)
at java.security.AccessController.checkPermission(AccessController.java,
Compiled Code)
at java.lang.SecurityManager.checkPermission(SecurityManager.java, Compiled
Code)
at java.lang.Class.getClassLoader(Class.java, Compiled Code)
at
org.mozilla.javascript.ScriptRuntime.defineFunction(ScriptRuntime.java:2045)
at org.mozilla.javascript.gen.c5.initScript(order.js)
at org.mozilla.javascript.gen.c5.exec(order.js)
at org.mozilla.javascript.Context.evaluateReader(Context.java:728)
[...]



Andrew
--
Andrew Wason
SoftCom, Inc.
aw@softcom.com


git-svn-id: svn://10.0.0.236/trunk@50514 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:54:03 +00:00
despotdaemon%netscape.com
e0c55754d5 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@50513 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:30:12 +00:00
kipp%netscape.com
b7194daf71 r=kin,troy; Fixed reflow bug with optimization logic to avoid measuring text (no bug #)
git-svn-id: svn://10.0.0.236/trunk@50512 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:29:01 +00:00
kipp%netscape.com
01e298fd41 Fixed bugs with combined-area continuing to include trimmed whitespace (wip for 12297); Added support for tracking trim for 16176)
git-svn-id: svn://10.0.0.236/trunk@50511 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:27:32 +00:00
kipp%netscape.com
091955e9a0 New API for bug 16176
git-svn-id: svn://10.0.0.236/trunk@50510 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:26:41 +00:00
kipp%netscape.com
76b98f20a7 Factored common code into a single method (UseComputedHeight)
git-svn-id: svn://10.0.0.236/trunk@50509 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:25:49 +00:00
kipp%netscape.com
51d691cc02 Port to new nsILineIterator api
git-svn-id: svn://10.0.0.236/trunk@50508 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:25:19 +00:00
kipp%netscape.com
45e857d860 Fixed bug with bounds of line-box including side margins when it shouldn't (part of 12297)
git-svn-id: svn://10.0.0.236/trunk@50507 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:24:51 +00:00
kipp%netscape.com
28bd74e177 r=troy; Cleaned up line-box API (prep work for bug #12297; more coming); Support new line iterator API change (#16176)
git-svn-id: svn://10.0.0.236/trunk@50505 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:24:22 +00:00
kipp%netscape.com
eb73055cf6 Removed silly NS_IMETHOD decls
git-svn-id: svn://10.0.0.236/trunk@50504 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:22:53 +00:00
kipp%netscape.com
2c17cc458b Added two new atoms to help meter large vs. small line boxes
git-svn-id: svn://10.0.0.236/trunk@50503 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:22:34 +00:00
kipp%netscape.com
d10b7ecd53 Removed two warnings
git-svn-id: svn://10.0.0.236/trunk@50502 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:21:40 +00:00
kipp%netscape.com
028e053c7f new
git-svn-id: svn://10.0.0.236/trunk@50501 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:20:40 +00:00
rjc%netscape.com
252f4090ad Fix VC5 build bustage.
git-svn-id: svn://10.0.0.236/trunk@50500 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:09:09 +00:00
idk%eng.sun.com
9599670719 Fix 16230
Call AddRef for newly created PlugletInsance
r = akhil.arora@sun.com


git-svn-id: svn://10.0.0.236/trunk@50499 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:01:44 +00:00
terry%mozilla.org
100e540599 Patch by Holger Schurig <holger@holger.om.org> -- rewriting and enhancing the
ability to edit components, products, and versions.  Yay!


git-svn-id: svn://10.0.0.236/trunk@50498 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 23:00:35 +00:00
mgleeson1%netscape.com
b383080e9b r=evaughan friend declaration needs to declare object is function or class (HPUX)
git-svn-id: svn://10.0.0.236/trunk@50497 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:58:04 +00:00
norris%netscape.com
f40460044c Fix 7254 Implement DOM security
Reviewed by mstoltz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50496 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:55:25 +00:00
pavlov%netscape.com
967990a454 build nsScriptableRegion.cpp on windows and linux r=pinkerton ********* WORK TO FIX BUG 12465 *********
git-svn-id: svn://10.0.0.236/trunk@50495 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:53:41 +00:00
norris%netscape.com
120ec26f3b Work on 15824 bad refcounting in nsCodebasePrincipal
Attempt to discover problem with additional assertions
reviewed by mstoltz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50494 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:52:49 +00:00
norris%netscape.com
f686bba5d8 Fix part of 5403 Services improperly released: Use NS_WITH_SERVICE
reviewed by mstoltz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50493 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:51:54 +00:00
norris%netscape.com
1d1cd2baaf Fix unix build warning.
Reviewed by rogerl@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@50492 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:48:17 +00:00
dougt%netscape.com
b6030ceac7 adding default constructor (mac compiler blues)
git-svn-id: svn://10.0.0.236/trunk@50491 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:47:50 +00:00
norris%netscape.com
258a2a6d4a Needed for 7254: Implement DOM security
reviewed by Ben Goodger <rgoodger@ihug.co.nz> and Seth Spitzer <sspitzer@netscape.com>

Scripts running from chrome are considered super privileged and can perform operations that
scripts from the web cannot. I differentiate chrome scripts from web
scripts by considering all scripts loaded from chrome: URIs to be
privileged.

The problem I'm running into is that the loading of relative urls in
this code ends up going to the file: protocol (which is what the chrome
protocol is converted to internally). This change makes sure we load
from the chrome protocol so that the scripts are privileged and don't
get access errors. It's probably a good idea to load from the chrome
protocol anyway since it may one day be resolved to extracting from a
JAR file rather than accessing a discrete file.


git-svn-id: svn://10.0.0.236/trunk@50490 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:47:36 +00:00
dougt%netscape.com
2f38d972f2 adding default constructor (mac compilers blues)
git-svn-id: svn://10.0.0.236/trunk@50489 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:46:49 +00:00
kmcclusk%netscape.com
afe30290c8 Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50488 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:44:23 +00:00
wtc%netscape.com
19cd8f1747 Backed out previous revision, which was checked in during code freeze.
git-svn-id: svn://10.0.0.236/trunk@50486 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:37:13 +00:00
cyeh%netscape.com
3ee2fa81c3 add support for megahal conversation ai, fix syntax error for sending
stock reports to the original requestor.


git-svn-id: svn://10.0.0.236/trunk@50485 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:34:49 +00:00
dougt%netscape.com
2ebb109791 changing the entrypoint to call another constructor. I need this since I have
removed an unneeded constructor.  related bug 13724. r=brendan@meer.net


git-svn-id: svn://10.0.0.236/trunk@50484 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:32:10 +00:00
dougt%netscape.com
8344cba9ee Added a nested event loop instead of blocking during sync calls. Partial fix
for bug 13724.  (I still must remove ifdef's for the autoproxy code.)
r=brendan@meer.net.


git-svn-id: svn://10.0.0.236/trunk@50483 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:29:43 +00:00
rjc%netscape.com
7c82b0b5f1 [performance] When profile manager is being used, don't read in bookmarks twice... by deferring hiddenwindow.xul loading until after profile manager is done. Review: danm and sspitzer
git-svn-id: svn://10.0.0.236/trunk@50482 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:20:28 +00:00
kmcclusk%netscape.com
1f838ed9cc Backing out change made while tree was closed
git-svn-id: svn://10.0.0.236/trunk@50481 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:07:24 +00:00
kmcclusk%netscape.com
288ad892dc Backing out changes made while tree was closed.
git-svn-id: svn://10.0.0.236/trunk@50480 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 22:01:49 +00:00
norris%netscape.com
0067ebd9f5 Remove redundant import.
git-svn-id: svn://10.0.0.236/trunk@50479 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 21:46:50 +00:00
kmcclusk%netscape.com
3ed94d5f1f Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50478 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 21:42:31 +00:00
evaughan%netscape.com
74de522d21 Fixed mail/news regression. Code review Saari, Hyatt
git-svn-id: svn://10.0.0.236/trunk@50476 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 20:50:01 +00:00
selmer%netscape.com
318689d640 Top level makefile
git-svn-id: svn://10.0.0.236/trunk@50474 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 20:36:42 +00:00
terry%mozilla.org
06a85f06f3 Patch by Holger Schurig <holger@holger.om.org> -- If there is no exactly ONE
user in the profiles table, then this user will be promoted into all groups.


git-svn-id: svn://10.0.0.236/trunk@50473 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 20:28:41 +00:00
beard%netscape.com
fa0386eb21 printing stack crawls with LXR URLs.
git-svn-id: svn://10.0.0.236/trunk@50472 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 18:59:52 +00:00
dmose%mozilla.org
980b8b883b not used on the trunk; the space in the file name is causing script problems. r=smfr@netscape.com, a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@50471 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 18:32:04 +00:00
selmer%netscape.com
b237b4f45e Split interpret into its own class
git-svn-id: svn://10.0.0.236/trunk@50470 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 18:31:05 +00:00
terry%mozilla.org
e5bf02a97b newer alphas of MySQL won't let use "when" as a column name, so let's change
our usage while it's still easy to do so.


git-svn-id: svn://10.0.0.236/trunk@50469 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 18:05:42 +00:00
slamm%netscape.com
ffbff9e7c8 Forgot a semicolon and that caused the creation of bogus files. a=leaf. Thanks to jim_nance@yahoo.com for pointing out the problem.
git-svn-id: svn://10.0.0.236/trunk@50468 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 17:05:05 +00:00
terry%mozilla.org
f07d66246d Patch by Holger Schurig <holgerschurig@nikocity.de> -- replace all the
yicky old make*.sh files and the CHANGES file with a new, nifty
checksetup.pl file that knows how to create a setup from scratch as
well as upgrade an older setup to a new one.  Very cool stuff!


git-svn-id: svn://10.0.0.236/trunk@50467 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 16:58:11 +00:00
terry%mozilla.org
6c6ce1b3d7 Patch by tom@platte.com (Tom Schutter) -- wasn't working if no groups
had isbuggroup set.


git-svn-id: svn://10.0.0.236/trunk@50466 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 16:52:25 +00:00
norris%netscape.com
c813db9f21 Fix release date, add contributor.
git-svn-id: svn://10.0.0.236/trunk@50465 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 16:52:13 +00:00
karnaze%netscape.com
eb1e3503ae new regression test.
git-svn-id: svn://10.0.0.236/trunk@50464 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 14:50:38 +00:00
Jerry.Kirk%Nexwarecorp.com
f62900eb59 Fixed syntax error which caused invalidation not to work when logging
was turned off.
Bug# 16169 r=Dale.Stansberry@Nexwarecorp.com


git-svn-id: svn://10.0.0.236/trunk@50463 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 14:39:32 +00:00
neeti%netscape.com
0e926140f9 updating status
git-svn-id: svn://10.0.0.236/trunk@50462 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 13:38:23 +00:00
neeti%netscape.com
639989c1df Converted to nsIModule to prepare for memory leaks fixing. Bug# 14034. r=waterson
git-svn-id: svn://10.0.0.236/trunk@50461 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 13:33:42 +00:00
dcone%netscape.com
78accf0d1a fixed the CreateRenderingContext call in nsDeviceContext to get rid of warnings. CR by KMcclusk.
git-svn-id: svn://10.0.0.236/trunk@50460 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 13:32:34 +00:00
briano%netscape.com
d7505330dd Automated update
git-svn-id: svn://10.0.0.236/trunk@50459 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 12:52:20 +00:00
cls%seawood.org
b166fe020d Converting patches applied for bug 15241 into a build option, --enable-implicit-archive, that is off by default.
r=syd


git-svn-id: svn://10.0.0.236/trunk@50458 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 12:36:07 +00:00
briano%netscape.com
55f10b405f Automated update
git-svn-id: svn://10.0.0.236/trunk@50457 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 11:52:18 +00:00
ramiro%netscape.com
8bcbaf642c Fix for bug 16163. Usage of -liberty to demangle symbols breaks on loser
linux distributions.  I changed configure.in to detect this lib before using
it.  You can stop whinning now thank you.  r=syd@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@50456 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 11:42:56 +00:00
warren%netscape.com
a5420e53d5 Fixed nsnull problem!
git-svn-id: svn://10.0.0.236/trunk@50455 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 11:21:26 +00:00
terry%mozilla.org
611923e583 Updating the vote cache should not update the date-last-changed field
in the bug.


git-svn-id: svn://10.0.0.236/trunk@50454 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 11:18:29 +00:00
warren%netscape.com
4e84b82b51 Fixed return value for non-debug builds.
git-svn-id: svn://10.0.0.236/trunk@50453 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 10:27:40 +00:00
warren%netscape.com
865a79a1b5 Added Bloat statistics under QA menu.
git-svn-id: svn://10.0.0.236/trunk@50452 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:37:37 +00:00
warren%netscape.com
5e7fed7a2f Added about:bloat
git-svn-id: svn://10.0.0.236/trunk@50451 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:35:22 +00:00
warren%netscape.com
ed816f5fa6 added files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp
git-svn-id: svn://10.0.0.236/trunk@50450 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:32:18 +00:00
warren%netscape.com
da470df1ca Added nsTraceRefcnt logging.
git-svn-id: svn://10.0.0.236/trunk@50449 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:30:16 +00:00
warren%netscape.com
4ff5cdca2a Made nsTraceRefcnt output write to streams.
git-svn-id: svn://10.0.0.236/trunk@50448 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:30:12 +00:00
warren%netscape.com
991d518e3e removed files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp
git-svn-id: svn://10.0.0.236/trunk@50447 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:26:38 +00:00
warren%netscape.com
d8984b315e added files: mozilla/netwerk/protocol/about/src/nsAboutBloat.cpp
git-svn-id: svn://10.0.0.236/trunk@50446 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:25:14 +00:00
warren%netscape.com
c5fccc649e Added about:bloat handler.
git-svn-id: svn://10.0.0.236/trunk@50445 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 09:20:25 +00:00
pollmann%netscape.com
419cb327c4 Bug 15841: Don't default to selecting item 0 of a listbox
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd


git-svn-id: svn://10.0.0.236/trunk@50444 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 08:47:29 +00:00
pollmann%netscape.com
7860787b10 Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd


git-svn-id: svn://10.0.0.236/trunk@50443 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 08:47:22 +00:00
mscott%netscape.com
ccf37b21ec Remove this file from the repository to fix the Mac buids.
The mac projects were looking in this folder and always finding the
stale nsISessionHistory.h file instead of using the idl generated
header file
r=davidm


git-svn-id: svn://10.0.0.236/trunk@50442 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 07:50:17 +00:00
mcafee%netscape.com
0ba95a928f Applying patch from buhr@stat.wisc.edu. Fixes destination widget confusion (14759). Unix-only, a=mscott
git-svn-id: svn://10.0.0.236/trunk@50441 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 07:26:47 +00:00
radha%netscape.com
569c87328e Build bustage in solaris
git-svn-id: svn://10.0.0.236/trunk@50440 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:57:03 +00:00
mscott%netscape.com
941d2435ba nsISessionHistory.idl needs to be in this project.
i think this should fix Radha' build breakage for the mac.


git-svn-id: svn://10.0.0.236/trunk@50439 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:45:10 +00:00
mcafee%netscape.com
68944c6b5c Adding debug Pref UI for evaughan's gfx scrollbars. r=waterson
git-svn-id: svn://10.0.0.236/trunk@50438 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:40:15 +00:00
sfraser%netscape.com
1122546a7f Fix for bug 16151; make the file transport working thread stack size 64k, instead of 8k. Fixes crashes on startup on Mac. r=beard
git-svn-id: svn://10.0.0.236/trunk@50437 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:39:18 +00:00
jefft%netscape.com
b77b7f8e29 removed files: mozilla/mailnews/compose/src/nsMsgI18N.cpp
git-svn-id: svn://10.0.0.236/trunk@50436 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:24:48 +00:00
jefft%netscape.com
1eb33cb46e added files: mozilla/mailnews/base/util/nsMsgI18N.cpp
git-svn-id: svn://10.0.0.236/trunk@50435 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:21:21 +00:00
jefft%netscape.com
c0fbb70022 fixed bug 15676 - Display problem in Subject header with non-ascii when Forwarding; decode the subject string based on character prior setting it to nsMsgComposeFields; move nsMsgI18N.h, nsMsgI18N.cpp from compose/src to base/util; r=rhp, nhotta
git-svn-id: svn://10.0.0.236/trunk@50434 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:18:27 +00:00
mscott%netscape.com
ec97378850 Bug #15655 --> don't build old nsMimeFactory. Build nsMimeModule instead.
r=rhp


git-svn-id: svn://10.0.0.236/trunk@50433 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:05:17 +00:00
mscott%netscape.com
df2bf72c59 Bug #15655 -> build nsMimeModule.cp
r=rhp


git-svn-id: svn://10.0.0.236/trunk@50432 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:04:41 +00:00
mscott%netscape.com
7527b7b206 bug #15655 --> no longer build nsMimeFactory.cpp...we build
nsMimeModule instead.
r=rhp


git-svn-id: svn://10.0.0.236/trunk@50431 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:04:25 +00:00
mscott%netscape.com
a252dee761 include nsMsgMimeCID.h to get the CID. (moved CID out of interface)
r=rhp


git-svn-id: svn://10.0.0.236/trunk@50430 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:03:49 +00:00
mscott%netscape.com
05ab0a848d Bug #15655 module for mime. (replaces nsMimeFactory.cpp)
remove NS_New** factory method. minor cleanup
r=rhp


git-svn-id: svn://10.0.0.236/trunk@50429 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:03:25 +00:00
mscott%netscape.com
d0cd134272 Bug #15655 module for mime. (replaces nsMimeFactory.cpp)
r=rhp


git-svn-id: svn://10.0.0.236/trunk@50428 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:03:05 +00:00
mscott%netscape.com
e89f59cad5 Bug #15655 new file. module for mime. (replaces nsMimeFactory.cpp)
r=rhp


git-svn-id: svn://10.0.0.236/trunk@50427 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:02:23 +00:00
rbs%maths.uq.edu.au
dd050726f8 [MathML] Updates and initial landing of the example mixing.xml to illustrate how to mix MathML with other markups
git-svn-id: svn://10.0.0.236/trunk@50426 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 05:00:32 +00:00
rbs%maths.uq.edu.au
02f74ae132 [MathML] Removing unecessary #include of header files
git-svn-id: svn://10.0.0.236/trunk@50425 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:53:41 +00:00
rbs%maths.uq.edu.au
a017529e6b [MathML] Additional missing hooks
git-svn-id: svn://10.0.0.236/trunk@50424 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:47:55 +00:00
rbs%maths.uq.edu.au
7083308cff [MathML] Removing unecessary #include of header files
git-svn-id: svn://10.0.0.236/trunk@50423 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:42:15 +00:00
waterson%netscape.com
6430228b19 Add nsScrollPortView.cpp to the build to get around undefined symbols at startup: looks like it got missed on Unix.
git-svn-id: svn://10.0.0.236/trunk@50422 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:41:07 +00:00
radha%netscape.com
7ba4c213b3 XPIDLising session history. bug # 15437. r=law
git-svn-id: svn://10.0.0.236/trunk@50421 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:40:59 +00:00
rbs%maths.uq.edu.au
84470b2c93 [MathML] Portability: adding explicit get() on pointers coming from nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@50420 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:38:21 +00:00
radha%netscape.com
270ce881b4 XPIDised session history. Corresponding changes to users of nsISessionHistory.
Bug # 15437. r=law


git-svn-id: svn://10.0.0.236/trunk@50419 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:37:43 +00:00
cls%seawood.org
173cc583c1 Temp fix for the dependency problem caused by the use of implicit shared libs. a=leaf
git-svn-id: svn://10.0.0.236/trunk@50418 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 03:42:02 +00:00
idk%eng.sun.com
651e1ddd8a Bug <a href=http://bugzilla.mozilla.org/show_bug.cgi?id=15892> 15892 </a>
increment pointer to  mime description string before calling strchr


git-svn-id: svn://10.0.0.236/trunk@50417 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 03:29:27 +00:00
waterson%netscape.com
30e53d03e9 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50416 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 03:05:10 +00:00
warren%netscape.com
0a71bb415f Fixed missed GetFileSpec
git-svn-id: svn://10.0.0.236/trunk@50415 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:35:00 +00:00
rbs%maths.uq.edu.au
daf51ae193 Revamp of the architecture for stretchy symbols so that nsMathMLChar only deals with the atomic stretchy task.
git-svn-id: svn://10.0.0.236/trunk@50414 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:12:36 +00:00
waterson%netscape.com
e20da712ec Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
git-svn-id: svn://10.0.0.236/trunk@50413 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:10:08 +00:00
alecf%netscape.com
a4d81273ff upating status
git-svn-id: svn://10.0.0.236/trunk@50412 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:07:13 +00:00
rbs%maths.uq.edu.au
931605d622 Removing a duplicate reference to a src file
git-svn-id: svn://10.0.0.236/trunk@50411 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 02:06:05 +00:00
rbs%maths.uq.edu.au
ba241132ea Removing a typedef and adding a new NS_MATHML_OPERATOR_MUTABLE flag
git-svn-id: svn://10.0.0.236/trunk@50409 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:58:27 +00:00
selmer%netscape.com
36bb330940 Created new Interpret.cpp & CInterpret class
git-svn-id: svn://10.0.0.236/trunk@50408 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:54:00 +00:00
rbs%maths.uq.edu.au
328d62f08f [MathML] removing registration hooks. They are now handled by nsLayoutModule.
git-svn-id: svn://10.0.0.236/trunk@50407 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:48:05 +00:00
warren%netscape.com
6a952509ef Lowercased idl method names for scriptability. Cleaned up nsIURL interface.
git-svn-id: svn://10.0.0.236/trunk@50406 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:39:37 +00:00
peterl%netscape.com
3295631735 store system colors as int rather than enums
return proper result code when setting system color
r=rods


git-svn-id: svn://10.0.0.236/trunk@50405 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:31:33 +00:00
slamm%netscape.com
f12855c796 Remove extra 'mozilla/' in cvsblame'd source link.
git-svn-id: svn://10.0.0.236/trunk@50404 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:25:47 +00:00
rbs%maths.uq.edu.au
121acfa205 [MathML] Setting a bolean to PR_TRUE to allow generated pseudo content (e.g., :before, :after) in MathML.
git-svn-id: svn://10.0.0.236/trunk@50403 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:19:34 +00:00
cathleen%netscape.com
01eb918031 fix mac packager list, bug 16141, r=ssu
git-svn-id: svn://10.0.0.236/trunk@50402 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:11:42 +00:00
selmer%netscape.com
63d606d58f Fix up inclusions of headers
git-svn-id: svn://10.0.0.236/trunk@50401 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:56:51 +00:00
pavlov%netscape.com
8f331211d9 fix cursor blinking on linux r=ramiro
git-svn-id: svn://10.0.0.236/trunk@50400 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:44:07 +00:00
alecf%netscape.com
e2e17b4ff5 finish landing nsIModule for compose
this and my last checkin r=sspizter
no bug, porkjockey work


git-svn-id: svn://10.0.0.236/trunk@50399 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:37:39 +00:00
alecf%netscape.com
d5785373e3 land nsIModule for mail compose
git-svn-id: svn://10.0.0.236/trunk@50398 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:34:06 +00:00
peterl%netscape.com
1299fd6c0b better result code testing in recreate frames for content
part of fix for 14134
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50397 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:32:13 +00:00
peterl%netscape.com
7021f197de added ignore value to user-focus
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@50396 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:30:54 +00:00
peterl%netscape.com
df37832d89 added 'ignore' keyword
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@50395 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:30:19 +00:00
warren%netscape.com
6d83d361f0 Fixed bloat snapshotting capabilities. r=kipp
git-svn-id: svn://10.0.0.236/trunk@50394 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:29:54 +00:00
warren%netscape.com
93c11dbc7d Added NS_LOG_RELEASE for bloat stats. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50393 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:28:14 +00:00
ssu%netscape.com
6a84236160 fixing bug #16095. apprunner.exe got renamed to mozilla.exe. This fix updates the installer to create the proper windows shortcut. Not part of tinderbox. r=dbragg@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50392 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:23:37 +00:00
peterl%netscape.com
8b985c46d4 fix return type for append reflow command (was returning PRBool for nsresult)
part of fix for 14134
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50391 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:23:10 +00:00
peterl%netscape.com
bd0a1b5cb4 dont strip multiple changes with nsnull frames
part of fix for 14134
r=pierre


git-svn-id: svn://10.0.0.236/trunk@50390 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:22:18 +00:00
peterl%netscape.com
b765a3d4c4 add 'ignore' to user focus
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@50389 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:21:06 +00:00
dougt%netscape.com
06ac17fb62 fixes bug 15709. r=dveditz.
git-svn-id: svn://10.0.0.236/trunk@50388 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:20:23 +00:00
evaughan%netscape.com
4dbf02b9bd added files: mozilla/view/src/nsScrollPortView.cpp
git-svn-id: svn://10.0.0.236/trunk@50387 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:34 +00:00
sspitzer%netscape.com
da4d6e495b fix for #16098, r=mscott. Now we have "Mozilla Profile Manager" for the mac, which is the same as -ProfileManager on the other platforms
git-svn-id: svn://10.0.0.236/trunk@50386 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:31 +00:00
evaughan%netscape.com
b6c93b5c5c Integrated Gfx scrollbars.
git-svn-id: svn://10.0.0.236/trunk@50385 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:06 +00:00
mscott%netscape.com
6d6b3023f8 support nsIStreamObserver to get rid of an assert in necko.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50384 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:13:45 +00:00
cbegle%netscape.com
d31b3296a7 new files.
new tests for xpconnect.  r=jband.


git-svn-id: svn://10.0.0.236/trunk@50383 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:12:43 +00:00
varada%netscape.com
bb0622beb7 changing minlen and maxlen in edit fields
git-svn-id: svn://10.0.0.236/trunk@50382 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:12:10 +00:00
alecf%netscape.com
342865f5fe was not setting the "type" attribute during CreateIncomingServer
fixes #16075
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50381 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:07:14 +00:00
varada%netscape.com
e6f4dfa6bc bug #5958 validating entering of characters in the newconfigdialog edit fields
git-svn-id: svn://10.0.0.236/trunk@50380 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:05:38 +00:00
kmcclusk%netscape.com
f52acaed14 Implemented nsRenderingContextWin::CopyClipRegion. bug 13913; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50379 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:05:04 +00:00
ducarroz%netscape.com
888a71ee23 Fix for bug 15235 & 14785. I checkin this for jefft. Messages need to be save using platform specific line break. R=ducarroz
git-svn-id: svn://10.0.0.236/trunk@50378 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:03:17 +00:00
kmcclusk%netscape.com
90932ba7f3 Changed WIN32 windows style from WS_EX_CLIENTEDGEto WS_EX_WINDOWEDGE to
stop drawing client windows sunken. bug=15151; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50377 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:56:55 +00:00
rods%netscape.com
b845870367 changed fonts for select and optgroup to match r=kmcclusk b=12230
git-svn-id: svn://10.0.0.236/trunk@50376 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:48:41 +00:00
varada%netscape.com
c3b9e376e5 fix to bug #15339- added SetForegroundWindowin the OnSetActive code in the wizardui.cpp
git-svn-id: svn://10.0.0.236/trunk@50375 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:47:49 +00:00
nhotta%netscape.com
59ee43f7fc Adding a new interface which does a charset conversion plus NE and NCR for fallback. Part of bug fix #8865, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@50374 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:47:27 +00:00
rods%netscape.com
a30fed502d removed css system color references (not implemented on Mac yet)
changed all checkbox borders to 2 pixels r=kmcclusk b=13854


git-svn-id: svn://10.0.0.236/trunk@50373 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:44:36 +00:00
nisheeth%netscape.com
d65bc1efa0 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
git-svn-id: svn://10.0.0.236/trunk@50372 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:42:56 +00:00
nisheeth%netscape.com
932343b896 Changes not part of build. We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers.
git-svn-id: svn://10.0.0.236/trunk@50371 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:33:14 +00:00
nisheeth%netscape.com
4443e74058 Changes not part of build. Added a debug trace macro that outputs to the console only when DEBUG_STOPWATCH is defined.
git-svn-id: svn://10.0.0.236/trunk@50370 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 23:30:45 +00:00
rogerl%netscape.com
9a868467c2 NOT A PART OF SEAMONKEY BUILD
- fixed test ECMA references,
- added test to -002


git-svn-id: svn://10.0.0.236/trunk@50368 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:59:25 +00:00
norris%netscape.com
6a9e7e63c8 Fix bug:
Subject:
        optimizer SecurityException
   Date:
        Mon, 11 Oct 1999 17:37:51 -0400
   From:
        Andrew Wason <aw@softcom.com>
     To:
        norris@netscape.com (Norris Boyd)
    CC:
        Howard Lin <howard@softcom.com>




We use our own SecuritySupport implementation in Rhino.  This is properly
getting called by the optimizer to generate new classes (e.g.
org.mozilla.javascript.gen.c5 etc.)

However, after defining the class, Codegen.compile calls getClassLoader()
on the new class.  The default SecurityManager doesn't allow
getClassLoader() to be called and so an exception is thrown:

java.lang.RuntimeException: Malformed optimizer package
java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClassLoader )
        at org.mozilla.javascript.optimizer.Codegen.compile(Codegen.java:138)
        at org.mozilla.javascript.Context.compile(Context.java:1761)
        at org.mozilla.javascript.Context.compile(Context.java:1691)
        at org.mozilla.javascript.Context.compileReader(Context.java:810)
        at org.mozilla.javascript.Context.evaluateReader(Context.java:725)
        [...]

This is kind of a pain to duplicate outside of our application, but if you
require a test case I can create one.

Codegen is attempting to call loadClass() after it uses
SecuritySupport.defineClass().  Our SecuritySupport calls loadClass()
internally in its defineClass() implementation.  This is what JavaAdapter
expects.

This is from Codegen.compile():

                         if (securitySupport == null) {
                             if (Context.isSecurityDomainRequired())
                                 throw new SecurityException("Required " +
                                             "security context missing");
                             if (classLoader == null)
                                 classLoader = new JavaScriptClassLoader();
                             clazz = classLoader.defineClass(name, classFile);
                         } else {
                             clazz = securitySupport.defineClass(name,
classFile,
                                                                 securityDom
securityDomain);
                         }
                         ClassLoader loader = clazz.getClassLoader();
                         clazz = loader.loadClass(name);


This is from JavaAdapter.createAdapterClass():


         SecuritySupport ss = cx.getSecuritySupport();
         if (ss != null)  {
             Object securityDomain = cx.getSecurityDomainForStackDepth(-1);
             return ss.defineClass(adapterName, bytes, securityDomain);
         } else {
             if (classLoader == null)
                 classLoader = new MyClassLoader();
             classLoader.defineClass(adapterName, bytes);
             return classLoader.loadClass(adapterName, true);
         }


So JavaAdapter is assuming SecuritySupport.defineClass() will call
ClassLoader.loadClass() on the new class, while Codegen is assuming it
needs to call ClassLoader.loadClass() on the class defined by
SecuritySupport.defineClass().

These should be made consistent, and in both cases it should be assumed
that SecuritySupport will both define and load the class.


Andrew
--
Andrew Wason
SoftCom, Inc.
aw@softcom.com


git-svn-id: svn://10.0.0.236/trunk@50367 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:48:13 +00:00
rogerl%netscape.com
2fc190da13 NOT A PART OF SEAMONKEY BUILD
- removed redundant test & fixed test for 'super' to detect syntax error


git-svn-id: svn://10.0.0.236/trunk@50366 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:38:40 +00:00
varada%netscape.com
d6fa660ea6 #6569 adding Message function to OnNext handler
git-svn-id: svn://10.0.0.236/trunk@50365 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:30:02 +00:00
varada%netscape.com
2c4f182411 #15327 changing minlen to maxlen
git-svn-id: svn://10.0.0.236/trunk@50364 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 22:28:59 +00:00
sfraser%netscape.com
159030e89c Part of fix for 15795; nsFileSpecMac.cpp is no longer pulled in with a nasty #include, and is thus added to the project. r=dougt
git-svn-id: svn://10.0.0.236/trunk@50362 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:19:47 +00:00
terry%mozilla.org
c140cc2ce4 Got rid of silly debugging hack.
git-svn-id: svn://10.0.0.236/trunk@50361 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:19:46 +00:00
sfraser%netscape.com
8023b08ebc Fix for bugs 15795 and 16090 -- fix startup crash which was due to an uninitialized nsFileSpec trashing the stack. Also no longer set mError on CreateDirectory if the dir already exists, prevent += "foo" when mError is set, and add assertions XP to catch calls with NULL strings.
reviewed by dougt and (in part) sspitzer. a=leaf.


git-svn-id: svn://10.0.0.236/trunk@50360 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:19:06 +00:00
terry%mozilla.org
c90da152c8 Sort votes in decreasing order, not increasing.
git-svn-id: svn://10.0.0.236/trunk@50359 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 21:17:17 +00:00
leaf%mozilla.org
f9f813ef1c removing multiple include of mozilla/silentdl from raptor modules
git-svn-id: svn://10.0.0.236/trunk@50357 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:48:28 +00:00
slamm%netscape.com
8fad354f5e Remove '-test' from output file name
git-svn-id: svn://10.0.0.236/trunk@50356 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:46:59 +00:00
slamm%netscape.com
9a58260a6e finished testing
git-svn-id: svn://10.0.0.236/trunk@50355 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:43:46 +00:00
slamm%netscape.com
d1bd5d5e97 New file indexing. Use '/cvsroot' instead of lxr index.
git-svn-id: svn://10.0.0.236/trunk@50354 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:42:53 +00:00
slamm%netscape.com
ea86098377 Skip attic files.
git-svn-id: svn://10.0.0.236/trunk@50353 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:40:51 +00:00
slamm%netscape.com
dcfe02ab7b slight tweak. take 2.
git-svn-id: svn://10.0.0.236/trunk@50352 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:37:32 +00:00
slamm%netscape.com
cb5728cc3b slight tweak
git-svn-id: svn://10.0.0.236/trunk@50351 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:36:12 +00:00
slamm%netscape.com
1a57622faf Need to account for ,v
git-svn-id: svn://10.0.0.236/trunk@50350 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:34:57 +00:00
slamm%netscape.com
5bfc12b38e Test new file indexing.
git-svn-id: svn://10.0.0.236/trunk@50349 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:26:38 +00:00
varada%netscape.com
fb01047518 checking in fixes for bug #6569 - confirmation on clicking the finish button
git-svn-id: svn://10.0.0.236/trunk@50348 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:23:25 +00:00
terry%mozilla.org
a8e3ac3d29 Let's not keep everything locked up while regenerating.
git-svn-id: svn://10.0.0.236/trunk@50347 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 19:02:49 +00:00
terry%mozilla.org
8d648e06d7 Stop reporting "area"; don't report voters on the CC line.
git-svn-id: svn://10.0.0.236/trunk@50346 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 18:54:45 +00:00
terry%mozilla.org
c49588441a Make "rescanall" only check bugs which have changed in the last two days.
git-svn-id: svn://10.0.0.236/trunk@50345 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 18:23:21 +00:00
terry%mozilla.org
d9793670d5 Added ability to run "processmail rescanall" to scan *every* bug for
any mail that ought to be sent to someone.


git-svn-id: svn://10.0.0.236/trunk@50344 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 18:18:39 +00:00
terry%mozilla.org
865140e021 Oops; need extra directions to avoid problems when removing the "area" column.
git-svn-id: svn://10.0.0.236/trunk@50343 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 17:41:47 +00:00
terry%mozilla.org
6e44e98669 Stupid hack to let things work with people who have bookmarked
vote-sorting URLs using the old style.


git-svn-id: svn://10.0.0.236/trunk@50342 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 17:21:18 +00:00
terry%mozilla.org
97ae527556 Added a "votes" field to the bugs table, which caches the total number
of votes that have been cast for that bug.  This let me simplify the
SQL in buglist.cgi, which makes things more efficient and fixes
several strange bugs.


git-svn-id: svn://10.0.0.236/trunk@50341 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 17:14:32 +00:00
kipp%netscape.com
c2c9a9c0b6 Updated documentation to be more accurate; provided description of command line arguments
git-svn-id: svn://10.0.0.236/trunk@50340 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 15:30:17 +00:00
Jerry.Kirk%Nexwarecorp.com
058528945e Adding a "; else true" to work around broken shell under QNX4 for the
Neutrino cross-compile.
Bug #16049 r=Dale.Stansberry@Nexwarecorp.com


git-svn-id: svn://10.0.0.236/trunk@50339 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 14:41:25 +00:00
neeti%netscape.com
b3d531541b updating status
git-svn-id: svn://10.0.0.236/trunk@50338 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 14:17:18 +00:00
briano%netscape.com
f52490e687 Automated update
git-svn-id: svn://10.0.0.236/trunk@50337 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 11:16:05 +00:00
briano%netscape.com
16ba6581af Automated update
git-svn-id: svn://10.0.0.236/trunk@50336 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 11:07:20 +00:00
ramiro%netscape.com
7fe99209ab Fix for bug 13522. Duplicate nsTimer.cpp files. Removing the old ones.
r=pavlov@netscape.com,sfraser@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@50335 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 04:01:35 +00:00
ramiro%netscape.com
64aa89c32a Fix for bug 13522. Duplicate nsITimer.h files. Removing the old ones.
r=pavlov@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@50334 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 03:48:21 +00:00
pavlov%netscape.com
770be8200a Do not draw images if we have an empty clip region r=syd fixes bug #11086
git-svn-id: svn://10.0.0.236/trunk@50333 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-11 03:04:59 +00:00
mcafee%netscape.com
574bed9e24 Enable Solaris/Intel/egcs to build & run. Patch submitted by Roy Jones, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@50332 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 23:41:23 +00:00
putterman%netscape.com
d468916c06 Remove ctor/dtor counter macros I added before it was determined we shouldn't
use them for xpcom classes.


git-svn-id: svn://10.0.0.236/trunk@50331 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:52:49 +00:00
putterman%netscape.com
9dbd192f71 Use ctor/dtor counter macros on non xpcom classes. reviewed by mscott. no bug.
git-svn-id: svn://10.0.0.236/trunk@50330 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:32:54 +00:00
putterman%netscape.com
e618bdbebb Switch over mailnews/base to use nsIModule. I forgot to mention that these
checkins were reviewed by mscott.  There's no bug.


git-svn-id: svn://10.0.0.236/trunk@50329 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:32:25 +00:00
putterman%netscape.com
7f3afb38db Switch over mailnews/base to use nsIModule.
git-svn-id: svn://10.0.0.236/trunk@50328 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:31:48 +00:00
putterman%netscape.com
1ef39b7b56 Create a version of NS_GENERIC_FACTORY_CONSTRUCTOR that lets you pass in
an initialization function.  No bug.  Reviewed by dp.


git-svn-id: svn://10.0.0.236/trunk@50327 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 22:30:55 +00:00
ramiro%netscape.com
a29fb3f1d9 Add .*.timestamp to ignore the new "ar" hack droppings.
git-svn-id: svn://10.0.0.236/trunk@50326 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 07:34:06 +00:00
rpotts%netscape.com
907eec02fc Removed 2 *extra* calls to NS_RELEASE in failure cases...
git-svn-id: svn://10.0.0.236/trunk@50325 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 06:58:42 +00:00
dveditz%netscape.com
cb001a0982 build fix, packager needs to know about changed Win32 names
git-svn-id: svn://10.0.0.236/trunk@50324 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 04:59:59 +00:00
warren%netscape.com
6320eadc46 Fixed refcounting problem and possible out-of-memory condition. r=kipp
git-svn-id: svn://10.0.0.236/trunk@50323 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 02:08:08 +00:00
dveditz%netscape.com
30a83caa1d Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
ssu%netscape.com
765cdf4fa9 fixing bug #15953. No fix is not part of tinderbox builds. affects only windows. Got approval from Syd_Sheriff. Also updated config.ini to not reference the editor since it has been rolled into the core.xpi.
git-svn-id: svn://10.0.0.236/trunk@50321 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 22:21:11 +00:00
ssu%netscape.com
f818f184a0 this checkin is to help fix bug #15393. There is one more step to truly fix it, which will come later. Reviewed by sgehani@netscape.com. This only affects windows platforms. This fix is needed because xpistub.dll no longers requires two callback functions: XpiStart() and XpiFinal().
git-svn-id: svn://10.0.0.236/trunk@50320 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:41:02 +00:00
ssu%netscape.com
2478da99aa this checkin is to help fix bug #15393. There is one more step to truly fix it, which will come later. This fix is by dveditz, and reviewed by ssu.
git-svn-id: svn://10.0.0.236/trunk@50319 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:37:21 +00:00
rginda%ndcico.com
27e760dac4 * Makefile.in, makefile.win
Install new css files and alternate images.

* README
Removed some rot.

* events.js
Add ability to disable a hook without uninstalling it.
Changed return value of addHook to the new hook object.
Added getHook(name) method.
Removed unused variable from routeEvent.

* http.js, irc-debug.js
Fixed spelling error.

* irc.js
network.onConnect no longer forwards the event to the server.
Added getModeStr() method to the IRCChanMode object to retrieve the entire mode string for a channel.

* utils.js
Added Clone() constructor.
Fixed problem in stringTrim.
Added getStackTrace() ... Whoopee!! ...

* bsconnection.c, bsutil.c
Stop warnings on Mac.

* index.html
Change links to buttons to avoid troubles with other methods (href="javascript:f()" | (href="javascript:(void 0)" | href="#") onclick="f()")

* test3-commands.js
Wiring for /testdisplay and /msg commands.

* test3-handlers.js
Added debug message toggle menuitem handler.
Added style change menu item handler.
Added hack to work around bad KeyUp events.
Factored out some logic from onInputCompleteLine into getObjectDetails (in test3-static.js)
Added /testdisplay and /msg implementation.
Fixed error message for unknown network passed to /network.
Added topicDate to output of /topic command.
updateNetwork and updateChannel calls sprinkled throughout to keep the statusbar current.
Added topic change handler.

* test3-static.js
Post new messages top to bottom!!
Disable the debug hook by default.
Added getObjectDetails (factored out of test3-handlers.js)
Added setOutputStyle to dynamically change the .cs file used for the output window.
Implemented updateNetwork and updateChannel.
Massive changes to .display methods make output window now display using a table, instead of spans (much faster, btw.)
Fixed addHistory to trim the correct side of the output, regardless of print direction.

* test3.css
Factored out output window styles.

* test3.xul
Added menu options for debug message toggle and style changes.
Added statusbar (table.)

* test3-output-default.css, test3-output-marble.css
Added output window stylesheets.


git-svn-id: svn://10.0.0.236/trunk@50318 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:26:52 +00:00
ssu%netscape.com
84d2d35991 fixing bug #15584. reviewed by sgehani@netscape.com. Fixes build warnings under linux.
git-svn-id: svn://10.0.0.236/trunk@50317 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 21:08:35 +00:00
law%netscape.com
7f7558dc5d Bug #15916; cleaned up context menu generation to make it faster; rev=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50316 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 07:58:24 +00:00
law%netscape.com
2705d8b72b Bug #14999; removed use of toolkit app core; rev=scottip@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50315 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:23:30 +00:00
law%netscape.com
0a8ef0fe92 Bug #14999; removed use of toolkit app core; rev=rgoodger@ihug.co.nz
git-svn-id: svn://10.0.0.236/trunk@50314 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:21:53 +00:00
law%netscape.com
8191c9d684 Bug #14999; removed use of toolkit app core; rev=davidm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50313 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:18:58 +00:00
law%netscape.com
79880beab5 Bug #14999; removed use of toolkit app core; rev=tao@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50312 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:17:46 +00:00
law%netscape.com
7db449cd06 Bug #14999; removed use of toolkit app core; rev=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50311 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:16:33 +00:00
law%netscape.com
18dd71d7d3 Bug #14999; removed use of toolkit app core; rev=dbragg@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50310 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:15:06 +00:00
jband%netscape.com
8d3833cb33 Much of this is under the auspices of bug 15794. r=mccabe.
- map xpcshell's 'quit()' to a loop exit rather than calling
'exit(0)' so that the cleanup and leak detection code will still
get called.

- add NS_InitXPCOM and NS_ShutdownXPCOM to xpcshell to run said
cleanup and leak detection code.

- use more NS_IF_* macros

- fix numerous places where code assumed that
nsXPConnect::GetXPConnect() does not add a new ref on the
xpconnect singleton object (the behavior changed some time back
but not all the uses did - brainfade!).

- fix nsXPCException::NewException to automatically trim
'dataless' native stackframes off of the front of a stack trace.
The old system of manually telling it how many frames to trim was
not working well. We really want the first frame showing to be an
'interesting' frame so that callers who get exceptions thrown at
them will see some useful information rather than an empty native
frame that represents (but says nothing about) some native frame
in the xpconnect runtime.

- remove an extra addref from the trimming loop in
nsXPCException::NewException.

- Stop building XPCJSStack objects. XPConnect stacks are singly
linked lists of XPCJSStackFrame objects with refcounted links. I
had this stupid idea that each object would have a refcounted
link to a XPCJSStack object that would tie together the lifetimes
of all objects in the chain. This was overcomplex and
unnecessary. The linked list was enough. Any frame without a
refcount deserved to be deleted because it is simply unreachable.
There was no reason to tie together all the lifetimes of each
object in the chain. So this has been simplified in a big way.

- fixed place in xpcthrower.cpp where we were leaking a refcount
on the xpconnect singleton each time an xpcexception was thrown.

- do cleanup and gc() at the end of xpctest_echo.js to use for
leak testing - all wrappers should go away.


git-svn-id: svn://10.0.0.236/trunk@50309 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 06:01:57 +00:00
morse%netscape.com
580e6e380c use nsIModule to prepare for memory leaks fixing. Bug# 14034. r=neeti
git-svn-id: svn://10.0.0.236/trunk@50308 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 04:50:32 +00:00
sdagley%netscape.com
f5924be40d XP_MAC GC leak detector changes: using LMGetCurStackBase to compute stack bottom, and considering all threads GCable. r=sdagley (checking in for beard). bug=15906
git-svn-id: svn://10.0.0.236/trunk@50306 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:39:54 +00:00
sdagley%netscape.com
886d9b7c4f XP_MAC: turning off a spurious assert in PR_Lock (which can get called at interrupt time!). r=sdagley (checking in for beard). bug=15906
git-svn-id: svn://10.0.0.236/trunk@50305 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:39:52 +00:00
beard%netscape.com
d2773dffe3 fix build bustage, accidentally left GC_LEAK_DETECTOR on.
git-svn-id: svn://10.0.0.236/trunk@50304 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:31:58 +00:00
beard%netscape.com
79da82091a fix memory leaks (nsMacMessage sink). r=pavlov, bug=15380
git-svn-id: svn://10.0.0.236/trunk@50302 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:08:56 +00:00
beard%netscape.com
8927726ce7 added "Dump Leaks" menu item. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50301 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:01:44 +00:00
beard%netscape.com
4aa916c066 added dump leaks command. added explicit calls to NS_InitXPCOM/NS_ShutdownXPCOM. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50300 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 03:01:43 +00:00
beard%netscape.com
a193449dbf Changed MemAllocatorGC.o target to build MemAllocatorDebug.o. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50299 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:58:20 +00:00
beard%netscape.com
6d47545512 removed FSp_fopen.c, SymFiles.cpp now using native Mac file I/O. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50298 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:57:51 +00:00
beard%netscape.com
d568e564ce added :dist:gc: and :dist:mac: to access paths. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50297 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:56:56 +00:00
beard%netscape.com
9a6d1be468 GC_add_roots -> GC_register_fragment, GC_remove_roots -> GC_unregister_fragment. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50296 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:56:55 +00:00
beard%netscape.com
c3710aa7cf added "IDE_Options.h" to ensure consistent build settings. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50295 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:54:38 +00:00
beard%netscape.com
ab9846ab1e added gc_fragments.h. r=jar, bug=15906
git-svn-id: svn://10.0.0.236/trunk@50294 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:53:25 +00:00
beard%netscape.com
bfb9762e5a nsFileSpec.GetLeafName() allocates a string, fix leak. r=warren, bug=15380
git-svn-id: svn://10.0.0.236/trunk@50293 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:52:46 +00:00
cls%seawood.org
f49139b533 Bug #13782 r=ramiro
Fixed the various clean targets so that a distclean is only performed on GtkMozilla when explicitly asked for.


git-svn-id: svn://10.0.0.236/trunk@50292 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:41:01 +00:00
dveditz%netscape.com
19c0e43ded fixing Win32 debug build bustage with NS_LOG_ADDREF. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@50291 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:09:31 +00:00
mccabe%netscape.com
d69dd3df67 Fix to 15813. Change to using nsFileSpec to read .xpt files; this is 2x faster on the Mac. Fix courtesy Simon Fraser.
r=sfraser, or r=mccabe, depending on how you look at it.


git-svn-id: svn://10.0.0.236/trunk@50290 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 02:07:35 +00:00
edburns%acm.org
dc683794a3 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=15902
Approved by: edburns@acm.org
Reviewed by: edburns@acm.org
Authored by: idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@50289 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 01:34:29 +00:00
selmer%netscape.com
dc6d4aa6fa New standard makefile
git-svn-id: svn://10.0.0.236/trunk@50288 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 01:33:45 +00:00
rhp%netscape.com
99e13cf601 Changes to fix VCard display problems - Changed generated JS - Bugs: #14204 and #12352 - Reviewer: scottip
git-svn-id: svn://10.0.0.236/trunk@50287 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 01:19:00 +00:00
edburns%acm.org
66eaef7892 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=15607
Approved by: av@netscape.com
Reviewed by: av@netscape.com

/**

 * This method queries the prefs for proxy information.

 * It has been tested and is known to work in the following three cases

 * when no proxy host or port is specified

 * when only the proxy host is specified

 * when only the proxy port is specified

 * This method conforms to the return code specified in

 * http://developer.netscape.com/docs/manuals/proxy/adminnt/autoconf.htm#1020923

 * with the exception that multiple values are not implemented.

 */

NS_IMETHODIMP nsPluginHostImpl::FindProxyForURL(const char* url, char* *result)


git-svn-id: svn://10.0.0.236/trunk@50286 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 01:18:02 +00:00
slamm%netscape.com
5ff13771d4 Use temporary file name without process number for checkout. I was getting the name wrong because I refered to it in a new process (still using the 17606 variable. Hopefully this will be the final checking for bug #15750. r=waterson. I updated some comments too.
git-svn-id: svn://10.0.0.236/trunk@50285 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-09 00:31:17 +00:00
dp%netscape.com
c6019b3551 adding precheckin tests. r=matt
git-svn-id: svn://10.0.0.236/trunk@50284 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:50:49 +00:00
dp%netscape.com
3be8f0bb27 Adding precheckin tests
git-svn-id: svn://10.0.0.236/trunk@50283 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:48:20 +00:00
av%netscape.com
f82a173c1b Bug 15178, r=vidur adding check for return value avoiding crash
git-svn-id: svn://10.0.0.236/trunk@50282 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:47:03 +00:00
av%netscape.com
c4fd2231d1 Bug 15178, r=vidur adding check for null-pointer avoiding crash
git-svn-id: svn://10.0.0.236/trunk@50281 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:46:23 +00:00
terry%mozilla.org
22765f12e4 Fixed bug 15890 -- was producing garbled SQL if doing a query
that required the bugs_activity table.


git-svn-id: svn://10.0.0.236/trunk@50280 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:45:42 +00:00
kipp%netscape.com
fb8e1bdb06 Fixed cellmap ctor/dtor logging to not show up negative
git-svn-id: svn://10.0.0.236/trunk@50279 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:42:13 +00:00
kipp%netscape.com
9c16516bfc Fixed a comment that was out of date
git-svn-id: svn://10.0.0.236/trunk@50278 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:41:39 +00:00
kipp%netscape.com
a4f420d4fb Fixed up hook to track library loads for refcnt logging
git-svn-id: svn://10.0.0.236/trunk@50277 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:41:18 +00:00
kipp%netscape.com
6a697df2cd Always call dump-statistics and reset-statistics so that MOZ_DUMP_LEAKS isn't required
git-svn-id: svn://10.0.0.236/trunk@50276 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:40:52 +00:00
kipp%netscape.com
fabbe52905 Tweaked to avoid a crash in case bloat tracking is on but there is no bloat data to dump
git-svn-id: svn://10.0.0.236/trunk@50275 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:39:57 +00:00
beard%netscape.com
b625f8c219 modernized constants.
git-svn-id: svn://10.0.0.236/trunk@50274 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:35:34 +00:00
beard%netscape.com
3270b2a66f Rewrote using Mac file I/O, since MSL can only manage 35 FILEs.
git-svn-id: svn://10.0.0.236/trunk@50273 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:35:32 +00:00
jfrancis%netscape.com
84003fe77b applying same fix as rev 1.28 (initializing mIsDone) to the rest of the Init() methods.
git-svn-id: svn://10.0.0.236/trunk@50272 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:34:07 +00:00
nisheeth%netscape.com
2a38ee05b4 Not currently part of the build. Added a stack behind the save/restore timing macros.
git-svn-id: svn://10.0.0.236/trunk@50271 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:27:09 +00:00
akhil.arora%sun.com
9dcd28272e Fixes Bug 15837 by instantiating the proper subtype of Node instead of Node.
Fixed by Igor Nekrestyanov <nis@sparc.spb.su>.
Reviewed by Akhil Arora <akhil.arora@sun.com>.


git-svn-id: svn://10.0.0.236/trunk@50270 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:22:52 +00:00
troy%netscape.com
bae6f56e4b Changes to SizeOf() code only. This code is debug code that only runs
when you chose the "Show Frame Sizes" menu item...


git-svn-id: svn://10.0.0.236/trunk@50269 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:18:19 +00:00
kipp%netscape.com
deff3927b7 new
git-svn-id: svn://10.0.0.236/trunk@50268 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 23:04:26 +00:00
selmer%netscape.com
6f9a832691 Configs instead of Customizations directory
git-svn-id: svn://10.0.0.236/trunk@50267 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 22:56:29 +00:00
rogerl%netscape.com
5e3057bc5f Fixed 14060 - calling exec on java methods was gettmg caught by exec
trapping nonsense.


git-svn-id: svn://10.0.0.236/trunk@50266 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 22:55:33 +00:00
syd%netscape.com
062e198b32 Export platform.h. This is legacy stuff that should be removed eventually.
r=mcafee.


git-svn-id: svn://10.0.0.236/trunk@50264 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 22:37:37 +00:00
syd%netscape.com
52eb9ba5eb Build into include for exports (currently just platform.h) r=mcafee
git-svn-id: svn://10.0.0.236/trunk@50263 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 22:36:46 +00:00
kipp%netscape.com
ba85b17922 Unbreak people who were actually using MOZ_TRACE_XPCOM_REFCNT
git-svn-id: svn://10.0.0.236/trunk@50262 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 22:30:19 +00:00
troy%netscape.com
69fbd973a0 Fix for blocker #15839. r=kipp@netscape.com,kin@netscape.com
Typing into a text area wasn't working properly. Problem was that when the text
changed we were reflowing the text frames with a resize reflow command and
we thought we could optimize the reflow. So I changed ContentChanged() to
mark each text frame dirty so we would know not to do the optimization


git-svn-id: svn://10.0.0.236/trunk@50261 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 22:04:31 +00:00
kipp%netscape.com
041db07f43 Fixed opt build bustage
git-svn-id: svn://10.0.0.236/trunk@50260 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 22:04:04 +00:00
kipp%netscape.com
60a9b36aae Fixed windows build bustage
git-svn-id: svn://10.0.0.236/trunk@50256 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 21:19:42 +00:00
cls%seawood.org
075aedf4ee Ok, let's not try to generate the remove list if there is no library to remove things from
git-svn-id: svn://10.0.0.236/trunk@50255 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 21:17:32 +00:00
waterson%netscape.com
ca11a90c92 Initial revision. Not in build.
git-svn-id: svn://10.0.0.236/trunk@50251 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 21:15:21 +00:00
waterson%netscape.com
84e4143c7e Add new files not in the build.
git-svn-id: svn://10.0.0.236/trunk@50248 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 21:11:20 +00:00
morse%netscape.com
abd3497f8c use nsIModule to prepare for memory leaks fixing. Bug# 14034. r=neeti
git-svn-id: svn://10.0.0.236/trunk@50246 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:47:17 +00:00
cbegle%netscape.com
6389e9eed1 Adding new files. Tests for XPConnect. These files are not part of the
build.  R=jband@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50245 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:45:37 +00:00
kipp%netscape.com
16a80cecba Tweaked stack trace display code
git-svn-id: svn://10.0.0.236/trunk@50244 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:42:33 +00:00
kipp%netscape.com
bbf17a2772 Support demangling again by working around crash bug in demangle library
git-svn-id: svn://10.0.0.236/trunk@50243 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:42:15 +00:00
kipp%netscape.com
5b712622da Enable NS_FreeImageManager now that the call is part of the tip
git-svn-id: svn://10.0.0.236/trunk@50242 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:49 +00:00
kipp%netscape.com
0eec4f1a12 nuked
git-svn-id: svn://10.0.0.236/trunk@50241 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:21 +00:00
kipp%netscape.com
e18af2d0ee Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
neeti%netscape.com
0f9df28d81 Converted nsxpi.dll and xpiflash.dll to use nsIModule to prepare for memory leaks fixing. Bug# 14034. r=dougt
git-svn-id: svn://10.0.0.236/trunk@50238 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:13 +00:00
ftang%netscape.com
655211e9e0 remove obsolted file
git-svn-id: svn://10.0.0.236/trunk@50237 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:35:24 +00:00
ftang%netscape.com
e62cab32bc change to nsIModule r=kipp
git-svn-id: svn://10.0.0.236/trunk@50236 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:30:58 +00:00
ftang%netscape.com
ff64ed5645 remove factory file and add module file
git-svn-id: svn://10.0.0.236/trunk@50235 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:30:42 +00:00
cls%seawood.org
7ac835a8b2 Added a test to see if there are any archive members to be removed before calling AR_DELETE as NetBSD's & OpenBSD's versions of ar do not like removing an empty list.
r=leaf


git-svn-id: svn://10.0.0.236/trunk@50234 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:30:28 +00:00
kipp%netscape.com
b44472476c Merged bloaty and moz ctor counting (space team work)
git-svn-id: svn://10.0.0.236/trunk@50233 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:29:47 +00:00
ftang%netscape.com
7ce12116c7 add new file for nsIMoudle work, r=kipp
git-svn-id: svn://10.0.0.236/trunk@50232 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:27:24 +00:00
slamm%netscape.com
16bf5b4e43 Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@50230 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 18:52:19 +00:00
beard%netscape.com
f5cc851bd0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@50229 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 17:51:45 +00:00
slamm%netscape.com
2b7533ef10 Fix empty sidebar. bug #15468. Need to wait for sidebar-panels in init routine.
git-svn-id: svn://10.0.0.236/trunk@50227 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 17:15:27 +00:00
rickg%netscape.com
24c8eb13e7 added default XML apos entity; no bug #. This update (and my last) were reviewed by peterl
git-svn-id: svn://10.0.0.236/trunk@50226 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 15:05:41 +00:00
rickg%netscape.com
7bfc990fcf fixed bug 15649; when the parsing library was modularized last week, tag lookup for view source got disconnected. This simply reconnects it.
git-svn-id: svn://10.0.0.236/trunk@50225 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 14:52:16 +00:00
terry%mozilla.org
b978d371e9 Added ability to query by votes.
git-svn-id: svn://10.0.0.236/trunk@50224 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 14:47:21 +00:00
terry%mozilla.org
8c7166d122 Added ability to query by votes.
git-svn-id: svn://10.0.0.236/trunk@50223 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 14:41:17 +00:00
buster%netscape.com
273f420e23 fixed my part of bug 15814 (Cleanup build warnings)
so trivial, no reviewer needed
fixed my part of bug  5403 (Services improperly released: Use NS_WITH_SERVICE)
a handful of subtle error handling bugs were fixed as a side effect
r=Akkana


git-svn-id: svn://10.0.0.236/trunk@50222 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 14:39:20 +00:00
law%netscape.com
edef6fb916 For bug #14999; adding new method to simplify applying OpenDialog to the hidden window. rev=danm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@50219 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 14:04:17 +00:00
terry%mozilla.org
2aa7b332a8 Fixed bug 15808 -- previous change had busted querying of CC.
git-svn-id: svn://10.0.0.236/trunk@50218 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 14:01:02 +00:00
rods%netscape.com
db039d9432 ifdef'ed out a static counter for debugging. r=kmcclusk b=15637
git-svn-id: svn://10.0.0.236/trunk@50217 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 12:24:11 +00:00
sgehani%netscape.com
97b88d421f Failover implemented for i18n strings in XPInstall if the string bundle service is not available, fails, or if the .properties resource file is not avilable. Fixes install wizard logging. Completion of fix for bug 8140. [r=ssu]
git-svn-id: svn://10.0.0.236/trunk@50216 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 09:00:13 +00:00
sspitzer%netscape.com
4b800ef247 more clean up. #15402.
git-svn-id: svn://10.0.0.236/trunk@50215 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 07:58:54 +00:00
waterson%netscape.com
199c8166c7 Misc cleanup, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@50214 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 07:26:39 +00:00
waterson%netscape.com
fbecb0f668 Add elements to element map by 'ref', as well.
git-svn-id: svn://10.0.0.236/trunk@50213 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 07:26:14 +00:00
sspitzer%netscape.com
1dd1cfee5a temporary printfs to help me debug the elusive #15792 that only bijals is seeing
git-svn-id: svn://10.0.0.236/trunk@50212 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 07:12:21 +00:00
sspitzer%netscape.com
52d84b804d just checking in comments. resizeToContent() makes the "Create Profile Wizard"
take up the whole screen.  (bug logged on danm already.)


git-svn-id: svn://10.0.0.236/trunk@50211 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 06:50:26 +00:00
cls%seawood.org
a0ade5ef67 Checking in locally generated configure until briano's script gets fixed
git-svn-id: svn://10.0.0.236/trunk@50210 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 05:57:01 +00:00
sspitzer%netscape.com
4b226a4436 when renaming a profile, and renaming the profile directory on disk,
don't do a copy and delete.  just rename the directory.
r=davidm, #15402


git-svn-id: svn://10.0.0.236/trunk@50209 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 05:41:40 +00:00
cls%seawood.org
07d74ceef4 Applied Jim Nance's, <jim_nance@yahoo.com>, patch to reduce the size of a build by using a modified version of GNU make's implicit ruleset that incrementally add object files to static library archive and eliminates the need to have the unused object files sitting around. A clobber is required to see the savings.
Bug #15241 . r=sleestack


git-svn-id: svn://10.0.0.236/trunk@50208 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 05:18:46 +00:00
sspitzer%netscape.com
d4f79e4e21 fix build bustage on windows.
git-svn-id: svn://10.0.0.236/trunk@50207 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 05:14:48 +00:00
troy%netscape.com
093e5bfd97 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing


git-svn-id: svn://10.0.0.236/trunk@50206 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 05:12:55 +00:00
sspitzer%netscape.com
3ba1fc9867 more clean up of the profile code. #15402, r=davidm
make profileExists() part of the nsIProfile interface, so I can
get at it from JS.  startCommunicator is now startApprunner.
get RenameProfile() and DeleteProfile() to work better.
make the delete profile dialog size to content.
change the 2nd arg of DeleteProfile() to be a bool, and not a string.
use MakeUnique() to prevent undesired collisions of profiles on disk.


git-svn-id: svn://10.0.0.236/trunk@50205 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:58:32 +00:00
sspitzer%netscape.com
127e23606e add some bulletproofing. r=davidm
git-svn-id: svn://10.0.0.236/trunk@50204 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:55:37 +00:00
sspitzer%netscape.com
be500f5f77 make the prompt and alert dialogs resize to content.
fix by davidm, r=sspitzer, bug #15815


git-svn-id: svn://10.0.0.236/trunk@50203 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:51:19 +00:00
troy%netscape.com
28f1fa0323 Removed some dead code and moved some #if 0 code from the area frame
to the block frame. This completes the previous checkin


git-svn-id: svn://10.0.0.236/trunk@50202 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:45:12 +00:00
warren%netscape.com
15a67038a4 Fixed bug in computing object count mean and stddev.
git-svn-id: svn://10.0.0.236/trunk@50201 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:39:24 +00:00
troy%netscape.com
579c8e2248 Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance


git-svn-id: svn://10.0.0.236/trunk@50200 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:32:46 +00:00
beard%netscape.com
312671bf23 added .xSYM address to source mapping.
git-svn-id: svn://10.0.0.236/trunk@50199 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:14:09 +00:00
beard%netscape.com
cc845797fa changed format of object size.
git-svn-id: svn://10.0.0.236/trunk@50198 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:13:44 +00:00
beard%netscape.com
8c486b4dbf added address to source mapping using .xSYM files.
git-svn-id: svn://10.0.0.236/trunk@50197 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:13:04 +00:00
beard%netscape.com
3da62e7fd4 added Histogram report.
git-svn-id: svn://10.0.0.236/trunk@50196 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:12:11 +00:00
beard%netscape.com
d75c5a8f47 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@50195 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 04:11:39 +00:00
danm%netscape.com
fefde390b5 hiddenWindow loads its full glory only on the Mac. speeds launch time for everyone else. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@50194 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 03:31:41 +00:00
peterl%netscape.com
d1916dab07 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy


git-svn-id: svn://10.0.0.236/trunk@50193 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 03:09:31 +00:00
leaf%mozilla.org
12ad3a8ea1 << termination needs to be the first thing on the line, no preceding whitespace
fixing solaris build


git-svn-id: svn://10.0.0.236/trunk@50192 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 02:27:34 +00:00
peterl%netscape.com
41ae9835a0 removed setting of border color for table parts (cruft from the dark ages)
Bug 15802
r=rickg


git-svn-id: svn://10.0.0.236/trunk@50191 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 02:07:37 +00:00
mscott%netscape.com
42395fb4cd Bug #14612. I'm checking this in for warren. r=mscott
The pipe shouldn't block when you write more bytes into the pipe than the size of the pipe's buffer. Add an extra
notify to the writer of the pipe after we read data out of it.


git-svn-id: svn://10.0.0.236/trunk@50190 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 02:03:34 +00:00
ducarroz%netscape.com
02844df3be Fix for bug 15720, We need to tell the nsMsgLineBuffer which format of line break we will use. R=jefft,mscott
git-svn-id: svn://10.0.0.236/trunk@50189 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:55:36 +00:00
warren%netscape.com
c9fbdb8075 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
tao%netscape.com
9470ef781b Hook up l10n/ when MOZ_L10N is defined.
git-svn-id: svn://10.0.0.236/trunk@50187 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:32:44 +00:00
alecf%netscape.com
450082561c fix mac-specific bustage
git-svn-id: svn://10.0.0.236/trunk@50186 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:11:13 +00:00
tao%netscape.com
de2f3b6942 Move da-DK files to l10n/lang; r=leaf
git-svn-id: svn://10.0.0.236/trunk@50185 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:06:56 +00:00
alecf%netscape.com
c3ba33bbb8 fix windows bustage
git-svn-id: svn://10.0.0.236/trunk@50184 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:01:56 +00:00
edburns%acm.org
d6eb736cf5 1999-10-07 <Ed Burns <ed.burns@sun.com>>
* This change fixes
 	http://bugzilla.mozilla.org/show_bug.cgi?id=15793 which caused one
 	to have to copy the component.reg and components directory.  It
 	also causes webclient to do autoregistration.  It also adds a
 	debugging method to BrowserControlMozillaShim.java
 	nativeDebugBreak().

	This changes makes webclient depend on having mozilla sources from
 	10/5/99 or later.

	Reviewed by Mark Lin <marklin@eng.sun.com>
	Approved by Ed Burns <edburns@acm.org>, module owner


git-svn-id: svn://10.0.0.236/trunk@50183 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 00:52:53 +00:00
edburns%acm.org
f0ebe3333d 1999-10-07 <Ed Burns <ed.burns@sun.com>>
* This change fixes
 	http://bugzilla.mozilla.org/show_bug.cgi?id=15793 which caused one
 	to have to copy the component.reg and components directory.  It
 	also causes webclient to do autoregistration.  It also adds a
 	debugging method to BrowserControlMozillaShim.java
 	nativeDebugBreak().

	This changes makes webclient depend on having mozilla sources from
 	10/5/99 or later.

	Reviewed by Mark Lin <marklin@eng.sun.com>
	Approved by Ed Burns <edburns@acm.org>, module owner


git-svn-id: svn://10.0.0.236/trunk@50182 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 00:48:01 +00:00
alecf%netscape.com
0a89ba79ef oops, remove XP_UNIX specific stuff which was busting things
git-svn-id: svn://10.0.0.236/trunk@50181 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 00:37:17 +00:00
terry%mozilla.org
479c02d23b Sorting by the vote column was busted.
git-svn-id: svn://10.0.0.236/trunk@50180 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 00:30:49 +00:00
sspitzer%netscape.com
af65076fcc don't specify the width and height, so the dialog resizes to content.
git-svn-id: svn://10.0.0.236/trunk@50178 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 00:17:22 +00:00
alecf%netscape.com
867ac81c42 add new NS_xxx_MODULE* macros (not used anywhere in the build just yet)
git-svn-id: svn://10.0.0.236/trunk@50177 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 00:12:29 +00:00
jband%netscape.com
1c2af52291 fix warning of old style C++ variable scope declared in 'for'. bug 15778. r=slamm
git-svn-id: svn://10.0.0.236/trunk@50176 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 00:11:05 +00:00
tao%netscape.com
524f22fa3d Move localized resource files to mozilla/l10n/lang.
git-svn-id: svn://10.0.0.236/trunk@50173 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:59:32 +00:00
alecf%netscape.com
f562178cfd exorcise xp.h from compose header files, in preparation for nsIModule landing
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50172 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:55:42 +00:00
terry%mozilla.org
ff8d0b5547 Added the ability for users to "vote" on which bugs they think should
be fixed.


git-svn-id: svn://10.0.0.236/trunk@50171 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:54:52 +00:00
rickg%netscape.com
32ae9a79ff fixed bug 15881; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50170 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:52:29 +00:00
rickg%netscape.com
dee37d8ec6 fixed bug 15788; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50169 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:51:29 +00:00
mscott%netscape.com
14bcf4dfb6 Bug #11836 --> convert local factory to be a nsIModule
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@50168 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:35:10 +00:00
mscott%netscape.com
53ff6e3994 Bug #12198 --> don't dereference a null ptr for the uri. return gracefully.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@50167 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:29:13 +00:00
mscott%netscape.com
dea623bfa3 Bug #15615 --> when the proxy code is processing an event, we can't be holding onto the event queue's monitor. Because
you could run into the scenario where in processing the event, the thread blocks waiting for an event from another thread.
That thread tries to post the event to the orginal thread's event Queue but can't enter the queue's monitor.
r=warren (or reviewed by me depending on your point of view since we figured it out together).


git-svn-id: svn://10.0.0.236/trunk@50166 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:25:36 +00:00
danm%netscape.com
c631c144f2 killing general table and td rules since these are global to the entire app, and table display:block in particular will break all tables. want to remove other rules, too, but stopped with the delightfully self-contradictory #righttext, which isn't used. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@50165 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:10:41 +00:00
waterson%netscape.com
2064c545e9 Bug 15687. Make sure to test whether CreateTemplateBuilder() succeeded before dereferencing the builder we get back. r=rjc
git-svn-id: svn://10.0.0.236/trunk@50164 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:07:00 +00:00
terry%mozilla.org
7edab401af Helpfile for voting feature.
git-svn-id: svn://10.0.0.236/trunk@50163 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 23:03:59 +00:00
slamm%netscape.com
70d8dbcabe Make the sidebar panels appear. Bug #15468. r=mcafee. Had 'datasources' defined when it wasn't needed.
git-svn-id: svn://10.0.0.236/trunk@50159 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 22:56:22 +00:00
selmer%netscape.com
fdf016b522 varada - bug #15770 adding extra funtions to create button in checklist.ini to verify presence of config before doing a copy
git-svn-id: svn://10.0.0.236/trunk@50157 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 22:18:13 +00:00
sspitzer%netscape.com
eb6f6392d7 add new line to the end of the file.
git-svn-id: svn://10.0.0.236/trunk@50156 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 22:05:53 +00:00
slamm%netscape.com
7d127002f9 Fix solaris build bustage. The shell does not like {} command grouping. Use () instead.
git-svn-id: svn://10.0.0.236/trunk@50155 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 22:04:04 +00:00
rods%netscape.com
4d74acf338 minor adjustment for focus
git-svn-id: svn://10.0.0.236/trunk@50154 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:58:14 +00:00
rods%netscape.com
4c6b85103e Addtional changes for form padding and borders
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@50153 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:54:13 +00:00
warren%netscape.com
fc64e1c69b Added 'Bloaty' refcounting and memory bloat statistics code
git-svn-id: svn://10.0.0.236/trunk@50152 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:50:20 +00:00
mcafee%netscape.com
c322512ff3 Adding leaky to the linux/intel build. a=ramiro, r=slamm
git-svn-id: svn://10.0.0.236/trunk@50151 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:48:05 +00:00
rods%netscape.com
3b7075a69b Changed the border and padding for all the form control frames to be as compatible with Nav Quirks as we can
added rules for form controls inside of tables
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@50150 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:47:54 +00:00
rods%netscape.com
3848b18fe7 Added the COMPAre macro for comparing sizes with NavQuirks
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@50149 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:46:31 +00:00
neeti%netscape.com
b0bb720dd1 updating status.
git-svn-id: svn://10.0.0.236/trunk@50148 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:44:37 +00:00
valeski%netscape.com
5735cf240f not in build. test app for makeabsolute performance
git-svn-id: svn://10.0.0.236/trunk@50147 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:43:49 +00:00
rods%netscape.com
32093a83c6 Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@50146 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:39:50 +00:00
rods%netscape.com
f291b097d5 Removed code where standard mode was incorrectly subtracting border size
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@50145 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:37:02 +00:00
slamm%netscape.com
1c08cd13d9 Quit when cvs has an error. Previously it kept going. Bug #15750. r=mcafee. Also change default module from SeaMonkeyEditor to SeaMonkeyAll.
git-svn-id: svn://10.0.0.236/trunk@50144 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:24:17 +00:00
rods%netscape.com
d66d5defc6 Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me. Renamed aMetrics to aDesiredSize
Did some clean. Nav Quirks obeys padding and not border.
Reworked how computed size is used r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@50143 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:09:47 +00:00
rods%netscape.com
e6f28ca7ba Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@50142 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:07:38 +00:00
rods%netscape.com
e414c28907 Added macro to help in figuring Nav Quirks default size for all controls r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50141 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:04:52 +00:00
dp%netscape.com
c94e8e9c8e Removing ifdef DEBUG_dp.
git-svn-id: svn://10.0.0.236/trunk@50140 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:03:48 +00:00
endico%mozilla.org
a566a33989 fixed html error so the grey text search box will be aligned at top
git-svn-id: svn://10.0.0.236/trunk@50139 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:02:59 +00:00
pinkerton%netscape.com
1452789bbd correctly determine when the image has changed sizes to avoid causing unnecessary reflows. now comparing twips to twips instead of twips to pixels. part of fix for bug #15722 (r=evaughan).
git-svn-id: svn://10.0.0.236/trunk@50138 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:02:58 +00:00
dp%netscape.com
cc675f4462 Instrumentation to detect leaks of BrowserInstance. r=don
git-svn-id: svn://10.0.0.236/trunk@50136 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 21:01:16 +00:00
sfraser%netscape.com
b591bc9b02 Fix for bug 15749; passing null strings to nsFileSpec routines was doing bad things, like strlen(NULL). r=dougt
git-svn-id: svn://10.0.0.236/trunk@50135 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:57:21 +00:00
norris%netscape.com
15352050f2 Enable URI checks for web JavaScript.
Fixes bug 11462 "Need checks for setting URLs"
Reviewed by mstoltz.


git-svn-id: svn://10.0.0.236/trunk@50134 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:56:49 +00:00
dp%netscape.com
27bf7b0e38 Fixed webshell leak caused by session history entry circular
reference. r=radha


git-svn-id: svn://10.0.0.236/trunk@50133 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:55:14 +00:00
kmcclusk%netscape.com
15925c0587 bug=15184 Made <input type=password> a form submitter. Hitting return in a password field
will now submit the form. r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@50132 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:54:42 +00:00
rods%netscape.com
6fb1b8e0d6 set the padding to 1 related to bug# 15314
git-svn-id: svn://10.0.0.236/trunk@50131 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:53:23 +00:00
rhp%netscape.com
f536f04be7 Changes for bug #13098 - Reviewer: jefft
git-svn-id: svn://10.0.0.236/trunk@50130 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:53:06 +00:00
pavlov%netscape.com
46858a98ee unif 0 synchronous drawing on linux and add some checks to make sure we are visible and don't dump paint events when we are going to ignore them r=akkana
git-svn-id: svn://10.0.0.236/trunk@50128 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:49:11 +00:00
kipp%netscape.com
759b90d985 Whoops, backed out last check - wasn't supposed to land it
git-svn-id: svn://10.0.0.236/trunk@50127 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:46:50 +00:00
kipp%netscape.com
3b5f2c1e21 r=kin; Added in ctor/dtor counts
git-svn-id: svn://10.0.0.236/trunk@50126 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:45:56 +00:00
rogerl%netscape.com
e143bf497c Fixed build failures - these files are NOT part of the seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@50125 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:45:27 +00:00
rogerl%netscape.com
750861810b Fixed error reporting to not smack the source line with a zero, but use
copyN instead - things were failing when very last line of input had an
error and didn't end with '\n'. r=mccabe


git-svn-id: svn://10.0.0.236/trunk@50124 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:44:40 +00:00
dcone%netscape.com
c0cc4a7df7 Took out a pure virtual function CreateRenderingContext() that was declared in the interface
git-svn-id: svn://10.0.0.236/trunk@50123 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:43:03 +00:00
rogerl%netscape.com
df73818e4c Fixed build warnings by removing macros with '{..}'.
Made str_escape available for jsfile.
r=mccabe


git-svn-id: svn://10.0.0.236/trunk@50122 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:42:20 +00:00
rogerl%netscape.com
7ba994995c Making str_escape available for jsfile use. r=mccabe.
git-svn-id: svn://10.0.0.236/trunk@50121 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:41:15 +00:00
rogerl%netscape.com
cfd4889e52 Bug #12168. Catch new Array(NaN). r=mccabe.
git-svn-id: svn://10.0.0.236/trunk@50120 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:40:17 +00:00
dcone%netscape.com
09be733a85 Fixed some warnings
git-svn-id: svn://10.0.0.236/trunk@50119 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:40:00 +00:00
troy%netscape.com
70a3da2b30 Space reductions, r=karnaze@netscape.com
Eliminated one data member, moved one to flag frame state, and changed mBorderEdges
to be heap allocated (only for collapsing border model)


git-svn-id: svn://10.0.0.236/trunk@50117 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:38:50 +00:00
alecf%netscape.com
3f1f724756 add myself to fix DLLs
git-svn-id: svn://10.0.0.236/trunk@50116 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 20:15:58 +00:00
waterson%netscape.com
76ea87ea04 Bug 15683. Hack to get the tree open. Don't SetParent(nsnull), <option> elements do funky stuff when the <option> is inside a <xul:template>. r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@50114 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 19:32:39 +00:00
norris%netscape.com
9754a010ca Fix 15711 Can't call java.lang.Class methods from JS
git-svn-id: svn://10.0.0.236/trunk@50112 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 18:27:21 +00:00
norris%netscape.com
5ca75e8020 Subject:
Re: NPL vs. MPL
       Date:
            Wed, 06 Oct 1999 18:30:34 -0400
      From:
            "Ian D. Stewart" <idstewart@softhome.net>
        To:
            Norris Boyd <norris@netscape.com>
 References:
            1 , 2 , 3




Norris Boyd wrote:

  Great. So I'd like to change this copyright text

  /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset:
  4 -*-
   *
   * The contents of this file are subject to the Mozilla Public License
   * Version 1.0 (the "MozPL"); you may not use this file except in
   * compliance with the MozPL.  You may obtain a copy of the MozPL at
   * http://www.mozilla.org/NPL/
   *
   * Software distributed under the MozPL is distributed on an "AS IS"
  basis,
   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
  MozPL
   * for the specific language governing rights and limitations under the
   * MozPL.
   *
   * The Initial Developer of this code under the MozPL is Ian D. Stewart.

   * Portions created by Ian D. Stewart are Copyright (C) 1998, 1999
   * Ian D. Stewart.
   * All Rights Reserved.
   */

  to this:

  /* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset:
  4 -*-
   *
   * The contents of this file are subject to the Netscape Public
   * License Version 1.1 (the "License"); you may not use this file
   * except in compliance with the License. You may obtain a copy of
   * the License at http://www.mozilla.org/NPL/
   *
   * Software distributed under the License is distributed on an "AS
   * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express oqr
   * implied. See the License for the specific language governing
   * rights and limitations under the License.
   *
   * The Original Code is ListenerCollection, released
   * May 15, 1998.
   *
   * The Initial Developer of the Original Code is Ian D. Stewart.
   * Portions created by Ian D. Stewart are Copyright (C) 1998, 1999
   * Ian D. Stewart.
   * Rights Reserved.
   *
   * Contributor(s):
   * Ian D. Stewart
   *
   * Alternatively, the contents of this file may be used under the
   * terms of the GNU Public License (the "GPL"), in which case the
   * provisions of the GPL are applicable instead of those above.
   * If you wish to allow use of your version of this file only
   * under the terms of the GPL and not to allow others to use your
   * version of this file under the NPL, indicate your decision by
   * deleting the provisions above and replace them with the notice
   * and other provisions required by the GPL.  If you do not delete
   * the provisions above, a recipient may use your version of this
   * file under either the NPL or the GPL.
   */

  Can you give me your approval for this change?

Make it so.


Ian


git-svn-id: svn://10.0.0.236/trunk@50111 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 16:57:01 +00:00
dcone%netscape.com
75b915c855 Turned on the background tiling optimization.. Reviewed By rods
git-svn-id: svn://10.0.0.236/trunk@50110 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 14:57:32 +00:00
bienvenu%netscape.com
82ee650dbf try not to leak all environments r=davidmc
git-svn-id: svn://10.0.0.236/trunk@50109 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 14:45:26 +00:00
bienvenu%netscape.com
879bafb0b6 try not to leak all factories r=davidmc
git-svn-id: svn://10.0.0.236/trunk@50108 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 14:43:44 +00:00
bienvenu%netscape.com
fd723643f2 fix mork factory r=mscott 12326, also fix some memory leaks
git-svn-id: svn://10.0.0.236/trunk@50107 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 14:30:44 +00:00
bienvenu%netscape.com
5dbbb4bb89 fix mork factory r=mscott 12326, fix ref count logging
git-svn-id: svn://10.0.0.236/trunk@50106 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-07 14:29:45 +00:00
1409 changed files with 209688 additions and 12408 deletions

View File

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

View File

@@ -3,9 +3,21 @@
// Controller object for Results Pane
var ResultsPaneController =
{
IsCommandEnabled: function(command)
supportsCommand: function(command)
{
dump('ResultsPaneController::IsCommandEnabled(' + command + ')\n');
switch ( command )
{
case "cmd_selectAll":
case "cmd_delete":
return true;
default:
return false;
}
},
isCommandEnabled: function(command)
{
dump('ResultsPaneController::isCommandEnabled(' + command + ')\n');
switch ( command )
{
case "cmd_selectAll":
@@ -23,7 +35,7 @@ var ResultsPaneController =
}
},
DoCommand: function(command)
doCommand: function(command)
{
var resultsTree = document.getElementById('resultsTree');
@@ -52,9 +64,21 @@ var ResultsPaneController =
// Controller object for Dir Pane
var DirPaneController =
{
IsCommandEnabled: function(command)
supportsCommand: function(command)
{
dump('DirPaneController::IsCommandEnabled(' + command + ')\n');
switch ( command )
{
case "cmd_selectAll":
case "cmd_delete":
return true;
default:
return false;
}
},
isCommandEnabled: function(command)
{
dump('DirPaneController::isCommandEnabled(' + command + ')\n');
switch ( command )
{
case "cmd_selectAll":
@@ -71,7 +95,7 @@ var DirPaneController =
}
},
DoCommand: function(command)
doCommand: function(command)
{
var dirTree = document.getElementById('dirTree');
@@ -99,13 +123,19 @@ function SetupCommandUpdateHandlers()
// dir pane
widget = document.getElementById('dirTree');
if ( widget )
widget.controller = DirPaneController;
if ( widget ) {
dump('About to execute appendController(DirPaneController \n');
widget.controllers.appendController(DirPaneController);
dump('Finished appendController(DirPaneController \n');
}
// results pane
widget = document.getElementById('resultsTree');
if ( widget )
widget.controller = ResultsPaneController;
if ( widget ) {
dump('About to execute appendController(ResultsPaneController \n');
widget.controllers.appendController(ResultsPaneController);
dump('Finished to execute appendController(ResultsPaneController \n');
}
}

View File

@@ -74,9 +74,9 @@ Rights Reserved.
<!ENTITY newmsgButton.label "New Msg">
<!ENTITY deleteButton.img "chrome://messenger/skin/trash.gif">
<!ENTITY deleteButton.label "Delete">
<!ENTITY stopButton.img "resource:/res/toolbar/TB_Stop.gif">
<!ENTITY stopButton.img "chrome://global/skin/stop.gif">
<!ENTITY stopButton.label ".Stop">
<!ENTITY searchButton.img "resource:/res/toolbar/TB_Search.gif">
<!ENTITY searchButton.img "chrome://navigator/skin/search.gif">
<!ENTITY searchButton.label ".Search">
<!ENTITY showNames.label "Show names containing:">
<!ENTITY throbber.img "resource:/res/throbber/anims00.gif">

View File

@@ -51,6 +51,7 @@ nsAbAddressCollecter::~nsAbAddressCollecter()
{
m_historyAB->Commit(kSessionCommit);
m_historyAB->Close(PR_FALSE);
m_historyAB = null_nsCOMPtr();
}
}

View File

@@ -45,8 +45,6 @@ nsAbCard::~nsAbCard(void)
{
nsIAddrDBListener* listener = this;
mCardDatabase->RemoveListener(listener);
mCardDatabase->Close(PR_TRUE);
mCardDatabase = null_nsCOMPtr();
}

View File

@@ -163,10 +163,7 @@ nsAbCardProperty::~nsAbCardProperty(void)
RemoveAnonymousList(m_pAnonymousBoolValues);
if (mCardDatabase)
{
mCardDatabase->Close(PR_TRUE);
mCardDatabase = null_nsCOMPtr();
}
}
nsresult nsAbCardProperty::RemoveAnonymousList(nsVoidArray* pArray)

View File

@@ -172,7 +172,7 @@ nsAddrDatabase::~nsAddrDatabase()
delete m_ChangeListeners;
}
CleanupCache();
RemoveFromCache(this);
if (m_pAnonymousStrAttributes)
RemoveAnonymousList(m_pAnonymousStrAttributes);
@@ -558,7 +558,7 @@ NS_IMETHODIMP nsAddrDatabase::Open
return NS_ERROR_OUT_OF_MEMORY;
}
pAddressBookDB->AddRef();
NS_ADDREF(pAddressBookDB);
err = pAddressBookDB->OpenMDB(pabName, create);
if (NS_SUCCEEDED(err))
@@ -567,7 +567,6 @@ NS_IMETHODIMP nsAddrDatabase::Open
*pAddrDB = pAddressBookDB;
if (pAddressBookDB)
GetDBCache()->AppendElement(pAddressBookDB);
NS_IF_ADDREF(*pAddrDB);
}
else
{
@@ -614,30 +613,8 @@ NS_IMETHODIMP nsAddrDatabase::OpenMDB(nsFileSpec *dbName, PRBool create)
mdbOpenPolicy inOpenPolicy;
mdb_bool canOpen;
mdbYarn outFormatVersion;
// char bufFirst512Bytes[512];
// mdbYarn first512Bytes;
// first512Bytes.mYarn_Buf = bufFirst512Bytes;
// first512Bytes.mYarn_Size = 512;
// first512Bytes.mYarn_Fill = 512;
// first512Bytes.mYarn_Form = 0; // what to do with this? we're storing csid in the msg hdr...
// {
// nsFileSpec ioStream(dbName->GetCString());
// nsIOFileStream *dbStream = new nsIOFileStream(ioStream);
// if (dbStream) {
// PRInt32 bytesRead = dbStream->read(bufFirst512Bytes, sizeof(bufFirst512Bytes));
// first512Bytes.mYarn_Fill = bytesRead;
// dbStream->close();
// delete dbStream;
// }
// else {
// PR_FREEIF(nativeFileName);
// return NS_ERROR_OUT_OF_MEMORY;
// }
// }
nsIMdbFile* oldFile = 0;
ret = myMDBFactory->OpenOldFile(m_mdbEnv, dbHeap, nativeFileName,
dbFrozen, &oldFile);
if ( oldFile )
@@ -712,6 +689,10 @@ NS_IMETHODIMP nsAddrDatabase::OpenMDB(nsFileSpec *dbName, PRBool create)
newFile->CutStrongRef(m_mdbEnv); // always release our file ref, store has own
}
}
if(thumb)
{
thumb->CutStrongRef(m_mdbEnv);
}
}
}
return ret;
@@ -721,6 +702,11 @@ NS_IMETHODIMP nsAddrDatabase::CloseMDB(PRBool commit)
{
if (commit)
Commit(kSessionCommit);
if (m_mdbStore)
{
m_mdbStore->CloseMdbObject(m_mdbEnv);
m_mdbStore = nsnull;
}
return NS_OK;
}
@@ -765,11 +751,6 @@ NS_IMETHODIMP nsAddrDatabase::ForceClosed()
RemoveFromCache(this);
err = CloseMDB(PR_FALSE); // since we're about to delete it, no need to commit.
if (m_mdbStore)
{
m_mdbStore->CloseMdbObject(m_mdbEnv);
m_mdbStore = nsnull;
}
Release();
return err;
}

View File

@@ -77,7 +77,6 @@ nsAbDirectoryDataSource::nsAbDirectoryDataSource():
mInitialized(PR_FALSE),
mRDFService(nsnull)
{
}
nsAbDirectoryDataSource::~nsAbDirectoryDataSource (void)
@@ -178,7 +177,6 @@ NS_IMETHODIMP nsAbDirectoryDataSource::GetTarget(nsIRDFResource* source,
nsIRDFNode** target)
{
nsresult rv = NS_RDF_NO_VALUE;
// we only have positive assertions in the mail data source.
if (! tv)
return NS_RDF_NO_VALUE;

View File

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

View File

@@ -0,0 +1,19 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is a list of local files which get copied to the mozilla:dist:mailnews directory
#
nsMsgBaseCID.h

View File

@@ -0,0 +1,53 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = msgbase
LIBRARY_NAME = mailnews
IS_COMPONENT = 1
CPPSRCS = nsMsgFactory.cpp
EXPORTS = nsMsgBaseCID.h
SHARED_LIBRARY_LIBS = \
$(DIST)/lib/libmsgbase_s.a \
$(DIST)/lib/librdfutil_s.a \
$(DIST)/lib/libmsgsearch_s.a \
$(NULL)
EXTRA_DSO_LDOPTS = \
$(MKSHLIB_FORCE_ALL) \
$(SHARED_LIBRARY_LIBS) \
$(MKSHLIB_UNFORCE_ALL) \
-L$(DIST)/lib \
$(MOZ_TIMER_LIBS) \
-L$(DIST)/bin \
-lxpcom \
-lmsgbaseutil \
$(NSPR_LIBS) \
$(NULL)
include $(topsrcdir)/config/rules.mk
$(LIBRARY) $(SHARED_LIBRARY): $(SHARED_LIBRARY_LIBS) Makefile

View File

@@ -0,0 +1,50 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..
MODULE=msgbase
LIBNAME = .\$(OBJDIR)\msgbase
DLL = $(LIBNAME).dll
################################################################################
## exports
EXPORTS = \
nsMsgBaseCID.h \
$(NULL)
################################################################################
## library
CPP_OBJS= \
.\$(OBJDIR)\nsMsgFactory.obj \
$(NULL)
LLIBS= \
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\msgbsutl.lib \
$(DIST)\lib\msgbase_s.lib \
$(DIST)\lib\msgsearch_s.lib \
$(DIST)\lib\timer_s.lib \
$(LIBNSPR) \
$(NULL)
include <$(DEPTH)/config/rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin\components
$(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\lib

View File

@@ -0,0 +1,250 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsMessageBaseCID_h__
#define nsMessageBaseCID_h__
#include "nsISupports.h"
#include "nsIFactory.h"
#include "nsIComponentManager.h"
#define NS_MSGFOLDEREVENT_CID \
{ /* FBFEBE7A-C1DD-11d2-8A40-0060B0FC04D2 */ \
0xfbfebe7a, 0xc1dd, 0x11d2, \
{0x8a, 0x40, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2}}
#define NS_MSGGROUPRECORD_CID \
{ /* a8f54ee0-d292-11d2-b7f6-00805f05ffa5 */ \
0xa8f54ee0, 0xd292, 0x11d2, \
{0xb7, 0xf6, 0x00, 0x80, 0x5f, 0x05, 0xff, 0xa5}}
//
// nsMsgFolderDataSource
//
#define NS_MAILNEWSFOLDERDATASOURCE_PROGID \
NS_RDF_DATASOURCE_PROGID_PREFIX "mailnewsfolders"
#define NS_MAILNEWSFOLDERDATASOURCE_CID \
{ /* 2B8ED4A4-F684-11d2-8A5D-0060B0FC04D2 */ \
0x2b8ed4a4, \
0xf684, \
0x11d2, \
{0x8a, 0x5d, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2} \
}
//
// nsMsgMessageDataSource
//
#define NS_MAILNEWSMESSAGEDATASOURCE_PROGID \
NS_RDF_DATASOURCE_PROGID_PREFIX "mailnewsmessages"
#define NS_MAILNEWSMESSAGEDATASOURCE_CID \
{ /* 2B8ED4A5-F684-11d2-8A5D-0060B0FC04D2 */ \
0x2b8ed4a5, \
0xf684, \
0x11d2, \
{0x8a, 0x5d, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2} \
}
//
// nsMessageViewDataSource
//
#define NS_MESSAGEVIEWDATASOURCE_PROGID \
NS_RDF_DATASOURCE_PROGID_PREFIX "mail-messageview"
#define NS_MESSAGEVIEWDATASOURCE_CID \
{ /* 14495573-E945-11d2-8A52-0060B0FC04D2 */ \
0x14495573, 0xe945, 0x11d2, \
{0x8a, 0x52, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2}}
//
// nsMsgAccountManager
//
#define NS_MSGACCOUNTMANAGER_PROGID \
"component://netscape/messenger/account-manager"
#define NS_MSGACCOUNTMANAGER_CID \
{ /* D2876E50-E62C-11d2-B7FC-00805F05FFA5 */ \
0xd2876e50, 0xe62c, 0x11d2, \
{0xb7, 0xfc, 0x0, 0x80, 0x5f, 0x5, 0xff, 0xa5 }}
//
// nsMsgIdentity
//
#define NS_MSGIDENTITY_PROGID \
"component://netscape/messenger/identity"
#define NS_MSGIDENTITY_CID \
{ /* 8fbf6ac0-ebcc-11d2-b7fc-00805f05ffa5 */ \
0x8fbf6ac0, 0xebcc, 0x11d2, \
{0xb7, 0xfc, 0x0, 0x80, 0x5f, 0x5, 0xff, 0xa5 }}
//
// nsMsgIncomingServer
#define NS_MSGINCOMINGSERVER_PROGID_PREFIX \
"component://netscape/messenger/server&type="
#define NS_MSGINCOMINGSERVER_PROGID \
NS_MSGINCOMINGSERVER_PROGID_PREFIX "generic"
/* {66e5ff08-5126-11d3-9711-006008948010} */
#define NS_MSGINCOMINGSERVER_CID \
{0x66e5ff08, 0x5126, 0x11d3, \
{0x97, 0x11, 0x00, 0x60, 0x08, 0x94, 0x80, 0x10}}
//
// nsMsgAccount
//
#define NS_MSGACCOUNT_PROGID \
"component://netscape/messenger/account"
#define NS_MSGACCOUNT_CID \
{ /* 68b25510-e641-11d2-b7fc-00805f05ffa5 */ \
0x68b25510, 0xe641, 0x11d2, \
{0xb7, 0xfc, 0x0, 0x80, 0x5f, 0x5, 0xff, 0xa5 }}
//
// nsMsgFilterService
//
#define NS_MSGFILTERSERVICE_PROGID \
"component://netscape/messenger/services/filters"
#define NS_MSGFILTERSERVICE_CID \
{ 0x5cbb0700, 0x04bc, 0x11d3, \
{ 0xa5, 0x0a, 0x0, 0x60, 0xb0, 0xfc, 0x04, 0xb7 } }
//
// nsMsgSearchSession
//
/* e9a7cd70-0303-11d3-a50a-0060b0fc04b7 */
#define NS_MSGSEARCHSESSION_CID \
{ 0xe9a7cd70, 0x0303, 0x11d3, \
{ 0xa5, 0x0a, 0x0, 0x60, 0xb0, 0xfc, 0x04, 0xb7 } }
//
// nsMsgMailSession
//
#define NS_MSGMAILSESSION_PROGID \
"component://netscape/messenger/services/session"
/* D5124441-D59E-11d2-806A-006008128C4E */
#define NS_MSGMAILSESSION_CID \
{ 0xd5124441, 0xd59e, 0x11d2, \
{ 0x80, 0x6a, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e } }
//
// nsMsgBiffManager
//
#define NS_MSGBIFFMANAGER_PROGID \
"component://netscape/messenger/biffManager"
/* 4A374E7E-190F-11d3-8A88-0060B0FC04D2 */
#define NS_MSGBIFFMANAGER_CID \
{ 0x4a374e7e, 0x190f, 0x11d3, \
{ 0x8a, 0x88, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2 } }
//
// nsMsgNotificationManager
//
#define NS_MSGNOTIFICATIONMANAGER_PROGID \
NS_RDF_DATASOURCE_PROGID_PREFIX "msgnotifications"
/* 7C601F60-1EF3-11d3-9574-006097222B83 */
#define NS_MSGNOTIFICATIONMANAGER_CID \
{ 0x7c601f60, 0x1ef3, 0x11d3, \
{ 0x95, 0x74, 0x0, 0x60, 0x97, 0x22, 0x2b, 0x83 } }
//
// nsCopyMessageStreamListener
//
#define NS_COPYMESSAGESTREAMLISTENER_PROGID \
"component://netscape/messenger/copymessagestreamlistener"
#define NS_COPYMESSAGESTREAMLISTENER_CID \
{ 0x7741daed, 0x2125, 0x11d3, \
{ 0x8a, 0x90, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2 } }
//
// nsMsgCopyService
//
#define NS_MSGCOPYSERVICE_PROGID \
"component://netscape/messenger/messagecopyservice"
/* c766e666-29bd-11d3-afb3-001083002da8 */
#define NS_MSGCOPYSERVICE_CID \
{ 0xc766e666, 0x29bd, 0x11d3, \
{ 0xaf, 0xb3, 0x00, 0x10, 0x83, 0x00, 0x2d, 0xa8 } }
#define NS_MSGFOLDERCACHE_PROGID \
"component://netscape/messenger/msgFolderCache"
/* bcdca970-3b22-11d3-8d76-00805f8a6617 */
#define NS_MSGFOLDERCACHE_CID \
{ 0xbcdca970, 0x3b22, 0x11d3, \
{ 0x8d, 0x76, 0x00, 0x80, 0xf5, 0x8a, 0x66, 0x17 } }
//
// nsUrlListenerManager
//
#define NS_URLLISTENERMANAGER_PROGID \
"component://netscape/messenger/urlListenerManager"
/* B1AA0820-D04B-11d2-8069-006008128C4E */
#define NS_URLLISTENERMANAGER_CID \
{ 0xb1aa0820, 0xd04b, 0x11d2, \
{0x80, 0x69, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e} }
//
// nsMessengerBootstrap
//
#define NS_MESSENGERBOOTSTRAP_PROGID \
"component://netscape/appshell/component/messenger"
//
// nsMessenger
//
#define NS_MESSENGER_PROGID \
"component://netscape/messenger"
//
// nsMsgStatusFeedback
//
#define NS_MSGSTATUSFEEDBACK_PROGID \
"component://netscape/messenger/statusfeedback"
/* B1AA0820-D04B-11d2-8069-006008128C4E */
#define NS_MSGSTATUSFEEDBACK_CID \
{ 0xbd85a417, 0x5433, 0x11d3, \
{0x8a, 0xc5, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2} }
//
//nsMessageView
//
#define NS_MESSAGEVIEW_PROGID \
"component://netscape/messenger/messageview"
/* 4E03B3A6-624A-11d3-8AD4-0060B0FC04D2*/
#define NS_MESSAGEVIEW_CID \
{ 0x4e03b3a6, 0x624a, 0x11d3, \
{ 0x8a, 0xd4, 0x0, 0x60, 0xb0, 0xfc, 0x4, 0xd2}}
#endif // nsMessageBaseCID_h__

View File

@@ -0,0 +1,505 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIFactory.h"
#include "nsISupports.h"
#include "msgCore.h"
#include "nsIModule.h"
#include "nsIGenericFactory.h"
#include "nsMsgBaseCID.h"
#include "pratom.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "rdf.h"
#include "nsCRT.h"
#include "nsCOMPtr.h"
#include "nsMessengerBootstrap.h"
#include "nsMessenger.h"
#include "nsMsgGroupRecord.h"
#include "nsIAppShellComponent.h"
#include "nsIRegistry.h"
/* Include all of the interfaces our factory can generate components for */
#include "nsIUrlListenerManager.h"
#include "nsUrlListenerManager.h"
#include "nsMsgMailSession.h"
#include "nsMsgAccount.h"
#include "nsMsgAccountManager.h"
#include "nsMsgIdentity.h"
#include "nsMsgIncomingServer.h"
#include "nsMessageViewDataSource.h"
#include "nsMsgFolderDataSource.h"
#include "nsMsgMessageDataSource.h"
#include "nsMsgAccountManagerDS.h"
#include "nsMsgBiffManager.h"
#include "nsMsgNotificationManager.h"
#include "nsCopyMessageStreamListener.h"
#include "nsMsgCopyService.h"
#include "nsMsgFolderCache.h"
#include "nsMsgStatusFeedback.h"
#include "nsMsgFilterService.h"
#include "nsMessageView.h"
static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID);
static NS_DEFINE_CID(kCMsgMailSessionCID, NS_MSGMAILSESSION_CID);
static NS_DEFINE_CID(kCUrlListenerManagerCID, NS_URLLISTENERMANAGER_CID);
static NS_DEFINE_CID(kCMessengerBootstrapCID, NS_MESSENGERBOOTSTRAP_CID);
static NS_DEFINE_CID(kCMsgFolderEventCID, NS_MSGFOLDEREVENT_CID);
static NS_DEFINE_CID(kCMessengerCID, NS_MESSENGER_CID);
static NS_DEFINE_CID(kCMsgGroupRecordCID, NS_MSGGROUPRECORD_CID);
static NS_DEFINE_CID(kMailNewsFolderDataSourceCID, NS_MAILNEWSFOLDERDATASOURCE_CID);
static NS_DEFINE_CID(kMailNewsMessageDataSourceCID, NS_MAILNEWSMESSAGEDATASOURCE_CID);
// account manager stuff
static NS_DEFINE_CID(kMsgAccountManagerCID, NS_MSGACCOUNTMANAGER_CID);
static NS_DEFINE_CID(kMsgAccountCID, NS_MSGACCOUNT_CID);
static NS_DEFINE_CID(kMsgIdentityCID, NS_MSGIDENTITY_CID);
static NS_DEFINE_CID(kMsgIncomingServerCID, NS_MSGINCOMINGSERVER_CID);
// account manager RDF stuff
static NS_DEFINE_CID(kMsgAccountManagerDataSourceCID, NS_MSGACCOUNTMANAGERDATASOURCE_CID);
// search and filter stuff
static NS_DEFINE_CID(kMsgSearchSessionCID, NS_MSGSEARCHSESSION_CID);
static NS_DEFINE_CID(kMsgFilterServiceCID, NS_MSGFILTERSERVICE_CID);
// Biff and notifications
static NS_DEFINE_CID(kMsgBiffManagerCID, NS_MSGBIFFMANAGER_CID);
static NS_DEFINE_CID(kMsgNotificationManagerCID, NS_MSGNOTIFICATIONMANAGER_CID);
// Copy
static NS_DEFINE_CID(kCopyMessageStreamListenerCID,
NS_COPYMESSAGESTREAMLISTENER_CID);
static NS_DEFINE_CID(kMsgCopyServiceCID, NS_MSGCOPYSERVICE_CID);
// Msg Folder Cache stuff
static NS_DEFINE_CID(kMsgFolderCacheCID, NS_MSGFOLDERCACHE_CID);
//Feedback stuff
static NS_DEFINE_CID(kMsgStatusFeedbackCID, NS_MSGSTATUSFEEDBACK_CID);
//MessageView
static NS_DEFINE_CID(kMessageViewCID, NS_MESSAGEVIEW_CID);
// private factory declarations for each component we know how to produce
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMessengerBootstrap)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUrlListenerManager)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsMsgMailSession, Init)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMessenger)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgAccountManager)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgAccount)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgIdentity)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsMsgFolderDataSource, Init)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsMsgMessageDataSource, Init)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgAccountManagerDataSource)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgFilterService)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgBiffManager)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsMsgNotificationManager, Init)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsCopyMessageStreamListener)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgCopyService)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgFolderCache)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgStatusFeedback)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsMessageView,Init)
// Module implementation for the sample library
class nsMsgBaseModule : public nsIModule
{
public:
nsMsgBaseModule();
virtual ~nsMsgBaseModule();
NS_DECL_ISUPPORTS
NS_DECL_NSIMODULE
protected:
nsresult Initialize();
void Shutdown();
PRBool mInitialized;
nsCOMPtr<nsIGenericFactory> mMessengerBootstrapFactory;
nsCOMPtr<nsIGenericFactory> mUrlListenerManagerFactory;
nsCOMPtr<nsIGenericFactory> mMsgMailSessionFactory;
nsCOMPtr<nsIGenericFactory> mMessengerFactory;
nsCOMPtr<nsIGenericFactory> mMsgAccountManagerFactory;
nsCOMPtr<nsIGenericFactory> mMsgAccountFactory;
nsCOMPtr<nsIGenericFactory> mMsgIdentityFactory;
nsCOMPtr<nsIGenericFactory> mMsgFolderDataSourceFactory;
nsCOMPtr<nsIGenericFactory> mMsgMessageDataSourceFactory;
nsCOMPtr<nsIGenericFactory> mMsgAccountManagerDataSourceFactory;
nsCOMPtr<nsIGenericFactory> mMsgFilterServiceFactory;
nsCOMPtr<nsIGenericFactory> mMsgBiffManagerFactory;
nsCOMPtr<nsIGenericFactory> mMsgNotificationManagerFactory;
nsCOMPtr<nsIGenericFactory> mCopyMessageStreamListenerFactory;
nsCOMPtr<nsIGenericFactory> mMsgCopyServiceFactory;
nsCOMPtr<nsIGenericFactory> mMsgFolderCacheFactory;
nsCOMPtr<nsIGenericFactory> mMsgStatusFeedbackFactory;
nsCOMPtr<nsIGenericFactory> mMessageViewFactory;
};
nsMsgBaseModule::nsMsgBaseModule()
: mInitialized(PR_FALSE)
{
NS_INIT_ISUPPORTS();
}
nsMsgBaseModule::~nsMsgBaseModule()
{
Shutdown();
}
NS_IMPL_ISUPPORTS(nsMsgBaseModule, NS_GET_IID(nsIModule))
// Perform our one-time intialization for this module
nsresult nsMsgBaseModule::Initialize()
{
if (mInitialized)
return NS_OK;
mInitialized = PR_TRUE;
return NS_OK;
}
// Shutdown this module, releasing all of the module resources
void nsMsgBaseModule::Shutdown()
{
// Release the factory object
mMessengerBootstrapFactory = null_nsCOMPtr();
mUrlListenerManagerFactory = null_nsCOMPtr();
mMsgMailSessionFactory = null_nsCOMPtr();
mMessengerFactory = null_nsCOMPtr();
mMsgAccountManagerFactory = null_nsCOMPtr();
mMsgAccountFactory = null_nsCOMPtr();
mMsgIdentityFactory = null_nsCOMPtr();
mMsgFolderDataSourceFactory = null_nsCOMPtr();
mMsgMessageDataSourceFactory = null_nsCOMPtr();
mMsgAccountManagerDataSourceFactory = null_nsCOMPtr();
mMsgFilterServiceFactory = null_nsCOMPtr();
mMsgBiffManagerFactory = null_nsCOMPtr();
mMsgNotificationManagerFactory = null_nsCOMPtr();
mCopyMessageStreamListenerFactory = null_nsCOMPtr();
mMsgCopyServiceFactory = null_nsCOMPtr();
mMsgFolderCacheFactory = null_nsCOMPtr();
mMsgStatusFeedbackFactory = null_nsCOMPtr();
mMessageViewFactory = null_nsCOMPtr();
}
// Create a factory object for creating instances of aClass.
NS_IMETHODIMP nsMsgBaseModule::GetClassObject(nsIComponentManager *aCompMgr,
const nsCID& aClass,
const nsIID& aIID,
void** r_classObj)
{
nsresult rv;
// Defensive programming: Initialize *r_classObj in case of error below
if (!r_classObj)
return NS_ERROR_INVALID_POINTER;
*r_classObj = NULL;
// Do one-time-only initialization if necessary
if (!mInitialized)
{
rv = Initialize();
if (NS_FAILED(rv)) // Initialization failed! yikes!
return rv;
}
// Choose the appropriate factory, based on the desired instance
// class type (aClass).
nsCOMPtr<nsIGenericFactory> fact;
if (aClass.Equals(kCMessengerBootstrapCID))
{
if (!mMessengerBootstrapFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMessengerBootstrapFactory), &nsMessengerBootstrapConstructor);
fact = mMessengerBootstrapFactory;
}
else if (aClass.Equals(kCUrlListenerManagerCID))
{
if (!mUrlListenerManagerFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mUrlListenerManagerFactory), &nsUrlListenerManagerConstructor);
fact = mUrlListenerManagerFactory;
}
else if (aClass.Equals(kCMsgMailSessionCID))
{
if (!mMsgMailSessionFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgMailSessionFactory), &nsMsgMailSessionConstructor);
fact = mMsgMailSessionFactory;
}
else if (aClass.Equals(kCMessengerCID))
{
if (!mMessengerFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMessengerFactory), &nsMessengerConstructor);
fact = mMessengerFactory;
}
else if (aClass.Equals(kMsgAccountManagerCID))
{
if (!mMsgAccountManagerFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgAccountManagerFactory), &nsMsgAccountManagerConstructor);
fact = mMsgAccountManagerFactory;
}
else if (aClass.Equals(kMsgAccountCID))
{
if (!mMsgAccountFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgAccountFactory), &nsMsgAccountConstructor);
fact = mMsgAccountFactory;
}
else if (aClass.Equals(kMsgIdentityCID))
{
if (!mMsgIdentityFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgIdentityFactory), &nsMsgIdentityConstructor);
fact = mMsgIdentityFactory;
}
else if (aClass.Equals(kMailNewsFolderDataSourceCID))
{
if (!mMsgFolderDataSourceFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgFolderDataSourceFactory), &nsMsgFolderDataSourceConstructor);
fact = mMsgFolderDataSourceFactory;
}
else if (aClass.Equals(kMailNewsMessageDataSourceCID))
{
if (!mMsgMessageDataSourceFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgMessageDataSourceFactory), &nsMsgMessageDataSourceConstructor);
fact = mMsgMessageDataSourceFactory;
}
else if (aClass.Equals(kMsgAccountManagerDataSourceCID))
{
if (!mMsgAccountManagerDataSourceFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgAccountManagerDataSourceFactory), &nsMsgAccountManagerDataSourceConstructor);
fact = mMsgAccountManagerDataSourceFactory;
}
else if (aClass.Equals(kMsgFilterServiceCID))
{
if (!mMsgFilterServiceFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgFilterServiceFactory), &nsMsgFilterServiceConstructor);
fact = mMsgFilterServiceFactory;
}
else if (aClass.Equals(kMsgBiffManagerCID))
{
if (!mMsgBiffManagerFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgBiffManagerFactory), &nsMsgBiffManagerConstructor);
fact = mMsgBiffManagerFactory;
}
else if (aClass.Equals(kMsgNotificationManagerCID))
{
if (!mMsgNotificationManagerFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgNotificationManagerFactory), &nsMsgNotificationManagerConstructor);
fact = mMsgNotificationManagerFactory;
}
else if (aClass.Equals(kCopyMessageStreamListenerCID))
{
if (!mCopyMessageStreamListenerFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mCopyMessageStreamListenerFactory), &nsCopyMessageStreamListenerConstructor);
fact = mCopyMessageStreamListenerFactory;
}
else if (aClass.Equals(kMsgCopyServiceCID))
{
if (!mMsgCopyServiceFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgCopyServiceFactory), &nsMsgCopyServiceConstructor);
fact = mMsgCopyServiceFactory;
}
else if (aClass.Equals(kMsgFolderCacheCID))
{
if (!mMsgFolderCacheFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgFolderCacheFactory), &nsMsgFolderCacheConstructor);
fact = mMsgFolderCacheFactory;
}
else if (aClass.Equals(kMsgStatusFeedbackCID))
{
if (!mMsgStatusFeedbackFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMsgStatusFeedbackFactory), &nsMsgStatusFeedbackConstructor);
fact = mMsgStatusFeedbackFactory;
}
else if (aClass.Equals(kMessageViewCID))
{
if (!mMessageViewFactory)
rv = NS_NewGenericFactory(getter_AddRefs(mMessageViewFactory), &nsMessageViewConstructor);
fact = mMessageViewFactory;
}
if (fact)
rv = fact->QueryInterface(aIID, r_classObj);
return rv;
}
struct Components {
const char* mDescription;
const nsID* mCID;
const char* mProgID;
};
// The list of components we register
static Components gComponents[] = {
{ "Netscape Messenger Bootstrapper", &kCMessengerBootstrapCID,
NS_MESSENGERBOOTSTRAP_PROGID },
{ "UrlListenerManager", &kCUrlListenerManagerCID,
NS_URLLISTENERMANAGER_PROGID },
{ "Mail Session", &kCMsgMailSessionCID,
NS_MSGMAILSESSION_PROGID },
{ "Messenger DOM interaction object", &kCMessengerCID,
NS_MESSENGER_PROGID },
{ "Messenger Account Manager", &kMsgAccountManagerCID,
NS_MSGACCOUNTMANAGER_PROGID },
{ "Messenger User Account", &kMsgAccountCID,
NS_MSGACCOUNT_PROGID },
{ "Messenger User Identity", &kMsgIdentityCID,
NS_MSGIDENTITY_PROGID },
{ "Mail/News Folder Data Source", &kMailNewsFolderDataSourceCID,
NS_MAILNEWSFOLDERDATASOURCE_PROGID },
{ "Mail/News Message Data Source", &kMailNewsMessageDataSourceCID,
NS_MAILNEWSMESSAGEDATASOURCE_PROGID},
{ "Mail/News Account Manager Data Source", &kMsgAccountManagerDataSourceCID,
NS_RDF_DATASOURCE_PROGID_PREFIX "msgaccountmanager"},
{ "Message Filter Service", &kMsgFilterServiceCID,
NS_MSGFILTERSERVICE_PROGID},
{ "Messenger Biff Manager", &kMsgBiffManagerCID,
NS_MSGBIFFMANAGER_PROGID},
{ "Mail/News Notification Manager", &kMsgNotificationManagerCID,
NS_MSGNOTIFICATIONMANAGER_PROGID},
{ "Mail/News CopyMessage Stream Listener", &kCopyMessageStreamListenerCID,
NS_COPYMESSAGESTREAMLISTENER_PROGID},
{ "Mail/News Message Copy Service", &kMsgCopyServiceCID,
NS_MSGCOPYSERVICE_PROGID},
{ "Mail/News Folder Cache", &kMsgFolderCacheCID,
NS_MSGFOLDERCACHE_PROGID},
{ "Mail/News Status Feedback", &kMsgStatusFeedbackCID,
NS_MSGSTATUSFEEDBACK_PROGID},
{ "Mail/News MessageView", &kMessageViewCID,
NS_MESSAGEVIEW_PROGID}
};
#define NUM_COMPONENTS (sizeof(gComponents) / sizeof(gComponents[0]))
NS_IMETHODIMP nsMsgBaseModule::RegisterSelf(nsIComponentManager *aCompMgr,
nsIFileSpec* aPath,
const char* registryLocation,
const char* componentType)
{
nsresult rv = NS_OK;
Components* cp = gComponents;
Components* end = cp + NUM_COMPONENTS;
while (cp < end)
{
rv = aCompMgr->RegisterComponentSpec(*cp->mCID, cp->mDescription,
cp->mProgID, aPath, PR_TRUE,
PR_TRUE);
if (NS_FAILED(rv))
break;
cp++;
}
/* Add to MessengerBootstrap appshell component list. */
NS_WITH_SERVICE(nsIRegistry, registry, NS_REGISTRY_PROGID, &rv);
if ( NS_SUCCEEDED( rv ) ) {
registry->OpenWellKnownRegistry(nsIRegistry::ApplicationComponentRegistry);
char buffer[256];
char *cid = kCMessengerBootstrapCID.ToString();
PR_snprintf( buffer,
sizeof buffer,
"%s/%s",
NS_IAPPSHELLCOMPONENT_KEY,
cid ? cid : "unknown" );
nsCRT::free(cid);
nsRegistryKey key;
rv = registry->AddSubtree( nsIRegistry::Common,
buffer,
&key );
}
return rv;
}
NS_IMETHODIMP nsMsgBaseModule::UnregisterSelf(nsIComponentManager* aCompMgr,
nsIFileSpec* aPath,
const char* registryLocation)
{
Components* cp = gComponents;
Components* end = cp + NUM_COMPONENTS;
while (cp < end)
{
aCompMgr->UnregisterComponentSpec(*cp->mCID, aPath);
cp++;
}
return NS_OK;
}
NS_IMETHODIMP nsMsgBaseModule::CanUnload(nsIComponentManager *aCompMgr, PRBool *okToUnload)
{
if (!okToUnload)
return NS_ERROR_INVALID_POINTER;
*okToUnload = PR_FALSE;
return NS_ERROR_FAILURE;
}
//----------------------------------------------------------------------
static nsMsgBaseModule *gModule = NULL;
extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
nsIFileSpec* location,
nsIModule** return_cobj)
{
nsresult rv = NS_OK;
NS_ASSERTION(return_cobj, "Null argument");
NS_ASSERTION(gModule == NULL, "nsMsgBaseModule: Module already created.");
// Create an initialize the imap module instance
nsMsgBaseModule *module = new nsMsgBaseModule();
if (!module)
return NS_ERROR_OUT_OF_MEMORY;
// Increase refcnt and store away nsIModule interface to m in return_cobj
rv = module->QueryInterface(nsIModule::GetIID(), (void**)return_cobj);
if (NS_FAILED(rv))
{
delete module;
module = nsnull;
}
gModule = module; // WARNING: Weak Reference
return rv;
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,21 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "MacPrefix.h"

View File

@@ -0,0 +1,21 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "MacPrefix_debug.h"

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,479 @@
/* -*- 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 Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*/
var accountArray;
var lastServerId;
var lastPageId;
// services used
var RDF;
var accountManager;
var smtpService;
// widgets
var duplicateButton;
var deleteButton;
var newAccountButton;
var setDefaultButton;
// called when the whole document loads
// perform initialization here
function onLoad() {
accountArray = new Array;
RDF = Components.classes["component://netscape/rdf/rdf-service"].getService(Components.interfaces.nsIRDFService);
var mailsession =
Components.classes["component://netscape/messenger/services/session"].getService(Components.interfaces.nsIMsgMailSession);
accountManager = mailsession.accountManager;
smtpService =
Components.classes["component://netscape/messengercompose/smtp"].getService(Components.interfaces.nsISmtpService);
var tree = document.getElementById("accounttree");
var items = tree.getElementsByTagName("treeitem");
if (items && items.length>0) {
// skip the template?
tree.selectItem(items[1]);
}
doSetOKCancel(onOk, 0);
newAccountButton = document.getElementById("newAccountButton");
duplicateButton = document.getElementById("duplicateButton");
deleteButton = document.getElementById("deleteButton");
setDefaultButton = document.getElementById("setDefaultButton");
}
function onOk() {
onSave();
// hack hack - save the prefs file NOW in case we crash
try {
var prefs = Components.classes["component://netscape/preferences"].getService(Components.interfaces.nsIPref);
prefs.SavePrefFile();
} catch (ex) {
dump("Error saving prefs!\n");
}
return true;
}
function onSave() {
// make sure the current visible page is saved
savePage(lastServerId, lastPageId);
for (var accountid in accountArray) {
var account = getAccountFromServerId(accountid);
var accountValues = accountArray[accountid];
saveAccount(accountValues, account);
}
}
function onNewAccount() {
var result = { refresh: false };
window.openDialog("chrome://messenger/content/AccountWizard.xul", "wizard", "chrome,modal", result);
if (result.refresh) {
refreshAccounts();
// propagate refresh if it's not already on
// i.e. we'll never turn off refresh once it's on.
window.arguments[0].refresh = true;
}
}
// another temporary hack until the account manager
// can refresh the account list itself.
function refreshAccounts()
{
var tree = document.getElementById("accounttree");
tree.clearItemSelection();
tree.setAttribute('ref', tree.getAttribute('ref'));
}
function saveAccount(accountValues, account)
{
var identity;
var server;
if (account) {
identity = account.defaultIdentity;
server = account.incomingServer;
}
for (var type in accountValues) {
var typeArray = accountValues[type];
for (var slot in typeArray) {
var dest;
try {
if (type == "identity")
dest = identity;
else if (type == "server")
dest = server;
else if (type == "pop3")
dest = server.QueryInterface(Components.interfaces.nsIPop3IncomingServer);
else if (type == "imap")
dest = server.QueryInterface(Components.interfaces.nsIImapIncomingServer);
else if (type == "none")
dest = server.QueryInterface(Components.interfaces.nsINoIncomingServer);
else if (type == "nntp")
dest = server.QueryInterface(Components.interfaces.nsINntpIncomingServer);
else if (type == "smtp")
dest = smtpService.defaultServer;
} catch (ex) {
// don't do anything, just means we don't support that
}
if (dest == undefined) continue;
if (dest[slot] != typeArray[slot]) {
//dump("Array->Account: " + slot + " to " + dest + "\n");
try {
dest[slot] = typeArray[slot];
} catch (ex) {
// hrm... need to handle special types here
}
}
}
}
}
// called when a prefs page is done loading
function onPageLoad(event, name) {
// page needs to be filled with values.
// how do we determine which account we should be using?
}
function updateButtons(tree) {
if (tree.selectedItems.length > 0) {
if (duplicateButton) duplicateButton.removeAttribute("disabled");
if (setDefaultButton) setDefaultButton.removeAttribute("disabled");
if (deleteButton) deleteButton.removeAttribute("disabled");
} else {
if (duplicateButton) duplicateButton.setAttribute("disabled", "true");
if (setDefaultButton) setDefaultButton.setAttribute("disabled", "true");
if (deleteButton) deleteButton.setAttribute("disabled", "true");
}
}
//
// called when someone clicks on an account
// figure out context by what they clicked on
//
function onAccountClick(tree) {
if (tree.selectedItems.length < 1) return;
var node = tree.selectedItems[0];
updateButtons(tree);
// get the page to load
// (stored in the PageTag attribute of this node)
var pageId = node.getAttribute('PageTag');
// get the server's ID
// (stored in the ID attribute of the server node)
var servernode = node.parentNode.parentNode;
// for toplevel treeitems, we just use the current treeitem
// dump("servernode is " + servernode + "\n");
if (servernode.tagName != "treeitem") {
servernode = node;
}
var serverid = servernode.getAttribute('id');
//dump("before showPage(" + serverid + "," + pageId + ");\n");
showPage(serverid, pageId);
}
// show the page for the given server:
// - save the old values
// - initialize the widgets with the new values
function showPage(serverId, pageId) {
if (pageId == lastPageId &&
serverId == lastServerId) return;
savePage(lastServerId, lastPageId);
restorePage(serverId, pageId);
showDeckPage(pageId);
lastServerId = serverId;
lastPageId = pageId;
}
//
// show the page with the given id
//
function showDeckPage(deckBoxId) {
/* bring the deck to the front */
var deckBox = top.document.getElementById(deckBoxId);
var deck = deckBox.parentNode;
var children = deck.childNodes;
// search through deck children, and find the index to load
for (var i=0; i<children.length; i++) {
if (children[i] == deckBox) break;
}
deck.setAttribute("index", i);
}
//
// save the values of the widgets to the given server
//
function savePage(serverId, pageId) {
if (!serverId || !pageId) return;
// tell the page that it's about to save
if (top.frames[pageId].onSave)
top.frames[pageId].onSave();
var accountValues = getValueArrayFor(serverId);
var pageElements = getPageFormElements(pageId);
// store the value in the account
for (var i=0; i<pageElements.length; i++) {
if (pageElements[i].name) {
var vals = pageElements[i].name.split(".");
var type = vals[0];
var slot = vals[1];
setAccountValue(accountValues,
type, slot,
getFormElementValue(pageElements[i]));
}
}
}
function setAccountValue(accountValues, type, slot, value) {
if (!accountValues[type])
accountValues[type] = new Array;
//dump("Form->Array: accountValues[" + type + "][" + slot + "] = " + value + "\n");
accountValues[type][slot] = value;
}
function getAccountValue(account, accountValues, type, slot) {
if (!accountValues[type])
accountValues[type] = new Array;
// fill in the slot from the account if necessary
if (accountValues[type][slot]== undefined) {
// dump("Array->Form: lazily reading in the " + slot + " from the " + type + "\n");
var server;
if (account)
server= account.incomingServer;
var source = null;
try {
if (type == "identity")
source = account.defaultIdentity;
else if (type == "server")
source = account.incomingServer;
else if (type == "pop3")
source = server.QueryInterface(Components.interfaces.nsIPop3IncomingServer);
else if (type == "imap")
source = server.QueryInterface(Components.interfaces.nsIImapIncomingServer);
else if (type == "none")
source = server.QueryInterface(Components.interfaces.nsINoIncomingServer);
else if (type == "nntp")
source = server.QueryInterface(Components.interfaces.nsINntpIncomingServer);
else if (type == "smtp")
source = smtpService.defaultServer;
} catch (ex) {
}
if (source) {
accountValues[type][slot] = source[slot];
}
}
var value = accountValues[type][slot];
//dump("Array->Form: accountValues[" + type + "][" + slot + "] = " + value + "\n");
return value;
}
//
// restore the values of the widgets from the given server
//
function restorePage(serverId, pageId) {
if (!serverId || !pageId) return;
var accountValues = getValueArrayFor(serverId);
var pageElements = getPageFormElements(pageId);
// restore the value from the account
for (var i=0; i<pageElements.length; i++) {
if (pageElements[i].name) {
var vals = pageElements[i].name.split(".");
var type = vals[0];
var slot = vals[1];
var account = getAccountFromServerId(serverId);
var value = getAccountValue(account, accountValues, type, slot);
setFormElementValue(pageElements[i], value);
}
}
// tell the page that new values have been loaded
if (top.frames[pageId].onInit)
top.frames[pageId].onInit();
}
//
// gets the value of a widget
//
function getFormElementValue(formElement) {
if (formElement.type=="checkbox") {
if (formElement.getAttribute("reversed"))
return !formElement.checked;
else
return formElement.checked;
}
else if (formElement.type == "text" &&
formElement.getAttribute("datatype") == "nsIFileSpec") {
if (formElement.value) {
var filespec = Components.classes["component://netscape/filespec"].createInstance(Components.interfaces.nsIFileSpec);
filespec.nativePath = formElement.value;
return filespec;
} else {
return null;
}
}
else
return formElement.value;
}
//
// sets the value of a widget
//
function setFormElementValue(formElement, value) {
//formElement.value = formElement.defaultValue;
// formElement.checked = formElement.defaultChecked;
if (formElement.type == "checkbox") {
if (value == undefined) {
formElement.checked = formElement.defaultChecked;
} else {
if (formElement.getAttribute("reversed"))
formElement.checked = !value;
else
formElement.checked = value;
}
}
// handle nsIFileSpec
else if (formElement.type == "text" &&
formElement.getAttribute("datatype") == "nsIFileSpec") {
if (value) {
var filespec = value.QueryInterface(Components.interfaces.nsIFileSpec);
try {
formElement.value = filespec.nativePath;
} catch (ex) {
dump("Still need to fix uninitialized filespec problem!\n");
}
} else
formElement.value = formElement.defaultValue;
}
// let the form figure out what to do with it
else {
if (value == undefined)
formElement.value = formElement.defaultValue;
else
formElement.value = value;
}
}
//
// conversion routines - get data associated
// with a given pageId, serverId, etc
//
//
// get the account associated with this serverId
//
function getAccountFromServerId(serverId) {
// get the account by dipping into RDF and then into the acount manager
var serverResource = RDF.GetResource(serverId);
try {
var serverFolder =
serverResource.QueryInterface(Components.interfaces.nsIMsgFolder);
} catch (ex) {
return;
}
var incomingServer = serverFolder.server;
var account = accountManager.FindAccountForServer(incomingServer);
return account;
}
//
// get the array of form elements for the given page
//
function getPageFormElements(pageId) {
var pageFrame = top.frames[pageId];
var pageDoc = top.frames[pageId].document;
var pageElements = pageDoc.getElementsByTagName("FORM")[0].elements;
return pageElements;
}
//
// get the value array for the given serverId
//
function getValueArrayFor(serverId) {
if (serverId == undefined) serverId="global";
if (accountArray[serverId] == null) {
accountArray[serverId] = new Array;
}
return accountArray[serverId];
}

View File

@@ -0,0 +1,105 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/AccountManager.dtd" >
<window id="account-manager" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
title="&accountManagerTitle.label;"
width="600" height="420"
align="vertical"
onload="onLoad(event);">
<html:script src="chrome://messenger/content/AccountManager.js"/>
<keyset id="keyset"/>
<box align="horizontal" flex="100%" style="padding: 10px">
<box align="vertical" flex="25%">
<html:div style="border-style:inset" flex="100%">
<tree rdf:datasources="rdf:msgaccountmanager"
rdf:containment="http://home.netscape.com/NC-rdf#Settings"
onselect="onAccountClick(event.target)" id="accounttree"
style="height: 100%"
ref="msgaccounts:/">
<template>
<rule>
<treechildren>
<treeitem uri="..."
PageTag="rdf:http://home.netscape.com/NC-rdf#PageTag">
<treerow >
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name"/>
</treerow>
<!--
<treechildren>
<treeitem>
<treerow>
<treecell value="a"/>
</treerow>
</treeitem>
<treeitem>
<treerow>
<treecell value="b"/>
</treerow>
</treeitem>
<treeitem>
<treerow>
<treecell value="c"/>
</treerow>
</treeitem>
</treechildren>
-->
</treeitem>
</treechildren>
</rule>
</template>
<treecol style="width: 100%" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
<treehead>
<treerow>
<treecell value="&nameCol.label;"/>
</treerow>
</treehead>
</tree>
</html:div>
<titledbutton value="&newAccountButton.label;" onclick="onNewAccount();" id="newAccountButton"/>
<titledbutton value="&setDefaultButton.label;" disabled="true" id="setDefaultButton"/>
<box align="horizontal">
<titledbutton disabled="true" value="&duplicateButton.label;" id="duplicateButton" flex="50%"/>
<titledbutton disabled="true" value="&deleteButton.label;" id="deleteButton" flex="50%"/>
</box>
</box>
<box flex="75%">
<tabcontrol flex="100%" align="vertical">
<deck id="mydeck" flex="100%">
<box id="am-main.xul" flex="100%">
<!-- need to specific these src= URLs as absolute URLs
so that DOM security knows these have the same principal as this file -->
<html:iframe src="chrome://messenger/content/am-main.xul" name="am-main.xul"
style="border: none" flex="100%"/>
</box>
<box id="am-server.xul" flex="100%">
<html:iframe src="chrome://messenger/content/am-server.xul" name="am-server.xul"
style="border: none" flex="100%"/>
</box>
<box id="am-copies.xul" flex="100%">
<html:iframe src="chrome://messenger/content/am-copies.xul" name="am-copies.xul"
style="border: none" flex="100%"/>
</box>
<box id="am-advanced.xul" flex="100%">
<html:iframe src="chrome://messenger/content/am-advanced.xul" name="am-advanced.xul"
style="border: none" flex="100%"/>
</box>
<box id="am-smtp.xul" flex="100%">
<html:iframe src="chrome://messenger/content/am-smtp.xul" name="am-smtp.xul"
style="border:none" flex="100%"/>
</box>
</deck>
</tabcontrol>
</box>
</box>
<html:hr/>
<box id="okCancelButtons"/>
</window>

View File

@@ -0,0 +1,250 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*/
var wizardMap = {
accounttype: { next: "identity" },
identity: { next: "server", previous: "accounttype" },
server: { next: "login", previous: "identity"},
login: { next: "accname", previous: "server"},
accname: { next: "done", previous: "login" },
done: { previous: "accname" }
}
var pagePrefix="chrome://messenger/content/aw-";
var pagePostfix=".xul";
var currentPageTag;
var contentWindow;
var wizardContents;
var smtpService;
function init() {
if (!contentWindow) contentWindow = window.frames["wizardContents"];
if (!wizardContents) wizardContents = new Array;
}
// event handlers
function onLoad() {
if (!smtpService)
smtpService =
Components.classes["component://netscape/messengercompose/smtp"].getService(Components.interfaces.nsISmtpService);;
wizardContents["smtp.hostname"] = smtpService.defaultServer.hostname;
dump("initialized with " + wizardContents["smtp.hostname"] + "\n");
init();
}
function wizardPageLoaded(tag) {
init();
currentPageTag=tag;
initializePage(contentWindow, wizardContents);
}
function onNext(event) {
if (!wizardMap[currentPageTag]) {
dump("Error, could not find entry for current page: " +
currentPageTag + "\n");
return;
}
// only run validation routine if it's there
var validate = wizardMap[currentPageTag].validate;
if (validate)
if (!validate(contentWindow, wizardContents)) return;
if (typeof(contentWindow.ValidateContents) == "function")
if (!contentWindow.ValidateContents()) return;
saveContents(contentWindow, wizardContents);
nextPage(contentWindow);
}
function onCancel(event) {
window.close();
}
function onLoadPage(event) {
contentWindow.location = getUrlFromTag(document.getElementById("newPage").value);
}
function onBack(event) {
previousPage(contentWindow);
}
// utility functions
function getUrlFromTag(title) {
return pagePrefix + title + pagePostfix;
}
// helper functions that actually do stuff
function setNextEnabled(enabled) {
}
function setBackEnabled(enabled) {
}
function nextPage(win) {
var nextPageTag = wizardMap[currentPageTag].next;
if (nextPageTag)
win.location=getUrlFromTag(nextPageTag);
else
onFinish();
}
function previousPage(win) {
previousPageTag = wizardMap[currentPageTag].previous;
if (previousPageTag)
win.location=getUrlFromTag(previousPageTag)
}
function initializePage(win, hash) {
var inputs= win.document.getElementsByTagName("FORM")[0].elements;
for (var i=0; i<inputs.length; i++) {
restoreValue(hash, inputs[i]);
}
if (win.onInit) win.onInit();
}
function saveContents(win, hash) {
var inputs = win.document.getElementsByTagName("FORM")[0].elements;
for (var i=0 ; i<inputs.length; i++) {
saveValue(hash, inputs[i])
}
}
function restoreValue(hash, element) {
if (!hash[element.name]) return;
dump("Restoring " + element.name + " from " + hash[element.name] + "\n");
if (element.type=="radio") {
if (hash[element.name] == element.value)
element.checked=true;
else
element.checked=false;
} else if (element.type=="checkbox") {
element.checked=hash[element.name];
} else {
element.value=hash[element.name];
}
}
function saveValue(hash, element) {
if (element.type=="radio") {
if (element.checked) {
hash[element.name] = element.value;
}
} else if (element.type == "checkbox") {
hash[element.name] = element.checked;
}
else {
hash[element.name] = element.value;
}
}
function validateIdentity(win, hash) {
var email = win.document.getElementById("email").value;
if (email.indexOf('@') == -1) {
window.alert("Invalid e-mail address!");
dump("Invalid e-mail address!\n");
return false;
}
return true;
}
function validateServer(win, hash) {
return true;
}
function validateSmtp(win, hash) {
return true;
}
function onFinish() {
var i;
dump("There are " + wizardContents.length + " elements\n");
for (i in wizardContents) {
dump("wizardContents[" + i + "] = " + wizardContents[i] + "\n");
}
if (createAccount(wizardContents))
window.arguments[0].refresh = true;
// hack hack - save the prefs file NOW in case we crash
try {
var prefs = Components.classes["component://netscape/preferences"].getService(Components.interfaces.nsIPref);
prefs.SavePrefFile();
} catch (ex) {
dump("Error saving prefs!\n");
}
window.close();
}
function createAccount(hash) {
try {
var mail = Components.classes["component://netscape/messenger/services/session"].getService(Components.interfaces.nsIMsgMailSession);
var am = mail.accountManager;
// workaround for lame-ass combo box bug
var serverType = hash["server.type"];
if (!serverType || serverType == "")
serverType = "pop3";
var server = am.createIncomingServer(serverType);
var identity = am.createIdentity();
for (var i in hash) {
var vals = i.split(".");
var type = vals[0];
var slot = vals[1];
if (type == "identity")
identity[slot] = hash[i];
else if (type == "server")
server[slot] = hash[i];
else if (type == "smtp")
smtpService.defaultServer.hostname = hash[i];
}
var account = am.createAccount();
account.incomingServer = server;
account.addIdentity(identity);
return true;
} catch (ex) {
// return false (meaning we did not create the account)
// on any error
dump("Error creating account: ex\n");
return false;
}
}

View File

@@ -0,0 +1,56 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/wizard.css" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/AccountWizard.dtd" >
<window id="account-wizard-dialog" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="New Messenger Account Wizard"
height="350" width="450"
onload="onLoad();">
<html:script language="JavaScript" src="chrome://messenger/content/AccountWizard.js"/>
<box align="vertical" flex="100%">
<html:iframe flex="100%" style="width: 100%; height:100%; border: none"
src="chrome://messenger/content/aw-accounttype.xul"
name="wizardContents" scrolling="auto"/>
<html:div>
&instructions.label;
</html:div>
<html:br/><html:hr/>
<box align="horizontal" style="margin: 10px">
<!--
<html:input type="text" id="newPage" flex="100%"/>
<titledbutton value="Load Page" onclick="onLoadPage(event);"/>
-->
<spring flex="100%"/>
<titledbutton value="&lt; &backButton.label;" onclick="onBack(event);"/>
<titledbutton value="&nextButton.label; &gt;" onclick="onNext(event);"/>
<spring style="width: 10px"/>
<titledbutton value="&finishButton.label;" onclick="onFinish(event);"/>
<spring style="width: 10px"/>
<titledbutton value="&cancelButton.label;" onclick="onCancel(event);"/>
</box>
</box>
</window>

View File

@@ -0,0 +1,42 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is a list of local files which get copied to the res\mailnews\messenger directory
#
AccountManager.xul
AccountManager.js
am-main.xul
am-server.xul
am-server.js
am-server-top.xul
am-copies.xul
am-copies.js
am-advanced.xul
am-smtp.xul
pref-mailnews.xul
pref-winsetting.xul
pref-receipts.xul
custreceipt.xul
pref-diskspace.xul
AccountWizard.xul
AccountWizard.js
aw-accounttype.xul
aw-identity.xul
aw-server.xul
aw-login.xul
aw-accname.xul
aw-done.xul
aw-done.js

View File

@@ -0,0 +1,60 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
SAMPLES_DIR = $(DIST)/bin/chrome/messenger/content/default
EXPORT_RESOURCE_SAMPLES = \
AccountManager.xul \
AccountManager.js \
am-main.xul \
am-server.xul \
am-server.js \
am-server-top.xul \
am-copies.xul \
am-copies.js \
am-advanced.xul \
am-smtp.xul \
pref-mailnews.xul \
pref-winsetting.xul \
pref-receipts.xul \
custreceipt.xul \
pref-diskspace.xul \
AccountWizard.xul \
AccountWizard.js \
aw-accounttype.xul \
aw-identity.xul \
aw-server.xul \
aw-login.xul \
aw-accname.xul \
aw-done.xul \
aw-done.js \
$(NULL)
include $(topsrcdir)/config/rules.mk
GARBAGE += $(addprefix $(SAMPLES_DIR)/, $(EXPORT_RESOURCE_SAMPLES))
install::
$(INSTALL) $(addprefix $(srcdir)/, $(EXPORT_RESOURCE_SAMPLES)) $(SAMPLES_DIR)

View File

@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/am-advanced.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical">
</window>

View File

@@ -0,0 +1,83 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*/
var RDF = Components.classes["component://netscape/rdf/rdf-service"].getService(Components.interfaces.nsIRDFService);
function onInit() {
initFolderDisplay("identity.fccFolder", "fccFolderVerbose");
initFolderDisplay("identity.draftFolder", "draftFolderVerbose");
initFolderDisplay("identity.stationaryFolder", "stationaryFolderVerbose");
initFolderDisplay("identity.junkMailFolder", "junkMailFolderVerbose");
initBccSelf();
dump("document is " + document + "\n");
}
function initFolderDisplay(fieldname, divname) {
var formElement = document.getElementById(fieldname);
var folder = getFolder(formElement.value);
var verboseName = "";
if (folder)
verboseName = folder.prettyName;
setDivText(divname, verboseName);
}
function initBccSelf() {
var bccValue = document.getElementById("identity.email").value;
setDivText("bccemail",bccValue);
}
function setDivText(divid, str) {
var divtag = document.getElementById(divid);
dump("setting " + divtag + " to " + str + "\n");
if (divtag) {
if (divtag.firstChild)
divtag.removeChild(divtag.firstChild);
divtag.appendChild(document.createTextNode(str));
}
}
function getFolder(uri) {
dump("uri = " + uri + "\n");
if (uri) {
var res = null;
try {
res = RDF.GetResource(uri);
}
catch (ex) {
dump("GetResource of this uri failed: " + uri + "\n");
return null;
}
if (res) {
try {
return res.QueryInterface(Components.interfaces.nsIMsgFolder);
}
catch (ex) {
dump(uri + " was not a nsIMsgFolder\n");
return null;
}
}
}
return null;
}

View File

@@ -0,0 +1,117 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/am-copies.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical">
<html:script src="chrome://messenger/content/am-copies.js"/>
<html:input type="hidden" name="identity.fccFolder" id="identity.fccFolder"/>
<html:input type="hidden" name="identity.draftFolder" id="identity.draftFolder"/>
<html:input type="hidden" name="identity.stationaryFolder" id="identity.stationaryFolder"/>
<html:input type="hidden" name="identity.junkMailFolder" id="identity.junkMailFolder"/>
<html:input type="hidden" name="identity.email" id="identity.email"/>
<html:div>&copyAndFolderTitle.label;</html:div>
<box align="vertical" flex="100%">
<html:div>&sendingPrefix.label;</html:div>
<box align="horizontal">
<html:input name="identity.doFcc" type="checkbox"/>
<html:div>&fccMailFolder.label;</html:div>
<html:select flex="100%"
onchange="dump('value=' + event.target.value + '\n')"
rdf:datasources="rdf:mailnewsfolders rdf:msgaccountmanager"
name="identity.fccFolder"
ref="msgaccounts:/">
<!--
<html:input type="text" name="identity.fccFolder"/>
<html:optgroup/>
-->
<template>
<rule iscontainer="true" isempty="false">
<html:optgroup uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name">
<html:option value="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</html:optgroup>
</rule>
<rule>
<html:option value="..." uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
</template>
</html:select>
<!-- <titledbutton value="&chooseFolderButton.label;"/> -->
</box>
<box align="horizontal">
<html:input name="identity.bccSelf" type="checkbox"/>
<html:div>&bccAccount.label;</html:div>
<html:div id="bccemail"/>
</box>
<box align="horizontal">
<html:input name="identity.bccOthers" type="checkbox"/>
<html:div>&bccAddress.label;</html:div>
<html:input type="text" name="identity.bccList"/>
</box>
</box>
<html:div>&specialFolderTitle.label;</html:div>
<box align="vertical" flex="100%">
<box align="horizontal">
<html:div flex="34%">&draftMailFolder.label;</html:div>
<html:select flex="66%"
onchange="dump('value=' + event.target.value + '\n')"
rdf:datasources="rdf:mailnewsfolders rdf:msgaccountmanager"
name="identity.draftFolder"
ref="msgaccounts:/">
<template>
<rule iscontainer="true" isempty="false">
<html:optgroup uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name">
<html:option value="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</html:optgroup>
</rule>
<rule>
<html:option value="..." uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
</template>
</html:select>
</box>
<box align="horizontal">
<html:div flex="34%">&templateMailFolder.label;</html:div>
<html:select flex="66%"
onchange="dump('value=' + event.target.value + '\n')"
rdf:datasources="rdf:mailnewsfolders rdf:msgaccountmanager"
name="identity.stationaryFolder"
ref="msgaccounts:/">
<template>
<rule iscontainer="true" isempty="false">
<html:optgroup uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name">
<html:option value="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</html:optgroup>
</rule>
<rule>
<html:option value="..." uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
</template>
</html:select>
</box>
<box align="horizontal">
<html:div>&junkMailFolder.label;</html:div>
<html:select flex="100%"
onchange="dump('value=' + event.target.value + '\n')"
rdf:datasources="rdf:mailnewsfolders rdf:msgaccountmanager"
name="identity.junkMailFolder"
ref="msgaccounts:/">
<template>
<rule iscontainer="true" isempty="false">
<html:optgroup uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name">
<html:option value="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</html:optgroup>
</rule>
<rule>
<html:option value="..." uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
</rule>
</template>
</html:select>
</box>
</box>
</window>

View File

@@ -0,0 +1,80 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/am-main.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
flex="100%"
align="vertical">
<html:div class="pageTitle">&accountTitle.label;</html:div>
<box align="vertical">
<html:div class="secDesc">&accountSettingsDesc.label;</html:div>
<html:div>&accountNameDesc.label;</html:div>
<box align="horizontal">
<html:div>&accountName.label;</html:div>
<html:spacer/>
<html:input type="text" name="server.prettyName" flex="100%"/>
</box>
</box>
<html:div class="secTitle">&identityTitle.label;</html:div>
<box align="vertical">
<html:div class="secDesc">&identityDesc.label;</html:div>
<html:div style="width: 100%">
<html:table width="100%">
<html:tr>
<html:td>&name.label;</html:td>
<html:td align="right"><html:input name="identity.fullName" type="text" size="30"/></html:td>
</html:tr>
<html:tr>
<html:td>&email.label;</html:td>
<html:td align="right"><html:input name="identity.email" type="text" size="30"/></html:td>
</html:tr>
<html:tr>
<html:td flex="40%">&replyTo.label;</html:td>
<html:td align="right"><html:input name="identity.replyTo" type="text" size="30"/></html:td>
</html:tr>
<html:tr>
<html:td flex="40%">&organization.label;</html:td>
<html:td align="right"><html:input name="identity.organization" type="text" size="30"/></html:td>
</html:tr>
<!-- no vcard in PR1
<html:tr class="checkboxrow">
<html:td colspan="2">
<html:input name="identity.attachVCard" type="checkbox"/>
&attachVCard.label;
<titledbutton value="&editVCard.label;"/>
</html:td>
</html:tr>
-->
<html:tr class="checkboxrow">
<html:td colspan="2">
<html:input name="identity.attachSignature" type="checkbox"/>
&signature.label;
<html:input type="text" datatype="nsIFileSpec" flex="100%" name="identity.signature"/>
</html:td>
</html:tr>
<!--
<html:select flex="100%">
<html:option value="sig1">&sampleSig1.label;</html:option>
<html:option value="sig2">&sampleSig2.label;</html:option>
<html:option value="sig3">&sampleSig3.label;</html:option>
</html:select>
<titledbutton value="&editSignature.label;"/>
-->
</html:table>
</html:div>
</box>
<html:table>
<html:tr class="checkboxrow"><html:td>
<html:input name="identity.composeHtml" type="checkbox"/>
&useHtml.label;
</html:td></html:tr>
</html:table>
</window>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/am-server-top.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical">
</window>

View File

@@ -0,0 +1,64 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*/
function onInit() {
initServerType();
}
function initServerType() {
var serverType = document.getElementById("server.type").value;
var verboseName;
var index;
if (serverType == "pop3") {
verboseName = "POP Mail Server";
index = 0;
} else if (serverType == "imap") {
verboseName = "IMAP Mail Server";
index = 1;
} else if (serverType == "nntp") {
verboseName = "Newsgroup server (NNTP)";
index = 2;
} else if (serverType == "none") {
verboseName = "Local Mail store";
index = 3;
}
if (index != undefined) {
var deck = document.getElementById("serverdeck");
deck.setAttribute("index", index);
}
var hostname = document.getElementById("server.hostName").value;
var username = document.getElementById("server.username").value;
setDivText("servertype.verbose", verboseName);
setDivText("servername.verbose", hostname);
setDivText("username.verbose", username);
}
function setDivText(divname, value) {
var div = document.getElementById(divname);
if (!div) return;
if (div.firstChild)
div.removeChild(div.firstChild);
div.appendChild(document.createTextNode(value));
}

View File

@@ -0,0 +1,87 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/am-server-top.dtd" >
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/TR/REC-html40" align="vertical">
<html:script src="chrome://messenger/content/am-server.js"/>
<html:input type="hidden" name="server.type" id="server.type"/>
<html:input type="hidden" name="server.hostName" id="server.hostName"/>
<html:input type="hidden" name="server.username" id="server.username"/>
<html:div>&serverSettings.label;</html:div>
<box align="vertical">
<html:table width="100%">
<html:tr>
<html:td>&serverType.label;</html:td>
<html:td><html:div flex="80%" id="servertype.verbose"/></html:td>
</html:tr>
<html:tr>
<html:td>&serverName.label;</html:td>
<html:td><html:div flex="80%" id="servername.verbose"/></html:td>
</html:tr>
<html:tr>
<html:td>&userName.label;</html:td>
<html:td><html:div id="username.verbose"/></html:td>
</html:tr>
</html:table>
<html:div><html:input name="server.rememberPassword"
type="checkbox"/>&savePassword.label;</html:div>
<html:div><html:input name="server.doBiff"
type="checkbox"/>&biffStart.label;
<html:input name="server.biffMinutes" type="text" size="3"/>
&biffEnd.label;
</html:div>
</box>
<tabcontrol flex="100%">
<deck id="serverdeck">
<!-- POP -->
<box align="vertical" flex="100%">
<html:div><html:input name="pop3.leaveMessagesOnServer" type="checkbox"/>&leaveOnServer.label;</html:div>
<html:div><html:input name="pop3.deleteMailLeftOnServer" type="checkbox"/>&deleteOnServer.label;</html:div>
</box>
<!-- IMAP -->
<box align="vertical" flex="100%">
<html:div>&deleteMessagePrefix.label;</html:div>
<html:div>
<html:select name="imap.deleteModel">
<html:option value="0">&modelMoveToTrash.label;</html:option>
<html:option value="1">&modelMarkDeleted.label;</html:option>
<html:option value="2">&modelDeleteImmediately.label;</html:option>
</html:select>
</html:div>
<html:div>
<html:input name="imap.cleanupInboxOnExit" type="checkbox"/>
&expungeOnExit.label;
</html:div>
<html:div><html:input name="imap.emptyTrashOnExit" type="checkbox"/>&emptyTrashOnExit.label;</html:div>
</box>
<!-- News -->
<box align="vertical" flex="100%">
<box align="horizontal">
<html:div>
<html:input name="nntp.notifyOn" type="checkbox"/>
&maxMessagesStart.label;
</html:div>
<html:div>
<html:input name="nntp.maxArticles" type="text" size="6"/>
&maxMessagesEnd.label;
</html:div>
</box>
</box>
<!-- None -->
<box align="vertical" flex="100%">
</box>
</deck>
</tabcontrol>
<box align="vertical">
<html:div>&localPath.label;</html:div>
<html:input type="text" name="server.localPath" datatype="nsIFileSpec"/>
</box>
</window>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/am-advanced.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical">
<html:div>&smtpServer.label;</html:div>
<html:div>&smtpDesc.label;</html:div>
<box align="horizontal">
<html:div>&smtpHostname.label;</html:div>
<html:input type="text" name="smtp.hostname" flex="100%"/>
</box>
<html:div>
<html:input type="checkbox" name="smtp.useUsername"/>
&smtpAlwaysUseName.label;
</html:div>
<box align="horizontal">
<html:div>&smtpUsername.label;</html:div>
<html:input type="text" name="smtp.username" flex="100%"/>
</box>
<html:div>
<html:input type="checkbox" name="smtp.savePassword"/>
&smtpSavePassword.label;
</html:div>
</window>

View File

@@ -0,0 +1,43 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/wizard.css" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-accname.dtd" >
<window id="accnamepage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical"
onload="parent.wizardPageLoaded('accname');">
<box class="title" align="horizontal">
<html:div class="title">&accnameTitle.label;</html:div>
<spring flex="100%"/>
<titledbutton class="plain" src="chrome://navigator/skin/animthrob_single.gif"/>
</box>
<html:div>&accnameDesc.label;</html:div>
<spring style="height: 1em"/>
<box align="horizontal">
<html:div>&accnameLabel.label;</html:div>
<html:input type="text" name="server.prettyName" id="server.prettyName" flex="100%"/>
</box>
</window>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/wizard.css" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-accounttype.dtd" >
<window id="accounttype" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('accounttype');">
<box align="vertical" style="width: 100%; height: 100%" flex="100%">
<box class="title" align="horizontal">
<html:div class="title">&accountTypeTitle.label;</html:div>
<spring flex="100%"/>
<titledbutton class="plain" src="chrome://navigator/skin/animthrob_single.gif"/>
</box>
<html:div class="desc">&accountTypeDesc.label;</html:div>
<box align="vertical">
<html:div>
<html:input type="radio" name="acctyperadio" id="mailaccount" value="mail" checked="1"/>
&accountTypeMail.label;
</html:div>
<html:div>
<html:input type="radio" name="acctyperadio" id="newsaccount" value="news"/>
&accountTypeNews.label;
</html:div>
<!-- no webmail yet...
<html:div>
<html:input type="radio" name="acctyperadio" id="webmailaccount" value="webmail"/>
&accountTypeWebMail.label;
</html:div>
<html:div style="padding-left: 15px">
<html:div>
<html:input type="radio" name="webmailradio" id="newwebmail" value="webmail" checked="1"/>
&webMailNew.label;
</html:div>
<html:div>
<html:input type="radio" name="webmailradio" id="existwebmail" value="webmail"/>
&webMailExisting.label;
</html:div>
</html:div>
-->
</box>
</box>
</window>

View File

@@ -0,0 +1,37 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*/
function onInit() {
setDivTextFromForm("identity.email.text", "identity.email");
setDivTextFromForm("server.username.text", "server.username");
}
function setDivTextFromForm(divid, elementid) {
var div = document.getElementById(divid);
if (!div) return;
var element = document.getElementById(elementid);
var value=element.value;
if (div.firstChild)
div.removeChild(div.firstChild);
div.appendChild(document.createTextNode(value));
}

View File

@@ -0,0 +1,51 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/wizard.css" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-done.dtd" >
<window id="done" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical"
onload="parent.wizardPageLoaded('done');">
<html:script src="chrome://messenger/content/aw-done.js"/>
<box class="title" align="horizontal">
<html:div class="title">&completionTitle.label;</html:div>
<spring flex="100%"/>
<titledbutton class="plain" src="chrome://navigator/skin/animthrob_single.gif"/>
</box>
<html:input type="hidden" name="server.username" id="server.username"/>
<html:input type="hidden" name="identity.email" id="identity.email"/>
<html:div>&completionText.label;</html:div>
<html:p/>
<box align="horizontal">
<html:div>&userNamePrefix.label;</html:div>
<html:div id="server.username.text"/>
</box>
<box align="horizontal">
<html:div>&emailPrefix.label;</html:div>
<html:div id="identity.email.text"/>
</box>
<html:p/>
<html:div>&setupAnother.label;</html:div>
</window>

View File

@@ -0,0 +1,40 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/wizard.css" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-email.dtd" >
<window id="emailpage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('email');">
<box align="vertical" style="width: 100%; height: 100%">
<html:div>
<html:div>&emailTitle.label;</html:div>
<html:div>&emailDesc.label;</html:div>
</html:div>
<box align="horizontal">
<html:input type="text" name="email" id="email"/>
<spring flex="100%"/>
</box>
<html:div>&emailExample.label;</html:div>
</box>
</window>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-fullname.dtd" >
<window id="fullnamepage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('fullname');">
<box align="vertical" style="width: 100%; height: 100%">
<html:div>
<html:div>&fullnameTitle.label;</html:div>
<html:div>&fullnameDesc.label;</html:div>
</html:div>
<box align="horizontal">
<html:input type="text" name="fullname" id="fullname"/>
<spring flex="100%"/>
</box>
<html:div>&fullnameExample.label;</html:div>
</box>
</window>

View File

@@ -0,0 +1,56 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/wizard.css" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-identity.dtd" >
<window id="identitypage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical"
onload="parent.wizardPageLoaded('identity');">
<box class="title" align="horizontal">
<html:div class="title">&identityTitle.label;</html:div>
<spring flex="100%"/>
<titledbutton class="plain" src="chrome://navigator/skin/animthrob_single.gif"/>
</box>
<html:div>&identityDesc.label;</html:div>
<html:div>
<html:div>&fullnameDesc.label; &fullnameExample.label;</html:div>
<box align="horizontal">
<html:div>&fullnameLabel.label;</html:div>
<html:input type="text" name="identity.fullName" id="identity.fullName"/>
<spring flex="100%"/>
</box>
</html:div>
<html:div>
<html:div>&emailDesc.label; &emailExample.label;</html:div>
<box align="horizontal">
<html:div>&emailLabel.label;</html:div>
<html:input type="text" name="identity.email" id="identity.email"/>
<spring flex="100%"/>
</box>
</html:div>
</window>

View File

@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<window id="intro" title="intro" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('intro');">
<html:div>Welcome to the account wizard</html:div>
</window>

View File

@@ -0,0 +1,62 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/wizard.css" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-login.dtd" >
<window id="loginpage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical"
onload="parent.wizardPageLoaded('login');">
<box class="title" align="horizontal">
<html:div class="title">&loginTitle.label;</html:div>
<spring flex="100%"/>
<titledbutton class="plain" src="chrome://navigator/skin/animthrob_single.gif"/>
</box>
<box align="vertical" class="padded">
<html:div>&usernameDesc.label; &usernameExample.label;</html:div>
<html:div>
&usernameLabel.label;
<html:input type="text" name="server.username" id="server.username"/>
</html:div>
</box>
<box align="vertical" class="padded">
<html:div class="title">&passwordTitle.label;</html:div>
<html:div>&savePasswordDesc.label;</html:div>
<html:div>&savePasswordLabel.label;</html:div>
<html:div>
<html:input type="checkbox" name="server.rememberPassword"
id="server.rememberPassword"/>
&savePasswordCheckbox.label;
</html:div>
<html:div style="padding-left: 15px">
<html:div>&passwordDesc.label;</html:div>
<html:div>
&passwordLabel.label;
<html:input type="password" name="server.password" id="server.password"/>
</html:div>
</html:div>
</box>
</window>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-mailtype.dtd" >
<window id="mailtype" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('mailtype');">
<box align="vertical" style="width: 100%; height: 100%">
<html:div>
<html:div>&mailTypeTitle.label;</html:div>
<html:div>&mailTypeDesc.label;</html:div>
</html:div>
<box align="vertical">
<html:div>
<html:input type="radio" name="acctyperadio" value="webmail" id="webmail"/>
&mailTypeWebMail.label;
</html:div>
<html:div>
<html:input type="radio" name="acctyperadio" value="mail" id="mail" checked="1"/>
&mailTypeOtherMail.label;
</html:div>
</box>
</box>
</window>

View File

@@ -0,0 +1,64 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/wizard.css" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-server.dtd" >
<window id="serverpage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
align="vertical"
onload="parent.wizardPageLoaded('server');">
<box class="title" align="horizontal">
<html:div class="title">&serverTitle.label;</html:div>
<spring flex="100%"/>
<titledbutton class="plain" src="chrome://navigator/skin/animthrob_single.gif"/>
</box>
<box align="vertical" class="padded">
<html:div class="title">&incomingServerTitle.label;</html:div>
<html:div>&incomingServerTypeDesc.label;</html:div>
<html:div>
&incomingServerTypeLabel.label;
<html:select id="server.type" name="server.type">
<html:option value="pop3">&popType.label;</html:option>
<html:option value="imap">&imapType.label;</html:option>
<html:option value="nntp">&nntpType.label;</html:option>
</html:select>
</html:div>
<html:br/>
<html:div>&incomingServerNameDesc.label;</html:div>
<html:div>
&incomingServerLabel.label;
<html:input type="text" id="server.hostName" name="server.hostName"/>
</html:div>
</box>
<box align="vertical" class="padded">
<html:div class="title">&smtpServerTitle.label;</html:div>
<html:div>&smtpServerDesc.label;</html:div>
<html:div>
&smtpServerLabel.label;
<html:input type="text" id="smtp.hostname" name="smtp.hostname"/>
</html:div>
</box>
</window>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<window id="smtp" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('smtp');">
<box align="vertical" style="width: 100%; height: 100%; margin: 10px">
<html:div>Outgoing mail (SMTP) server:</html:div>
<box align="horizontal">
<html:input id="smtpserver" type="text"/>
</box>
</box>
</window>

View File

@@ -0,0 +1,69 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/custreceipt.dtd">
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&window.title;"
class="dialog"
onload="StartUp('Mailnews-Customize Receipts')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:script language="javascript">
function DoOKButton()
{
top.window.close();
}
function DoCancelButton()
{
top.window.close();
}
</html:script>
<html:div flex="100%">
<html:br/>
&sendReceipt.label;
<html:form>
<html:table>
<html:tr><html:td> &notInToCc.label;
<html:select>
<html:option>&neverSend.label;</html:option>
<html:option>&automatically.label;</html:option>
<html:option>&askMe.label;</html:option>
</html:select>
</html:td></html:tr>
<html:tr><html:td>&outside.label;
<html:select>
<html:option>&neverSend.label;</html:option>
<html:option>&automatically.label;</html:option>
<html:option>&askMe.label;</html:option>
</html:select>
</html:td></html:tr>
<html:tr><html:td>&other.label;
<html:select>
<html:option>&neverSend.label;</html:option>
<html:option>&automatically.label;</html:option>
<html:option>&askMe.label;</html:option>
</html:select>
</html:td></html:tr>
</html:table>
</html:form>
<html:br/>
<html:form>
<html:table>
<html:tr><html:td>
<html:input name="ok" type="button" value="&ok.label;" onclick="DoOKButton()"/>
<html:input name="cancel" type="button" value="&cancel.label;" onclick="DoCancelButton()"/>
</html:td></html:tr>
</html:table>
</html:form>
</html:div>
</window>

View File

@@ -0,0 +1,72 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..\..\..
include <$(DEPTH)\config\rules.mak>
install::
$(MAKE_INSTALL) AccountManager.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) AccountManager.js $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) am-main.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) am-server.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) am-server.js $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) am-server-top.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) am-copies.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) am-copies.js $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) am-advanced.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) am-smtp.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) pref-mailnews.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) pref-winsetting.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) pref-receipts.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) custreceipt.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) pref-diskspace.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) AccountWizard.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) AccountWizard.js $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) aw-accounttype.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) aw-identity.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) aw-server.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) aw-login.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) aw-accname.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) aw-done.xul $(DIST)\bin\chrome\messenger\content\default
$(MAKE_INSTALL) aw-done.js $(DIST)\bin\chrome\messenger\content\default
clobber::
rm -f $(DIST)\chrome\messenger\content\default\AccountManager.xul
rm -f $(DIST)\chrome\messenger\content\default\AccountManager.js
rm -f $(DIST)\chrome\messenger\content\default\am-main.xul
rm -f $(DIST)\chrome\messenger\content\default\am-server.xul
rm -f $(DIST)\chrome\messenger\content\default\am-server.js
rm -f $(DIST)\chrome\messenger\content\default\am-server-top.xul
rm -f $(DIST)\chrome\messenger\content\default\am-copies.xul
rm -f $(DIST)\chrome\messenger\content\default\am-copies.js
rm -f $(DIST)\chrome\messenger\content\default\am-advanced.xul
rm -f $(DIST)\chrome\messenger\content\default\am-smtp.xul
rm -f $(DIST)\chrome\messenger\content\default\AccountWizard.xul
rm -f $(DIST)\chrome\messenger\content\default\AccountWizard.js
rm -f $(DIST)\chrome\messenger\content\default\aw-accounttype.xul
rm -f $(DIST)\chrome\messenger\content\default\aw-identity.xul
rm -f $(DIST)\chrome\messenger\content\default\aw-server.xul
rm -f $(DIST)\chrome\messenger\content\default\aw-smtp.xul
rm -f $(DIST)\chrome\messenger\content\default\aw-login.xul
rm -f $(DIST)\chrome\messenger\content\default\aw-accname.xul
rm -f $(DIST)\chrome\messenger\content\default\aw-done.xul
rm -f $(DIST)\chrome\messenger\content\default\pref-mailnews.xul
rm -f $(DIST)\chrome\messenger\content\default\pref-winsetting.xul
rm -f $(DIST)\chrome\messenger\content\default\pref-receipts.xul
rm -f $(DIST)\chrome\messenger\content\default\custreceipt.xul
rm -f $(DIST)\chrome\messenger\content\default\pref-diskspace.xul

View File

@@ -0,0 +1,66 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/pref-diskspace.dtd">
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Mailnews-Disk Space')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:div flex="100%">
<html:div id="top">
<html:span id="lefttext">&pane.title;</html:span>
</html:div>
<html:br/>
&allMsg.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:mail.limit_message_size"/>
<html:label>&storeMsgLimit.label;</html:label>
<html:input name="maxsize" id="pref:string:mail.max_size" size="4"/>&kb.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:mail.prompt_purge_threshhold"/>
<html:label>&autoCompact.label;</html:label>
<html:input name="purgesize" id="pref:string:mail.purge_threshhold" size="4"/>&kb.label;
</html:td></html:tr>
</html:table>
</html:form>
<html:br/>
&newgroupMsgOnly.label;
<html:table>
<html:tr><html:td><html:label>&whenToClean.label;</html:label></html:td></html:tr>
<html:tr><html:td>
<html:input name="keepmsg" type="radio" id="pref:1:int:news.keep.method"/>
<html:label>&keepMsgs.label;</html:label>
<html:input name="keepdays" id="pref:string:news.keep.days" size="4"/>&days.label;
</html:td></html:tr>
<html:tr><html:td>
<html:input name="keepmsg" type="radio" id="pref:0:int:news.keep.method" checked="true"/>
<html:label>&keepAllMsg.label;</html:label>
</html:td></html:tr>
<html:tr><html:td>
<html:input name="keepmsg" type="radio" id="pref:2:int:news.keep.method"/>
<html:label>&keepTheNewest.label;</html:label>
<html:input name="keepmsgcount" id="pref:string:news.keep.count" size="4"/>&messages.label;
</html:td></html:tr>
<html:tr><html:td> </html:td></html:tr>
<html:tr><html:td> </html:td></html:tr>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:news.keep.only_unread"/>
<html:label>&keepUnread.label;</html:label>
</html:td></html:tr>
<html:tr><html:td>
<html:input type="checkbox" id="pref:0:bool:news.remove_bodies.by_age"/>
<html:label>&removeMsg.label;</html:label>
<html:input name="removedays" id="pref:string:news.remove_bodies.days" size="4"/>&days.label;
</html:td></html:tr>
</html:table>
</html:div>
</window>

View File

@@ -0,0 +1,72 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/pref-mailnews.dtd">
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Mailnews-Main')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:div flex="100%">
<html:div id="top">
<html:span id="lefttext">&pane.title;</html:span>
</html:div>
&textBegin.label;
<html:form>
<html:table>
<html:tr><html:td>&style.label;
<html:select>
<html:option>&regular.label;</html:option>
<html:option>&bold.label;</html:option>
<html:option>&italic.label;</html:option>
<html:option>&boldItalic.label;</html:option>
</html:select>
</html:td></html:tr>
<html:tr><html:td>&size.label;
<html:select>
<html:option>&regular.label;</html:option>
<html:option>&bigger.label;</html:option>
<html:option>&smaller.label;</html:option>
</html:select>
</html:td></html:tr>
<html:tr><html:td>&color.label;
<html:select>
<html:option></html:option>
</html:select>
</html:td></html:tr>
</html:table>
</html:form>
&displayWith.label;
<html:form>
<html:table>
<html:tr><html:td><html:input name="fontwidth" type="radio"
id="pref:1:int:mail.fixed_width_messages" checked="true"/>
<html:label>&fixedWidth.label;</html:label>
</html:td></html:tr>
<html:tr><html:td><html:input name="fontwidth" type="radio"
id="pref:0:int:mail.fixed_width_messages"/>
<html:label>&variableWidth.label;</html:label>
</html:td></html:tr>
</html:table>
</html:form>
<html:br/>
<html:form>
<html:table>
<html:tr><html:td><html:input type="checkbox" id="pref:1:bool:mail.play_sound"/>
<html:label>&playSound.label;</html:label></html:td></html:tr>
<html:tr><html:td><html:input type="checkbox" id="pref:1:bool:mailnews.remember_selected_message"/>
<html:label>&rememberLastMsg.label;</html:label></html:td></html:tr>
<html:tr><html:td><html:input type="checkbox" id="pref:1:bool:mailnews.confirm.moveFoldersToTrash"/>
<html:label>&confirmMove.label;</html:label></html:td></html:tr>
<html:tr><html:td><html:input type="checkbox" id="pref:0:bool:mail.use_mapi_server"/>
<html:label>&useMessenger.label;</html:label></html:td></html:tr>
</html:table>
</html:form>
</html:div>
</window>

View File

@@ -0,0 +1,78 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/pref-receipts.dtd">
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Mailnews-Return Receipts')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:script language="javascript">
function DoCustomize()
{
var dialog = window.openDialog("chrome://messenger/content/custreceipt.xul",
"",
"chrome");
}
</html:script>
<html:div flex="100%">
<html:div id="top">
<html:span id="lefttext">&pane.title;</html:span>
</html:div>
&requestReceipt.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input name="msgreceipt" type="radio" id="pref:1:int:mail.request.return_receipt"/>
<html:label>&dsn.label;</html:label>
</html:td></html:tr>
<html:tr><html:td>
<html:input name="msgreceipt" type="radio" id="pref:2:int:mail.request.return_receipt" checked="true"/>
<html:label>&mdn.label;</html:label>
</html:td></html:tr>
<html:tr><html:td>
<html:input name="msgreceipt" type="radio" id="pref:3:int:mail.request.return_receipt"/>
<html:label>&both.label;</html:label>
</html:td></html:tr>
</html:table>
</html:form>
&receiptArrive.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input name="getreceipt" type="radio" id="pref:0:int:mail.incorporate.return_receipt" checked="true"/>
<html:label>&leaveIt.label;</html:label>
</html:td></html:tr>
<html:tr><html:td>
<html:input name="getreceipt" type="radio" id="pref:1:int:mail.incorporate.return_receipt"/>
<html:label>&moveToSent.label;</html:label>
</html:td></html:tr>
</html:table>
</html:form>
&requestMDN.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input name="returnreceipt" type="radio" id="pref:0:int:mail.mdn.report.enabled"/>
<html:label>&never.label;</html:label>
</html:td></html:tr>
<html:tr><html:td>
<html:input name="returnreceipt" type="radio" id="pref:1:int:mail.mdn.report.enabled" checked="true"/>
<html:label>&returnSome.label;</html:label>
<html:input name="custom" type="button" value="&custom.label;"/>
</html:td></html:tr>
</html:table>
</html:form>
</html:div>
</window>

View File

@@ -0,0 +1,59 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/pref-winsetting.dtd">
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="StartUp('Mailnews-Window Setting')" >
<html:script language="javascript" src="chrome://pref/content/PrefsWindow.js"/>
<html:div flex="100%">
<html:div id="top">
<html:span id="lefttext">&pane.title;</html:span>
</html:div>
<html:form>
<html:table>
<html:tr><html:td><html:label>&chooseLayout.label;</html:label></html:td></html:tr>
<html:tr><html:td>
<html:input name="winlayout" type="radio" id="pref:0:int:mail.pane_arrangement" checked="true"/>
<html:img src="chrome://messenger/skin/winclassic.gif"/>
<html:input name="winlayout" type="radio" id="pref:1:int:mail.pane_arrangement"/>
<html:img src="chrome://messenger/skin/winwide.gif"/>
</html:td></html:tr>
<html:tr><html:td>&chooseExp.label;</html:td></html:tr>
</html:table>
</html:form>
<html:form>
<html:table>
<html:tr><html:td>
<html:input type="checkbox" id="pref:1:int:mailnews.reuse_thread_window2"/>
<html:label>&reuseThread.label;</html:label>
</html:td></html:tr>
<html:tr><html:td>
<html:input type="checkbox" id="pref:1:int:mailnews.reuse_message_window"/>
<html:label>&reuseMessage.label;</html:label>
</html:td></html:tr>
<html:tr><html:td>&reuseExp.label;</html:td></html:tr>
</html:table>
</html:form>
&newsOpt.label;
<html:form>
<html:table>
<html:tr><html:td>
<html:input name="opennews" type="radio" id="pref:0:int:news.use_message_center" checked="true"/>
<html:label>&openMessenger.label;</html:label>
</html:td></html:tr>
<html:tr><html:td>
<html:input name="opennews" type="radio" id="pref:1:int:news.use_message_center"/>
<html:label>&openCenter.label;</html:label>
</html:td></html:tr>
</html:table>
</html:form>
</html:div>
</window>

View File

@@ -0,0 +1,11 @@
<!-- extracted from AccountManager.xul -->
<!ENTITY accountManagerTitle.label "Account Settings">
<!ENTITY newAccountButton.label "New Account">
<!ENTITY setDefaultButton.label "Set as Default">
<!ENTITY duplicateButton.label "Duplicate">
<!ENTITY deleteButton.label "Delete">
<!ENTITY nameCol.label "Name">
<!ENTITY duplicate.label "Duplicate">

View File

@@ -0,0 +1,7 @@
<!-- extracted from AccountWizard.xul -->
<!ENTITY backButton.label "Back">
<!ENTITY nextButton.label "Next">
<!ENTITY finishButton.label "Finish">
<!ENTITY cancelButton.label "Cancel">
<!ENTITY instructions.label "Click next to continue entering information.">

View File

@@ -0,0 +1,38 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is a list of local files which get copied to the res\mailnews\messenger directory
#
custreceipt.dtd
pref-diskspace.dtd
pref-mailnews.dtd
pref-receipts.dtd
pref-winsetting.dtd
aw-accname.dtd
aw-accounttype.dtd
aw-done.dtd
aw-email.dtd
aw-fullname.dtd
aw-identity.dtd
aw-login.dtd
aw-mailtype.dtd
aw-server.dtd
AccountManager.dtd
AccountWizard.dtd
am-advanced.dtd
am-copies.dtd
am-main.dtd
am-server-top.dtd

View File

@@ -0,0 +1,56 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
SAMPLES_DIR = $(DIST)/bin/chrome/messenger/locale/en-US
EXPORT_RESOURCE_SAMPLES = \
custreceipt.dtd \
pref-diskspace.dtd \
pref-mailnews.dtd \
pref-receipts.dtd \
pref-winsetting.dtd \
aw-accname.dtd \
aw-accounttype.dtd \
aw-done.dtd \
aw-email.dtd \
aw-fullname.dtd \
aw-identity.dtd \
aw-login.dtd \
aw-mailtype.dtd \
aw-server.dtd \
AccountManager.dtd \
AccountWizard.dtd \
am-advanced.dtd \
am-copies.dtd \
am-main.dtd \
am-server-top.dtd \
$(NULL)
include $(topsrcdir)/config/rules.mk
GARBAGE += $(addprefix $(SAMPLES_DIR)/, $(EXPORT_RESOURCE_SAMPLES))
install::
$(INSTALL) $(addprefix $(srcdir)/, $(EXPORT_RESOURCE_SAMPLES)) $(SAMPLES_DIR)

View File

@@ -0,0 +1,12 @@
<!-- extracted from am-advanced.xul -->
<!ENTITY advancedSettings.label "Advanced Settings">
<!-- LOCALIZATION NOTE (smtpServer.label): do not translate "SMTP" in below line -->
<!ENTITY smtpServer.label "SMTP Server">
<!-- LOCALIZATION NOTE (smtpDesc.label): do not translate "SMTP" in below line -->
<!ENTITY smtpDesc.label "Only one outgoing (SMTP) server needs to be specified, even if you have several mail accounts. Enter the name of the outgoing server you use the most frequently to access your mail">
<!ENTITY smtpAlwaysUseName.label "Always use name and password">
<!ENTITY smtpSavePassword.label "Save my password">
<!ENTITY smtpHostname.label "Server Name:">
<!ENTITY smtpUsername.label "User Name:">

View File

@@ -0,0 +1,14 @@
<!-- extracted from am-copies.xul -->
<!ENTITY copyAndFolderTitle.label "Copy and Folder settings">
<!ENTITY sendingPrefix.label "When sending messages, automatically ">
<!ENTITY fccMailFolder.label "Place a copy in:">
<!ENTITY chooseFolderButton.label "Choose Folder...">
<!-- LOCALIZATION NOTE (bccAccount.label): do not translate "Bcc" in below line -->
<!ENTITY bccAccount.label "Bcc ">
<!-- LOCALIZATION NOTE (bccAddress.label): do not translate "Bcc" in below line -->
<!ENTITY bccAddress.label "Bcc these addresses:">
<!ENTITY specialFolderTitle.label "Special Folders">
<!ENTITY junkMailFolder.label "Keep junk mail in:">
<!ENTITY draftMailFolder.label "Keep message drafts in:">
<!ENTITY templateMailFolder.label "Keep message stationary in:">

View File

@@ -0,0 +1,23 @@
<!-- extracted from am-main.xul -->
<!ENTITY accountTitle.label "Account Settings">
<!ENTITY accountSettingsDesc.label "The following information is needed before you can send mail. If you do not know the information requested, please contact your system administrator or Internet Service Provider.">
<!ENTITY accountName.label "Account Name:">
<!ENTITY accountNameDesc.label "The account name identitifies each account">
<!ENTITY identityTitle.label "Identity">
<!ENTITY identityDesc.label "Each account can have its own identity, which is the information that other people see when they read your messages.">
<!ENTITY name.label "Your Name:">
<!ENTITY email.label "Email Address:">
<!ENTITY replyTo.label "Reply-to Address:">
<!ENTITY organization.label "Organization:">
<!ENTITY signature.label "Attach this signature">
<!ENTITY editSignature.label "Edit...">
<!-- LOCALIZATION NOTE (editVCard.label) : do not translate "vCard" in below line -->
<!ENTITY editVCard.label "Edit vCard...">
<!ENTITY sampleSig1.label "Sample Signature 1">
<!ENTITY sampleSig2.label "Sample Signature 2">
<!ENTITY sampleSig3.label "Sample Signature 3">
<!-- LOCALIZATION NOTE (useHtml.label) : do not translate "html" in below line -->
<!ENTITY useHtml.label "Compose messages using html">
<!-- LOCALIZATION NOTE (attachVCard.label) : do not translate "vCard" in below line -->
<!ENTITY attachVCard.label "Attach my vCard to messages">

View File

@@ -0,0 +1,37 @@
<!-- extracted from am-server-top.xul -->
<!ENTITY serverSettings.label "Server Settings">
<!-- LOCALIZATION NOTE (popServer.label) : do not translate "POP" in below line -->
<!ENTITY popServer.label "POP Mail server">
<!-- LOCALIZATION NOTE (imapServer.label) : do not translate "IMAP" in below line -->
<!ENTITY imapServer.label "IMAP Mail server">
<!ENTITY newsServer.label "News Server">
<!ENTITY webmail.label "Web mail account">
<!ENTITY serverType.label "Server Type:">
<!ENTITY serverName.label "Server Name:">
<!ENTITY userName.label "User Name:">
<!ENTITY savePassword.label "Save password.">
<!-- LOCALIZATION NOTE (biffStart.label) : translate below 2 line with grammer dependency
For example, in Japanese cases:
biffStart.label "every"
biffEnd.label "minutes for new messages Check"
-->
<!ENTITY biffStart.label "Check for new mail every ">
<!ENTITY biffEnd.label "minutes">
<!ENTITY leaveOnServer.label "Leave messages on server">
<!ENTITY deleteOnServer.label "Delete messages on server when deleted locally.">
<!ENTITY emptyTrashOnExit.label "Empty Trash on Exit">
<!ENTITY hostname.label "Server Hostname">
<!ENTITY username.label "Your Login Name">
<!-- LOCALIZATION NOTE (popServerTitle.label) : do not translate "POP" in below line -->
<!ENTITY popServerTitle.label "POP Server Information">
<!ENTITY deleteMessagePrefix.label "When I delete a message:">
<!ENTITY modelMoveToTrash.label "Move it to the Trash folder">
<!ENTITY modelMarkDeleted.label "Mark it as deleted">
<!ENTITY modelDeleteImmediately.label "Remove it immediately">
<!-- LOCALIZATION NOTE (expungeOnExit.label) : do not translate two of "&quot;" in below line -->
<!ENTITY expungeOnExit.label "Clean up (&quot;Expunge&quot;) Inbox on Exit.">
<!ENTITY emptyTrashOnExit.label "Empty Trash on Exit.">
<!ENTITY maxMessagesStart.label "Ask me before downloading more than">
<!ENTITY maxMessagesEnd.label "messages.">
<!ENTITY localPath.label "Local directory:">

View File

@@ -0,0 +1,7 @@
<!-- extracted from aw-accname.xul -->
<!ENTITY accnameTitle.label "Account Name">
<!-- LOCALIZATION NOTE (accnameDesc.label) : do not translate any "&quot;" in below line -->
<!ENTITY accnameDesc.label "Enter the name by which you would like to refer to this account. (For example, &quot;WorkAccount&quot;, &quot;Home Account&quot; or &quot;News Account&quot;)">
<!ENTITY accnameExample.label "For example, Work Account, Home Account or News Account">
<!ENTITY accnameLabel.label "Account Name:">

View File

@@ -0,0 +1,10 @@
<!-- extracted from aw-accounttype.xul -->
<!ENTITY accountTypeTitle.label "New Account Setup">
<!ENTITY accountTypeDesc.label "This Wizard will collect the information necessary to setup a new Netscape Mail account. If you do not know the information requested, please contact your System Administrator or Internet Service Provider.">
<!ENTITY accountTypeDirections.label "Select the type of account you would like to setup:">
<!ENTITY accountTypeMail.label "Mail">
<!ENTITY accountTypeNews.label "News">
<!ENTITY accountTypeWebMail.label "Netscape WebMail">
<!ENTITY webMailNew.label "New Account">
<!ENTITY webMailExisting.label "Existing Account">

View File

@@ -0,0 +1,6 @@
<!-- extracted from aw-done.xul -->
<!ENTITY completionTitle.label "Congratulations!">
<!ENTITY completionText.label "You have entered all the information required to set up this account.">
<!ENTITY userNamePrefix.label "User Name:">
<!ENTITY emailPrefix.label "Email Address:">
<!ENTITY setupAnother.label "Click &quot;Set up Another&quot; to save these settings and set up another account.">

View File

@@ -0,0 +1,7 @@
<!-- extracted from aw-email.xul -->
<!ENTITY emailTitle.label "Your Email Address:">
<!ENTITY emailDesc.label "Enter your email address; this is the address otherws will use to send email to you:">
<!-- LOCALIZATION NOTE (emailExample.label) : do not translate "elmer@netscape.net" in below line -->
<!ENTITY emailExample.label "For example: elmer@netscape.net">

View File

@@ -0,0 +1,7 @@
<!-- extracted from aw-fullname.xul -->
<!ENTITY fullnameTitle.label "Your Name:">
<!ENTITY fullnameDesc.label "Enter your name as you would like it to appear in the From field of outgoing messages:">
<!-- LOCALIZATION NOTE (fullnameExample.label) : Use different localized name instead of "Elmer Fudd" -->
<!ENTITY fullnameExample.label "For example: Elmer Fudd">

View File

@@ -0,0 +1,18 @@
<!-- extracted from aw-identity.xul -->
<!ENTITY identityTitle.label "Identity">
<!ENTITY identityDesc.label "Each account can have its own identity, which is the information that identitifies you to others when they receive your messages.">
<!-- LOCALIZATION NOTE (fullnameDesc.label) : do not translate two of "&quot;" in below line -->
<!ENTITY fullnameDesc.label "Enter the name you would like to appear in the &quot;From&quot; field of your outgoing messages.">
<!-- LOCALIZATION NOTE (fullnameExample.label) : use following directions for below line
1, do not translate two of "&quot;"
2, Use localized full name instead of "John Smith"
-->
<!ENTITY fullnameExample.label "(For example, &quot;John Smith&quot;)">
<!ENTITY fullnameLabel.label "Your Name:">
<!ENTITY emailDesc.label "Enter your email address. This is the address others will use to send email to you.">
<!-- LOCALIZATION NOTE (fullnameDesc.label) : do not translate "&quot;test@netscape.net&quot;" in below line -->
<!ENTITY emailExample.label "(For example, &quot;test@netscape.net&quot;)">
<!ENTITY emailLabel.label "Email Address:">

View File

@@ -0,0 +1,15 @@
<!-- extracted from aw-login.xul -->
<!ENTITY loginTitle.label "Name and Password">
<!ENTITY usernameDesc.label "Enter your user name given to you by your email provider.">
<!-- LOCALIZATION NOTE (usernameExample.label) : do not translate "&quot;jsmith&quot;" in below line -->
<!ENTITY usernameExample.label "(for example, &quot;jsmith&quot;)">
<!ENTITY usernameLabel.label "User Name:">
<!ENTITY passwordTitle.label "Password Storage">
<!ENTITY savePasswordDesc.label "Netscape Mail can save your password and send it to the server so that you are not asked for it each time you access this account. This is not recommended if other people have access to your computer.">
<!ENTITY savePasswordLabel.label "If you want Netscape Mail to save your password, check the box below.">
<!ENTITY savePasswordCheckbox.label "Save my password">
<!ENTITY passwordDesc.label "Enter the password given to you by your email provider">
<!ENTITY passwordLabel.label "Password:">

View File

@@ -0,0 +1,8 @@
<!-- extracted from aw-mailtype.xul -->
<!-- LOCALIZATION NOTE (mailTypeTitle.label) : Do not translate "WebMail" in below line. -->
<!ENTITY mailTypeTitle.label "Netscape WebMail or Other Mail:">
<!-- LOCALIZATION NOTE (mailTypeDesc.label) : Do not translate "WebMail" in below line. -->
<!ENTITY mailTypeDesc.label "Select a free Netscape WebMail account or other mail account, such as your ISP or company mail.">
<!ENTITY mailTypeOtherMail.label "Other Mail">

View File

@@ -0,0 +1,22 @@
<!-- extracted from aw-server.xul -->
<!ENTITY serverTitle.label "Server Information">
<!ENTITY incomingServerTitle.label "Incoming Server">
<!ENTITY incomingServerTypeDesc.label "Select the type of incoming server you are using.">
<!ENTITY incomingServerTypeLabel.label "Server Type:">
<!-- LOCALIZATION NOTE (incomingServerNameDesc.label) : Do not translate "&quot;pop.netscape.net&quot;" in below line -->
<!ENTITY incomingServerNameDesc.label "Enter the name of your incoming server. (For example, &quot;pop.netscape.net&quot;)">
<!ENTITY incomingServerLabel.label "Server Name:">
<!-- LOCALIZATION NOTE (smtpServerTitle.label) : Do not translate "SMTP" in below line -->
<!ENTITY smtpServerTitle.label "Outgoing (SMTP) Server">
<!-- LOCALIZATION NOTE (smtpServerDesc.label) : Do not translate "SMTP" and "&quot;smtp.netscape.net&quot;" in below line -->
<!ENTITY smtpServerDesc.label "Enter the name of your outgoing (SMTP) server. (For example, &quot;smtp.netscape.net&quot;)">
<!ENTITY smtpServerLabel.label "Server Name:">
<!-- LOCALIZATION NOTE (imapType.label) : Do not translate "IMAP" in below line -->
<!ENTITY imapType.label "IMAP Mail Server">
<!-- LOCALIZATION NOTE (popType.label) : Do not translate "POP" in below line -->
<!ENTITY popType.label "POP Mail Server">
<!ENTITY nntpType.label "News Server">

View File

@@ -0,0 +1,32 @@
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!ENTITY window.title "Customize Return Receipts">
<!ENTITY pane.title "Customize Return Receipts">
<!-- LOCALIZATION NOTE (sendReceipt.label) : Do not translate "MDN" in below line -->
<!ENTITY sendReceipt.label "When I receive a message and its sender requested a receipt(MDN), send one in the following cases:">
<!ENTITY notInToCc.label "If I'm not in the To or CC list of the message (as for a message to a mailing list):">
<!ENTITY neverSend.label "Never Send">
<!ENTITY automatically.label "Automatically">
<!ENTITY askMe.label "Ask Me">
<!ENTITY outside.label "If the message comes from outside the domain:">
<!ENTITY other.label "In all other cases:">
<!ENTITY ok.label "Ok">
<!ENTITY cancel.label "Cancel">

View File

@@ -0,0 +1,66 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..\..\..\..
include <$(DEPTH)\config\rules.mak>
DISTBROWSER=$(DIST)\bin\chrome\messenger\locale\en-US
install::
$(MAKE_INSTALL) custreceipt.dtd $(DISTBROWSER)
$(MAKE_INSTALL) pref-diskspace.dtd $(DISTBROWSER)
$(MAKE_INSTALL) pref-mailnews.dtd $(DISTBROWSER)
$(MAKE_INSTALL) pref-receipts.dtd $(DISTBROWSER)
$(MAKE_INSTALL) pref-winsetting.dtd $(DISTBROWSER)
$(MAKE_INSTALL) aw-accname.dtd $(DISTBROWSER)
$(MAKE_INSTALL) aw-accounttype.dtd $(DISTBROWSER)
$(MAKE_INSTALL) aw-done.dtd $(DISTBROWSER)
$(MAKE_INSTALL) aw-email.dtd $(DISTBROWSER)
$(MAKE_INSTALL) aw-fullname.dtd $(DISTBROWSER)
$(MAKE_INSTALL) aw-identity.dtd $(DISTBROWSER)
$(MAKE_INSTALL) aw-login.dtd $(DISTBROWSER)
$(MAKE_INSTALL) aw-mailtype.dtd $(DISTBROWSER)
$(MAKE_INSTALL) aw-server.dtd $(DISTBROWSER)
$(MAKE_INSTALL) AccountManager.dtd $(DISTBROWSER)
$(MAKE_INSTALL) AccountWizard.dtd $(DISTBROWSER)
$(MAKE_INSTALL) am-advanced.dtd $(DISTBROWSER)
$(MAKE_INSTALL) am-copies.dtd $(DISTBROWSER)
$(MAKE_INSTALL) am-main.dtd $(DISTBROWSER)
$(MAKE_INSTALL) am-server-top.dtd $(DISTBROWSER)
clobber::
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\custreceipt.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\pref-diskspace.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\pref-mailnews.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\pref-receipts.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\pref-winsetting.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\aw-accname.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\aw-accounttype.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\aw-done.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\aw-email.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\aw-fullname.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\aw-identity.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\aw-login.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\aw-mailtype.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\aw-server.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\AccountManager.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\AccountWizard.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\am-advanced.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\am-copies.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\am-main.dtd
rm -f $(DIST)\bin\chrome\messenger\locale\en-US\am-server-top.dtd

View File

@@ -0,0 +1,41 @@
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!-- LOCALIZATION NOTE pref-diskspace.dtd UI for Mail/News Disk Space prefs -->
<!ENTITY window.title "Disk Space">
<!ENTITY pane.title "Disk Space">
<!ENTITY allMsg.label "All Messages">
<!-- LOCALIZATION NOTE storeMsgLimit.label This string is followed by a number, then by kb.label -->
<!ENTITY storeMsgLimit.label "Do not store messages locally that are larger than">
<!-- LOCALIZATION NOTE autoCompact.label This string is followed by a number, then by kb.label -->
<!ENTITY autoCompact.label "Automatically compact folders when it will save over">
<!ENTITY kb.label " kB">
<!ENTITY newgroupMsgOnly.label " Newsgroup Messages Only">
<!ENTITY whenToClean.label "When it's time to clean up messages:">
<!-- LOCALIZATION NOTE keepMsgs.label This string is followed by a number, then by days.label -->
<!ENTITY keepMsgs.label "Keep messages which have arrived within the past">
<!ENTITY days.label "days">
<!ENTITY keepAllMsg.label "Keep all messages">
<!-- LOCALIZATION NOTE keepTheNewest.label This string is followed by a number, then by messages.label -->
<!ENTITY keepTheNewest.label "Keep the newest">
<!ENTITY messages.label "messages">
<!ENTITY keepUnread.label "Keep only unread messages">
<!-- LOCALIZATION NOTE removeMsg.label This string is followed by a number, then by days.label -->
<!ENTITY removeMsg.label "Remove message bodies only older than">

View File

@@ -0,0 +1,42 @@
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!-- LOCALIZATION NOTE pref-mailnews.dtd UI for Mail/News prefs -->
<!ENTITY window.title "Mail &amp; Newsgroups">
<!ENTITY pane.title "Mail &amp; Newsgroups">
<!ENTITY textBegin.label "Plain quoted text beginning with '>' is displayed with">
<!ENTITY style.label "Style:">
<!ENTITY regular.label "Regular">
<!ENTITY bold.label "Bold">
<!ENTITY italic.label "Italic">
<!ENTITY boldItalic.label "Bold Italic">
<!ENTITY size.label "Size:">
<!ENTITY regular.label "Regular">
<!ENTITY bigger.label "Bigger">
<!ENTITY smaller.label "Smaller">
<!ENTITY color.label "Color:">
<!ENTITY displayWith.label "Display plain text messages and articles with">
<!ENTITY fixedWidth.label "Fixed width font">
<!ENTITY variableWidth.label "Variable width font">
<!ENTITY playSound.label "Play sound when messages arrive">
<!ENTITY rememberLastMsg.label "Remember the last selected message">
<!ENTITY confirmMove.label "Confirm when moving folders to the trash">
<!ENTITY useMessenger.label "Use Netscape Messenger from MAPI-based applications">

View File

@@ -0,0 +1,35 @@
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!-- LOCALIZATION NOTE pref-receipts.dtd UI for Mail/News Return Receipts prefs -->
<!ENTITY window.title "Return Receipts">
<!ENTITY pane.title "Return Receipts">
<!ENTITY requestReceipt.label " If I request a receipt when sending a message, I want">
<!ENTITY dsn.label "A delivery receipt from the receiving server (DSN)">
<!ENTITY mdn.label "A read receipt, notifying me when recipients display the message (MDN)">
<!ENTITY both.label "Both types of receipt">
<!ENTITY receiptArrive.label " When a receipt arrives">
<!ENTITY leaveIt.label "Leave it in my Inbox">
<!-- LOCALIZATION NOTE moveToSent.label Translate 'Sent Mail' according to Netscape glossary -->
<!ENTITY moveToSent.label "Move it to my Sent Mail folder">
<!ENTITY requestMDN.label " When I receive a message and the sender requested a receipt (MDN)">
<!ENTITY returnSome.label "Return receipts for some messages">
<!ENTITY never.label "Never return a receipt">
<!ENTITY custom.label "Customize...">

View File

@@ -0,0 +1,32 @@
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<!-- LOCALIZATION NOTE pref-winsetting.dtd UI for Mail & News Window Settings prefs -->
<!ENTITY window.title "Window Setting">
<!ENTITY pane.title "Window Setting">
<!-- LOCALIZATION NOTE chooseLayout.label Never translate the product name "Messenger" -->
<!ENTITY chooseLayout.label "Choose which layout you prefer for the Messenger window:">
<!ENTITY chooseExp.label "If you prefer fewer windows, unselect these options, and Messenger will open items into existing windows.">
<!ENTITY reuseThread.label "Double-clicking a folder or a newsgroup opens it in a new windowr">
<!ENTITY reuseMessage.label "Double-clicking a message opens it in a new window">
<!ENTITY reuseExp.label "If you prefer fewer windows, unselect these options, and Messenger will open items into existing windows.">
<!ENTITY newsOpt.label "The Newsgroups menu item or button:">
<!ENTITY openMessenger.label "Opens newsgroups in a Messenger window">
<!ENTITY openCenter.label "Opens the Message Center">

View File

@@ -15,11 +15,8 @@
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..\..\..
DIRS= en-US
include <$(DEPTH)\config\rules.mak>

View File

@@ -15,11 +15,8 @@
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..\..
DIRS= skin content locale
DIRS= content locale skin
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,5 @@
div.pageTitle {
font: bolder large;
}

View File

@@ -0,0 +1,23 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is a list of local files which get copied to the chrome\messenger\skin\default directory
#
AccountManager.css
accounttree.css
wizard.css
winclassic.gif
winwide.gif

View File

@@ -0,0 +1,40 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
SAMPLES_DIR = $(DIST)/bin/chrome/messenger/skin/default
EXPORT_RESOURCE_SAMPLES = \
AccountManager.css \
wizard.css \
winclassic.gif \
winwide.gif \
$(NULL)
include $(topsrcdir)/config/rules.mk
GARBAGE += $(addprefix $(SAMPLES_DIR)/, $(EXPORT_RESOURCE_SAMPLES))
install::
$(INSTALL) $(addprefix $(srcdir)/, $(EXPORT_RESOURCE_SAMPLES)) $(SAMPLES_DIR)

View File

@@ -0,0 +1,3 @@
treerow > treecell > titledbutton {
height: 16px;
}

View File

@@ -0,0 +1,34 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..\..\..
include <$(DEPTH)\config\rules.mak>
install::
$(MAKE_INSTALL) accounttree.css $(DIST)\bin\chrome\messenger\skin\default
$(MAKE_INSTALL) AccountManager.css $(DIST)\bin\chrome\messenger\skin\default
$(MAKE_INSTALL) wizard.css $(DIST)\bin\chrome\messenger\skin\default
$(MAKE_INSTALL) winclassic.gif $(DIST)\bin\chrome\messenger\skin\default
$(MAKE_INSTALL) winwide.gif $(DIST)\bin\chrome\messenger\skin\default
clobber::
rm -f $(DIST)\chrome\messenger\skin\default\accounttree.css
rm -f $(DIST)\chrome\messenger\skin\default\wizard.css
rm -f $(DIST)\chrome\messenger\skin\default\winclassic.gif
rm -f $(DIST)\chrome\messenger\skin\default\winwide.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

View File

@@ -0,0 +1,34 @@
/* -*- Mode: CSS; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*/
box.title {
background-color: lightgray;
padding: 5px;
}
div.title {
font-weight: bold;
font-size: large;
}
div.subtitle {
font-weight: bold;
}

View File

@@ -0,0 +1,25 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# This is a list of local files which get copied to the mozilla:dist:mailnews directory
#
msgCore.h
nsIMsgHdr.h
nsMsgFolderFlags.h
nsMsgHeaderMasks.h
nsMsgLocalFolderHdrs.h
nsMsgMessageFlags.h
nsMsgMD5.h

View File

@@ -0,0 +1,37 @@
#
# This is a list of local files which get copied to the mozilla:dist:idl directory
#
nsIMessenger.idl
nsICopyMessageListener.idl
nsICopyMsgStreamListener.idl
nsIFolder.idl
nsIFolderListener.idl
nsIMessage.idl
nsIMessageView.idl
nsIMsgAccount.idl
nsIMsgAccountManager.idl
nsIMsgFolder.idl
nsIMsgFolderCache.idl
nsIMsgFolderCacheElement.idl
nsIMsgGroupRecord.idl
nsIMsgHost.idl
nsIMsgIdentity.idl
nsIMsgIncomingServer.idl
nsIMsgMailSession.idl
nsIMsgMessageService.idl
nsIMsgSignature.idl
nsIMsgThread.idl
nsIMsgVCard.idl
nsIUrlListener.idl
nsIUrlListenerManager.idl
nsIMsgBiffManager.idl
nsIMsgCopyService.idl
nsIMsgCopyServiceListener.idl
nsIMsgStatusFeedback.idl
nsIMsgMailNewsUrl.idl
nsIMsgWindowData.idl
nsIUrlListenerManager.idl
nsIMsgProtocolInfo.idl

View File

@@ -0,0 +1,71 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = msgbase
EXPORTS = \
msgCore.h \
nsIMsgHdr.h \
nsMsgFolderFlags.h \
nsMsgHeaderMasks.h \
nsMsgMessageFlags.h \
nsMsgLocalFolderHdrs.h \
nsMsgMD5.h \
$(NULL)
XPIDLSRCS = \
nsICopyMessageListener.idl \
nsICopyMsgStreamListener.idl \
nsIMessenger.idl \
nsIFolder.idl \
nsIFolderListener.idl \
nsIMessage.idl \
nsIMessageView.idl \
nsIMsgAccount.idl \
nsIMsgAccountManager.idl \
nsIMsgFolder.idl \
nsIMsgFolderCache.idl \
nsIMsgFolderCacheElement.idl \
nsIMsgGroupRecord.idl \
nsIMsgHost.idl \
nsIMsgIdentity.idl \
nsIMsgIncomingServer.idl \
nsIMsgMailSession.idl \
nsIMsgMessageService.idl \
nsIMsgSignature.idl \
nsIMsgThread.idl \
nsIMsgVCard.idl \
nsIUrlListener.idl \
nsIUrlListenerManager.idl \
nsIMsgBiffManager.idl \
nsIMsgCopyService.idl \
nsIMsgCopyServiceListener.idl \
nsIMsgStatusFeedback.idl \
nsIMsgMailNewsUrl.idl \
nsIMsgWindowData.idl \
nsIMsgProtocolInfo.idl \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -0,0 +1,69 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
DEPTH=..\..\..
MODULE=msgbase
XPIDLSRCS = \
.\nsIMessenger.idl \
.\nsICopyMsgStreamListener.idl \
.\nsICopyMessageListener.idl \
.\nsIFolder.idl \
.\nsIFolderListener.idl \
.\nsIMessage.idl \
.\nsIMessageView.idl \
.\nsIMsgAccount.idl \
.\nsIMsgAccountManager.idl \
.\nsIMsgFolder.idl \
.\nsIMsgFolderCache.idl \
.\nsIMsgFolderCacheElement.idl \
.\nsIMsgGroupRecord.idl \
.\nsIMsgHost.idl \
.\nsIMsgIdentity.idl \
.\nsIMsgIncomingServer.idl \
.\nsIMsgMailSession.idl \
.\nsIMsgMessageService.idl \
.\nsIMsgSignature.idl \
.\nsIMsgThread.idl \
.\nsIMsgVCard.idl \
.\nsIUrlListener.idl \
.\nsIMsgBiffManager.idl \
.\nsIMsgCopyService.idl \
.\nsIMsgCopyServiceListener.idl \
.\nsIUrlListenerManager.idl \
.\nsIMsgStatusFeedback.idl \
.\nsIMsgMailNewsUrl.idl \
.\nsIMsgWindowData.idl \
.\nsIMsgProtocolInfo.idl \
$(NULL)
################################################################################
## exports
EXPORTS = \
msgCore.h \
nsMsgFolderFlags.h \
nsMsgHeaderMasks.h \
nsMsgLocalFolderHdrs.h \
nsMsgMessageFlags.h \
nsMsgMD5.h \
nsIMsgHdr.h \
$(NULL)
include <$(DEPTH)\config\rules.mak>
include <$(DEPTH)\config\config.mak>

View File

@@ -0,0 +1,154 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/* Include files we are going to want available to all files....these files include
NSPR, memory, and string header files among others */
#ifndef msgCore_h__
#define msgCore_h__
#include "xp_core.h"
#include "nscore.h"
#include "nsCRT.h"
#include "prmem.h"
#include "plstr.h"
#include "prprf.h"
#include "nsString.h"
#include "nsVoidArray.h"
#include "nsCRT.h"
#include "nsEscape.h"
#include "nsFileSpec.h"
#include "nsTime.h"
class nsIMessage;
class nsIMsgFolder;
// include common interfaces such as the service manager and the repository....
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"
/* NS_ERROR_MODULE_MAILNEWS is defined in mozilla/xpcom/public/nsError.h */
/*
* NS_ERROR macros - use these macros to generate error constants
* to be used by XPCOM interfaces and possibly other useful things
* do not use these macros in your code - declare error macros for
* each specific error you need.
*
* for example:
* #define NS_MSG_ERROR_NO_SUCH_FOLDER NS_MSG_GENERATE_FAILURE(4)
*
*/
/* use these routines to generate error values */
#define NS_MSG_GENERATE_RESULT(severity, value) \
NS_ERROR_GENERATE(severity, NS_ERROR_MODULE_MAILNEWS, value)
#define NS_MSG_GENERATE_SUCCESS(value) \
NS_ERROR_GENERATE_SUCCESS(NS_ERROR_MODULE_MAILNEWS, value)
#define NS_MSG_GENERATE_FAILURE(value) \
NS_ERROR_GENERATE_FAILURE(NS_ERROR_MODULE_MAILNEWS, value)
/* these are shortcuts to generate simple errors with a zero value */
#define NS_MSG_SUCCESS NS_MSG_GENERATE_SUCCESS(0)
#define NS_MSG_FAILURE NS_MSG_GENERATE_FAILURE(0)
// mscott I should look into moving this into raptor base so everyone can use it...
#define IS_SPACE(VAL) \
(((((intn)(VAL)) & 0x7f) == ((intn)(VAL))) && isspace((intn)(VAL)) )
#define IS_DIGIT(i) ((((unsigned int) (i)) > 0x7f) ? (int) 0 : isdigit(i))
#if defined(XP_WIN) || defined(XP_OS2)
#define IS_ALPHA(VAL) (isascii((int)(VAL)) && isalpha((int)(VAL)))
#else
#define IS_ALPHA(VAL) ((((unsigned int) (VAL)) > 0x7f) ? FALSE : isalpha((int)(VAL)))
#endif
/* for retrieving information out of messenger nsresults */
#define NS_IS_MSG_ERROR(err) \
(NS_ERROR_GET_MODULE(err) == NS_ERROR_MODULE_MAILNEWS)
#define NS_MSG_SUCCEEDED(err) \
(NS_IS_MSG_ERROR(err) && NS_SUCCEEDED(err))
#define NS_MSG_FAILED(err) \
(NS_IS_MSG_ERROR(err) && NS_FAILED(err))
/* is this where we define our errors? Obviously, there has to be a central
place so we don't use the same error codes.
*/
#define NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE NS_MSG_GENERATE_FAILURE(5)
#define NS_MSG_ERROR_FOLDER_SUMMARY_MISSING NS_MSG_GENERATE_FAILURE(6)
#define NS_MSG_ERROR_FOLDER_MISSING NS_MSG_GENERATE_FAILURE(7)
#define NS_MSG_MESSAGE_NOT_FOUND NS_MSG_GENERATE_FAILURE(8)
#define NS_MSG_NOT_A_MAIL_FOLDER NS_MSG_GENERATE_FAILURE(9)
#define NS_MSG_FOLDER_BUSY NS_MSG_GENERATE_FAILURE(10)
#define NS_MSG_COULD_NOT_CREATE_DIRECTORY NS_MSG_GENERATE_FAILURE(11)
#define NS_MSG_CANT_CREATE_FOLDER NS_MSG_GENERATE_FAILURE(12)
#define NS_MSG_FILTER_PARSE_ERROR NS_MSG_GENERATE_FAILURE(13)
#define NS_MSG_FOLDER_UNREADABLE NS_MSG_GENERATE_FAILURE(14)
#define NS_MSG_ERROR_WRITING_MAIL_FOLDER NS_MSG_GENERATE_FAILURE(15)
/* ducarroz: error codes for message compose are defined into compose\src\nsMsgComposeStringBundle.h.
Message compose use the same error code space than other mailnews modules. To avoid any
conflict, I reserve values between 12500 and 12999 for it.
*/
#define NS_MSGCOMP_ERROR_BEGIN 12500
#define NS_MSGCOMP_ERROR_END 12999
#define MSG_LINEBREAK NS_LINEBREAK
#define MSG_LINEBREAK_LEN NS_LINEBREAK_LEN
/* mscott - i'm only turning NS_MSG_BASE on for windows so
define it as empty for the other platforms. */
#ifdef XP_WIN
#ifdef _IMPL_NS_MSG_BASE
#define NS_MSG_BASE NS_EXPORT
#else
#define NS_MSG_BASE NS_IMPORT
#endif
#else
#define NS_MSG_BASE
#endif
////////////////////////////////////////////////////////////////////////////////
// Utilities
// mscott: one wouldn't normally have to add the NS_MSG_BASE prefix here
// except this function is implemented in base\util.
nsresult NS_MSG_BASE
nsGetMailFolderSeparator(nsString& result);
////////////////////////////////////////////////////////////////////////////////
#endif

View File

@@ -0,0 +1,37 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISupports.idl"
interface nsIMessage;
interface nsIInputStream;
%{C++
#include "nsIInputStream.h"
%}
[scriptable, uuid(53CA78FE-E231-11d2-8A4D-0060B0FC04D2)]
/* Use this for any object that wants to handle copying/moving messages to it */
interface nsICopyMessageListener : nsISupports
{
void BeginCopy(in nsIMessage message);
void CopyData(in nsIInputStream aIStream, in long aLength);
void EndCopy(in boolean copySucceeded);
};

View File

@@ -0,0 +1,28 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISupports.idl"
#include "nsIMsgFolder.idl"
#include "nsICopyMessageListener.idl"
[scriptable, uuid(7741DAEC-2125-11d3-8A90-0060B0FC04D2)]
interface nsICopyMessageStreamListener: nsISupports
{
void Init(in nsIMsgFolder srcFolder, in nsICopyMessageListener destination, in nsISupports listenerData);
};

View File

@@ -0,0 +1,39 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsICollection.idl"
#include "nsIFolderListener.idl"
[scriptable, uuid(75621650-0fce-11d3-8b49-006008948010)]
interface nsIFolder : nsICollection {
readonly attribute string URI;
attribute wstring name;
attribute wstring prettyName;
nsISupports GetChildNamed(in string name);
attribute nsIFolder parent;
nsIEnumerator GetSubFolders();
readonly attribute boolean hasSubFolders;
void AddFolderListener(in nsIFolderListener listener);
void RemoveFolderListener(in nsIFolderListener listener);
nsIFolder FindSubFolder(in string subFolderName);
};

View File

@@ -0,0 +1,32 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISupports.idl"
interface nsIFolder;
[scriptable, uuid(1c5ef9f0-d1c0-11d2-94CA-006097222B83)] /* XXX regenerate */
interface nsIFolderListener : nsISupports {
void OnItemAdded(in nsIFolder parentFolder, in nsISupports item);
void OnItemRemoved(in nsIFolder parentFolder, in nsISupports item);
void OnItemPropertyChanged(in nsISupports item, in string property, in string oldValue, in string newValue);
void OnItemPropertyFlagChanged(in nsISupports item, in string property, in unsigned long oldFlag,
in unsigned long newFlag);
void OnFolderLoaded(in nsIFolder aFolder);
};

View File

@@ -0,0 +1,35 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsIMsgHdr.idl"
interface nsIMsgFolder;
[scriptable, uuid(5B926BB4-F839-11d2-8A5F-0060B0FC04D2)]
interface nsIMessage : nsIMsgHdr {
nsIMsgFolder GetMsgFolder();
void SetMsgFolder(in nsIMsgFolder folder);
};
[scriptable, uuid(82702556-01A2-11d3-8A69-0060B0FC04D2)]
interface nsIDBMessage : nsIMessage {
void SetMsgDBHdr(in nsIMsgDBHdr hdr);
nsIMsgDBHdr GetMsgDBHdr();
};

View File

@@ -0,0 +1,32 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1999 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISupports.idl"
[scriptable, uuid(14495572-E945-11d2-8A52-0060B0FC04D2)]
/* Use this for any object that wants to handle copying/moving messages to it */
interface nsIMessageView : nsISupports
{
%{C++
enum { eShowAll =0, eShowRead =1, eShowUnread =2 , eShowWatched =3};
%}
attribute unsigned long viewType;
attribute boolean showThreads;
};

View File

@@ -0,0 +1,83 @@
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISupports.idl"
#include "nsrootidl.idl"
#include "domstubs.idl"
#include "xulstubs.idl"
#include "nsIRDFCompositeDataSource.idl"
#include "nsIMsgStatusFeedback.idl"
%{C++
#include "nsIDOMWindow.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMXULElement.h"
%}
interface nsITransactionManager;
[scriptable, uuid(4f7966d0-c14f-11d2-b7f2-00805f05ffa5)]
interface nsIMessenger : nsISupports {
readonly attribute nsITransactionManager transactionManager;
void GetNewMessages(in nsIRDFCompositeDataSource database, in nsIDOMXULElement folder);
void Open3PaneWindow();
void SetWindow(in nsIDOMWindow ptr, in nsIMsgStatusFeedback statusFeedback);
void DoPrint();
void DoPrintPreview();
void DeleteMessages(in nsIDOMXULElement tree, in nsIDOMXULElement srcFolder, in nsIDOMNodeList node);
void DeleteFolders(in nsIRDFCompositeDataSource db, in nsIDOMXULElement parentFolder, in nsIDOMXULElement folder);
void CopyMessages(in nsIRDFCompositeDataSource database, in nsIDOMXULElement srcFolderElement,
in nsIDOMXULElement dstFolderElement, in nsIDOMNodeList messages,
in boolean isMove);
nsISupports GetRDFResourceForMessage(in nsIDOMXULElement tree, in nsIDOMNodeList node);
void OpenURL(in string url);
void Exit();
void Close();
void OnUnload();
void MarkMessagesRead(in nsIRDFCompositeDataSource database, in nsIDOMNodeList messages,
in boolean markRead);
void MarkMessageRead(in nsIRDFCompositeDataSource database, in nsIDOMXULElement message,
in boolean markRead);
void MarkAllMessagesRead(in nsIRDFCompositeDataSource database, in nsIDOMXULElement folder);
void MarkMessagesFlagged(in nsIRDFCompositeDataSource database, in nsIDOMNodeList messages,
in boolean markFlagged);
void MarkMessageFlagged(in nsIRDFCompositeDataSource database, in nsIDOMXULElement message,
in boolean markFlagged);
void NewFolder(in nsIRDFCompositeDataSource database, in nsIDOMXULElement parentFolderElement,
in string name);
void RenameFolder(in nsIRDFCompositeDataSource db,
in nsIDOMXULElement folder, in string name);
void CompactFolder(in nsIRDFCompositeDataSource db, in nsIDOMXULElement folder);
void EmptyTrash(in nsIRDFCompositeDataSource db, in nsIDOMXULElement folder);
void Undo();
void Redo();
void SendUnsentMessages();
void LoadFirstDraft();
void SetDocumentCharset(in wstring characterSet);
void saveAs(in string url, in boolean asFile);
void openAttachment(in string url, in string displayName, in string messageUri);
void forwardMessages(in nsIDOMNodeList messages,
in PRInt32 type);
};

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