alecf%netscape.com
85aa1cffa4
fix some leaks
1999-06-10 02:17:33 +00:00
mscott%netscape.com
42c07d14e0
Quiet a noisy printf.
1999-06-10 00:40:53 +00:00
mscott%netscape.com
982fff1c0c
clean up work for pop3 protocol --> remove useage of the 8K output buffer which got ported over from the 4.x days. I use nsAutoString isntead (most of the data we write into the buffer is very small...it's protocol cmd data). This should help improve the memory footprint for pop.
...
Mad command_response, password and username all nsStrings instead of char *s.
1999-06-10 00:40:28 +00:00
mscott%netscape.com
b7d57ecea5
MLK fixes. Free the line returned by calling ReadNextLine until I have time to come back and make ReadNextLine
...
not allocate a new buffer for the returned line.
1999-06-09 21:44:01 +00:00
mscott%netscape.com
1ba5aa4465
Code clean up --> added methods for building and running a mailbox url. This simplified a lot of the command methods like display message, copy message, etc.
...
save msg to disk work went in as well.
1999-06-09 21:05:53 +00:00
mscott%netscape.com
dce3b897e4
save msg to disk work. --> added getter/setting for msg nsIFileSpec
1999-06-09 21:05:10 +00:00
mscott%netscape.com
3e0977d6b7
Add save msg to file action to mailbox actions. Add getter/setter for nsIFileSpec used to store the message when
1999-06-09 21:03:36 +00:00
Jerry.Kirk%Nexwarecorp.com
b80124ca53
- Bug 7794 Move $(TK_LIBS) further down in the library list.
1999-06-09 19:48:58 +00:00
mscott%netscape.com
53bde8bcd6
Use NS_WITH_SERVICE1 which uses the service manager that was passed in to
...
NSRegisterSelf / NSUnregisterSelf.
1999-06-09 06:40:48 +00:00
alecf%netscape.com
17f11c4edc
don't export these files on unix
1999-06-09 00:23:37 +00:00
alecf%netscape.com
f3ef2c8d77
these files are now generated
1999-06-09 00:23:01 +00:00
alecf%netscape.com
019ff47f35
start doing XPIDL on windows in local
1999-06-09 00:20:38 +00:00
sspitzer%netscape.com
a3228d6649
move StringHash to nsMsgUtils.cpp, and use NS_MsgHashIfNecessary() in all
...
the ns*URI2Path() calls in the ns*Utils.cpp files to hash the file
names if necessary.
also, don't use fprintf().
1999-06-08 05:08:31 +00:00
mscott%netscape.com
76d6a71063
random changes to a non building test file =).
...
Bug #5633 --> more NS_WITH_SERVICE changes....I missed 2 spots last time.
1999-06-08 03:13:10 +00:00
sspitzer%netscape.com
6e2a3cc01a
giant cleanup of UNIX mail / news Makefiles. properly use MODULE, and
...
name things so that Windows and UNIX match. (a big checkin for Windows
will follow shortly.)
1999-06-08 02:17:24 +00:00
mscott%netscape.com
16df241a70
Unification of LoadUrl signature to remove some warnings on Linux & Mac. LoadUrl signature takes a display consumer
1999-06-08 00:01:27 +00:00
mscott%netscape.com
a80e4efdcf
remove IGNORE_MANIFEST.
1999-06-07 21:28:20 +00:00
mscott%netscape.com
72b5ef7afd
remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any.
1999-06-07 21:11:16 +00:00
mscott%netscape.com
a19d88af09
Don't build dll until the install phase, not the lib phase.
1999-06-07 08:22:54 +00:00
mscott%netscape.com
3d0e344c29
Part of makefile clean up for windows. Changes include removing old cruft, giving each
...
component it's own module name (this helps clear up problems with the xp connect type lib
name for each component), making sure libs built in src directories have _s suffix as
they are static libraries and unifying component names with "msg" prefixes.
Also removed extraneous CPP_SRCS info.
1999-06-07 06:52:45 +00:00
mscott%netscape.com
d7f5ac296f
Load has become LoadUrl on the pop3 protocol class.
1999-06-05 22:52:15 +00:00
mscott%netscape.com
5a08c6956d
Major revamping of the pop protocol. Themain changes were to use my new nsMsgProtocol base class for most of the core netlib interaction.
1999-06-05 22:51:46 +00:00
mscott%netscape.com
c2d92c5f07
Add nsIMsgMailNewsUrl to the QI method.
1999-06-05 22:30:48 +00:00
mscott%netscape.com
80b84c8d3c
Fix unix warning by removing unused variable.
1999-06-05 20:41:10 +00:00
mscott%netscape.com
8ce4a23475
LoadURL is now LoadUrl on the mailbox protocol as part of the nsMsgProtocol changes.
1999-06-05 20:37:42 +00:00
mscott%netscape.com
a37b4b6fd6
Major revamping of the mailbox protocol. The main changes were to use my new nsMsgProtocol base class for most of the core netlib interaction.
1999-06-05 20:36:58 +00:00
mscott%netscape.com
a2b6d8952f
Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
1999-06-05 00:15:12 +00:00
mscott%netscape.com
23a45270b8
Include nsIFileSpec.h
1999-06-04 22:44:11 +00:00
mscott%netscape.com
3bd71496f6
support SaveMessageToDisk (stub right now)
...
replace nsAutoCString with more efficient nsAutoString
1999-06-04 22:42:31 +00:00
mscott%netscape.com
abdfa488d7
replace nsAutoCString with more efficient nsAutoString
1999-06-04 22:41:56 +00:00
sspitzer%netscape.com
527fad71e9
even though it doesn't build right now, follow briano's lead and use
...
MOZ_DLL_SUFFIX
1999-06-04 22:31:32 +00:00
sspitzer%netscape.com
20ab8f00b3
follow briano's lead and use MOZ_DLL_SUFFIX
1999-06-04 22:30:45 +00:00
sspitzer%netscape.com
ede8e8e619
follow briano's lead and use MOZ_DLL_SUFFIX.
...
also make some changes to get this building again. It's still not complete,
but its closer.
1999-06-04 22:28:10 +00:00
mscott%netscape.com
f1537f9361
Export nsLocalMailFolder.h
1999-06-03 23:31:58 +00:00
mscott%netscape.com
9679e92a0b
Remove unnecessary LINCS now that all headers are pushed to the same directory.
1999-06-03 23:31:57 +00:00
rickg%netscape.com
7a7d7b661c
replaced nsString2.h references with nsString.h
1999-06-02 01:03:41 +00:00
ducarroz%netscape.com
b26d714ee2
Don't export header files that are generated by the XPIDL compiler. Part of mailnews Mac XPIDL landing.
1999-06-02 00:07:21 +00:00
ducarroz%netscape.com
a4cf71e094
First Checked In.
1999-06-01 23:12:32 +00:00
bienvenu%netscape.com
83862fdbd0
get local mail filters working
1999-05-29 17:09:39 +00:00
mcafee%netscape.com
675c9a8b52
Fix implicit declaration warning for atoi(). Thansk to Brian Ryner bryner@uiuc.edu for this fix.
1999-05-29 08:56:53 +00:00
sspitzer%netscape.com
159b9819e4
cvs ignorage for the generate Makefiles
1999-05-28 23:52:47 +00:00
putterman%netscape.com
e9ab7b9791
Part of new mailnews resources hierarchy.
1999-05-28 22:38:07 +00:00
putterman%netscape.com
125cb0ef16
Part of new mailnews resources hierarchy.
1999-05-28 20:10:53 +00:00
blizzard%redhat.com
5b01a4b8bc
remove hard coded toolkit names in tests
1999-05-28 03:42:59 +00:00
bienvenu%netscape.com
1bae5c6de0
fix ref counting problem on isupports filter stuff
1999-05-28 02:15:31 +00:00
alecf%netscape.com
b37b02c0a8
GetCharPref() is going away for nsIPref scriptability - use CopyCharPref instead
1999-05-28 00:56:53 +00:00
mcmullen%netscape.com
20b077563f
Removed base/baseDebug.shlb
1999-05-28 00:48:24 +00:00
bienvenu%netscape.com
831516db07
fix build bustage in filter code
1999-05-28 00:38:24 +00:00
mscott%netscape.com
1d2ca0fd69
Register component for nsIMgParseMailMsgState.
1999-05-27 22:11:18 +00:00
mscott%netscape.com
5c84e52680
use nsIMgParseMailMsgState. This generalizes the message parser behind an interface so other components can use it without linking against local.
1999-05-27 22:10:10 +00:00
mscott%netscape.com
7354b0acc6
Export nsIMsgParseMailMsgState.h
1999-05-27 22:09:15 +00:00
mscott%netscape.com
2d56a15762
Add claas id for nsIMgParseMailMsgState
1999-05-27 22:06:40 +00:00
mscott%netscape.com
ec1a2c4986
export nsIMsgParseMailMsgState.h
1999-05-27 21:39:28 +00:00
mscott%netscape.com
c7ff36efd8
Not part of build yet. An interface that will sit on top of the message mail statee parser so other components can use it.
1999-05-27 20:53:19 +00:00
bienvenu%netscape.com
b06fca771e
fix build bustage
1999-05-27 06:08:15 +00:00
bienvenu%netscape.com
217a0beaa9
fix build bustage
1999-05-27 05:47:52 +00:00
alecf%netscape.com
d35feb2ccc
API change - Get/SetUserName -> Get/SetUsername
1999-05-27 05:47:28 +00:00
alecf%netscape.com
836e1590ed
finish IDL-ifying these interfaces
...
Also stop caching the local mail directory in the pop3 sink and instead ask for it on demand from the nsIMsgIncomingServer
1999-05-27 04:56:53 +00:00
alecf%netscape.com
61f44071d7
remove unnecessary windows-specific code
1999-05-27 04:55:40 +00:00
alecf%netscape.com
33471006f5
fix these asserts so that we know which variable is bad
1999-05-27 04:55:10 +00:00
alecf%netscape.com
2d85796a7d
IDL-ify these interfaces
...
move CIDs into nsMsgLocalCID
1999-05-27 04:53:32 +00:00
alecf%netscape.com
add2439d4d
IDL-ify this interface
...
had to make nsFileSpec non-const for now
1999-05-27 04:51:20 +00:00
alecf%netscape.com
7ab5085bd5
include the CID file because CIDs are going away from interfaces
1999-05-27 04:47:13 +00:00
sspitzer%netscape.com
6b33aef859
fix build bustage on UNIX
1999-05-27 03:31:25 +00:00
sspitzer%netscape.com
700be91711
fix UNIX build bustage
1999-05-27 03:30:33 +00:00
mcafee%netscape.com
896a5f2268
Some code wasn't ifdef'd for DOING_FILTERS properly. a=bienvenu
1999-05-27 01:07:24 +00:00
bienvenu%netscape.com
c7691ca73c
changes for mail filters, including setting root folder for server
1999-05-26 23:56:21 +00:00
putterman%netscape.com
ad215426f7
More work on DeleteFolders.
1999-05-26 23:47:01 +00:00
mscott%netscape.com
8006e7d354
Bug 6722 --> replace PR_Open with nsFileSpec/nsFileStream.
1999-05-26 22:59:26 +00:00
alecf%netscape.com
e19f78aaee
fix bustage by adding gfx/img/mozutil
1999-05-26 08:07:54 +00:00
dp%netscape.com
0443b20e33
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
putterman%netscape.com
17cb3c3ac3
Fix for 6975. Make sure there's a valid database before accessing it. Reviewed by
...
mscott. Approved by chofmann.
1999-05-24 22:02:50 +00:00
bienvenu%netscape.com
facf156af5
more work on filter actions
1999-05-19 01:56:32 +00:00
alecf%netscape.com
099e3c348d
fix for #5792 - remove leading '/' that occurs on unix
1999-05-19 00:36:58 +00:00
alecf%netscape.com
e86743fc10
fix newline at end of file
1999-05-19 00:36:13 +00:00
alecf%netscape.com
3169bcc548
remove unused variable
1999-05-19 00:30:13 +00:00
mscott%netscape.com
66d5cad94a
Updates with msgcoreutil building as a dll.
1999-05-18 23:59:45 +00:00
mscott%netscape.com
fd11036c5d
clean up makefile, remove unnecessary define.
1999-05-18 23:59:16 +00:00
sspitzer%netscape.com
f2cad24a4f
changes to get news to work at the same time as imap and pop. the news part of the fix for #6405
1999-05-18 21:46:56 +00:00
alecf%netscape.com
a07a555ac1
fix some warnings, get rid of variable named index() and cache value of GetSize()
1999-05-18 02:22:56 +00:00
bienvenu%netscape.com
8858955c4d
remove debugging statements, unused defines
1999-05-17 23:35:45 +00:00
bienvenu%netscape.com
b549c6d1ad
move GetChildNamed implementation from local subclass
1999-05-17 22:50:04 +00:00
bienvenu%netscape.com
19a23b87e7
start work on msg filters, ifdeff'ed out
1999-05-17 02:06:29 +00:00
putterman%netscape.com
99455de436
Implemented GetHostName.
1999-05-16 22:47:27 +00:00
mscott%netscape.com
b31445779b
implement GetIncomingServerType as part of adding a GetServer method for a folder.
1999-05-15 19:39:58 +00:00
mscott%netscape.com
cc2c9dc2f8
code cleanup --> use nsAutoCString instead of .newCString.
1999-05-15 19:37:27 +00:00
putterman%netscape.com
c65fb17774
call MarkRead instead of OrFlags.
1999-05-14 00:46:07 +00:00
mscott%netscape.com
d1aeb1d95d
Fix memory leak by removing unused QI to an object. this caused us to leak pop3 urls when getting new mail.
1999-05-14 00:40:11 +00:00
alecf%netscape.com
9eb1b1a2b9
nsCOMPtr audit and remove my stupid debugging comment
1999-05-14 00:21:52 +00:00
bienvenu%netscape.com
200ccf85c6
remove db listener in base class
1999-05-13 23:19:35 +00:00
mscott%netscape.com
178ffefb7b
fix shadowed variables
1999-05-13 21:58:53 +00:00
warren%netscape.com
7a41ef7d73
Fixed nsICollection (and Count in particular) to be xpidl friendly.
1999-05-13 04:56:04 +00:00
bienvenu%netscape.com
1c1a2c1c3b
remove self as listener when going away
1999-05-13 02:35:24 +00:00
mscott%netscape.com
1b720ad3ba
Whenever we display a message, be sure to mark it as read in the db. Use url method to get msghdr for a message instead of doing it ourselves.
1999-05-12 22:53:05 +00:00
mscott%netscape.com
8a469a559a
add accessor to get msg db hdr for a mailbox url.
1999-05-12 22:51:26 +00:00
mscott%netscape.com
71318d965d
part of mailnews audit --> use nsCOMPtr. Use NS_SUCCEEDED test instead of comparing directly against NS_OK. fix mem leak on msghdr & mismatched memory free.
1999-05-11 23:47:13 +00:00
putterman%netscape.com
f711445a1b
Fix mismatch memory free.
1999-05-11 22:28:34 +00:00
ducarroz%netscape.com
504b3d6482
Don't create anymore a nsFileSpec from a unix path
1999-05-11 00:38:08 +00:00
putterman%netscape.com
4b2b4f3696
Changed DeleteMessage to DeleteMessages
1999-05-10 23:55:41 +00:00
ducarroz%netscape.com
f1e63c02be
Fix bug #6175 due to nsFileSpec behavior changed on Mac
1999-05-10 22:23:28 +00:00
ducarroz%netscape.com
c18acc5c5e
fix bug #6175 due to new behavior of nsFileSpec on Mac
1999-05-10 22:02:39 +00:00
putterman%netscape.com
c8229dd492
Derive from nsMsgDBFolder.
1999-05-10 21:47:59 +00:00
bienvenu%netscape.com
15ae2bad4e
fix priority enum names
1999-05-10 21:08:18 +00:00
sspitzer%netscape.com
ac7cecccd8
kIsRead is now MSG_FLAG_READ
1999-05-08 17:23:30 +00:00
putterman%netscape.com
52c483561b
use SetParent()
1999-05-07 20:22:01 +00:00
putterman%netscape.com
4596bbbf10
HasMessage and GetNewMessages implemented.
1999-05-07 00:34:50 +00:00
alecf%netscape.com
713343f2cd
remove call to GetRootFolderPath
1999-05-07 00:27:24 +00:00
mscott%netscape.com
313ee6ca9a
part of mailnews audit --> use nsCOMPtr.
...
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-07 00:11:43 +00:00
mscott%netscape.com
1f8ba398ee
part of mailnews audit --> use nsCOMPtr.
1999-05-07 00:06:23 +00:00
mscott%netscape.com
5296d9ca08
Calling close on a nsIMsgDatabase no longer releases a ref count so we can now use nsCOMPtr on it.
1999-05-07 00:03:12 +00:00
dp%netscape.com
cee9b8c834
Converting stray UnregisterFactory calls to UnregisterComponent
1999-05-06 01:37:04 +00:00
mscott%netscape.com
e9600c1db4
Bug 5991 --> Fix crash in pop3Test caused by the event queue carpool yesterday. We need to make sure the event queue is registered.
1999-05-06 01:35:40 +00:00
sspitzer%netscape.com
33a49b86bd
warnings be gone!
1999-05-06 00:17:15 +00:00
alecf%netscape.com
aef2fec925
remove some stupid debugging printfs
1999-05-05 02:35:53 +00:00
ducarroz%netscape.com
1eb1c32e00
First Checked In.
1999-05-05 00:04:48 +00:00
mscott%netscape.com
7a75412220
Changes for QA smoketest. Be noisy for release builds when getting new mail --> print out results of BIFF and report when get new mail is completed.
1999-05-05 00:02:23 +00:00
hyatt%netscape.com
2f4053dbab
Switching over to nsIEventQueues.
1999-05-04 23:31:07 +00:00
mscott%netscape.com
56ff61c011
part of mailnews audit --> use nsCOMPtr.
...
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:51:14 +00:00
mscott%netscape.com
900b8a5842
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:48:37 +00:00
mscott%netscape.com
efed5fafa6
part of mailnews audit --> use nsCOMPtr.
...
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:43:09 +00:00
putterman%netscape.com
ea0ce4975e
use nsCOMPtr and nsIDBMessage.
1999-05-04 22:35:41 +00:00
mscott%netscape.com
695e4c571c
part of mailnews audit --> use nsCOMPtr.
...
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:21:48 +00:00
alecf%netscape.com
c7ba588b9d
second attempt at a fix for #5792 - this time take into account platforms which cannot use "/" as a directory seperator
1999-05-04 05:03:04 +00:00
alecf%netscape.com
52bfd889ad
fix for #5792 - pass the URI, not the local file path to nsBuildLocalMessageURI, and add a helper function to do a hacky conversion from the local file path to the URI
...
a=chofmann
1999-05-03 23:52:12 +00:00
ducarroz%netscape.com
185b1c375e
fix for #5855 , A=chofmann.
delay Creation of mPath to avoid avoid to create a nsFileSpec without knowing the path. Propagate error returned by nsGetMailboxRoot() in nsLocalURI2Path().
1999-05-03 21:40:44 +00:00
sspitzer%netscape.com
c23ef233b3
fix for bug #5804 . get pop3Test to build on Linux.
1999-05-01 02:12:10 +00:00
alecf%netscape.com
7a94857f9a
oops, forgot this extra fix for #5681 to take .sbd files into account
1999-04-30 22:12:56 +00:00
alecf%netscape.com
76eb2dfccb
fix for #5609 - don't add trailing "/" to base server URI
...
r=scottip a=chofmann (as with the last checkin as well)
1999-04-30 19:59:11 +00:00
alecf%netscape.com
60ed937e0b
fix for #5609 : check for trailing / in URIs when extracting the name
...
fix for #5681 : fix URI->file path converter to take into account subdirectories along the way
1999-04-30 19:58:19 +00:00
sspitzer%netscape.com
ec6e26b471
fix for bug #5668 . now multiple news hosts really works.
1999-04-29 04:10:49 +00:00
jefft%netscape.com
cf44b1fccb
fixed bug 5662 - imap failed to discover folders and downloading mail messages; fixed memory leaks when building message URI; r=mscott, a=chofmann
1999-04-29 00:13:55 +00:00
mscott%netscape.com
8bc671eaee
nsLocalUri2Path fix. If the folder part of the uri is "" don't try to append it to the local path as that adds an unwanted '\' on windows.
1999-04-28 06:58:59 +00:00
alecf%netscape.com
ce08e9af8f
fix string casting problem with varargs parameters
1999-04-28 06:26:41 +00:00
alecf%netscape.com
5119f285d0
remove stupid debugging statements
1999-04-28 06:22:26 +00:00
mscott%netscape.com
2dc8e95d18
Fix windows build problem. you can't delete a const char * without casting i.. I changed the codeto use a nsAutoCString.
1999-04-28 06:21:58 +00:00
alecf%netscape.com
02008476e9
fix newline at end of file problem
1999-04-28 06:12:26 +00:00
alecf%netscape.com
ba3c698d1d
- use new NS_WITH_SERVICE macro to get rdf service
...
- now recognize host-specific mailbox://hostname/ roots
- build the mailbox_message URI using the URI instead of the path
- override the nsIRDFResource::Init() method for debugging purposes
1999-04-28 06:11:36 +00:00
alecf%netscape.com
73eade3d9d
depricate nsLocalPath2URI
...
fix mailbox:/ URI parsing to recognize hostnames
fix mailbox_message:/ builder to recognize hostnames
1999-04-28 06:07:40 +00:00
alecf%netscape.com
0e0c103388
insert hostname into URI when getting ServerURI
1999-04-28 06:05:36 +00:00
alecf%netscape.com
5383fbb14c
remove SetFilePath so we aren't tempted to set it (it's supposed to be coming directly from the URI)
1999-04-28 06:04:40 +00:00
alecf%netscape.com
c50332383b
change DisplayMessage to take a URI instead of a path (this method probably isn't used anymore anyway)
1999-04-28 06:03:28 +00:00
bruce%cybersight.com
b06f2076eb
Remove -lnetutil from link lines in unix build.
1999-04-28 05:46:56 +00:00
mscott%netscape.com
6f81da795d
Comment out unwanted assertion as this kills the linux build.
1999-04-28 05:05:24 +00:00
mscott%netscape.com
41b5419572
Fixes for get new mail which should bring get new mail back to life for linux and mac. When we were told to wait for more data by the new nsMsgLineStreamBuffer, we weren't setting the pause for read flag in all cases.
1999-04-28 05:02:50 +00:00
alecf%netscape.com
12e8b8586a
fix some uninitialized and incorrectly initialized variables
1999-04-28 03:06:37 +00:00
mscott%netscape.com
c7253e4310
Fix memory leak by releasing the url we just retrieved through a QI. Thanks
...
to putterman for finding the leak.
1999-04-28 02:40:06 +00:00
sspitzer%netscape.com
393a79476b
fix for bug #5477 . thanks to mscott for the fix.
1999-04-27 20:45:04 +00:00
bienvenu%netscape.com
c5edf558ef
fix get new mail for pop, workaround PR_APPEND bustage, set m_position to file size
1999-04-27 19:31:41 +00:00
ducarroz%netscape.com
b7e2cb1aa0
Resolve File missing warning
1999-04-27 06:42:22 +00:00
mscott%netscape.com
4ac4709ac1
Use MSG_LINEBREAK instead of LINEBREAK.
1999-04-27 03:06:34 +00:00