Skip to content

Instantly share code, notes, and snippets.

View justjanne's full-sized avatar

Janne Mareike Koschinski justjanne

View GitHub Profile
diff --git a/src/common/protocols/datastream/datastreampeer.cpp b/src/common/protocols/datastream/datastreampeer.cpp
index d3bd110..59a566c 100644
--- a/src/common/protocols/datastream/datastreampeer.cpp
+++ b/src/common/protocols/datastream/datastreampeer.cpp
@@ -63,6 +63,8 @@ void DataStreamPeer::processMessage(const QByteArray &msg)
close("Peer sent corrupt data, closing down!");
return;
}
+
+ qWarning() << list;
{
"CoreInfo": "<b>Quassel Core Version v0.12.2 (dist-<a href=\"http://git.quassel-irc.org/?p=quassel.git;a=commit;h\": 9c5e6c666d5faa976eec2e0ac8bf8e1dd6c0332c\">9c5e6c6</a>)</b><br>Built: Apr 29 2015 22:06:33<br>Up 0d01h21m (since Sa. Nov. 21 15:06:31 2015 GMT)",
"SupportsCompression": false,
"StorageBackends": [
{
"DisplayName": "PostgreSQL",
"SetupDefaults": {
"Hostname": "localhost",
"Database": "quassel",
"Username": "quassel",

EVENT
ConnectionChangeEvent(status=HANDSHAKE, reason=)

DISPATCH
HandshakeFunction(data=ClientInit(ClientDate=Nov 22 2015 18:16:19, UseSsl=false, ClientVersion=v0.12.2 (dist-<a href="http://git.quassel-irc.org/?p=quassel.git;a=commit;h=9c5e6c666d5faa976eec2e0ac8bf8e1dd6c0332c">9c5e6c6</a>), UseCompression=false, ProtocolVersion=10))

HANDLE
ClientInitAck(CoreInfo=<b>Quassel Core Version v0.13-pre (0.12.0+51 git-<a href="http://git.quassel-irc.org/?p=quassel.git;a=commit;h=b49c64970b6237fc95f8ca88c8bb6bcf04c251d7">b49c649</a>)</b><br>Built: Nov 22 2015 00:17:46<br>Up 0d03h43m (since So. Nov 22 13:32:53 2015), SupportSsl=false, Configured=true, LoginEnabled=true, ProtocolVersion=10, SupportsCompression=false, CoreFeatures=31, StorageBackends=[])

EVENT

2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "BufferSyncer") , QVariant(QByteArray, "") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "BufferViewManager") , QVariant(QByteArray, "") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "AliasManager") , QVariant(QByteArray, "") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "NetworkConfig") , QVariant(QByteArray, "GlobalNetworkConfig") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "IgnoreListManager") , QVariant(QByteArray, "") )
2015-11-22 20:06:22 Warning: (QVariant(int, 3) , QVariant(QByteArray, "TransferManager") , QVariant(QByteArray, "") )
2015-11-22 20:06:23 Warning: (QVariant(int, 3) , QVariant(QByteArray, "BufferViewConfig") , QVariant(QByteArray, "0") )
2015-11-22 20:09:03 Warning: (QVariant(int, 3) , QVariant(QByteArray, "Network") , QVariant(QByteArray, "1") )
2015-11-22 20:09:09 Warning:
[
"INITDATA",
"Network",
"1",
"IrcUsersAndChannels",
{
"Channels":{
"ChanModes":{
"A":{
[
4,
"Network",
"1",
"IrcUsersAndChannels",
{
"Channels":{
"ChanModes":[
{
"A":{
diff --git a/src/common/protocol.h b/src/common/protocol.h
index ba70530..afdb598 100644
--- a/src/common/protocol.h
+++ b/src/common/protocol.h
@@ -37,8 +37,10 @@ enum Type {
enum Feature {
- Encryption = 0x01,
- Compression = 0x02
@justjanne
justjanne / XGH - en.md
Last active January 24, 2016 19:50 — forked from banaslee/XGH - en.txt
eXtreme Go-Horse Process

eXtreme Go Horse (XGH) Process

Source: http://gohorseprocess.wordpress.com

  1. I think therefore it's not XGH.
    In XGH you don't think, you do the first thing that comes to your mind. There's not a second option as the first one is faster.

  2. There are 3 ways of solving a problem: the right way, the wrong way and the XGH way which is exactly like the first one but faster.

@justjanne
justjanne / Aufgabe 1.md
Last active January 24, 2016 22:52
Abgabe 10

Aufgabe 1

Vorüberlegungen:

Die Datenstruktur "Array" bietet für Blackboxtests immer sinnvollerweise schon mal die Äquivalenzklassen "leer", "ein Element", "ein paar Elemente" und "sehr langes Array". Die Pre-Condition ist nicht zu testen, sie muss nur zur

@PreferenceWrapper(BuildConfig.APPLICATION_ID)
public abstract class Settings {
@Preference(key="pref_theme_id") String themeId;
@Preference boolean fullHostmask;
int textSize;
}