I hope it will be useful:
unixfs.patch - is a bug fix adding missing return value in
UnixFilesystem::GetTemporaryFolderI
xmppthread-usability.patch - makers possible to derive useful classes
form XmppThread
syntaxerros.patch - fixes syntax errors when compiling with GCC 4.1
ssl-login-fix.patch - without this SSL authentication is not working
when using XmppThread
Enjoy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-talk-open" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-talk-open?hl=en
-~----------~----~----~----~------~----~------~--~---
--- ../oldj/libjingle-0.4.0/talk/base/unixfilesystem.cc 2007-02-02 06:07:25.000000000 +0100
+++ ./talk/base/unixfilesystem.cc 2007-12-07 14:51:11.000000000 +0100
@@ -111,6 +111,7 @@
if (create)
CreateFolder(pathname);
}
+ return true;
}
std::string UnixFilesystem::TempFilenameI(const Pathname &dir, const std::string &prefix) {
--- ../oldj/libjingle-0.4.0/talk/examples/login/xmppthread.h 2007-02-02 06:07:33.000000000 +0100
+++ ./talk/examples/login/xmppthread.h 2007-12-11 22:35:53.000000000 +0100
@@ -35,7 +35,7 @@
#include <iostream>
class XmppThread:
- public talk_base::Thread, XmppPumpNotify, talk_base::MessageHandler {
+ public talk_base::Thread, protected XmppPumpNotify, protected talk_base::MessageHandler {
public:
XmppThread();
~XmppThread();
@@ -47,7 +47,7 @@
void Login(const buzz::XmppClientSettings & xcs);
void Disconnect();
-private:
+protected:
XmppPump* pump_;
void OnStateChange(buzz::XmppEngine::State state);
--- ../oldj/libjingle-0.4.0/talk/base/base64.h 2007-02-02 06:07:22.000000000 +0100
+++ ./talk/base/base64.h 2007-12-06 14:09:41.000000000 +0100
@@ -23,8 +23,8 @@
static std::string decode(const std::string & data);
static std::string encodeFromArray(const char * data, size_t len);
private:
- static const std::string Base64::Base64Table;
- static const std::string::size_type Base64::DecodeTable[];
+ static const std::string Base64Table;
+ static const std::string::size_type DecodeTable[];
};
} // namespace talk_base
--- ../oldj/libjingle-0.4.0/talk/base/stringutils.h 2007-02-02 06:07:22.000000000 +0100
+++ ./talk/base/stringutils.h 2007-12-06 14:08:56.000000000 +0100
@@ -269,7 +269,7 @@
template<>
struct Traits<char> {
typedef std::string string;
- inline static const char* Traits<char>::empty_str() { return ""; }
+ inline static const char* empty_str() { return ""; }
};
///////////////////////////////////////////////////////////////////////////////
--- ../oldj/libjingle-0.4.0/talk/p2p/base/sessionmanager.h 2007-02-02 06:07:27.000000000 +0100
+++ ./talk/p2p/base/sessionmanager.h 2007-12-06 14:18:28.000000000 +0100
@@ -156,7 +156,7 @@
// Creates and returns an error message from the given components. The
// caller is responsible for deleting this.
- buzz::XmlElement* SessionManager::CreateErrorMessage(
+ buzz::XmlElement* CreateErrorMessage(
const buzz::XmlElement* stanza,
const buzz::QName& name,
const std::string& type,
--- ../oldj/libjingle-0.4.0/talk/xmpp/xmppclient.h 2007-02-02 06:07:26.000000000 +0100
+++ ./talk/xmpp/xmppclient.h 2007-12-06 14:15:19.000000000 +0100
@@ -138,7 +138,7 @@
}
}
- std::string XmppClient::GetStateName(int state) const {
+ std::string GetStateName(int state) const {
switch (state) {
case STATE_PRE_XMPP_LOGIN: return "PRE_XMPP_LOGIN";
case STATE_START_XMPP_LOGIN: return "START_XMPP_LOGIN";
--- ../oldj/libjingle-0.4.0/talk/examples/login/xmppthread.cc 2007-02-02 06:07:33.000000000 +0100
+++ ./talk/examples/login/xmppthread.cc 2007-12-09 22:21:18.000000000 +0100
@@ -70,7 +70,7 @@
if (pmsg->message_id == MSG_LOGIN) {
assert(pmsg->pdata);
LoginData* data = reinterpret_cast<LoginData*>(pmsg->pdata);
- pump_->DoLogin(data->xcs, new XmppSocket(false), new XmppAuth());
+ pump_->DoLogin(data->xcs, new XmppSocket(data->xcs.use_tls()), 0); // new XmppAuth());
delete data;
} else if (pmsg->message_id == MSG_DISCONNECT) {
pump_->DoDisconnect();