Friday, 2009-06-26

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
*** shenki_ is now known as shenki00:15
*** JLafont has joined #tp00:39
*** jmtan has joined #tp00:39
*** JLafont_ has quit IRC00:40
*** JLafont_ has joined #tp00:41
*** JL has joined #tp00:47
*** jernejovc_ has joined #tp00:50
*** JLafont_ has quit IRC01:00
*** JL has quit IRC01:04
*** jernejovc has quit IRC01:04
*** JLafont has quit IRC01:09
llnzbbl01:15
*** llnz has quit IRC01:15
Greywhindmithro: http://codereview.mithis.com/500101:34
tpbTitle: Issue 5001: Created folding panel view for panelInfo, with panels for each type of information. - Code Review (at codereview.mithis.com)01:34
*** tansell-laptop has quit IRC02:00
*** nash has quit IRC02:43
*** greenlion has joined #tp02:53
*** jmtan has quit IRC03:17
*** Greywhind has quit IRC03:48
*** Erroneous has joined #tp04:10
*** llnz has joined #tp04:13
*** DTRemenak|RDP has quit IRC04:18
chereztansell: Ping?04:45
Landonoh wow its almost 5 already o.O05:41
*** ezod has quit IRC05:54
*** JLafont has joined #tp07:05
*** mithro has quit IRC07:50
*** jmtan has joined #tp07:59
*** alanp_ has joined #tp08:45
*** peres has joined #tp09:04
* llnz wanders off09:23
llnzlater all09:23
*** llnz has quit IRC09:23
*** epyon has joined #tp09:59
*** jmtan has quit IRC10:03
*** ezod has joined #tp10:08
CIA-23epyon tpserver-cpp-refactor * r3cba348e057c /tpserver/ (4 files):10:30
CIA-23Exception classes for system and tls exceptions10:30
CIA-23* badly needed since forever10:30
CIA-23* due to the way that tls connection inherits tsp connection, the10:30
CIA-23exceptions also need to be inherited10:30
CIA-23* exception handling and throwing will follow10:30
*** jernejovc_ is now known as jernejovc10:42
CIA-23epyon tpserver-cpp-refactor * r87d063c3232f /tpserver/ (4 files): Corrections in exception definitions10:48
CIA-23epyon tpserver-cpp-refactor * ra2721061e00a /tpserver/Makefile.am: Exceptions in makefile.am10:48
*** peres has quit IRC11:06
CIA-23epyon tpserver-cpp-refactor * r0d0752048ca4 /tpserver/ (playerhttpconn.cpp playertcpconn.cpp systemexception.cpp): Exception handling for underlyingRead/Write11:12
CIA-23epyon tpserver-cpp-refactor * rff309d3118b3 /tpserver/ (tcpconnection.cpp tcpconnection.h): New class layer for TCP connections11:46
CIA-23epyon tpserver-cpp-refactor * r3c8f27cd671a /tpserver/ (9 files): New class layer for TCP connections implemented11:46
epyonbzwbk.pl11:54
epyondarn wrong chan ^^11:55
*** mithro has joined #tp12:18
*** Greywhind has joined #tp12:41
*** verhoevenv has joined #tp12:46
mithroGreywhind: LGTM12:54
Greywhindmithro: ok, cool :)13:00
*** cherez has quit IRC13:07
*** gau_veldt has quit IRC13:07
*** gau_veldt has joined #tp13:08
*** tuna-fish has joined #tp13:08
*** cherez has joined #tp13:08
*** JLP has joined #tp13:09
*** JLP_ has quit IRC13:09
*** Erroneous is now known as DTRemenak13:15
*** Erroneous has joined #tp13:44
*** tuna-fish has quit IRC14:41
*** alanp_ has quit IRC15:07
* epyon kills copy-paste code15:36
CIA-23epyon tpserver-cpp-refactor * r2f8aef3e5646 /tpserver/ (8 files):15:57
CIA-23Connection massive refactoring part 115:57
CIA-23* moved a LOT common AdminTcp and PlayerTcp code into TcpConnection15:57
CIA-23* a lot more to come!15:57
CIA-23epyon tpserver-cpp-refactor * rec8cbb0652f0 /tpserver/ (9 files):16:15
CIA-23Connection refactoring16:15
CIA-23* moved version to tcpconnection16:15
CIA-23* moved sendFrame to tcpconnection16:15
CIA-23epyon tpserver-cpp-refactor * r3f9a7d4f4192 /tpserver/ (6 files):16:15
CIA-23Connection massive refactoring part 216:15
CIA-23* moved more duplicate code into tcp connection16:15
CIA-23* probably some classes will cease to exist O.o16:16
epyonwhat is sequence in frames?16:29
CIA-23epyon tpserver-cpp-refactor * rda70d4e5f75f /tpserver/ (17 files):16:48
CIA-23Connection massive refactoring part 316:48
CIA-23* removed AdminTcp and PlayerTcp connections altogether16:48
CIA-23* phew, a blob of duplicate code got squashed, rejoice!16:48
*** LeftBehind has joined #tp17:03
*** LeftBehind has left #tp17:03
mhilmigargh17:03
* mhilmi shoots himself17:03
CIA-23epyon tpserver-cpp-refactor * r04b2942f5c37 /tpserver/ (8 files):17:27
CIA-23Connection massive refactoring part 417:27
CIA-23* moved process to tcpconnection17:27
CIA-23* made members of tcpconnection as private as possible17:27
CIA-23* eyeing duplicate code in Admin and Player connection17:27
CIA-23epyon tpserver-cpp-refactor * rbca839ef6764 /tpserver/ (4 files):18:10
CIA-23Connection massive refactoring part 518:10
CIA-23* moved common authentication code to getAuth18:10
*** greenlion has quit IRC18:13
CIA-23epyon tpserver-cpp-refactor * r629b015726a3 /tpserver/ (4 files):18:32
CIA-23Connection massive refactoring part 518:32
CIA-23* player agent creation now strict18:32
CIA-23* frames in player connection login have their own functions18:32
*** alanp has quit IRC18:42
CIA-23epyon tpserver-cpp-refactor * r60bb6fc79a2a /tpserver/ (adminconnection.cpp playerconnection.h):18:43
CIA-23Connection massive refactoring part 718:43
CIA-23* refactores adminconnection18:43
*** llnz has joined #tp18:45
llnzmorning all18:46
cherezMorning.19:10
llnzhi cherez19:20
epyonlate evening here19:20
llnzhi epyon19:20
llnzyour connection refactoring looks good19:21
epyon1~sorry I was away, hope nash conveyed the info :)19:21
epyonwell, admin and player were almost the same...19:21
llnzit had we worried when i saw the inversion of part of the heirarchy, but all good now19:21
llnzs/we/me/19:21
epyonit's a lot more clear19:21
epyonbtw, I had a question, what is sequence in frames?19:22
llnzyeah, i knew they were similar19:22
llnzin the tp protocol, its possible for the server to send a set of frames in reply to a single client request19:23
llnzthe first frame is the sequence frame that says how many more frames to expect19:23
llnzthey all have the same sequence number19:23
CIA-23epyon tpserver-cpp-refactor * r1d0025fa7b9a /tpserver/ (playerhttpconn.cpp tcpconnection.cpp tcpconnection.h):19:31
CIA-23Connection massive refactoring part 819:31
CIA-23* refactored the return value chaos in tcp methods19:31
CIA-23* sendData and sendDataAndClose now replaced with sendString19:31
epyonllnz, could you explain the various buffers used in tcp connection? sbuff and rdatabuff?19:31
llnzsbuff is the send buffer19:32
llnzrdatabuff is the body data part of the received frame (rheadbuff is the header)19:32
llnzbtw, have you read about filters?19:37
epyonhmm?19:40
llnzit't not too important, but will happen (more) in future19:41
llnzincluding merging the tlsconnection and tcpconnection, and having to turn off the pipelining19:42
llnzhttp://www.thousandparsec.net/tp/dev/documents/protocol4.php19:42
tpb<http://ln-s.net/JqO> (at www.thousandparsec.net)19:42
epyonbtw, instead of buffers we will use std::string19:43
llnzok19:43
CIA-23epyon tpserver-cpp-refactor * rf42f6a60e778 /tpserver/ (tcpconnection.cpp tcpconnection.h): Warning : change to std::string for sbuff and sbuffsize/pos19:45
llnzbtw, you could move the connection classes to a directory and namespace if you wanted19:45
epyonnow frame will have to be responsible for cleanup.19:45
epyonI will ;)19:45
* epyon doesn't get "sendandclose"19:49
llnzsendandclose is meant to send a plain text error message to the socket, then close the connection19:51
epyonuh no, not SensDataAndClose19:52
epyonsendandclose boolean :P19:52
llnzhumm...19:52
epyonbtw, what's the general eval of my progress? I know I sidetracked from the original plan quite a bit, and missed some days :/19:55
llnzsomething like, give the socket extra time to send the queued frames19:55
llnznot sure if sendandclose is needed19:56
llnzepyon: I feel that you are a bit behind where I think you should be, but you have done some useful work19:57
epyonthings have been hectic around the end of the academic year, it should be far better now :)19:59
llnzcool19:59
epyonbtw, seems as sendFail makes many lines of code obsolete...20:22
llnzumm... maybe20:27
llnzsome might not fit20:27
llnzspecifically those that have been upgraded to pass the list of references20:28
*** peres has joined #tp20:29
epyonis there a version to string func someweher?20:29
llnzepyon: no20:29
llnzversion is just an integer20:32
*** verhoevenv has quit IRC20:52
llnzLandon: the move element in battlexml should be a 3d position21:13
llnzi have decided21:13
llnzhopefully mithro and everyone is ok with it21:14
Landonwith a way to degrade gracefully I suppose?21:16
Landonfor a 2d viewer21:16
Landonwell, I guess it could just use the X,Y of it21:16
Landonsounds like a good deal21:16
llnzyeah, just drop z21:17
llnzmost ruleset (at least for now) wont use it21:17
epyonllnz, can you check how long is your playeragent.cpp?21:20
llnz(the fact that none of the examples use 'move' at all is... odd)21:20
epyonfile lines, including whitespace21:20
llnz1855 according to wc -l21:21
* epyon is down to 1550 and getting less :/21:23
llnznice21:24
Landonllnz: wrt move, whos responsibility would it be to keep collisions from happening21:27
Landondo rulesets have enough information about size to move stuff carefully?21:28
llnzLandon: the ruleset should do21:28
Landonok21:29
llnzi think you can safely assume that if it's in a (xml valid) battlexml file, it's correct21:29
llnzepyon: btw, I was looking at boost::program_options yesterday and it looks quite good21:31
epyon1460 lines...21:39
epyonand I'm not removing blanks D:21:39
llnzhehe, i'm busy adding 300+ lines :-)21:47
epyon1400...21:51
* epyon likes removing obsolete ^_^21:51
*** alanp has joined #tp21:55
*** Erroneous has quit IRC21:55
CIA-23epyon tpserver-cpp-refactor * rfd1ab6ed216d /tpserver/ (playerconnection.cpp playerconnection.h tcpconnection.h): TODO markers and PlayerConnection ping frame22:05
CIA-23epyon tpserver-cpp-refactor * r8c48ee5c9644 /tpserver/ (4 files): Player agent TCP connection goodies -- 500 lines of code less!22:05
CIA-23Greywhind tpclient-pywx-tp04 * r96b70c3510e0 / (34 files in 3 dirs): Re-made panelInfo to work with tp04 and to have a collapsible, extensible layout.22:07
epyongnight22:21
llnzcya later epyon22:21
*** jmtan has joined #tp23:04
*** jmtan has quit IRC23:17
CIA-23llnz tpserver-cpp-battlexml * rfb3afa0c64e6 /tpserver/ (7 files in 2 dirs):23:28
CIA-23Adding initial BattleXml classes.23:28
CIA-23Still needs a little work, mostly what to do with the xml once it is created.23:28

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!