Introduce support for a table of key/value pairs with further configuration options,

with the same userinterface as in the logging interface.

Not really tested, but tests still work.
This commit is contained in:
Bernhard Amann 2012-06-28 16:16:48 -07:00
parent 227159fd04
commit f820ee9f5c
19 changed files with 173 additions and 26 deletions

View file

@ -4,6 +4,8 @@ print A::description;
print A::tpe;
print A::i;
print A::b;
}, config={
}]
Input::EVENT_NEW
1
@ -14,6 +16,8 @@ print A::description;
print A::tpe;
print A::i;
print A::b;
}, config={
}]
Input::EVENT_NEW
2
@ -24,6 +28,8 @@ print A::description;
print A::tpe;
print A::i;
print A::b;
}, config={
}]
Input::EVENT_NEW
3
@ -34,6 +40,8 @@ print A::description;
print A::tpe;
print A::i;
print A::b;
}, config={
}]
Input::EVENT_NEW
4
@ -44,6 +52,8 @@ print A::description;
print A::tpe;
print A::i;
print A::b;
}, config={
}]
Input::EVENT_NEW
5
@ -54,6 +64,8 @@ print A::description;
print A::tpe;
print A::i;
print A::b;
}, config={
}]
Input::EVENT_NEW
6
@ -64,6 +76,8 @@ print A::description;
print A::tpe;
print A::i;
print A::b;
}, config={
}]
Input::EVENT_NEW
7

View file

@ -4,6 +4,8 @@ print outfile, description;
print outfile, tpe;
print outfile, s;
close(outfile);
}, config={
}]
Input::EVENT_NEW
8 ../input.log

View file

@ -3,6 +3,8 @@
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
sdfkh:KH;fdkncv;ISEUp34:Fkdj;YVpIODhfDF
@ -11,6 +13,8 @@ sdfkh:KH;fdkncv;ISEUp34:Fkdj;YVpIODhfDF
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
DSF"DFKJ"SDFKLh304yrsdkfj@#(*U$34jfDJup3UF
@ -19,6 +23,8 @@ DSF"DFKJ"SDFKLh304yrsdkfj@#(*U$34jfDJup3UF
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
q3r3057fdf
@ -27,6 +33,8 @@ q3r3057fdf
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
sdfs\d
@ -35,6 +43,8 @@ sdfs\d
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
@ -43,6 +53,8 @@ Input::EVENT_NEW
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
dfsdf
@ -51,6 +63,8 @@ dfsdf
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
sdf
@ -59,6 +73,8 @@ sdf
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
3rw43wRRERLlL#RWERERERE.

View file

@ -46,6 +46,8 @@ print A::outfile, A::typ;
print A::outfile, A::left;
print A::outfile, A::right;
return (T);
}, config={
}]
Type
Input::EVENT_NEW
@ -139,6 +141,8 @@ print A::outfile, A::typ;
print A::outfile, A::left;
print A::outfile, A::right;
return (T);
}, config={
}]
Type
Input::EVENT_NEW
@ -244,6 +248,8 @@ print A::outfile, A::typ;
print A::outfile, A::left;
print A::outfile, A::right;
return (T);
}, config={
}]
Type
Input::EVENT_CHANGED
@ -469,6 +475,8 @@ print A::outfile, A::typ;
print A::outfile, A::left;
print A::outfile, A::right;
return (T);
}, config={
}]
Type
Input::EVENT_NEW
@ -592,6 +600,8 @@ print A::outfile, A::typ;
print A::outfile, A::left;
print A::outfile, A::right;
return (T);
}, config={
}]
Type
Input::EVENT_NEW
@ -715,6 +725,8 @@ print A::outfile, A::typ;
print A::outfile, A::left;
print A::outfile, A::right;
return (T);
}, config={
}]
Type
Input::EVENT_NEW
@ -838,6 +850,8 @@ print A::outfile, A::typ;
print A::outfile, A::left;
print A::outfile, A::right;
return (T);
}, config={
}]
Type
Input::EVENT_NEW
@ -961,6 +975,8 @@ print A::outfile, A::typ;
print A::outfile, A::left;
print A::outfile, A::right;
return (T);
}, config={
}]
Type
Input::EVENT_NEW

View file

@ -3,6 +3,8 @@
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
sdfkh:KH;fdkncv;ISEUp34:Fkdj;YVpIODhfDF
@ -11,6 +13,8 @@ sdfkh:KH;fdkncv;ISEUp34:Fkdj;YVpIODhfDF
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
DSF"DFKJ"SDFKLh304yrsdkfj@#(*U$34jfDJup3UF
@ -19,6 +23,8 @@ DSF"DFKJ"SDFKLh304yrsdkfj@#(*U$34jfDJup3UF
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
q3r3057fdf
@ -27,6 +33,8 @@ q3r3057fdf
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
sdfs\d
@ -35,6 +43,8 @@ sdfs\d
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
@ -43,6 +53,8 @@ Input::EVENT_NEW
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
dfsdf
@ -51,6 +63,8 @@ dfsdf
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
sdf
@ -59,6 +73,8 @@ sdf
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
3rw43wRRERLlL#RWERERERE.
@ -67,6 +83,8 @@ Input::EVENT_NEW
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
sdfkh:KH;fdkncv;ISEUp34:Fkdj;YVpIODhfDF
@ -75,6 +93,8 @@ sdfkh:KH;fdkncv;ISEUp34:Fkdj;YVpIODhfDF
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
DSF"DFKJ"SDFKLh304yrsdkfj@#(*U$34jfDJup3UF
@ -83,6 +103,8 @@ DSF"DFKJ"SDFKLh304yrsdkfj@#(*U$34jfDJup3UF
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
q3r3057fdf
@ -91,6 +113,8 @@ q3r3057fdf
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
sdfs\d
@ -99,6 +123,8 @@ sdfs\d
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
@ -107,6 +133,8 @@ Input::EVENT_NEW
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
dfsdf
@ -115,6 +143,8 @@ dfsdf
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
sdf
@ -123,6 +153,8 @@ sdf
print A::description;
print A::tpe;
print A::s;
}, config={
}]
Input::EVENT_NEW
3rw43wRRERLlL#RWERERERE.

View file

@ -10,6 +10,8 @@ close(A::outfile);
Input::remove(input);
}
}, config={
}]
Input::EVENT_NEW
sdfkh:KH;fdkncv;ISEUp34:Fkdj;YVpIODhfDF
@ -25,6 +27,8 @@ close(A::outfile);
Input::remove(input);
}
}, config={
}]
Input::EVENT_NEW
DSF"DFKJ"SDFKLh304yrsdkfj@#(*U$34jfDJup3UF
@ -40,6 +44,8 @@ close(A::outfile);
Input::remove(input);
}
}, config={
}]
Input::EVENT_NEW
q3r3057fdf
@ -55,6 +61,8 @@ close(A::outfile);
Input::remove(input);
}
}, config={
}]
Input::EVENT_NEW
sdfs\d
@ -70,6 +78,8 @@ close(A::outfile);
Input::remove(input);
}
}, config={
}]
Input::EVENT_NEW
@ -85,6 +95,8 @@ close(A::outfile);
Input::remove(input);
}
}, config={
}]
Input::EVENT_NEW
dfsdf
@ -100,6 +112,8 @@ close(A::outfile);
Input::remove(input);
}
}, config={
}]
Input::EVENT_NEW
sdf
@ -115,6 +129,8 @@ close(A::outfile);
Input::remove(input);
}
}, config={
}]
Input::EVENT_NEW
3rw43wRRERLlL#RWERERERE.

View file

@ -12,7 +12,9 @@ print description;
print tpe;
print left;
print right;
}, pred=<uninitialized>]
}, pred=<uninitialized>, config={
}]
Input::EVENT_NEW
[i=1]
T
@ -30,7 +32,9 @@ print description;
print tpe;
print left;
print right;
}, pred=<uninitialized>]
}, pred=<uninitialized>, config={
}]
Input::EVENT_NEW
[i=2]
T
@ -48,7 +52,9 @@ print description;
print tpe;
print left;
print right;
}, pred=<uninitialized>]
}, pred=<uninitialized>, config={
}]
Input::EVENT_NEW
[i=3]
F
@ -66,7 +72,9 @@ print description;
print tpe;
print left;
print right;
}, pred=<uninitialized>]
}, pred=<uninitialized>, config={
}]
Input::EVENT_NEW
[i=4]
F
@ -84,7 +92,9 @@ print description;
print tpe;
print left;
print right;
}, pred=<uninitialized>]
}, pred=<uninitialized>, config={
}]
Input::EVENT_NEW
[i=5]
F
@ -102,7 +112,9 @@ print description;
print tpe;
print left;
print right;
}, pred=<uninitialized>]
}, pred=<uninitialized>, config={
}]
Input::EVENT_NEW
[i=6]
F
@ -120,7 +132,9 @@ print description;
print tpe;
print left;
print right;
}, pred=<uninitialized>]
}, pred=<uninitialized>, config={
}]
Input::EVENT_NEW
[i=7]
T