Граф коммитов

875 Коммитов

Автор SHA1 Сообщение Дата
tao%netscape.com 2e9ff94d6d Add da-DK property file. 1999-09-22 02:34:41 +00:00
alecf%netscape.com d43c79c0ac turn the password back into an attribute so I can access it from HTML forms.
Created new GetPasswordWithUI which is the equivalent of getpassword(PR_TRUE..)
1999-09-22 02:21:18 +00:00
mscott%netscape.com ca358dd20f Bug #6651 --> Add lots of alert and status information from the server
for pop. this includes status messages in the status bar and alert
notifications in the form of alert dialogs.
1999-09-21 22:27:33 +00:00
mscott%netscape.com b5697257e6 Bug #6651 --> add status and warning strings for various pop conditions. 1999-09-21 22:23:00 +00:00
mscott%netscape.com 8df9187c8b Fix a crash when running a local mail filter --> if you moved the message and then had another filter fire
after we moved the message we would crash.
1999-09-21 21:04:43 +00:00
sspitzer%netscape.com d6d4a73c40 fix warning 1999-09-21 20:25:46 +00:00
sspitzer%netscape.com 2495efd606 fix for #14361. always give the users a "Local Mail" account.
also, added the CreateDefaultMailboxes() method to the  nsINoIncomingServer and nsIPop3IncomingServer
interfaces
1999-09-21 01:29:01 +00:00
chjung%netscape.com 10165399e6 [chjung 990920] add localization notes 1999-09-21 01:00:29 +00:00
tao%netscape.com 2be5806283 14379: [L12y] PLS remove locale name (en-US) from the localMsgs.properties. 1999-09-21 00:59:50 +00:00
jefft%netscape.com 84dfe791cf fixed linux build warning 1999-09-20 21:04:12 +00:00
mccabe%netscape.com 39e5fe6519 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
alecf%netscape.com fc98ec7e24 implement mapping from server.type to IID 1999-09-17 23:59:51 +00:00
putterman%netscape.com 61f529773f more performance work for loading folders without .msf files or that have to have
headers downloaded.
1999-09-17 23:12:44 +00:00
alecf%netscape.com 391c2570a4 fix stupid linkage 1999-09-17 21:17:47 +00:00
mscott%netscape.com b1bb0349f1 remove unwanted class id. 1999-09-17 20:13:23 +00:00
mscott%netscape.com c297cc21e6 Bug #14114 --> when downloading new messages, if we can't create
a mailbox parser, don't abort the download, just don't use the parser
this happens when you try to get new messages for an inbox we don't
have a mail summary file for. We can still add the new messages
to the berkley mail folder...
1999-09-17 20:12:58 +00:00
sspitzer%netscape.com 5ea55a94a3 this is a nsresult, not NS_IMETHODIMP. look at the header file.
it probably doesn't matter.
1999-09-17 10:16:41 +00:00
putterman%netscape.com ba1a07b865 Remove timing code. 1999-09-16 21:09:32 +00:00
putterman%netscape.com c10a4e7a34 Call NotifyFolderLoaded when reading in db. 1999-09-16 21:09:14 +00:00
ducarroz%netscape.com 8f7fd6550f need to return the right result value. Fix for bug 13891 1999-09-16 19:23:25 +00:00
cls%seawood.org 71540cf2cd Remove unnecessary -D_BSD_SOURCE now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 14:50:19 +00:00
sspitzer%netscape.com aa26ca504b make these interfaces scriptable. need to get at them from js. 1999-09-16 02:45:34 +00:00
jefft%netscape.com b4ab87403d fixed bug 13574 -- use stream converter instead of temp file for reply quoting 1999-09-15 02:13:04 +00:00
bienvenu%netscape.com c1e85db743 add folder loaded notifications 1999-09-15 00:59:03 +00:00
briano%netscape.com 88b33233c5 General cleanup. 1999-09-15 00:02:25 +00:00
mscott%netscape.com 5ad6c9859e Part of Bug #13777. Fix a bug whre if you mistyped your password, then hit cancel
we would bring up another passwod dialog. you had to hit cancel again before it really canceled.
1999-09-14 22:30:40 +00:00
sspitzer%netscape.com 6635afe029 check the return values when calling SetDefaultLocalPath(). mail.root.pop wasn't getting set when migrating a profile that used pop. it was caused by a simple cut and paste error. 1999-09-14 12:08:02 +00:00
sspitzer%netscape.com 7f0b89ada5 clean up my comment 1999-09-14 11:37:07 +00:00
sspitzer%netscape.com a7d5147cc2 there is no nsNoService, so in the MsgLocalFactory, we
registered the nsPop3Service with both
"component://netscape/messenger/protocol/info;type=none"
"component://netscape/messenger/protocol/info;type=pop3"
on disk, both roots (mail.root.none and mail.root.pop3)
should point to <profile>/Mail or "mail.directory"
so we set both here to the same value
1999-09-14 11:36:10 +00:00
sspitzer%netscape.com fefd57f6a4 when you get the default local path, and it wasn't set, and you make one up, you need to set it so the pref will get set. 1999-09-14 08:32:58 +00:00
sspitzer%netscape.com 9f18016a52 don't override GetPrettyName in nsNoIncomingServer. I was being silly. All I really needed to do was call SetPrettyName with 'Local Mail' to get the desired effect. 1999-09-14 05:10:53 +00:00
bienvenu%netscape.com 6a4ee199f9 break out UpdateFolder method from GetMessages 1999-09-14 04:02:34 +00:00
sspitzer%netscape.com 1a17a2ae0e make the defaultLocalPath attribute of the nsIMsgProtocolInfo interface NOT read only. when we do pref migration, I have to call the setter (which will set the pref for me) 1999-09-14 03:16:02 +00:00
alecf%netscape.com c365d15cd1 don't need to depend on nsMsgBaseCID.h anymore 1999-09-14 00:10:29 +00:00
alecf%netscape.com b5740f8b01 also implement "none" protocol info 1999-09-14 00:04:09 +00:00
alecf%netscape.com 88e2ce16cd register pop3service as a protocolinfo 1999-09-14 00:01:57 +00:00
alecf%netscape.com f9dcc256a4 implement the new nsIMsgProtocolInfo in nsPop3Service 1999-09-13 23:04:24 +00:00
cls%seawood.org 638ed48925 Fix my bustage using -D_BSD_SOURCE 1999-09-12 17:15:57 +00:00
mscott%netscape.com 2c9734da18 fix solaris breakage which doesn't like enums in ?: notation. 1999-09-12 07:05:08 +00:00
mscott%netscape.com 74ca1bea15 Move save to disk related method to nsIMsgMessageUrl. 1999-09-12 05:09:33 +00:00
mscott%netscape.com 40eb2a0674 Bug #10933 displaying a message no longer involves spooling to a temp file! *yeah* 1999-09-12 05:08:50 +00:00
mscott%netscape.com bb71e5ea50 Bug #10933 --> displaying a message no longer involves spooling to a temp file! *yeah*
unify copy listener with channel listener.
1999-09-12 05:08:33 +00:00
mscott%netscape.com eda04ac3b5 Bug #10933 --> displaying a message no longer involves spooling to a temp file! *yeah*
Run mailbox display urls through the webshell.
1999-09-12 05:07:59 +00:00
mscott%netscape.com 39e06a0ecc register as mailboxMessage protocol handler. 1999-09-12 05:07:23 +00:00
warren%netscape.com e6619b2ad6 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
sspitzer%netscape.com a46fde7e27 do some clean up in preperation of migrating the fcc prefs. (for bug #10583)
change the newsrcFilePath attribute to be a nsIFileSpec, instead of a string.(bug #13306)
add code to do hashing of hostname. [not turned on yet].  (for bug #13480)
remove the obsolete GetRootFolderPath() code from the incoming servers.
1999-09-09 21:17:32 +00:00
arielb%rice.edu feb8ed5306 spamming mailnews/local with NS_DECL_IFOO's 1999-09-09 07:20:19 +00:00
putterman%netscape.com 12c6995ea0 don't use ToNewCString in this case. 1999-09-09 06:20:04 +00:00
bienvenu%netscape.com 3ac2f5c273 fix memory leaks of string bundles 1999-09-09 05:29:28 +00:00
alecf%netscape.com 8b5d86135c change nsIMsgIncomingServer->SetLocalPath/GetLocalPath to be an nsIFileSpec instead of a string 1999-09-09 04:11:38 +00:00
jefft%netscape.com f9611c517f always want the dummy envelope header when save message to the disk 1999-09-08 20:34:12 +00:00
alecf%netscape.com 7bb58a391a change from XP_ASSERT to PR_ASSERT 1999-09-08 06:32:47 +00:00
alecf%netscape.com aaa6c54300 switch to using PR_TRUE/PR_FALSE and nsCRT string routines 1999-09-08 03:19:49 +00:00
mscott%netscape.com 0402910a16 Bug #12988 --> always clear the server busy flag regardless of whether an error occurred or if we succeeded. 1999-09-05 01:21:08 +00:00
sspitzer%netscape.com 327da38427 fix my weird code. 1999-09-03 06:56:42 +00:00
briano%netscape.com 98949485c0 Fix for objdir builds. 1999-09-02 02:37:58 +00:00
sspitzer%netscape.com c6ce2d592d fix VC 5.0 build bustage. bad code, strict compilers are your friends. 1999-09-01 07:03:04 +00:00
sspitzer%netscape.com 5ee30e7813 changes to support the new "none" incoming server type.
divorce "pop3" from local mail.  (more to be done here).
general code clean up.
fix #12873 and #12801
1999-09-01 06:08:19 +00:00
sspitzer%netscape.com 905883c280 added files: mozilla/mailnews/local/public/nsINoIncomingServer.idl 1999-09-01 06:06:59 +00:00
sspitzer%netscape.com 43b889ce9c added files: mozilla/mailnews/local/src/nsNoIncomingServer.cpp 1999-09-01 06:06:45 +00:00
sspitzer%netscape.com 6f3817c9a5 adding new files for the "none" server, which is used 4.x style "Local Mail" when using IMAP. 1999-09-01 04:43:41 +00:00
mscott%netscape.com 4aa8c8a125 Bug #8076/9836 --> use specialDirectory::OS_TemporaryDirectory to determine the directory to write tempMessage.eml out to. 1999-09-01 04:09:07 +00:00
cyeh%netscape.com cc2825cbe0 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
ramiro%netscape.com 411c10dc89 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
mcafee%netscape.com ec731f1185 Fixing solaris bustage. 1999-08-31 10:59:48 +00:00
mscott%netscape.com be68e722a4 Bug #11895 --> add protection for preventing multiple get new message calls on the same server.
Don't run pop urls if the server is already busy.
1999-08-31 06:53:26 +00:00
mscott%netscape.com 19c64fcfdc get password api synch 1999-08-31 04:40:38 +00:00
mscott%netscape.com 36c03921d2 remove over-ride of set/get password. Password knowledge has been centralized
move get password logic out to a common base class (nsMsgIncomingServer)
1999-08-31 04:40:14 +00:00
putterman%netscape.com 567160bb98 msgbaseutil.dll isn't 8.3 so change to msgbsutl.dll 1999-08-30 22:17:13 +00:00
mscott%netscape.com 340241e7ae Change a PL_strdup to nsCRT::strdup 1999-08-30 21:55:26 +00:00
mscott%netscape.com ac7c3e4790 Bug #11691 --> fix some empty comparisons with a PRUint32 < 0. 1999-08-30 21:55:03 +00:00
putterman%netscape.com 3aed484bb4 Only Top level folders are special folders. 1999-08-27 03:50:20 +00:00
rpotts%netscape.com 3ed5c99db2 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
bienvenu%netscape.com 57247bc224 replace nsIEnumerator with nsISimpleEnumerator 1999-08-26 04:41:07 +00:00
mscott%netscape.com 19ccc6552b Bug #10844 hook up progress bar for getting new mail. This is just a first pass. I still have a ways to go. 1999-08-25 23:50:18 +00:00
mscott%netscape.com 0a35fe6d0b Bug #10844 --> set status feedback on pop urls 1999-08-25 23:49:39 +00:00
mscott%netscape.com ae301b7621 nsString updates --> nsString(eOneByte) --> nsCString 1999-08-25 23:47:05 +00:00
mscott%netscape.com d795b84697 Add a new string. 1999-08-25 23:46:42 +00:00
mscott%netscape.com 16eed2c11f nsString updates --> nsString(eOneByte) --> nsCString.
Remove windows.h include as it is not necessary anymore.
1999-08-25 23:46:18 +00:00
ramiro%netscape.com 6cec5c3abb Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
ramiro%netscape.com 8644dc2074 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
brendan%mozilla.org bbe959f4d1 Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
putterman%netscape.com 1330388a0d Add timing for parsing mailbox. 1999-08-24 21:50:44 +00:00
ramiro%netscape.com e1f2489b0c Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
bienvenu%netscape.com 5bb66947b0 get rid of DOING_FILTERS #define 1999-08-24 04:23:31 +00:00
mccabe%netscape.com 3d4917b628 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mscott%netscape.com 0745b35425 Add more status lines. 1999-08-22 23:02:45 +00:00
mccabe%netscape.com 2290033202 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
ramiro%netscape.com 1d23cab69b Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
ramiro%netscape.com 16bbd09726 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
ramiro%netscape.com b8c008dcae Ignore generated files. 1999-08-21 12:14:23 +00:00
alecf%netscape.com 220dae3e90 stop using mDepth, use IsServer instead 1999-08-21 01:01:10 +00:00
putterman%netscape.com 3369c0b335 Only use base GetPrettyName instead of LocalMail. 1999-08-20 22:49:04 +00:00
alecf%netscape.com 5c30f001ab oops, we were calling the wrong superclass 1999-08-20 22:42:05 +00:00
mscott%netscape.com 896c902834 Back out alecf's changes to fix local mail folder expansion. This is for QA Blocker Bug #12207. a=cyeh 1999-08-20 17:58:31 +00:00
alecf%netscape.com 95a5530c1b fix reloading of accounts by precaching each folder's path
(this prevents GetPath from calling nsLocalURI2Path, which reloads the accountmanager)
1999-08-20 07:23:20 +00:00
alecf%netscape.com 4cda7fef1a move CIDs and ProgIDs into nsMsgLocalCID.h 1999-08-20 03:20:54 +00:00
mscott%netscape.com 47230eef59 Bug #10844 hook up progress bar for parsing mailbox folders 1999-08-20 03:16:12 +00:00
mscott%netscape.com 86287cf931 Set the msg status feedback object on all mailbox urls. for now, get them from the mail session. Eventually we'll
get this in from the data source.
1999-08-20 03:14:40 +00:00
mscott%netscape.com fe7e1a24d7 Export string bundle. 1999-08-20 02:46:41 +00:00
mscott%netscape.com d6e736d247 build string bundle class for local. 1999-08-20 02:46:03 +00:00
mscott%netscape.com c17441cf57 build local string bundle. 1999-08-20 02:36:25 +00:00
mscott%netscape.com a53ffec703 Build the new locale directory. 1999-08-20 02:35:10 +00:00
mscott%netscape.com 0be7c726d9 Add local string bundle. Note: I haven't checked in the makefile changes to build these yet. 1999-08-19 06:57:49 +00:00
mscott%netscape.com 1380af5cfb cvs ignore file. 1999-08-19 06:24:11 +00:00
mscott%netscape.com 65ea64ce87 export the local properties file. 1999-08-19 06:23:21 +00:00
mscott%netscape.com 0894663c2d Properties file for local mail strings. 1999-08-19 06:22:40 +00:00
mscott%netscape.com 2b91637b85 Adding to the repository. Makefiles for the locale\en-US directory for local mail. 1999-08-19 06:21:59 +00:00
mscott%netscape.com c5a53ffd70 Adding to CVS. 1999-08-19 06:21:24 +00:00
mscott%netscape.com f4846b899f Bug #11980 --> fix a crash after entering a bogus password for pop. 1999-08-19 06:20:19 +00:00
bienvenu%netscape.com 5e47f3353d add RemoveSubFolder for Jefft 1999-08-18 05:35:54 +00:00
ramiro%netscape.com 0e1b8a922a Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com 0149d76208 Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
warren%netscape.com 8439e8f8ec Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
mscott%netscape.com 892adb1d17 This file has been gathering dust! it's been an idl file for a while...remove it from the repository. 1999-08-11 00:16:31 +00:00
mscott%netscape.com 938c396631 These files are all idl files and have been lying around gathering dust. removing them. 1999-08-11 00:15:26 +00:00
mscott%netscape.com 7816181f44 Fix for Bug #11470 --> when prompting the user for a password (when getting new mail for pop), let's gracefully abort
the operation if the user hits cancel.
1999-08-10 23:08:50 +00:00
hangas%netscape.com 519b117863 Removed two .h files that were copied the old way rather than built in the idl project. 1999-08-10 22:32:14 +00:00
hangas%netscape.com eaf2a04539 Added two more idl files. 1999-08-10 22:31:38 +00:00
putterman%netscape.com 00744c3185 Set depth correctly for folders. 1999-08-10 21:44:58 +00:00
hangas%netscape.com 74e0ea08a8 Fixing build bustage. 1999-08-10 19:58:18 +00:00
mscott%netscape.com cc92ba6e4e Very strange...it looks like we were exporting an obsolete pop3url header file on the mac which was over-writing the generated
XPIDL version.
1999-08-10 19:55:12 +00:00
mscott%netscape.com 82c4b7d770 Override get and set password methods from base class. 1999-08-10 18:16:44 +00:00
mscott%netscape.com 6d1ff4a666 set user name on pop urls. remove code to read in password as we don't do that anymore.
Fix for Bug # .
1999-08-10 18:16:13 +00:00
mscott%netscape.com 2df37f3ca1 add set user name support. 1999-08-10 18:15:18 +00:00
mscott%netscape.com 5020458eac add SetuserName support 1999-08-10 18:10:45 +00:00
mccabe%netscape.com d6e7410f31 Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
mscott%netscape.com 03dc2b9491 Add GetUserName support which is a private method on nsMsgMailNewsUrl and is not part of an interface. 1999-08-10 07:22:03 +00:00
alecf%netscape.com 359a8a0d36 clean up folder and server naming:
- prettyName is now a unicode string and lives in nsIFolder
- servers now have the automatic pretty name of "userid on servername" and can be overridden
- name consolidation is complete
1999-08-10 04:39:22 +00:00
alecf%netscape.com 6616604439 fixing uninitialized variables 1999-08-10 04:04:28 +00:00
alecf%netscape.com 9bf5208f00 we don't need nsLocalURI2Name anymore, because this is done in base 1999-08-10 00:51:45 +00:00
alecf%netscape.com 9a208a1c0d get rid of local mail's implementation of GetName 1999-08-10 00:47:07 +00:00
alecf%netscape.com f5319121ed reorder member variables to match constructor 1999-08-09 22:47:53 +00:00
bienvenu%netscape.com 1fbc89021a get rid of nsString2 1999-08-07 15:47:55 +00:00
bienvenu%netscape.com c37066a62f one more try - fix build bustage 1999-08-07 03:17:47 +00:00
bienvenu%netscape.com a5e36c0993 fix build bustage 1999-08-07 02:57:43 +00:00
mscott%netscape.com 35272e820b Turn on prompt for password dialog when you try to get new mail. We no longer read it out of the prefs. 1999-08-07 00:42:16 +00:00
bienvenu%netscape.com 62b0f56764 add explicit includes to prepare for idl cleanup 1999-08-06 17:45:38 +00:00
bienvenu%netscape.com 4485504e21 new paramater to selectFolder 1999-08-05 23:27:10 +00:00
sspitzer%netscape.com f2d9379a60 use /tmp instead of /usr/tmp. /tmp should always be there, where /usr/tmp will not be. eventually, this will go away anyways. 1999-08-05 22:43:15 +00:00
mscott%netscape.com 1cce7362d3 Work around for necko problem. After reading a file, necko returns NS_BINDING_ABORTED which is defined as an error code.
It really should be defined as success. I'm redefining the return code to NS_OK if NS_BINDING_ABORTED is returned until
necko can fix this.
1999-08-05 22:17:52 +00:00
mscott%netscape.com b301f7cbaf Changes for:
nsString(eOneByte) --> nsCString
nsString(eTwoByte) nsString
nsString2 --> nsString
1999-08-05 04:28:28 +00:00
sspitzer%netscape.com 19d5cfb592 fix warnings. add newline to the end of file for crappy unix compilers 1999-08-04 20:40:23 +00:00
mscott%netscape.com 0e14970140 Fix linux warning. 1999-08-04 18:50:00 +00:00
jefft%netscape.com 1ad841bd45 fixed bug 8135, 9782 - force to create default mailboxes at the startup time 1999-08-03 20:45:50 +00:00
jefft%netscape.com a944cfe137 one more time; try to fix Sun build bustage 1999-07-31 03:03:28 +00:00
jefft%netscape.com 55a9774501 try again - fixing sun build bustage 1999-07-31 02:12:13 +00:00
jefft%netscape.com 7cbae2064a fix sun os bustage 1999-07-31 01:59:52 +00:00
jefft%netscape.com b735084e1f more on pop3 vs imap4 undo move/copy messages work 1999-07-30 23:53:01 +00:00
jefft%netscape.com 05cba74c39 make sure to reset the current file position and header start position when setting new envelope position 1999-07-30 23:50:56 +00:00