Commit Graph

1402 Commits

Author SHA1 Message Date
sspitzer%netscape.com
93f52a37b0 fix for smoketest blocker #120324. back out the fix for #119051
(mailnews part was not tested or reviewed by module owner)
sr=mscott,bienvenu
2002-01-16 20:58:01 +00:00
timeless%mac.com
c4d44ab97c Bug 119051 duplicate symbol breaks win32 static build
create and use nsIIOService::getQueryAttributeValue
r=dbradley sr=darin
2002-01-16 05:07:31 +00:00
bzbarsky%mit.edu
68c2123b34 Bug 104480. "EqualsIgnoreCase(nsAutoString(foo)) is bad and should
die." r=alecf, sr=jag
2002-01-16 03:31:25 +00:00
bienvenu%netscape.com
3fde7db591 use nsIMsgIncomingServer::GetRootMsgFolder method r/sr=sspitzer 119579 2002-01-15 00:54:26 +00:00
cavin%netscape.com
ecdeca711f Bug #100167: Added server name to a few connection error msgs for imap, news and pop. Also fixed two obsolete imap error numbers (1 & 2). r=bienvenu, sr=sspitzer. 2002-01-13 19:26:28 +00:00
cathleen%netscape.com
92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
sspitzer%netscape.com
29c731c68e fix for performance bug #117864. implement SetQuery() on these derived classes and make it
so SetQuery() will reparse the url.  we need this because we call SetQuery()
after calling SetSpec() when quoting.  reparsing the url will set some internal state
that we use for the optimization of only quoting the body part of message,
instead of the whole message (attachments and all!)
r/sr=bienvenu
2002-01-08 01:40:01 +00:00
naving%netscape.com
6132506aa8 114700 sr=bienvenu. remove PR_Sleep call - not needed anymore. 2002-01-07 00:41:12 +00:00
timeless%mac.com
61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
sspitzer%netscape.com
d08d4d3f97 landing the AB_OUTLINER_BRANCH.
fix for #73868, and numerous other bugs.
switch the addressbook over to use outliner,
a bunch of addressbook UI fixes and code cleanup.

r=dmose,racham,others and sr=bienvenu
2001-12-22 02:06:31 +00:00
ducarroz%netscape.com
fd4e5d2608 Fix for bug 115052. Truncate a string at position -1 will freeze the application. R=cavin, SR=mscott 2001-12-21 22:37:45 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
bienvenu%netscape.com
f73178022a whitespace cleanup 2001-12-16 18:10:25 +00:00
jaggernaut%netscape.com
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
seawood%netscape.com
51fa852613 Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls
2001-12-14 23:49:04 +00:00
naving%netscape.com
c1ec7ce344 114345 r=bienvenu sr=mscott Remove m_parsingInbox boolean, ask the db if the summary is valid, if not, it is being built and wait for it to be over, before downloading msgs. 2001-12-14 23:12:35 +00:00
ccarlen%netscape.com
95ce5e2693 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:25:50 +00:00
bienvenu%netscape.com
54b2401ae4 fix pop3 get new mail leaving db invalid r=naving, sr=sspitzer 114459 2001-12-11 04:01:47 +00:00
ccarlen%netscape.com
afffbda535 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:02:40 +00:00
bienvenu%netscape.com
0b899e9f9c r/sr=sspitzer 101315, speedup parsing of local folders 2001-12-08 01:24:28 +00:00
darin%netscape.com
b639381424 fixes bug 15320 "Forms/Necko: Temp file (formpost) left after file upload"
r=dougt, sr=mscott
2001-12-07 00:40:55 +00:00
alecf%netscape.com
2c81421fa3 fix for bug 100676, r=bienvenu, sr=sspitzer, also ok'ed by nhotta 2001-12-06 23:41:46 +00:00
bienvenu%netscape.com
bf2d990e36 reduce biff notifications, move biff to server level r=naving, sr=sspitzer 113366 2001-12-04 15:34:00 +00:00
mkaply%us.ibm.com
3443a40e66 No bug - cleanup - remove unnecessary XP_OS2 2001-11-30 20:55:28 +00:00
naving%netscape.com
7faf639ae4 111371 r/sr=bienvenu fix char* leaks when reading filenames from disk. 2001-11-25 03:02:24 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
bienvenu%netscape.com
485430e967 no longer call SetRecipientsIsNewsgroup - we weren't using it, r=naving, sr=sspitzer 110820 2001-11-21 01:57:53 +00:00
naving%netscape.com
40e72514fc 110693 r=darin sr=bienvenu. Code clean in nsPop3Service::BuildPop3Url. 2001-11-20 05:31:31 +00:00
alecf%netscape.com
f026e50d2f Fix for bug 110371 - remove uconv dependency from nsFileSpec by moving unicode-related routines into mailnews. sr=sspitzer, r=nhotta 2001-11-19 15:28:56 +00:00
timeless%mac.com
060425ec59 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
sspitzer%netscape.com
8aede5f38c fix for #110502. get "edit as new" and "fwd inline" to work again.
the problem is the standard url parser no longer allows us to use illegal
uris.  '_' is an illegal character in a URI (and URL) scheme.
so this patch switches from "foo_message://" to "foo-message://"
r=bbaetz,sr=bienvenu
2001-11-18 23:38:52 +00:00
sspitzer%netscape.com
0c3e826b52 fix for #110522. asserting when pop biff url runs. call SetUsername() after we call SetSpec().
r/sr=bienvenu
2001-11-18 22:37:28 +00:00
naving%netscape.com
8f1df93dee 110208 r=stephend sr=bienvenu. Remove printfs from release build. Should make pop3 downloading msgs and biff
a bit faster.
2001-11-16 05:22:45 +00:00
jaggernaut%netscape.com
ee4f787321 Clean up REQUIRES lines. r/sr=alecf 2001-11-16 01:54:59 +00:00
alecf%netscape.com
d49a4ba867 win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
nhotta%netscape.com
a1e7be4688 Changed to use char* for charset instead of nsString& for i18n functions, bug 108932, r=ducarroz,sr=sspitzer. 2001-11-15 02:00:32 +00:00
naving%netscape.com
7d7854cb51 108774. r/sr=bienvenu. Make copying multiple messages work for 2nd pop3 acct. 2001-11-14 05:06:02 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
dbaron%fas.harvard.edu
8cd8d91750 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
naving%netscape.com
72ddbbca6d 104610 r=bienvenu sr=sspitzer Make sure that mSubFolders array does not have duplicates. 2001-11-06 05:35:42 +00:00
naving%netscape.com
14e2c57ec3 108276. Open the mailbox in PR_RDONLY mode because only read operations are done using
this connection. should cut down closing mailbox (PR_Close()) time.
2001-11-06 04:25:28 +00:00
ducarroz%netscape.com
fc756976ca Fix for bug 104989: Allow the compose window to be recycled instead of closing it, that will save us precious time next time we need a new compose window. Also include fix for bug 108270: Remove ReleaseMessageServiceFromURI. R=varada, SR=sspitzer 2001-11-03 04:42:19 +00:00
bienvenu%netscape.com
651e6d9d3e fix for empty local trash when you've not opened the trash or deleted a message in the session, r=naving, sr=sspitzer 107187 2001-10-31 03:56:15 +00:00
jaggernaut%netscape.com
f02611e9eb Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-29 09:27:57 +00:00
mkaply%us.ibm.com
a6ca58ad96 Strange - this one builds on the TB but fails locally, one more ugly link order change 2001-10-28 16:16:38 +00:00
sfraser%netscape.com
72ca9383ae Clean up static linkage with unichar utils (bug 100214) for alecf. r=fm, sr=alecf 2001-10-26 23:34:53 +00:00
alecf%netscape.com
491fe6b2bd Added files: mozilla/intl/unicharutils/util/nsUnicharUtils.cpp 2001-10-26 03:37:38 +00:00
alecf%netscape.com
8b0ceb8c3c final makefile.win changes for bug 100214, just adding some REQUIRES to be used soon 2001-10-26 03:18:09 +00:00
bienvenu%netscape.com
1397acb0a3 fix crash with move mail by using an nsCOMPtr to hold the ref r=naving, sr=sspitzer 104398 2001-10-26 03:13:41 +00:00
bienvenu%netscape.com
e570c61bb7 bulletproof for crash with filters and movemail r=adam@gimp.org, sr=sspitzer 2001-10-25 02:26:16 +00:00
naving%netscape.com
1436cf66f1 106160. r=sspitzer sr=bienvenu fix a crash on reading local messages, the fix is not to loadURL if we cannot
get a msgHdr for the message.
2001-10-23 23:41:47 +00:00
alecf%netscape.com
c8469b7ac5 bug 100214 - add libunicharutil_s to all unix projects that require it, r=cls 2001-10-22 20:44:02 +00:00
bienvenu%netscape.com
cb48a3af3a fix crash after renaming local folder while it's being reparsed r=naving, sr=sspitzer 105108 2001-10-20 23:11:02 +00:00
naving%netscape.com
051a5a2256 105162 r=racham sr=mscott. Make download message size pref work for pop3 again. Remove unused pref. 2001-10-17 04:53:23 +00:00
bienvenu%netscape.com
17ced4d610 fix crash in close row object on empty local trash rs=sspitzer 104659 2001-10-16 03:05:34 +00:00
alecf%netscape.com
bd048504df convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
naving%netscape.com
ea18234e39 102751 r=bienvenu sr=sspitzer. If a localfolder's db is outdated, parse the folder and then compact the
folder to avoid dataloss.
2001-10-11 00:00:20 +00:00
sspitzer%netscape.com
135f5f1c77 remove unneeded crud. rs=bienvenu 2001-10-10 19:23:15 +00:00
cavin%netscape.com
4bfbe5059a Bug #14295: (1) Add 'realHostName' and 'realUsername' to nsIMsgIncomingServer and reflect them
in prefs (ex: mail.server.server1.realHostName). (2) The getters for the new attributes call
GetHostName() and GetUsername() if prefs is not set. (3) Change GetHostName() and GetUsername()
to GetRealHostName() and GetRealUsername() at places where we open connections or send the
username to servers. (4) Prevent users from changing an account to one that already exists.
(5) After the change is validated, close all open connections and clear all stored passwords,
plus modify the account name based on the new user/server name. r=ssiptzer, sr=bienvenu.
2001-10-09 19:20:31 +00:00
bienvenu%netscape.com
39f9c789a8 fix 10K leak when filtering multiple pop message r=naving, sr=sspitzer 103614 2001-10-08 22:26:02 +00:00
jaggernaut%netscape.com
0c2b3bc449 Bug 81444: eliminate |null_nsCOMPtr|. Eliminating all callers, r=syd, rs=mozbot. 2001-10-07 10:58:39 +00:00
sspitzer%netscape.com
a88fa8fca1 fix for #103446. improve folder pane perfomance by not calling
SetPrefFlags() *every time* GetSubFolders() is called.

that's really expensive (we copy all the urls from the identity) and we get
access prefs.  not something we should do when painting.

r/sr=bienvenu
2001-10-06 08:38:19 +00:00
dbaron%fas.harvard.edu
9a4acbab7a Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf 2001-10-02 03:18:08 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
bienvenu%netscape.com
bc9f2d4a03 fix mem leak of msg hdr when pop filters fire rs=sspitzer 101763 2001-09-29 03:41:41 +00:00
naving%netscape.com
d9dc0205f3 94968 r=bienvenu sr=sspitzer. Add error messages in cases where filter disables itself because it cannot
find the folder or filtering fails due to some other reasons.
2001-09-28 23:02:05 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
naving%netscape.com
2697a939d7 93968 100037 r=bienvenu sr=sspitzer. Ask for confirmation dialog for folders that have an
associated filter and warn user if folder is renamed/deleted/moved. Also fixed
some of D&D folder problems and cleaned up the stringBundle code in base/util.
2001-09-27 02:47:03 +00:00
cls%seawood.org
9bdf2eb594 Make -DHAVE_MOVEMAIL localized to mailnews.
Bug #58117 r=jag
2001-09-22 00:26:48 +00:00
bienvenu%netscape.com
6d9db967aa fix move from imap to local folder marking dest message read rs=sspitzer 2001-09-22 00:14:19 +00:00
naving%netscape.com
b69f52f2ef 95584 r=bienvenu sr=mscott. Made it so that compacting folders and downnloading messages do not
overwrite each others data.
2001-09-20 03:07:59 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
naving%netscape.com
816ce9e9b3 98650 r/sr=mscott. Look for only '\n' as endOfLine char. This will fix
the problem of not getting mail from one specific account. At the same time
it should increase performance where ever reading buffer is involved in
mailnews because PL_strstr is changed to PL_strchr.
2001-09-16 23:55:32 +00:00
sspitzer%netscape.com
933c248171 fix for #99657. change biff url from pop3://user@host:port?check to pop3://user@host:port?/check
the first url isn't valid (w.r.t. our parser) so we'll fail to biff.  r=bbaetz, sr=darin.
2001-09-14 21:30:23 +00:00
darin%netscape.com
5a2d9f0d2d checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin
2001-09-13 02:21:05 +00:00
alecf%netscape.com
19e1c9490b Update mailnews REQUIRES and MODULEs for bug 98371, r=cls 2001-09-12 20:30:32 +00:00
bienvenu%netscape.com
569e6b3604 fix topcrash when you delete a local folder while it's being reparsed rs=sspitzer 90253 2001-09-11 01:30:44 +00:00
alecf%netscape.com
b096718382 add REQUIRES support to mailnews b=98371 r=cls 2001-09-10 20:42:53 +00:00
andreas.otte%primus-online.de
8271ce3a1d fix bug 94796 [code cleanup in nsURLHelper.cpp] remove nsURLEscape/nsURLUnescape from nsURLHelper and replace all usage with nsStdEscape/nsStdUnescape, r=ccarlen@netscape.com, sr=dougt@netscape.com 2001-09-08 12:47:05 +00:00
naving%netscape.com
d0787367b1 fix whitespace from last checkin 2001-09-08 01:12:36 +00:00
naving%netscape.com
0c703bc57c 98391 98470 r=bienvenu sr=sspitzer. Make rename folder work again for folders having
subfolders. Also make filters work for a local folder whose parent is renamed.
2001-09-08 00:40:05 +00:00
hwaara%chello.se
8fa80704fa #97834, checking in the final change to not mark a msg as read in the db if it already is...
r/sr=bienvenu, sspitzer
2001-09-06 19:20:49 +00:00
naving%netscape.com
5d1bc9f720 98377 r/sr=bienvenu fix nsMsgMailNewsUrl mlk on copying local messages. 2001-09-06 04:41:03 +00:00
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
naving%netscape.com
f7ea9d11f9 67836 r/sr=sspitzer. Use PL_strchr instead of PL_strstr for finding end of line. 2001-09-04 23:30:06 +00:00
naving%netscape.com
4044a1f023 97530 r=cavin sr=bienvenu. Save the filterlist if the destination folder for a
filter has been renamed/deleted.
2001-09-04 23:19:39 +00:00
naving%netscape.com
fe799ffba7 97246 r=suresh sr=mscott a=asa. check m_runningUrl for null because OnStopRequest may be called after
socket is closed.
97553 r=cavin sr=mscott a=asa. Increase the copy buffer size from 4k to 16K because fileTransport can
give us upto 16k, should make copying of local messages faster.
2001-08-30 06:09:06 +00:00
bienvenu%netscape.com
1c6ede373a attempt to fix linux bustage 2001-08-22 04:04:02 +00:00
bienvenu%netscape.com
0f1882e174 attempt to fix linux bustage 2001-08-22 04:03:37 +00:00
bienvenu%netscape.com
ab0f4b4f49 attempt to fix linux bustage 2001-08-22 04:02:12 +00:00
bienvenu%netscape.com
29c35bc365 fix 95601 crash after getting new pop mail before selecting pop inbox r=naving, sr=sspitzer 2001-08-22 03:53:31 +00:00
naving%netscape.com
7957b8d886 88251 r=bienvenu sr=sspitzer. Maintain the sort-order etc when emptying local trash. 2001-08-21 21:06:40 +00:00
naving%netscape.com
14b40d01c0 95720 r/sr=bienvenu. Make minor change to pop3 NSPR_LOG 2001-08-17 22:38:26 +00:00
sspitzer%netscape.com
4ef0c7c0c5 fix for #94288. no refresh after compacting a local folder. r/sr=bienvenu 2001-08-15 04:51:22 +00:00
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
naving%netscape.com
8e189caf7b 94662 r=bienvenu sr=mscott. Make Undo/Redo work for the imap::delete model.
94830 r=bienvenu sr=mscott. fix msg_service leak on copying messages.
2001-08-14 00:05:19 +00:00
bienvenu%netscape.com
52dade5132 fix for moving local messages/compacting local folders slow on linux 94602 rs=sspitzer 2001-08-10 14:05:29 +00:00
bienvenu%netscape.com
62d3c3bda8 back out andreas local mail change for fix for 40670, it breaks local mail r=me 2001-08-08 14:15:40 +00:00
naving%netscape.com
a7ee915b06 94226 r/sr=bienvenu. Use NS_IF_RELEASE to destroy m_newMailParser and refcount m_newMailParser 2001-08-08 04:01:19 +00:00