--- Log opened Sat Jul 11 00:00:38 2009 20090711 00:08:45< ilor_> night 20090711 00:08:48-!- ilor_ [n=user@wesnoth/developer/ilor] has quit [] 20090711 00:31:49-!- testing_xyz [n=johnTriv@87-126-108-161.btc-net.bg] has quit [Read error: 113 (No route to host)] 20090711 00:34:52-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090711 00:38:02-!- YogiHH [n=chatzill@d082247.adsl.hansenet.de] has left #wesnoth-dev [] 20090711 00:45:19< Soliton> zookeeper: when assigning a [role] do you need to give type= or does it choose from all units otherwise? 20090711 00:45:58< Soliton> zookeeper: there is a Helper role in data/campaigns/Son_Of_The_Black_Eye/scenarios/16_Coward.cfg that did not match any unit type i had at the time. 20090711 00:51:45-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090711 00:57:11-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090711 00:59:53-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20090711 01:07:31< zookeeper> Soliton, i'd expect it to choose from all units otherwise 20090711 01:08:05< zookeeper> regarding that particular case, i'd just add every other kind of unit the player might have to the end of the list.. 20090711 01:09:02< zookeeper> and maybe the lvl3 units to the beginning of it. 20090711 01:10:02< zookeeper> in any case, picking random units to say some random lines like that while still preferring some kinds of units (in this case, lvl2 over lvl1) is kinda annoying since you have to do it through roles or other trickery. 20090711 01:10:43-!- Neoriceisgod [n=neoguid@f254160.upc-f.chello.nl] has quit [Read error: 110 (Connection timed out)] 20090711 01:13:33-!- Dragonking [n=dk@wesnoth/developer/dragonking] has quit [] 20090711 01:19:14-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzzzzzz"] 20090711 01:19:57-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090711 01:34:06< silene> zookeeper: you could use one line of lua to choose the unit with the highest level 20090711 01:36:23< zookeeper> silene, right, i guess...only that i don't know lua yet ;) 20090711 01:42:30< CIA-53> ai0867 * r36765 /trunk/data/multiplayer/scenarios/4p_A_New_Land.cfg: Convert some pre-pango markup. 20090711 01:42:34< silene> for the record, the line would be something like: << table.sort(wesnoth.get_units{side=1,canrecruit=false}, function(a,b) return a.level > b.level end)[1].role = "Helper" >> 20090711 01:47:29< zookeeper> well, yeah, unfortunately i just don't really have the time currently to start learning even that much of it 20090711 01:48:02< zookeeper> maybe when i get back to being more active i'll learn lua properly 20090711 01:50:13-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20090711 01:53:20-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection] 20090711 01:55:41-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["night all"] 20090711 02:03:11< Aethaeryn> Do the servers still handle old versions? 20090711 02:04:15-!- Chusslove [n=Chusslov@brsg-d9bef9b4.pool.mediaWays.net] has quit [Read error: 110 (Connection timed out)] 20090711 02:11:55-!- Chusslove [n=Chusslov@brsg-d9bef38c.pool.mediaWays.net] has joined #wesnoth-dev 20090711 02:13:29-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090711 02:23:40-!- [Relic] [n=[Relic]@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20090711 02:24:36< [Relic]> Hello :) 20090711 02:33:40-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has quit [Read error: 110 (Connection timed out)] 20090711 02:36:50-!- silene [n=plouf@wesnoth/developer/silene] has quit ["Leaving."] 20090711 02:43:59-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Client Quit] 20090711 02:44:24-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090711 03:07:39< Aethaeryn> esr: Elvish High Lord contradicts http://www.wesnoth.org/wiki/SecretLore because he has both high arcane/faerie magic and a sword weapon 20090711 03:11:37< Aethaeryn> esr: and yes, it's strong faerie magic if he does one less damage than the equivilent enchantress line at lvl 3 (and has 5 less damage than the equivilent fighter line I think) 20090711 03:12:48< Aethaeryn> Next to the sylph, the most powerful elf... 20090711 03:12:59-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090711 03:24:43-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)] 20090711 03:25:59< AI0867> Aethaeryn: kitty's sylph uses non-ferrous metals in her outfit, perhaps an elvish lord can afford to get his weapons crafted from similar materials? 20090711 03:27:11< Aethaeryn> AI0867: And have it be almost as strong as the fighter line? It's a stretch... but the lord is rare enough a unit so I guess they're really rich. 20090711 03:50:41-!- elias [n=allefant@allegro/developer/allefant] has quit ["Leaving"] 20090711 03:58:50-!- Sirp [n=me@wesnoth/developer/dave] has joined #wesnoth-dev 20090711 04:25:29-!- Ivanovic_ [n=ivanovic@dtmd-4db26d31.pool.einsundeins.de] has joined #wesnoth-dev 20090711 04:31:23-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090711 04:34:42-!- BenUrban [n=benurban@68.55.19.224] has joined #wesnoth-dev 20090711 04:41:53-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 113 (No route to host)] 20090711 04:43:28-!- Ivanovic_ is now known as Ivanovic 20090711 04:55:08-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090711 04:58:26< CIA-53> turuk * r36766 /trunk/data/core/units/humans/ (7 files): Changed weapon descriptions and images to reflect actual weapon used by the units. 20090711 05:28:17< CIA-53> oron * r36767 /trunk/ (configure.ac src/font.cpp): (log message trimmed) 20090711 05:28:17< CIA-53> bugfix: adapt to modern FRIBIDI api: 20090711 05:28:17< CIA-53> * The fribidi library (http://fribidi.org) is used to support right to left 20090711 05:28:17< CIA-53> languages (Hebrew, Arabic, Farsi). 20090711 05:28:17< CIA-53> * Fribidi >= 0.19 exists for some time and has two incompatible changes: 20090711 05:28:17< CIA-53> - Somewhat different API. 20090711 05:28:21< CIA-53> - Uses pkg-config for configuration instead of fribidi-config which 20090711 05:33:33-!- fendrin [n=fabi@e179203190.adsl.alicedsl.de] has joined #wesnoth-dev 20090711 06:17:07-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit [] 20090711 06:17:51-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit ["WRYYYYYYYYYYYYYYYYYYYY!"] 20090711 06:18:28-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090711 07:12:02-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Remote closed the connection] 20090711 07:50:34-!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has quit [Read error: 104 (Connection reset by peer)] 20090711 08:08:09-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090711 08:12:46-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20090711 08:13:31-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090711 08:13:46-!- noy [n=Noy@wesnoth/developer/noy] has quit [Client Quit] 20090711 08:15:57-!- ettin [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev 20090711 08:25:00-!- maxy [n=maxy@80-219-1-128.dclient.hispeed.ch] has joined #wesnoth-dev 20090711 08:33:05-!- ancestral [n=ancestra@h66-222-31-252.mdsnwi.broadband.dynamic.tds.net] has joined #wesnoth-dev 20090711 08:37:50-!- happygrue [n=George@wesnoth/developer/wintermute] has quit [Read error: 104 (Connection reset by peer)] 20090711 08:38:27-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20090711 08:52:43-!- Sirp [n=me@wesnoth/developer/dave] has quit [Read error: 60 (Operation timed out)] 20090711 08:54:21-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090711 08:56:38-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090711 09:02:21-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit ["quit"] 20090711 09:06:58-!- Netsplit sendak.freenode.net <-> irc.freenode.net quits: AI0867 20090711 09:09:36-!- Netsplit over, joins: AI0867 20090711 09:09:38-!- AI0867_ [n=ai@wesnoth/developer/ai0867] has joined #wesnoth-dev 20090711 09:11:24-!- AI0867 [n=ai@wesnoth/developer/ai0867] has quit [Read error: 104 (Connection reset by peer)] 20090711 09:17:33-!- [Relic] [n=[Relic]@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit ["Leaving"] 20090711 09:35:32-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090711 09:40:35-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20090711 10:16:51-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090711 10:30:59-!- silene [n=plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20090711 10:31:10< silene> hi 20090711 10:33:24< boucman> morning 20090711 10:36:28-!- Dragonking [n=dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20090711 10:48:51-!- loonybot [n=loonybot@79.139.138.33] has joined #wesnoth-dev 20090711 10:49:39-!- loonycyborg [n=sergey@79.139.138.33] has joined #wesnoth-dev 20090711 10:56:47< CIA-53> cjhopman * r36768 /trunk/src/ (skiplist.hpp skiplist_map.hpp skiplist_multimap.hpp): add skiplist base and map implementations 20090711 10:58:11-!- ancestral [n=ancestra@h66-222-31-252.mdsnwi.broadband.dynamic.tds.net] has quit ["And that’s the end of THAT chapter."] 20090711 10:59:26< Ivanovic> moin 20090711 11:01:57< CIA-53> cjhopman * r36769 /trunk/src/ (skiplist.hpp skiplist_map.hpp skiplist_multimap.hpp): add skiplist copyright notices 20090711 11:01:59< CIA-53> cjhopman * r36770 /trunk/src/ct_math.hpp: add compile time math routines for skiplists 20090711 11:02:02< CIA-53> cjhopman * r36771 /trunk/src/config.hpp: change to typedeffed typenames 20090711 11:02:04< CIA-53> cjhopman * r36772 /trunk/src/ (skiplist.hpp skiplist_map.hpp skiplist_test.cpp): add skiplist tests, and fix some minor skiplist_map bugs 20090711 11:02:06< CIA-53> cjhopman * r36773 /trunk/src/ (skiplist.hpp skiplist_map.hpp skiplist_test.cpp): add operator==/!= for skiplist_map 20090711 11:02:08< CIA-53> cjhopman * r36774 /trunk/src/shared_object.hpp: remove trailing whitespace 20090711 11:02:13< CIA-53> cjhopman * r36775 /trunk/src/ (shared_string.hpp tstring.cpp tstring.hpp): implement shared tstrings 20090711 11:02:16< CIA-53> cjhopman * r36776 /trunk/src/ (config.hpp gui/widgets/control.hpp): modify config objects to use skiplist_map rather than std::map 20090711 11:02:19< CIA-53> cjhopman * r36777 /trunk/src/skiplist.hpp: properly handle pod compare types. make key extractor a base type. simplify size calculation. 20090711 11:02:20< CIA-53> cjhopman * r36778 /trunk/src/skiplist_test.cpp: add testing of map.operator[] 20090711 11:02:24< CIA-53> cjhopman * r36779 /trunk/src/skiplist_test.cpp: fix typedef 20090711 11:02:25< CIA-53> cjhopman * r36780 /trunk/src/skiplist.hpp: make node creation exception safe. other minor changes 20090711 11:02:26< CIA-53> cjhopman * r36781 /trunk/src/shared_string.hpp: remove unneeded include 20090711 11:02:28< CIA-53> cjhopman * r36782 /trunk/src/ (config.hpp gui/widgets/control.hpp): change config maps to std::map. config uses std::string instead of shared_string 20090711 11:03:12< boucman> cjhopman is on a commit spree :) 20090711 11:07:23< Ivanovic> jupp 20090711 11:10:04 * ilor summons mordante 20090711 11:15:17-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20090711 11:15:44< Ivanovic> hi thespaceinvader 20090711 11:15:55< thespaceinvader> morning Ivanovic 20090711 11:16:00< Ivanovic> thespaceinvader: you saw the new baseframes neorice posted in the forums? 20090711 11:16:08< Ivanovic> drake baseframse that is 20090711 11:16:08< thespaceinvader> i did 20090711 11:16:13< Ivanovic> good 20090711 11:16:18< thespaceinvader> i haven't had a chance to speak to jet about them yet 20090711 11:16:34< Ivanovic> just /query him, eventually he will reject 20090711 11:16:44< thespaceinvader> you mean react? 20090711 11:16:50< Ivanovic> uhm, yeah 20090711 11:16:54< thespaceinvader> yeah, not i spoke to him last night, but i forgot to mention them 20090711 11:17:02< thespaceinvader> spoke to him about the slasher 20090711 11:17:04-!- mordante [n=mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20090711 11:17:19< mordante> ilor, thou hast summoned me 20090711 11:17:23< Ivanovic> ilor: your summon was successfull 20090711 11:17:56< mordante> (will only be around for a short while, need to go shopping afterwards) 20090711 11:18:41< Ivanovic> mordante: and please have a short look at commit 36767 20090711 11:18:51-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20090711 11:18:51< Ivanovic> cf what i wrote as reply to the commit mail 20090711 11:18:57< ilor> mordante: FR for a remove-page feature for multi_page 20090711 11:18:58< mordante> the fribidi one? 20090711 11:20:07< CIA-53> soliton * r36783 /trunk/ (5 files in 2 dirs): * changed Orcish Shaman movetype from smallfoot to orcishfoot 20090711 11:20:21< CIA-53> soliton * r36784 /trunk/data/campaigns/Son_Of_The_Black_Eye/scenarios/16_Coward.cfg: fixed message display and a typo 20090711 11:20:24< ilor> mordante: also, seems there's now ay of getting the *active* page from a multi_page 20090711 11:20:44< ilor> mordante: I can work around by keeping a local var for now so that one is just a suggestion 20090711 11:23:48< Soliton> Ivanovic: is pofix also used on trunk so far? 20090711 11:24:22< Ivanovic> Soliton: yes, it tends to get used 20090711 11:25:31< Soliton> ok, above is a s/to/too/ typo fix where it can be used, i guess. 20090711 11:25:57< mordante> Ivanovic, I'll have a look at it after shopping 20090711 11:29:31-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090711 11:30:12< Ivanovic> okay 20090711 11:30:17< Soliton> zookeeper: i added all unit types to that [role]. pretty annoing way of doing it but i guess defining priorities is nice. 20090711 11:31:56< CIA-53> mordante * r36785 /trunk/src/gui/widgets/ (multi_page.cpp multi_page.hpp): Add functions to remove pages from a multi_page. 20090711 11:32:00< mordante> ilor, ^ 20090711 11:32:12< ilor> mordante: that was fast, thanks :) 20090711 11:32:12< wesbot> ilor: Sometimes we are fast 20090711 11:32:14< zookeeper> Soliton, yeah, thanks 20090711 11:36:05< CIA-53> mordante * r36786 /trunk/src/gui/widgets/ (multi_page.cpp multi_page.hpp): Add tmulti_page::get_selected_page(). 20090711 11:36:07< mordante> ilor, there is now ^ 20090711 11:37:11< ilor> mordante: okay thanks, also, listbox value-changed-callback is for the selection change? 20090711 11:38:02< mordante> not there yet, but I'm off now, will add it when I get back 20090711 11:38:19< ilor> mordante: okay seeya 20090711 11:38:23-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20090711 11:40:06-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090711 11:40:16< Crab_> hi 20090711 11:41:55< Ivanovic> Soliton: your fix is clearly a case of "add it to pofix" 20090711 11:42:00< boucman> morning Crab_ 20090711 11:42:16< Soliton> Ivanovic: ok, how do i do that? 20090711 11:42:22< Ivanovic> Soliton: ask esr 20090711 11:43:09< Ivanovic> Soliton: maybe there is a howto at the top of the file, if not, please ask him to add it since it is really required (turuk does not know how to use it either, the same for me) 20090711 11:47:08< Soliton> it has a usage note. and then there are the substitutions. 20090711 11:49:00< Soliton> i suppose one could add a little note about making sure the substitutions are unique. 20090711 11:50:15< Soliton> i wonder if the error still needs to be in the original though. 20090711 11:59:40-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 110 (Connection timed out)] 20090711 12:00:10-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090711 12:01:59-!- silene [n=plouf@ASte-Genev-Bois-152-1-25-5.w83-114.abo.wanadoo.fr] has joined #wesnoth-dev 20090711 12:03:06< Soliton> ugh, you have to know where the string is split in the pofile... 20090711 12:04:06< Soliton> might as well make it a sed onliner then... 20090711 12:27:26< CIA-53> dragonking * r36787 /trunk/src/ (ai/formula/ai.cpp ai/formula/ai.hpp variant.cpp variant.hpp): 20090711 12:27:26< CIA-53> Added safe_call() formula function that allows execution of 'backup formula' in 20090711 12:27:26< CIA-53> case of failure, made formula check for action result and return appriopriate 20090711 12:27:26< CIA-53> error number in case of error. It's still a bit WIP, but it should be good 20090711 12:27:26< CIA-53> enough for now 20090711 12:27:47< Dragonking> Crab_: ^ 20090711 12:27:50< Crab_> ok 20090711 12:28:49< Dragonking> Crab_: As I said earlier, I'll rewrite the error part and make action_result inherit after formula_callable in about a week or so 20090711 12:29:00< Crab_> good 20090711 12:29:41< Crab_> note that MAX_CALLS is probably too low, better to use something like 1000 20090711 12:29:56< Dragonking> You think so? 20090711 12:30:11< Crab_> yes. imagine the use case "for each unit without a variable, set a variable" 20090711 12:30:24< Crab_> it will execute the number of times equal to the number of units 20090711 12:31:02< Dragonking> Ah yes, after all valid set_variable does not make counter reset 20090711 12:33:02< Dragonking> Crab_: ok :) 20090711 12:33:05< CIA-53> dragonking * r36788 /trunk/src/ai/formula/ai.hpp: Bumped MAX_CALLS for set_variable from 10 to 1000 20090711 12:33:17< Crab_> thou art fast :) 20090711 12:33:43< Dragonking> wesbot: that was fast ? 20090711 12:33:43< wesbot> Dragonking: Sometimes we are fast 20090711 12:33:48< Dragonking> Crab_: ^ ;) 20090711 12:34:06< Crab_> :) 20090711 12:35:16< Ivanovic> Soliton: the reason for the script is that incoming files are updated using it, too 20090711 12:35:37< Crab_> Dragonking: btw, what "     error = variant(new safe_call_result(attack,                                                                move_result->get_status(), move_result->get_unit_location()));" does ? 20090711 12:35:39< Ivanovic> and to find the split in the original po file, just have a look at po/wesnoth*/*.pot 20090711 12:35:46< Ivanovic> there you will see the "normal" split 20090711 12:35:50< Crab_> Dragonking: does it actually execute something ? 20090711 12:36:38< Dragonking> Crab_: This line only creates error variantm which is later passed to backup formula as "error" parameter 20090711 12:36:41< Soliton> Ivanovic: you mean when you get translation updates you run it after applying those? 20090711 12:36:50-!- melinath [n=melinath@vpn1015.extern.uni-tuebingen.de] has joined #wesnoth-dev 20090711 12:37:12< Ivanovic> Soliton: when translators send in their files i first run pofix on them and then merge them against the latest files 20090711 12:37:15< Dragonking> Crab_: So for example: safe_call( move(...), error.status # <- number of error # ) 20090711 12:37:21< Soliton> Ivanovic: anyway my point was that the script could join the lines and apply the substitution then. 20090711 12:37:51< Dragonking> Crab_: Safe_call_result is represented by 'error' callable in backup formula 20090711 12:37:52< Ivanovic> Soliton: hmm, IIRC currently the script just works on single lines 20090711 12:37:53< Soliton> otherwise it's pretty much equivalent to a sed oneliner. 20090711 12:37:59< Crab_> ok 20090711 12:38:08< melinath> hello! I was wondering if anyone happens to know why clashers, slashers, and wardens have firststrike and gladiators/enforcers do not. Is there a reason? 20090711 12:38:08< Ivanovic> and yeah, it is equivalent to *many* sed oneliners 20090711 12:38:57< Crab_> Dragonking: btw, in 'void formula_ai::gamestate_change_observer::handle_generic_event(const std::string& /*event_name*/) {' , why no 'continue_counter_=0' ? 20090711 12:38:59< Dragonking> melinath: gladiator/enfoncers have shorten spears and they can't firststrike ;) 20090711 12:39:15< Dragonking> Crab_: Because I'm stupid ;p 20090711 12:39:49< melinath> dragonking: okay. That's kinda what I figured, but then the problem is that the spears on the sprites of the gladiators/enforcers are significantly larger than the clashers 20090711 12:40:09< melinath> (the new sprites) 20090711 12:41:05< CIA-53> dragonking * r36789 /trunk/src/ai/formula/ai.cpp: Ooops forgot to reset one counter 20090711 12:41:16< Dragonking> Crab_: Thanks, I just missed that 20090711 12:41:24< Crab_> happens :) 20090711 12:41:41< Dragonking> Yes... lately to me suprizingly often :s 20090711 12:42:15< Dragonking> melinath: I can't really tell much about differences between unit stats and their sprites 20090711 12:43:00< melinath> dragonking: I know. I'll talk with tsi about it. 20090711 12:43:49-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20090711 12:43:50< loonycyborg> melinath: Maybe gladiators/enforcers are just confused with enormous number of weapons they have and can't concetrate to set the spear against a charge :P 20090711 12:45:10< thespaceinvader> ragarding the gladiator/enforcer: is there a balancing reason for their not having firststrike? 20090711 12:45:11< Crab_> Dragonking: also note that it's probably needed to init the counters to 0 in constructor - since it's possible for an ai to be 'created and immediately called', with no 'turn started' event in between. for example, this is the case with console ai. 20090711 12:52:04< Crab_> Dragonking: also note that you ignore made_moves during executing backup formula. so, if the formula is called and is unable to do anything due to error (so made_moves is empty), then, EVEN if backup formula changes the game state, 'formula_ai::execute_variant', will return a variant containing empty made_moves, and, (in case of RCA), will be blacklisted for 1 turn for returning false in evaluate() 20090711 12:52:24< melinath> tsi: 1.0: clasher doesn't have firststrike either. It must be balancing 20090711 12:52:54< Soliton> thespaceinvader: not only balance but interesting gameplay choice on advancing. 20090711 12:53:18< Dragonking> Crab_: Not true 20090711 12:53:19< thespaceinvader> Soliton: OK, cool 20090711 12:53:32< Dragonking> Crab_: Result of backup formula goes to the stack 20090711 12:53:52< Dragonking> Crab_: And it if is a move, it will be executed during the next loop of the while loop 20090711 12:54:52< Dragonking> Crab_: Notice, that evaluation of the backup formula != execution of backup formula 20090711 12:55:47< Dragonking> Crab_: We first evaluate it, to get desited action, then this action is pushed on a stack (top of it - to make sure it will be executed immidiately during next loop) 20090711 12:55:49< Crab_> Dragonking: it differs in some places :) 20090711 12:56:07< Crab_> For example, please 'fix/tell me how to fix' formula_ai::execute_candidate_action, then :) 20090711 12:57:16< Dragonking> Crab_: But what is wrong with that? 20090711 12:57:26< Crab_> it has no 'loop' you speak of 20090711 12:57:38< Dragonking> Crab_: It has, inside execute variant 20090711 12:58:03< Crab_> ok 20090711 12:58:04< Dragonking> Crab_: formula/ai.cpp:2151 20090711 12:58:46< Dragonking> Crab_: Is it ok then? 20090711 12:59:53< Dragonking> Crab_: By "goes to the stack" there I meant std::stack, not pushing on a stack as in between function calls 20090711 13:00:01< Crab_> yes, I see now 20090711 13:03:08< Dragonking> Crab_: So for example if you have safe_call( move(), if_ambush_attack() ) then - even after calling form formula commandline - so only "once", you may end up with 2 executed actions 20090711 13:03:24-!- melinath [n=melinath@vpn1015.extern.uni-tuebingen.de] has left #wesnoth-dev [] 20090711 13:03:24< Crab_> ok. and what 'evaluate' does ? 20090711 13:03:44< Dragonking> Crab_: It does call a formula and "calculates" it 20090711 13:04:36< Crab_> ok. let's look at execute_variant ... 20090711 13:04:59< Crab_> it has, in that 'while ( !vars.empty() )' loop, one prepare_move(); statement 20090711 13:05:34-!- testing_xyz [n=johnTriv@87-126-108-161.btc-net.bg] has joined #wesnoth-dev 20090711 13:05:39< Dragonking> Hmm.. yes there should be more apparently 20090711 13:05:41< Crab_> there's a possibility of a sequence 1) prepare_move(); 2) execute_move_action - which changes, for example, dstsrc mast 3) evaluation of backup formula 20090711 13:05:50< Dragonking> Yes 20090711 13:05:51< Dragonking> Right 20090711 13:07:00< Dragonking> Crab_: I'll add prepare_move to the safe call "if" 20090711 13:07:14< Crab_> another idea is to sync 'prepare_move();' with on_gamestate_changed 20090711 13:07:48< Dragonking> Crab_: Hmm, since we have no this functionality it should be even better 20090711 13:08:01< Crab_> but lets just 'add prepare_move to the safe call "if"' 20090711 13:08:07< Dragonking> Yes 20090711 13:08:40< Crab_> and I'll do that sync later 20090711 13:09:03< Dragonking> :)\ 20090711 13:09:06< Dragonking> :)' 20090711 13:10:13< Dragonking> Crab_: Done 20090711 13:10:18< CIA-53> dragonking * r36790 /trunk/src/ai/formula/ai.cpp: Initialize members in constuctor, added prepare_move to safe call 'if' 20090711 13:14:44-!- AI0867_ is now known as AI0867 20090711 13:16:49-!- BenUrban_ [n=benurban@unaffiliated/benurban] has joined #wesnoth-dev 20090711 13:18:33-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has joined #wesnoth-dev 20090711 13:20:24< Crab_> Dragonking: the problem with that sync is that I need to commit an alternative for 'swapping move maps' before I do that sync (otherwise I'll break evaluate_for_position) 20090711 13:20:37< Dragonking> hmm 20090711 13:21:36< Dragonking> Crab_: You asked about the "evaluate".. gnerally: 1) you parse formula - you split it into tokens, then build tree of formula_expressions, for example '2+3' has 3 tokens (integer, operator, integer) and builds tree with root being a operator_expression, with 2 children - both integer expressions. 2) you evaluate the tree - so you call 'evaluate' on a root, it calls 'execute' on each of the childrean. Result of evaluate/execute is varia 20090711 13:21:36< Dragonking> nt 3) in execute_variant you execute what is inside of a variant :) 20090711 13:21:59< Crab_> ok, thanks. I was asking because I was thinking 'is prepare move needed there ?' 20090711 13:22:13< Crab_> I can't just do 'on gamestate changed, prepare_move', since on_gamestate_changed is called on all ai turns, so, if many formula ai's are present, it will recalculate some unneeded stuff 20090711 13:22:34< Dragonking> True. 20090711 13:23:40< Crab_> if I forget about swapping for a second, then it's all easy - just use 'get_srcdst() instead of srcdst_', etc 20090711 13:24:15< Crab_> ( get_srcdst() is synced with gamestate changes and is recalculated only on-demand ) 20090711 13:24:37< Dragonking> Yes, it get's challenging thanks to evaluate_for_position 20090711 13:25:00< Crab_> so, I'll make it synced later, when I'll do my alternate way of evaluating a hypotetical position. 20090711 13:25:08< Dragonking> Great :) 20090711 13:25:25< Dragonking> Ok, I'm going to cook for a bit, so I'm going afk 20090711 13:25:57< Dragonking> Crab_: If you spot anything else then just leave me a note or fix if you want :) 20090711 13:26:05< Crab_> ok. I'm also thinking about calculating 'is gamestate changed' not in candidate actions, but in ai::manager 20090711 13:26:11< Dragonking> Good to have someone proofread your commit ;) 20090711 13:26:36< Crab_> (to get rid of possible errors in individual candidate actions in setting that flag) 20090711 13:29:47< Dragonking> Yes... that seems like a good idea 20090711 13:30:13< Crab_> this will introduce the concepts of 'gamestate change' and 'minor gamestate change' 20090711 13:30:29< Dragonking> What would be a difference between those? 20090711 13:30:31< Crab_> (the latter being your set_var, set_unit_var, continue, ...) 20090711 13:31:19< Dragonking> Ah, ok :) 20090711 13:31:20< Dragonking> Yes 20090711 13:31:27< Dragonking> Definiately good idea 20090711 13:31:35< Dragonking> ok, I'm disappearing now for real :) 20090711 13:31:39< Dragonking> cya later 20090711 13:31:43< Crab_> 'gamestate change' - ok for CA to do, invalidates move maps, the number of times we can do those is limited by the engine. 20090711 13:31:43< Crab_> 'minor gamestate change' - ok for CA to do, doesn't invalidate move maps, the number of times we can do those is limited by the internal counter. 20090711 13:31:51-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Remote closed the connection] 20090711 13:31:54-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Read error: 110 (Connection timed out)] 20090711 13:35:51< boucman> Crab_: I'll leave for long WE in about an hour, will you have comitted by then ? 20090711 13:36:13-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090711 13:36:52< Crab_> boucman: no, still lots of things to do before it is commit-ready. 20090711 13:36:57< boucman> ok 20090711 13:37:14< Crab_> but you'll definitely find it (and some more :) ) when you'll return. 20090711 13:39:40< boucman> of course :) 20090711 13:44:14-!- EdB [n=edb@122.12.95-79.rev.gaoland.net] has joined #wesnoth-dev 20090711 13:47:33< Soliton> zookeeper: http://www.wesnoth.org/forum/viewtopic.php?p=367418#p367418 can that not be worked around with setting a variable and then acting on that in some event or so? 20090711 13:47:44-!- elias [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090711 13:52:38-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090711 13:55:26-!- mordante [n=mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20090711 13:55:39< mordante> servus 20090711 13:55:45< grzywacz> hey mordante 20090711 13:56:04< mordante> hi grzywacz 20090711 13:56:14< grzywacz> mordante, how's the stacked widget going? 8) 20090711 13:56:15< CIA-53> mordante * r36791 /trunk/src/gui/widgets/control.hpp: Remove some unneeded includes. 20090711 13:56:37< mordante> grzywacz, bad :-( ilor has a lot of GSoC FR's... 20090711 13:56:52 * ilor votes for the creation of a debug-mode wml preprocessor that will tell me where the macro with a missing } starts, not just that it's somewhere before the last line 20090711 13:58:59< Soliton> a simple wmlindent run might help to spot the error maybe? 20090711 13:59:51< ilor> mordante: can I have multiple [row]s directly under a multi_page's [page_definition]? 20090711 14:03:11< mordante> ilor, not entirely sure but you can try it 20090711 14:09:36< mordante> ilor, why do you need the callback for multi page changes, since the user can't manipulate the widget directly only with another widget 20090711 14:09:53< ilor> mordante: not for multi page, for the listbox :) 20090711 14:10:30< mordante> there is callback_value_changed_ in the listbox 20090711 14:10:54< ilor> mordante: that was my question a while ago :) 20090711 14:11:13< mordante> ok then I misread, was a bit in a hurry ;-) 20090711 14:11:41< ilor> mordante: anyway, now I'm having an issue with a multi_page's page_grid().find_widget() not finding a widget that's there --; 20090711 14:16:05< mordante> that's odd, where does the problem occur (also set the must_be_active flags properly? ) 20090711 14:19:11< ilor> mordante: the flag is false, still looking for the cause 20090711 14:25:18< ilor> mordante: I have the widget in [page_definition] for multi_page, but find_widget returns null ... 20090711 14:25:50< mordante> and the widget is shown in the dialog? 20090711 14:25:59< ilor> mordante: yep I could see it for a sec 20090711 14:26:14< mordante> odd 20090711 14:28:03< mordante> ilor, fixing the enter issue is not too hard, but I need to modify the dialog definition as well, so I'll wait until you finished your work on that file 20090711 14:29:00-!- boucman [n=rosen@wesnoth/developer/boucman] has quit ["Leaving."] 20090711 14:29:17< CIA-53> ilor * r36792 /trunk/src/gui/dialogs/helper.hpp: Add a comment to GUI2_EASY_BUTTON_CALLBACK 20090711 14:30:27< CIA-53> thespaceinvader * r36793 /trunk/ (7 files in 5 dirs): Add and wire Kitty's Outlaw portrait, update changelogs, portrait credits. 20090711 14:30:49< CIA-53> loonycyborg * r36794 /trunk/SConstruct: Made scons use pkg-config to check for fribidi. 20090711 14:31:37< Soliton> Ivanovic: do i need to update the po files before or after the pofix run? 20090711 14:32:11< Ivanovic> ? 20090711 14:32:25< Ivanovic> you should just run pofix on the po and pot files 20090711 14:32:39< Ivanovic> no other update of the po files is needed 20090711 14:32:51< Soliton> ok, it won't get marked fuzzy on the next update then? 20090711 14:33:02< CIA-53> ilor * r36795 /trunk/ (3 files in 2 dirs): new lobby WIP (needs a fix) 20090711 14:33:06< Soliton> i guess that is the idea. 20090711 14:33:38< loonycyborg> mordante: I believe that #include wesnoth uses is incorrect since pkg-config adds -I/usr/include/fribidi and fribidi's own test programs use #include 20090711 14:34:01< loonycyborg> *#include 20090711 14:36:01< mordante> loonycyborg, might be, but why tell me :-/ ? 20090711 14:36:39< ilor> mordante: r36795 is my current WIP, I need to leave for ~2hrs so I guess you can fire away with the changes 20090711 14:36:44< loonycyborg> Just in case. 20090711 14:37:03< loonycyborg> Since you maintain checks in one of buildsystems. 20090711 14:37:31< ilor> mordante: there is a crash left in lobby_main.cpp:175 where it doesn't find the widget so if you want to test you'll have to disable that I gues 20090711 14:38:03< ilor> mordante: I'd appreciate finding out why it crashes though so feel free to fix it ;) 20090711 14:38:21< mordante> loonycyborg, ah ok 20090711 14:38:56< mordante> ilor, building r36795 20090711 14:41:57< ilor> mordante: apologies in advance if it crashea anywhere else, couldn't test it fully 20090711 14:41:59< ilor> seeya 20090711 14:42:21< mordante> ilor, you're off? 20090711 14:52:59< CIA-53> soliton * r36796 /trunk/ (50 files in 2 dirs): added last typo fix to pofix and ran it 20090711 15:10:33< CIA-53> mordante * r36797 /trunk/src/gui/dialogs/lobby_main.cpp: Remove some unused variables. 20090711 15:17:11< CIA-53> mordante * r36798 /trunk/data/gui/default/window/mp_method_selection.cfg: Remove some unused variables. 20090711 15:19:02< CIA-53> loonycyborg * r36799 /trunk/src/font.cpp: 20090711 15:19:02< CIA-53> Change #include to #include 20090711 15:19:02< CIA-53> Since judging by pkg-config output and includes in other projects it is 20090711 15:19:02< CIA-53> the intended way. 20090711 15:21:58-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has quit ["Saurian Augur - I'll heal you by 4 hp if you leave next to me"] 20090711 15:28:03< zookeeper> Soliton, assuming i understand the problem right, i doubt it 20090711 15:28:18< zookeeper> hmm 20090711 15:28:44< zookeeper> well maybe 20090711 15:29:14< zookeeper> hard to say without testing. first i'd try multiple [command] blocks and see if the syncing would happen after each one (probably not, but worth a try?) 20090711 15:30:10< zookeeper> then i'd just set some variable in that [command] and somehow trigger the actual [endlevel] in some separate event 20090711 15:30:32< zookeeper> like, maybe make the player end their turn to trigger it 20090711 15:30:46< mordante> ilor, when I add a label to "log_text" the widget isn't visible so there must be something else 20090711 15:30:53< mordante> but will first fix the enter issue 20090711 15:31:02< zookeeper> i'll post those ideas there.. 20090711 15:31:41< Soliton> zookeeper: right, that's what i said, no? :-P 20090711 15:32:03< zookeeper> Soliton, sure ;) 20090711 15:36:10-!- EdB [n=edb@122.12.95-79.rev.gaoland.net] has quit [Remote closed the connection] 20090711 15:38:28-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 60 (Operation timed out)] 20090711 15:49:35-!- Sirp [n=me@pool-173-74-23-130.dllstx.fios.verizon.net] has joined #wesnoth-dev 20090711 15:52:36-!- silene [n=plouf@83.114.109.10] has joined #wesnoth-dev 20090711 16:02:42-!- fendrin [n=fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev 20090711 16:03:42< Ivanovic> Soliton: yes, that is the idea, the strings are replaced in both, the original and the po files so when updating it just finds the exact matches in the pot file 20090711 16:04:14-!- BenUrban_ is now known as BenUrban 20090711 16:05:16< CIA-53> mordante * r36800 /trunk/src/gui/ (dialogs/lobby_main.cpp widgets/window.cpp widgets/window.hpp): 20090711 16:05:16< CIA-53> Add a disble_enter function. 20090711 16:05:16< CIA-53> This in order to avoid closing dialogs, which shouldn't be closed with enter. 20090711 16:05:20< mordante> ilor, ^ 20090711 16:07:05< CIA-53> loonycyborg * r36801 /trunk/scons/cross_compile.py: Prevent pkg-config from using native packages during cross-compile. 20090711 16:10:01< mordante> ilor, regarding the log_text, why do you use a scrollbar panel instead of a scroll label? 20090711 16:20:18< CIA-53> mordante * r36802 /trunk/src/font.cpp: Revert r36799 since it breaks compilation. 20090711 16:20:42< mordante> loonycyborg, r36799 breaks on my system so I reverted it 20090711 16:25:03< loonycyborg> Maybe you should have fixed your system instead.. 20090711 16:31:19< loonycyborg> Since #include might break on a distro which keeps fribidi in some other location than /usr/include 20090711 16:31:37< loonycyborg> */usr/include/fribidi 20090711 16:33:43-!- MJ999 [n=msflower@80.154.28.81] has quit [Read error: 104 (Connection reset by peer)] 20090711 16:39:17-!- MJ999 [n=msflower@80.154.28.81] has joined #wesnoth-dev 20090711 16:44:56< Ivanovic> loonycyborg: http://www.wesnoth.org/forum/viewtopic.php?f=4&t=26215&start=0&st=0&sk=t&sd=a 20090711 16:49:33-!- crimson_penguin [n=ben@64.201.60.211] has joined #wesnoth-dev 20090711 16:52:42-!- Netsplit sendak.freenode.net <-> irc.freenode.net quits: loonybot 20090711 16:53:09-!- happygrue_ [n=George@c-67-176-145-41.hsd1.in.comcast.net] has joined #wesnoth-dev 20090711 16:53:50-!- happygrue__ [n=George@c-67-176-145-41.hsd1.in.comcast.net] has joined #wesnoth-dev 20090711 16:54:28-!- Netsplit over, joins: loonybot 20090711 17:06:00-!- MJ999 [n=msflower@80.154.28.81] has quit [Read error: 104 (Connection reset by peer)] 20090711 17:06:58-!- MJ999 [n=msflower@80.154.28.81] has joined #wesnoth-dev 20090711 17:10:57-!- happygrue [n=George@wesnoth/developer/wintermute] has quit [Success] 20090711 17:11:37-!- happygrue_ [n=George@c-67-176-145-41.hsd1.in.comcast.net] has quit [Connection timed out] 20090711 17:13:32-!- happygrue__ [n=George@c-67-176-145-41.hsd1.in.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090711 17:13:39< mordante> loonycyborg, sorry but that sounds silly, the change breaks working systems which is bad. Thusfar we have no reports that breaks anything 20090711 17:14:46< CIA-53> mordante * r36803 /trunk/src/gui/widgets/ (generator.cpp generator_private.hpp): Add find_widget by id for independent generator. 20090711 17:15:57< loonycyborg> mordante: That's indeed probably irrelevant since we're dropping direct dependency on fribidi. 20090711 17:16:15< mordante> the sooner the better ;-) 20090711 17:20:21< CIA-53> mordante * r36804 /trunk/data/gui/default/window/campaign_dialog.cfg: Now show the victory laurel in a stacked widget. 20090711 17:20:48< mordante> grzywacz, you got lucky, with r36803 and some not yet committed work^ the laurel works :-) 20090711 17:20:56< grzywacz> I'm building ;p 20090711 17:21:42< grzywacz> So the next step is showing it to Jetrel with "omg look at this crappy icon there!" ;-) 20090711 17:21:44< mordante> good, back to more stacked widget changes 20090711 17:22:15< mordante> grzywacz, I hope it works, he seems to like my crappy art :-P 20090711 17:26:04< grzywacz> mordante, ahhh, looks perfectly. :) 20090711 17:26:21< mordante> thanks :-) 20090711 17:28:31< CIA-53> grzywacz * r36805 /trunk/players_changelog: Updated changelog with r36804 (laurel icon). 20090711 17:30:29< CIA-53> soliton * r36806 /branches/1.6/data/campaigns/Son_Of_The_Black_Eye/scenarios/16_Coward.cfg: fixed message display and a typo 20090711 17:30:48< CIA-53> soliton * r36807 /branches/1.6/ (50 files in 2 dirs): added last typo fix to pofix and ran it 20090711 17:34:38< ilor> mordante: I'm back 20090711 17:35:10< mordante> grzywacz, the diff of r36805 looks "interesting" :-P 20090711 17:35:33< mordante> hi ilor, I'm off ;-) (just for dinner) 20090711 17:35:42< grzywacz> mordante, Ę 20090711 17:35:58-!- Sirp_ [n=me@pool-173-74-23-130.dllstx.fios.verizon.net] has joined #wesnoth-dev 20090711 17:36:05< grzywacz> mordante, why? :P 20090711 17:36:10< ilor> mordante: regarding why scrollbar panel: campaign dialog uses teh same ;) 20090711 17:36:27< ilor> mordante: granted it has more than just one label there in the scroll panel but still 20090711 17:44:45< mordante> grzywacz, http://paste.debian.net/41623/ 20090711 17:45:33< mordante> ilor, yes but in that dialog I wanted a label without a scrollbar and if it needs to scroll, to add a scrollbar for both the text and the label 20090711 17:46:20< mordante> it might be r36803 fixed that problem (haven't tested, looking at the minimap issue at the moment.) 20090711 17:46:54< grzywacz> mordante, oops… I'll remove the previous entry since the "or not" part is confusing ;) 20090711 17:47:18< mordante> yes I like your entry better as well 20090711 17:47:43< Soliton> http://nopaste.com/p/aNtQ1MxjJ 20090711 17:49:22-!- EdB [n=edb@79.82.153.69] has joined #wesnoth-dev 20090711 17:49:35< mordante> Soliton, which boost version is running on the server? 20090711 17:50:07< Soliton> 1.34 20090711 17:50:16< ilor> mordante: so I'll just use a scroll_label in there 20090711 17:50:39-!- Crab_ [n=Crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090711 17:50:46< mordante> ilor, yes, before you do can you test whether 36803 fixes it? 20090711 17:51:10< ilor> mordante: in the future I hope this could be replaced with some sort of textarea so copy-paste works there, and maybe hyperlinks 20090711 17:51:22< ilor> mordante: building now 20090711 17:51:41< mordante> ilor, it is planned (as usual) in fact there's a FR for it as well 20090711 17:51:50< CIA-53> grzywacz * r36808 /trunk/players_changelog: Removed a duplicated entry. 20090711 17:52:21< ilor> mordante: after gsoc I hope to have time to work in general gui2 polishing, btw 20090711 17:52:29< mordante> cool :-) 20090711 17:53:45< ilor> that, and maybe looking at the wml parser because startup times in debug builds are killing me 20090711 17:53:52-!- Sirp [n=me@wesnoth/developer/dave] has quit [Read error: 113 (No route to host)] 20090711 17:54:33< CIA-53> ivanovic * r36809 /trunk/ (99 files in 3 dirs): add typo fixes from revision 36671 and 36672 by turuk to pofix and apply them 20090711 17:54:40< mordante> I assume you mean on msvc? 20090711 17:54:46-!- Sirp_ [n=me@pool-173-74-23-130.dllstx.fios.verizon.net] has quit [Read error: 113 (No route to host)] 20090711 17:55:58< ilor> mordante: yeah ;) but I really like the msvc debugger :P 20090711 17:56:37< ilor> I stopped doing release builds in msvc because when I want a fast build, the mingw one builds and runs faster anyway :P 20090711 17:57:46< ilor> msvc build is now broken by cjhopman anyway ;/ 20090711 17:57:57< mordante> I've to admit the msvc debugger is rather nice, most of the time can handle C++ better as gdb 20090711 18:03:05< CIA-53> ivanovic * r36810 /trunk/po/ (wesnoth/POTFILES.in wesnoth-lib/POTFILES.in): add missing files to textdomain list 20090711 18:04:46-!- Elvish_Pillage2 [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090711 18:05:43< mordante> Ivanovic, can you do a pot-update as well, then I can test cmake script later this week 20090711 18:06:15< CIA-53> ivanovic * r36811 /trunk/ (641 files in 17 dirs): 20090711 18:06:15< CIA-53> pot-update 20090711 18:06:15< CIA-53> regenerated doc files 20090711 18:06:17< Ivanovic> mordante: i am already commiting the update 20090711 18:06:45< mordante> thanks for reading my mind ;-) 20090711 18:13:11< ilor> *sigh* msvc dies in skiplist_map.hpp 20090711 18:16:16< grzywacz> this skiplist impl is a little bit hardcore 20090711 18:18:39< ilor> grzywacz: I don't care much about 'hardcore', I care about "src\skiplist_map.hpp(22) : error C2947: expecting '>' to terminate template-argument-list, found '<'" 20090711 18:19:37< grzywacz> ilor, in terms of syntax as well ;) 20090711 18:19:48 * grzywacz summons boucman 20090711 18:20:33-!- Elvish_Pillager [n=eli@71-10-231-36.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090711 18:24:53-!- giusef [n=giusef@unaffiliated/giusef] has joined #wesnoth-dev 20090711 18:34:07< CIA-53> grzywacz * r36812 /trunk/src/game_events.cpp: 20090711 18:34:07< CIA-53> Partially revert r36270 - it broke adding sound sources when display is 20090711 18:34:07< CIA-53> locked (for example in prestart events). 20090711 18:36:53< loonycyborg> Soliton: I'm getting those errors too if I try with boost 1.33, but 1.36 seems to emit only warnings. 20090711 18:37:17< loonycyborg> And I don't have any boost versions between 1.33 and 1.36 installed :P 20090711 18:37:26< Soliton> yeah, i upgraded boost and now it compiles. 20090711 18:38:13-!- Sirp [n=me@wesnoth/developer/dave] has joined #wesnoth-dev 20090711 18:39:16< Soliton> can't really do that on wesnoth.org though, i guess. 20090711 18:44:20< ilor> Sirp: are you familiar with cjhopman's skiplist? It doesn't compile on msvc 20090711 18:44:50< Soliton> now i get http://nopaste.com/p/aRHIPprlx 20090711 18:45:09< testing_xyz> wesnoth crashed 20090711 18:45:31< testing_xyz> 1.6.4 crashed , now i must reinstall it 20090711 18:45:38< testing_xyz> probably a bug 20090711 18:46:26< grzywacz> Reinstall? 20090711 18:47:01< Soliton> ok, i think on upgrading boost some parts got removed.. 20090711 18:47:08< loonycyborg> Soliton: Probably versions of boost.test lib and boost headers doesn't match. 20090711 18:47:40< Soliton> ii libboost-test1.38-dev 1.38.0-6 components for writing and executing test suites 20090711 18:47:41< testing_xyz> "this application failed to start because SDL_mixer.dll was not found.Re-installing the application may fix this problem 20090711 18:47:42< testing_xyz> " 20090711 18:47:44< Soliton> ii libboost-test1.38.0 1.38.0-6 components for writing and executing test suites 20090711 18:48:20< Soliton> well, how did that dll suddenly go missing? 20090711 18:48:30< testing_xyz> i've no idea 20090711 18:48:59< testing_xyz> it's not missing probably 20090711 18:49:13< loonycyborg> Soliton: And the rest of boost is 1.38 too? 20090711 18:50:27< Soliton> yeah, except i also have libboost-date-time1.34.1 in addition to the 1.38 version. 20090711 18:52:17< loonycyborg> You probably shouldn't mix boost versions for *any* boost libs unless they have suffixes. 20090711 18:52:42< loonycyborg> I.e. using a versioned install. 20090711 18:54:07< Soliton> yeah, upgrading the program that was depending on the old versions now. 20090711 18:55:36< Soliton> curiously i did have 1.38 installed before only the -dev packages were 1.34 and it worked fine. 20090711 18:56:10< mordante> loonycyborg, Soliton it compiles with 1.35 on lenny as well 20090711 18:56:29< loonycyborg> Hm.. I don't see 1.38 on packages.debian.org 20090711 18:56:45< mordante> 1.38 is in squeeze 20090711 18:57:10< mordante> ilor, which version of boost do you use/ 20090711 18:57:13< mordante> ?* 20090711 18:57:21< ilor> 1.37 iirc 20090711 18:57:57< ilor> mordante: yep 1.37 at the moment, have been putting off the upgrade for some time now ;) 20090711 18:58:17< mordante> I had some issues with boost pre-1.38 at Windows as well 20090711 18:59:44< ilor> I onlyhad issues with the somewhat dumb zlib support 20090711 19:00:08< mordante> I had it in some other lib IIRC the filesystem one 20090711 19:00:20< ilor> there seems to be one AND ONLY ONE way of making it actually build the zlib-enabled iostreams 20090711 19:01:07< mordante> great :-/ 20090711 19:02:58< testing_xyz> how to write the config file of a map ? 20090711 19:03:05< testing_xyz> properly 20090711 19:03:14< ilor> I'm somewhat grateful that cjhopman haven't actually used this new skiplist for anything, removing the #include fixes building on msvc 20090711 19:03:25< ilor> I'm still baffled by the errors 20090711 19:03:37< crimson_penguin> aw man, I'm forum member #102 - even Neorice is lower than me, and I introduced him to the game :P 20090711 19:05:02< testing_xyz> how is that ? 20090711 19:05:14< Soliton> loonycyborg: any other idea what the issue might be? removing the remaining 1.34 boost packages did not help. 20090711 19:05:15< ilor> mordante: during the full rebuild I noticed some inherits-via-dominance warnings around gui2 20090711 19:05:35< ilor> warning C4250: 'gui2::tgenerator' : inherits 'gui2::policy::placement::tindependant::gui2::policy::placement::tindependant::find_widget' via dominance src\gui\widgets\generator_private.hpp:931 etc 20090711 19:05:56< loonycyborg> Soliton: Could you post more of build output? I.e. some compile and link commands. 20090711 19:06:37< loonycyborg> You could also run 'scons wesnoth wesnothd' to skip the tests.. 20090711 19:06:41< Soliton> http://nopaste.com/p/aF2mDUKnd 20090711 19:06:58-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090711 19:07:46< loonycyborg> It definitely does have -lboost_unit_test_framework-mt 20090711 19:08:19< loonycyborg> Perhaps there's some other lib by that name in linker search path? 20090711 19:09:21< mordante> ilor, ok, I assume it's recent, as in since today 20090711 19:09:34< Soliton> loonycyborg: i wouldn't know where from. 20090711 19:11:41< loonycyborg> Is there something like -I/usr/boost-1_33 that would make it use wrong headers? 20090711 19:13:02< Soliton> can i do a clean on a specific target? 20090711 19:13:05< loonycyborg> http://packages.debian.org/sid/i386/libboost-test1.38-dev/filelist <- this provides both headers and -lboost_unit_test_framework-mt 20090711 19:13:24< loonycyborg> If g++ uses both then that package is broken. 20090711 19:14:55< loonycyborg> Soliton: like in scons -c wesnoth? 20090711 19:15:02< Soliton> yeah. 20090711 19:18:20< mordante> ilor, I'd like to discuss tomorrow at the end of the afternoon which FR's are still left for me and their priorities again 20090711 19:18:38< ilor> mordante: okay 20090711 19:18:41< mordante> ilor, and your progress so I can finish the mid-term evalutation 20090711 19:18:49< ilor> sure 20090711 19:19:02< mordante> I think you'll be slightly behind schedule but not much 20090711 19:19:04< ilor> mordante: still getting the error about a missing widget 20090711 19:19:28< mordante> ok guess there's still a bug left there 20090711 19:19:52< mordante> can you tell me what happens when you change to a scroll label? 20090711 19:20:48< ilor> mordante: if you look closely a second before the wml-error message appears you can see the text "room lobby joined", which is added to the log_text label via multi_page::add_page 20090711 19:22:05< ilor> mordante: I changed it to a plain label (removed the scrollbar_panel around it, and it's the same 20090711 19:27:38< testing_xyz> non 20090711 19:31:42< mordante> ilor, can you tell me exactly how to reproduce? I get the error but the "room lobby joined" is shown constantly before 20090711 19:32:00< ilor> mordante: precisely, this means the log_text widget is there 20090711 19:35:10< ilor> lobby_main.cpp:376 adds a page to multi_page with a label for log_text; this works 20090711 19:35:49< ilor> but lobby_main.cpp:175 can't get the log_text widget from a page in the multi_page 20090711 19:36:02< CIA-53> thespaceinvader * r36813 /trunk/ (23 files in 3 dirs): Add and wire new Dwarf Scout base frame and animations, remove old Scout graphics, update changelogs. 20090711 19:36:52< mordante> looking into it now 20090711 19:42:08-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev 20090711 19:43:59< testing_xyz> did you looked into it ? 20090711 19:55:32< ilor> mordante: somewhat offtopic, a combo box widget is still some way off? 20090711 19:55:43< mordante> ilor, yes :-( 20090711 19:56:33< ilor> mordante: anyway, any ideas for the find_widget issue? 20090711 19:57:08< mordante> not yet I want to try something but my compiler decided a full recompilation would be fun :-/ 20090711 19:57:43< mordante> and due to all minor projects I work on at the moment I've no clean checkouts left :-/ 20090711 19:57:47< testing_xyz> muhahha 20090711 19:58:15< mordante> really need to finish and commit some things so I can start to work in a sane environment again... 20090711 19:58:57< elias> or use git 20090711 19:59:15< elias> then you can have infinitely many branches with a single checkout :) 20090711 19:59:28< mordante> I use git, but I want to keep track of what I do and have too many branches at the moment 20090711 19:59:37< elias> ahh, i see 20090711 20:19:14< Dragonking> meh... I wanted to test online AI that recruits only poisoners - certain ratio of ghouls and assassins - and then use it against enemies.. but I left control over the leader to the default AI and it just suicided himself within 3 rounds... 20090711 20:23:28< mordante> ilor, I'm not sure whether you really want to see my next commit :-P 20090711 20:23:53< ilor> mordante: I have a beer nearby :P 20090711 20:24:14< mordante> maybe you already had one too much :-P 20090711 20:26:57< CIA-53> mordante * r36814 /trunk/src/gui/dialogs/lobby_main.cpp: 20090711 20:26:58< CIA-53> Fix the displaying of the room text again. 20090711 20:26:58< CIA-53> Before there was an wml_exception due to casting to an invalid widget. Use the 20090711 20:26:58< CIA-53> most basic version, since we probably want to use another widget in the future. 20090711 20:27:44< ilor> ... 20090711 20:27:54< ilor> geez. 20090711 20:28:05< mordante> I warned you :-P 20090711 20:33:04< mordante> ilor, I'll start to work on the minimap size now. When do you want me to look at the layout of the form (will be of in about 20 minutes so can't do it tonight) 20090711 20:33:21< ilor> if not tonight then I guess tomorrow 20090711 20:34:03< mordante> just left me know when, so we won't try to modify it at the same time, since I don't want to resolve conflicts ;-) 20090711 20:34:07< mordante> let* 20090711 20:36:21< ilor> sure ;) I hope to to be done with the changes in the cfg file today so you can work tomorrow whenever you want 20090711 20:36:56< mordante> ok if you're done today, just leave a message in the log 20090711 20:37:46< ilor> okay 20090711 20:38:05-!- maxy [n=maxy@80-219-1-128.dclient.hispeed.ch] has quit [] 20090711 20:40:24-!- Crab_ [i=crab@wesnoth/developer/crab] has joined #wesnoth-dev 20090711 20:41:39-!- testing_xyz [n=johnTriv@87-126-108-161.btc-net.bg] has quit [Read error: 104 (Connection reset by peer)] 20090711 20:41:45-!- testing_xyz [n=johnTriv@87-126-108-161.btc-net.bg] has joined #wesnoth-dev 20090711 20:48:37< mordante> I'm off bye 20090711 20:49:39-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20090711 20:58:07-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20090711 21:08:27-!- Doppp|EeePC [n=aasdasd@c-67-171-96-240.hsd1.pa.comcast.net] has joined #wesnoth-dev 20090711 21:14:16< loonycyborg> Soliton: On second thought if you're using fast=true, you'll need scons -c when upgrading boost. 20090711 21:14:40< loonycyborg> Since most of the speedup is caused by not scanning boost headers :P 20090711 21:16:22< Soliton> ah, thanks. i guess that is it. 20090711 21:20:44-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit ["WRYYYYYYYYYYYYYYYYYYYY!"] 20090711 21:26:47-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev 20090711 21:41:26-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has joined #wesnoth-dev 20090711 21:47:14-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090711 21:48:25-!- allefant [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090711 22:03:17-!- elias [n=allefant@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20090711 22:05:17< CIA-53> thespaceinvader * r36815 /trunk/ (26 files in 3 dirs): Add and wire new Dwarf Pathfinder base frame and animations, remove old Pathfinder graphics, update changelogs. 20090711 22:08:25-!- stikonas [n=and@ctv-79-132-177-212.vinita.lt] has joined #wesnoth-dev 20090711 22:16:40-!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has joined #wesnoth-dev 20090711 22:17:41-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit ["WRYYYYYYYYYYYYYYYYYYYY!"] 20090711 22:18:10-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev 20090711 22:19:18< grzywacz> Blueblaze 20090711 22:20:30< Blueblaze> grzywacz: 20090711 22:21:50< grzywacz> Blueblaze, have you actually done any editing on your ambient sounds pack a few months ago? 20090711 22:22:06< Blueblaze> absolutely 20090711 22:22:08< Blueblaze> not 20090711 22:22:15< grzywacz> Ok, thanks. 20090711 22:22:31< Blueblaze> grzywacz: Did you have anything specific in mind for me to do with it? 20090711 22:23:18< grzywacz> Blueblaze, no, my confidence is low so I'm going to play with again alone. :) Thanks for assembling this set. 20090711 22:23:26< grzywacz> *with it 20090711 22:29:32< Blueblaze> grzywacz: heh, sounds good. Let me know if there is something specific you want me to hunt down and/or record 20090711 22:29:52-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit ["bbl"] 20090711 22:30:15< grzywacz> Blueblaze, sure, thanks. 20090711 22:40:04-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090711 22:47:22< grzywacz> Result 1: adding a sound of flowing water to the stream in the tutorial makes it annoying 20090711 22:47:29< ilor> mordante: are you aware that fullscreen gui2 dialogs don't play well with increasing the window size? on windows at least, the "additional" screen area becomes garbage 20090711 22:50:21< ilor> mordante: also, when there are several widgets horizontally in a grid and there isn't enough space, the result is an exception. I think in some not so far away future this behavior will have to be changed, many users might be annoyed that resizing the window down might mean getting bumped back to main menu 20090711 22:57:20-!- cib0 [n=cib@p5DD34AFC.dip.t-dialin.net] has joined #wesnoth-dev 20090711 23:01:36< Blueblaze> grzywacz: haha 20090711 23:03:10< Rrenys> "to the stream"? Do sounds work on depending where your screen is centered, or? 20090711 23:03:31< grzywacz> Yes. 20090711 23:03:34< Rrenys> cool 20090711 23:03:45< grzywacz> But with my resolution I have the whole map on screen and the stream in the very center. 20090711 23:03:47< grzywacz> :P 20090711 23:04:16< Rrenys> (i suppose making sounds work depending on where the selected character is would be more sensible) 20090711 23:04:47< Rrenys> (or not) 20090711 23:05:06< grzywacz> I think it could be annoying - changing all the time with each selected unit. 20090711 23:05:38-!- ABCD_ [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090711 23:06:04< Rrenys> That was how it was in HOMMs, but there you had only some 2-3 selectable "units" on the map at a time 20090711 23:06:38-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Read error: 104 (Connection reset by peer)] 20090711 23:07:15< zookeeper> different methods would make sense for different sounds 20090711 23:08:22< zookeeper> but i'm not sure if there should be a way to control it for each sound source or not 20090711 23:10:15< zookeeper> some kind of a smart magic formula might work, like adjusting volume both by where the screen is centered and by where the selected unit is 20090711 23:12:38-!- MJ999 [n=msflower@80.154.28.81] has quit [Read error: 104 (Connection reset by peer)] 20090711 23:13:42-!- MJ999 [n=msflower@80.154.28.81] has joined #wesnoth-dev 20090711 23:23:21-!- EdB [n=edb@79.82.153.69] has quit [Remote closed the connection] 20090711 23:37:55-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has quit ["Saurian Augur - I'll heal you by 4 hp if you leave next to me"] 20090711 23:40:01-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20090711 23:41:48< CIA-53> grzywacz * r36816 /trunk/src/ (soundsource.cpp soundsource.hpp): Don't update volume of global sound sources when scrolling. 20090711 23:55:06-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20090711 23:55:23< Soliton> ilor: can you backport the red tooltip note for custom terrains in the editor to 1.6? 20090711 23:55:47< ilor> Soliton: you mean to say that I didn't? 20090711 23:55:57< ilor> oh, wait, I didn't because it changed strings 20090711 23:56:11< Soliton> ah, well, no string freeze atm. 20090711 23:56:49< ilor> Soliton: I'll do it tomorrow or on monday, need to wrap up some gsoc stuff now 20090711 23:57:52< Soliton> ilor: no worries. 1.6.5 is a while away, i guess. 20090711 23:58:12< Soliton> ilor: or if it's straight forward you can tell me the commit(s). 20090711 23:59:11< Ivanovic> Sirp: please don't forget to submit your survey(s) for gsoc 20090711 23:59:30< Ivanovic> (if you have not done so yet) --- Log closed Sun Jul 12 00:00:47 2009