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

5526 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com 224bb8c6d0 initial changes to hook up server type specific prefs to the account manager. 1999-09-16 02:46:43 +00:00
sspitzer%netscape.com 04e3c78cf5 make these interfaces scriptable. need to get at them from js. 1999-09-16 02:45:34 +00:00
hangas%netscape.com 6951aaf9c0 Added real commandUpdater code to globalOverlay and addressbook. So far the Select All menu item enables/disables with this code. Stay tuned for more... 1999-09-16 01:46:30 +00:00
bienvenu%netscape.com 880466e384 fix race condition chaining imap urls 1999-09-16 01:32:43 +00:00
warren%netscape.com 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
sfraser%netscape.com 36b7cc81cb Remove Security.o 1999-09-16 01:10:47 +00:00
bienvenu%netscape.com 7e397a56e1 fix message size on imap 1999-09-16 00:15:50 +00:00
bienvenu%netscape.com e46bfb5f59 start work on pseudo interruption for imap useability 1999-09-16 00:08:02 +00:00
mscott%netscape.com 6f11385254 Not part of the build yet. a base emitter class which will pull out lots of code that was just
duplicated in the raw, html, xml and xul emitter classes.
1999-09-16 00:02:50 +00:00
sspitzer%netscape.com d210e3d7a9 ok, I suck. I accidentally broke Local Mail migration when you used imap in 4.x. this fixes it. 1999-09-15 23:40:28 +00:00
sspitzer%netscape.com 8ee260f294 make the postMessageFile in the nsINNTPNewsgroupPost be a nsIFileSpec, instead
of a nsFilePath.  this means nsINNTPNewsgroupPost is fully scriptable.
it also allowed me to clean up a lot of code.
most of these changes are results of this change.

add notifyOn, maxArticles, and markOldRead attributes to nsINntpIncomingServer
these correspond to "news.max_articles","news.mark_old_read", and "news.notify.o
n" prefs in 4.x.  (in 5.0, they are on a per server basis now.)
rewrite nsNNTPProtocol.cpp to use these attributes, instead of the old 4.x globa
l prefs.

fix warnings.
1999-09-15 21:29:30 +00:00
sspitzer%netscape.com 8aeb8ece4d for the pop / nntp server specific prefs, don't name the html elements.
because those attributes don't exist in the nsIMsgIncomingServer interface
it causes us to crash.  alecf and I are working on a way to get type
specific prefs to get saved correctly.  until then, none of these type
specific prefs will get saved.
1999-09-15 21:21:45 +00:00
chuang%netscape.com 673ff30a88 Fix crash when sorting address book column 1999-09-15 19:41:04 +00:00
sspitzer%netscape.com 0896694303 remove am-server-<type>.xul and am-server-<type>.dtd files.
the entities are in am-server-top.dtd now
and the xul is all in am-server.xul (in a cool deck widget. go alecf!)
add the news server specific ui for the max_articles pref
1999-09-15 19:34:20 +00:00
nhotta%netscape.com 94f7812e50 Bug 8865, hooked up entity converter. 1999-09-15 19:32:32 +00:00
alecf%netscape.com 142649ce36 move server-specific stuff into a deck 1999-09-15 19:21:07 +00:00
sspitzer%netscape.com 5c5a96d0bb new files for news specific prefs in the account manager.
NOT PART OF THE BUILD YET.
1999-09-15 19:10:14 +00:00
chuang%netscape.com c08a9c1e8c Bug 13787 pref return receipts entered multipule times 1999-09-15 17:55:32 +00:00
warren%netscape.com 279545985d Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
alecf%netscape.com fd72cc937f cache a whole bunch of nodes that are being retrieved with document.getElementById 1999-09-15 08:39:28 +00:00
alecf%netscape.com 209d8dd8e6 speed up finding of the folder tree 1999-09-15 08:29:01 +00:00
sspitzer%netscape.com 68d0a7b530 don't need this code anymore, as we don't need to hash the hostname to get a suitable directory name. see #13480 1999-09-15 07:31:27 +00:00
sspitzer%netscape.com 40ffb5ffab fix for #13766. 1999-09-15 07:24:16 +00:00
mscott%netscape.com bd1157f124 Bug #10933 --> don't signal OnDataAvailable to the listener after we write
a line as this gets expensive! Batch the calls together and do them at the end
1999-09-15 07:10:36 +00:00
alecf%netscape.com 66472985dc bring account wizard up to spec 1999-09-15 06:53:59 +00:00
mscott%netscape.com 21537ee291 Crank the buffer size used for the pipe in the stream converter back down to 32K. It
was a ridiculously large number due to an old necko bug that isn't appropriate anymore.
1999-09-15 06:40:15 +00:00
bienvenu%netscape.com cbb6e71f55 pass folder in as listener to getnewnews 1999-09-15 05:40:39 +00:00
alecf%netscape.com 9e6e48cd7a consolidate progIDs 1999-09-15 05:16:29 +00:00
alecf%netscape.com 4bdea3de3e give new folder window a name, and make sure it's modal 1999-09-15 05:16:00 +00:00
alecf%netscape.com 62bfb8199c minor cleanup to make onloadmessenger easier to read 1999-09-15 04:57:24 +00:00
alecf%netscape.com 44295b69b7 refresh the folder pane after upgrade process finishes 1999-09-15 04:49:43 +00:00
alecf%netscape.com d936a6fb95 move strings into AccountManager.xul and remove old DTD 1999-09-15 04:46:26 +00:00
alecf%netscape.com 3cee2e19a5 get rid of old XUL 1999-09-15 04:46:03 +00:00
alecf%netscape.com b6eea89c03 add default height to wizard, make it bigger than before 1999-09-15 04:45:53 +00:00
alecf%netscape.com 662220abf3 if account creation is successful, set the refresh to true 1999-09-15 04:45:20 +00:00
alecf%netscape.com ccbbd43e99 move the accounttree into the AccountWizard XUL, and get rid of DumpDOM stuff 1999-09-15 04:44:37 +00:00
alecf%netscape.com 0df90cd541 fire off new account wizard when the button is pressed, and propagate the refresh parameter 1999-09-15 04:43:57 +00:00
alecf%netscape.com 86fdf663c1 open wizard and account manager with refresh parameter, so we know whether or not to refresh the folder pane 1999-09-15 04:40:34 +00:00
putterman%netscape.com 4a932aac12 Make it so that when selecting messages after delete, IMAP messages don't get loaded twice. 1999-09-15 04:13:25 +00:00
bienvenu%netscape.com 6ed63b2dd7 do folder loaded notification for news 1999-09-15 04:04:44 +00:00
alecf%netscape.com ea3de7ab86 fix crash when sender has no lastname 1999-09-15 02:46:38 +00:00
alecf%netscape.com e7f04fbbff fix bustage that is about to happen 1999-09-15 02:41:59 +00:00
ramiro%netscape.com e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
jefft%netscape.com fbabae7fd2 added SaveAttachURL, statusFeedback 1999-09-15 02:14:28 +00:00
jefft%netscape.com a46c88cc36 fixed bug 13574 -- use stream converter instead of temp file for reply quoting 1999-09-15 02:13:04 +00:00
bienvenu%netscape.com 1120b750bf add folder loaded notifications 1999-09-15 00:59:03 +00:00
briano%netscape.com 18db6b773d General cleanup. 1999-09-15 00:33:49 +00:00
briano%netscape.com b849f37e00 General cleanup. 1999-09-15 00:10:25 +00:00
sspitzer%netscape.com b1a85f548a fix for #13833
now we support multiple accounts of the same type on the same server.
1999-09-15 00:04:47 +00:00
briano%netscape.com 0c1d97b591 General cleanup. 1999-09-15 00:02:25 +00:00
briano%netscape.com 107d63133d General cleanup. 1999-09-14 23:27:55 +00:00
briano%netscape.com 450edd80d1 General cleanup. 1999-09-14 23:19:19 +00:00
briano%netscape.com 3474999aa5 General cleanup. 1999-09-14 23:05:06 +00:00
briano%netscape.com 22b5e77499 General cleanup. 1999-09-14 22:49:58 +00:00
mscott%netscape.com 620857cfdc 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
chuang%netscape.com b1ec7ea992 handle double byte strings 1999-09-14 21:55:54 +00:00
sspitzer%netscape.com 829bf9dd2f adding a string to match the addition state. we need this, or we crash when DEBUG_NEWS is set. 1999-09-14 21:24:44 +00:00
law%netscape.com d94d90f478 Enable mail composition to be opened via window.openDialog 1999-09-14 21:19:27 +00:00
ducarroz%netscape.com 2c85b4d825 Remove key binding again as other problems appear! 1999-09-14 19:54:41 +00:00
nhotta%netscape.com ebeb6f9bf4 Changed to return unconverted length for charset conversion. 1999-09-14 19:12:31 +00:00
sspitzer%netscape.com d5445de86d 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 c99df5aac4 clean up my comment 1999-09-14 11:37:07 +00:00
sspitzer%netscape.com 58b23fde70 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 715227a9ef we no longer have to be all crazy in our Makefile.
we can just build base once.  I am so happy this is fixed.
1999-09-14 09:56:44 +00:00
sspitzer%netscape.com 6e6ad7cc7c mail.root.nntp wasn't getting set when I called SetDefaultLocalPath() on a nntp incoming server because QueryInterface for nsNttpService was not fixed to support nsIMsgProtocolInfo. use the cool macro and the problem goes away. woo-hoo! 1999-09-14 09:34:23 +00:00
alecf%netscape.com c559373057 actually, create the account at the end 1999-09-14 09:28:15 +00:00
alecf%netscape.com 585e4c64d1 workaround for broken GFX combo box 1999-09-14 09:26:57 +00:00
sspitzer%netscape.com 5ed079462d my mistake, news is correct in this case. this case. 1999-09-14 09:14:22 +00:00
sspitzer%netscape.com 80d5ac54f4 nsIMsgIncomingServer needs a SetDefaultLocalPath(). we use this when migrating prefs.
add the newsrcRootPath attribute to the nsINntpIncomingServer interface.
implement Set/GetNewsrcRootPath(), similar to how Set/GetDefaultLocalPath() are implemented.

rewrite nsMsgAccountManager to use
Set/GetDefaultLocalPath() and Set/GetNewsrcRootPath()

rename some methods in nsMsgAccountManager for correctness.
1999-09-14 09:03:40 +00:00
sspitzer%netscape.com f7e2446777 the type is nntp, not news. this was preventing me from setting mail.root.nntp 1999-09-14 08:57:34 +00:00
sspitzer%netscape.com 75f78fe5ae fix warnings 1999-09-14 08:36:10 +00:00
sspitzer%netscape.com 532077a63a 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
alecf%netscape.com 9917da1051 register smtp server 1999-09-14 08:23:20 +00:00
alecf%netscape.com 7073f4c9e8 build smtp server on windows 1999-09-14 08:22:50 +00:00
alecf%netscape.com fc34bf545b fix solaris bustage 1999-09-14 08:19:54 +00:00
alecf%netscape.com ede250feb0 oops, forgot constructor/destructor 1999-09-14 08:16:21 +00:00
sspitzer%netscape.com e8f17a8f76 added files: mozilla/mailnews/compose/src/nsSmtpServer.cpp 1999-09-14 08:03:36 +00:00
hangas%netscape.com df8379d512 Fix bug 13564. 1999-09-14 07:59:31 +00:00
alecf%netscape.com bbf194521a ok, finally write this thing out to prefs 1999-09-14 07:58:04 +00:00
alecf%netscape.com 101d0c1ce6 unify server creation like the account manager 1999-09-14 07:15:21 +00:00
alecf%netscape.com 3c33281fd3 support add/removal of SMTP servers 1999-09-14 07:03:47 +00:00
mscott%netscape.com 836811052d the imap server sink is now blocking so in ProcessCurrentUrl we would block when
calling LoadNextQueuedUrl which in turn signaled a url ready to run monitor. When it was non-blocking
things used to work fine because we had time to get into the wait for monitor code but now we aren't getting
there. So we're getting around the problem by flagging ourselves as ready to run another url.

This problem manifested itself when we started loading a message right after deleting one in the thread pane.
1999-09-14 06:55:42 +00:00
alecf%netscape.com 280def72f6 oops, add back with and height, and entity-ify the title separator & modifier 1999-09-14 06:31:32 +00:00
alecf%netscape.com f1f1ab8867 support View->Show...->Message 1999-09-14 06:28:05 +00:00
alecf%netscape.com 7da7fc7ebd move this to it's own function 1999-09-14 06:27:36 +00:00
alecf%netscape.com 1ba2d40cdf drop the product monkier for now, hopefully the "titlemodifier" will handle this for us 1999-09-14 06:26:50 +00:00
hangas%netscape.com 4e4bedb4fe Moved Close menu item to its new location. 1999-09-14 06:18:08 +00:00
hangas%netscape.com f4886ef00c Moved Close menu item to its new position. 1999-09-14 06:16:12 +00:00
mscott%netscape.com c78cbd3590 api sync for fetch message. 1999-09-14 05:35:58 +00:00
mscott%netscape.com 6e65073df4 Bug #9593, #13674 --> implement save message to disk. i also added added a helper function: DecomposeImapURI, optimized some lines to use nsCAutoString
fixed a few mem leaks where we would leak an imap url...enforced
 com ptr useage for nsIImapUrl. FetchMessage no longer requires the sink event queue...as an interface
simplification, we can just figure it out ourselves..
1999-09-14 05:35:40 +00:00
mscott%netscape.com 1b540788e4 Bug #9593 --> make the old display code turn into save msg to disk code 1999-09-14 05:34:54 +00:00
mscott%netscape.com 36e025a0cd add save message to disk action. 1999-09-14 05:34:04 +00:00
mscott%netscape.com 34b9cbbd43 Bug #9593 --> implement save message to disk. i also added added 1999-09-14 05:33:55 +00:00
mscott%netscape.com 4c124c3dc1 Bug #9593 --> SetupMsgWriteStream needs to know the file name of the file we should write the message to. Use this value instead of "tempMessage.eml" 1999-09-14 05:33:35 +00:00
sspitzer%netscape.com 6fc8de9da5 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
alecf%netscape.com 5c02cdebcc it's index now, not value 1999-09-14 05:07:45 +00:00
putterman%netscape.com d9703aa7e9 After deleting, the next message is selected. 1999-09-14 04:41:46 +00:00
alecf%netscape.com c303921954 add new nsSmtpServer/etc to the build 1999-09-14 04:22:09 +00:00
bienvenu%netscape.com 3456144dd5 break out UpdateFolder method from GetMessages 1999-09-14 04:02:34 +00:00
sspitzer%netscape.com b6a9d0a97f 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
bienvenu%netscape.com e5f0aba605 use server key instead of host username when finding imap folders, fixes folder discovery after migration bug 1999-09-14 02:23:56 +00:00
sspitzer%netscape.com 748c22204e fix for #13708. remove the message formatting pref pane: it's in the account wizard now. 1999-09-14 00:43:10 +00:00
alecf%netscape.com 43d4c32346 use new protocolinfo service 1999-09-14 00:36:37 +00:00
alecf%netscape.com 6932d80141 register news protocol info 1999-09-14 00:34:02 +00:00
alecf%netscape.com e4e52250a7 register imap protocol info progid 1999-09-14 00:15:08 +00:00
alecf%netscape.com fc5232bd1d don't need to depend on nsMsgBaseCID.h anymore 1999-09-14 00:10:29 +00:00
alecf%netscape.com 917d09a317 moving progid, it doesn't belong in the factory file 1999-09-14 00:09:48 +00:00
alecf%netscape.com abe7c5a68c also implement "none" protocol info 1999-09-14 00:04:09 +00:00
alecf%netscape.com 2dee1a9519 register pop3service as a protocolinfo 1999-09-14 00:01:57 +00:00
alecf%netscape.com 098aaa46d5 add progid prefix 1999-09-13 23:56:19 +00:00
alecf%netscape.com f9e4ffdaf0 implement nsIMsgProtocolInfo in news 1999-09-13 23:53:33 +00:00
alecf%netscape.com ddab31885b implement nsIMsgProtocolInfo in nsImapService 1999-09-13 23:51:16 +00:00
alecf%netscape.com 64049f08c2 implement the new nsIMsgProtocolInfo in nsPop3Service 1999-09-13 23:04:24 +00:00
alecf%netscape.com 58a38ddcd0 oops, this was supposed to be an nsIFileSpec 1999-09-13 23:03:31 +00:00
alecf%netscape.com d66f6ec3d8 export/build nsIMsgProtocolInfo.idl on all platforms 1999-09-13 22:51:38 +00:00
ducarroz%netscape.com 5f86eb66a2 Let the user tabs into the body from the subject edit field. Fix bug 10932 1999-09-13 22:20:07 +00:00
bienvenu%netscape.com 0907f107dc add folder loaded notification and hack around dynamic folder loading slowness method 1999-09-13 21:36:02 +00:00
putterman%netscape.com 123024853d AddRef the listener. 1999-09-13 21:12:38 +00:00
putterman%netscape.com 81d3b8979c Only create the node once. 1999-09-13 21:12:09 +00:00
putterman%netscape.com d3e961c2b5 Clear selection when changing folders and AddFolderListener on startup 1999-09-13 21:11:45 +00:00
jefft%netscape.com 750364ab73 fixed bug 13674 -- reply quotes wrong message for news and imap messages 1999-09-13 20:26:04 +00:00
jefft%netscape.com ee1a32080d fixed bug 13621 -- need to escape attachments url emitting as a XUL document 1999-09-13 14:40:58 +00:00
sspitzer%netscape.com 10dd26a542 fix Account Wizard to use the first image of the new animation. 1999-09-13 10:18:50 +00:00
sspitzer%netscape.com d29b94bde8 we need to return NS_ERROR_FAILURE. otherwise the Account Wizard will
not automatically open when we fail to migrate prefs.js
1999-09-13 10:08:18 +00:00
sspitzer%netscape.com 2d663489ef define the string constants for the root directory names, to avoid errors.
use the FileLocator service to get the profile directory to set the "mail.root.<type>" prefs
if we fail to migrate the prefs.js file.  (this is what happens when you start up clean for the
first time, instead of using the -installer.)
1999-09-13 09:47:30 +00:00
bienvenu%netscape.com c838ec9958 one more try to create imap parent directories 1999-09-13 05:27:20 +00:00
jfrancis%netscape.com c2e69d3f1c temp build fix - bienvenu needs to fix this for real 1999-09-13 01:24:09 +00:00
sspitzer%netscape.com 6a0c45dcdd on UNIX, try to use the premigration.news.directory first when looking for .newsrc files. this is needed for migration to work on UNIX. right now, -installer will not copy your .newsrc files into your <profile>/News directory (like the other platforms.) so if you've run -installer, premigration.news.directory will be set and will point to your .newsrc files. if you haven't run it, and are just copying a prefs.js file, it will use news.directory, which is correct too. 1999-09-12 23:38:53 +00:00
bienvenu%netscape.com 8f3a014420 fix mac build bustage 1999-09-12 22:58:43 +00:00
bienvenu%netscape.com 4f5af29de4 return error from writing out folder cache if any, add code to turn off rdf notifications 1999-09-12 21:36:51 +00:00
bienvenu%netscape.com a58a7b9307 create parent directories if they don't exist 1999-09-12 21:35:30 +00:00
bienvenu%netscape.com 254d9aff06 fix solaris build bustage 1999-09-12 18:34:26 +00:00
bienvenu%netscape.com 41e8dfb284 pass uid of message read to finish message loading notification 1999-09-12 18:27:19 +00:00
bienvenu%netscape.com d9762ab44c move message sink to idl 1999-09-12 17:49:08 +00:00
bienvenu%netscape.com 741212ca90 remove 1999-09-12 17:47:25 +00:00
bienvenu%netscape.com 1e341e3364 add nsIImapMessageSink 1999-09-12 17:46:36 +00:00
bienvenu%netscape.com aaf522307b added files: mozilla/mailnews/imap/public/nsIImapMessageSink.idl 1999-09-12 17:45:42 +00:00
bienvenu%netscape.com c462c7fc46 add idl for message sink not part of ubild yet 1999-09-12 17:31:23 +00:00
cls%seawood.org a87b20551f Fix my bustage using -D_BSD_SOURCE 1999-09-12 17:15:57 +00:00
bruce%cybersight.com 3d6a5579ca Add newline to end of file to fix HPUX bustage. 1999-09-12 16:34:14 +00:00
cls%seawood.org adf94e4618 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
hangas%netscape.com c8b5bd6ae7 Using edit menu items from globalOverlay.xul 1999-09-12 08:41:46 +00:00
hangas%netscape.com b476cf0018 Added Preferences to globalOverlay.xul and converted the windows over to use it. 1999-09-12 08:27:01 +00:00
mscott%netscape.com 18bb55135c Temporary band-aid to fix display of messages with attachements. The url we write here needs to be escaped
and all '&' need to be removed from the url spec. otherwise we can't display the message because the xml
code we emit with the urlspec will be malformed.
1999-09-12 08:01:01 +00:00
mscott%netscape.com e2feb8ee2e fix solaris breakage which doesn't like enums in ?: notation. 1999-09-12 07:05:08 +00:00
mscott%netscape.com 5a157ddb69 fix build breakage across the board 1999-09-12 06:30:02 +00:00
mscott%netscape.com 0896391d29 Fix build breakage across the board! 1999-09-12 06:29:36 +00:00
mscott%netscape.com fd311c0688 Fix build breakage across the board!!!! 1999-09-12 06:28:20 +00:00
mscott%netscape.com 8618ecb91d Just to be safe, include nsIPrincipal.h 1999-09-12 05:51:17 +00:00
mscott%netscape.com 983a6c8ddf Include nsIPrincipal.h just to be safe. (The unix tree turned red, but I don't know if it was a midcheckin problem
or if it really needs this).
1999-09-12 05:30:25 +00:00