- Further speed improvements to the sync process.
- IrcUser null-pointer issue should be history.
}
void IrcChannel::initSetUserModes(const QVariantMap &usermodes) {
- QMapIterator<QString, QVariant> iter(usermodes);
- while(iter.hasNext()) {
- iter.next();
- setUserModes(iter.key(), iter.value().toString());
+ QList<IrcUser *> users;
+ QStringList modes;
+ QVariantMap::const_iterator iter = usermodes.constBegin();
+ while(iter != usermodes.constEnd()) {
+ users << network->newIrcUser(iter.key());
+ modes << iter.value().toString();
+ iter++;
}
+ joinIrcUsers(users, modes);
}
void IrcChannel::ircUserDestroyed() {
emit userModeRemoved(mode);
}
}
-
-void IrcUser::initSetChannels(const QStringList channels) {
- foreach(QString channel, channels) {
- joinChannel(channel);
- }
-}
-
void addUserMode(const QString &mode);
void removeUserMode(const QString &mode);
- // init seters
- void initSetChannels(const QStringList channels);
-
signals:
void userSet(QString user);
void hostSet(QString host);
QString nick(nickFromMask(hostmask).toLower());
if(!_ircUsers.contains(nick)) {
IrcUser *ircuser = new IrcUser(hostmask, this);
- // mark IrcUser as already initialized to keep the SignalProxy from requesting initData
- //if(isInitialized())
- // ircuser->setInitialized();
+
if(proxy())
proxy()->synchronize(ircuser);
else
IrcChannel *Network::newIrcChannel(const QString &channelname) {
if(!_ircChannels.contains(channelname.toLower())) {
IrcChannel *channel = new IrcChannel(channelname, this);
- // mark IrcUser as already initialized to keep the SignalProxy from requesting initData
- //if(isInitialized())
- // channel->setInitialized();
if(proxy())
proxy()->synchronize(channel);
}
void Network::initSetIrcChannels(const QStringList &channels) {
- // FIXME This does not work correctly, "received data for unknown User" triggers
- // So we disable this for now
- return;
-
if(!_ircChannels.empty())
return;
foreach(QString channel, channels)
quasselVersion = "0.2.0-alpha3-pre";
quasselDate = "2008-03-02";
- quasselBuild = 610;
+ quasselBuild = 612;
//! Minimum client build number the core needs
- clientBuildNeeded = 605;
+ clientBuildNeeded = 612;
clientVersionNeeded = quasselVersion;
//! Minimum core build number the client needs
- coreBuildNeeded = 605;
+ coreBuildNeeded = 612;
coreVersionNeeded = quasselVersion;
}