Commit Graph

1951 Commits

Author SHA1 Message Date
sspitzer%netscape.com
862031a04c remove CanBeRenamed and CanCreateChildren. In most cases, these weren't
implemented or they were just stubs.  I added CanRename and CanCreateSubfolder
(which follow the naming convention, so we'll keep them) without knowing these were there.  I move over the additional logic for special folders (like INBOX, TRASH, etc) in CanBeRenamed to CanRename, and put the logic in one place, in nsMsgFolder::CanRename(), instead of in multiple places.  thanks to alecf for pointing out that CanBeRenamed and CanCreateChildren were already there.
1999-12-04 19:56:06 +00:00
sspitzer%netscape.com
afe7e4929a fix copy and paste errors: CanRename -> CanFileMessages.
It worked, because for nntp servers, both of those are always false.
fix the rename rules so that folders with no children that can't be
renamed are show, but disabled.  remove the oncommand="" for menu items
that are generated as disabled.
1999-12-04 19:52:03 +00:00
sspitzer%netscape.com
b23dc5defb prevent news servers with no newsgroups from showing up in the "new folder" dialog folder picker 1999-12-04 18:40:24 +00:00
sspitzer%netscape.com
d0750c2a03 since we only do news subscribe (and not imap subscribe)
and we aren't supporting news categories yet,
we can comment out this rule, since only news servers
should appear in the subscribe dialog.
1999-12-04 18:33:14 +00:00
sspitzer%netscape.com
535b06f19f fix for #20798. on preflight the folder picker with valid folders.
also, rename SetTitleButton -> SetFolderPicker.  remove dump statements.
1999-12-04 18:29:05 +00:00
warren%netscape.com
6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
alecf%netscape.com
0461701067 don't acknowledge that we've loaded accounts until after we've garaunteed that the mail.accountmanager.accounts pref exists. This allows us to call LoadAccounts() before the prefs get loaded, without getting stuck in a state where we have no accounts.
r=putterman
helps fix #20607 for bienvenu
1999-12-04 03:02:47 +00:00
alecf%netscape.com
04fd04b90f lazily parse the URI so that we never loose the server information before the account manager can load the prefs.
helps to fix #20607 for bienvenu
r=sspitzer, design discussed w/sspitzer and putterman
1999-12-04 03:00:22 +00:00
sspitzer%netscape.com
4f57d4410e use the new folder picker cascading menus in the "copies and folders" panel of the
account setup dialog.  remove cruft in am-copies.*.
fixes #19400.  r=alecf
1999-12-04 01:43:12 +00:00
sspitzer%netscape.com
32c7c08719 fix warning. 1999-12-03 09:53:26 +00:00
sspitzer%netscape.com
91d20aadc4 fix for #17402, stationary -> stationery.
r=alecf

major fixes for the new folder / rename folder / subscribe dialogs.
we no longer use an html select for the folder picker.
now we use cascading menu popups, like the copy and move menus.
this fixes a lot of bugs, and allows pre-flighting to finally work.

our folder data source has some new properies:
CanFileMessages, CanSubscribe, CanRename, and CanCreateSubfolders
we use these to determine what cascading menu to build, what to disable, etc.

also, nsMessenger::NewFolder() and nsMessenger::RenameFolder() were changes to
take a nsIRDFResource instead of a nsIDOMXULElement.  Before we were
passing through to the back end the selected xul element, now we pass
the resource in.

other cool side effects:
in the copy & move menus, you don't get the choice to file or copy to a server, on folders
in the rename dialog, you can't pick a server, on a folder
in the new folder dialog, you can't pick the imap inbox. (* more needs to be done here.)

bugs fixed: #14773, #14254, #20599, #20646
r=alecf

a couple bullet proofing fixes to prevent some crashes reported on fullcircle
r=bienvenu
1999-12-03 08:10:09 +00:00
jefft%netscape.com
a4a163266a fixed bug 12929 & bug 20415 - imap rename/delete/move folder should reset the connection to authenticated state; imap empty trash didn't delete subfolders; r=bienvenu 1999-12-03 05:59:57 +00:00
alecf%netscape.com
71fc6df33e add a bunch of IDLDoc comments for component testing
no reviewer because these are just comments
1999-12-03 04:46:49 +00:00
alecf%netscape.com
56753538ce fix unicode support for prettyName, #20405
retrieve name from prefs using CopyUnicharPref()
r=sspitzer
1999-12-03 00:10:00 +00:00
alecf%netscape.com
1e90278389 don't load about:blank unless we have to
(no bug, but it makes ctrl-selecting messages faster)
r=scottip
1999-12-02 23:49:12 +00:00
putterman%netscape.com
75409da1eb Fix 20556 and change printf to dump in js. 1999-12-02 23:14:42 +00:00
alecf%netscape.com
649eebb923 oops, forgot to check this file in with my last checkin 1999-12-02 07:25:39 +00:00
mscott%netscape.com
70abcd2170 api synch with uri loader to use nsIURILoaderCommand.
fill out the canHandleContent method to include
all the primary and secondary content types we want the
mail window to handle
r=travis
1999-12-02 07:00:34 +00:00
alecf%netscape.com
df62407466 mail architecture cleanup (no bug - emptying my tree before next week's closure)
- get rid of GetAccountManager call (it's now a service)
- move hacks GetCurrentIdentity and GetCurrentServer into the account manager for now
- eliminate these calls from nsMsgMailSession
- update all call sites (C++ and JS)
r=mscott
1999-12-02 06:59:28 +00:00
alecf%netscape.com
560a14a5da fix for #20405 - change Organization, Identity Name and FullName to be unicode, using new unicode prefs
r=rhp
1999-12-02 03:11:52 +00:00
bienvenu%netscape.com
e008d8acd7 turn back on throbber now that paint problems are fixed 1999-12-02 01:07:38 +00:00
alecf%netscape.com
114da55d72 fix for #20492 - move sender column header into value= attribute instead of floating as a #text node 1999-12-01 22:05:22 +00:00
mscott%netscape.com
7d23985437 stub implementation of AsyncOpen. 1999-12-01 06:17:49 +00:00
sspitzer%netscape.com
9ded57367b fix for #14355, r=alecf.
only show nntp servers in "subscribe" dialog and only show mail servers and mail folders in "new folder" dialog
1999-12-01 03:16:14 +00:00
alecf%netscape.com
18838e8d7e oops, this is a pop3-specific pref. this and the previous checkin r=sspitzer 1999-12-01 00:22:38 +00:00
alecf%netscape.com
7c1ae0d528 add new preference for automatically downloading mail on biff 1999-12-01 00:10:37 +00:00
alecf%netscape.com
6a6372a8e1 fix for #16885 - remove the "Name" heading from the tree
r=sspitzer
1999-12-01 00:06:19 +00:00
sspitzer%netscape.com
483486a073 remove my cheesy dump statements. 1999-11-30 23:15:27 +00:00
sspitzer%netscape.com
45fc16c656 clean up in preparation for bug #14254. remove unused files. create
new string bundle (messenger.properties) for use by the messenger application
fix widgetglue.js to use the string bundle.  now we get the title of the
new folder / subscribe dialog from the string bundle.
also fix the problem where the new folder / subscribe dialog wouldn't open
if zero, or more than one server / folder were selected.
1999-11-30 22:57:42 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
slamm%netscape.com
a5b353c8dd Remove obsolete JavaScript code for the sidebar. r=mcafee 1999-11-30 03:03:20 +00:00
slamm%netscape.com
065f184c9f Add persistence for state of folder splitter. Remove persistence
for sidebar-splitter (sidebarOverlay.xul handles it.) r=mcafee
1999-11-30 03:03:13 +00:00
hangas%netscape.com
be1b60400d Fix for 18018, mail prefs messed up. r=davidm 1999-11-29 21:38:32 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
mscott%netscape.com
78d8686508 Bug #19955 --> QueryInterface was going to the RDFResource base class
if it couldn't handle it. It should go to nsMsgFolder which is the next class in the hierarchy.
r=alecf
1999-11-24 00:39:26 +00:00
jefft%netscape.com
9ddf019857 fixed bug 10801 -- failed to save messages as templates; stationary folder is now per identity; r=putterman 1999-11-23 22:19:48 +00:00
alecf%netscape.com
2f3a8d8084 fixing spelling error in dtd (no reviewer necessary) 1999-11-23 21:50:19 +00:00
mscott%netscape.com
4227a77d40 Bug #1966 --> be safe...when you get an OnStopRunningUrl,
remove yourself as a url listener because you don't care anymore.
r=rhp
1999-11-22 23:32:48 +00:00
mscott%netscape.com
393f615edb Bug #19166 --> pull a 180 and reverse the ref counting
model for url listeners. The manager now uses an
nsIsupportsArray to keep references to all of the url listeners.
However, in order to prevent circular references (which is
why I was using a nsVoidArray before), when we issue the on stop
call to a url listener, we automatically release our ref
to that object.
r=rhp
1999-11-22 23:32:13 +00:00
putterman%netscape.com
e71f346f0f Work on making folder pane look like spec. Fixes 17841. Reviewed by alecf. 1999-11-22 22:08:23 +00:00
jefft%netscape.com
8efa7d5934 fixed bug 8889 - cannot post messages with attachments to the news server; rv=mscott; Added base PostMessage() method to remove duplicate code in smtp and nntp protocol 1999-11-22 14:41:20 +00:00
jefft%netscape.com
ae911c42cc fixed bug 17765 - Rename not implemented for Pop3, bug 19097 -- copying messages cause corrupted messages if the message size is greater than 4 k; r=putterman; added new method AddSubfolder() 1999-11-19 14:35:31 +00:00
jefft%netscape.com
e2336552b7 fixed bug 17765 - Rename not implemented for Pop3, bug 19097 -- copying messages cause corrupted messages if the message size is greater than 4 k; r=putterman; clear tree selection item when rename 1999-11-19 14:34:55 +00:00
buster%netscape.com
fdbc16704a bug 12022, r=rickg 1999-11-19 08:26:56 +00:00
alecf%netscape.com
b67dd8b1d2 fix regression #19239
form widget "types" changed to be leading-letter capitalized, which busted the heck out of everything.
couldn't find a reviewer, but this has to be fixed for tomorrow
r=me
1999-11-19 03:37:10 +00:00
mscott%netscape.com
fd3dd747da uri dispatching tweak...doContent shouldn't explictly check for message/rfc822
r=sspitzer
1999-11-18 08:59:53 +00:00
mscott%netscape.com
25621eedb1 Bug #14928 --> uri dispatching intial landing. when a mail window comes up, we need to register ourselves
with the uri loader.

The mail window is also a nsIURIContentListener. Implement this interface such that doContent requests
are forwarded to the webshell for our message.
r=sspitzer
1999-11-18 07:47:52 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
putterman%netscape.com
0b1644bae6 Fixes various message count updating bugs. reviewed by bienvenu. 1999-11-18 04:31:01 +00:00
hangas%netscape.com
28e7445770 Fixes for selection bug 19011 and sidebar resize bug 18742. r=ducarroz 1999-11-18 02:45:38 +00:00
bienvenu%netscape.com
1553bd082f only send change notification for pending filtered messages if the count changed - performance tweak 1999-11-18 02:36:22 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
putterman%netscape.com
2062b04715 Fixes leak. reviewed by bienvenu. 1999-11-17 00:52:16 +00:00
putterman%netscape.com
69be334452 Fixed icons in folder pane. 1999-11-16 23:52:20 +00:00
putterman%netscape.com
7e7ccfe04c Partial fix for 18742. You can now move the sidebar splitter, Thanks to slamm for the fix.
Also some other skin changes to fix some icons and don't make news show up in copy and move menu.
1999-11-16 23:33:35 +00:00
sspitzer%netscape.com
6df92f4ebf fix for #18999, r=putterman
gracefully handle migration if the user used movemail (unix only) in 4.x
wrap all the movemail code with #defines, it is not needed on non-unix
platforms.  movemail is still not supported, but at least now migration
(of bookmarks and cookies) doesn't fail, and you can see your old mail
in 5.0.
1999-11-16 22:54:58 +00:00
sspitzer%netscape.com
7962f1f036 fix warning. 1999-11-16 19:24:35 +00:00
hangas%netscape.com
344df71cb3 Added some user-focus styles following saari's focus checkins, r=saari. Fixed 17947, 17780, 16483, 16601 which were related to focus issues. Some New Skin adjustments (menu color and 15219), r=german 1999-11-16 01:21:22 +00:00
putterman%netscape.com
ac218be14f Fix potential crash from last checkins that might occur when shutting down without
having run mailnews.
1999-11-14 22:03:24 +00:00
putterman%netscape.com
46acd7660f Fix for 17712. Reviewed by bienvenu and alecf. Mailnews shuts down accounts, biff,
and folders properly as an xpcom shutdown observer.
1999-11-14 20:36:22 +00:00
hangas%netscape.com
078a98078c New Skin update (changed mail and AB windows to have visible representation of focus on trees). Fixed bug 16459 (clear card view pane on change of selection in AB). r=scottip 1999-11-12 02:41:50 +00:00
dp%netscape.com
7529298eaf Converted using nsIShutdownListener to xpcom shutdown observer. r=putterman 1999-11-12 01:28:58 +00:00
nhotta%netscape.com
a079345422 Changed to resolve charset alias before unicode conversion, made charset name to case sensitive, consolidated conversion wrapper functions, bug 18264,
r=ftang.
1999-11-11 22:05:10 +00:00
putterman%netscape.com
f27e2cdda5 Fix for 18244. Don't load messages if splitter between thread and message pane is collapsed.
reviewed by hangas.
1999-11-11 20:24:46 +00:00
putterman%netscape.com
2fcd557421 added nsIIncomingServerListener.idl 1999-11-11 00:27:10 +00:00
putterman%netscape.com
be5ef21057 Work on 17712 to add incoming server listeners and hook biff up to them. Reviewed by alecf and bienvenu. 1999-11-11 00:26:02 +00:00
putterman%netscape.com
6e2681b12f Work on 17712 to add incoming server listeners and hook biff up to them. Reviewed by alecf. 1999-11-11 00:25:19 +00:00
putterman%netscape.com
38dfa802ce Work on 12846 for making message threads work. Reviewed by bienvenu. 1999-11-11 00:23:29 +00:00
sspitzer%netscape.com
1ad9b6ee38 check in patch from cls@seawood.org
add comment.
1999-11-10 23:53:40 +00:00
ducarroz%netscape.com
0ad0bd5338 Fix for bug 18402, don't use AutoCString when need to deal with a UTF8 string (nsMsgCompose.cpp only). Fix for bug 13261, use constants instead of numerical. Cleanup Forward code, eliminate duplicate or dead code (in prep. for bug 15682) 1999-11-10 23:47:59 +00:00
bienvenu%netscape.com
aa3a3fd5e0 move folder cache to account mgr, per alecf, fix pending counts r=jefft 1999-11-10 00:41:52 +00:00
sspitzer%netscape.com
2e52cce533 fix for #18260, r=mscott. if we had a pop server in 4.x, upon migration, set
the send later uri pref to the "Unsent Messages" folder under that pop account.
1999-11-10 00:12:08 +00:00
bienvenu%netscape.com
b08313a370 write out folder cache on messenger bootstrap shutdown a=chofmann,r=rhp 18306 1999-11-09 03:19:01 +00:00
sspitzer%netscape.com
099b44e300 fix for #18128, r=alecf, a=chofmann
fix the broken icon.
1999-11-09 02:54:00 +00:00
sspitzer%netscape.com
94be527586 fix for #17956, a=chofmann. fix by ducarroz, r=sspitzer 1999-11-09 02:07:58 +00:00
hangas%netscape.com
b7b5c6ab82 Hacked Undo/Redo menus to always appear enabled. This is a work-around for the issue where menus steal focus and therefore break command updating. r=sspitzer a=chofmann 1999-11-09 02:07:40 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
sspitzer%netscape.com
7a5278d0a4 fix for #18064, r=alecf, a=choffman.
only create the local mail account if the user migrates from imap, or if the
user creates an imap server and they don't have a local mail account.
1999-11-06 01:22:28 +00:00
putterman%netscape.com
0deb880497 Workaround for 18088. make delete toolbar button work for thread pane. reviewed by
hangas approved by chofmann.
1999-11-05 22:21:41 +00:00
jefft%netscape.com
5d9420b596 fixed bug 17928 - undo is not working for thread pane; this is the backend fix of the problem; creating TransactionManager in nsMsgWindow instead of in nsMessenger; r=bienvenu,a=chofmann 1999-11-05 05:23:15 +00:00
hangas%netscape.com
9c3cc4d4d2 Command updating and dispatching changes for menu items. Fixes 17848. r=hyatt, a=chofmann 1999-11-05 02:21:47 +00:00
sspitzer%netscape.com
e297d950f4 fix warning and fix bug #18036, r=bienvenu, a=chofmann.
prevent the infinite loop when applying filters to mail if a filter
rule uses an arbitrary header.
1999-11-05 01:58:03 +00:00
putterman%netscape.com
f4dcdcb263 Fix for 17987. Approved by chofmann and reviewed by hangas. 1999-11-04 19:38:11 +00:00
hangas%netscape.com
6978081f5a Fix for bug 16189, which allows undo/redo to be used in the thread pane of mail/news. r-jefft a=chofmann 1999-11-03 23:03:12 +00:00
alecf%netscape.com
25b6456d26 fix for blocker #17882
a=leaf
1999-11-03 19:47:17 +00:00
gagan%netscape.com
df88140573 Modified the call to match the new signature of CreateTransport. a=mcafee. 1999-11-03 08:52:04 +00:00
alecf%netscape.com
7d18669d38 add open="true" to all the account
r=scottip
no bug, it's cosmetic/usability thing
1999-11-03 07:33:08 +00:00
alecf%netscape.com
5b487df4b2 fix for #17214 - consolidate all username and hostname handling so that escaping/unescaping happens logically 1999-11-03 07:16:59 +00:00
putterman%netscape.com
583ded277a return rv instead of NS_OK so that we only return null targets with NS_RDF_NO_VALUE.
This stops a bunch of assertions.  reviewed by alecf.
1999-11-03 07:09:56 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
bienvenu%netscape.com
e29f314bcf fix build warnings, r=putterman, add cancel method to protocol r=mscott 1999-11-03 03:16:26 +00:00
alecf%netscape.com
028ecead8e fix message datasource so it doesn't return an error back to RDF
partial fix for #17811
r=putterman
1999-11-03 01:38:54 +00:00
bienvenu%netscape.com
5cb10311c3 turn meteors back off, per mscott's request and review 1999-11-02 23:46:54 +00:00
bienvenu%netscape.com
fbbac1c0dc more work to hook up stop button, r=mscott 17743 1999-11-02 21:36:59 +00:00
cata%netscape.com
d51644d159 Fixing typo in dtd file. Checkin for momoi, r=cata, bug=17018. 1999-11-02 21:27:02 +00:00
hangas%netscape.com
26fbbb140d Progress on Command Updating and Dispatching (15127). r=scottip 1999-11-02 03:55:59 +00:00
bienvenu%netscape.com
21d54004e2 add code for hooking up stop button,r=putterman 12016 1999-11-02 03:34:45 +00:00
alecf%netscape.com
e35216913e fix twisties in the thread pane and account manager by responding to GetTarget() along the child arcs like #child and #MessageChild bug #13551
r=scottip
1999-11-01 21:46:07 +00:00
bienvenu%netscape.com
10e0f64b8b add support for pending counts for imap folders r=mscott 1999-11-01 01:06:29 +00:00
mscott%netscape.com
2c586468ca remove shut down listener stuff.
r=bienvenu
1999-11-01 00:57:49 +00:00