Karl-Heinz Zimmer
a00c192598
Make it compile, but am *not* sure if my solution is really correct.
...
svn path=/trunk/kdenetwork/kmail/; revision=181295
24 years ago
Stephan Kulow
20e33e1800
trying to fix this crash:
...
#0 0x4013ea80 in QGuardedPtrPrivate::object() const (this=0x0)
at /coolo/prod/qt-copy/include/qguardedptr.h:131
#1 0x4016b352 in QGuardedPtr<KMAcctImap>::operator KMAcctImap*() const (this=0x91627f8)
at /coolo/prod/qt-copy/include/qguardedptr.h:112
#2 0x4016afd4 in KMFolderImap::account() (this=0x91626c0)
at /coolo/prod/kdenetwork/kmail/kmfolderimap.h:103
#3 0x40245146 in KMImapJob::slotGetMessageResult(KIO::Job*) (this=0x8bf1ef0,
job=0x8adbc18) at /coolo/prod/kdenetwork/kmail/kmfolderimap.cpp:1163
- KMAcctImap *account = static_cast<KMFolderImap*>(mMsg->parent())->account();
+ KMMessage *msg = mMsgList.first();
+ KMFolderImap * folder = static_cast<KMFolderImap*>(msg->parent());
+ if (!folder) // guarded ptr - can be 0
+ return;
+ KMAcctImap *account = folder->account();
(there seems to be more places in the code where this construct is used though)
CCMAIL: kmail@kde.org
svn path=/trunk/kdenetwork/kmail/; revision=181228
24 years ago
Marc Mutz
1797cc1c02
bugfix: reply-to-list didn't when the folder was not configured to hold a ml. Now, we check the list-post header, too.
...
svn path=/trunk/kdenetwork/kmail/; revision=181142
24 years ago
Ingo Klcker
69879afd51
Message cleanup in composer as proposed on kmail@kde.org
...
svn path=/trunk/kdenetwork/kmail/; revision=181070
24 years ago
Ingo Klcker
7a7252658e
Move OpenPGP related configuration options to the OpenPGP configuration
...
svn path=/trunk/kdenetwork/kmail/; revision=181054
24 years ago
Michael Haeckel
17a590bd32
CCMAIL: 48405-fixed@bugs.kde.org
...
Don't try to display things inline that can't be displayed.
svn path=/trunk/kdenetwork/kmail/; revision=181046
24 years ago
Script Kiddy
ce43d9022a
CVS_SILENT made messages
...
svn path=/trunk/kdenetwork/kmail/; revision=180864
24 years ago
Michael Haeckel
484e2d8687
Hopefully this time it is accepted by everybody.
...
svn path=/trunk/kdenetwork/kmail/; revision=180815
24 years ago
Ingo Klcker
648468e826
Make sure that messages which are sent again get a new Message-Id
...
svn path=/trunk/kdenetwork/kmail/; revision=180796
24 years ago
Zack Rusin
77edb9003a
QCString::replace only in Qt 3.1 - compile fixes.
...
svn path=/trunk/kdenetwork/kmail/; revision=180755
24 years ago
Stephan Kulow
f7b6bca3c3
taking over the solution as found in the branch
...
svn path=/trunk/kdenetwork/kmail/; revision=180631
24 years ago
Thomas Leitner
aa3aa1e5f2
fixed the fix
...
svn path=/trunk/kdenetwork/kmail/; revision=180566
24 years ago
Thomas Leitner
7961958bdf
tru64 fix
...
svn path=/trunk/kdenetwork/kmail/; revision=180564
24 years ago
Zack Rusin
e69a350bf5
Backporting from make_it_cool. That brings two questions:
...
- is there a neater way of dealing with this,
- the email that was showing the problem sent to me by Martijn, showed one
other problem - how should be handle wordwrapping? Should we break the
format of the email while replaying to it or keep the format the way it was?
Currently we break it, to fit our wordwrapping standards.
svn path=/trunk/kdenetwork/kmail/; revision=180553
24 years ago
Zack Rusin
78846a080b
Backporting from make_it_cool.
...
svn path=/trunk/kdenetwork/kmail/; revision=180461
24 years ago
Ingo Klcker
30e1f40ba6
Make displaying the receiver column work again:
...
- if (mFolder && (mFolder->whoField().lower() == QString::fromLatin1("To")))
+ if (mFolder && (mFolder->whoField().lower() == "to"))
Who broke this? ... You look good with this brown paper bag. ;-þ
svn path=/trunk/kdenetwork/kmail/; revision=180440
24 years ago
Ingo Klcker
fb1b7c73d8
Don't overwrite header values with identity specific values (e. g. when editting a message). For some reason blocking signals didn't work. Therefore we do it now the ugly way, disconnecting and connecting the appropriate signal.
...
svn path=/trunk/kdenetwork/kmail/; revision=180434
24 years ago
Marc Mutz
4500001e47
- kdDebug(5006) << "Compacting " << endl;
...
+ kdDebug(5006) << "Compacting " << idString() << endl;
svn path=/trunk/kdenetwork/kmail/; revision=180418
24 years ago
Ingo Klcker
7979617246
Fix Bug 44980: "Fixed Font Widths" is disabled when "Configure KMail" window is closed
...
and
Bug 39876: kmail->view->fixed font size (option should be kept permanently if selected)
svn path=/trunk/kdenetwork/kmail/; revision=180407
24 years ago
Stephan Kulow
88bfc68270
backporting the initializing of the variable
...
svn path=/trunk/kdenetwork/kmail/; revision=180340
24 years ago
Stephan Kulow
ada56bde7e
preventing crash again
...
- if (curMsgSerNum != msg->getMsgSerNum())
+ if (msg && curMsgSerNum != msg->getMsgSerNum())
CCMAIL: 48258-close@bugs.kde.org
svn path=/trunk/kdenetwork/kmail/; revision=180269
24 years ago
Ingo Klcker
361f66ac83
Fix Bug 45317: search all local folders loops forever
...
It helps if one doesn't search folders recursively when one anyway searches all folders linearly. ;-) This was caused by the fact that the default value for the recursive parameter of searchInFolder was true. I removed this default value to prevent further stupid bugs. Additionally we now use an iterator to iterate over the folders instead of a for(int i=0; folders.at(i) != folders.end(); ++i).
svn path=/trunk/kdenetwork/kmail/; revision=180222
24 years ago
Malcolm Hunter
90ac0c1802
Translator comments to make two sets of strings unique
...
svn path=/trunk/kdenetwork/kmail/; revision=180211
24 years ago
Michael Haeckel
95ef6a8e1c
Make coolo's commits compiling.
...
svn path=/trunk/kdenetwork/kmail/; revision=180153
24 years ago
Stephan Kulow
00678038de
preventing crash. not sure how it could happen, but the check for 0
...
is cheap
svn path=/trunk/kdenetwork/kmail/; revision=180118
24 years ago
Stephan Kulow
0ca647a18e
applying fix suggested by #45314 - don't let the network explode
...
- passwd *pw;
- setpwent();
- while ((pw = getpwent()))
+ passwd *pw = getpwnam(username.local8Bit());
+ if (pw)
{
- if (qstrcmp(pw->pw_name, username.local8Bit()) == 0)
- {
svn path=/trunk/kdenetwork/kmail/; revision=180117
24 years ago
Scott Wheeler
b78728cdba
Make it build:
...
Index: certificatehandlingdialogimpl.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/certificatehandlingdialogimpl.cpp,v
retrieving revision 1.3
diff -u -3 -p -r1.3 certificatehandlingdialogimpl.cpp
--- certificatehandlingdialogimpl.cpp 2002/09/24 07:47:36 1.3
+++ certificatehandlingdialogimpl.cpp 2002/09/24 12:18:35
+#include <kdebug.h>
Index: certificatewizardimpl.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/certificatewizardimpl.cpp,v
retrieving revision 1.3
diff -u -3 -p -r1.3 certificatewizardimpl.cpp
--- certificatewizardimpl.cpp 2002/09/24 07:47:36 1.3
+++ certificatewizardimpl.cpp 2002/09/24 12:18:35
+#include <kdebug.h>
+
svn path=/trunk/kdenetwork/kmail/; revision=180095
24 years ago
Stephan Kulow
fe1bbc481b
adding .latin1() here too, so that gcc can evaluate the ?: expression
...
svn path=/trunk/kdenetwork/kmail/; revision=180058
24 years ago
Stephan Kulow
7fc0e414c8
replacing quite some tons of qDebug calls with kdDebug calls
...
svn path=/trunk/kdenetwork/kmail/; revision=180042
24 years ago
Karl-Heinz Zimmer
db50273860
fixed typo
...
svn path=/trunk/kdenetwork/kmail/; revision=179950
24 years ago
Karl-Heinz Zimmer
acf5a27b75
Using the change for making i18n-related changes: Fixed name of color listbox's entry on KMail Appearance configuration page: now saying "HTML status bar" instead of old (misleading) "color bar"., changed the text of the colorbar enabel/disable checkbox accordingly, also fixed type in the HTML status bar's text: "No HTML message" with capital N.
...
svn path=/trunk/kdenetwork/kmail/; revision=179939
24 years ago
Carsten Burghardt
accd510c62
Dont block new-mail-checks when the kioslaves are killed. Approved by Michael
...
svn path=/trunk/kdenetwork/kmail/; revision=179910
24 years ago
Stephan Kulow
7e8f2697ac
more initializing
...
- int version;
- fscanf(sortStream, KMAIL_SORT_HEADER, &version);
+ int version = 0;
+ if (fscanf(sortStream, KMAIL_SORT_HEADER, &version) != 1)
+ version = -1;
svn path=/trunk/kdenetwork/kmail/; revision=179874
24 years ago
Stephan Kulow
a760433281
one char* less, perhaps somewhen kmail uses only three string types
...
svn path=/trunk/kdenetwork/kmail/; revision=179871
24 years ago
Stephan Kulow
fc6a53816a
replacing the setEncryptionStatus(char*) functions that are very likely
...
to be called with dangling points with functions called with QChar
arguments, that are safer and easier to program too
svn path=/trunk/kdenetwork/kmail/; revision=179849
24 years ago
Stephan Kulow
4ff89614e3
_very_ evil!!
...
- const char* c = msg->headerField( "X-KMail-EncryptionState" ).latin1();
- if( c )
- msg->setEncryptionState( c );
- c = msg->headerField( "X-KMail-SignatureState" ).latin1();
- if( c )
- msg->setSignatureState( c );
+ QString c = msg->headerField( "X-KMail-EncryptionState" );
+ if( !c.isEmpty() )
+ msg->setEncryptionState( c.latin1() );
+ c = msg->headerField( "X-KMail-SignatureState" );
+ if( !c.isEmpty() )
+ msg->setSignatureState( c.latin1() );
svn path=/trunk/kdenetwork/kmail/; revision=179841
24 years ago
Stephan Kulow
9070383368
do readConfig() only after having finished initializing variables
...
svn path=/trunk/kdenetwork/kmail/; revision=179840
24 years ago
Stephan Kulow
97cae9d35a
- this, SLOT(slotDelayedDestruct()) );
...
+ this, SLOT(slotFinished()) );
(and call delayedDestruct() from there) - slotDelayedDestruct is an alias
for "delete this" - you don't want that from slots connected to signals
svn path=/trunk/kdenetwork/kmail/; revision=179810
24 years ago
Script Kiddy
91213ff2a4
CVS_SILENT made messages
...
svn path=/trunk/kdenetwork/kmail/; revision=179809
24 years ago
Aaron J. Seigo
a4ddbb1b3f
port of C-style array -> QPtrList handling of rules from branch to HEAD
...
thanks Ingo =)
svn path=/trunk/kdenetwork/kmail/; revision=179777
24 years ago
Ingo Klcker
082806f86b
Fix [Bug 47432] Saving encrypted mail in drafts destroys non-ASCII characters. Patch by Wolfgang Westphal <wolfgang.westphal@gmx.de>
...
svn path=/trunk/kdenetwork/kmail/; revision=179732
24 years ago
Ingo Klcker
042594c675
Please don't shoot me. Today is obviously not my day.
...
svn path=/trunk/kdenetwork/kmail/; revision=179721
24 years ago
Ingo Klcker
7491ff012f
Actually install the update script which is needed to update the new mail notifications.
...
svn path=/trunk/kdenetwork/kmail/; revision=179720
24 years ago
Ingo Klcker
80458fdc51
Sorry about that. I forgot to add the filename main.cpp on my last commit.
...
svn path=/trunk/kdenetwork/kmail/; revision=179717
24 years ago
Ingo Klcker
01e6125a16
Add Aaron to the list of authors and move Zack's entry where it belongs according to the sort order (which is alphabetical, Karl-Heinz ;-) ).
...
svn path=/trunk/kdenetwork/kmail/; revision=179716
24 years ago
Script Kiddy
5c6cbe119b
CVS_SILENT made messages
...
svn path=/trunk/kdenetwork/kmail/; revision=179608
24 years ago
Stephan Kulow
07312a4c0e
prevent some slots from creating crashing KMCommands.
...
somehow the key actions for e.g. reply aren't disabled correctly, so
that pressing 'R' after kmail startup causes slotReply to be called,
but no current msg to be selected to reply on -> bang.
No idea where the problem came from, but I think crashing is not good
and some of the slots actually check for a selected msg.
svn path=/trunk/kdenetwork/kmail/; revision=179460
24 years ago
Zack Rusin
509cbabddf
Advantage of merging between three branches is that you get to see things
...
that were missed by others - removing some static unused pixmap pointers.
svn path=/trunk/kdenetwork/kmail/; revision=179457
24 years ago
Ingo Klcker
9b756d0aca
Fix Bug 47931: saving attachment uses wrong filename
...
The problem was that we removed '/' from the filename _after_ prepending the previously used save directory.
svn path=/trunk/kdenetwork/kmail/; revision=179447
24 years ago
Script Kiddy
c986b5ce7a
CVS_SILENT made messages
...
svn path=/trunk/kdenetwork/kmail/; revision=179395
24 years ago