--- Log opened Sun Mar 29 00:00:10 2009
20090329 00:02:59-!- kristjan_ [n=kristjan@188-196-n.ipv4.vnet.ee] has joined #wesnoth-dev
20090329 00:03:55< kristjan_> is this normal that @ sample rate '48,000' music plays at slightly faster tempo compared to '44,100'?
20090329 00:04:00< CIA-30> alink * r34217 /trunk/ (5 files in 3 dirs): Apply patch #1140 (Fixed line wrap for CJK languages) from sylecn
20090329 00:09:10-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)]
20090329 00:11:25-!- abhiSri [i=AB-Alway@123.239.25.118] has quit [Read error: 110 (Connection timed out)]
20090329 00:13:32< Crab_> Dragonking: just in case (since you asked about my work plans), my status update: to proceed further with my work on AI hot-redeployment, I need to extract AI parameter determination from team_info constructor into separate function (from the current pile-of-code in team.cpp). the interface and semantics will stay the same.
20090329 00:15:17-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev
20090329 00:15:46< Turuk> Hello all
20090329 00:16:07< Crab_> hi Turuk
20090329 00:17:58< Dragonking> Crab_: Ok.
20090329 00:19:40< YogiHH> night everyone
20090329 00:19:45< Crab_> night
20090329 00:19:53 * Polarina is still translating.
20090329 00:19:59-!- YogiHH [n=chatzill@d051064.adsl.hansenet.de] has quit ["ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"]
20090329 00:20:03< Polarina> Good night, sleepyheads. :)
20090329 00:20:42 * Crab_ isn't going to sleep yet )
20090329 00:27:24< Velory> hmm watched max payne movie i think its now good not like max payne
20090329 00:27:32< Velory> s/now/not
20090329 00:28:18< Polarina> Ivanovic: Are you there?
20090329 00:28:23-!- erisco [n=erisco@brisco.kent.net] has joined #wesnoth-dev
20090329 00:29:07< erisco> heya. I am interested in applying to the wesnoth project for GSoC
20090329 00:29:18< erisco> I had a couple questions...
20090329 00:29:24< Polarina> Go ahead.
20090329 00:29:27< Dragonking> hi erisco
20090329 00:30:05< Shadow_Master> hi erisco, have you read http://www.wesnoth.org/wiki/SummerOfCodeIdeas ?
20090329 00:30:17< erisco> this is not wesnoth specific, but if any of you know it'd be great. I am turning 18 at the beginning of July. Can I still apply? If no one is sure I will contact Google or something
20090329 00:30:27< erisco> Shadow_Master, yes, I have given that a read
20090329 00:30:40< Shadow_Master> erisco: IIRC Google requires you to be 18 on April.
20090329 00:31:36< Shadow_Master> erisco: http://socghop.appspot.com/document/show/program/google/gsoc2009/faqs#age_limits
20090329 00:31:47< Crab_> "You must be 18 years of age or older by April 20, 2009 to be eligible to participate in Google Summer of Code in 2009"
20090329 00:31:57< erisco> Grr. That is ridiculous
20090329 00:32:17< Polarina> erisco: I know little about this summer coding, but I can tell you this: Even if you do not participate with is in the GSoC, you are still as much welcome to help around.
20090329 00:32:37< Polarina> s/ is / us /
20090329 00:32:41< erisco> Polarina, and I'd like to, but the fact you get paid for GSoC would allow me to devote the appropriate amount of time
20090329 00:33:00 * erisco sighs
20090329 00:33:05< erisco> I really needed it
20090329 00:33:06< Shadow_Master> the original question would've been for #gsoc though :)
20090329 00:33:24< erisco> yeah, sorry. I did have questions for this project
20090329 00:33:57< Shadow_Master> :(
20090329 00:33:58-!- ilor [n=user@wesnoth/developer/ilor] has quit []
20090329 00:34:12< Velory> Dragonking: do u have some time i must ask you something about some function heal_improve_eval...i'm trying to find parameter but i couldnt :)
20090329 00:35:40< Dragonking> Velory: Go ahead
20090329 00:35:48-!- _deleter [n=_deleter@c-71-205-242-195.hsd1.mi.comcast.net] has joined #wesnoth-dev
20090329 00:35:48< Velory> http://pastebin.com/d73b69f7f here is my function
20090329 00:36:13< boucman> erisco: if I understand correctly, these kind of limits have to do with work legislations in the US
20090329 00:36:22-!- kristjan_ [n=kristjan@188-196-n.ipv4.vnet.ee] has left #wesnoth-dev ["Leaving"]
20090329 00:36:27< Velory> im trying to find best unit for heal
20090329 00:36:29< boucman> google might not be able to pay you if you are less than 18 at that date
20090329 00:36:49< Velory> and i need to look if other units that need to heal can reach my unit
20090329 00:36:59< Velory> i cant fill ... :D
20090329 00:37:03< erisco> boucman, I don't even live in the US yet my hopes, dreams, and aspirations are denied by them. =\
20090329 00:37:14< Velory> s/can/couldnt
20090329 00:37:21< Polarina> erisco: There's always time. :)
20090329 00:37:45< erisco> Polarina, not really. I could participate next year but I will not have reason to
20090329 00:37:49< Velory> or i can use distance_between(...,unita.loc) <= unita.total_movement+1
20090329 00:37:57< Polarina> erisco: Why not?
20090329 00:38:04< Velory> but i cant find ... it must be other units that need heal
20090329 00:38:27< erisco> Polarina, I'll save life stories for another time :P
20090329 00:38:43< Polarina> erisco: All right. :)
20090329 00:39:35-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has quit [Remote closed the connection]
20090329 00:40:08< Polarina> Everything I find, and can participate in, related to programming, I participate in, provided it doesn't imply usage of proprietary software. And that's merely for fun. :)
20090329 00:41:19< Dragonking> Velory: I don't follow you
20090329 00:41:34-!- iyonius [n=iyo@a02-0829c.kn.vutbr.cz] has quit ["Leaving."]
20090329 00:41:45< Velory> it means ?
20090329 00:41:54-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzz"]
20090329 00:41:57< Dragonking> Try filtering out somehow my_moves to see what is in range
20090329 00:42:12< Dragonking> Using distance between is really bad way to calculating units range
20090329 00:42:28< Dragonking> Cause you don't take into account movement cost.
20090329 00:42:36-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection]
20090329 00:42:44< Velory> hmm
20090329 00:43:05< viggy_prabhu> hi everybody
20090329 00:43:11< Velory> so i need map(my_moves.moves,src = ... .loc,)dst)
20090329 00:43:15< Polarina> Hi you.
20090329 00:43:47< viggy_prabhu> even i am planning to apply for wesnoth under gsoc
20090329 00:44:18< Velory> but in :.. i must find other units that need heal for compare the unit which i'm looking
20090329 00:45:01< viggy_prabhu> unfortunately i havent played wesnoth, so dont have much idea about the ideas that were given in the ideas page
20090329 00:45:43< boucman> well, viggy_prabhu, playing a little would be a good idea...
20090329 00:45:49< viggy_prabhu> i have installed wesnoth but i am not able to play as some problem with the screen resolution
20090329 00:46:07< boucman> at least to know the game a little. all ideas don't need a deep knowledge of the game, but a little knowledge is nescessary
20090329 00:46:12< Polarina> viggy_prabhu: You can run Wesnoth in windowed mode.
20090329 00:47:32-!- ikarius_ [n=ross@216.27.182.3] has joined #wesnoth-dev
20090329 00:47:32-!- ikarius [n=ross@216.27.182.3] has quit [Read error: 104 (Connection reset by peer)]
20090329 00:49:28< viggy_prabhu> Polarina, windowed mode?
20090329 00:49:28-!- ikarius_ [n=ross@216.27.182.3] has quit [Read error: 104 (Connection reset by peer)]
20090329 00:49:33-!- ikarius [n=ross@216.27.182.3] has joined #wesnoth-dev
20090329 00:49:35< Polarina> viggy_prabhu: Yes.
20090329 00:49:43< Dragonking> Velory: Can you explain me what are you trying to do?
20090329 00:51:24< CIA-30> shadowmaster * r34218 /trunk/misc/fortunes/wesnoth: Fortune-cookie time.
20090329 00:51:39< CIA-30> shadowmaster * r34219 /trunk/misc/fortunes/wesnoth: Forgot a sentence in last commit...
20090329 00:52:16< viggy_prabhu> Polarina, what do you mean by windowed mode? sorry for asking such silly questions
20090329 00:53:05< Polarina> viggy_prabhu: Not in full screen mode.
20090329 00:53:06< Shadow_Master> viggy_prabhu: he means the opposite of fullscreen
20090329 00:53:19< Shadow_Master> that. and it can be obtained with the -w switch to wesnoth
20090329 00:53:43< fabi> Polarina: press ctrl+f to see the difference.
20090329 00:53:49< zookeeper> how about a funny cookie once in a while? :|
20090329 00:54:50< CIA-30> shadowmaster * r34220 /trunk/misc/fortunes/wesnoth: Zookeeper wins a cookie.
20090329 00:54:59< Polarina> fabi: I know the difference?
20090329 00:55:00< Shadow_Master> ahh, the irony. ;)
20090329 00:55:01< erisco> why does wesnoth prefer custom languages rather than using a language such as python?
20090329 00:55:07< zookeeper> d'oh.
20090329 00:55:07< erisco> why does wesnoth prefer custom languages rather than using a language such as python?
20090329 00:55:10< Polarina> s/?/./
20090329 00:55:12< Shadow_Master> erisco: we don't use custom languages.
20090329 00:55:12< zookeeper> and don't capitalize me
20090329 00:55:30< erisco> Shadow_Master, WML? And now an AI language?
20090329 00:55:37< Shadow_Master> ah, forgot the AI one :P
20090329 00:55:47< Dragonking> We had support for python.
20090329 00:55:52< Shadow_Master> PythonAI was possible until it was proved to be a great security issue
20090329 00:55:59< Dragonking> Yes.
20090329 00:56:08< Velory> Dragonking: ok
20090329 00:56:45< Shadow_Master> erisco: the deal with formulas and WML is that they are suited to the very basic and humble initial needs for which they were implemented
20090329 00:57:12< Shadow_Master> if we need more power, they can be extended as required
20090329 00:58:40< fabi> erisco: support for lua is work in progress.
20090329 01:00:36< Polarina> I hope you won't forget to patch all the discovered security holes in Lua.
20090329 01:00:51< Velory> dragonking:in my last improvement i've found a unit that need heal with find function and move healer to there but when i submit boucman showed me finding the first unit can be mistake like if all units is fighting in left side and first unit is waiting in right side so my healer will go right instead of left. So i need to find best unit that need heal. then first if units that need heal is higher then 2, im want to choose units that ->(damage_done >
20090329 01:01:39< Shadow_Master> mangled
20090329 01:02:10< Shadow_Master> Polarina: we usse liblua for lua, so I guess that falls into the "upstream problem" category.
20090329 01:02:31< Polarina> Upstream is evil, never does a thing. Not even Debian Stable have patched the holes.
20090329 01:02:47-!- erisco [n=erisco@brisco.kent.net] has quit ["Leaving"]
20090329 01:03:12< Shadow_Master> Polarina: are they even in the debian BTS?
20090329 01:03:33< Polarina> Shadow_Master: Lua is.
20090329 01:03:47< Shadow_Master> (bug tracking system=
20090329 01:03:54< Polarina> No, I doubt it.
20090329 01:04:12< Polarina> The patches are published on Lua's website.
20090329 01:04:43< fabi> Polarina: If you know about security holes, fill bug reports to the debian packages that ask for them to be applied.
20090329 01:05:24< fabi> I mean the patches.
20090329 01:05:38< Polarina> They have 5.1.3, basically, 5.1.4 is a release with the patches applied, but they won't update "because it's stable".
20090329 01:05:43< Polarina> They just haven't got a clue.
20090329 01:06:20< Velory> Dragonking: hmm anyway i have a headache and i need to go bed now :( its 03.06 here
20090329 01:06:23< Shadow_Master> Polarina: are you checking in the stable repository or in the security upgrades ones?
20090329 01:06:25< Velory> thanks for help
20090329 01:06:31< Polarina> Shadow_Master: Both...
20090329 01:06:35< Dragonking> bye Velory
20090329 01:06:40< Velory> gnite everyone
20090329 01:06:46-!- Velory [n=GProcess@81.213.176.147] has quit ["Leaving."]
20090329 01:07:07< Shadow_Master> Polarina: have they stated a reason for not merging the patches from upstream? you could email the package maintainer about it?
20090329 01:07:30< viggy_prabhu> Polarina, please check my Print screen output and tell me how do i solve it
20090329 01:07:30< Polarina> Shadow_Master: No.
20090329 01:07:37< viggy_prabhu> http://lug.nitdgp.ac.in/download/linux/viggy/wesnoth
20090329 01:08:16< Polarina> viggy_prabhu: Ok, tell me, what is that?
20090329 01:08:50< viggy_prabhu> Polarina, that is the print screen result image when i run wesnoth
20090329 01:09:10< Polarina> viggy_prabhu: Then apply the proper MIME type and try again.
20090329 01:09:17< Polarina> I cannot view that.
20090329 01:09:38< Shadow_Master> http://www.lua.org/bugs.html
20090329 01:09:45< Shadow_Master> doesn't tell anything about 5.1.4's changes.
20090329 01:09:54-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev
20090329 01:09:57< Polarina> Shadow_Master: There are, but on the mailing list.
20090329 01:10:05< Polarina> Shadow_Master: They are just working on official fixes.
20090329 01:10:37< Shadow_Master> the package maintainer and/or the security team may need some help to find out about those vulnerabilities...
20090329 01:10:50< viggy_prabhu> Polarina, can you please be more clear as to what i should do? what is MIME?
20090329 01:11:00< Crab_> Polarina - you can just save that file and rename it as 1.png after that.
20090329 01:11:13< Polarina> viggy_prabhu: MIME type tells the browser what kind of a file it is. JPEG, PNG, BMP, etc.
20090329 01:11:32< Crab_> viggy_prabhu - rename that image to have a png extension
20090329 01:11:52< viggy_prabhu> Crab_, oh ok, sorry for my stupidness
20090329 01:12:53< Crab_> viggy_prabhu: all is ok. after all, we all make mistakes sometimes )
20090329 01:12:55< viggy_prabhu> http://lug.nitdgp.ac.in/download/linux/viggy/wesnoth.jpg
20090329 01:13:21< Polarina> viggy_prabhu: You applied the wrong MIME type!
20090329 01:13:40< viggy_prabhu> Polarina, it opened in my browser
20090329 01:13:51< Crab_> Polarina: it is a png )
20090329 01:14:01< Polarina> viggy_prabhu: Because your browser figured you did it wrong and fixed it for you.
20090329 01:14:08< viggy_prabhu> Polarina, :)
20090329 01:14:14-!- boucman [n=rosen@wesnoth/developer/boucman] has quit [Remote closed the connection]
20090329 01:14:33< Polarina> viggy_prabhu: You might, first of all, increase your native resolution...
20090329 01:14:33< viggy_prabhu> http://lug.nitdgp.ac.in/download/linux/viggy/wesnoth.png
20090329 01:15:17< Polarina> viggy_prabhu: And change the in-game resolution to 800x600 and run in full-screen mode.
20090329 01:16:06< viggy_prabhu> Polarina, how do i change the in-game resolution when i cant see the menu at all :(
20090329 01:16:51< Polarina> viggy_prabhu: Check ~/.wesnoth/preferences
20090329 01:16:52< Crab_> wesnoth -f -r 800x600 ?
20090329 01:17:05< Crab_> -f for full-screen mode and -r for resolution
20090329 01:17:25< Crab_> or ' wesnoth -w -r 800x600 ' if windowed mode is desired
20090329 01:18:00-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)]
20090329 01:18:01< viggy_prabhu> Crab_, bingo, all is well now :)
20090329 01:18:08< Crab_> good to know )
20090329 01:18:21< viggy_prabhu> Polarina, Crab_ thanks for your help
20090329 01:18:58< viggy_prabhu> Polarina, Crab_ will come up with more problems later, will play a game now :)
20090329 01:19:33< Crab_> have fun )
20090329 01:20:41< molgrum> good night
20090329 01:20:43-!- molgrum [n=molgrum@c83-249-53-163.bredband.comhem.se] has quit ["Lämnar"]
20090329 01:20:59< Polarina> Ivanovic: I send you updated translations.
20090329 01:21:04< Polarina> Good night. :)
20090329 01:23:02-!- Polarina [n=polarina@wesnoth/translator/Polarina] has quit ["Leaving."]
20090329 01:30:36-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit []
20090329 01:42:40-!- Elvish_Pillage2 [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit ["Hi! I'm a quit message virus vaccine. If you see a quit message virus, don't replace your quit message with it!"]
20090329 01:43:48-!- ShikadiLord [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev
20090329 01:49:27-!- ShikadiLord [n=ignacio@wesnoth/developer/shadowmaster] has quit [":("]
20090329 01:52:03-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection]
20090329 01:56:06< CIA-30> shadowmaster * r34221 /trunk/misc/fortunes/wesnoth: Uncapitalize a name.
20090329 01:57:56< CIA-30> alink * r34222 /trunk/src/mouse_handler_base.cpp: Fix bug #13251: Units move on their own when using "next unit"
20090329 01:58:48-!- davecm [n=davecm@89.100.88.169] has joined #wesnoth-dev
20090329 03:03:52-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["night all"]
20090329 03:11:33-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev
20090329 03:12:04< PK> hey Shadow_Master
20090329 03:12:24< PK> did they make it so you can check a weapons damagetype in 1.6?
20090329 03:12:31< Shadow_Master> um.. yes.
20090329 03:12:39< PK> ooh, thats good
20090329 03:12:41< Shadow_Master> I must've made it though.
20090329 03:12:52< PK> it was so hard to make some of my ideas in 1.4
20090329 03:12:58< Shadow_Master> noone else touched that code AFAICT. It should be [filter_attack] type=arcane # example
20090329 03:13:11< PK> but it works?
20090329 03:13:14< Shadow_Master> not sure.
20090329 03:13:28< PK> well it might be tested soon then =o
20090329 03:13:30< Shadow_Master> I think I use it in IftU, so it should
20090329 03:14:10< Shadow_Master> um. I use [filter_attack] name= only. Please test it.
20090329 03:14:39< PK> name= works with the damagetype?
20090329 03:15:17< Shadow_Master> you are asking too much. I'll call the FBI.
20090329 03:15:27< PK> I am the FBI.
20090329 03:15:52< PK> you're charged with conspiracy against the rng gods.
20090329 03:15:52< Shadow_Master> you got me :/
20090329 03:16:00< PK> nah, jk.
20090329 03:16:10< Shadow_Master> I confess! I use :unit hitpoints= all the time in singleplayer!
20090329 03:16:16< PK> xD
20090329 03:16:18< Shadow_Master> really, forgive me! :(
20090329 03:16:47< PK> but yeah, I'm wanting to make an ability that increases a units resists every time they're struck by a weapontype (but resets at turn refresh)
20090329 03:16:52-!- cjhopman [n=chris@wesnoth/developer/cjhopman] has joined #wesnoth-dev
20090329 03:17:15< PK> so if you're struck by blade 2 times during an attack sequence, you would gain +20% resist to blade for the rest of that round.
20090329 03:17:21< PK> after combat ends.
20090329 03:17:26< Shadow_Master> reading the code, [filter_attack] type=arcane should work
20090329 03:17:32< PK> kay.
20090329 03:17:54< Shadow_Master> I'll let Soly beat me to death if it doesn't
20090329 03:18:07< PK> this sounds interesting.
20090329 03:19:31< Shadow_Master> it works
20090329 03:20:06< Shadow_Master> Turuk_: please help me be meaner, don't let me test stuff for PK
20090329 03:20:15< Turuk_> Bad PK
20090329 03:20:16< Turuk_> Bad
20090329 03:20:36< Turuk_> Leave Shadow_Master be, he's busy with....
20090329 03:20:38< Turuk_> Uh....
20090329 03:20:39< Turuk_> Things
20090329 03:26:38-!- oak_ [i=oakus@c02--112b.kn.vutbr.cz] has quit [Read error: 110 (Connection timed out)]
20090329 03:27:41< PK> xD
20090329 03:27:42-!- res|laptop [n=res@pdpc/supporter/student/res2k] has quit [Nick collision from services.]
20090329 03:27:42-!- res2k3 [n=res@erft-4d07fe25.pool.mediaWays.net] has joined #wesnoth-dev
20090329 03:27:49< PK> I didn't ask you to. I'm trying to code it myself.
20090329 03:27:53< PK> =D
20090329 03:27:57< PK> trying, being keyword.
20090329 03:28:02-!- res2k3 is now known as res|laptop
20090329 03:28:13 * PK uses all his physical knowledge of abilities combined
20090329 03:28:33< PK> with your powers combined, I am (hopefully) Captain WML!
20090329 03:28:51< PK> doubtful, though.
20090329 03:29:09< Shadow_Master> no. Superheroes don't need villains to provide them with superpowers
20090329 03:29:19< PK> hm?
20090329 03:29:34< PK> That was a captain planet reference.
20090329 03:29:34< Shadow_Master> I am the Lord of UMC-Dev, a supervillain. You know.
20090329 03:29:40< Shadow_Master> ahh...
20090329 03:30:32 * PK forgot how to set a variable D=
20090329 03:30:39< PK> to the wiki!
20090329 03:31:12< Shadow_Master> I forgot how to breathe.
20090329 03:31:27 * Shadow_Master turns blue and falls to the floor
20090329 03:32:13< PK> I see.
20090329 03:32:18< PK> very witty of you.
20090329 03:32:53< PK> so [set_variable] variable=foobar [/set_variable] is right, yeah?
20090329 03:33:09< PK> as in variable is the name of the variable and foobar is the value
20090329 03:36:32< Shadow_Master> check the definition of the VARIABLE macro in utils.cfg
20090329 03:37:02< Shadow_Master> your assumption is wrong, but just see for yourself
20090329 03:37:09< Shadow_Master> I'm sleeping now, bye.
20090329 03:39:08< PK> kay, now that I know this utils thing exists >>
20090329 03:42:14-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev
20090329 03:47:48< Espreon> Hello happygrue.
20090329 03:48:34< happygrue> hello
20090329 03:53:18-!- happygrue [n=George@wesnoth/developer/wintermute] has quit ["http://xkcd.com/91/"]
20090329 03:54:28-!- ikarius_ [n=ross@smtp.gridironsystems.com] has joined #wesnoth-dev
20090329 03:57:07-!- ikarius__ [n=ross@216.27.182.3] has joined #wesnoth-dev
20090329 03:58:29-!- ikarius [n=ross@216.27.182.3] has quit [Read error: 104 (Connection reset by peer)]
20090329 03:59:16-!- grantwu [n=zenneth@westquad-149018.reshall.umich.edu] has left #wesnoth-dev []
20090329 04:01:16< CIA-30> soliton * r34223 /trunk/misc/fortunes/wesnoth: removed mangled, out of context "quote"
20090329 04:03:50< Soliton> i hope not all fortunes are made up.
20090329 04:11:23-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev
20090329 04:13:34< Crab_> good night
20090329 04:13:41-!- Crab_ [n=crab_@c.218.175.a530.sta.adsl.cyfra.net] has quit ["Leaving."]
20090329 04:17:07-!- ikarius_ [n=ross@smtp.gridironsystems.com] has quit [Read error: 113 (No route to host)]
20090329 04:29:58< PK> how do you apply different values to multiple resistances in one tag, in an event.
20090329 04:30:01< PK> is it the same as in a unit?
20090329 04:30:30< PK> you can just list off the values for each resist, or do you have to do the "value= apply_to= max_value="
20090329 04:38:10-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has quit [Remote closed the connection]
20090329 04:42:27-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has joined #wesnoth-dev
20090329 04:57:02-!- Ambushsabre [n=ambushsa@c-75-67-216-121.hsd1.nh.comcast.net] has joined #wesnoth-dev
20090329 05:00:03-!- Ivanovic_ [n=ivanovic@dtmd-4db2a9cc.pool.einsundeins.de] has joined #wesnoth-dev
20090329 05:07:19-!- davecm_ [n=davecm@89.100.88.169] has joined #wesnoth-dev
20090329 05:10:28-!- Ambushsabre [n=ambushsa@c-75-67-216-121.hsd1.nh.comcast.net] has quit ["Leaving"]
20090329 05:11:20-!- gozaboru [i=akhilpai@markley-135168.reshall.umich.edu] has left #wesnoth-dev []
20090329 05:14:36-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit ["This computer has gone to sleep"]
20090329 05:17:06-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)]
20090329 05:18:01-!- Ivanovic_ is now known as Ivanovic
20090329 05:18:55-!- alink [n=alink@wesnoth/developer/alink] has quit [Remote closed the connection]
20090329 05:19:32-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit ["Java user signed off"]
20090329 05:27:04-!- crimson_p [n=irchon@d207-6-197-76.bchsia.telus.net] has joined #wesnoth-dev
20090329 05:27:20-!- crimson_p [n=irchon@d207-6-197-76.bchsia.telus.net] has quit [Remote closed the connection]
20090329 05:29:53-!- tote_ [n=tote@h-68-165-132-194.dnvtco56.dynamic.covad.net] has joined #wesnoth-dev
20090329 05:30:32-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev
20090329 05:33:09< tote_> I have an idea that I think would improve multiplayer, how do I suggest it in a way that it will be heard?
20090329 05:36:01< Soliton> well, present it here for example.
20090329 05:38:35-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 110 (Connection timed out)]
20090329 05:41:24< tote_> It seems that because the game is turn-based, players are going to be spending their opponents turn doing little. Because of this, they go surf the web or whatever and then come back when it's their turn. The problem is that if you do this, you'll miss out on action should it occur. So, when it's your turn you should hit a button 'ok' or something and then it shows everything the opponent did (that was visible) and then
20090329 05:41:25< tote_> you precede to take your turn.
20090329 05:41:54< tote_> It's like a battle report
20090329 05:41:59< tote_> before your turn
20090329 05:45:09< Soliton> sure, would be nice.
20090329 05:45:38< tote_> I think it's a very important thing
20090329 05:46:05< tote_> because unless you are constantly watching, things can happen without you watching
20090329 05:46:14< tote_> and it's not a matter or strat but patience
20090329 05:46:20< tote_> which is lame if you think about it
20090329 05:47:01< Soliton> certainly. there is not a lot that you need to pay attention to live though.
20090329 05:48:20< tote_> Suppose you have one isolated guy, your opponent then goes out and kills it. If you're watching, you know who killed your guy, but if you miss it, you have no idea what your opponent now has where you once had a unit.
20090329 05:50:03-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)]
20090329 05:50:18-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev
20090329 05:57:22< tote_> So, Solition, how would someone who knows how to do this get told to do it?
20090329 05:58:39< tote_> Or anyone for that matter...
20090329 05:59:43< Soliton> not at all.
20090329 06:00:17< tote_> What do you mean?
20090329 06:00:49< Soliton> people don't get told what to do, they work on what they like.
20090329 06:01:55< tote_> But I can't do it, so that means it won't get done?
20090329 06:02:13< tote_> The forum seemed to tell me to post here, but unless people check logs...
20090329 06:02:54< Soliton> don't worry, it's not a new idea.
20090329 06:03:03-!- davecm_ [n=davecm@89.100.88.169] has quit [Read error: 110 (Connection timed out)]
20090329 06:03:15< Soliton> if someone cares enough they will get around to it eventually.
20090329 06:05:11< tote_> Oh well. What sort of experience do I need in order to do it?
20090329 06:06:20< Soliton> you need to know how to program in C++.
20090329 06:06:37-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has quit [Remote closed the connection]
20090329 06:07:00< tote_> Thanks, GL HF.
20090329 06:07:05-!- tote_ [n=tote@h-68-165-132-194.dnvtco56.dynamic.covad.net] has quit [Remote closed the connection]
20090329 06:09:52-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has joined #wesnoth-dev
20090329 06:14:05-!- happygrue [n=George@wesnoth/developer/wintermute] has quit ["http://xkcd.com/91/"]
20090329 06:19:27< Sirp> Soliton: nice conversation you had with tote_ there. :)
20090329 06:25:57< dfranke> heh... seahen appears to be doing a pretty job of beating up on the Formula AI.
20090329 06:26:10< dfranke> pretty good*
20090329 06:27:36-!- JW1 [n=X@rrcs-24-106-114-210.central.biz.rr.com] has joined #wesnoth-dev
20090329 06:28:40-!- Sapient [n=sapien-x@c-71-204-10-166.hsd1.ga.comcast.net] has joined #wesnoth-dev
20090329 06:29:03< Sapient> Ivanovic: can someone please unsubscribe me from the SOC mentors email list?
20090329 06:29:30< Sapient> it's going to my hotmail and flooding it with junk mail
20090329 06:29:43-!- davecm [n=davecm@89.100.88.169] has quit [Read error: 110 (Connection timed out)]
20090329 06:30:44< dfranke> Sapient: there's an unsubscribe link at the bottom.
20090329 06:30:52< Sapient> I know that
20090329 06:30:55< Sapient> it doesn't work
20090329 06:31:25< Sapient> I just added it to my kill list so w/e
20090329 06:31:33-!- Sapient [n=sapien-x@wesnoth/developer/sapient] has left #wesnoth-dev []
20090329 06:36:17-!- crimson_pingvin [n=ben@S0106000d88bbc764.vc.shawcable.net] has joined #wesnoth-dev
20090329 06:36:36-!- [Relic] [n=[Relic]@76.229.202.137] has quit ["Leaving"]
20090329 06:56:38-!- crimson_pingvin [n=ben@S0106000d88bbc764.vc.shawcable.net] has quit ["Leaving"]
20090329 06:56:49-!- crimson_penguin [n=ben@S0106000d88bbc764.vc.shawcable.net] has joined #wesnoth-dev
20090329 07:04:24-!- nerwa [n=nerwa@icis.sjtu.edu.cn] has joined #wesnoth-dev
20090329 07:06:55-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev
20090329 07:13:16-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)]
20090329 07:19:27< dfranke> cjhopman: Can you look at https://gna.org/bugs/?13280 ? Looks like you wrote the unit_map iterator stuff.
20090329 07:20:01< dfranke> that's probably not where the actual bug is, but you probably have more clue than I do how this stuff works.
20090329 07:24:38< cjhopman> sure... are you able to reproduce it?
20090329 07:25:13-!- grantwu [n=zenneth@westquad-149018.reshall.umich.edu] has joined #wesnoth-dev
20090329 07:26:04< dfranke> cjhopman: yes
20090329 07:26:30< dfranke> cjhopman: just make sure the side being attacked is an AI, as I commented.
20090329 07:26:38< cjhopman> worked for me
20090329 07:27:45< dfranke> I'll make a save for you.
20090329 07:34:12-!- iiita [n=iiita@59.90.65.93] has joined #wesnoth-dev
20090329 07:36:47< dfranke> gah, I'm having trouble reproducing it too now :-(
20090329 07:38:45< cjhopman> I can only get the crash when one of the locations doesn't have a unit at it
20090329 07:38:55< cjhopman> its funny, you can actually calculate for a unit attacking itself
20090329 07:39:14-!- iiita [n=iiita@59.90.65.93] has quit ["Leaving"]
20090329 07:41:30< dfranke> hmm, indeed. Perhaps both I and seahen typoed a coordinate without realizing it?
20090329 07:43:06< dfranke> anyway if that's the case it's a simple fix.
20090329 07:44:16< cjhopman> that iterator should only assert when someone tries to dereference it and it doesn't point to anything
20090329 07:44:20-!- _deleter [n=_deleter@c-71-205-242-195.hsd1.mi.comcast.net] has quit [Read error: 110 (Connection timed out)]
20090329 07:56:12-!- JW1 [n=X@rrcs-24-106-114-210.central.biz.rr.com] has quit []
20090329 07:58:44-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev
20090329 08:01:02-!- Turuk__ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev
20090329 08:05:09< dfranke> cjhopman: ok, I'll fix this.
20090329 08:05:12-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 110 (Connection timed out)]
20090329 08:17:58-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)]
20090329 08:22:01-!- cjhopman [n=chris@wesnoth/developer/cjhopman] has quit [Remote closed the connection]
20090329 08:25:16-!- cjhopman [n=chris@wesnoth/developer/cjhopman] has joined #wesnoth-dev
20090329 08:25:40-!- Sirp [n=me@wesnoth/developer/dave] has quit ["leaving"]
20090329 08:42:26< CIA-30> cjhopman * r34224 /trunk/src/unit_map.hpp: - improve assert message when attempting to dereference invalid iterator
20090329 08:54:08-!- gozaboru [i=akhilpai@markley-135168.reshall.umich.edu] has joined #wesnoth-dev
20090329 08:59:38-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection]
20090329 09:00:18-!- silene [n=plouf@ASte-Genev-Bois-152-1-4-177.w82-121.abo.wanadoo.fr] has joined #wesnoth-dev
20090329 09:01:06< silene> hi
20090329 09:02:21< grantwu> Hi I have a question about one of the EasyCoding tasks.
20090329 09:03:17< grantwu> Under the savegame section it says that the [player] section in savegame files appears twice but I can only find it once. Its still not in the desired location but I can't the second time it shows up
20090329 09:03:26< grantwu> I can't find*
20090329 09:07:30-!- nerwa_ [n=nerwa@icis.sjtu.edu.cn] has joined #wesnoth-dev
20090329 09:09:43-!- turin [n=turin@168.215.250.1] has quit [Read error: 110 (Connection timed out)]
20090329 09:10:17-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev
20090329 09:17:59< silene> grantwu: you should ask the one who wrote this paragraph
20090329 09:18:11< boucman> morning
20090329 09:19:17< grantwu> ah, its yogi, okay i'll send him an e-mail
20090329 09:21:16< CIA-30> dfranke * r34225 /trunk/src/formula_ai.cpp: Validate attacker and defender arguments to calculate_outcome(). Fixes bug #13280.
20090329 09:22:06-!- grantwu [n=zenneth@westquad-149018.reshall.umich.edu] has left #wesnoth-dev []
20090329 09:24:22-!- gozaboru [i=akhilpai@markley-135168.reshall.umich.edu] has quit []
20090329 09:31:24< CIA-30> dfranke * r34226 /branches/1.6/src/formula_ai.cpp: Port r34225 (bug #13280) to 1.6
20090329 09:34:22-!- nerwa [n=nerwa@icis.sjtu.edu.cn] has quit [Read error: 110 (Connection timed out)]
20090329 09:36:11-!- nerwa [n=nerwa@icis.sjtu.edu.cn] has joined #wesnoth-dev
20090329 09:39:26-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev
20090329 09:44:45-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev
20090329 09:52:25< dfranke> There seems to be a great deal of variation in people's definition of an 'Important' bug: https://gna.org/bugs/index.php?13249 :-)
20090329 09:53:11< dfranke> It says 'checking for SDL and SDL_ttf' on the line right before it fails out.
20090329 09:53:39< dfranke> but then it fails with 'please upgrade SDL' regardless of which one it didn't find.
20090329 09:55:21-!- nerwa_ [n=nerwa@icis.sjtu.edu.cn] has quit [Read error: 110 (Connection timed out)]
20090329 09:55:43-!- ettin_ [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev
20090329 10:00:07-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev
20090329 10:00:07-!- YogiHH [n=chatzill@c174025.adsl.hansenet.de] has joined #wesnoth-dev
20090329 10:09:09-!- ettin [n=jorda@wesnoth/developer/ettin] has quit [Read error: 110 (Connection timed out)]
20090329 10:09:29-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection]
20090329 10:10:02-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit [Remote closed the connection]
20090329 10:27:05< cjhopman> boucman: around?
20090329 10:27:12< boucman> yup
20090329 10:30:07< cjhopman> you asked for me yesterday... what's up?
20090329 10:30:37< boucman> just wanted to know how your patch is going...
20090329 10:32:19< CIA-30> silene * r34227 /trunk/changelog: Updated changelog.
20090329 10:32:26< cjhopman> I think i'll just test it on some other comps myself (theres some at school with various setups)... then if theres no problems i'll clean it up
20090329 10:32:51-!- nerwa_ [n=nerwa@icis.sjtu.edu.cn] has joined #wesnoth-dev
20090329 10:32:53< boucman> sounds good
20090329 10:33:07< boucman> I'd love to have it tested by the gp2x people, but they seem not to be around
20090329 10:34:43< cjhopman> wesnoth runs on that?
20090329 10:34:43-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev
20090329 10:36:52< boucman> it did at some point, yes
20090329 10:37:22-!- mordante [n=mordante@wesnoth/developer/mordante] has joined #wesnoth-dev
20090329 10:37:37< mordante> hi
20090329 10:38:03< boucman> hey mordante
20090329 10:38:13< mordante> hi boucman
20090329 10:39:04< silene> mordante: hi,do you have some time today to discuss gui2+lua?
20090329 10:39:11< mordante> hi silene
20090329 10:39:28< mordante> yes I already thought about it a bit
20090329 10:42:30-!- Baufo [n=thomas@wesnoth/developer/baufo] has joined #wesnoth-dev
20090329 10:45:02-!- andreilc [n=lucian@89.41.152.189] has joined #wesnoth-dev
20090329 10:46:07< CIA-30> silene * r34228 /branches/1.6/ (changelog src/language.cpp): Ported revisions 34210 34211 34227 to branch 1.6.
20090329 10:47:55-!- andreilc [n=lucian@89.41.152.189] has left #wesnoth-dev ["Leaving"]
20090329 10:48:25< YogiHH> silene: is it possible that reading in WML is messed up somehow? I get unit data where it is supposed to be event WML...
20090329 10:49:57< silene> YogiHH: what do you mean?
20090329 10:50:52< YogiHH> There is a place where the event handlers are created with cfg.child_range("event")
20090329 10:51:11< YogiHH> but what i find in there is unit id, description and such, nothing related to events
20090329 10:52:47< CIA-30> silene * r34229 /trunk/changelog: Updated changelog.
20090329 10:53:49< silene> YogiHH: which place is it?
20090329 10:54:36-!- nerwa [n=nerwa@icis.sjtu.edu.cn] has quit [Read error: 110 (Connection timed out)]
20090329 10:54:56< YogiHH> silene: game_events.cpp line 3596
20090329 10:55:18-!- oak_ [i=oakus@c02--112b.kn.vutbr.cz] has joined #wesnoth-dev
20090329 10:56:53-!- iyonius [n=iyo@a02-0829c.kn.vutbr.cz] has joined #wesnoth-dev
20090329 10:58:56< silene> YogiHH: i would say the code is fine there; have you checked your input wml?
20090329 10:59:11< YogiHH> silene: i am about to do that
20090329 11:01:36< YogiHH> silene: oh, ok, the savefile itself is corrupted, obviously o-o
20090329 11:07:24-!- noy [n=Noy@wesnoth/developer/noy] has quit []
20090329 11:07:49-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev
20090329 11:11:04-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev
20090329 11:11:56< CIA-30> baufo * r34230 /trunk/src/multiplayer_ui.cpp: highlight private messages in the lobby in a different color
20090329 11:12:39< CIA-30> baufo * r34231 /branches/1.6/src/multiplayer_ui.cpp: backporting r34230
20090329 11:14:02-!- Baufo [n=thomas@wesnoth/developer/baufo] has quit [Remote closed the connection]
20090329 11:16:44< CIA-30> dfranke * r34232 / (branches/1.6/configure.ac trunk/configure.ac): Improve autotools error message when SDL_ttf is missing or too old. Fixes bug #13249
20090329 11:20:58-!- YogiHH [n=chatzill@c174025.adsl.hansenet.de] has quit ["ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"]
20090329 11:27:49< benetnash> why AI is so slow in 1.6? In 1.4 it was about 0.5s per turn, now it about 5s.
20090329 11:29:22< mordante> any more information, is it always slower?
20090329 11:30:46< benetnash> I made several tests for different maps using: time ./wesnoth --nogui --multiplayer --controller2=ai --controller1=ai
20090329 11:31:30< benetnash> and with 1.4 all game takes 10s and with 1.6 much longer, up to 2m
20090329 11:33:29-!- squallwc [n=chatzill@162.229.48.60.cbj02-home.tm.net.my] has joined #wesnoth-dev
20090329 11:33:53< mordante> do you also have stats on how many times the AI is called in 1.4 and 1.6?
20090329 11:34:03-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev
20090329 11:35:31< fabi> mordante: do you suggest that the 1.6 ai is slower because it is doing more calculations which produce a better result? lol
20090329 11:36:14< mordante> fabi, I prefer profile information that really blames the AI
20090329 11:36:18< benetnash> Well, I don't know. I suppose that on the same map both versions should call AI the same number of times.
20090329 11:36:33< benetnash> fabi: IMO AI in 1.6 is weaker then in 1.4. lol
20090329 11:36:40< mordante> it looks rather obvious it's the AI, but only profile will really prove the point
20090329 11:36:44-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"]
20090329 11:36:47< mordante> profiling*
20090329 11:36:55< fabi> benetnash: yes, that are mine feelings as well.
20090329 11:37:01 * boucman has been suprised countless time with that sort of assertions
20090329 11:37:18-!- Elvish_Pillage2 [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev
20090329 11:37:52< mordante> there might be another unrelated change that causes the slowdown
20090329 11:38:42< fabi> well, counting each call and logging the amount to std out at level end should be doable.
20090329 11:39:27< fabi> but each wesnoth game is different, it will be difficult to compare the results.
20090329 11:39:30< mordante> or using a normal profiler, which can also point out which part of the AI got slower
20090329 11:39:33< benetnash> mordante: Ok, I just wanted to point that something is not right
20090329 11:39:52< mordante> benetnash, I appreciate that
20090329 11:40:35< boucman> benetnash: we had serious problems with AI during the whole 1.5 series, we've been struggling with it but a few issues might remain
20090329 11:40:35< mordante> benetnash, do you want to do some profiling?
20090329 11:40:53< boucman> (including the AI being weaker when playing wesnoth in some languages :P )
20090329 11:42:02 * fabi played AOI yesterday on normal. It was much easier then the previous time.
20090329 11:42:13< fabi> s/then/than
20090329 11:42:37< Ivanovic> moin
20090329 11:43:21< mordante> hi Ivanovic
20090329 11:43:23< benetnash> mordante: no, sorry. I have a lot to do with my master degree work. I'm evolving AI using coevolution and I'll stick to version 1.4 because massive tournaments of AIs would be 10 times faster in old version
20090329 11:44:02< mordante> benetnash, ok can you then post a bug report with your findings at bugs.wesnoth.org?
20090329 11:44:33< fabi> benetnash: can you explain your test setup to me?
20090329 11:44:48< benetnash> ok, I'll prepare some benchmarks and post them
20090329 11:45:12< benetnash> fabi: setup of test for AI speed?
20090329 11:45:28< fabi> benetnash: You test without watching the game?
20090329 11:45:58< cjhopman> http://pages.cs.wisc.edu/~hopman/nogui.ps
20090329 11:46:14< cjhopman> profiling of 2 ais playing for like 3 turns
20090329 11:46:35< cjhopman> with --nogui --no-delay
20090329 11:46:37< mordante> thanks benetnash
20090329 11:46:42< benetnash> no, I just run wesnoth in batch mode and measure times and then divide time number of rounds played.
20090329 11:46:53< boucman> huh ?
20090329 11:47:04< boucman> what are we doing in unit_display::unit_attack
20090329 11:47:13< boucman> that would explain the slowdown
20090329 11:48:00< boucman> i'm not sure where the --no_gui option is acting but there seems not to catch everything
20090329 11:52:41< silene> cjhopman: i'm always missing some part of your graphs; it seems that the horizontal size of the pages are not set correctly
20090329 11:53:11-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)]
20090329 11:54:32-!- nerwa_ [n=nerwa@icis.sjtu.edu.cn] has quit [Read error: 110 (Connection timed out)]
20090329 11:54:40< cjhopman> yeah, I'm not sure why it does that
20090329 11:55:17< boucman> cjhopman: can you render it as svg or something not paper related ?
20090329 11:56:46-!- loonybot [n=loonybot@79.139.246.190] has joined #wesnoth-dev
20090329 11:57:38-!- loonycyborg [n=sergey@79.139.246.190] has joined #wesnoth-dev
20090329 11:59:58< silene> boucman: that's strange it doesn't work; the very first unit_attack does is to check whether the display exists, and there is one; so it seems someone broke --no-gui
20090329 12:00:26< boucman> that would explain the slowdown benetnash observed
20090329 12:00:58< boucman> what's weird is that only attack is affected,
20090329 12:01:05< boucman> there might be a check I missed there
20090329 12:01:13-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev
20090329 12:01:23< boucman> (currently working on something else, if you could check for me I would be gratefull)
20090329 12:06:59< CIA-30> mordante * r34233 /trunk/src/sound_music_track.cpp:
20090329 12:06:59< CIA-30> Fix a compiler warning.
20090329 12:06:59< CIA-30> r34081 introduced an unused parameter, this seems the obvious fix.
20090329 12:06:59< CIA-30> Shadow_Master please review this change.
20090329 12:07:10< CIA-30> mordante * r34234 /trunk/src/intro.cpp: Remove an unused variable.
20090329 12:07:18< CIA-30> mordante * r34235 /trunk/src/intro.cpp: Fix indention.
20090329 12:10:16< silene> hmm... the code hardly looks the same way it was a few years ago; now, even in --nogui mode, a screen is created and things are displayed on it; the only difference between gui and nogui is that no actual windows is created
20090329 12:11:55< CIA-30> mordante * r34236 /trunk/src/gui/widgets/window.cpp:
20090329 12:11:55< CIA-30> Add the initial draft of the new layout algorithm.
20090329 12:11:55< CIA-30> Still needs more reviews and polishing. But first start to implement the
20090329 12:11:55< CIA-30> basics to see whether there are still some flaws left.
20090329 12:14:22< mordante> loonycyborg, any luck with the new pango version on Windows?
20090329 12:15:14< mordante> esr, around?
20090329 12:17:30< boucman> silene: what is suprising is that only attack anims are called, not the other ones
20090329 12:19:12-!- Velory [n=GProcess@85.99.74.70] has joined #wesnoth-dev
20090329 12:19:23< Velory> Hi every1
20090329 12:20:54-!- Velory [n=GProcess@85.99.74.70] has left #wesnoth-dev []
20090329 12:21:49< Ivanovic> boucman: sounds like a bug to me...
20090329 12:22:00< boucman> to me too :P
20090329 12:22:11< boucman> i'm doing something else atm, but I will check after that
20090329 12:22:31< Ivanovic> i will now take a shower and try to wake up...
20090329 12:23:10< dfranke> silene: still around?
20090329 12:25:18-!- fabi [n=fabi@wesnoth/developer/fendrin] has quit [Remote closed the connection]
20090329 12:25:23< loonycyborg> mordante: D'oh! I forgot about that because that requires rebooting to windows :)
20090329 12:25:45< mordante> ok no problem
20090329 12:26:22-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["KVIrc 3.4.2 Shiny http://www.kvirc.net/"]
20090329 12:26:52-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection]
20090329 12:27:01< CIA-30> boucman * r34237 /trunk/ (8 files in 2 dirs): new animation type : recruiting (c++ part only)
20090329 12:33:28< silene> dfranke: yes
20090329 12:33:55< dfranke> silene: I'm trying to track down bug #13277...
20090329 12:34:12< dfranke> silene: there's a line in statistics_dialog.cpp that was hurting my brain, but I think I've made sense of it.
20090329 12:34:22< dfranke> (expected * 10 + shift / 2) / shift * 0.1
20090329 12:34:32< dfranke> I guess that ends up rounding to the nearest half point?
20090329 12:35:31< silene> no, to the nearest decimal digit
20090329 12:35:54< dfranke> It simplifies algebraically to expected/shift + 0.05.
20090329 12:36:14< silene> yes, that's the idea
20090329 12:37:31< dfranke> I've been trying to catch it by setting a conditional breakpoint on attack_context::attack_expected_damage to see if it receives a negative argument.
20090329 12:37:40< dfranke> but I haven't gotten it to trip yet.
20090329 12:39:02-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev
20090329 12:39:21< Espreon> Hello ilor.
20090329 12:39:28< ilor> hi
20090329 12:39:36< mordante> hi ilor
20090329 12:40:21< dfranke> silene: anyway, headed to bed. I'll keep hunting tomorrow.
20090329 12:40:33< silene> mordante: i'm all for giving complete access to markup to wml designers; but i don't understand what you mean by wml implementation, is there anything special to do?
20090329 12:41:09< mordante> how to know whether or not pango markup is used
20090329 12:41:46< mordante> if pango markup is used and a sentence starts with a * it's just a * for wesnoth markup it's (IIRC) bold
20090329 12:42:17< CIA-30> boucman * r34238 /trunk/src/unit_animation.cpp: forgot a small change
20090329 12:42:46< silene> mordante: sure, but could we not just assume they always are pango strings? campaigns for 1.6 are not supposed to work out-of-the-box with 1.8, are they?
20090329 12:43:27< mordante> silene, of course that's possible, but that means we need to convert all mainline as well
20090329 12:43:56< CIA-30> boucman * r34239 /trunk/data/core/units/undead/Necro_Dark_Sorcerer.cfg: use the drak sorceror attack anim as a recruiting anim. I'm not completely convinced, an real artist might want to test
20090329 12:44:05< mordante> but that was the discussion I wanted to postpone until after we decided whether or not we want to use the pango markup in wml ;-)
20090329 12:45:38< silene> everything that goes toward simplifying the code yet making it more powerful is a good thing imo :-)
20090329 12:46:12< mordante> me too, but it makes the WML part a bit more complex
20090329 12:46:38< mordante> and I've no idea whether it makes writing a campaign really harder
20090329 12:47:03< silene> bah, i'm sure people won't have any trouble replacing "*" by ""
20090329 12:47:36< grzywacz> * is a tricky character!
20090329 12:48:25< mordante> I also don't really expect it, but you never know ;-)
20090329 12:48:47< mordante> and of course the end of the line needs a
20090329 12:49:02< boucman> benetnash: around ?
20090329 12:49:19< silene> of course; but does pango complain if it is not there?
20090329 12:50:12< mordante> it does
20090329 12:51:07< mordante> silene, IIRC you added a preload event is there some documentation about it?
20090329 12:51:19< benetnash> boucman: yes
20090329 12:51:44< silene> mordante: yes, it is documented in the eventwml wiki page, where all the other events are
20090329 12:51:51< boucman> benetnash: do you have the "show_combat" option set to false ?
20090329 12:52:10-!- jmunro[a] is now known as jmunro
20090329 12:52:51< mordante> thanks, I typoed it in the search dialog :-/
20090329 12:53:08< benetnash> boucman: I've got the default true
20090329 12:53:14< mordante> but that event is nice for some of the gui+lua ideas I have
20090329 12:53:25< boucman> please set it to false and tell me if it helps
20090329 12:53:59< benetnash> yes, now both speeds looks equal
20090329 12:54:11< boucman> great :)
20090329 12:54:48< boucman> (you should not have to set that option yourself when running with nogui, but at least I confirmed where the problem was from)
20090329 12:55:17< benetnash> boucman: ok, thank you
20090329 12:55:29< benetnash> is there any way to run one .fai script from another?
20090329 13:02:08< boucman> benetnash: run_file, but it's 1.7 only
20090329 13:04:05< benetnash> hard luck...
20090329 13:05:43-!- Polarina [n=polarina@wesnoth/translator/Polarina] has joined #wesnoth-dev
20090329 13:10:25< Polarina> Ivanovic: Ping.
20090329 13:12:52< Ivanovic> Polarina: pong
20090329 13:13:09< Polarina> Ivanovic: Can you commit the revised translation I send you yesterday?
20090329 13:13:22< Ivanovic> Polarina: i sent you a reply
20090329 13:13:29< Ivanovic> and no, that is not possible, cf reply
20090329 13:13:45< Polarina> Oh..
20090329 13:13:52< Polarina> I hate when I forgot to attach the files.
20090329 13:14:21< Ivanovic> and the problem with the plural forms: fill a bugreport to the creators of your editor
20090329 13:14:45< Ivanovic> since this reformat stuff is done by gettext tools at merging and updating files
20090329 13:14:56< CIA-30> boucman * r34240 /trunk/src/unit_display.cpp: complete review of how we skip animations when display is disabled, this include a fix for slowness when playing with no_gui
20090329 13:15:19< Polarina> I'll just use another program. I can't bother signing up with infinite amount of bug trackers.
20090329 13:15:49< mordante> boucman, I assume your last commit fixes https://gna.org/bugs/index.php?13282
20090329 13:16:12< boucman> mordante: indeed, commenting and closing right now
20090329 13:16:18< Ivanovic> Polarina: in most trackers you do not have to sign in to report bugs
20090329 13:16:23< Ivanovic> you can just do so anonymus
20090329 13:16:33< Polarina> Let alone finding the tracker...
20090329 13:16:48< Ivanovic> most have this info directly in the prog
20090329 13:16:59< CIA-30> silene * r34241 /trunk/changelog: Updated changelog.
20090329 13:16:59< Ivanovic> mainly under help->about
20090329 13:18:47< Polarina> Ivanovic: I send you the files.
20090329 13:19:05< Polarina> s/send/sent/
20090329 13:20:33< Ivanovic> IMO this post was really interesting regarding speed probs: http://www.wesnoth.org/forum/viewtopic.php?p=347975#p347975
20090329 13:21:35< boucman> Ivanovic: we did some important improvements with alink wrt performance
20090329 13:22:05< boucman> the next step would be to rewrite (again) the image cache, I guess
20090329 13:22:23< CIA-30> ivanovic * r34242 /trunk/po/ (6 files in 6 dirs): updated Icelandic translation
20090329 13:22:25< Ivanovic> sounds like
20090329 13:22:26< CIA-30> ivanovic * r34243 /branches/1.6/po/ (6 files in 6 dirs): updated Icelandic translation
20090329 13:23:46< boucman> cjhopman: around ?
20090329 13:24:11-!- loonycyborgw32 [i=kvirc@79.139.246.190] has joined #wesnoth-dev
20090329 13:25:15< loonycyborgw32> mordante: I'm still getting WML error when using gtk bundle 2.16(pango 1.24.0)
20090329 13:26:35 * Polarina hates DST. All times just changed on the page... :(
20090329 13:27:35< Ivanovic> yeah, dst is really fun...
20090329 13:28:12< Ivanovic> especially when calculating "hmm, how late is it now in XYZ, i think there was a 6h difference, hmm, do they have DST and was it with or without DST?!?"
20090329 13:28:26 * Polarina designs a time machine, goes back in time, and prevents William Willett from inventing DST.
20090329 13:29:28 * Ivanovic knocks Polarina, takes the time machine after he invented it and "goes out to have some fun with the new toy"
20090329 13:29:29< Ivanovic> ^^
20090329 13:30:09< Polarina> :(
20090329 13:30:12< dfranke> silene: I figured it out while I was in the shower.
20090329 13:30:16< dfranke> silene: see the bug tracker.
20090329 13:30:32< dfranke> going to bed for real now.
20090329 13:31:27< Ivanovic> n8 dfranke
20090329 13:37:12-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 110 (Connection timed out)]
20090329 13:37:42< Polarina> Ivanovic: poedit is even better than that old crap I used. :)
20090329 13:38:28-!- silene [n=plouf@ASte-Genev-Bois-152-1-37-151.w82-121.abo.wanadoo.fr] has joined #wesnoth-dev
20090329 13:39:35< Ivanovic> :)
20090329 13:39:49< silene> dfranke: good catch
20090329 13:42:57< Rhonda> Ivanovic: It's more annyoing that that: Different countries start at different times with DST.
20090329 13:43:18< boucman> france changed during the night
20090329 13:43:31< Rhonda> Sensible country did it today.
20090329 13:44:01< Rhonda> At least at some point in time I think the US (or some other strange country) did it a week earlier.
20090329 13:44:43 * Polarina thinks she found a error in the English translation.
20090329 13:44:44< Rhonda> But it looks nice in the logs:
20090329 13:44:52< Rhonda> 01:58 -!- davecm is "Dave" on #wesnoth-dev
20090329 13:44:52< Rhonda> 03:03 -!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["night all"]
20090329 13:45:09 * Rhonda is sure that there were only 5 minutes in between. ;)
20090329 13:45:14-!- orian_ [n=orian@abwz192.neoplus.adsl.tpnet.pl] has joined #wesnoth-dev
20090329 13:45:22< thespaceinvader> british summer time started
20090329 13:45:23< Polarina> "The dummy's attacks are magical, however, so they have a 70% chance of hitting you wherever you stand." --- Isn't it supposed to write "The dummys' attacks are magical", since it's plural?
20090329 13:45:30< Rhonda> Polarina: english .. _translation_?
20090329 13:45:34< orian_> hi all
20090329 13:45:40< Polarina> Rhonda: The english strings.
20090329 13:45:55< Rhonda> Polarina: No, it's the dummy's attacks because it's one dummy at that time. I think.
20090329 13:46:12< Polarina> Rhonda: "so they have"...
20090329 13:46:33< Rhonda> That could be gender neutral plural-singular. :)
20090329 13:47:02< Polarina> Possibly.
20090329 13:47:03< Rhonda> Hmm, I think I have to admit that you have a point there ... :)
20090329 13:48:07-!- res|laptop [n=res@pdpc/supporter/student/res2k] has quit [Read error: 110 (Connection timed out)]
20090329 13:48:29< silene> Polarina: "they" applies to the attacks, not the dummy
20090329 13:48:36< Polarina> silene: Oh...
20090329 13:49:35< boucman> hmm
20090329 13:49:52< boucman> would it be a good idea to have FAI be able to trigger specific WML events ?
20090329 13:51:28-!- euschn [n=chatzill@85-127-106-97.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev
20090329 13:51:36< euschn> hi
20090329 13:51:45< silene> boucman: i would say no; as it would mean changing the ai would prevent some events from being raised
20090329 13:52:45< silene> did you have something specific in mind?
20090329 13:52:58< Rhonda> Oh.
20090329 13:53:06 * Rhonda feels silly to not have noticed that, too
20090329 13:55:11< Polarina> Rhonda: Don't worry. Anyway, what are you working on at the moment? :)
20090329 13:57:03< Ivanovic> the same thing Rhonda is working on all the time: world domination
20090329 13:57:12< Polarina> I see.
20090329 13:57:33< Rhonda> And Ivanovic is my pinky.
20090329 13:58:24< Rhonda> Polarina: I'm just a puny little packager, not developing within wesnoth itself.
20090329 13:58:36< Polarina> Rhonda: Ok. :)
20090329 13:58:57< Rhonda> Well, scratch that little, being 193 cm high.
20090329 13:59:03< Polarina> :O
20090329 13:59:25< Ivanovic> Rhonda: what is the status of the sparc package, any progress, or is the server still "busy" building other stuff, so that boost ain't ready?
20090329 13:59:31< Rhonda> Also, I help with administering the server, and run the irclogs. Try to do my best.
20090329 14:00:20< Rhonda> Ivanovic: I handed you the link so you can check yourself, damnit. :P But boost is built already, it's wesnoth that's currently in the queue to get picked up.
20090329 14:00:44< Ivanovic> ts, therefor i would have to look into the logs and all this stuff
20090329 14:00:50< Ivanovic> this sounds like work to me...
20090329 14:01:10< Rhonda> I'm checking it regularly myself. :)
20090329 14:02:09< mordante> loonycyborgw32, :-( thanks for testing
20090329 14:02:22< Ivanovic> does the m68k package stop wesnoth going into testing, too?
20090329 14:02:55< Polarina> It only takes a minute to compile wesnoth...
20090329 14:03:05 * Rhonda laughs madly at Polarina
20090329 14:03:13< Ivanovic> Polarina: uhm, we are currently talking about the official debian packages
20090329 14:03:22< Polarina> Ivanovic: Oh...
20090329 14:03:25< Ivanovic> for *all* the archs debian features with all dependencies
20090329 14:03:25< Rhonda> Ivanovic: No, m68k is out of the boat.
20090329 14:03:35< Ivanovic> Rhonda: good, so only sparc is blocking
20090329 14:03:52< Rhonda> Polarina: What system do you have that it only takes a minute to compile wesnoth? :)
20090329 14:04:10< Polarina> Rhonda: My system. Want an exact timing? :)
20090329 14:04:23< Ivanovic> Polarina: just enter /sysinfo
20090329 14:04:37< Ivanovic> should be enough for us to get an idea (do so right in the chan, will post the stuff)
20090329 14:04:45< Rhonda> Ivanovic: It's rather the boost transition that's blocking. I'm sorry to have switched to boost 1.37 - but I was adviced by the boost maintainers to switch away from boost (1.34) because they want to have it removed from the pool.
20090329 14:04:52< Polarina> bash: sysinfo: command not found
20090329 14:05:02< Rhonda> Polarina: Yes - started from a "make clean"
20090329 14:05:19< Polarina> Rhonda: I am using scons.
20090329 14:05:25< Rhonda> So?
20090329 14:05:28< Dragonking> scons -c
20090329 14:05:32< Rhonda> Even scons should have a clean target, not?
20090329 14:05:47< Polarina> Dragonking: I did scons -c all
20090329 14:06:34< Rhonda> Are you using some ccache? I am in vast disbelieve that it should be possible to get wesnoth compiled in under a minute, on a regular system.
20090329 14:07:00< Polarina> Rhonda: No.
20090329 14:07:12< Polarina> Rhonda: Just fresh debian install (stable).
20090329 14:07:23< Polarina> Rhonda: No configurations.
20090329 14:07:35< Rhonda> Then I really disbelieve your minute.
20090329 14:08:14< Polarina> real 2m55.903s
20090329 14:08:23 * Polarina swears it felt like a minute.
20090329 14:09:53< Rhonda> Can you paste your /proc/cpuinfo somewhere?
20090329 14:09:59< Polarina> Yes.
20090329 14:10:06< Rhonda> ... and how much memory you have. :)
20090329 14:10:24< Polarina> Rhonda: 8 GB memory.
20090329 14:10:57< Polarina> Rhonda: http://rafb.net/p/VL9fbz78.html
20090329 14:11:23< Polarina> But it's a quite old CPU I got there.
20090329 14:11:30< Rhonda> And I expect you did compile with -j
20090329 14:11:36< Polarina> scons -j5
20090329 14:11:52< Rhonda> That's not a regular system, but grats on having that under your desk.
20090329 14:11:58< Ivanovic> okay, lets see how long building current branches/1.6 takes on my box (force cleared ccache, command used: time { cmake ../wesnoth-1.6 && make -j5 ; } )
20090329 14:12:25< Rhonda> quite old CPU, right ... quad core ... right. ...
20090329 14:12:31< Polarina> Rhonda: Yes.
20090329 14:12:53< Ivanovic> and my box is really fast/new (when looking at wesnoth dev standards ;) )
20090329 14:12:55< Ivanovic> Sysinfo for 'rechner1': Linux 2.6.25.20 running KDE 3.5.10, CPU: Intel(R) Core 2 Quad CPU Q9300 @ 2.50GHz at 2500 MHz (4999 bogomips), HD: 356/1162GB, RAM: 3045/3952MB, 184 proc's, 2.34h up
20090329 14:12:59< Polarina> Rhonda: It's one year and 53 days old.
20090329 14:13:01 * Dragonking has ancient one, only with 2 cores...
20090329 14:13:08< Rhonda> Polarina: But if you consider the system so quite old - I would be happy to take the burden off of you.
20090329 14:13:45< Polarina> Rhonda: I'm going to stick with this one for at least 5 more years.
20090329 14:13:47< mordante> Ivanovic, I don't know how much problems the translators have with markup
20090329 14:14:00< Ivanovic> mordante: i am sure that many miss this stuff
20090329 14:14:22< Dragonking> 4 min 1s here, on 2x2GHz and 2GB of ram
20090329 14:14:42< mordante> I kind of expected it, but wasn't sure it was a big enough problem to see it as a con
20090329 14:14:48< Dragonking> I wonder if 4x more memory and 2x more cores for one minute difference is really worth bothering.. ;)
20090329 14:14:49< Ivanovic> Dragonking: not bad at all, have you had ccache or something like this active?
20090329 14:14:53< Dragonking> No
20090329 14:14:56< mordante> but if it was I assumed you would mention it ;-)
20090329 14:15:18< Dragonking> Ivanovic: I don't use ccache and I did make clean, then make -j4
20090329 14:15:34< Polarina> Dragonking: Try with -j3
20090329 14:15:53< Dragonking> I'll
20090329 14:16:43< Ivanovic> my result: http://pastebin.com/d510c7869
20090329 14:16:49< mordante> Ivanovic, the automatic conversion should be possible, but the advantage of manually that the strings get a review
20090329 14:16:51< Rhonda> It takes usually well over an hour to get the package done.
20090329 14:17:04< Polarina> Ivanovic: Impressive.
20090329 14:17:19< Dragonking> I'd like to see Phenom2 compile wesnoth here ;]
20090329 14:17:25< Ivanovic> :)
20090329 14:17:27 * Polarina wonders how long it takes on a Intel® Core i7 965
20090329 14:17:36< mordante> and strings that are formatted like »"@" + _ "foo"« will not work as expected
20090329 14:17:42< Rhonda> Alright, thanks, I'm out, you lot are depressing me.
20090329 14:17:52< Polarina> Rhonda: Please, don't go.
20090329 14:18:08< mordante> Rhonda, for me it also takes ages to compile
20090329 14:18:10< Dragonking> Mine is AMD64X2 athlon 2 cores each 2.0GHz, and 2GB of ram 667MHz dual chanell
20090329 14:18:23< mordante> AMD athlon 1200
20090329 14:18:44< Ivanovic> Dragonking: your 4mins really do suprise me...
20090329 14:19:04< Dragonking> Ivanovic: I can see it compiling each file. :)
20090329 14:19:21< Dragonking> First it goes through locales then compile everything
20090329 14:19:26< Ivanovic> same as here
20090329 14:19:35< Dragonking> Ivanovic: Hmmmm enable server?
20090329 14:19:49< Ivanovic> i am using a plain default cmake based build
20090329 14:19:54< Dragonking> What are your config options?
20090329 14:19:57< Ivanovic> that is with server and all the stuff active
20090329 14:20:06< Dragonking> I have server disabled.
20090329 14:20:16< squallwc> how much space do I have to allocate for the compile?
20090329 14:20:16< Dragonking> With -j3 it took 3min 58s
20090329 14:20:26< Ivanovic> http://pastebin.com/m6be2dcdd
20090329 14:20:45< Dragonking> I'll choos same options
20090329 14:20:56< Ivanovic> though firbidi is not really used since at compile time it is deteced that it is not available in the correct version
20090329 14:20:58< Polarina> squallwc: * 3.141592653589793238462643383279502884
20090329 14:21:04< Ivanovic> Dragonking: please try this:
20090329 14:21:04< Polarina> squallwc: Should be a good approximate.
20090329 14:21:10< Ivanovic> use branches/1.6
20090329 14:21:21< Ivanovic> create a new folder to compile in and compile with cmake standard recipe
20090329 14:21:39< Dragonking> I need to download branch then ;p
20090329 14:21:50< Ivanovic> as in: in the new folder run this: time { cmake PATH-TO/1.6/CHECKOUT && make -j3 ; } )
20090329 14:21:57< Ivanovic> you should do so anyway
20090329 14:21:58< Ivanovic> ;)
20090329 14:22:01< Dragonking> I know
20090329 14:22:02< Dragonking> :)
20090329 14:22:09< Dragonking> It will take some time
20090329 14:22:16 * Ivanovic has lots of time
20090329 14:22:18< Ivanovic> ;)
20090329 14:22:28< Dragonking> Me too, since I'm writing my proposal ;)
20090329 14:22:44< Polarina> It's sunday, don't make excuses why you have time.
20090329 14:23:45< Ivanovic> lets see how long trunk needs (revision 34241)
20090329 14:23:53 * Polarina checks too.
20090329 14:24:06< Polarina> Ivanovic: svn update first.
20090329 14:24:14< Polarina> Ivanovic: I am two revisions above you.
20090329 14:25:09< Dragonking> Hm, I wonder if I should overclock my CPU... ;p
20090329 14:25:19< Polarina> Dragonking: Don't.
20090329 14:25:25< Rhonda> Polarina: https://buildd.debian.org/build.php?pkg=wesnoth - the build logs, you can check for regular build times on non-crazy machines.
20090329 14:25:31< Dragonking> Just kidding. :)
20090329 14:25:42< Dragonking> Tho it managed tu rin nicely @2.4 some time ago
20090329 14:25:49< Dragonking> s/rin/eun/
20090329 14:25:53< Dragonking> run even
20090329 14:25:53< Dragonking> ;)
20090329 14:26:27< Polarina> Rhonda: Are you implying my machine is crazy?
20090329 14:26:43< Rhonda> It's game-freak highend crazyness, yes.
20090329 14:27:00< Rhonda> And don't come "the CPU is ancient", kthxbye
20090329 14:27:02< Polarina> And all I got with it is a Nvidia GeForce 8800 GTS 512. :(
20090329 14:27:05< Ivanovic> times from trunk with cmake default settings: real 2m39.783s, user 8m34.442s, sys 0m37.232s
20090329 14:27:52< Polarina> real 2m44.892s
20090329 14:28:19< Rhonda> You are also missing the time for make install
20090329 14:28:32< Polarina> Rhonda: Who cares?
20090329 14:28:34< Ivanovic> Rhonda: yes, i am, bescause this will need an extra su -c here
20090329 14:28:36< Rhonda> Polarina: I ooohsoooo much pity you. You are sooooo poor, you little thing
20090329 14:28:49< Ivanovic> and thus waiting for user input
20090329 14:28:50< Rhonda> Polarina: Because it's part of the required building process.
20090329 14:28:57< Polarina> Rhonda: Oh. :(
20090329 14:28:59< Rhonda> Yeah, I really think I should leave.
20090329 14:29:09< Polarina> Rhonda: Don't leave, please.
20090329 14:29:14< Polarina> :(
20090329 14:29:21< Rhonda> Ivanovic: Uh? install --prefix=/tmp
20090329 14:29:32< Rhonda> Doesn't require any su.
20090329 14:29:48< Polarina> And clutter my /tmp directory? No way...
20090329 14:29:50< Rhonda> And don't scons me, it should have some similar means.
20090329 14:29:52< Dragonking> Well, I only make usually, not install anything
20090329 14:30:03 * Ivanovic is not using scons anyway
20090329 14:30:05< Ivanovic> ;)
20090329 14:30:07< Rhonda> Polarina: Then choose /tmp/IAmOutOfClue/
20090329 14:30:16< Polarina> Rhonda: Ok.
20090329 14:30:54< Polarina> SCons error: no such option: --prefix
20090329 14:31:12< Dragonking> hmm.. on my notebook make would take prolly about 30-40 minutes
20090329 14:31:17< Dragonking> I need to check that :D
20090329 14:31:25< Rhonda> Anotherone hits the dust *plonk* Bye, Polarina.
20090329 14:31:32< Polarina> Rhonda: No! :(
20090329 14:31:41 * Rhonda . o O ( At least /ignore doesn't mean I leavel )
20090329 14:31:44< Rhonda> -l
20090329 14:31:57-!- elias [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev
20090329 14:32:03< Espreon> Hello elias.
20090329 14:32:14< Polarina> Rhonda: Are you ignoring me?
20090329 14:32:33< loonycyborgw32> Polarina: I use scons destdir=/tmp/wesnoth to test installs without su.
20090329 14:32:42< Polarina> loonycyborgw32: Ok.
20090329 14:32:56< elias> hello Espreon
20090329 14:33:22 * Rhonda . o O ( ... and at least it doesn't affect the logs anymore thanks to wesbot )
20090329 14:33:37< Polarina> loonycyborgw32: scons: Nothing to be done for `install'.
20090329 14:34:01< loonycyborgw32> Try scons install wesnoth
20090329 14:34:50< Polarina> I get a error.
20090329 14:35:23< Polarina> Oh, stupid SVN.
20090329 14:35:48-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev
20090329 14:36:01 * Polarina deletes and recheckouts trunk.
20090329 14:36:37< elias> use svn-clean, it's faster
20090329 14:36:46< elias> or git-svn :)
20090329 14:37:05 * Polarina doesn't like git.
20090329 14:37:16< Espreon> :(
20090329 14:39:12-!- molgrum [n=molgrum@c83-249-53-163.bredband.comhem.se] has joined #wesnoth-dev
20090329 14:41:47< loonycyborgw32> Polarina: Actually comparing your build times with debian builds is apples-to-oranges since debian does its own specific tasks too.
20090329 14:41:58< loonycyborgw32> Like creating debs, etc..
20090329 14:42:37< Dragonking> Ivanovic: co done, compiling with default settings now. :)
20090329 14:43:20< Ivanovic> :)
20090329 14:44:06-!- Turuk__ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Success]
20090329 14:46:54< Dragonking> Ivanovic: real 4m3.101s, user 7m4.451s, sys 0m34.622s
20090329 14:48:46-!- Crab_ [n=crab_@c.218.175.a530.sta.adsl.cyfra.net] has joined #wesnoth-dev
20090329 14:48:53< Crab_> hi all
20090329 14:50:28< Espreon> Hello.
20090329 15:01:44-!- loonycyborgw32 [i=kvirc@79.139.246.190] has quit ["KVIrc 3.4.0 Virgo http://www.kvirc.net/"]
20090329 15:04:09-!- loonybot [n=loonybot@79.139.246.190] has joined #wesnoth-dev
20090329 15:04:41-!- loonycyborg [n=sergey@79.139.246.190] has joined #wesnoth-dev
20090329 15:05:36< Ivanovic> Dragonking: impressive how fast the athlon64 x2 is at compiling
20090329 15:06:13< Ivanovic> might be related to the integrated memory controller and wesnoth being *really* mem hungry when compiling
20090329 15:06:30< Dragonking> I'm quite impressed too.
20090329 15:07:07< Ivanovic> i am impressed when looking at the mem usage when compiling with 5 threads
20090329 15:07:14< Ivanovic> compiling then easily uses 2GB ram...
20090329 15:07:23< Dragonking> All I have is 2GB :)
20090329 15:07:31< Ivanovic> yeah, but you are using less threads
20090329 15:07:32< Ivanovic> ;)
20090329 15:07:36< Dragonking> Yup
20090329 15:08:03< Dragonking> I'd really like to see someone with phenom2 and 4GB+ of ram...
20090329 15:08:11< benetnash> I bet that without boost it won't use even half of that memory
20090329 15:08:21< Ivanovic> benetnash: might be
20090329 15:08:37< Ivanovic> though wesnoth is relying heavily on the stl, this makes up for some of the memory usage, too
20090329 15:09:14< Ivanovic> Dragonking: i'd also like to see someone with one of the intel icore whatever systems (the ones with integrated mem controller)
20090329 15:09:27< Dragonking> Yup
20090329 15:11:44< Ivanovic> i know someone with a phenom system, lets ask him if he has the deps for compiling wesnoth, too...
20090329 15:12:10< Dragonking> Phenom or phenom2? I think tha's quite a difference. :)
20090329 15:12:18< Ivanovic> phenom2 IIRC
20090329 15:12:27< Ivanovic> and on linux the difference is rather small
20090329 15:12:33< Dragonking> I'll look if I can overclock my PC quikly to do some testing ;p
20090329 15:12:37< Ivanovic> since there you do not need the tlb fix
20090329 15:12:55< Ivanovic> (thanks to a kernel patch for 64bit systems)
20090329 15:13:42< Dragonking> Btw I have 32bit system ;)
20090329 15:13:51< Ivanovic> it's your own fault
20090329 15:13:53< Ivanovic> ;)
20090329 15:14:08< Dragonking> ;p
20090329 15:14:16< Ivanovic> though it should not make too much of a difference regarding speed at compilation
20090329 15:14:49< Ivanovic> anyway, afk for a while
20090329 15:20:15< Dragonking> Ivanovic: I overlocked my CPU to 2.4GHz and got... real 3m37.745s real 6m7.803s sys 0m30.158s :)
20090329 15:20:39< Dragonking> second real should be user of course :)
20090329 15:20:48-!- Velory [n=GProcess@85.99.74.70] has joined #wesnoth-dev
20090329 15:20:53< Velory> Hi everyone
20090329 15:20:58< Espreon> Hello Velory.
20090329 15:21:02< Velory> Hello
20090329 15:21:09< Crab_> hello Velory
20090329 15:21:16< Velory> Hi crab_
20090329 15:21:41< Dragonking> hi Velory
20090329 15:26:25-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev
20090329 15:28:25-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev
20090329 15:29:35< Polarina> Dragonking: Now your system doesn't function properly.
20090329 15:29:54< Dragonking> Polarina: Not really. :)
20090329 15:30:15< Dragonking> I tested it heaviliy some time ago, some errors occured when I set clock to 2.5GHz
20090329 15:30:17< Polarina> Dragonking: There have been cases where xor %eax, %eax doesn't zero out %eax due to overclocking.
20090329 15:30:23< Dragonking> 2.4GHz works perfectly.
20090329 15:30:52< Dragonking> I know, it occured here with 2.5GHz clock.
20090329 15:31:06< Polarina> 2.4GHz does not work perfectly for you.
20090329 15:31:24< Dragonking> Good that you know better. :)
20090329 15:31:57-!- fedora [n=fedora@79.132.187.171] has joined #wesnoth-dev
20090329 15:32:22-!- fedora is now known as Guest94031
20090329 15:32:43-!- Guest94031 [n=fedora@79.132.187.171] has quit [Remote closed the connection]
20090329 15:33:06-!- stikonas [n=fedora@wesnoth/translator/stikonas] has joined #wesnoth-dev
20090329 15:33:16< Espreon> Hello stikonas.
20090329 15:33:30< stikonas> Hi, Espreon
20090329 15:34:12-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)]
20090329 15:36:01-!- viggy_prabhu [n=vignesh@210.212.5.150] has quit [Read error: 110 (Connection timed out)]
20090329 15:36:46-!- davecm [n=davecm@89.100.88.169] has joined #wesnoth-dev
20090329 15:38:36-!- cib0 [n=cib@p4FD0E498.dip.t-dialin.net] has joined #wesnoth-dev
20090329 15:56:02< Crab_> question: what is the canonical way to read a config from WML file ? Is it something like http://wesnoth.pastebin.com/m21e7cc14 ('preprocess_file', then 'read') ?
20090329 15:59:29-!- ilor_ [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev
20090329 15:59:51-!- ilor [n=user@wesnoth/developer/ilor] has quit [Nick collision from services.]
20090329 15:59:57-!- ilor_ is now known as ilor
20090329 16:03:30< ilor> Crab_: are you sure you need to read a wml file? most of the data is parsed and available in the root config
20090329 16:05:34< Crab_> ilor: yes, I'm sure. there is code in team.cpp which gets a config object and gets AI parameters from it. I need to be able to get those AI parameters from a standalone .cfg, so, I'll 1) extract that [config => AI] code in team.cpp to avoid duplication 2) get a config object from user-specified file..
20090329 16:12:50-!- squallwc [n=chatzill@162.229.48.60.cbj02-home.tm.net.my] has quit [Remote closed the connection]
20090329 16:16:36< ilor> Crab_: that's not really the 'standard' way of doing things afaik. sorry for the delays, I'm busy otherwise and afk for now
20090329 16:25:17< silene> Crab_: it's a standard way of doing it; but using a standalone file for ai parameters seems wrong; or do you have something else in mind than "parameters"?
20090329 16:28:12< Crab_> silene: i intend to make an (optional) method to load the AI from a stand-alone .cfg file (AI type, AI parameters, etc). This, for example, will allow a user to 'drop a file into specific dir, see that AI in list of multiplayer Ais' or 'hot-redeploy' the AI (useful for AI testing) or select the AI (type and config) to use as a command-line parameter.
20090329 16:30:24-!- stikonas [n=fedora@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)]
20090329 16:30:39-!- davecm is now known as davecm|away
20090329 16:31:22< Velory> boucman around ?
20090329 16:33:04< silene> Crab_: the idea is fine, but you shouldn't load a single file
20090329 16:33:14< Crab_> silene: what should I do instead ?
20090329 16:33:19< ilor> Crab_, wouldn't that be better served by having a directory in the userdata that'd get parsed entirely by having some cfg from the mian tree look form it?
20090329 16:33:32< silene> consider loading a whole directory for instance
20090329 16:33:47< silene> yes, same as ilor
20090329 16:33:56 * ilor looks for an example
20090329 16:34:07< Crab_> silene, ilor: i'll load a whole directory when I look for the list of ai's. but, when redeploying a single AI, i need to fetch a single file.
20090329 16:34:35< Crab_> silene,ilor: this will allow for *hot*-redeployment (change a file, redeploy ai, and see changes without restarting weshoth)
20090329 16:35:19< Crab_> silene: of course, if there is some 'watch-for-changes-in-loaded files-and-reread-if-they-are-changed' engine, i'll happily use that.
20090329 16:36:30< silene> is it really worth it to be able to load a new ai in the middle of a game?
20090329 16:37:23< Crab_> silene: I think, that the answer is 'yes'. See http://www.wesnoth.org/wiki/AI_Arena for the original idea.
20090329 16:38:17< Crab_> and the time overhead to re-read a file is negligible compared to some AIs initialization time (formula_ai, for example, takes ~5-10 seconds to initialize on my machine)
20090329 16:38:42-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit [Remote closed the connection]
20090329 16:39:02< Crab_> silene: it wil also allow interesting stuff saying "like AI #5, play one turn for me, please"
20090329 16:41:47< CIA-30> ivanovic * r34244 /trunk/po/ (wesnoth/sk.po wesnoth-lib/sk.po): updated Slovak translation
20090329 16:41:53< silene> the wiki page doesn't really explain why you would want an ai that didn't yet exist when the game was loaded
20090329 16:41:58< CIA-30> ivanovic * r34245 /branches/1.6/po/ (wesnoth/sk.po wesnoth-lib/sk.po): updated Slovak translation
20090329 16:46:04< Polarina> Ivanovic: Why don't you commit both trunk and branch in one go?
20090329 16:46:31< Polarina> s/go/revision/
20090329 16:46:58< ilor> Polarina: reverting is easier if the commits don't span branches
20090329 16:47:26-!- _deleter [n=_deleter@c-71-205-242-195.hsd1.mi.comcast.net] has joined #wesnoth-dev
20090329 16:47:31< Ivanovic> jupp
20090329 16:47:32< Crab_> silene: imagine a scenario, which will contain a number of 'test situations' for the AI. There is a need to make testing the AI's in any of that 'test situations' using that scenario as simple and as quick as possible. Is there anything quicker that in-game command 'restart test #23 using ai/test/myai354.cfg' ?
20090329 16:49:08-!- davecm|away is now known as davecm
20090329 16:49:20-!- brahim [n=brahim@173.68.89-79.rev.gaoland.net] has joined #wesnoth-dev
20090329 16:49:28< brahim> Hello
20090329 16:49:33-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit []
20090329 16:49:34< Crab_> silene: it will pick up the latest changes in that AI (in its config or in its .fai files), move the units into specified testing position, and restart the test. if the ai developer changes a line of code, he will only need to restart the test again, without editing any files and without reloading of the map.
20090329 16:49:51< elias> can such tests be run from the command-line, without booting up the GUI?
20090329 16:51:52< brahim> I need to talk with people(applicant or mentor) about the "Optimize implementation of WML for memory usage" project
20090329 16:52:03< brahim> Is anyone here that can help me
20090329 16:52:24< Crab_> elias: current implementation doesn't allow it fully - it allows only to specify the AI engine ('default_ai', 'formula_ai'), but the ai is more than an engine - it's also a collection of scripts and parameters. I intend to make it possible to specify the path to ai config on the command line. btw, this is benetnash's use case he talked about yesterday (he solved it using "a scenario of each pair of ai's" paradigm, which is not good for
20090329 16:52:31< Ivanovic> it helps if you ask some clear questions, brahim
20090329 16:52:49< Ivanovic> this is the way irc works: ask a clear question, wait a while, and you might get an answer
20090329 16:53:08< brahim> i know but i always ask question and i have no answers (in other ircs) so i want to know if there are anyone here to whom i will ask the question :)
20090329 16:53:18< Ivanovic> asking if you are allowed to ask is often seen as "not welcome"
20090329 16:53:19< Ivanovic> ;)
20090329 16:53:29< brahim> ok thx for advice
20090329 16:53:35< Ivanovic> you just ask in here and *wait*
20090329 16:53:47< Ivanovic> don't expect an answer withhin two mins, it can take >1 hour...
20090329 16:54:23< Ivanovic> (beside this we do have logs and many devs regulary read them, so that they can answer questions once they join even though they were not around when they were asked
20090329 16:54:29-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 60 (Operation timed out)]
20090329 16:54:55< elias> Crab_: i see, was just wondering if this is possible - i think something which allows automated regression tests of the AI in the future will be useful
20090329 16:55:06< brahim> ok so i ask my question and wait without disconnecting. got it!
20090329 16:56:02< Ivanovic> brahim: exactly
20090329 16:56:11< Crab_> elias: yes, it is planned
20090329 16:56:33< Ivanovic> beside this: have you read the stuff listed and linked in the wiki?
20090329 16:56:40< Ivanovic> as in the blog entry from dave and stuff like this
20090329 16:57:08< brahim> yes i read it
20090329 16:57:28< brahim> but i am studying computing in french so i don't understand everything :)
20090329 16:57:39< brahim> that's why i want to ask some questions
20090329 16:57:45< brahim> i will try to formulate them
20090329 16:58:09< Crab_> elias: for example, I see a number of bugs in current default AI code, but i don't want to fix them - because improving one area of the AI can cripple another area'. Automated regression testing will at least act as a limited safety net.
20090329 16:59:07< Polarina> Improve all parts then. :D
20090329 16:59:24 * Polarina going outside, bicycling in the snow (Yay! S
20090329 16:59:27< Polarina> now!)
20090329 16:59:30-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev
20090329 17:00:27-!- Elvish_Pillage2 [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)]
20090329 17:06:36-!- silene [n=plouf@ASte-Genev-Bois-152-1-6-44.w82-121.abo.wanadoo.fr] has joined #wesnoth-dev
20090329 17:09:51< brahim> I didn't understand what are WML documents. I tried to look for them in the main directory of the game but i didn't find a clue of what it may be. Can someone explain me what are they?
20090329 17:10:33< silene> brahim: look in the data/ directory, all the .cfg files there are wml documents
20090329 17:12:10< brahim> ok thx
20090329 17:14:54-!- ryochan7 [n=ryochan7@173.9.238.161] has joined #wesnoth-dev
20090329 17:16:43< Polarina> I have this string "level 2" in the Unit Description and I want to translate it to "2. eflingarstig". How do I do that?
20090329 17:16:54< brahim> what are the main functionality of the WML documents?
20090329 17:17:08< Polarina> brahim: World domination, first of all.
20090329 17:17:30< Ivanovic> brahim: they provide all the game content
20090329 17:17:32-!- jmunro is now known as jmunro[a]
20090329 17:17:44< Ivanovic> all campaigns are written in those files, all units, all ...
20090329 17:18:05< Ivanovic> like eg those .pak files for quake
20090329 17:18:35< Polarina> Or .mpq for World of Warcraft.
20090329 17:22:56< Velory> Dragonking around ?
20090329 17:25:43-!- iyonius [n=iyo@a02-0829c.kn.vutbr.cz] has quit [Remote closed the connection]
20090329 17:26:42-!- iyonius [n=iyo@a02-0829c.kn.vutbr.cz] has joined #wesnoth-dev
20090329 17:28:43-!- gozaboru [i=akhilpai@markley-135168.reshall.umich.edu] has joined #wesnoth-dev
20090329 17:35:57< esr> mordante: Looking for me?
20090329 17:36:47< Ivanovic> esr: i think he is away atm
20090329 17:38:11< gozaboru> good morning
20090329 17:40:04< silene> Polarina: you can't, but it is fixable if you can't express it another way
20090329 17:41:37< Polarina> silene: Please. Having it written "Eflingarstig 2", sounds just, well, wrong.
20090329 17:44:54-!- _deleter [n=_deleter@c-71-205-242-195.hsd1.mi.comcast.net] has quit [Read error: 110 (Connection timed out)]
20090329 17:45:04< euschn> I just implemented the "second sylabus/name variable" part of Easycoding/random village names - should I rather submit a patch now or wait till I have finished the rest of the task (naming influence from bridges, mountains, etc.)?
20090329 17:47:07< Ivanovic> submit it as patch to patches.wesnoth.org
20090329 17:47:18< Ivanovic> this way it can at least not be lost in some strange crash or stuff like this
20090329 17:48:44< euschn> ok, I just use svn diff and upload the output file via the webinterface, correct?
20090329 17:48:57< Ivanovic> jupp
20090329 17:49:02< euschn> ok
20090329 17:49:43< mordante> esr, yes I was wondering about whether it would be possible to write a small tool to help translators
20090329 17:50:16< esr> mordante: You talking WML markup to Pango translation? Yes.
20090329 17:50:22< mordante> we have a lot of strings that end with a space, in poedit it's by default not possible to see those spaces
20090329 17:50:35< mordante> esr, no something else I've been thinking about
20090329 17:50:55< esr> Oh, different issure. That's possible too.
20090329 17:51:11-!- stikonas [n=stikonas@ctv-79-132-187-171.vinita.lt] has joined #wesnoth-dev
20090329 17:51:12< mordante> it's possible if you show the quoted string, but a lot of translators don't use that
20090329 17:51:22< esr> Note that thre Pango translation is really easy.
20090329 17:51:50< Polarina> zookeeper: Ping.
20090329 17:51:50< mordante> so would it be possible to have tool that looks whether the English string ends with a space and show which translations don't end with a space
20090329 17:51:53< esr> Why is the trailing spavce a problem? Just have the renderer clip them.
20090329 17:52:09< Ivanovic> esr: they are missing often
20090329 17:52:18< esr> ?
20090329 17:52:24< mordante> strings like _ "hp: "
20090329 17:52:28< Ivanovic> esr: since in the editor you do not always see them (when not having 'show me the " ' active
20090329 17:52:36< esr> Oh, I see.
20090329 17:52:37< mordante> and the engine puts in the number
20090329 17:52:42< Ivanovic> translators might just see it as "hp:" and not the space
20090329 17:52:52< Ivanovic> so in the translation there is no space
20090329 17:53:11< mordante> I've seen a lot of those errors in the German translation and recently also a few in the Polish translation
20090329 17:53:24< esr> Hrm, that's doable but a little trickier. Write up an FR and assign it to me.
20090329 17:53:31< mordante> thanks
20090329 17:54:08< mordante> regarding the pango issue the hard problem I see is
20090329 17:54:47< esr> Note, I am all in facvor of switching to Pango ASAP and will write the wnmllint conversion support instantly. The weaknewss ogf Wesnoth markup has bugged me for years.
20090329 17:55:18< mordante> "@" + _"foo" which is a string with markup but the markup outside the translation and should be converted to _"foo" (cant't remember the formatting)
20090329 17:55:48< mordante> cool esr :-)
20090329 17:58:06-!- elias [n=allefant@allegro/developer/allefant] has quit [Read error: 60 (Operation timed out)]
20090329 18:00:59< Polarina> Stupid Iceweasel! Stop crashing!!!
20090329 18:01:24< mordante> esr, for that space FR, I'll need to do some more research and testing with poedit so translators can mark a translation missing a space as valid
20090329 18:01:45< esr> mordante: Noted.
20090329 18:02:10< mordante> esr, did you see the problem with the pango markup conversion/
20090329 18:02:12< mordante> ?
20090329 18:02:37< esr> Which one? Ivanovic talked about some minor issues.
20090329 18:02:59< mordante> the one I typed 8 minutes ago
20090329 18:04:52< esr> The "@" plus translation thing?
20090329 18:05:21< mordante> yes
20090329 18:06:10< esr> That case is automatically convertible with some effort, but I think it's uncommon outside of canned macros. I may just throw a warning.
20090329 18:06:23< ilor> all: I've written my gsoc proposal at http://www.wesnoth.org/wiki/MP_Server_Ilor and I'm eager to hear comments
20090329 18:06:45 * mordante starts reading
20090329 18:07:43< mordante> I also think it might be uncommon, but we've to make sure they don't get converted wrongly and thus loosing the markup
20090329 18:07:58< esr> ilor: Looks good to me. I think you did excellent work on the editor; I'm quite glad to see you're back for a second round.
20090329 18:08:20< ilor> esr: thanks, I'm looking forward to it and hope I'll get in again
20090329 18:08:34< ilor> it's *so* much better than looking for a summer job
20090329 18:08:38< esr> mordante: Avoiding spurious conversions shouldn't be hard.
20090329 18:08:55 * mordante hopes ilor will finish the editor2 project soon :-P
20090329 18:09:04< esr> ilor: If you need me to put in a word for you, I will be glad to do so.
20090329 18:09:06-!- cib0 [n=cib@p4FD0E498.dip.t-dialin.net] has quit ["Leaving"]
20090329 18:09:14 * mordante mutters something about s/editor2/editor/
20090329 18:09:20< esr> mordante: What's unfinished?
20090329 18:09:27< ilor> esr: name change ;)
20090329 18:09:37< esr> :-)
20090329 18:09:48 * Polarina never liked the "Quit to Desktop" feature, now that the editor is inside the game...
20090329 18:10:02< ilor> mordante: won't it be more difficult for me to do backports from trunk if the name's changed?
20090329 18:10:43< mordante> yes so we can wait a bit until 1.6 gets old, but would be nice to get it done before 1.8
20090329 18:10:47< Dragonking> Velory: I am now.
20090329 18:10:51< esr> Oh, I have one functional issue. The editor file browser still does not handle directory navigation as well as I'd like. Do I need to specify or are you aware of the problem?
20090329 18:10:58< ilor> Polarina: on the contrary, I find it very useful especially if you use just the editor (start with -e) and don't care about the main menu
20090329 18:11:04< silene> ilor: concerning "an existing modular ircd with a wesnoth interface", why bother with an interface? wouldn't a classic irc client be just fine for moderation purpose?
20090329 18:11:30< Polarina> ilor: So, make that option only visible if wesnoth is started with -e. :)
20090329 18:11:41< ilor> silene: a normal client will be fine of course, I'm talking about the server
20090329 18:12:05< ilor> Polarina: unforgivable surprise factor imo
20090329 18:12:11< silene> ilor: then i'm confused, or did you mean "interface" as in "protocol"?
20090329 18:12:17< Polarina> ilor: :D
20090329 18:12:50< ilor> silene: pretty much yes, a code interface/ protocol
20090329 18:12:55< euschn> ok, I submitted the village naming patch now
20090329 18:12:58< esr> mordante: How muchh work would it be to flip the switc h and make Pango active? I could write the conversion today and would like to be able to live-test it.
20090329 18:13:14< mordante> ilor, I understand you don't want to talk about database design course ;-)
20090329 18:13:29< ilor> mordante: ....no.
20090329 18:17:38< zookeeper> Polarina, yes?
20090329 18:18:31< Polarina> zookeeper: In the Unit Description, I see "level 2", "level 1", etc. But in Icelandic, it would be "2. eflingarstig", "1. eflingarstig", etc., but I cannot do it like things are now...
20090329 18:18:32< silene> ilor: i don't agree with having lobby and game derive from the same class; don't even bother sharing things between them, make the lobby a first-class citizen
20090329 18:18:59 * esr agrees with silene
20090329 18:19:21< zookeeper> Polarina, why?
20090329 18:19:31< ilor> silene: that's an option too, but both the game and lobby send data to clients
20090329 18:19:48< Polarina> zookeeper: Because, I only have the string "level", not "level $level"
20090329 18:20:30< ilor> it could be done with a separate class that handles communication and then the game and lobby would use that without deriving
20090329 18:20:55< esr> ilor: That's how I'd factor such a thing.
20090329 18:20:58< silene> ilor: yes, that's my point
20090329 18:22:22< Velory> Dragonking: i have a injured units on 9,2 , 13,2 , 16,2 , 13,6 , 15,2 so my wrote a code (-> http://pastebin.com/d5645d6e4 ) for choosin injured unit but not first one i wrote for choosing best one (best one is unit that other injured units can reach him for example 13,2 , 13,6 ) but still my code choosing unit which is 9,2 i cant understand why is there any mistake in my code ?
20090329 18:22:40< Velory> s/my wrote/i wrote/
20090329 18:22:41< mordante> ilor, if you want to do an easycoding task, I've a nice one for you :-P http://www.wesnoth.org/wiki/EasyCoding#.2A_Minimap
20090329 18:22:58< ilor> mordante: oh really? :P
20090329 18:23:02< Polarina> zookeeper: Can you fix that for me, please? :)
20090329 18:23:20< zookeeper> Polarina, no, not really
20090329 18:23:33< Polarina> zookeeper: Why not?
20090329 18:23:50< zookeeper> because i have no idea how i'd do that.
20090329 18:24:03< Polarina> zookeeper: :(
20090329 18:24:33< Polarina> zookeeper: Can you at least take a skim look at it for me, in case the solution pops up in your head? The string is "statuspanel^level" in 'wesnoth'
20090329 18:24:38< zookeeper> are you saying there's no sensible way to translate it well in icelandic atm?
20090329 18:24:47< zookeeper> no, i don't do c++
20090329 18:24:50< Polarina> zookeeper: No, none I can think of.
20090329 18:25:03< ilor> Polarina: surely there are similar cases in software or forms
20090329 18:25:16< stikonas> Polarina: first of all there should be reference to the sourcecode in the po file
20090329 18:25:30< stikonas> can you say the cpp file ant the line
20090329 18:25:42< stikonas> that has that level
20090329 18:26:09< Polarina> #: data/themes/default.cfg:428
20090329 18:26:09< Polarina> #: data/themes/dfool.cfg:467
20090329 18:26:09< Polarina> #: data/themes/experimental.cfg:368
20090329 18:26:14< Polarina> I don't know which one...
20090329 18:26:27< stikonas> all of them, and it is in WML, no in the source
20090329 18:26:42< Dragonking> Velory: I can't just look at your code and see why it is happening.
20090329 18:26:46< Polarina> zookeeper: See? No C++. :)
20090329 18:26:52< ilor> it's no ordinary wml, it's themewml. Run, run for your lives!
20090329 18:26:56< zookeeper> you said "In the Unit Description". those .cfg's deal with themes.
20090329 18:27:03< Dragonking> Velory: Try adding osme debug prints looking at what inner filer/choose etc return
20090329 18:27:12< Polarina> zookeeper: Unit Description to the right when you click on a unit...
20090329 18:27:33< zookeeper> so what's the actual unit description then?
20090329 18:27:42< zookeeper> you know, right-click on unit and select "unit description"
20090329 18:27:50< Polarina> zookeeper: No, not that thing.
20090329 18:28:18< mordante> ilor, it would be better to first get a good design of the lobby especially which features to implement so you can work towards that goal
20090329 18:28:19< Polarina> Oh.. That needs to change too.
20090329 18:28:39< Polarina> zookeeper: In the right-click Unit Description, the string is just "level"...
20090329 18:28:59< mordante> I fear without it we get a huge feature creep and it will be hard/impossible to properly evaluate whether you reached your milestones of the project
20090329 18:30:11< ilor> mordante: the project idea had it even worse
20090329 18:30:12< mordante> also some lobby features, might have an impact on the server design
20090329 18:30:44< Polarina> zookeeper: But can you do the statuspanel for me, please?
20090329 18:31:16< ilor> mordante: the idea page suggested that I have a summary of approaches for the first milestone
20090329 18:31:18< mordante> might be but the design should be clear before coding
20090329 18:31:23< Velory> ok
20090329 18:32:21-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has quit [Remote closed the connection]
20090329 18:32:24< mordante> I read that
20090329 18:32:51 * Polarina discovered a bug in the tutorial...
20090329 18:33:04< mordante> I just think you and the MP devs should look at this before coding starts
20090329 18:33:45< mordante> and if possible before the application deadline
20090329 18:33:55< zookeeper> Polarina, no, i don't know the proper way to do that.
20090329 18:34:00< Polarina> Instead of capturing the village across the river, you attack the quintain. If you survive, odd things begin to happen!
20090329 18:34:02< Polarina> zookeeper: Ok.
20090329 18:34:09< ilor> mordante: I'm not sure we can have a full design that soon
20090329 18:34:23< mordante> hence the if possible
20090329 18:34:42< zookeeper> i presume that one should use postfix= or postfix_literal= for [unit_level], but i'm not sure how it should be marked so that it wouldn't confuse translators of other languages, so i'll leave it to someone else to handle that.
20090329 18:35:22< mordante> but your ideas are interesting :-)
20090329 18:36:17< silene> mordante: so you said you already have some ideas for a lua interface to gui2; what are they?
20090329 18:36:23< ilor> mordante: for instance if it was up to me I'd do channels in wesnotd with possible restrictions like no-user-channels as options, but e.g. Noy has concerns about the channels idea in general
20090329 18:36:33< mordante> esr, this untested patch should set the [message]message to use pango syntax
20090329 18:36:35< ilor> mordante: and that's a big design choice
20090329 18:37:52< mordante> ilor, yes that's why I'd like to talk about that with the other MP devs as well
20090329 18:37:53< esr> mordante: Go ahead and merge it, if you would. I'm most of the way through writing the upconversion support already.
20090329 18:38:28 * ilor cheers for a saner wml text modifiers syntax
20090329 18:38:29< mordante> I like the idea that it can easily be disabled if wanted
20090329 18:38:57< mordante> but I'd like to decide whether or not we make it part of the gsoc project and then implement it like that
20090329 18:39:28< ilor> mordante: problem is I can talk to people but I'm not sure if a consensus can be reached in under a week
20090329 18:39:33< mordante> it makes no sense to add it to the list and remove milestones from the project while working on it
20090329 18:39:48< ilor> but I'll try to settle some things soon :)
20090329 18:40:15< mordante> ilor, if consensus can't be reached before the dead-line it should unfortunately be done after it
20090329 18:40:24< mordante> but IMO still before coding starts
20090329 18:40:53< ilor> I wish the idea page didn't have the completely opposite view ;)
20090329 18:41:04< ilor> (if by coding starts you mean 26th of May)
20090329 18:41:12< mordante> I just fear that if there's no plan on what to do it will get into a feature creep project, which will be hard to evaluate for the mentor
20090329 18:42:19< mordante> ilor, yes or if you start before the 26th before that date
20090329 18:42:48< mordante> silene, it's on some notes and I've been busy to write it down, but a lot of things came in between :-(
20090329 18:43:25< ilor> right now I can say that the gui redesign and map filtering are definitely priorities
20090329 18:43:29< ilor> s/map/game
20090329 18:43:40< mordante> esr, I prefer not to commit it until you tested it and the wml gets changed (preferably in one commit)
20090329 18:43:56< ilor> the rooms/channels is somewhat controversial
20090329 18:43:58< mordante> esr, so feel free to test it and if it works commit the code change as well
20090329 18:44:07< ilor> and any sort of ranking I haven't even touched yet
20090329 18:44:10< esr> Point me at the patch?
20090329 18:44:53< mordante> esr, sorry I see I forgot to paste the link to my patch http://paste.debian.net/31842
20090329 18:45:07< esr> Got it.
20090329 18:46:10-!- Baufo [n=thomas@wesnoth/developer/baufo] has joined #wesnoth-dev
20090329 18:47:55< mordante> esr, here's a link the current c++ implementation in the widgets to do the conversion http://www.wesnoth.org/devdocs/control_8cpp-source.html#l00519
20090329 18:48:04< ilor> mordante: what do you think would be milestone-worthy in the project?
20090329 18:49:26< esr> mordante: You want this removed when I do the conversion?
20090329 18:49:26< mordante> esr, some other keys will need to be converted as well later on, but I need to do some more tests for them and add some conversions in the code
20090329 18:49:42< mordante> esr, no I still need it for not converted keys
20090329 18:50:05< esr> OK, I'll just merge the on swotch and the wmllint conversion, then.
20090329 18:50:53< esr> Note: it's actually easier for me to convert all tranlatables rather than message alone. Is that the direction you were going?
20090329 18:51:09< mordante> eg the caption of a dialog can either be a unit name or a WML markup, if it's a unit name I need to escape for &>< etc so that needs to be done later
20090329 18:51:34< mordante> esr, eventually yes, but we still have two gui engines and that conversion still takes a while
20090329 18:51:44< esr> Right.
20090329 18:52:58< esr> Which attributes do you want me to convert now? Just message=?
20090329 18:53:10< mordante> just [message]message=
20090329 18:53:33< esr> OK.
20090329 18:53:55< CIA-30> baufo * r34246 /trunk/src/ (9 files in 2 dirs): cleanup of the password hashing code and the login protocol (thus breaks compatibility)
20090329 18:57:14< Polarina> There's a graphical bug on example test map: http://rafb.net/p/uR7jzR36.html
20090329 18:57:39< mordante> can you also paste a screenshot?
20090329 18:57:58< Polarina> Sure.
20090329 18:58:59-!- Velory [n=GProcess@85.99.74.70] has quit [Read error: 110 (Connection timed out)]
20090329 18:59:10< zookeeper> Ivanovic, any problems with adding "empty" strings like postfix= _ "rightpanel_unitlevel_postfix^" so that someone can move the translation of "level" to be after the number in their language?
20090329 18:59:33< Ivanovic> zookeeper: this is allowed and no problem on the translation side
20090329 18:59:55-!- cristi_ceata [n=morpheus@p22.eregie.pub.ro] has joined #wesnoth-dev
20090329 19:00:11< Ivanovic> though there is a problem with the "old" string
20090329 19:00:31< Ivanovic> sicne there is no way to make enter some real "empty string"
20090329 19:00:35-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev
20090329 19:01:01< Ivanovic> so some way to have the level in a var would be better
20090329 19:01:30< Ivanovic> as in: _ "level $unit_level"
20090329 19:02:21< Ivanovic> no idea if this is already possible
20090329 19:02:43< zookeeper> Ivanovic, really, a translator can't translate a string to be empty?
20090329 19:03:12< Ivanovic> zookeeper: if there is nothing in the translation, gettext assumes that so far the string is not translated
20090329 19:03:13< zookeeper> and no, that's not already possible
20090329 19:03:39< zookeeper> right. that's kinda annoying then.
20090329 19:03:58< mordante> ilor, I think most items in "Client details" seem to be worthy milestones
20090329 19:04:09< Polarina> mordante: Here. http://simnet.is/gabrielp/wesnoth-terrainglitch.png goes with this map http://rafb.net/p/3j0gf323.html
20090329 19:04:16-!- cristi_ceata [n=morpheus@p22.eregie.pub.ro] has left #wesnoth-dev []
20090329 19:04:19< Ivanovic> so i think the best solution would be to make the while engine "better themable" by forwarding those items somehow into "variables" that can just be used in text
20090329 19:04:36< zookeeper> Polarina, that's nothing to bug mordante about
20090329 19:04:37< Ivanovic> Polarina: it is not a bug, it is a feature
20090329 19:04:44< Polarina> Ivanovic: Feature?
20090329 19:04:48< zookeeper> the snow mountains just don't have the small variations done so they're glitchy.
20090329 19:04:51< Ivanovic> some terrains are just not meant to be used together
20090329 19:04:58< mordante> Polarina, thanks
20090329 19:05:04< Polarina> Ivanovic: Ok, but the snow and castle is wrong.
20090329 19:05:10< Polarina> Ivanovic: Castle is supposed to be behind.
20090329 19:05:34< Polarina> mordante: You're welcome.
20090329 19:05:38< mordante> we see what's wrong, it's just that not all terrains can be put next to eachother
20090329 19:05:39< zookeeper> that's not an engine problem
20090329 19:06:07< mordante> and getting the WML rules good can be challenging ;-)
20090329 19:06:21< zookeeper> indeed
20090329 19:06:22< Polarina> The castle and snow is definitely wrong.
20090329 19:06:34< Ivanovic> Polarina: they are not MEANT to be used together
20090329 19:06:44< zookeeper> there is no snow there.
20090329 19:06:45< Polarina> Ivanovic: Why?
20090329 19:06:48< Ivanovic> so with other words: do not place snow mountains next to a dwarven castle
20090329 19:07:06< Polarina> Ivanovic: Ok, but it's just a matter of which gets drawn over which...
20090329 19:07:06< Ivanovic> because not every kind of terrain works together with every other terrain
20090329 19:07:13< Ivanovic> there are too many permutations possible...
20090329 19:07:20< zookeeper> Polarina, yes, fix it then.
20090329 19:07:30< Polarina> zookeeper: Ok. Any hint on where to start?
20090329 19:07:31< zookeeper> we'll wait your patch ;)
20090329 19:07:39< zookeeper> yeah. start in data/core/terrain-graphics.cfg
20090329 19:07:46< Polarina> zookeeper: Ok, thanks.
20090329 19:07:53< mordante> Soliton, didn't you write this description? https://gna.org/bugs/index.php?13283
20090329 19:08:20< mordante> or only in game?
20090329 19:08:35< mordante> also not sure why people report bugs against the wiki in the first place :-/
20090329 19:09:48< zookeeper> Ivanovic, hmm, but can't the translator translate a string to be empty by just translating it as "foo^"?
20090329 19:10:12< Ivanovic> no, because the game handles a foo^ in translations as "this belongs there and has to be displayed"
20090329 19:10:39< zookeeper> oh, right. that's too bad.
20090329 19:10:45< esr> mordante: Performing first test conversion with wmllint now...
20090329 19:10:57< mordante> :-)
20090329 19:12:04 * Polarina thinks WML is pain.
20090329 19:12:07< Ivanovic> zookeeper: that is why i would like to see the gui changed in a way to directly allow to translate the *whole* string including "where to place the data"
20090329 19:12:26< Ivanovic> though yes, this will require engine changes
20090329 19:15:06 * Polarina made tremendous progress in making things worse.
20090329 19:15:08-!- maploin [n=mapleoin@fedora/maploin] has joined #wesnoth-dev
20090329 19:15:13-!- Velory [n=GProcess@81.213.68.152] has joined #wesnoth-dev
20090329 19:18:25 * Polarina gives up before she breaks thing beyond repairs.
20090329 19:19:53-!- cristi_ceata [n=chatzill@p22.eregie.pub.ro] has joined #wesnoth-dev
20090329 19:20:56< Velory> Dragonking around ?
20090329 19:21:50 * Dragonking
20090329 19:22:09< Velory> units_can_reach(my_moves,unita.loc) is that also gives unita ?
20090329 19:22:40< Velory> because when i try units_can_reach(my_moves,my_leader.loc) it gives my leader
20090329 19:25:56< Crab_> Velory, yes
20090329 19:26:21-!- euschn [n=chatzill@85-127-106-97.dynamic.xdsl-line.inode.at] has quit [Remote closed the connection]
20090329 19:26:41< Crab_> (if he hasn't moved yet, that is)
20090329 19:27:41< Crab_> (and if he moved, it gives a nice assertion failure in src/formula_ai.cpp:951, hehe)
20090329 19:27:55< Velory> Ok :)
20090329 19:29:16-!- JW1 [n=X@cpe-71-72-142-89.woh.res.rr.com] has joined #wesnoth-dev
20090329 19:30:09< mordante> silene, here's a rough draft http://paste.debian.net/31849/
20090329 19:30:36< mordante> I've to leave in about 40 minutes so will polish it later
20090329 19:32:26-!- tct13 [n=Tibi@p22.eregie.pub.ro] has joined #wesnoth-dev
20090329 19:32:43< cristi_ceata> tct13: salut
20090329 19:32:54< tct13> hey cristi_ceata
20090329 19:33:20< cristi_ceata> esr: hello!
20090329 19:39:01-!- euschn [n=chatzill@85-127-106-97.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev
20090329 19:39:16-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev
20090329 19:39:17< Polarina> Hehe. I got code to convert unix timestamps to date. :)
20090329 19:42:22< mordante> Baufo, your hash change does it really belong in the wesnoth core library?
20090329 19:42:37< mordante> Baufo, and when you add a file please add it to all build systems
20090329 19:42:53-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev
20090329 19:43:17< Baufo> mordante, 1) are you talking about scons? if so, I don't know
20090329 19:43:30< Baufo> mordante, 2) sorry, I keep forgetting that :(
20090329 19:44:05< mordante> Baufo, yes the place where you added it
20090329 19:44:52< Baufo> mordante, I don't really understand scons so I just put it in the same section as md5.cpp
20090329 19:45:17< esr> mordante: A check reveals that the old characters don't seem to be used in [message] tags in mainline -- at least not @ and #, I grepped. I only found one &. Could you send me a patch to enabe Pango interpretation in story= attributes? There are several of those and right now they con't work.
20090329 19:45:43< Crab_> Dragonking: around ?
20090329 19:46:56< mordante> esr, not really since that still uses the old dialog code
20090329 19:47:16< Dragonking> Crab_: Yes?
20090329 19:47:29< Baufo> mordante, any hints where hash.cpp belongs would be appreciated :)
20090329 19:48:03< Soliton> Baufo: you can also just tell loonycyborg about your change and he'll probably do it right for you. ;-)
20090329 19:48:04< loonycyborg> Baufo: That depends on what parts of wesnoth use it.
20090329 19:48:36< mordante> Baufo, what parts of the Wesnoth need it?
20090329 19:48:38< Crab_> I've spotted a reproducible assertion failure in formula_ai. Do you have time to look at it at the moment ?
20090329 19:48:54< Baufo> both client and mp server need it
20090329 19:49:14-!- tct13 [n=Tibi@p22.eregie.pub.ro] has left #wesnoth-dev []
20090329 19:49:17-!- law_ [n=law_@evil-wire.org] has left #wesnoth-dev []
20090329 19:49:20< esr> mordante: I can cook up a test, but I need to get lunch now. Later.
20090329 19:49:29< mordante> ok
20090329 19:50:08< loonycyborg> Baufo: Then I don't see what's wrong with putting it into wesnoth_core.
20090329 19:50:52< zookeeper> boucman, when recruiting, the leader's hp bars flicked off. probably caused by the default recruiting anim.
20090329 19:52:18< mordante> hmm yes it can be in core will be dragged into some places that don't need it, but maybe not worth the effort to clean it up
20090329 19:52:33< mordante> Baufo, will you modify cmake and autotools or should I?
20090329 19:52:53< Baufo> mordante, I am about to
20090329 19:52:55< mordante> ok
20090329 19:53:34< Dragonking> Crab_: Please leave me details
20090329 19:53:42< Dragonking> I'll have a look
20090329 19:54:05< esr> mordante: Your patch failed. I tried bolding Aiglondur's "Up axes!" at the beginning of THoT. It displayed Aiglondur's name rther than the text and the following console message:
20090329 19:54:08< esr> Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1 char 113: Element 'markup' was closed, but the currently open element is 'b'
20090329 19:54:23-!- cristi_ceata [n=chatzill@p22.eregie.pub.ro] has quit ["Chatzilla 0.9.75.1 [SeaMonkey 1.1.12/2008082900]"]
20090329 19:54:45< CIA-30> baufo * r34247 /trunk/src/ (CMakeLists.txt Makefile.am): add hash.cpp to autotools and cmake
20090329 19:54:47< mordante> esr, are you sure you wrote proper pango markup?
20090329 19:55:07< esr> I'm rechecking that now.
20090329 19:55:22-!- gozaboru [i=akhilpai@markley-135168.reshall.umich.edu] has quit []
20090329 19:55:26< esr> message=_"Up axes! We will be the Northern Alliance's arm today, and kill or scatter these invaders."
20090329 19:56:11< Crab_> Dragonking, https://gna.org/bugs/index.php?13286
20090329 19:56:26< esr> Worked this time; maybe I typoed last time. Bold is not very visible. Let me try italic.
20090329 19:56:37< silene> mordante: do the pre_show and post_show parameters have to be passed in a special way? couldn't they be set the same way other callbacks would be?
20090329 19:57:22< mordante> can also be set as callbacks later, but I expect them being used most of the time
20090329 19:57:58< mordante> that's why I added them as parameters to the create function
20090329 19:58:21< esr> Italics works. But I'm getting dropourts in the background music.
20090329 19:58:47< mordante> in the pre event you'll probably want to modify some labels to have the relevant information
20090329 19:59:49< mordante> esr, I assume it's not related to this change ;-) Shadow_Master made some sound changes lately, maybe he can help you
20090329 20:00:36< esr> There'yre sporadicx, I just displayed italics without dropouts, so yes, probably unrelated.
20090329 20:01:30< esr> Looks like, at least for [message]message=, this conversion will be trivial. Bare & sghould become &, I assume?
20090329 20:01:38< esr> &, I mean.
20090329 20:02:21< mordante> yes and at least < and > also need to be escaped
20090329 20:02:33< esr> OK.
20090329 20:02:33< mordante> not sure whether there's more to escape
20090329 20:04:13< silene> mordante: sure, i understand the point of these functions; i just meant that it would be better to have only one mechanism for setting callbacks; for instance, lua is a table-centric language, so the users may expect a syntax like: my_dialog.pre_show = something
20090329 20:04:54< esr> Oh, < and > are a problem. How do we tell when they should be converted vs. already being part of pango tags?
20090329 20:05:52< mordante> convert the < > and & first and then add the markup
20090329 20:06:41< mordante> silene, ok good argument, I'm not too familiar with lua yet
20090329 20:10:39< loonycyborg> esr: Add support for parsing them obviously :)
20090329 20:11:01< loonycyborg> If they're valid pango tags, leave them be. Convert otherwise :P
20090329 20:11:03< silene> mordante: ok, let me write some pseudo-lua script, and then we can discuss what makes or doesn't make sense from a gui2 perspective; i have a question first though: how do you expect dialogs to be created? from a description (e.g. a big wml object) or programmatically (widgets are added to the dialog one after the other)
20090329 20:11:32< Velory> Crab_: its not giving error in me
20090329 20:11:55< Velory> Crab_: it gave [] tome
20090329 20:12:03< Crab_> Velory: see https://gna.org/bugs/index.php?13286 - there's a specific sequence to do to make it crash
20090329 20:12:10< Velory> yes
20090329 20:12:13< mordante> silene, a wml script which should be somehow send in the pre_load event
20090329 20:12:14< Velory> i tried this crash
20090329 20:12:22< Velory> 8,4 9,5
20090329 20:12:26< esr> mordante: You don't understand. wmllint has to know not to mess with them when run on an already converted campaign. It's a rule of the wmllint design, it has to be able to recognize when it should do nothing -- otherwise cleaning up after it would be a huge pain in the ass.
20090329 20:12:36< Velory> and write again but wasnt gave crash to me
20090329 20:12:36< mordante> doing it programmatically is possible but can be really tricky
20090329 20:12:38< Velory> just returned []
20090329 20:12:42< Crab_> Velory: it doesn't crash for you ? have you used the formula twice ?
20090329 20:12:42-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"]
20090329 20:12:46< Velory> yes
20090329 20:12:58< Velory> i did ur steppes
20090329 20:13:25< mordante> esr, yes that's a problem, also escaping & twice can happen and a * is valid in the new syntax
20090329 20:13:26< Polarina> How does one enable assertions?
20090329 20:13:28< Velory> if u want i can paste m units_can_reach function maybe some difference between you and me ?
20090329 20:13:38< Velory> s/m/my(
20090329 20:13:47< mordante> but I'm afk now
20090329 20:13:48< esr> mordante: I'll deal with it.
20090329 20:14:03< mordante> maybe make it a manual target
20090329 20:14:58< Crab_> Velory: maybe something recently fixed ? that assertion failure happens for me every time ) i'll recheck, and, if so, close the bug
20090329 20:15:03< silene> Polarina: they are enabled by default
20090329 20:15:07< Velory> hmm
20090329 20:15:13< Polarina> silene: Cool.
20090329 20:15:14< Velory> my version is no recent version
20090329 20:15:16< Velory> its 1.6
20090329 20:15:17< Velory> i think
20090329 20:15:24< Velory> not 1.6.a
20090329 20:15:39< Velory> hmm i downloaded from svn before 1.6.a
20090329 20:16:22 * Crab_ is recompiling from trunk to see if it happens there...
20090329 20:17:34< Velory> Crab: is it same in your .cpp ? http://pastebin.com/d7b9d70f3
20090329 20:19:10< Crab_> Velory: the bug (if it is still around, i'll see when it recompiles) can be in other part of the code - for example, make_moves can return something not anticipated
20090329 20:20:05< Velory> yes i see
20090329 20:22:14-!- busfahrer [n=busfahre@ulmg-5f70c90b.pool.einsundeins.de] has joined #wesnoth-dev
20090329 20:26:40< Soliton> mordante: looks like healthy description is uptodate everywhere except the wiki.
20090329 20:28:44-!- fendrin [n=fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev
20090329 20:28:45 * Soliton finds it annoying at how many places information is duplicated.
20090329 20:29:19-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"]
20090329 20:30:54< Soliton> looks to me like http://www.wesnoth.org/wiki/PlayingBattleForWesnoth can just be replaced by a link to the manual?
20090329 20:33:58< Crab_> Velory, Dragonking: sorry, the bug I've reported is not yet reproducible at trunk at the moment. But, later, it will be :) It requires the formula_ai instance that executed the first units_can_reach command to be the same formula_ai that executed second units_can_reach command (a feature not yet present in trunk when evaluating formulas from console, but present when the AI plays the computer). So, it it not possible to reproduce it fr
20090329 20:34:41< Dragonking> Crab_: Ok, so I just need to make side formula that does such moves?
20090329 20:35:46< Soliton> Crab_: you need to tell you irc client to split long lines or they'll get cut off.
20090329 20:36:01< Crab_> Dragonking: seems to me - yes. IMO, my_moves is cached somewhere, so, during the 2nd evaluation of units_can_reach, it is a bit off ....
20090329 20:36:09< Crab_> Soliton:ok
20090329 20:36:43< Dragonking> Crab_: Ok, I'll investigate, no clue if it will be today or not...
20090329 20:36:59< Dragonking> Still need to prepare for test that I have tomorrow...
20090329 20:37:06< Crab_> Dragonking, better wait a week - i hope to make that bug reproducible at trunk.
20090329 20:37:15< Dragonking> ok
20090329 20:37:43< Dragonking> I see you want to do something that I also wanted to look at some time ago :)
20090329 20:37:59< Crab_> what exactly :) ?
20090329 20:39:07-!- davecm is now known as davecm|away
20090329 20:41:02< Dragonking> You want to be able to call up some persistent ai while executing formula from commandline, am I right?
20090329 20:41:21< Crab_> Dragonking: this is already done in my working copy.
20090329 20:41:29< Dragonking> Great
20090329 20:41:39< Dragonking> I thought so.
20090329 20:41:41< Dragonking> :)
20090329 20:42:12< Crab_> Dragonking: it is part of 'ai hot redeployment' - i have a stack of AIs for each team and a stack of AIs for console evaluation and a stack of AIs for fallback.
20090329 20:42:22-!- gozaboru [i=akhilpai@markley-135168.reshall.umich.edu] has joined #wesnoth-dev
20090329 20:42:31< Dragonking> ok
20090329 20:42:37< Dragonking> Sounds interesting
20090329 20:42:38< Crab_> Dragonking: and, formula_ai is set as default command evaluator. so, an instance of formula ai is created at first access
20090329 20:42:50< Dragonking> Yup
20090329 20:43:30< Crab_> so, good luck with the test(s) )
20090329 20:47:07-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."]
20090329 20:47:29-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev
20090329 20:48:13< Dragonking> Thanks :)
20090329 20:50:10-!- cristi_ceata [n=chatzill@p22.eregie.pub.ro] has joined #wesnoth-dev
20090329 20:52:57-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."]
20090329 20:53:07< Velory> Dragonking: if 3 units can reach my leader for example units_can_reach returning list of this guys+myleader or just my_leader ==
20090329 20:53:09< Velory> ??
20090329 20:53:19-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev
20090329 20:53:21< Velory> i think its returning just my leader :S
20090329 20:53:27< Velory> not all units
20090329 20:54:09< Crab_> Velory: try units_can_reach( some_empty_location_near_your_leader)
20090329 20:54:41< Crab_> Velory: for no other of your units has a valid move to the hex in which your leader is standing. for you cannot move into occupied hex
20090329 20:54:42< Velory> hmm :)
20090329 20:57:01< Velory> oh
20090329 20:57:09< Velory> hmm i see something now :)
20090329 20:57:30< Velory> my_leader.loc can just reachable for my leader other hex can reachable for others
20090329 20:57:36< cristi_ceata> esr: hello! I would like to ask you about the following idea(aside from wesnoth). Can we contribute to the Journal File with a Romanian section? Romanian is a language, which many people think of being inappropriate for IT. Many terms seem hilarious just because of they simply don't sound like having anything to do with IT. However, they are used as pejorative terms by Romanian hackers/wannabe hac
20090329 20:57:38< cristi_ceata> kers.
20090329 20:58:55< Crab_> Velory: yes. IMO, 'units_can_reach' is slighly misleading. it's more like 'units_can_move_to_now'
20090329 20:59:12< loonycyborg> cristi_ceata: Perhaps you mean Jargon File? :P
20090329 20:59:23< Velory> yes
20090329 20:59:32< cristi_ceata> loonycyborg: of course. sorry!
20090329 21:03:54< Velory> yes
20090329 21:03:55< Velory> :D
20090329 21:04:01< Velory> now i solved my problem :D
20090329 21:04:11< Velory> YaYYYY!!!!! :SD
20090329 21:05:46-!- YogiHH [n=chatzill@c174199.adsl.hansenet.de] has joined #wesnoth-dev
20090329 21:05:48< Crab_> Velory: into what you have tricked the AI ? what it does ?
20090329 21:06:29< YogiHH> hello everyone
20090329 21:06:40< Crab_> hi YogiHH
20090329 21:07:41< euschn> hi YogiHH
20090329 21:07:57-!- brahim [n=brahim@173.68.89-79.rev.gaoland.net] has quit [Read error: 110 (Connection timed out)]
20090329 21:09:10< Velory> Crab_:http://pastebin.com/d2c2a59f2 difference between this 2
20090329 21:09:19-!- davecm|away is now known as davecm
20090329 21:10:32< Polarina> What's the origin of the name Wesnoth?
20090329 21:12:03< Velory> Crab_: units_can_reach(my_moves,unita.loc) always returning 1 but i learned that one about 2 min ago :) :D
20090329 21:12:13< Velory> i didnt knew before :D
20090329 21:12:24< Velory> now solved :)
20090329 21:12:36-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev
20090329 21:12:45< Crab_> )
20090329 21:13:57< Crab_> Polarina: there is a note in wikipedia about the origin ) not really sure if it is to be trusted )
20090329 21:14:37-!- West_ [n=West@hd5e2754c.gavlegardarna.gavle.to] has joined #wesnoth-dev
20090329 21:16:21< zookeeper> West_, you should talk with mordante about those dialog/window edge things
20090329 21:16:32 * Polarina wonders if she should translate the name of multiplayer maps...
20090329 21:16:49< West_> zookeeper, yep
20090329 21:18:03-!- cristi_ceat1 [n=morpheus@p22.eregie.pub.ro] has joined #wesnoth-dev
20090329 21:18:22-!- cristi_ceat1 [n=morpheus@p22.eregie.pub.ro] has left #wesnoth-dev []
20090329 21:20:44< West_> zookeeper, I just realized that the game *does* differentiate between the two already
20090329 21:21:04< West_> dialogs/notices have transparent bg's
20090329 21:21:25< West_> while windows have the standard non-transarent bg's
20090329 21:21:38< West_> I've honestly never thought about that
20090329 21:21:49< zookeeper> hmm, yeah.
20090329 21:22:13< zookeeper> but it's not that clear-cut i think. anyway, i'm not really here ->
20090329 21:22:37< West_> ah
20090329 21:22:44< Polarina> teamname^Revolt -- does the "volt" part mean, like voltage (electronics), or am I being stupid again? :P
20090329 21:24:43< Soliton> the latter.
20090329 21:25:19< Polarina> Ok.
20090329 21:30:16< YogiHH> can someone confirm this, please? Start a campaign - play a turn or two - save the game - load from that save - play another turn - end turn - (AI side turns) - your turn again - select one of your units - crash
20090329 21:30:28< YogiHH> done with HttT
20090329 21:30:42< Crab_> YogiHH will try..
20090329 21:30:45< Polarina> Give me a moment.
20090329 21:31:35< Crab_> YogiHH: on what difficulty level ?
20090329 21:31:40< YogiHH> easy
20090329 21:35:37< Polarina> YogiHH: I cannot reproduce it.
20090329 21:35:41< Crab_> YogiHH: r34247 - (played 2 turns) - no crash.
20090329 21:35:49< YogiHH> ok, thanks
20090329 21:36:09-!- noy [n=Noy@wesnoth/developer/noy] has quit []
20090329 21:36:09< Crab_> YogiHH: can you reproduce from that save ?
20090329 21:36:13< silene> Ivanovic: is there something wrong with wesnoth-lib/ca.po? my system modifies it whenever i compile wesnoth; five lines are added, they all look like "#. #-#-#-#-# wesnoth.wml.po (PACKAGE VERSION) #-#-#-#-#"
20090329 21:36:17< YogiHH> the good new is: it must have been my changes (so i know where ot look)
20090329 21:36:25< Crab_> )
20090329 21:36:28< Velory> i had no crash too :)
20090329 21:36:31< YogiHH> the bad new is: it must have been my changes (so i have to fix it) ;-)
20090329 21:36:58 * Crab_ hopes that those changes don't touch team.cpp a lot...
20090329 21:38:07-!- turin [n=turin@168.215.250.1] has joined #wesnoth-dev
20090329 21:38:16< Ivanovic> silene: looks like the file is broken...
20090329 21:38:27< YogiHH> Crab_: not at all
20090329 21:38:44< Ivanovic> silene: don't ask me for details about this one, that is ettin_s area...
20090329 21:38:59 * Crab_ is relieved...
20090329 21:39:48< Crab_> YogiHH, for I've changed it a lot, but there's a lot of things to polish before it can be committed.
20090329 21:40:31< Ivanovic> silene: probably something strange with wmlxgettext going on...
20090329 21:40:56< YogiHH> Crab_: it will take a while until i'll get to team.cpp for savegames. There will be some other stuff to done first.
20090329 21:41:08< YogiHH> *be done*
20090329 21:41:25< Crab_> ok )
20090329 21:41:52< YogiHH> off for tonight
20090329 21:42:06-!- YogiHH [n=chatzill@c174199.adsl.hansenet.de] has left #wesnoth-dev []
20090329 21:43:41< CIA-30> silene * r34248 /trunk/src/gui/widgets/window_builder.cpp: Removed duplicated config accesses. Fixed some documentation typos.
20090329 21:43:51 * Polarina recompiles.
20090329 21:46:06-!- maploin [n=mapleoin@fedora/maploin] has quit ["In accordance with the prophecy"]
20090329 21:46:52-!- MFreeNet [n=admin@94-21-28-118.pool.digikabel.hu] has joined #wesnoth-dev
20090329 21:47:59-!- MFreeNet [n=admin@94-21-28-118.pool.digikabel.hu] has left #wesnoth-dev []
20090329 21:48:13< mordante> thanks for looking into it Soliton
20090329 21:50:46-!- [Relic] [n=[Relic]@adsl-76-229-202-137.dsl.milwwi.sbcglobal.net] has joined #wesnoth-dev
20090329 21:51:45< [Relic]> Hello :)
20090329 21:52:53< mordante> hi [Relic]
20090329 21:55:34< [Relic]> :)
20090329 21:56:45< mordante> West_, the can't really cope with switching between different borders, depending on the dialog size only depending on the size of the main window
20090329 21:56:52< mordante> the engine*
20090329 21:57:01-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has joined #wesnoth-dev
20090329 21:57:29< mordante> West_, of course it could be added, but it might get tricky
20090329 21:58:01< West_> mordante, so how does the current engine manage it?
20090329 21:58:14-!- fabi [n=fabi@f051163193.adsl.alicedsl.de] has joined #wesnoth-dev
20090329 21:58:16< West_> is it hard coded which images to use?
20090329 21:58:20< mordante> West_, also not sure how much it will benefit since you can win about 20 pixels
20090329 21:58:47< mordante> you define a window and which images to use to build them
20090329 21:58:59< West_> ah, ok
20090329 21:59:04< mordante> then the engine tries to fit the content inside the window
20090329 21:59:30< mordante> that algorithm still has a few flaws so it can fail, in the future it should try harder
20090329 21:59:44< mordante> (eventually by adding scrollbars to the window)
20090329 22:00:11< West_> I see
20090329 22:00:13< mordante> but for small window sizes you can define an entirely different border
20090329 22:00:31< West_> that was what I was wondering, yes
20090329 22:00:32< mordante> for example tiny-gui will also have a smaller font size
20090329 22:01:26< West_> another question: that blur on the transparent bg's, is that an image?
20090329 22:01:37< West_> or some effect?
20090329 22:02:02< mordante> some info on the resolution http://wesnoth.org/wiki/GUIToolkitWML#Resolution
20090329 22:02:42< mordante> the old gui uses a run-time effect. The new gui can't do it yet, but it will also be runtime
20090329 22:02:55< West_> ah
20090329 22:03:16-!- Netsplit verne.freenode.net <-> irc.freenode.net quits: zookeeper, isaac
20090329 22:03:20< West_> no need for me to add such stuff to the images then
20090329 22:03:25-!- isaac [n=isaac@debian/developer/isaac] has joined #wesnoth-dev
20090329 22:03:43< mordante> indeed
20090329 22:04:20-!- davecm [n=davecm@89.100.88.169] has quit []
20090329 22:04:46< mordante> but nice to see the widgets to get overhauled :-)
20090329 22:05:23< West_> yeah
20090329 22:05:40< mordante> just to be sure I assume it's meant to be, to make this gui to replace the old one
20090329 22:06:12< West_> yes, that was my thought
20090329 22:06:26< West_> obviously it's not my call though
20090329 22:06:36< West_> I mean if everyone likes the old one better...
20090329 22:06:47< mordante> if that's the case then the need to be able to switch between themes is not needed yet
20090329 22:07:01< West_> no, it isn't
20090329 22:07:16< mordante> my plate is rather full so I prefer to postpone things which don't have a use yet ;-)
20090329 22:07:17< West_> that won't be needed until (if) we have faction specific UI's
20090329 22:07:52< mordante> well one of the ideas behind the new gui is to allow people to create their own themes more easily so I want to add that feature
20090329 22:08:12-!- ettin_ [n=jorda@wesnoth/developer/ettin] has quit [Read error: 60 (Operation timed out)]
20090329 22:08:27< West_> yes, I can see how that would be a nice feature to have
20090329 22:08:35< mordante> it's just that we want to do a new release in about six months and I think I've for at least 12 months of work
20090329 22:09:23< West_> oh
20090329 22:09:53< mordante> and people come up with new cool ideas all the time ;-)
20090329 22:10:19< West_> how dare they!
20090329 22:10:22< West_> :)
20090329 22:10:24< Polarina> Why not use GTK+?
20090329 22:10:39< Polarina> GTK+ has themes. :)
20090329 22:10:53-!- ettin [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev
20090329 22:11:21< West_> wouldnt that require runtime stuff on non linux systems?
20090329 22:11:34< mordante> West_, well I'm rather excited about your work and also the work silene is doing on lua
20090329 22:11:51< Polarina> West_: Would it?
20090329 22:11:59< West_> mordante, I'm glad to hear it
20090329 22:11:59< mordante> West_, he wants to work on letting WML/LUA to show custom dialogs from WML
20090329 22:12:12< West_> Polarina, I think so yes
20090329 22:12:12< Polarina> mordante: What's LUA?
20090329 22:12:18< Polarina> West_: QT then.
20090329 22:12:24< Polarina> mordante: Did you mean Lua?
20090329 22:12:25< mordante> that means it would be possible to add things like inventories
20090329 22:12:39< mordante> Polarina, yes
20090329 22:12:49-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Read error: 110 (Connection timed out)]
20090329 22:12:50< Polarina> mordante: Good. Remember that Lua is not an acronym.
20090329 22:12:59< mordante> I know that ;-)
20090329 22:13:12< Polarina> mordante: Then don't repeat that mistake again. :D
20090329 22:13:46< mordante> GTK+ needs several runtime libraries
20090329 22:14:02< ilor> ok guys I'm off, not feeling well tonight must've caught sth. I'll get back to the project proposal tomorrow.
20090329 22:14:24< mordante> night ilor
20090329 22:14:25< Polarina> ilor: Try to make the best out of it.
20090329 22:15:05< mordante> GTK+ has themes but it's not really well suited for our needs
20090329 22:15:07-!- ilor [n=user@wesnoth/developer/ilor] has quit []
20090329 22:15:37< mordante> and I'm not convinces modifying it to our needs is worth the effort
20090329 22:15:40-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has joined #wesnoth-dev
20090329 22:15:49< mordante> (and working on you own GUI is more fun ;-) )
20090329 22:16:18< West_> :D
20090329 22:17:36 * Polarina thinks code duplication.
20090329 22:19:24 * mordante thinks choice ;-)
20090329 22:21:24-!- Elvish_Pillage2 [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev
20090329 22:25:16< silene> for themanaworld, we were using guichan; this library has a nice property: you have complete control over the drawing (in fact, you have to), but the library takes care of all the not-so-funny details, like event dispatch, widget hierarchy, and so on
20090329 22:28:02-!- res|laptop [n=res@erft-4d07fe25.pool.mediaWays.net] has joined #wesnoth-dev
20090329 22:28:31< Shadow_Master> silene: have you updated the trunk changelog?
20090329 22:29:29< silene> Shadow_Master: i have; are you thinking of something in particular?
20090329 22:29:58< CIA-30> mordante * r34249 /trunk/src/display.cpp: Converted the old style casts to c++ style casts.
20090329 22:30:08< CIA-30> mordante * r34250 /trunk/src/soundsource.cpp: Converted the old style casts to c++ style casts.
20090329 22:30:09< Shadow_Master> yes, didn't you implemented a "preload" WML event in some commit last week?
20090329 22:30:12< CIA-30> mordante * r34251 /trunk/src/formula_ai.cpp: Converted the old style casts to c++ style casts.
20090329 22:30:17< CIA-30> mordante * r34252 /trunk/src/unit_frame.cpp: Converted the old style casts to c++ style casts.
20090329 22:30:23< CIA-30> mordante * r34253 /trunk/src/unit_animation.cpp: Converted the old style casts to c++ style casts.
20090329 22:30:31< CIA-30> mordante * r34254 /trunk/src/editor2/editor_controller.cpp: Converted the old style casts to c++ style casts.
20090329 22:30:31< mordante> Shadow_Master, did you see the sound commit I made, where I left you a note
20090329 22:30:37< Shadow_Master> mordante: thanks for interrupting our conversation!
20090329 22:30:38< silene> Shadow_Master: * Added a "preload" WML event type.
20090329 22:30:38< CIA-30> mordante * r34255 /trunk/src/widgets/menu.cpp: Converted the old style casts to c++ style casts.
20090329 22:30:44< CIA-30> mordante * r34256 /trunk/src/multiplayer_lobby.cpp: Converted the old style casts to c++ style casts.
20090329 22:30:50< Shadow_Master> mordante: and yes, of course I see it, but give me time to rebase and check the diff
20090329 22:30:52< mordante> Shadow_Master, you're welcome :-P
20090329 22:31:15< Shadow_Master> silene: I don't see it in my changelog for some reason
20090329 22:31:17< mordante> remind me next time not to try to remind you :-/
20090329 22:31:33< Shadow_Master> silene: oh, sorry. I now see it.
20090329 22:32:47< Shadow_Master> I'm surprised that nobody has reported a bug with no music files & infinite loop to the debian BTS yet :-/
20090329 22:33:11< CIA-30> shadowmaster * r34257 /branches/1.6/src/sound.cpp:
20090329 22:33:11< CIA-30> Avoid an infinite loop when no music playlist entries are valid (e.g.
20090329 22:33:11< CIA-30> when none of them could be resolved to file paths).
20090329 22:33:11< CIA-30> This was an obvious blocker for people who don't install the
20090329 22:33:11< CIA-30> wesnoth-music package in Debian. ;(
20090329 22:33:33< silene> Shadow_Master: nice
20090329 22:34:08-!- cristi_ceata [n=chatzill@p22.eregie.pub.ro] has quit ["Chatzilla 0.9.75.1 [SeaMonkey 1.1.12/2008082900]"]
20090329 22:34:29< mordante> silene, I'll look at guichan later, thanks for the info
20090329 22:34:43< Shadow_Master> I'm not 100% sure, but I think my refactoring in trunk defeated the bug
20090329 22:35:22< Shadow_Master> i'd actually n ot have noticed this if I wasn't playing Dead Water and stumbled upon a scenario with incorrect music filenames
20090329 22:36:03< Shadow_Master> yeah. it is defated.
20090329 22:36:12-!- csaunders [n=csaunder@ip216-239-74-177.vif.net] has joined #wesnoth-dev
20090329 22:37:07-!- csaunders [n=csaunder@ip216-239-74-177.vif.net] has left #wesnoth-dev []
20090329 22:37:37-!- csaunders [n=csaunder@ip216-239-74-177.vif.net] has joined #wesnoth-dev
20090329 22:38:10-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)]
20090329 22:39:35< Polarina> mordante: Want me to test it?
20090329 22:39:54< mordante> Polarina, ?
20090329 22:40:05< Polarina> mordante: Your commit in the trunk.
20090329 22:40:36< mordante> sorry I've no idea what you mean?
20090329 22:40:43< Polarina> mordante: Nevermind.
20090329 22:41:56< mordante> I'm off night
20090329 22:42:08-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"]
20090329 22:42:49-!- silene [n=plouf@wesnoth/developer/silene] has quit ["Leaving."]
20090329 22:42:50< Shadow_Master> um... mordante. I'm not sure about your change, but I'm not sure about how it was before and after my refactoring either
20090329 22:45:40< CIA-30> shadowmaster * r34258 /branches/1.6/ (changelog players_changelog): Update changelogs for r34257
20090329 22:46:42-!- Baufo [n=thomas@wesnoth/developer/baufo] has quit [Remote closed the connection]
20090329 22:47:11< Polarina> Why can't I use UTF-8 characters, other than ASCII, in po/wesnoth-manpages/is.po? All I get is po/wesnoth-manpages/is.po:72:10: invalid multibyte sequence
20090329 22:47:12< Polarina> :S
20090329 22:48:07< Shadow_Master> and you get that when compiling it into a .mo?
20090329 22:48:19-!- JW1 [n=X@cpe-71-72-142-89.woh.res.rr.com] has quit [Connection timed out]
20090329 22:48:19< Polarina> Yes.
20090329 22:48:24< Shadow_Master> could you upload the faulty file somewhere?
20090329 22:48:32< Smar> poedit?
20090329 22:48:34< Polarina> I changed the encoding in the header of the .po file to UTF-8...
20090329 22:48:36< Polarina> Smar: Yes.
20090329 22:48:55< Smar> Polarina: your version has unicode support?
20090329 22:49:03< Polarina> Smar: Yes...
20090329 22:49:26< Smar> ok, out of ideas
20090329 22:49:50< Shadow_Master> just send it to me via PM to my forum account and I'll check it.
20090329 22:50:00< CIA-30> shadowmaster * r34259 /trunk/changelog: Indentation fix.
20090329 22:50:06< Polarina> I think I figured what's wrong...
20090329 22:50:52< Polarina> Someone set the encoding to ASCII, so when I wrote in non-ASCII characters, that crappy software saved it as ISO-8859-15. :(
20090329 22:51:50< CIA-30> shadowmaster * r34260 /trunk/changelog: Sanitize the category ordering in the main changelog.
20090329 22:52:50< CIA-30> shadowmaster * r34261 /trunk/players_changelog: Remove trailing whitespace.
20090329 22:53:58< Polarina> Ok, it works now. Thanks everyone.
20090329 22:54:10< CIA-30> shadowmaster * r34262 /branches/1.6/changelog: Fix category ordering in changelog.
20090329 22:54:18< Shadow_Master> thespaceinvader: look at branches/1.6 changelog line 9 (HEAD)
20090329 22:54:33< Shadow_Master> thespaceinvader: Ogre isn't aligned with New from the line right above it
20090329 22:55:00< Shadow_Master> esr: what's up? you rang?
20090329 22:55:06-!- Noyga [n=noyga@wesnoth/developer/noyga] has joined #wesnoth-dev
20090329 22:55:16-!- Noyga [n=noyga@wesnoth/developer/noyga] has quit [Client Quit]
20090329 22:55:29< CIA-30> esr * r34263 /trunk/ (7 files in 5 dirs):
20090329 22:55:29< CIA-30> Pango-enable message= attributes within [message].
20090329 22:55:29< CIA-30> This patch includes (a) switching on this feature in the C core (and
20090329 22:55:29< CIA-30> diabling grotty old Wesnoth markup in this context), (b) an upgrade to
20090329 22:55:29< CIA-30> wmllint to do most of these conversions automatically (e.g. in TROW),
20090329 22:55:29< CIA-30> (c) hand-fixes for some unual cases (in the Tutorial), and (d) a test
20090329 22:55:33< CIA-30> of Pango (in THOT).
20090329 22:55:46 * Shadow_Master brrrrr.
20090329 22:55:51< Polarina> Eek.
20090329 22:56:23< Shadow_Master> esr: please document that in the wiki ( as a {{DevFeature}} of course ) SAP
20090329 22:56:25< Shadow_Master> ASAP.
20090329 22:56:34< esr> Shadow_Master: Already done.
20090329 22:56:45< Shadow_Master> esr: then what did you need me for some hours ago?
20090329 22:56:56< esr> I should add one sentence to that, though.
20090329 22:57:02< esr> Looking...
20090329 22:58:27< esr> I don't remember. I'm not fiinding an attempt to summon you in my scrollback, either. You sure it was me?
20090329 22:58:53< Shadow_Master> ah. no, it was mordante highlighting me talking to you.
20090329 22:59:06< Shadow_Master> something about you and music
20090329 23:00:09< esr> I was getting music dropoutts for a while while I was testing the new Pango featuree, but I thing that was just coinciidence.
20090329 23:01:02< Shadow_Master> it will happen whenever there's a lot of CPU load. Which is 70% of the time while playing, for me. I agree it's annoying, but unlike Mordante was thinking, I don't have anything to do with it (more likely it has to do with him and the layered graphics renderer)
20090329 23:01:10< Shadow_Master> ;)
20090329 23:05:36< Soliton> "Healthy units have 1 HP plus 1 HP per level more than usual and rest heal the usual 2 HP after each turn they did not fight." does that somehow suggest healing could go up to 12HP in one turn?
20090329 23:07:03-!- Netsplit verne.freenode.net <-> irc.freenode.net quits: CIA-30, jmunro[a], ikarius__
20090329 23:07:31-!- Netsplit over, joins: jmunro[a], ikarius__, CIA-30
20090329 23:08:22< Soliton> to me the proposed addition in https://gna.org/bugs/index.php?13283 rather makes it worse.
20090329 23:08:32-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Read error: 104 (Connection reset by peer)]
20090329 23:08:51-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev
20090329 23:10:26< esr> Soliton: Eric the resident English pedant says you can mark that omne "Wont Fix". :-)
20090329 23:11:07< Soliton> ok, i had it invalid though he was actually right about the poison note missing at one point.
20090329 23:11:20< Soliton> not going to change anything else then though.
20090329 23:11:37-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has quit []
20090329 23:11:51< CIA-30> soliton * r34264 /branches/1.6/data/core/help.cfg: added the poison note to the healthy help entry; fixes bug #13283: Description for healthy trait incomplete/confusing
20090329 23:12:19< CIA-30> soliton * r34265 /trunk/data/core/help.cfg: added the poison note to the healthy help entry; fixes bug #13283: Description for healthy trait incomplete/confusing
20090329 23:18:38< Shadow_Master> interesting. ImageMagick on my laptop (lenny) doesn't seem to change the colours of rescaled images like it does in the forums
20090329 23:18:59-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has joined #wesnoth-dev
20090329 23:19:03 * Shadow_Master ponders this.
20090329 23:19:12< CIA-30> esr * r34266 /trunk/data/campaigns/ (5 files in 4 dirs): Use Pango text highlighting in some appropriate places.
20090329 23:19:33 * esr thinks Pango rocks.
20090329 23:19:58< esr> Now I can have my chracters whisper to each other in small text.
20090329 23:20:05< Shadow_Master> but it's written in C... ;)
20090329 23:20:27< esr> Shadow_Master: It'c ++ I loathe and despise, not C.
20090329 23:20:45< Zen_Clark> Using WML, is there a way of using multiple leaders (On different scenarios, not at the same time) but still having a single recall list?
20090329 23:21:14< Shadow_Master> yes. It's very tricky and requires a lot of creativity.
20090329 23:21:17-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."]
20090329 23:21:57-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev
20090329 23:24:08< Zen_Clark> "Very tricky ..." as in possibly easier to hard code a new WML tag, or just not simply done?
20090329 23:24:45-!- Sapient [n=sapien-x@c-71-204-10-166.hsd1.ga.comcast.net] has joined #wesnoth-dev
20090329 23:24:58< Shadow_Master> basically at the end of a scenario you'd have to switch leaders.
20090329 23:24:59< Sapient> Ivanovic: I am still getting flooded with mail from googlegroups
20090329 23:25:16< Sapient> please take me off the SoC mentor ML
20090329 23:25:34< Shadow_Master> Zen_Clark: there's actually more than one way to do it I think.
20090329 23:25:45< Shadow_Master> therefore... no, a hardcoded WML tag wouldn't help if it CABD
20090329 23:26:01< Ivanovic> Sapient: please ask in #gsoc
20090329 23:26:15< Ivanovic> i don't know how to do so, you should probably do it via some webinterface thingie
20090329 23:26:22< Ivanovic> i can't do anything, sorry
20090329 23:29:25-!- jmunro[a] [i=james@unaffiliated/jmunro] has quit ["changing servers"]
20090329 23:29:38-!- jmunro[a] [i=james@217.112.83.12] has joined #wesnoth-dev
20090329 23:34:20-!- euschn [n=chatzill@85-127-106-97.dynamic.xdsl-line.inode.at] has quit [Remote closed the connection]
20090329 23:34:48-!- ryochan7 [n=ryochan7@173.9.238.161] has quit ["Leaving"]
20090329 23:34:53-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has quit [Read error: 104 (Connection reset by peer)]
20090329 23:35:13-!- PK [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev
20090329 23:35:29< Shadow_Master> Ivanovic: looks like you'll eventually have your dreamed wesnoth logo sticker ^^
20090329 23:35:32< Crab_> Velory, around ?
20090329 23:35:43< Ivanovic> Shadow_Master: and how soon is "eventually"?
20090329 23:35:45< Ivanovic> ;)
20090329 23:36:07< Shadow_Master> IIRWIIR http://www.wesnoth.org/forum/viewtopic.php?f=9&t=24484&start=120
20090329 23:36:22-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection]
20090329 23:44:43< Velory> Crab_: yes
20090329 23:45:11< Shadow_Master> Sapient: what client are you iusing?
20090329 23:45:20< Sapient> hotmail
20090329 23:45:26< Shadow_Master> web version?
20090329 23:45:34< Sapient> yes
20090329 23:45:51< Shadow_Master> why not use a real client, even if it has to be outlook express? :p
20090329 23:46:17< Shadow_Master> (the closest thing to a "real toy client")
20090329 23:47:13< Crab_> Since my 'AI redeployment' works now (not commited yet, will do in a few days), I'll try to make that 'AI Arena' map (from the Den of Onis) to simplify various ai testing. So, I wanted to ask you - on which scenario do you test your poisoning/healing formulas (I want to add them as 'situations' to the AI Arena)
20090329 23:47:19< Sapient> you mean, aside from all the malware that targets outlook express?
20090329 23:47:24 * loonycyborg really likes claws-mail
20090329 23:47:56< Shadow_Master> Sapient: sorry. I forgot that those existed.
20090329 23:49:54< Velory> Crab_: im testing in my own scenario i created units myself and choose some locations for possibilities u can look scenario-poisoning.cfg in my patch but thats just for poison test and if u want i can give copy from my own working scenario
20090329 23:50:03< Shadow_Master> foo.
20090329 23:50:48< Shadow_Master> firefox just crashed on my face again, and konqueror for some reason makes DNS request stop working for all apps when visiting deviantart
20090329 23:50:49< Crab_> Velory, ok, so I'll take the situation from scenario-poisoning.cfg from your patch. thanks.
20090329 23:51:21 * loonycyborg wonders why firefox crashes for everyone except him.
20090329 23:51:42< Velory> Crab_: no problem :)
20090329 23:53:09< Shadow_Master> loonycyborg: did you built it yourself?
20090329 23:53:44< loonycyborg> No. I used emerge.
20090329 23:54:30< Shadow_Master> does that mean it's been compiled on your machine?
20090329 23:54:36< loonycyborg> TYes.
20090329 23:54:43< loonycyborg> *Yes
20090329 23:55:07< Shadow_Master> that may be it.
20090329 23:55:28-!- noy [n=Noy@70.70.128.133] has joined #wesnoth-dev
--- Log closed Mon Mar 30 00:00:18 2009