#gemrb@irc.freenode.net logs for 24 Oct 2014 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[00:11:51] <-- brada has left IRC (Quit: brada)
[00:17:33] --> raevol has joined #gemrb
[00:30:28] <-- Eli2 has left IRC (Remote host closed the connection)
[00:57:33] --> brada has joined #gemrb
[01:13:52] <-- |Cable| has left IRC (Ping timeout: 240 seconds)
[01:26:34] --> |Cable| has joined #gemrb
[02:21:53] <-- raevol has left IRC (Ping timeout: 265 seconds)
[02:33:48] --> raevol has joined #gemrb
[02:48:53] --> Eli2 has joined #gemrb
[02:50:29] --> Textmode has joined #gemrb
[03:12:05] --> Eli2_ has joined #gemrb
[03:15:32] <-- Eli2 has left IRC (Ping timeout: 265 seconds)
[04:23:31] <brada> i lied about that being the regression I was talking about.
[04:23:57] <brada> but im not sure that breaking there is what we want to do since that would leave linePoint.x < 0
[04:24:19] <brada> which would mean something gets cut off on the left
[04:24:29] <brada> wondering where you encountered this...
[04:25:05] <brada> i guess the “loot window” is the thing that comes up when you click a loot pile
[04:25:40] <brada> ah, that must be it
[04:25:53] <brada> even crashes for me in BG2 :p
[04:27:35] <brada> but yeah, in the original i dont see any “done” button.. so ?
[04:28:06] <brada> surely we should handle that condition in someway
[04:28:14] <brada> maybe set xpos = 0 then break
[04:31:12] <brada> possibly the alignment on things that trigger this should be changed too
[04:31:34] <brada> seems silly to have “center” or “right” alignment on something that doesnt even fit
[04:40:05] <brada> oh, i guess “fit” isnt the right word here
[04:43:55] * Textmode huggles brada :3
[04:44:07] <brada> thanks? wtf lol
[04:44:12] <Textmode> ^_^
[04:46:44] <Textmode> what are you working on?
[04:48:28] <brada> the text rendering code still :/
[04:48:33] <brada> for months now ha ha
[04:49:05] <brada> also i found the location of that “done” button. its completely not visible, at least on 640x480
[04:49:55] <brada> not visible on any res afict
[04:50:32] <brada> oh, actually it *is* visible, it jsut doesnt actually say “done” its the little window resize button
[04:50:58] <brada> at least i think. anyway doesnt matter i guess :)
[04:56:35] <brada> now that i think on it, that break was probably fine tho. since by that time it has rewound to the last word… so yeah, im thinking it would be bets to set xpos to 0 then break
[04:57:18] <brada> ill add a debug message too
[04:57:41] <gembot> build #744 of cmake clang++ is complete: Failure [4failed minimal test] Build details are at http://buildbot.gemrb.org/builders/cmake%20clang%2B%2B/builds/744 blamelist: Brad Allred <bradallred@me.com>
[05:00:11] <gembot> build #740 of cmake g++-4.2 is complete: Failure [4failed compile] Build details are at http://buildbot.gemrb.org/builders/cmake%20g%2B%2B-4.2/builds/740 blamelist: Brad Allred <bradallred@me.com>
[05:01:37] <-- Textmode has left IRC (Ping timeout: 255 seconds)
[05:02:34] <gembot> build #737 of cmake g++-4.4 is complete: Failure [4failed compile] Build details are at http://buildbot.gemrb.org/builders/cmake%20g%2B%2B-4.4/builds/737 blamelist: Brad Allred <bradallred@me.com>
[05:03:37] <brada> off to bed now
[05:03:39] <-- brada has left IRC (Quit: brada)
[05:10:32] --> Textmode has joined #gemrb
[05:13:01] <gembot> build #714 of cmake g++-4.5 is complete: Failure [4failed minimal test] Build details are at http://buildbot.gemrb.org/builders/cmake%20g%2B%2B-4.5/builds/714 blamelist: Brad Allred <bradallred@me.com>
[06:34:58] <-- Lightkey has left IRC (Ping timeout: 244 seconds)
[06:47:35] <-- DrMcCoy has left IRC (*.net *.split)
[06:47:37] <-- Textmode has left IRC (*.net *.split)
[06:47:39] <-- tomprince has left IRC (*.net *.split)
[06:47:45] --> Lightkey has joined #gemrb
[07:00:13] --> Textmode has joined #gemrb
[07:00:13] --> tomprince has joined #gemrb
[07:05:03] <lynxlynxlynx> :)
[07:09:27] --> DrMcCoy has joined #gemrb
[07:16:54] <-- Textmode has left IRC (Quit: "It was one dev, naked in a room with a carton of cigarettes, a thermos full of coffee and bourbon, and all his summoned angels.")
[07:16:54] --> Textmode has joined #gemrb
[07:21:45] <edheldil> Too bad I tend to be afk when brada is here
[07:24:43] <fuzzie> yes
[07:27:25] <lynxlynxlynx> he reads the logs if you have a message
[07:28:58] <-- DrMcCoy has left IRC (*.net *.split)
[07:28:59] <-- Textmode has left IRC (*.net *.split)
[07:29:02] <-- tomprince has left IRC (*.net *.split)
[07:32:17] --> tomprince has joined #gemrb
[07:32:17] --> DrMcCoy has joined #gemrb
[07:36:46] <-- tomprince has left IRC (*.net *.split)
[07:37:33] --> Textmode has joined #gemrb
[07:40:07] --> tomprince has joined #gemrb
[08:37:19] <-- raevol has left IRC (Quit: Leaving)
[09:55:23] <-- tomprince has left IRC (*.net *.split)
[09:56:09] --> tomprince has joined #gemrb
[10:13:48] <-- Textmode has left IRC (Quit: "It was one dev, naked in a room with a carton of cigarettes, a thermos full of coffee and bourbon, and all his summoned angels.")
[10:26:53] --> edheldil_ has joined #gemrb
[10:42:43] <-- edheldil_ has left IRC (Ping timeout: 255 seconds)
[10:49:39] --> edheldil_ has joined #gemrb
[10:57:23] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[11:38:30] <lynxlynxlynx> edheldil: are you also looking at the pst journal or should i?
[12:11:17] <edheldil> not at the moment. I might be able to look at it during the weekend, but feel free to step in sooner
[12:12:26] <lynxlynxlynx> ok, just avoiding duplicating effort
[12:12:34] <lynxlynxlynx> it's just a few newlines probably
[12:16:29] <edheldil> btw, is there a setting that has to be set to get brada's font code? Because the black fringe in letters is still clearly apparent, and brada supposed that it might be already fixed...
[12:20:04] <lynxlynxlynx> nope, the branch is enough
[12:29:47] <wjp> edheldil: do you have a screenshot?
[12:49:26] <edheldil> not at the moment, but I will cook one. Anyway, just run pst and open GUIOPT. If all the letters don't have dark fringes, it's just my setup
[14:08:09] --> brada has joined #gemrb
[14:08:59] --> edheldil_ has joined #gemrb
[14:29:54] <lynxlynxlynx> pretty sure i'm hitting an endless loop
[14:30:06] <lynxlynxlynx> nothing but a kill -9 helps
[14:45:25] <brada> :/
[14:45:56] <brada> 2 steps firward 1 step back lately
[14:50:21] <edheldil> Hi, brada
[14:50:30] <brada> hey ed
[14:56:54] <edheldil> btw: http://paste.debian.net/128525/
[14:56:55] <Pepelka90> debian Pastezone
[14:57:28] <edheldil> that's pst on master
[14:57:51] <edheldil> I can't debug it right now
[15:01:04] <brada> if its on master then i dont care ha ha. thats all been rewritten.
[15:02:12] <brada> SetHistory doesnt even exist in this other branch
[15:02:58] <edheldil> whoever is responsible, please try to keep master at least semiworking :-)
[15:06:56] <edheldil> brada: http://imgur.com/1nYxXo1 <-- you can clearly see black borders of the letters here
[15:06:58] <Pepelka90> imgur: the simple image sharer
[15:06:59] <Pepelka90> »The most viral images on the internet, curated in real time by a dedicated community through commenting, voting and sharing.«
[15:09:31] <brada> ed: I dont see how that problem exists in master. SetHistory does exist there and hasnt been touched as fr back as i can recall. are you sure your guiscripts arent still the font-rewrite ones?
[15:10:33] <brada> im not sure what to do about the PST text. sure is ugly tho. is it because we are just guessing at a palette there?
[15:11:04] <brada> it looks like maybe we are just using the default white. im not sure what this looks like in the original tho.
[15:11:58] <wjp> at first glance that looks like maybe alpha is just disabled
[15:12:13] <edheldil> it's using some kind of alpha blending in the original
[15:13:08] <lynxlynxlynx> re loop: it seems newline related
[15:13:22] <lynxlynxlynx> i can trigger it simply by appending only a newline
[15:13:33] <brada> lynx: so probably related to changes i made last night
[15:13:51] <lynxlynxlynx> could be
[15:14:02] <brada> another reason i shouldnt code when im exhausted from a 3 hour exam
[15:14:08] <lynxlynxlynx> there are other ways to trigger it though, the newline doesn't need to be alone
[15:15:02] <brada> where exactly are you seeing it?
[15:15:15] <brada> my cursory glance at BG2 seems ok
[15:16:17] <lynxlynxlynx> in the journal
[15:16:24] <edheldil> also notice the center button - it should read 'Return to Game'
[15:16:37] <lynxlynxlynx> i'm sure you could reproduce it by making an adendum
[15:17:00] <lynxlynxlynx> it's the same for me, edheldil
[15:17:19] <lynxlynxlynx> i don't remember if it was any better on master though (apart from the button)
[15:17:36] <brada> pst journal i assume
[15:17:48] <edheldil> the black borders? No, they are there since the beginning of time
[15:18:33] <edheldil> ... err, gemrb
[15:21:33] <edheldil> btw, here is an old comparison (i.e.pre font-rewrite) with GUIOPT in the original: http://www.eowyn.cz/gemrb/pst/cmp_pst_options.xcf
[15:22:10] <brada> firewall blocking that site hehe
[15:22:20] <edheldil> why?
[15:22:38] <edheldil> allegedly happened to someone else as well
[15:23:07] <edheldil> oh, I know - weapons
[15:23:25] <edheldil> sigh
[15:24:32] <edheldil> if you want, I can send it to you .... if my site is able to deliver mail to you :/
[15:24:44] <lynxlynxlynx> i'm not sure he can open an xcf
[15:24:57] <edheldil> ok
[15:26:57] <brada> the firewall says its geographically blockes, so nothing to do with the format.
[15:27:20] <brada> im at work, so i have no control over this :p
[15:27:52] <lynxlynxlynx> but still, do you have gimp?
[15:29:41] <edheldil> probably because we Chechnians are all terrorists :/
[15:32:45] <edheldil> I can of course send it as a single png or two of them
[15:38:46] <lynxlynxlynx> i thought you were czech
[15:43:49] <lynxlynxlynx> brada: i made it even simpler to test: if you look at the last commit, just plug a \n in the odd ""
[15:47:50] <edheldil> lynxlynxlynx: well, I am, but some geographically-challenged people tend to confuse the countries (cue Boston marathon bombing)
[15:48:16] <lynxlynxlynx> ah ok
[15:48:39] <lynxlynxlynx> your name sounded too czech to be from russia
[15:52:39] <edheldil> you, avenger and me live practically in the neighborhood :)
[15:53:29] <lynxlynxlynx> yep
[16:03:37] <edheldil> brada: this one might be yours: when I open pst journal->beasts (and PC list is displayed) , when I click on NPC tab, nothing happens until I move mouse over the (still) PC list; only then is NPC list displayed. When I click on PC button, it gets changed immediately
[16:06:09] <edheldil> maybe it's because the NPC list is longer than its viewport?
[16:07:08] <edheldil> also clicking on anyone does not display its image. dunno if it could be caused by your changes
[16:08:36] <edheldil> small graphical glitch: if an overhead text falls on the top edge of the window, it's actually its upper half that's displayed, not the lower one
[16:10:33] <edheldil> analogous bad journal behaviour in quests as in beasts, btw
[16:11:02] <brada> I do have gimp, no money for PS :p
[16:12:27] <brada> edheldil: that sounds related to the problems lynx fixed yesterday
[16:12:43] <brada> so probably just the same fix for that window
[16:13:49] <brada> there probably is a better global fix tho
[16:14:39] <brada> we shouldnt have to add the same code for each subwindow
[16:16:05] <lynxlynxlynx> we didn't have to before, at least no always
[16:21:02] <brada> are they broken on master by chance?
[16:21:23] <edheldil> how much is journal log supposed tio be fixed? The day labels except the first one are still wrong
[16:21:49] <brada> i dont think anybody has even attempted to fix the journal
[16:22:41] <brada> oh it look like lynx just made a change for that tho
[16:22:54] <edheldil> aaand the text that straddles upper viewport edge is broken here too - just scroll the journal by dragging scrollbar thumb
[16:23:10] <lynxlynxlynx> if i try appending a newline at the end, i get into that trying-to-blow-up-computer thing
[16:23:33] <-- edheldil_ has left IRC (Ping timeout: 272 seconds)
[16:24:55] <brada> ed: I already know that :p
[16:25:08] <edheldil> ok :)
[16:25:51] <lynxlynxlynx> most of the journal window is broken
[16:26:04] <lynxlynxlynx> there's not a single thing that works properly anymore
[16:26:56] <brada> lynx: what were those appends you removed trying to do?
[16:27:31] <lynxlynxlynx> i guess they create newlines in master
[16:27:37] <lynxlynxlynx> noop here
[16:27:56] <brada> hmmm… i wonder if its always a noop tho
[16:28:17] <brada> seems like they at least had a purpose at one point in time
[16:28:31] <edheldil> also pst does not use pictures in dialogs, has smooth scrolling, does not clear message window and has green tooltips, but I guess you know all of this :-D
[16:28:41] <wjp> edheldil: some of the font sprite code paths seem to use SDL_Surface sprites, and therefore have non-existent palette alpha handling
[16:29:06] <brada> what is “smooth scrolling” people keep mentioning that and i keep asking what it is but nobody tells me :(
[16:29:40] <brada> the things i know are mostly limited to things that are also broken in BG2 so some of that is news :p
[16:30:38] <brada> and how much of that works in master?
[16:30:39] <lynxlynxlynx> smooth == per pixel?
[16:30:47] <edheldil> well, in pst, when you select a dialog option, the whole red text is replaced by your choice in normal colors. When the dialog scrolls, it scrolls in 1px increments
[16:30:51] <lynxlynxlynx> there was a ta mode for that, just like for autoscroll
[16:31:43] <edheldil> so it's much easier to keep track of conversation, which is kinda important for pst :-D
[16:32:19] <brada> all text areas support perpixel scrolling so it should be easy to implement. does that work in master?
[16:32:28] <brada> chapter text for example uses that
[16:32:53] <brada> BG2 original actually does the same thing, but oddly not for dialog
[16:33:09] <brada> only for attack rolls and other things that get appended
[16:34:08] <brada> a minor refactor to add an option for “animated scroll” to the AppendText method I think would be best
[16:34:26] <edheldil> I am not what was the state of all this in master. Will check when I get home
[16:34:40] <edheldil> anywayy, see you later
[16:34:42] <brada> but im more interested in fixing all the bugs i introduced atm :p
[16:47:07] <brada> this font debug mode is usefull for seeing how i brok things last night
[16:47:18] <brada> i can clearly see cases of overrun
[16:47:53] <brada> for some reason tho, pst seems way more aflicted...
[16:50:25] <brada> oddly i can no longer trigger that assert tho
[16:50:39] <brada> I need to get IWD2 installed for that one i guess
[22:30:00] <-- Eli2_ has left IRC (Remote host closed the connection)
[23:50:38] <brada> edheldil: i fixed that funxy clipping issue
[23:51:15] <brada> if you dont know what i mean by that, the thing that was causing the line of text at the top to behave oddly when scrolling
[23:51:33] <brada> and im wondering if it fixed that other graphical oddity you reported
[23:58:57] <brada> oh, and its possible the opengl driver needs a similar fix...