#gemrb@irc.freenode.net logs for 16 Jan 2015 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:01:49] --> Mechanimal has joined #gemrb
[00:20:28] <-- brada has left IRC (Quit: brada)
[02:51:19] <-- turtleman_ has left IRC (Ping timeout: 265 seconds)
[06:10:49] <-- Lightkey has left IRC (Ping timeout: 272 seconds)
[06:23:11] --> Lightkey has joined #gemrb
[06:29:33] <-- nutron has left IRC (Read error: Connection reset by peer)
[12:38:42] <-- edheldil has left IRC (Remote host closed the connection)
[12:42:28] --> edheldil has joined #gemrb
[12:42:28] --- ChanServ gives channel operator status to edheldil
[15:25:13] --> Driim has joined #gemrb
[16:48:31] --- mmint` is now known as mmint
[16:49:56] --- tomprince_ is now known as tomprince
[16:52:20] <-- Driim has left IRC (Ping timeout: 265 seconds)
[16:59:30] --> brada has joined #gemrb
[17:46:31] --> Driim has joined #gemrb
[18:03:19] <-- Driim has left IRC (Ping timeout: 272 seconds)
[18:20:38] --> turtleman_ has joined #gemrb
[18:24:17] --> Driim has joined #gemrb
[19:36:01] --> edheldil_ has joined #gemrb
[20:43:08] <-- xrogaan_ has left IRC (Changing host)
[20:43:08] --> xrogaan_ has joined #gemrb
[21:40:44] <-- Mechanimal has left IRC (Ping timeout: 246 seconds)
[21:58:16] --> Mechanimal has joined #gemrb
[21:59:20] <-- Driim has left IRC (Quit: Leaving)
[23:14:06] <lynxlynxlynx> brada: there's a peculiar thing with initials, but not new
[23:14:23] <brada> what is it?
[23:14:41] <lynxlynxlynx> one string in iwd2 just makes us draw a state icon instead of its first letter
[23:14:53] <lynxlynxlynx> @39431 = ~Monk Wisdom Bonus: <number> to AC~
[23:14:58] <lynxlynxlynx> nothing fishy about it
[23:15:24] <brada> sure that would mean that the TA has the state font set to its initials font
[23:15:30] <brada> so is this guirec or something?
[23:15:50] <lynxlynxlynx> yes
[23:16:18] <lynxlynxlynx> it's a plain append, no manual resolving first (we just set the token)
[23:16:59] <brada> ill look at it tomorrow. likely easiest to jsut wrap the string in a tag before appending it
[23:17:18] <lynxlynxlynx> mhm
[23:19:36] <lynxlynxlynx> yeah, that's fine
[23:20:03] <lynxlynxlynx> btw, not sure if you're still following the todo, but i can easily reproduce this assertion void GemRB::TextSpan::DrawContentsInRegions(const Regions&, const GemRB::Point&) const: Assertion `charsPrinted < text.length()' failed.
[23:21:32] <lynxlynxlynx> on a screen that shouldn't even have that much text, but somehow height is too big
[23:21:35] <lynxlynxlynx> i'll check tomorrow
[23:22:19] <brada> i dont see anything on the todo on how to trigger it tho
[23:22:37] <-- turtleman_ has left IRC (Ping timeout: 264 seconds)
[23:26:14] <lynxlynxlynx> late iwd2 save
[23:26:17] <lynxlynxlynx> only one char
[23:26:32] <lynxlynxlynx> how can i dump the actual text contents?
[23:26:33] <brada> btw the infinite loop problem isnt a flaw with StringSize
[23:26:43] <lynxlynxlynx> ye ye
[23:27:25] <brada> that used to be QueryText, but i guess we changed that because thats not how we use that
[23:28:07] <brada> oh, maybe QueryText would still work
[23:28:18] <lynxlynxlynx> i mean from this layout/content path
[23:28:23] <brada> unless you are trying to dump a textarea that has selectable things
[23:28:59] <lynxlynxlynx> ah, actually Control has QueryText too
[23:29:51] <lynxlynxlynx> looks like gdb is cutting it off
[23:30:11] <brada> is it another case like the pst journal?
[23:30:28] <brada> where it was overflowing the Point struct?
[23:34:05] <lynxlynxlynx> i doubt it
[23:34:20] <lynxlynxlynx> this char shouldn't even have the longest page of the party
[23:34:31] --> Eli2_ has joined #gemrb
[23:34:37] <-- edheldil_ has left IRC (Ping timeout: 264 seconds)
[23:34:43] <lynxlynxlynx> it's the weapon one, so it should all be below 100
[23:35:49] <lynxlynxlynx> npos = 18446744073709551615, <-- this looks fishy
[23:37:51] <-- Eli2 has left IRC (Ping timeout: 265 seconds)
[23:38:00] <brada> isnt that just the value of std::string::npos?
[23:40:06] <lynxlynxlynx> dunno, just exploring
[23:40:13] <lynxlynxlynx> can't seem to get the whole string out of it
[23:40:18] <lynxlynxlynx> raw dump is the same
[23:40:26] <lynxlynxlynx> looks similar to working strings
[23:40:38] <lynxlynxlynx> both seem to lack some newlines but display fine
[23:45:26] <brada> lynx: try commenting out the assert and look for a visual flaws. might be usefull to set the debug flag (which may also provide useful console output)
[23:45:56] <lynxlynxlynx> nah, checking content now
[23:46:04] <lynxlynxlynx> x/ws works for getting it all
[23:46:57] <-- Mechanimal has left IRC (Ping timeout: 245 seconds)
[23:47:26] <lynxlynxlynx> oh yeah, there's garbage later on
[23:48:30] <lynxlynxlynx> hmm no
[23:51:33] <lynxlynxlynx> looks like the problematic one isn't null terminated, that's all
[23:51:50] <lynxlynxlynx> the valid content is definitely shorter than the test case
[23:52:54] --> Mechanimal has joined #gemrb
[23:55:32] --> turtleman_ has joined #gemrb
[23:58:46] <Pepelka> [commit] lynxlynxlynx: iwd2: removed extra newline https://github.com/gemrb/gemrb/commit/3a76133121638a44847bb5ef5aa3b68497f01f5f
[23:58:47] <Pepelka> [commit] lynxlynxlynx: iwd2::guirec: added missing newline to ac modifiers title https://github.com/gemrb/gemrb/commit/6339d9acc083f338c5c109e85fda28fee1de527e
[23:58:48] <Pepelka> [commit] lynxlynxlynx: iwd2::guirec: removed extraneus newlines from the misc stats display https://github.com/gemrb/gemrb/commit/ebcdd496626bf7717f755a05f65178fbf69bc961
[23:58:50] <Pepelka> [commit] lynxlynxlynx: iwd2::guirec: extraneus newlines in the general tab https://github.com/gemrb/gemrb/commit/6c24271425e312d5c3f9db0031596ebbeae30989
[23:58:51] <Pepelka> [commit] lynxlynxlynx: iwd2::guirec: fixed monk skill spacing and initial https://github.com/gemrb/gemrb/commit/fd543569e741a8fd51679fcf1bf19c4101e065a0