--- Log opened Sun Jun 26 00:00:58 2011 20110626 00:01:48-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110626 00:02:43-!- negusnyul [~negusnyul@145.236.67.3] has quit [Remote host closed the connection] 20110626 00:02:48< zaroth> there are mechanisms for queuing events the current state doesn't handle, btw, it's called deferring 20110626 00:02:55< Crab_> great 20110626 00:07:15< Crab_> boucman, zaroth: ok, here it is - http://pastebin.mozilla.org/1258253 20110626 00:07:40< Crab_> it shows the idea of 'callback scripts' in action 20110626 00:08:33< Crab_> as you can see, the callback script itself is very simple, and doesn't contain any dialog calls / etc. 20110626 00:09:18< Crab_> yet it allows to use a unified sp/mp control flow. 20110626 00:09:38< boucman> ok, I get the idea, this sounds good 20110626 00:10:40< Crab_> we can think of callback as a 'flow' through our state machine 20110626 00:11:41< Crab_> the callbacks can be nested, it happens when a flow invokes a subflow. 20110626 00:11:52< Crab_> in this case the outer flow resumes once the subflow finishes 20110626 00:12:59< Crab_> later, someone might document that interfaceFlowCallbackWML and expose the callback interface to lua / wml scripting. 20110626 00:13:41< Crab_> yet for now we can stay in pure c++ 20110626 00:14:16< Crab_> or push the defs out to wml 20110626 00:17:02-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Remote host closed the connection] 20110626 00:17:15< Crab_> boucman, zaroth: http://pastebin.mozilla.org/1258269 20110626 00:17:49< Crab_> for simple cases, WML representation of flows would be quite clear. 20110626 00:18:31-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20110626 00:19:10< Crab_> of course proper care needs to be taken to properly abort flows (say, if user decided to cancel during selecting the sp campaign to play) 20110626 00:29:11< zaroth> Crab_: I posted something which is a bit closer to actual statechart syntax, let me know if it makes sense 20110626 00:29:12< zaroth> http://ideone.com/FIjtW 20110626 00:29:20< zaroth> (the comments should explain some parts) 20110626 00:33:13-!- Grimling [~FKint@91.181.175.244] has joined #wesnoth-dev 20110626 00:35:15< Crab_> I see 20110626 00:41:13< zaroth> Crab_: the part that is not-so-scalable is the list of deferred events 20110626 00:41:37< zaroth> because all the events that are possible to be queued at this point (state), have to be specified there 20110626 00:42:02< zaroth> but of course, we can go with some other implementation to go around this idea 20110626 00:42:11< zaroth> and not use deferring at all 20110626 00:42:30< zaroth> it was just how I saw it when you first told me about your ideas 20110626 00:44:07< Crab_> can we have more than 1 event active at any point ? 20110626 00:44:26< zaroth> such as, have reactions to more than one? 20110626 00:44:36< Crab_> I mean, will we *ever* need to defer any events ? 20110626 00:44:39< zaroth> or have more than one in queue? 20110626 00:44:59< zaroth> well... if they were in wrong order, I guess ;-) 20110626 00:45:05< zaroth> good point 20110626 00:45:12< Crab_> we have 1 state, it sends an event (one of M potential events) which will be delayed till we exit the ctor 20110626 00:45:30< Crab_> do we need to specify all those M events as deferred ? 20110626 00:45:58< Crab_> but,in any case, it is only those M events that can be 'thrown' from this particular ctor, not any and all potential events in wesnoth 20110626 00:46:13< zaroth> no, I didn't test it, but it's probably just as you said - if they are put in the queue in the right order, there probably will be no need for deferrals 20110626 00:50:30-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20110626 00:51:05-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20110626 00:51:08< zaroth> thanks for all the guidance today, I'm off now 20110626 00:54:33-!- un214 [~un214@adsl-75-45-20-64.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20110626 00:57:23-!- Grimling [~FKint@91.181.175.244] has quit [Quit: Leaving] 20110626 01:11:18-!- Crab_ [~Crab_@wesnoth/developer/crab] has quit [Quit: Leaving.] 20110626 01:11:42-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 276 seconds] 20110626 01:20:29-!- deekay [~dk@wesnoth/developer/dragonking] has quit [Quit: deekay] 20110626 01:24:13-!- Gallaecio [~quassel@92.39.broadband12.iol.cz] has quit [Remote host closed the connection] 20110626 01:26:10-!- anonymissimus [~chatzilla@HSI-KBW-095-208-215-104.hsi5.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 3.6.2/20100316074819]] 20110626 01:55:27-!- un214 [~un214@adsl-75-45-20-64.dsl.scrm01.sbcglobal.net] has quit [Remote host closed the connection] 20110626 02:01:57-!- Vorpal [~AnMaster@unaffiliated/anmaster] has quit [Ping timeout: 264 seconds] 20110626 02:18:53-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20110626 02:33:15-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has joined #wesnoth-dev 20110626 02:57:12-!- elias [~allefant@allefant.com] has quit [Changing host] 20110626 02:57:12-!- elias [~allefant@allegro/developer/allefant] has joined #wesnoth-dev 20110626 04:22:21-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20110626 04:24:45-!- hhyloc [~hhyloc@113.166.144.238] has joined #wesnoth-dev 20110626 04:27:16-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has left #wesnoth-dev [] 20110626 04:38:32-!- Ivanovic_ [~ivanovic@dtmd-4db2baf8.pool.mediaWays.net] has joined #wesnoth-dev 20110626 04:38:32-!- Ivanovic_ [~ivanovic@dtmd-4db2baf8.pool.mediaWays.net] has quit [Changing host] 20110626 04:38:32-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20110626 04:42:07-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 240 seconds] 20110626 04:42:34-!- Ivanovic_ is now known as Ivanovic 20110626 04:54:42-!- fabi [~fabi@88-134-20-121-dynip.superkabel.de] has joined #wesnoth-dev 20110626 04:58:33-!- fendrin [~fabi@88-134-20-121-dynip.superkabel.de] has quit [Ping timeout: 276 seconds] 20110626 05:01:29-!- Aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Read error: Operation timed out] 20110626 05:01:43-!- Aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20110626 05:10:26-!- tschmitz [626cdb95@gateway/web/freenode/ip.98.108.219.149] has quit [Ping timeout: 252 seconds] 20110626 05:14:27-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110626 05:19:23-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Disconnected by services] 20110626 05:19:53-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20110626 05:26:28-!- wesbot changed the topic of #wesnoth-dev to: 219 bugs, 320 feature requests, 27 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20110626 05:32:39-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 250 seconds] 20110626 05:55:41-!- Upthorn [~ogmar@c-76-105-37-245.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] 20110626 06:01:50-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20110626 06:05:23-!- alkenrinnstet [~alkenrinn@bb220-255-178-30.singnet.com.sg] has joined #wesnoth-dev 20110626 07:08:47-!- hhyloc [~hhyloc@113.166.144.238] has quit [Quit: Leaving] 20110626 07:10:46-!- Upth [~ogmar@c-76-105-37-245.hsd1.ca.comcast.net] has joined #wesnoth-dev 20110626 07:10:46-!- Upth is now known as Upthorn 20110626 07:25:09-!- stikonas [~and@ctv-79-132-175-26.vinita.lt] has joined #wesnoth-dev 20110626 07:25:09-!- stikonas [~and@ctv-79-132-175-26.vinita.lt] has quit [Changing host] 20110626 07:25:09-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110626 07:42:34-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110626 08:24:23-!- EdB [~edb@89.82.194.231] has joined #wesnoth-dev 20110626 08:30:05-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has quit [Read error: Connection reset by peer] 20110626 08:31:22-!- Gallaecio [~quassel@92.39.broadband12.iol.cz] has joined #wesnoth-dev 20110626 09:02:34-!- sheraff [~Tri@c-98-196-106-93.hsd1.tx.comcast.net] has quit [Read error: Connection reset by peer] 20110626 09:13:28-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has joined #wesnoth-dev 20110626 09:18:52-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20110626 09:19:19-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has joined #wesnoth-dev 20110626 09:22:51-!- Vorpal [~AnMaster@unaffiliated/anmaster] has joined #wesnoth-dev 20110626 09:32:19-!- negusnyul [~negusnyul@h47-207.pool95-168.dyn.tolna.net] has joined #wesnoth-dev 20110626 09:42:06-!- Crendgrim [~crend@77-22-254-233-dynip.superkabel.de] has joined #wesnoth-dev 20110626 09:52:00-!- negusnyul [~negusnyul@h47-207.pool95-168.dyn.tolna.net] has quit [Remote host closed the connection] 20110626 09:54:21-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20110626 09:55:10-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20110626 09:57:23-!- Cookiee [~quassel@unaffiliated/cookiee] has joined #wesnoth-dev 20110626 10:01:10< Ivanovic> moin 20110626 10:12:11-!- cjhopman [~chris@c-71-202-164-232.hsd1.ca.comcast.net] has joined #wesnoth-dev 20110626 10:12:11-!- cjhopman [~chris@c-71-202-164-232.hsd1.ca.comcast.net] has quit [Changing host] 20110626 10:12:11-!- cjhopman [~chris@wesnoth/developer/cjhopman] has joined #wesnoth-dev 20110626 10:12:50-!- hopman- [~chris@c-71-202-164-232.hsd1.ca.comcast.net] has quit [Ping timeout: 258 seconds] 20110626 10:15:31-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has quit [Ping timeout: 258 seconds] 20110626 10:16:21-!- EdB [~edb@89.82.194.231] has quit [Remote host closed the connection] 20110626 10:32:29-!- hhyloc [~hhyloc@113.166.144.240] has joined #wesnoth-dev 20110626 10:46:52-!- loonybot [~loonybot@46.138.87.135] has joined #wesnoth-dev 20110626 10:46:52-!- loonybot [~loonybot@46.138.87.135] has quit [Changing host] 20110626 10:46:52-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20110626 11:07:34-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 240 seconds] 20110626 11:09:01-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110626 11:18:11-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has joined #wesnoth-dev 20110626 11:37:31-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has quit [Ping timeout: 252 seconds] 20110626 11:54:59-!- bodom [~quassel@2001:470:1f0b:ac0::2] has joined #wesnoth-dev 20110626 12:00:54-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has joined #wesnoth-dev 20110626 12:04:20-!- hhyloc [~hhyloc@113.166.144.240] has quit [Quit: Leaving] 20110626 12:05:48-!- timotei [~timotei@193.34.190.70] has joined #wesnoth-dev 20110626 12:05:48-!- timotei [~timotei@193.34.190.70] has quit [Changing host] 20110626 12:05:48-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110626 12:14:40-!- bodom [~quassel@2001:470:1f0b:ac0::2] has quit [Remote host closed the connection] 20110626 12:19:26-!- mjs-de [~mjs-de@f053190211.adsl.alicedsl.de] has joined #wesnoth-dev 20110626 12:32:45-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has quit [] 20110626 12:33:49-!- deekay [~dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20110626 12:41:04-!- timotei21 [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110626 12:45:15-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 276 seconds] 20110626 12:47:19-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Ping timeout: 255 seconds] 20110626 12:49:09-!- Crendgrim [~crend@77-22-254-233-dynip.superkabel.de] has quit [Ping timeout: 276 seconds] 20110626 12:54:44-!- Nephro [~Dmitry@80.233.231.12] has joined #wesnoth-dev 20110626 13:09:57-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has quit [Ping timeout: 276 seconds] 20110626 13:12:39-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has joined #wesnoth-dev 20110626 13:17:56-!- Crendgrim [~crend@77-22-254-233-dynip.superkabel.de] has joined #wesnoth-dev 20110626 13:26:53-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has quit [Quit: Leaving] 20110626 13:45:17-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has joined #wesnoth-dev 20110626 13:59:56-!- Gambit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20110626 14:10:30-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has quit [Ping timeout: 258 seconds] 20110626 14:14:08-!- MeccaGod [majs@h146n3fls33o279.telia.com] has joined #wesnoth-dev 20110626 14:15:46-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-dev 20110626 14:20:06-!- EdB [~edb@89.82.194.231] has joined #wesnoth-dev 20110626 14:36:00-!- timotei21 [~timotei@wesnoth/developer/timotei] has quit [Quit: SIGKILL] 20110626 14:37:02-!- timotei [~timotei@193.34.190.70] has joined #wesnoth-dev 20110626 14:37:02-!- timotei [~timotei@193.34.190.70] has quit [Changing host] 20110626 14:37:02-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20110626 14:40:46-!- EdB [~edb@89.82.194.231] has quit [Remote host closed the connection] 20110626 14:52:10-!- negusnyul [~negusnyul@dsl4E5CC8DB.pool.t-online.hu] has joined #wesnoth-dev 20110626 15:28:28-!- anonymissimus [~chatzilla@HSI-KBW-095-208-215-104.hsi5.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20110626 15:30:08< anonymissimus> wesbot: seen mordante 20110626 15:30:08< wesbot> anonymissimus: The person with the nick mordante last spoke 3d 17h ago. 3d 17h ago was here and on the channel #wesnoth-de with the message: Quit: Leaving 20110626 15:51:55-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Quit: SIGKILL] 20110626 15:53:00-!- negusnyul [~negusnyul@dsl4E5CC8DB.pool.t-online.hu] has quit [Remote host closed the connection] 20110626 15:53:27-!- negusnyul [~negusnyul@dsl4E5CC8DB.pool.t-online.hu] has joined #wesnoth-dev 20110626 16:02:48-!- negusnyul [~negusnyul@dsl4E5CC8DB.pool.t-online.hu] has quit [Read error: Connection reset by peer] 20110626 16:03:20-!- negusnyul [~negusnyul@dsl4E5CC8DB.pool.t-online.hu] has joined #wesnoth-dev 20110626 16:20:17-!- mjs-de [~mjs-de@f053190211.adsl.alicedsl.de] has quit [Remote host closed the connection] 20110626 16:31:37-!- Nephro [~Dmitry@80.233.231.12] has quit [Remote host closed the connection] 20110626 16:40:53-!- Cookiee [~quassel@unaffiliated/cookiee] has left #wesnoth-dev ["OH. LOOK ITS A COOKIE THERE, RIGHT THERE *runs away*"] 20110626 16:48:23-!- vcap [~vcap@AReims-551-1-88-188.w92-155.abo.wanadoo.fr] has quit [Quit: leaving] 20110626 16:52:30-!- vcap [~vcap@AReims-551-1-88-188.w92-155.abo.wanadoo.fr] has joined #wesnoth-dev 20110626 16:57:02-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20110626 17:08:14< CIA-95> timotei * r50043 /trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/preferences/WesnothInstallsPage.java: 20110626 17:08:14< CIA-95> eclipse plugin: Select another existing install as default 20110626 17:08:14< CIA-95> if we just deleted the default 20110626 17:35:01-!- LordNasty [~NaSTy@93-43-157-80.ip92.fastwebnet.it] has quit [Ping timeout: 250 seconds] 20110626 17:39:14-!- LordNasty [~NaSTy@93-43-157-80.ip92.fastwebnet.it] has joined #wesnoth-dev 20110626 17:42:18-!- tschmitz [626cdb95@gateway/web/freenode/ip.98.108.219.149] has joined #wesnoth-dev 20110626 17:43:52-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20110626 17:58:32-!- Crendgrim [~crend@77-22-254-233-dynip.superkabel.de] has quit [Remote host closed the connection] 20110626 17:58:48-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20110626 17:59:09-!- deekay [~dk@wesnoth/developer/dragonking] has quit [Quit: deekay] 20110626 17:59:39-!- Crendgrim [~crend@77-22-254-233-dynip.superkabel.de] has joined #wesnoth-dev 20110626 18:00:20-!- Exasperation [4a47319b@gateway/web/freenode/ip.74.71.49.155] has joined #wesnoth-dev 20110626 18:02:03< Exasperation> anonymissimus: around? 20110626 18:02:13< anonymissimus> y 20110626 18:02:37< Exasperation> I've been thinking more about widgets+Lua 20110626 18:02:55< anonymissimus> you can/should use const qualifier when you are not goign to modify some variable btw 20110626 18:03:12< Exasperation> ok 20110626 18:05:49< Exasperation> I guess maybe the existing code there could use a few const qualifiers as well 20110626 18:07:06-!- Sytyi [~sytyi@68-56-133-95.pool.ukrtel.net] has joined #wesnoth-dev 20110626 18:09:23< Exasperation> anyway, I've been thinking about what other important capabilities might be missing from the Lua interface to GUI2 20110626 18:09:39< anonymissimus> well for local primitive variables it's not so important, rather fi you pass pointers or references 20110626 18:10:21< anonymissimus> since you could accidentally modify such variable at a completely unrelated place (somehow the best feature in c++ imho) 20110626 18:11:31-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [Remote host closed the connection] 20110626 18:11:58-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20110626 18:15:30-!- chrisoelmueller is now known as chris_oelmueller 20110626 18:19:05< anonymissimus> Exasperation: btw did you find a way that pango markup works in label widgets ? 20110626 18:19:56< Exasperation> no, I never figured that out properly - I wound up using a kind-of-crude workaround 20110626 18:20:03< anonymissimus> or similar; this is a major issue for converting general [message] style dialogs to lua ones 20110626 18:23:19< anonymissimus> well, if you can find a function to process text with pango markup to pass the output to the widgets that's be nice to expose ;) 20110626 18:23:53< anonymissimus> that's what I would want to have since I want to use the exact same text in several contexts 20110626 18:30:08-!- alkenrinnstet [~alkenrinn@bb220-255-178-30.singnet.com.sg] has quit [Read error: Connection reset by peer] 20110626 18:30:31-!- deekay [~dk@89-79-35-236.dynamic.chello.pl] has joined #wesnoth-dev 20110626 18:30:33-!- deekay [~dk@89-79-35-236.dynamic.chello.pl] has quit [Changing host] 20110626 18:30:33-!- deekay [~dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20110626 18:36:14-!- Blueblaze [~Blueblaze@adsl-76-202-17-30.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20110626 18:45:32< Exasperation> I might be able to work that out. Or it might be already available but not clearly documented. I'll have to spend more time looking at it. 20110626 18:47:53< Exasperation> The big thing I noticed that was missing is the ability to assign callbacks to buttons. You (apparently) can make buttons that close the window and return a value, or that don't do anything, but there doesn't yet appear to be a way to attach a function to the button from Lua. I think I see how you would do it, though. 20110626 18:48:41< Exasperation> note that you can already attach a callback to a toggle-button from Lua, though 20110626 18:50:48< Exasperation> the minor thing I noticed is that you don't seem to have access to the enable/disable widget commands from Lua 20110626 18:55:36< anonymissimus> Exasperation: btw I suggest you put wesband into the wesnoth umc repository too, so its muh easier for ken_oh and you to work simuktaneously 20110626 18:56:29< Exasperation> there are issues with cleaning Wesband up to meet umc repository standards 20110626 18:57:47< vultraz> how do you devs decide weather to mainline a camp? (criteria) 20110626 19:04:20-!- Blueblaze2 [~Blueblaze@adsl-76-202-17-154.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20110626 19:04:20-!- Blueblaze [~Blueblaze@adsl-76-202-17-30.dsl.hstntx.sbcglobal.net] has quit [Read error: Connection reset by peer] 20110626 19:04:21-!- Blueblaze2 is now known as Blueblaze 20110626 19:10:24-!- Alarantalara [~alarantal@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Remote host closed the connection] 20110626 19:16:32< anonymissimus> Exasperation: umm, what standards could that be ? wmlindent, wmllint and wmlscope are "no longer" autoamtically applied 20110626 19:17:11< Exasperation> huh, I guess that changed since last I considered the matter 20110626 19:17:50< anonymissimus> as far as wmlindent is concerned I'm also strictly opposed since I hate spaces for indentation 20110626 19:18:35< anonymissimus> for the other tools I never applied them automatically and would of course want to do that myself for my own addons 20110626 19:18:39< Exasperation> me too - plus, I think Wesband still may use some macros that wmlindent breaks 20110626 19:20:17< Exasperation> also there are serious issues with Wesband and translatable strings that make wmllint unhappy; those I would like to fix at some point, but it's not going to be simple 20110626 19:26:40< anonymissimus> only tool automatically applied is umcpropfix but that one is harmless, it just sets svn properties and doesnt modify the file 20110626 19:54:33< zaroth> wesbot: seen ilor 20110626 19:54:33< wesbot> zaroth: Sorry, I don't know of ilor. 20110626 19:58:17-!- Aethaeryn [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20110626 20:03:00-!- tschmitz [626cdb95@gateway/web/freenode/ip.98.108.219.149] has quit [Quit: Page closed] 20110626 20:07:55< CIA-95> anonymissimus * r50044 /trunk/ (changelog data/core/about.cfg src/scripting/lua.cpp): 20110626 20:07:55< CIA-95> added support for slider and progress_bar widgets to wesnoth.get_dialog_value 20110626 20:07:55< CIA-95> added support for text_box, slider, and progress_bar widgets to wesnoth.set_dialog_value 20110626 20:07:55< CIA-95> (bug #18271, patch #2755 by Exasperation) 20110626 20:17:50-!- Nephro [~Dmitry@80.233.231.12] has joined #wesnoth-dev 20110626 20:30:33-!- deekay [~dk@wesnoth/developer/dragonking] has quit [Quit: deekay] 20110626 20:32:26-!- tschmitz [626cdb95@gateway/web/freenode/ip.98.108.219.149] has joined #wesnoth-dev 20110626 20:33:22-!- tschmitz [626cdb95@gateway/web/freenode/ip.98.108.219.149] has quit [Client Quit] 20110626 20:37:01-!- grzywacz [~grzywacz@89-78-52-133.dynamic.chello.pl] has joined #wesnoth-dev 20110626 20:37:01-!- grzywacz [~grzywacz@89-78-52-133.dynamic.chello.pl] has quit [Changing host] 20110626 20:37:01-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20110626 20:38:36-!- tschmitz [626cdb95@gateway/web/freenode/ip.98.108.219.149] has joined #wesnoth-dev 20110626 20:46:11-!- Gallaecio [~quassel@92.39.broadband12.iol.cz] has quit [Remote host closed the connection] 20110626 20:46:36-!- Blueblaze [~Blueblaze@adsl-76-202-17-154.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20110626 20:48:14-!- Gallaecio [~quassel@92.39.broadband12.iol.cz] has joined #wesnoth-dev 20110626 20:50:20-!- Gallaecio [~quassel@92.39.broadband12.iol.cz] has quit [Remote host closed the connection] 20110626 20:51:50< CIA-95> nephro * r50045 /trunk/data/ai/scenarios/scenario-lua-ai.cfg: Added a counter for sticky candidate actions and a comment for Crab 20110626 20:56:45-!- MeccaGod [majs@h146n3fls33o279.telia.com] has quit [Ping timeout: 255 seconds] 20110626 21:01:04-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has joined #wesnoth-dev 20110626 21:17:22-!- Sytyi [~sytyi@68-56-133-95.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 20110626 21:17:35-!- Sytyi [~sytyi@68-56-133-95.pool.ukrtel.net] has joined #wesnoth-dev 20110626 21:31:41-!- stikonas [~and@ctv-79-132-175-26.vinita.lt] has joined #wesnoth-dev 20110626 21:31:41-!- stikonas [~and@ctv-79-132-175-26.vinita.lt] has quit [Changing host] 20110626 21:31:41-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110626 21:32:34< Exasperation> anonymissimus: there's a present for you at patches.wesnoth.org 20110626 21:32:52 * Nephro scrolls wesnoth by shifting his laptop 20110626 21:36:15< CIA-95> nephro * r50046 /trunk/src/ai/composite/engine_lua.cpp: Added a sticky_ field to lua CA. Sticky CAs will now disable themselves after execution 20110626 21:36:50< Nephro> sticky_ = sticky_; -- almost forgot this in the code to be committed... (I am not crazy, this was needed to tame the debugge) 20110626 21:37:09< zaroth> ??? 20110626 21:37:18< tschmitz> what does it do? 20110626 21:37:28< zaroth> does it have a custom operator= or something? 20110626 21:38:23< Nephro> No, no, no... It does nothing... It's just that the debugger seemed to jump out of the function right after the last operation, but I needed it to stay there a little longer, so I can watch the variables. 20110626 21:40:48< anonymissimus> Exasperation: nice, however, it think it was better to have this as a normla parameter in widfets while creating them 20110626 21:41:33< anonymissimus> like T.toggle_button { id = "test_toggle_button", use_markup true } 20110626 21:41:58< anonymissimus> other than it doesnt make sense for that type og widget 20110626 21:42:27< anonymissimus> but you took the function from tcontrol anyway 20110626 21:42:46< Exasperation> Actually, toggle buttons can have labels; any widget descended from a tcontrol (which is all of them) can have a label 20110626 21:43:20< zaroth> boucman: around? 20110626 21:44:43< Exasperation> If you look at Elvish_Hunter's test dialog that started this whole thing, he has a labelled toggle button; activating use_markup for that toggle button would allow that "yes" label to have markup 20110626 21:45:19< anonymissimus> it's probably not very difficult to do, one need to find the right spot where the parameters are read 20110626 21:45:47< Exasperation> yeah, that's the tricky part 20110626 21:45:50< anonymissimus> yes ok all widgets can have a label assigned; then it makes sense that all can have pango markup 20110626 21:46:14< Exasperation> I looked around for that first, but couldn't find it 20110626 21:46:29< anonymissimus> you may also file a feature request for mordante 20110626 21:46:34-!- cjhopman [~chris@wesnoth/developer/cjhopman] has quit [Remote host closed the connection] 20110626 21:46:40< anonymissimus> he can do it in a few minutes probably 20110626 21:47:29< anonymissimus> or I can do it since I'd really like this feature 20110626 21:47:47-!- Sytyi [~sytyi@68-56-133-95.pool.ukrtel.net] has quit [Read error: Operation timed out] 20110626 21:49:20< Exasperation> the tip of the day things at the title screen have markup allowed, but their use_markup gets set by C++ code, not in the WML specification 20110626 21:50:00< Exasperation> evidence points to not being able to set it from WML, either 20110626 21:54:28< Exasperation> I suspect that if you made it settable in WML, you would get the Lua part for free, since wesnoth.show_dialog takes a WML table as input 20110626 21:57:08-!- Grimling [~FKint@91.181.209.67] has joined #wesnoth-dev 20110626 21:57:15-!- Grimling [~FKint@91.181.209.67] has quit [Client Quit] 20110626 21:58:48-!- Blueblaze [~Blueblaze@adsl-76-202-17-154.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20110626 22:04:03-!- Sytyi [~sytyi@250-174-133-95.pool.ukrtel.net] has joined #wesnoth-dev 20110626 22:04:07-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 250 seconds] 20110626 22:09:22< anonymissimus> boucman: btw t is a bad idea to randomize unit facings facings by deault 20110626 22:09:43< anonymissimus> i noticed inconsistencies in the gamestate several times now 20110626 22:10:21< anonymissimus> because of this, in mp; however usually there are no decisions based on unit facings so it's not fatal 20110626 22:11:49-!- MeccaGod [~majs@h146n3fls33o279.telia.com] has quit [] 20110626 22:15:30< Exasperation> I think I found the function you would need to modify to allow it to be used as a normal parameter 20110626 22:19:37-!- Sytyi1 [~sytyi@250-174-133-95.pool.ukrtel.net] has joined #wesnoth-dev 20110626 22:19:37-!- Sytyi [~sytyi@250-174-133-95.pool.ukrtel.net] has quit [Read error: Connection reset by peer] 20110626 22:20:19-!- deekay [~dk@89-79-35-236.dynamic.chello.pl] has joined #wesnoth-dev 20110626 22:20:19-!- deekay [~dk@89-79-35-236.dynamic.chello.pl] has quit [Changing host] 20110626 22:20:19-!- deekay [~dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20110626 22:20:20-!- tschmitz_ [626cdb95@gateway/web/freenode/ip.98.108.219.149] has joined #wesnoth-dev 20110626 22:23:20-!- tschmitz [626cdb95@gateway/web/freenode/ip.98.108.219.149] has quit [Ping timeout: 252 seconds] 20110626 22:26:25-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has joined #wesnoth-dev 20110626 22:35:07-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110626 22:36:26-!- Johannes13_ [~Johannes@p5DF74C1B.dip.t-dialin.net] has joined #wesnoth-dev 20110626 22:36:26-!- Johannes13_ [~Johannes@p5DF74C1B.dip.t-dialin.net] has quit [Changing host] 20110626 22:36:26-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110626 22:38:17-!- Johannes13__ [~Johannes@p5DF74C1B.dip.t-dialin.net] has joined #wesnoth-dev 20110626 22:38:17-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Read error: Connection reset by peer] 20110626 22:39:38-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Read error: Operation timed out] 20110626 22:40:39-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 276 seconds] 20110626 22:43:29-!- Johannes13__ [~Johannes@p5DF74C1B.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 20110626 22:43:34-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20110626 22:43:43-!- stikonas [~and@ctv-79-132-175-26.vinita.lt] has joined #wesnoth-dev 20110626 22:43:43-!- stikonas [~and@ctv-79-132-175-26.vinita.lt] has quit [Changing host] 20110626 22:43:43-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20110626 22:45:19-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has quit [Remote host closed the connection] 20110626 22:46:22-!- Crendgrim [~crend@77-22-254-233-dynip.superkabel.de] has quit [Remote host closed the connection] 20110626 22:48:46-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 258 seconds] 20110626 22:53:55-!- Sytyi1 [~sytyi@250-174-133-95.pool.ukrtel.net] has quit [Quit: Leaving.] 20110626 22:57:17< Exasperation> and it works! 20110626 22:59:44< zaroth> anonymissimus: the unit's facing is held in WML ? 20110626 23:00:00< zaroth> interesting 20110626 23:00:42-!- Appleman1234 [~Appleman1@CPE-60-226-179-130.qld.bigpond.net.au] has quit [Remote host closed the connection] 20110626 23:00:46< zaroth> but maybe a better idea is to synchronize the facings properly rather than non-randomize them? 20110626 23:01:26< boucman> zaroth: I am now 20110626 23:01:59< zaroth> boucman: great, let me finish my current commit and discuss it later 20110626 23:02:41< boucman> sure 20110626 23:04:10< zaroth> you may want to git clone git://github.com/zaroth/wesnoth-statechart.git and familiarize yourself a bit with my demo already, I'll tell you when to pull the commit 20110626 23:04:32< boucman> zaroth: in a minute, i'm eating right now :) 20110626 23:05:12< zaroth> since I got a bit frustrated with UML tools, there are two diagrams in different formats in doc/ 20110626 23:05:21< zaroth> but they are in sync now 20110626 23:06:01< zaroth> later I will let the format which irritates me less stay and drop the other ;-) 20110626 23:19:56< anonymissimus> zaroth: boucman made it so that the facing is set to the value forced by wml, so actually, it seems that facing isnt sent over the network 20110626 23:20:33< anonymissimus> as i understand it; also, in replays I noticed facing being randomized 20110626 23:22:14< anonymissimus> different than during play that is; and this shouldnt happen of coutse since the attribute is saved in the replay wml 20110626 23:23:17< anonymissimus> but not fatal the thing since nothing is based on facing (well, a umc author may do it btu it's stupid in any case) 20110626 23:23:42< tschmitz_> (lol) 20110626 23:26:28-!- wesbot changed the topic of #wesnoth-dev to: 220 bugs, 320 feature requests, 28 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20110626 23:26:36< zaroth> boucman: if you cloned my repo, pull changes please, if not, clone it now :-) 20110626 23:32:02< boucman> pulling 20110626 23:32:38< boucman> zaroth: doesn't compile (makefile isn't updated apparently 20110626 23:34:31< zaroth> boucman: forgot to commit two new files :D 20110626 23:34:41< boucman> hehe 20110626 23:34:43< boucman> ok ? 20110626 23:35:12< zaroth> boucman: yes, pull now again 20110626 23:37:36< boucman> ok 20110626 23:38:34< boucman> i'm installing umlet now 20110626 23:41:46< boucman> ok, argouml is not in wesnoth and umlet gives me dozen of errors 20110626 23:41:52< boucman> so, what should I look at :P 20110626 23:42:11< zaroth> boucman: just to tell you my woes with these tools : umlet is a small UML drawing-only tool. Quite nice and fast. argoUML OTOH is a big, robust solution with underlying models under the drawings, but ... has no undo option 20110626 23:42:30< boucman> ouch 20110626 23:43:20-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20110626 23:43:44< zaroth> it's a long standing FR in their bugzilla, for some reason it's difficult to implement it... 20110626 23:44:00< zaroth> boucman: what do you mean by "argouml is not in wesnoth"? 20110626 23:44:03< zaroth> why should it be? 20110626 23:44:14< zaroth> as for umlet, what kind of errors? 20110626 23:44:29< boucman> i meant argouml isn't in ubuntu 20110626 23:44:31< boucman> :P 20110626 23:44:34< boucman> as for umlet 20110626 23:44:51-!- negusnyul is now known as prkc 20110626 23:44:57< zaroth> if you have sun java installed, then http://www.umlet.com/umlet_11_3/umlet_11_3.zip 20110626 23:45:04< zaroth> and java -jar umlet.jar in main dir 20110626 23:45:13< boucman> the whole diagram is totally unreadable with boxes overlapping, no apparent links, and "this element has errors" written in most elements 20110626 23:45:48< zaroth> ...omg 20110626 23:45:58< zaroth> completely professional 20110626 23:46:18< zaroth> state of FLOSS UML modellers - perfect 20110626 23:46:36< boucman> aaah much better 20110626 23:46:44< boucman> your version works 20110626 23:47:28< zaroth> maybe you picked the version relying on eclipse to work 20110626 23:47:31< zaroth> this one is standalone 20110626 23:47:47< boucman> no, the version in ubuntu was most likely too old 20110626 23:48:06< boucman> well, it's running now, so we have an automaton, and you implemented it in c++ 20110626 23:48:09< boucman> what next ? 20110626 23:48:14< zaroth> boucman: see mail 20110626 23:48:20< boucman> mail ? 20110626 23:48:22< boucman> checking... 20110626 23:48:38< zaroth> sent it to you and Crab_ 20110626 23:48:46-!- prkc [~negusnyul@dsl4E5CC8DB.pool.t-online.hu] has left #wesnoth-dev ["Konversation terminated!"] 20110626 23:48:52< boucman> ok, got it 20110626 23:48:59< zaroth> stating my issues with the current automaton 20110626 23:49:16< zaroth> as for what next, I'd also like to know that ;-) 20110626 23:49:37< boucman> my guess is that most screen should generate the transitions when they are done (unless canceled, obviously) 20110626 23:50:14< boucman> i'm not too worried about naming, thx to compilers it's quite easy to change as long as we are clear on what each one is 20110626 23:50:45-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20110626 23:51:35< zaroth> hm, I haven't encountered a nice renamer for C++ so far 20110626 23:51:43< zaroth> the one in KDevelop takes ages with wesnoth codebase 20110626 23:51:50< zaroth> to even load, let alone change something 20110626 23:51:53< zaroth> but OK 20110626 23:52:54< zaroth> boucman: I'm going to bed now, please take a look at my code and find if you object to something 20110626 23:53:38< zaroth> such as breaking conventions, or some mechanisms used that will bring difficulties later, etc. 20110626 23:53:41< boucman> what I meant is that thanks to compiler it's a tedious but safe change 20110626 23:53:58< boucman> ok, i'll have a look 20110626 23:54:29< zaroth> I want badly comments on this, this is my first time building a state machine tbh 20110626 23:54:42< zaroth> all right, good night! 20110626 23:59:45< boucman> night --- Log closed Mon Jun 27 00:00:59 2011