--- Log opened Thu Feb 19 00:00:34 2009 20090219 00:00:47< Soliton> no, it's server-side. 20090219 00:02:11-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090219 00:02:18-!- fabi [n=fabi@e179050005.adsl.alicedsl.de] has joined #wesnoth-dev 20090219 00:03:26< fabi> I fill a bug report for the issue discussed here http://www.wesnoth.org/forum/viewtopic.php?f=3&t=23638&start=45 . ok? 20090219 00:07:21-!- stikonas [n=and@ctv-79-132-188-113.vinita.lt] has quit [Read error: 110 (Connection timed out)] 20090219 00:09:40-!- loonycyborg [n=sergey@79.139.247.150] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzz"] 20090219 00:10:21-!- loonybot [n=loonybot@79.139.247.150] has quit [Remote closed the connection] 20090219 00:16:08< CIA-70> soliton * r32900 /trunk/src/server/server.cpp: don't delete the game before making the diff it's actually needed to construct the diff 20090219 00:16:36< Soliton> difenil: will be fixed with the next server restart. thanks for the report! 20090219 00:17:09< difenil> k 20090219 00:17:35 * Shadow_Master found a dirty changelog entry under his shoe. 20090219 00:18:03 * Shadow_Master throws it away to help contaminate the environment. 20090219 00:28:10-!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has quit [Read error: 104 (Connection reset by peer)] 20090219 00:34:23< Shadow_Master> uh huh, the power bills went incredibily high this month. 20090219 00:35:15< Shadow_Master> fortunately I won't have to worry about that next month. I won't have time for Wesnoth either. 20090219 00:37:53-!- Alesis-Novik_ [n=alesis@78.60.188.59] has joined #wesnoth-dev 20090219 00:39:23-!- Alesis-Novik [n=alesis@78.60.188.59] has quit [Read error: 110 (Connection timed out)] 20090219 00:50:13-!- Elvish_Pillage2 [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090219 00:53:20-!- ikarius [n=ross@71-6-95-123.static-ip.telepacific.net] has quit [] 20090219 00:55:40-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has quit [Read error: 110 (Connection timed out)] 20090219 00:57:40-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090219 00:57:42-!- alink__ [n=alink@78.129.18.215] has quit [Remote closed the connection] 20090219 01:07:01-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090219 01:15:23-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has quit [Remote closed the connection] 20090219 01:26:41-!- fabi [n=fabi@e179050005.adsl.alicedsl.de] has quit [Remote closed the connection] 20090219 01:28:49-!- thespaceinvader [n=chatzill@91.108.140.221] has quit ["night all"] 20090219 01:28:55-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090219 01:31:06-!- ilor [n=user@213-238-122-211.adsl.inetia.pl] has quit [Read error: 60 (Operation timed out)] 20090219 01:47:45< Ivanovic> Soliton: this "translate it from a translation" thingie is possible but IMO not nice 20090219 01:47:56< Ivanovic> that is: the esperanto team is following such an approach 20090219 01:48:36 * Shadow_Master . O o (still awake?) 20090219 01:48:45< Ivanovic> they don't understand english, but IIRC someone converts the stuff with a tool (no idea if we got it in our rep, probably we do, at least it should be in the forums) to have the strings from the slovak translation as "original string" 20090219 01:48:57< Ivanovic> but overall i'd guess that it *easily* is messed up 20090219 01:49:32< Ivanovic> that is: when a string in the intermediate step is slightly altered, this would result in a changed string in the "end language" ending with a *real* mess 20090219 01:49:41< Ivanovic> nothing that we in general should encourage to do 20090219 01:59:43-!- cjhopman_ [n=chris@68-118-159-7.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)] 20090219 02:00:08-!- difenil [n=chatzill@mih059a.halls.manchester.ac.uk] has quit ["ChatZilla 0.9.84 [Firefox 3.0.6/2009011913]"] 20090219 02:02:18-!- Corvvs [n=michaelm@pool-71-178-78-91.washdc.east.verizon.net] has joined #wesnoth-dev 20090219 02:07:30< Ivanovic> Soliton: cf what viliam wrote: http://www.wesnoth.org/forum/viewtopic.php?p=340447#p340447 20090219 02:09:43< Shadow_Master> argh. I twisted my wrist. 20090219 02:10:05 * Corvvs offers his condolences. 20090219 02:10:55< Shadow_Master> Jetrel's assignment will have to wait for a time... 20090219 02:13:15-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit [Remote closed the connection] 20090219 02:13:49-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has quit ["There's a bug in my soup."] 20090219 02:16:13< Ivanovic> esr: http://www.wesnoth.org/forum/viewtopic.php?p=340490#p340490 20090219 02:16:27< Ivanovic> okay, really time for me to head off to bed, n8 20090219 02:19:33-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090219 02:23:27-!- AndreLuiz [n=AndreLui@189.71.27.249] has joined #wesnoth-dev 20090219 02:23:29-!- Espreon [n=chatzill@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20090219 02:23:59-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090219 02:26:38-!- Elvish_Pillage2 [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has quit ["Hi! I'm a quit message virus vaccine. If you see a quit message virus, don't replace your quit message with it!"] 20090219 02:27:20-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20090219 02:38:30-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has quit ["Lost terminal"] 20090219 02:44:05-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090219 02:58:54-!- Corvvs_ [n=michaelm@pool-71-163-211-230.washdc.east.verizon.net] has joined #wesnoth-dev 20090219 03:06:14< Shadow_Master> Ivanovic: when will you change the manual screenshots for the MP menu dialog, now that the password box isn't there? 20090219 03:14:43-!- Corvvs [n=michaelm@pool-71-178-78-91.washdc.east.verizon.net] has quit [Read error: 110 (Connection timed out)] 20090219 03:27:35-!- AI0867__ [n=ai@van-gessel.demon.nl] has joined #wesnoth-dev 20090219 03:29:32-!- AI0867 [n=ai@van-gessel.demon.nl] has quit [Nick collision from services.] 20090219 03:29:40-!- AI0867__ is now known as AI0867 20090219 03:29:51-!- AndreLuiz [n=AndreLui@189.71.27.249] has quit [Remote closed the connection] 20090219 03:34:40-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 104 (Connection reset by peer)] 20090219 03:34:55-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090219 03:36:30-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has quit ["Network-manager"] 20090219 03:37:03-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090219 03:37:06-!- shikadibot [n=sh314001@unaffiliated/shadowmaster/bot/shikadibot] has joined #wesnoth-dev 20090219 03:37:06-!- cjhopman_ [n=chris@dyn-13-117.uwnet.wisc.edu] has joined #wesnoth-dev 20090219 03:37:52-!- shikadibot [n=sh314001@unaffiliated/shadowmaster/bot/shikadibot] has quit [Client Quit] 20090219 03:42:19-!- Sirp_ [n=me@c-71-198-3-104.hsd1.ca.comcast.net] has joined #wesnoth-dev 20090219 03:51:54< AI0867> does anyone have objections to doubling the resolution of images/wesnoth-icon.png? 20090219 03:52:14< AI0867> as in, replace it with what I currently have at images/transparent/wesnoth-icon.png 20090219 03:53:33< Shadow_Master> asking Jetrel.. 20090219 03:53:45 * AI0867 pokes jetman 20090219 03:54:31-!- Corvvs_ [n=michaelm@pool-71-163-211-230.washdc.east.verizon.net] has left #wesnoth-dev [] 20090219 03:54:41< Shadow_Master> one person bothering him is enough. ;-) I'm at that now. 20090219 03:54:44-!- ikarius [n=ross@216.27.182.3] has joined #wesnoth-dev 20090219 04:02:20-!- AndreLuiz [n=AndreLui@189.71.27.249] has joined #wesnoth-dev 20090219 04:03:12< esr> AI0867: you know, we have a version-control system. We can delete the old version and restore igf it causes a problem. 20090219 04:04:08< Shadow_Master> esr: I'd really prefer to read Jetrel's opinion first. He made the icon, after all. 20090219 04:04:33< Shadow_Master> I don't see the need to hurry either. 20090219 04:05:30< Shadow_Master> after all, Wesnoth is smarter than wmlscope :-) 20090219 04:06:12< Shadow_Master> esr: so, since I'm going to bed, try PMing him in the forums. 20090219 04:08:16-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has quit ["Timed out waiting for esr ."] 20090219 04:09:26< esr> The reason to hurrry is that real problem messages get lost in the noise. 20090219 04:11:59-!- Espreon [n=chatzill@c-76-117-239-33.hsd1.pa.comcast.net] has quit ["ChatZilla 0.9.84 [Firefox 3.0.6/2009011913]"] 20090219 04:18:12-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20090219 04:34:42-!- cjhopman_ [n=chris@dyn-13-117.uwnet.wisc.edu] has quit ["Konversation terminated!"] 20090219 04:49:43-!- Ivanovic_ [n=ivanovic@dtmd-4db2a5ef.pool.einsundeins.de] has joined #wesnoth-dev 20090219 04:54:28-!- Jetrel [n=Jetrel@mn-10k-dhcp1-151.dsl.hickorytech.net] has joined #wesnoth-dev 20090219 04:54:48< Jetrel> hey, what determines if an add-on is in the wesnoth.org/units/ page? 20090219 04:55:01< Jetrel> Do they have to be in umc-dev or something? 20090219 05:07:07-!- Ivanovic [n=ivanovic@dtmd-4db26bfd.pool.einsundeins.de] has quit [Read error: 110 (Connection timed out)] 20090219 05:07:41-!- Ivanovic_ is now known as Ivanovic 20090219 05:24:22-!- cjhopman [n=chris@68-118-159-7.dhcp.mdsn.wi.charter.com] has joined #wesnoth-dev 20090219 05:24:45-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit [Remote closed the connection] 20090219 05:29:13-!- AndreLuiz [n=AndreLui@189.71.27.249] has quit ["Leaving"] 20090219 05:58:43-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has quit [] 20090219 05:58:55-!- Jetrel [n=Jetrel@mn-10k-dhcp1-151.dsl.hickorytech.net] has left #wesnoth-dev [] 20090219 06:22:36-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has joined #wesnoth-dev 20090219 07:00:14< Turuk> crimson_penguin, around? 20090219 07:07:58< crimson_penguin> yup 20090219 07:08:39< crimson_penguin> hi Turuk 20090219 07:08:49< Turuk> Hey, sorry, I get lost on my computer 20090219 07:09:07< Turuk> Is there a default font used with Mac OS X for Wesnoth? 20090219 07:09:09< Turuk> Such as Arial? 20090219 07:09:41< crimson_penguin> Yes, the font, for Pango/Cairo, is Arial Unicode MS 20090219 07:09:42-!- [Relic] [n=[Relic]@76.229.202.137] has quit ["Leaving"] 20090219 07:09:58< crimson_penguin> see http://www.wesnoth.org/forum/viewtopic.php?f=4&t=24118 20090219 07:11:07< Turuk> Ok, indeed, I was using that thread as my reference but I wanted to double check about my response here 20090219 07:11:08< Turuk> http://www.wesnoth.org/forum/viewtopic.php?f=4&t=24160 20090219 07:12:17< crimson_penguin> Hmm 20090219 07:12:26< crimson_penguin> But, his text appears to be somewhere else 20090219 07:12:59< crimson_penguin> His is the tips at the bottom of the screen 20090219 07:13:11< crimson_penguin> I don't know what yours is, but presumably you do 20090219 07:13:54< Turuk> Bah, I took the Memoirs from Delfador's Memoirs in teh campaign menu 20090219 07:14:18< crimson_penguin> It may be the other text rendering engine though 20090219 07:14:54< Turuk> teh? the 20090219 07:14:57< Turuk> Ah, I found his issue 20090219 07:15:09< crimson_penguin> Oh? 20090219 07:15:39< Turuk> http://imagebin.org/38744 20090219 07:16:07< crimson_penguin> ah, yes 20090219 07:17:26< Turuk> I'll just tell him for now that he is not crazy and others see it too, and that the dutiful Mac Packager is looking into it? :P 20090219 07:19:00< crimson_penguin> I don't know where to look - it's rendered by SDL_ttf... I guess we should get a non-Mac person to check it 20090219 07:19:48< Turuk> Fair enough. 20090219 07:20:20< Turuk> I will just state that people are now aware, and it will be looked into. 20090219 07:21:51< crimson_penguin> Ok, thanks 20090219 07:22:28< Turuk> Hey it's what I do. Moderate to make the lives of those in red easier. 20090219 08:17:42-!- ilor [n=user@213-238-122-211.adsl.inetia.pl] has joined #wesnoth-dev 20090219 08:30:13-!- Ivanovic [n=ivanovic@dtmd-4db2a5ef.pool.einsundeins.de] has quit [Remote closed the connection] 20090219 08:30:23-!- Ivanovic [n=ivanovic@dtmd-4db2a5ef.pool.einsundeins.de] has joined #wesnoth-dev 20090219 08:44:23-!- nital [n=nital@public29062.xdsl.centertel.pl] has joined #wesnoth-dev 20090219 08:48:34< nital> hi 20090219 08:48:48< nital> is it just my browser or colored diff in svn isn't colored at all? 20090219 08:49:18< ilor> nital: yeah seems gna's broken 20090219 09:00:12< nital> ilor: thanks, I reported it to Support group on Gna 20090219 09:03:54-!- Sirp_ [n=me@c-71-198-3-104.hsd1.ca.comcast.net] has quit ["leaving"] 20090219 09:16:03-!- Baufo [n=thomas@62-47-128-109.adsl.highway.telekom.at] has joined #wesnoth-dev 20090219 10:14:28< JW1> any mods on 20090219 10:14:45< JW1> some forum moderation needs doing 20090219 10:15:05-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has joined #wesnoth-dev 20090219 10:15:11< JW1> zookeeper hi 20090219 10:15:49< JW1> have a moment? 20090219 10:16:06< JW1> aha, it's been taken care of by someone ;) 20090219 10:16:24< zookeeper> ? 20090219 10:16:31< zookeeper> oh, the spam. 20090219 10:16:34< JW1> there was someone advertising on the forums 20090219 10:16:36< JW1> yes 20090219 10:22:26< CIA-70> zookeeper * r32901 /trunk/data/campaigns/Eastern_Invasion/scenarios/10.Xenophobia.cfg: Gave the elves a bit more varied recruits. 20090219 10:28:16< Ivanovic> moin 20090219 10:29:33< CIA-70> zookeeper * r32902 /trunk/data/campaigns/Eastern_Invasion/scenarios/ (8 files): Converted most die events to last breath events. 20090219 10:35:52-!- martyfuhry_ [i=marty@kddb1.kddb.cs.kent.edu] has quit [Remote closed the connection] 20090219 10:41:42-!- loonybot [n=loonybot@79.139.247.150] has joined #wesnoth-dev 20090219 10:42:18-!- loonycyborg [n=sergey@79.139.247.150] has joined #wesnoth-dev 20090219 10:50:06< Ivanovic> zookeeper: good idea, will do this conversion for two brothers, too 20090219 10:57:58< CIA-70> ivanovic * r32903 /trunk/data/campaigns/Two_Brothers/scenarios/ (4 files): 20090219 10:57:58< CIA-70> convert most die events in two brothers to "last breath" events 20090219 10:57:58< CIA-70> zookeeper: please check if i have done it correctly... 20090219 10:59:18< Ivanovic> it is correct that i have to manually place a "kill" if i want the dead unit gone, correct? 20090219 11:05:03< Ivanovic> jupp, those events seem to make sense... 20090219 11:05:30< Ivanovic> i welcome a short check anyway, zookeeper 20090219 11:10:17< zookeeper> only use a [kill] if you want the unit to show its death anim during your last breath event 20090219 11:11:27< zookeeper> although you could easily split the whole thing into both a last breath and die event...which might be clearer sometimes 20090219 11:13:48< Ivanovic> it works nicely with the death events placed this way 20090219 11:13:56< Ivanovic> that is: explicitly with the kills in the middle 20090219 11:19:23< zookeeper> ok 20090219 11:24:18< CIA-70> zookeeper * r32904 /trunk/data/core/macros/items.cfg: Made the PICKUPPABLE_ITEM macro allow picking up items with the same id in different scenarios. 20090219 11:24:44< CIA-70> zookeeper * r32905 /trunk/data/campaigns/Eastern_Invasion/scenarios/ (4 files): Converted the holy amulets in EI to use PICKUPPABLE_ITEM. 20090219 11:40:13< Soliton> Ivanovic: looks like we lost /start/1.4/ from our website at some point. any idea if it's backed up somewhere? 20090219 11:41:08< Soliton> also /start/1.2/ is pretty empty. 20090219 11:42:36< Ivanovic> Soliton: i got to look through my own backups, no idea if anything is left... 20090219 11:43:17< Ivanovic> nope, it is not looking good 20090219 11:44:11< ettin> Ivanovic, Soliton: 1.4 is available in the svn repository (/website) 20090219 11:44:22< Soliton> oh, right. 20090219 11:44:35< Ivanovic> yes 20090219 11:44:43< Ivanovic> but i don't have anything from 1.2 left 20090219 11:46:35< Ivanovic> okay, at least the text for 1.4 is back 20090219 11:46:40< Ivanovic> that is: the images are still gone 20090219 11:48:31< Ivanovic> ettin: the po files from the 1.2 announcement seem to still be at files.wesnoth.org/start-1.2 20090219 11:48:41< Ivanovic> ettin: can you create the html version from those files? 20090219 11:50:07< CIA-70> zookeeper * r32906 /trunk/data/campaigns/Heir_To_The_Throne/units/ (Battle_Princess.cfg Princess.cfg): Changed Li'sar's sword animation filter from name=saber to range=melee so that the animation will get used for the sword of fire. 20090219 11:50:36< ettin> Ivanovic: I'll take a look at it later, when I get home 20090219 11:50:46< ettin> Ivanovic: I may still have backups for 1.0/1.2 20090219 11:51:17< Ivanovic> this would be *great* 20090219 11:51:30< Ivanovic> and i would welcome your help to get the stuff for the 1.6 announcement started 20090219 11:51:38< Ivanovic> probably it can be done the same way as for 1.4 20090219 11:52:43< ettin> Ivanovic: sure 20090219 11:55:42< CIA-70> ivanovic * r32907 /trunk/ (12 files in 11 dirs): updated Czech translation 20090219 11:58:40-!- cib0 [n=cib@p4FD0CCA1.dip.t-dialin.net] has joined #wesnoth-dev 20090219 11:59:01< cib0> hello 20090219 11:59:42< nital> what's that construction: cfg["string"] ? a template? a structure? overloaded something? (I haven't seen anything like that in C) 20090219 12:00:27< nital> hello cib0 20090219 12:00:35< cib0> nital, overloaded operator i think 20090219 12:01:02< cib0> in C++ you can overload operators of classes like = or [] 20090219 12:01:37< CIA-70> ivanovic * r32908 /trunk/po/wesnoth-nr/de.po: updated German translation 20090219 12:01:42< nital> thanks - in which file it's defined so i can look into it? 20090219 12:01:50< Ivanovic> in c++ you can overload *almost* everything if you just want to... 20090219 12:02:02< ilor> nital: config.hpp most likely 20090219 12:02:29< cib0> nital, config.cpp line 88 20090219 12:02:46< loonycyborg> Ivanovic: You're confusing C++ and Haskell :P 20090219 12:03:18< Ivanovic> loonycyborg: ehm, in c++ you can redifine almost everything, too 20090219 12:03:23< cib0> er, config.hpp, sorry 20090219 12:03:38< loonycyborg> You can't tweak associativity and precedence in C++ 20090219 12:03:38< Ivanovic> okay, some chars not, but there are not too many... 20090219 12:03:55< Ivanovic> uhm, in fact you most likely can 20090219 12:04:13< Ivanovic> that is: with your own definitions of all those operators it should be possible to do so somehow 20090219 12:04:35< loonycyborg> Nope. 20090219 12:05:34< cib0> i think it would be possible somehow, but i dont think anyone sane would do it 20090219 12:05:42< loonycyborg> You can separately overload operators ++ and -- for prefix and postfix versions using a dummy argument, and that's it AFAIK. 20090219 12:05:53< ilor> nope. operator precedence in c++ is set in stone. 20090219 12:05:53< nital> Ahh, so that's how it's done... neat! Nice way to apply labels, only these [] confused me. 20090219 12:06:26< cib0> nital, once you get used to them, youll be pretty happy to have them 20090219 12:06:42< ilor> nital: it's the standard way of making a map-like interface in c++ 20090219 12:07:47< cib0> and all other languages i know 20090219 12:08:01< cib0> just not every language enables you to create your own map-like interface 20090219 12:09:48< CIA-70> zookeeper * r32909 /trunk/data/core/macros/items.cfg: Converted OBJ_POTION_HOLY to use PICKUPPABLE_ITEM. 20090219 12:10:27< cib0> PICKUPPABLE.. is that really english? =) 20090219 12:11:03 * zookeeper shrugs 20090219 12:11:08< zookeeper> is OBJ? 20090219 12:11:47< cib0> i can pronounce OBJ object at least :/ 20090219 12:12:08< ilor> I'd drop the double P ;) 20090219 12:12:28< voris> I concur. 20090219 12:12:55< CIA-70> zookeeper * r32910 /trunk/data/campaigns/Heir_To_The_Throne/scenarios/04_The_Bay_of_Pearls.cfg: TC'd the caged mermen. 20090219 12:15:43< zookeeper> there's something wrong with that macro though. i can undo even if i take the item. 20090219 12:22:12< zookeeper> boucman, interesting glitch: if there's an [item] image= in water, and i move a unit on it, the item will be drawn behind the above-water part of the unit, but in front of the submerged part of the unit. in some ways it makes sense though, so i'm not sure if it should be fixed or not. 20090219 12:22:21-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090219 12:22:57< cib0> zookeeper, can items be submerged, too? 20090219 12:23:02< zookeeper> no. 20090219 12:25:56< ilor> cib0: make it a FR ;) 20090219 12:26:20< AI0867> you can probably abuse some of the image path functions for that 20090219 12:27:09< zookeeper> yeah, just make it 50% transparent or whatever. 20090219 12:28:11< cib0> zookeeper, it doesnt make any sense for submerged items to be displayed above the submerged unit 20090219 12:28:19< cib0> s/unit/unit part 20090219 12:56:20< nital> does this M next to svn revision (like 32903M) in main menu stand for "modified"? 20090219 12:57:42< loonycyborg> Yes. 20090219 13:05:45< nital> has my patch for https://gna.org/bugs/index.php?12814 any chances of getting included into source before 1.6? I knew of feature freeze, but I looked for some easy coding for the first contact with Wesnoth's code. 20090219 13:06:30< nital> (it isn't that big and buggy of a feature anyway) 20090219 13:08:35< Soliton> where's the patch? 20090219 13:10:26< nital> http://wesnoth.pastebin.com/m3fe34e45 20090219 13:11:04< nital> here. I never did a patch before, so it may not be what you expected. I just did "svn diff > hidden.diff" 20090219 13:11:21< Soliton> nah, that's fine. 20090219 13:12:28< loonycyborg> nital: pastebin.com is *really* bad choice for pasting patches because it eats @@ characters. 20090219 13:12:58< Soliton> download it and it'll be fine. 20090219 13:13:55< nital> so will it get included and I can modify wiki pages? 20090219 13:14:27< nital> or no chances before 1.6? 20090219 13:14:59< ilor> loonycyborg: maybe we should remove patsebin from the topic then? 20090219 13:15:40< Soliton> nital: not sure, best to properly post it on patches.wesnoth.org. 20090219 13:15:41< loonycyborg> ilor: pastebin is perfectly valid for everything else :) 20090219 13:16:17< loonycyborg> Besides, download indeed fixes this problem. 20090219 13:16:35< ilor> loonycyborg: it's not. it makes you click for a special version if you want to copy some code because the default page inserts bogus # chars 20090219 13:17:04< ilor> it can be done properly, see rafb.net/paste for instance 20090219 13:19:37 * loonycyborg doesn't remember seeing bogus # :? 20090219 13:21:34< ilor> loonycyborg: if on pastebin you select a bit of code and paste in in a text editor, you get garbage #s 20090219 13:25:14< loonycyborg> ilor: I don't remember ever getting that. On the paste page there's "download" link. I don't think it's affected.. 20090219 13:25:33-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090219 13:26:27< loonycyborg> Perhaps it's something windows-specific? I almost always do code-related tasks on linux. 20090219 13:26:32< ilor> loonycyborg: having to click some extra link that's comparetively tiny when I could just you know copy the text.... 20090219 13:27:53< loonycyborg> Anyway, there's also http://codepad.org/ for pasting code. 20090219 13:28:07< loonycyborg> It even can compile code :) 20090219 13:28:32< ilor> I'd just prefer we didn't have pastebin in the topic 20090219 13:29:04< ilor> teh ##c++ guys are usually pretty vocal about pastebin-hate and I started agreeing ;) 20090219 13:29:15< ilor> anyway, got to go, see you later today 20090219 13:29:21< loonycyborg> bye 20090219 13:30:28< Soliton> does codepad mind if you put other stuff in it? 20090219 13:30:48< loonycyborg> It can cause compile errors :P 20090219 13:33:08-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 110 (Connection timed out)] 20090219 13:38:22< esr> zookeeper: ping? 20090219 13:39:15< Ivanovic> esr: saw me highlighting you this night? 20090219 13:39:20< Ivanovic> (that is about 12h ago) 20090219 13:39:31< esr> Nope, what's up? 20090219 13:39:39< zookeeper> esr, pong 20090219 13:39:43< Ivanovic> [Do Feb 19 2009] [02:16:12] esr: http://www.wesnoth.org/forum/viewtopic.php?p=340490#p340490 20090219 13:39:55< Ivanovic> as a starting point for the 1.6 announcement 20090219 13:40:10< Ivanovic> which would be great to have some time "rather soon" so that translators got some time to work on it, too 20090219 13:40:16< esr> Ivanovic: Noted. 20090219 13:40:39< Ivanovic> that is: viliam already posted some notes which might be a good starting point 20090219 13:40:57< Ivanovic> and he probably welcomes a "thanks, looks like a good start, i appriciate help" post 20090219 13:40:59< Ivanovic> ;) 20090219 13:41:58< esr> zookeeper: TThere's a bug in the last scenario of THoT that is either an elementary WML usage error or an engine problem with music laylists. Would you please sanity-check my use of the *_MUSIC macros there? I think they're correct, but WML is full of surprises about stuff like that. 20090219 13:42:35< esr> If they look OK then there's some wacky issue with long music playlists. 20090219 13:43:50< zookeeper> esr, doesn't that cause the prestart events to be nested in the start event? 20090219 13:47:36< esr> zookeeper: I'm not completely sure I understand you. 20090219 13:47:48< zookeeper> the music macros place a prestart event 20090219 13:48:26< zookeeper> only the track given with SCENARIO_MUSIC is played, because EXTRA_SCENARIO_MUSIC just appends to the previous event, which is never triggered 20090219 13:48:40< zookeeper> it's quite obvious if you look at how those two macros are defined 20090219 13:49:33< esr> Hrm. OK, usage error. What's your recommended fix? Stop using the macros? 20090219 13:50:10-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090219 13:50:11< zookeeper> just move them out of the start event or use plain [music] tags (or create a new macro) to append to the existing playlist 20090219 13:50:55< zookeeper> i presume that the reason i made EXTRA_SCENARIO_MUSIC use [+event] was because appending normally outside an [event] didn't work, but you could try that too. 20090219 13:51:20< esr> They have to be in the start events because they're not supposed to play until after the wardrums. 20090219 13:51:41< esr> Guess I'll write the [music] tags. 20090219 13:57:55-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Connection timed out] 20090219 14:10:24-!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20090219 14:11:16-!- AndreLuiz [n=AndreLui@189.71.27.249] has joined #wesnoth-dev 20090219 14:28:40-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090219 14:34:57-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090219 14:36:15< Shadow_Master> hi 20090219 14:36:25< cib0> hello Shadow_Master 20090219 14:39:50< Shadow_Master> I have 17 terminal emulators open. It's starting to become confusing 20090219 14:42:28-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Connection timed out] 20090219 14:52:23< cib0> is it only me or do i actually have to uncheck the "Do not show me again" box, so i dont get asked to host a server? 20090219 14:54:06< cib0> it seems not to make any difference at all what i choose 20090219 14:54:17 * Shadow_Master won't test that because that feature kills ALSA for some reason. 20090219 14:55:32< Shadow_Master> by the way, does anyone have any remote clue why forking wesnothd with the MP menu crashes ALSA, but starting it as a separate process doesn't? 20090219 14:55:58< Shadow_Master> it's weird like hell, and happens in 2.6.24, 2.6.26 and 2.6.28 kernels all the same. 20090219 14:58:42 * loonycyborg wonders how does one crash an API(ALSA) 20090219 14:59:41 * Rhonda isn't aware of any process called ALSA that could get crashed? 20090219 15:01:14< loonycyborg> It works fine for me.. 20090219 15:01:17< Rhonda> hmmmmm 20090219 15:01:18< Rhonda> 20090219 15:00:12 info server: Server configuration from file: '/home/rhonda/.wesnoth1.5/lan_server.cfg' read. 20090219 15:01:18< Rhonda> opened fifo at '/var/run/wesnothd/socket'. Server commands may be written to this file. 20090219 15:01:18 * Rhonda wonders when it creates a lan_server.cfg why it doesn't put the socket into the ~/.wesnoth1.5/ directory, too?! 20090219 15:01:32< Soliton> it doesn't create lan_server.cfg. 20090219 15:01:37< Rhonda> Doesn't crash alsa here 20090219 15:01:59< Rhonda> Soliton: Oh yes it does - I hadn't that file before I tried now. 20090219 15:02:01< Shadow_Master> er, alsa-tools 20090219 15:02:12< Soliton> well, maybe it's copied for some reason. 20090219 15:02:18< Shadow_Master> and then no applications can use sound until I invoke-rc.d alsa-tools restart 20090219 15:02:22< Soliton> but the server has nothing to do with that. 20090219 15:03:30< Shadow_Master> I didn't notice the login box in the MP menu has a nickname history btw 20090219 15:03:48< Rhonda> Shadow_Master: I don't have alsa-tools installed here at all but am using ALSA, so ... 20090219 15:04:37< Shadow_Master> ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave 20090219 15:04:38< Shadow_Master> 20090219 11:06:03 error audio: Could not initialize audio: ARTS can not open audio device 20090219 15:04:57< Shadow_Master> right after starting a wesnothd from wesnoth, and restarting wesnoth. 20090219 15:05:22< Shadow_Master> Rhonda: I meant alsa-utils actually. 20090219 15:05:38< Rhonda> Oh, and the wesnotd doesn't quite when all players left but only when I quit wesnoth itself? 20090219 15:05:45< Rhonda> Shadow_Master: Then please say so. 20090219 15:06:17< Rhonda> You are a coder, you should know that precise informations are the core to pinning down the problem. 20090219 15:06:22< Shadow_Master> hey, I can't avoid confusing "tools" and "utils" for everything :-( 20090219 15:06:51< Soliton> wesnothd quits 60s after all players left. 20090219 15:07:05< Rhonda> Ah, alright, that might be it. 20090219 15:07:19< Soliton> s/might be/is/ 20090219 15:08:33< Shadow_Master> I actually didn't even notice there was a "alsa-tools" package as well as a "alsa-utils" one until now 20090219 15:09:04< Rhonda> Soliton: pff :) 20090219 15:09:51 * Rhonda just did the lenny-release update on the server, just in case. 20090219 15:14:22< cib0> how do you escape the / as first character in wesnoth chat? 20090219 15:14:47< Soliton> not at all. 20090219 15:15:02< cib0> meh 20090219 15:15:06< Shadow_Master> / 20090219 15:16:00< Soliton> might be easy to implement / / style escaping. 20090219 15:16:20 * Rhonda has a question about the unofficial packages listed in gettext.w.o: Are they campaigns that attemt to get into mainline? Is there a multiplayer campaign amongst them? 20090219 15:17:19< Shadow_Master> they are just add-ons that have opted-in for translations at the WesCamp-i18n projects. They may or may not be campaigns. 20090219 15:17:51< Shadow_Master> no idea about multiplayer campaigns; at least those for the Development version aren't 20090219 15:18:12< Rhonda> Too bad. :/ 20090219 15:18:22< cib0> i dont think theres any MP campaign that polished out there yet 20090219 15:18:47< cib0> most of them are still in development or abandoned 20090219 15:19:03< Shadow_Master> yours is abandoned, I take it? 20090219 15:21:04< cib0> uhm.. the one i put on the server? well, im not actively maintaining it anyway.. 20090219 15:21:23< Shadow_Master> zookeeper: the PYR era icon in the add-on servers is showing a great deal of aliasing in the top, by the way. 20090219 15:21:29< Shadow_Master> * at. 20090219 15:22:18< cib0> i paused working on it when i noticed the map generator was bugged and the next scenario depended on it.. 20090219 15:22:42< cib0> might actually do it now, got some time on my hands and it's not much work 20090219 15:23:15< Shadow_Master> do you mean the underground map generator, right? it was certainly never intended for MP, and very few single-player scenarios even use it. :-) 20090219 15:24:20< cib0> oh, it has even more problems than the normal one? 20090219 15:24:53< Shadow_Master> The only official problem is lack of documentation. 20090219 15:25:28< Shadow_Master> I don't know then what you mean by "bugged". 20090219 15:25:29< cib0> i hope i wont run into more 20090219 15:25:48< cib0> in MP, map generators would be out of sync because of a bug which has been fixed 20090219 15:28:51< Shadow_Master> SF.net is turning its servers into swiss-army knives. We have CVS, SVN and now git :-) 20090219 15:35:07< cib0> it's a big problem that descriptions can be overwritten on reload 20090219 15:35:56< cib0> i mean, i don't want Konrad to be called "local player" 20090219 15:36:43< cib0> a preload event would really help 20090219 15:38:03< Shadow_Master> [event] name=prestart [store_unit] [filter] side=1 canreccruit=yes [/filter] variable=konrad_store [/store_unit] {VARIABLE konrad_store.name _"Konrad"} [unstore_unit] variable,find_vacant=konrad_store,no [/unstore_unit] [/event] 20090219 15:38:18< Shadow_Master> fix obvious typos, expand into new lines. 20090219 15:38:45< cib0> thing is, it wont work when you reload a mid-game save 20090219 15:39:16< Shadow_Master> you should probably mark it as a to-do for 1.7 20090219 15:39:54< Shadow_Master> alternatively, force your players to use the characters' names. 20090219 15:40:09< cib0> heh :p 20090219 15:41:07< cib0> i think it would make most sense not to have the game rename unrenamable units 20090219 15:41:34< cib0> if it weren't for this feature freeze, that would be the simplest solution.. 20090219 15:43:00< Shadow_Master> give Ivanovic an enormous bag of cookies and he might allow.. 20090219 15:43:01< Soliton> rewritting side assignment? good luck. 20090219 15:43:31< Shadow_Master> oh, _that_ 20090219 15:45:43< cib0> only an innocent little if in the side assignment ;) 20090219 15:47:36< Soliton> got a patch to show? 20090219 15:48:21< cib0> nah, i dont really think its worth all the trouble 20090219 15:48:45< cib0> i think MP campaigns wont really be working until 1.8 anyway 20090219 15:50:20< cib0> does the map generator in MP work like in SP? or do i have to structure the scenario differently? 20090219 15:50:43< Soliton> "all the trouble", "big problem", "innocent little if" something doesn't add up here. ;-) 20090219 15:51:06< Soliton> afaict world conquest works quite fine on 1.4, btw. 20090219 15:51:54< Shadow_Master> I am still sure that forcing the players to login as "Konrad" and "Li'sar" would solve cib0's dilemma, though. 20090219 15:52:07< Shadow_Master> ;-) 20090219 15:52:14< cib0> yeah, but once you try to create a full campaign, with story line and all, you run into problems 20090219 15:52:54< Soliton> i doubt adding a more elaborate story line would give much trouble... 20090219 15:54:33< cib0> im talking about those campaigns that have over 10 different scenarios 20090219 15:55:36< cib0> i still have about 4 bugs left on my list, but they are really hard to reproduce, so i cant even tell whether they still exist 20090219 15:56:00< cib0> and there are probably more of that kind out there 20090219 16:02:57< zookeeper> Shadow_Master, aliasing? i don't see it. 20090219 16:03:26< Shadow_Master> zookeeper: um, in the top left edge of the ? sign 20090219 16:03:46< zookeeper> right, i guess it's a bit jagged 20090219 16:03:50< zookeeper> feel free to fix? 20090219 16:04:02< Shadow_Master> pah. 20090219 16:04:44< Shadow_Master> I knew it, I knew it! I'd better keep my hands off the keyboard (for not saying "keep my mouth shut") 20090219 16:13:20-!- cib_ [n=cib@p4FD0DAA8.dip.t-dialin.net] has joined #wesnoth-dev 20090219 16:17:00< Shadow_Master> besides the introduction of the new forests, *we* didn't make any changes that break 1.5.8-compatibility, right? :-P 20090219 16:17:19< Shadow_Master> erm, for single player campaigns 20090219 16:19:56< Shadow_Master> I take it as a no. I'll stop worrying about re-releasing my add-on with a corrected version req. note for the campaigns menu. 20090219 16:20:58-!- cib__ [n=cib@p4FD0EB5F.dip.t-dialin.net] has joined #wesnoth-dev 20090219 16:28:28-!- ikarius [n=ross@216.27.182.3] has quit [] 20090219 16:29:29-!- cib0 [n=cib@p4FD0CCA1.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 20090219 16:29:48< Shadow_Master> 55/me watches cib's suffering 20090219 16:30:42< Soliton> there are 55 of you? 20090219 16:30:55< Soliton> scary. 20090219 16:31:41< Shadow_Master> um, there are actually a few hundreds, that information is outdated. 20090219 16:31:50< CIA-70> soliton * r32911 /trunk/ (data/lan_server.cfg utils/change_textdomain): typo fix and useless textdomain declaration removal 20090219 16:32:13< CIA-70> soliton * r32912 /trunk/ (changelog src/menu_events.cpp): * allow chat command quoting as '/ /command' 20090219 16:32:33< Soliton> cib__: ^ 20090219 16:33:22-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090219 16:36:45-!- cib_ [n=cib@p4FD0DAA8.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 20090219 16:38:23< Soliton> cib__: that confirmation check when starting the server works fine for me. 20090219 16:39:04-!- Shadow_Master_ [n=imorelle@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090219 16:39:46-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has quit [Nick collision from services.] 20090219 16:40:12-!- cib__ [n=cib@p4FD0EB5F.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 20090219 16:40:25-!- Shadow_Master_ is now known as Shadow_Master 20090219 16:57:42-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has quit [Read error: 60 (Operation timed out)] 20090219 16:58:01-!- Baufo [n=thomas@62-47-128-109.adsl.highway.telekom.at] has quit [Read error: 110 (Connection timed out)] 20090219 16:58:40-!- Baufo [n=thomas@62-47-144-139.adsl.highway.telekom.at] has joined #wesnoth-dev 20090219 16:58:59-!- happygrue [n=Wintermu@c-67-176-145-41.hsd1.in.comcast.net] has joined #wesnoth-dev 20090219 17:11:24< Elvish_Pillager> hmm, svn isn't compiling for me - first error: src/menu_events.cpp:225: error: ‘location’ is not a member of ‘gamemap’ 20090219 17:17:21< loonycyborg> Which gcc version? Does svn diff report any changes? 20090219 17:18:47< ilor> Elvish_Pillager: must be old code mixed with current svn. gamemap::location was changed to map_location a few months ago 20090219 17:19:42-!- ikarius [n=ross@smtp.gridironsystems.com] has joined #wesnoth-dev 20090219 17:23:01< Elvish_Pillager> hmm 20090219 17:24:08< CIA-70> esr * r32913 /trunk/data/campaigns/The_Hammer_of_Thursagan/scenarios/12_The_Underlevels.cfg: Fix bug #13001: [THoT] The Underlevels - no music is played. 20090219 17:24:09< Elvish_Pillager> ah, yeah, I have some differences to SVN. now how do I fix that... *goes to figure out* 20090219 17:24:36< loonycyborg> SVN revert? :P 20090219 17:24:51< loonycyborg> *svn 20090219 17:25:33< Elvish_Pillager> yeah, figured that out soon enough 20090219 17:35:11-!- ettin [n=jorda@25.207.219.87.dynamic.jazztel.es] has quit [Read error: 110 (Connection timed out)] 20090219 17:43:58< Elvish_Pillager> jeez 20090219 17:44:07< Elvish_Pillager> so I did svn revert on the files in question 20090219 17:44:07< CIA-70> esr * r32914 /trunk/data/ (2 files in 2 dirs): Add a useful macro and remove a spurious one. 20090219 17:44:23< Elvish_Pillager> and svn diff now doesn't print anything 20090219 17:44:28< Elvish_Pillager> but the files haven't actually changed 20090219 17:44:33< Elvish_Pillager> so it still doesn't compile 20090219 17:46:26-!- Dragonking [n=dk@dedikerad/dragonking] has joined #wesnoth-dev 20090219 17:46:40-!- Elvish_Pillage2 [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090219 17:47:04< loonycyborg> Elvish_Pillager: Try making a new working copy perhaps? 20090219 17:47:57< Elvish_Pillage2> svn upping the file with errors seems to have fixed it. 20090219 17:50:01< loonycyborg> Then most likely it was manually checked out in an old revision or something.. 20090219 17:50:05< CIA-70> esr * r32915 /trunk/data/campaigns/Legend_of_Wesmere/scenarios/11_Battle_of_the_book.cfg: 20090219 17:50:05< CIA-70> Address bug #12994 (Inappropriate message timing in LoW: Battle of the Book) 20090219 17:50:05< CIA-70> by suppressing Olurf's last line of dialogue if the troll leader is 20090219 17:50:05< CIA-70> still alive. 20090219 17:50:10-!- ettin [n=jorda@83.207.219.87.dynamic.jazztel.es] has joined #wesnoth-dev 20090219 17:56:13-!- cjhopman [n=chris@68-118-159-7.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)] 20090219 17:58:31-!- JW1 [n=X@dhcp66-158-5-10.kentlaw.edu] has joined #wesnoth-dev 20090219 17:58:49-!- JW1 [n=X@dhcp66-158-5-10.kentlaw.edu] has quit [Client Quit] 20090219 17:59:29-!- loonycyborg [n=sergey@79.139.247.150] has quit ["KVIrc 3.4.2 Shiny http://www.kvirc.net/"] 20090219 18:00:03-!- loonybot [n=loonybot@79.139.247.150] has quit [Remote closed the connection] 20090219 18:02:55-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090219 18:06:14-!- Elvish_Pillage2 is now known as Elvish_Pillager 20090219 18:15:40-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090219 18:21:05-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has quit ["Leaving"] 20090219 18:24:00-!- Turuk_ [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has quit [Read error: 110 (Connection timed out)] 20090219 18:24:36-!- malumalu [n=malu@hnvr-4dbb55cf.pool.einsundeins.de] has joined #wesnoth-dev 20090219 18:29:28-!- cjhopman [n=chris@dyn-0-235.uwnet.wisc.edu] has joined #wesnoth-dev 20090219 18:40:09-!- AndreLuiz [n=AndreLui@189.71.27.249] has quit [Remote closed the connection] 20090219 18:41:13< Elvish_Pillager> ahhh nice, it runs 20090219 18:41:27< Elvish_Pillager> although without sound, but that's probably for the same reason none of my games have sound :/ 20090219 18:47:24-!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has joined #wesnoth-dev 20090219 18:52:53-!- Netsplit anthony.freenode.net <-> irc.freenode.net quits: Alesis-Novik_, Elvish_Pillager, nital 20090219 18:54:46-!- Netsplit over, joins: Elvish_Pillager, nital, Alesis-Novik_ 20090219 18:56:22-!- AndreLuiz [n=AndreLui@189.71.27.249] has joined #wesnoth-dev 20090219 18:57:40-!- Noyga [n=noyga@AVelizy-151-1-27-8.w82-124.abo.wanadoo.fr] has joined #wesnoth-dev 20090219 18:57:48-!- malumalu [n=malu@hnvr-4dbb55cf.pool.einsundeins.de] has quit [Read error: 110 (Connection timed out)] 20090219 18:59:42-!- Mordante [n=chatzill@roadie.xs4all.nl] has joined #wesnoth-dev 20090219 18:59:54< Mordante> hi 20090219 19:02:01-!- cjhopman [n=chris@dyn-0-235.uwnet.wisc.edu] has quit [Read error: 60 (Operation timed out)] 20090219 19:03:34-!- Baufo_ [n=thomas@62-47-144-139.adsl.highway.telekom.at] has joined #wesnoth-dev 20090219 19:04:02-!- Baufo_ [n=thomas@62-47-144-139.adsl.highway.telekom.at] has quit [Client Quit] 20090219 19:07:48< crimson_penguin> hi Mordante 20090219 19:07:53-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has joined #wesnoth-dev 20090219 19:07:54< Mordante> hi crimson_penguin 20090219 19:08:08< crimson_penguin> Mordante: could you tell me if you get bad kerning in the tooltips too? 20090219 19:08:16< crimson_penguin> http://www.wesnoth.org/forum/viewtopic.php?f=4&t=24160&p=340615 20090219 19:08:37< crimson_penguin> I guess it's just in the italic text 20090219 19:09:18< Mordante> I'm quite sure that it uses SDL_TTF as well since the new tooltips are broken ;-) 20090219 19:09:32< Mordante> and no idea whether SDL_TTF supports kerning properly 20090219 19:10:32< Mordante> and italic tips of the day also look bad regarding kerning here 20090219 19:10:55< crimson_penguin> ok, good, then it's not a Mac issue :) 20090219 19:13:02< Mordante> :-) 20090219 19:29:47< CIA-70> mordante * r32916 /trunk/src/gui/widgets/canvas.hpp: Fix a typo in the comment. 20090219 19:29:53< CIA-70> mordante * r32917 /trunk/ (changelog players_changelog src/gui/widgets/grid.cpp): 20090219 19:29:53< CIA-70> Fixed a listbox glitch. 20090219 19:29:53< CIA-70> A litbox with a horizontal and vertical scrollbar could get an invalid 20090219 19:29:53< CIA-70> size which caused odd behaviour. This fixes bug #12940. 20090219 19:29:59< CIA-70> mordante * r32918 /trunk/src/gui/widgets/grid.cpp: Port my previous fix to the horizontal case. 20090219 19:30:02< CIA-70> mordante * r32919 /trunk/src/gui/widgets/widget.cpp: Add a sanity check. 20090219 19:30:10< CIA-70> mordante * r32920 /trunk/ (changelog src/gui/widgets/control.cpp): 20090219 19:30:10< CIA-70> Fix colours in message bug #13019. 20090219 19:30:10< CIA-70> For some reason the lexical_cast_default fails, which needs to be 20090219 19:30:10< CIA-70> investigated further at some point. 20090219 19:31:48-!- loonybot [n=loonybot@79.139.247.150] has joined #wesnoth-dev 20090219 19:32:23-!- loonycyborg [n=sergey@79.139.247.150] has joined #wesnoth-dev 20090219 19:39:58< CIA-70> mordante * r32921 /trunk/src/gui/widgets/control.cpp: Remove a debug message. 20090219 19:41:11< Ivanovic> wesbot: topic 20090219 19:41:33< Ivanovic> yes, the bug count starts to look better 20090219 19:42:29< Ivanovic> esr, fabi: https://gna.org/bugs/index.php?13026 20090219 19:42:55< CIA-70> loonycyborg * r32922 /trunk/packaging/windows/Wesnoth.nsi.in: Added NSIS installer page to specify where to store userdata. 20090219 19:50:47< Ivanovic> cib0: i can't reproduce your issue reported in https://gna.org/bugs/index.php?13023 20090219 19:55:42< Soliton> i could. 20090219 20:04:48-!- YogiHH [i=YogiHH@c223223.adsl.hansenet.de] has joined #wesnoth-dev 20090219 20:04:55< YogiHH> hello everyone 20090219 20:05:01< Mordante> hi YogiHH 20090219 20:06:19-!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has quit [Success] 20090219 20:14:22< YogiHH> AI0867, AI0867_: ping 20090219 20:17:56-!- Noyga [n=noyga@AVelizy-151-1-27-8.w82-124.abo.wanadoo.fr] has quit ["Quitte"] 20090219 20:23:36< YogiHH> AI0867, AI0867_: ping 20090219 20:28:26< crimson_penguin> Ivanovic: This font thing is really rather serious by the way; it's already pretty bad, but it'll only get worse 20090219 20:29:55< crimson_penguin> Right now if people don't have Arial Unicode MS, they won't get text in dialogs at all... I could use another font that is installed by default (I'm still not 100% sure this one isn't, but it seems likely), but there's no others that support as many languages 20090219 20:30:21< crimson_penguin> I could install DejaVu, but that doesn't support all the languages either 20090219 20:34:40-!- thespaceinvader [n=chatzill@91.108.140.221] has joined #wesnoth-dev 20090219 20:35:20< Mordante> maybe pm the old mac packager afaik he didn't have this problem 20090219 20:36:21-!- EdB [n=EdB@232.153.82-79.rev.gaoland.net] has joined #wesnoth-dev 20090219 20:36:43< loonycyborg> Mordante: That's because that was before pango support was added :P 20090219 20:37:17< Mordante> sure, I thought he did some releases with pango 20090219 20:37:42< Ivanovic> no, he did none with pango 20090219 20:37:57< Ivanovic> it is pango itself that has this problem, it "enforces" using system fonts... 20090219 20:38:35< loonycyborg> That's because it's cross-platform :P 20090219 20:39:15< loonycyborg> And even doesn't make assumption about how fonts are stored in files and loaded. 20090219 20:39:24< loonycyborg> assumption* 20090219 20:39:28< loonycyborg> assumptions* 20090219 20:39:34< loonycyborg> It only knows font names. 20090219 20:44:40-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has left #wesnoth-dev [] 20090219 20:45:12-!- cjhopman [n=chris@dyn-0-192.uwnet.wisc.edu] has joined #wesnoth-dev 20090219 20:45:47< Mordante> crimson_penguin do you know which backend pango uses on the mac? Quartz? 20090219 20:46:42-!- kitty_ [n=kitty@e180215104.adsl.alicedsl.de] has joined #wesnoth-dev 20090219 20:47:05-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has joined #wesnoth-dev 20090219 20:49:06< kitty_> hi, i have a dumb tech question: i just downloaded the mac package. but i cannot open it. it just tells me that the image couldn't be open for an unknown reason. :( or is there a better place to ask this kind of question? 20090219 20:49:40< crimson_penguin> Mordante: I guess it's Quartz... it uses the system font services somehow, anyway 20090219 20:50:48< Sirp> kitty_: did you try deleting it and re-downloading, in case something went wrong? 20090219 20:51:01< kitty_> Sirp: yes :( 20090219 20:51:08< Sirp> kitty_: and still has the same problem? 20090219 20:51:14< kitty_> yes 20090219 20:51:17 * Sirp looks at crimson_penguin 20090219 20:51:32< Sirp> kitty_: you have reached the limits of my technical abilities to help you solve the problem. :( 20090219 20:51:44< Sirp> didn't take long, did it? :) 20090219 20:51:45< kitty_> thanks for trying ;) 20090219 20:51:46< Mordante> crimson_penguin would be nice to know for sure, I just saw we look the fonts manually on linux and windows as well 20090219 20:51:52< Sirp> kitty_: I think crimson_penguin should know more 20090219 20:51:59< Mordante> hi kitty_ :-) 20090219 20:52:05< kitty_> hi Mordante 20090219 20:52:12< crimson_penguin> kitty_: is it the right size? 20090219 20:52:12< Sirp> or Jetrel would too 20090219 20:52:42< kitty_> crimson_penguin: what is the "right size"? 20090219 20:53:10< crimson_penguin> kitty_: 221.6MB 20090219 20:53:17-!- Shadow_Master [n=imorelle@unaffiliated/shadowmaster/x-275924] has joined #wesnoth-dev 20090219 20:53:24< crimson_penguin> hi Shadow_Master 20090219 20:53:30< Mordante> kitty_ still haven't found time to look at the max width for the message dialog, but it's moving to the top of my todo list 20090219 20:53:54< kitty_> crimson_penguin: oh! it's smaller. i'll download again. sorry. 20090219 20:54:25< crimson_penguin> kitty_: you could use wget to resume if you want 20090219 20:54:42< crimson_penguin> kitty_: if you just tell me where it's downloaded now, I could give you a couple commands to run 20090219 20:55:03< kitty_> crimson_penguin: sounds too scary for me - i'll just download 20090219 20:55:07< crimson_penguin> ok :) 20090219 20:55:52 * loonycyborg doesn't believe that wget is so scary :P 20090219 20:55:58< kitty_> Mordante: ok 20090219 20:56:15< crimson_penguin> you might wanna use something other than Safari to download with, since it gets convinced that the download is done if it gets disconnected 20090219 20:56:43< kitty_> good to know 20090219 20:57:36< Sirp> doh...I was expecting crimson_penguin to have to go into magical Mac hackery and he just came up with something simple that I should have thought of. :-/ 20090219 20:57:51< crimson_penguin> :D 20090219 20:58:17< crimson_penguin> Sirp: it's a common issue because of Safari's stupid download behavior 20090219 20:59:15< Mordante> :-/ that's bad if the default browser can't download something properly 20090219 21:01:13< crimson_penguin> it suuure is 20090219 21:01:13< crimson_penguin> it doesn't always do this though, sometimes it knows that it should just let the user resume 20090219 21:01:15< crimson_penguin> it's kinda weird 20090219 21:01:49< CIA-70> ivanovic * r32923 /trunk/po/wesnoth-httt/ru.po: updated Russian translation 20090219 21:02:35< YogiHH> Sirp, you got some minutes for me? 20090219 21:03:06< Ivanovic> anyone able to reproduce what cib0 just reported? https://gna.org/bugs/index.php?13023 20090219 21:03:16 * Ivanovic is not able to 20090219 21:04:07< Shadow_Master> windows-specific porbably 20090219 21:04:25< Ivanovic> uhm, he reported that it would be debian... 20090219 21:04:32< Shadow_Master> oh :-) 20090219 21:04:35< Mordante> kitty_ one question for the right side image regarding the maximum width 20090219 21:04:36< Ivanovic> jupp 20090219 21:04:52< kitty_> Mordante: yes? 20090219 21:04:53< Shadow_Master> Ivanovic: reproduced 20090219 21:04:57< Mordante> if I fill I assume the text should still be left aligned 20090219 21:05:02< Shadow_Master> 1.5.10+svn revision 32900 20090219 21:05:08< Sirp> YogiHH: sure, what's up? 20090219 21:05:12< Mordante> (I just started to look at it and the left side seems to work :-) ) 20090219 21:05:18< Ivanovic> Shadow_Master: okay 20090219 21:05:47< Shadow_Master> http://imagebin.org/38819 20090219 21:08:27< Ivanovic> hmm, okay, when using en_US i see it, too 20090219 21:08:34< Ivanovic> but *not* when using the german translation# 20090219 21:09:11< Ivanovic> this is *interesting*... 20090219 21:09:11< YogiHH> Sirp: http://wesnoth.pastebin.com/d41382886 20090219 21:09:38 * Shadow_Master is always using en_US 20090219 21:09:57< YogiHH> Sirp: do you see any difference between those two code snippets (it's only about the iterator), that is difference in functionality? 20090219 21:10:19 * YogiHH hopes not or he didn't understand something yet 20090219 21:10:32< Mordante> didn't ilor already fix it? 20090219 21:12:08< YogiHH> Mordante: fix what? 20090219 21:12:17< Sirp> YogiHH: the difference is that one is likely to loop forever, and the other is likely to segfault. ;) 20090219 21:12:25< Mordante> the itor problem there 20090219 21:12:29-!- cjhopman_ [n=chris@wireless33.cs.wisc.edu] has joined #wesnoth-dev 20090219 21:12:38< Sirp> YogiHH: the first one will likely loop forever, the second will likely segfault 20090219 21:12:48< YogiHH> Sirp: ugh, can you please explain that to me? 20090219 21:13:15< loonycyborg> Iterator invalidation, y'know :P 20090219 21:13:33< Sirp> YogiHH: this is the code you want: http://pastebin.com/m234b7797 20090219 21:13:34< Mordante> YogiHH if itor->second->manager_reap_ai() == false 20090219 21:13:37< YogiHH> loonycyborg: i know, but why is the functionality different? 20090219 21:14:09< Sirp> YogiHH: so the first code is incorrect because if itor->second->manager_reap_ai() is false, then itor will never be incremented. 20090219 21:14:16< Sirp> and then it'll just loop forever 20090219 21:14:38< Sirp> so you need that code, but an else to increment the itor if the condition is false 20090219 21:15:04< Sirp> YogiHH: as for why the second code snippet is incorrect, you have to think about what a map is, and what an iterator into a map is 20090219 21:15:46< YogiHH> Sirp: oops, sorry, i messed up the code when i tried to remove the non-interesting parts :( 20090219 21:15:52< YogiHH> Sirp: one minute... 20090219 21:16:39< Sirp> YogiHH: no problem, I think I understand 20090219 21:16:44< Mordante> kitty_ if I fill I assume the text should still be left aligned 20090219 21:16:58< Sirp> YogiHH: you really want to know why the version with just the ++itor in the for loop doesn't work. 20090219 21:17:03< kitty_> Mordante: yep 20090219 21:17:13< Mordante> kitty_ I've a working version will commit in a minute :-) 20090219 21:17:19< kitty_> :) 20090219 21:17:35< YogiHH> Sirp: yes, because i see no functionality difference (the if stuff was commented out) 20090219 21:17:53< Sirp> YogiHH: so, a map is basically a binary search tree 20090219 21:17:53-!- alink [n=alink@78.129.18.215] has joined #wesnoth-dev 20090219 21:17:58< alink> hi 20090219 21:18:03< Sirp> it has lots of nodes, and the nodes contain pointers to each other 20090219 21:18:19 * YogiHH nods 20090219 21:18:21< Shadow_Master> hi alink 20090219 21:18:31< Sirp> so an iterator into a map contains a pointer to one of the nodes. When you increment the iterator, it will look at the pointer to the next node 20090219 21:18:44< alink> hello Shadow_Master 20090219 21:18:48< Mordante> kitty_ if you want to play with it just replace data/gui/default/window/wml_message.cfg and change the 4 occurences of 675 (650 + 25 for the scrollbar) 20090219 21:18:52< Sirp> YogiHH: now when you call erase() on a map, it will delete the node that corresponds to the iterator. 20090219 21:18:55< Mordante> hi alink 20090219 21:19:10< YogiHH> Sirp: therefore, the iterator is corrupted, right? 20090219 21:19:11< alink> and hello Mordante :) 20090219 21:19:11< Sirp> YogiHH: this means this memory has free() called on it, and you can no longer use it 20090219 21:19:15< Sirp> YogiHH: yes. 20090219 21:19:39< Sirp> YogiHH: all STL containers have 'invalidation rules'. All operations on STL containers have definitions about which iterators are invalidated when you perform the operation 20090219 21:20:14< Sirp> in the case of map, when you erase an element, all iterators to this element become invalid, and may no longer be used 20090219 21:20:29< YogiHH> mhm 20090219 21:20:33 * Shadow_Master giggles (PICKUPPABLE...) 20090219 21:20:37< Sirp> some containers have stricter rules. For instance, if you erase from a vector, that element and all later elements have iterators to them become invalid. 20090219 21:20:48< Sirp> and if you add an item to a vector, then all iterators become invalid. 20090219 21:21:24< Sirp> YogiHH: so, the idiom for safely erasing from a map but maintaining your iterator is basically this: 20090219 21:21:34< CIA-70> mordante * r32924 /trunk/ (changelog data/gui/default/window/wml_message.cfg): Make the maximum used width for the message text 650 pixels. 20090219 21:21:37< Sirp> map<...>::iterator delete_me = i; 20090219 21:21:40< Sirp> ++i; 20090219 21:21:44< Sirp> m.erase(delete_me); 20090219 21:22:07< Sirp> this gets the node, then safely moves i forward to the next node before deleting the node 20090219 21:22:33< Sirp> however, this can be summarized as m.erase(i++); -- since getting the previous value is exactly what i++ does. 20090219 21:22:52< YogiHH> and this is what i don't understand 20090219 21:23:10< YogiHH> i++ is post increment, so shouldn't the increment happen after the erase, then? 20090219 21:23:21< CIA-70> esr * r32925 /trunk/po/wesnoth-httt/en_GB.po: Unfuzzy two en_GB strings. 20090219 21:23:25< YogiHH> which invalidates the iterator? 20090219 21:24:37< Sirp> YogiHH: int n = 0; int m = n++; 20090219 21:24:38-!- stikonas [n=and@ctv-213-164-126-243.vinita.lt] has joined #wesnoth-dev 20090219 21:24:46< Sirp> m now contains 0, and n contains 1 20090219 21:24:51< YogiHH> yep 20090219 21:25:25< alink> loonybot: int n = 0; int m = n++; 20090219 21:25:30< loonybot> error: undefined reference to `main' 20090219 21:25:55 * alink forgot how this bot worked 20090219 21:25:56< Sirp> YogiHH: post-increment works by performing the increment operation at the same time as extracting the value. It just extracts the old value 20090219 21:26:14< Sirp> YogiHH: if we were to implement increment on an int, this is what it looks like: 20090219 21:26:23< ilor> loonybot: struct A{A operator++(int) {cout << "+";return *this;}}; void f(const A& a){cout << "f";} int main() {A a; f(a++);} 20090219 21:26:24< Shadow_Master> loonybot: { int n = 0; int m = n++; } 20090219 21:26:24< loonybot> +f 20090219 21:26:25< loonybot> 20090219 21:26:33< Sirp> int increment(int& n) { int result = n; ++n; return result; } 20090219 21:26:33< Shadow_Master> loonybot: { int n = 0; int m = n++; std::cerr << m << '\n'; } 20090219 21:26:34< loonybot> 0 20090219 21:26:39< Shadow_Master> alink: ^ 20090219 21:26:49< alink> Shadow_Master: thanks 20090219 21:27:03< YogiHH> Sirp: ack 20090219 21:27:05< Soliton> YogiHH: the post there doesn't mean it happens later. it can't happen later since you have to evaluate the argument before calling the function. 20090219 21:27:13< ilor> YogiHH: if you look at my snipper you'll notice the increment happens before the function call 20090219 21:27:17< ilor> *snippet 20090219 21:27:51< Sirp> YogiHH: and this is exactly why it's recommended to use ++i instead of i++ in cases where you don't look at the result -- because as you can see, the increment() function I just showed you has some additional complexity and thus slowness. 20090219 21:29:21< Sirp> YogiHH: does this make more sense now? 20090219 21:29:34< YogiHH> Soliton, Sirp: so erase(itor++) will not erase the first but the second element at the first loop sequence? 20090219 21:29:53< Sirp> YogiHH: no, it'll erase the first element and make itor refer to the second element. 20090219 21:30:53< YogiHH> Sirp: so it's loop_start -> erase -> itor++? 20090219 21:31:53< Soliton> itor++ means incremeant itor but *return* the value like it was before the increment. 20090219 21:32:16< Soliton> in what order operations happen does not change. 20090219 21:32:25< YogiHH> ah, ok, i think i got it now 20090219 21:32:32< Sirp> YogiHH: no it's loop_start -> call itor++, which will move itor to the second element, but return the first element -> erase giving the return value of itor++ which is the first element. 20090219 21:33:12< Sirp> YogiHH: remember, template T increment(T& t) { T res = t; ++t; return res; } 20090219 21:33:26< Sirp> YogiHH: that is a generic definition of what happens when you go i++ on any object. 20090219 21:33:40-!- cjhopman [n=chris@dyn-0-192.uwnet.wisc.edu] has quit [Connection timed out] 20090219 21:33:49< Sirp> it's the same as calling increment(i); with that function definition. 20090219 21:33:57< YogiHH> mmm, i see 20090219 21:34:21< Sirp> I have to go to lunch 20090219 21:34:22< Sirp> later. 20090219 21:34:25< YogiHH> thanks 20090219 21:34:50< YogiHH> to both of you :-) 20090219 21:34:56-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090219 21:45:51< kitty_> Mordante: uhm, i can't see a single occurence of the number 675 in the wml_message.cfg 20090219 21:47:33 * Shadow_Master neither 20090219 21:52:33< Soliton> kitty_: you need the latest data. Mordante just committed it. 20090219 21:52:56< kitty_> Solition: where? what? how? 20090219 21:53:21< Shadow_Master> svn. 20090219 21:53:44< Shadow_Master> I was of course checking against the 1.5.10 release rather than trunk 20090219 21:53:52< alink> http://svn.gna.org/viewcvs/wesnoth?rev=32924&view=rev 20090219 21:54:27< kitty_> i just replace this file? 20090219 21:54:32< alink> (the change about 650 (or 675 ?) 20090219 21:55:57< alink> in case i am wrong, the history: http://svn.gna.org/viewcvs/wesnoth/trunk/data/gui/default/window/wml_message.cfg 20090219 21:57:23-!- EdB [n=EdB@232.153.82-79.rev.gaoland.net] has quit ["Konversation terminated!"] 20090219 21:59:40< alink> mmh the difference between ++++i and i++++ are a bit confusing :/ 20090219 22:00:38< Soliton> one returns i the other i+2? 20090219 22:01:12< alink> not with operator, i++++ return i+1 20090219 22:01:34< alink> and gcc doesn't allow i++++ on integer 20090219 22:02:25< alink> sorry i++++ return i, and i becomes i+1 20090219 22:02:27< Soliton> oh, yeah. 20090219 22:02:56< kitty_> Mordante: 675 looks good to me. but when the portrait is right aligned there is a bit of space needed between the border and the text. http://imagebin.ca/view/lFLIpdY.html 20090219 22:02:59< Soliton> why is that? 20090219 22:03:27< Shadow_Master> i = 2; then i++ retrieves 2. 20090219 22:03:32< Shadow_Master> 2++ doesn't go anywhere? 20090219 22:03:52< alink> 2++ doesn' t work 20090219 22:04:21< Shadow_Master> loonybot: { int i = 2; i++++; std::cerr << i << '\n'; } 20090219 22:04:21< loonybot> error: lvalue required as increment operand 20090219 22:04:21< loonycyborg> loonybot: { int i; i++++; } 20090219 22:04:21< loonybot> Same error. 20090219 22:04:41< alink> and for iterator i suppose that calling ++ on (i++) increment some other temporary iterator (result value of i++) 20090219 22:04:45< Soliton> right, makes sense. 20090219 22:04:55< alink> ++++i is clearlt better here 20090219 22:05:01< alink> works like expected 20090219 22:05:09< alink> in both case 20090219 22:05:19< cjhopman_> i think that either of them is undefined 20090219 22:05:23< Shadow_Master> loonybot: { int i = 2; ++++i; std::cerr << i << '\n'; } 20090219 22:05:24< loonybot> 4 20090219 22:05:24< loonycyborg> loonybot: { int i; cerr << ++++i; cerr << i; } 20090219 22:05:25< loonybot> warning: 'i' is used uninitialized in this function 20090219 22:05:36< alink> cjhopman_: ah yes maybe compiler specific 20090219 22:05:38< Shadow_Master> loonybot: that's _real_ UD! 20090219 22:05:39< loonybot> error: Unexpected end of request. 20090219 22:05:50< loonycyborg> loonybot: { int i = 0; cerr << ++++i; cerr << i; } 20090219 22:05:50< loonybot> 22 20090219 22:05:51< Shadow_Master> using an uninitialized value :-) 20090219 22:05:54< Mordante> alink I think ++++i and i++++ are UB 20090219 22:05:59< cjhopman_> something like you can't change a variable twice between sequence points 20090219 22:06:00< Shadow_Master> s/UD/UB/ 20090219 22:06:22< Mordante> twice modifing the same variable between sequence points 20090219 22:06:50< alink> ah thanks good to know that i must not trust my personal compiler 20090219 22:07:14< Mordante> well UB might cause some compilers to do what you expect 20090219 22:07:34< Mordante> other compilers might eat your harddisk instead ;-) 20090219 22:07:46< alink> yeah i mean for understanding c++ :) 20090219 22:09:06< cjhopman_> loonycyborg: you here? 20090219 22:09:10< Mordante> kitty_ nice to know that the current width is good :-) how much pixels between the border? 10? 20090219 22:09:17< loonycyborg> cjhopman_: Yes. 20090219 22:09:40< cjhopman_> so, in the logs i saw you mention that you can't change operator precedence in c++ 20090219 22:09:44< cjhopman_> and it got me thinking 20090219 22:09:46< cjhopman_> could you? 20090219 22:09:51< kitty_> Mordante: how would 10 look? :P 20090219 22:09:51< cjhopman_> answer: you can 20090219 22:10:03< loonycyborg> By hacking g++? :P 20090219 22:10:05< cjhopman_> nope 20090219 22:10:07< cjhopman_> template 20090219 22:10:08< cjhopman_> s 20090219 22:10:26< Mordante> kitty_ good of course :-P 20090219 22:10:27< ilor> cjhopman_: and how would that work? 20090219 22:10:42< loonycyborg> Some expression template trickery? 20090219 22:10:59< cjhopman_> yep 20090219 22:11:00< cjhopman_> http://wesnoth.pastebin.com/m42df95dc 20090219 22:11:24< cjhopman_> was a pain to write, that's for sure 20090219 22:11:27< kitty_> Mordante: you can't just try that easily and quickly and post a screenshot? is it complicated? 20090219 22:11:56< Mordante> I'm working on that as I type 20090219 22:12:06< kitty_> :) 20090219 22:12:10< alink> wesbot: log 32926 20090219 22:12:11< wesbot> alink * r32926 : remove an usage of ++++i, maybe not fully standard. 20090219 22:12:14< wesbot> URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=32926 20090219 22:12:16< alink> :o) 20090219 22:12:23< CIA-70> alink * r32926 /trunk/src/help.cpp: remove an usage of ++++i, maybe not fully standard. 20090219 22:12:32< ilor> cjhopman_: http://codepad.org/W8JVqJ3b 20090219 22:12:58< loonycyborg> cjhopman_: http://www.boost.org/doc/libs/1_38_0/doc/html/proto.html :P 20090219 22:13:06< alink> btw that was the only ++++ in wesnoth's code 20090219 22:13:20< alink> (probably written by me :-/ ) 20090219 22:13:26< loonycyborg> Not sure whether that thing can change precedence too.. 20090219 22:14:00< CIA-70> esr * r32927 /trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/ (27 files): 20090219 22:14:00< CIA-70> Address bug #12996 (TRoW needs undead flags), also adding loyalist and 20090219 22:14:00< CIA-70> knalgan flag variants where appropriate. 20090219 22:14:03< ilor> cjhopman_: no matter what you do, in a "a + b * c", b.operator*(c) will get called first 20090219 22:14:16-!- Dragonking [n=dk@dedikerad/dragonking] has quit [] 20090219 22:14:27< cjhopman_> ilor, true 20090219 22:14:42< ilor> and that is what is generally meant by operator precedence ;) 20090219 22:14:53< cjhopman_> yes i know 20090219 22:15:26< Shadow_Master> ----a 20090219 22:15:46< Mordante> alink I also think the new version looks clearer as the extra +'es or -'es 20090219 22:15:55< Mordante> kitty_ http://imagebin.org/38827 20090219 22:16:25< alink> Mordante: yes probably 20090219 22:17:00< Shadow_Master> you know, that portrait is awesome 20090219 22:17:08< ilor> Mordante: BTW, the textbox could use some sort of border if it's cutting off text (has a scrollbar), text suddenly disappearing doesn't look good imo 20090219 22:17:59< kitty_> yeeah, 10 is nice. is the scrollbar field final? 20090219 22:18:04< alink> Mordante: but all this ulgyness come from one sequence containing an alternance of two different type of data. bad design 20090219 22:18:50< kitty_> yes, like ilor said, some kind of border or field below the text would be clearer. 20090219 22:19:08< alink> (not mine, btw) 20090219 22:19:38< Mordante> kitty_ what do you mean with "is the scrollbar field final?" 20090219 22:19:53< kitty_> does it look like you want it to look like? 20090219 22:20:51< ilor> kitty_: I'd assume replacing the images is a very simple matter if that's what you don't like 20090219 22:21:35-!- AndreLuiz [n=AndreLui@189.71.27.249] has quit [Connection timed out] 20090219 22:21:42< kitty_> ilor: replacing which image? i meant a border around the textfield. or the background of the textfield slightly darker or something like that. 20090219 22:22:07< Mordante> kitty_ no but the scrollbar stuff is not really stable working yet, once it is I want to ask freim to make some better fitting widget images 20090219 22:22:07< ilor> I thought you were asking about the scrollbar only ;) 20090219 22:22:47< Mordante> I prefer to change the background colour of the label so I can also do that if there's no scrollbar 20090219 22:22:53< Mordante> and I think a border would look silly 20090219 22:23:00< kitty_> Mordante ok, i look forward to seeing the final ones! will it be done till 1.6? 20090219 22:23:22< Mordante> it should, I don't want to ship ugly things for a stable release 20090219 22:24:01< Mordante> also the background of the option list is quite ugly 20090219 22:24:25< esr> Hi, Kitty. Up for making something artistically unusual? If so, I have a request for you to think about. 20090219 22:25:24< kitty_> esr: hmm, i'm right now working on the sylph, then one last one for IftU and then i have plans for generic mainline stuff... you have to have something *very* interesting! 20090219 22:25:50< esr> Read this (it's short): http://esr.ibiblio.org/?p=666 20090219 22:27:09< esr> I need an image for the tomb guardian. I have an idea what it should maybe look like, but I want to kick it ariund with you and/or Jetrel a bit because it would be outside the usual style for this game. 20090219 22:27:18< kitty_> sounds interesting! it's for delfador's memoires? i don't want to work on that campaign, wesmere was less than enjoyable. sorry. 20090219 22:27:50< alink> Mordante: about these background images in dialog, i noticed that you streched them instead of repeating (as i think the old UI did). In that case using an 1x1 image might be faster to scale than a 100x100 (much less memory to read) 20090219 22:28:11< esr> Oh? You mean doing the art for it was unpleasant? 20090219 22:28:23< kitty_> yep. 20090219 22:28:41< Shadow_Master> or the campaign itself... 20090219 22:28:58< esr> I'm sorry about that. Can you explain why in any way that would help avoid future unpleasantness? 20090219 22:29:04< Mordante> alink true, but I want to use the same image as the current one so will look at that after the current gui has been phased out 20090219 22:29:19< alink> Mordante: ok 20090219 22:29:43< alink> seems a good idea indeed, only a set of images to maintain 20090219 22:29:53< Mordante> Shadow_Master, ilor, zookeeper r32924 could you test whether it makes the dialogs slower? 20090219 22:30:12< kitty_> esr: it had much to do with lack of communication and planning with santi. very chaotic and demanding. i know he is gone now, but still. 20090219 22:30:19< zookeeper> Mordante, sure, as soon as i can.. 20090219 22:30:49< esr> kitty_: Well, DM Is fendrin and me. I think you'd find us more responsible. 20090219 22:30:57-!- stikonas [n=and@ctv-213-164-126-243.vinita.lt] has quit [Read error: 104 (Connection reset by peer)] 20090219 22:31:57< Shadow_Master> busy 20090219 22:32:21< ilor> Mordante: I'll test, bulding a revision just before that so I have a clear reference 20090219 22:32:23< kitty_> esr: as is said, if it's really interesting perhaps one portrait, but i really want to work on generic mainline again. if i don't start that soon, everything will be done by the guys :P (which is great) 20090219 22:32:24< esr> kitty_: The unusual idea for you to think about: when I visualize the tomb guardian, it's as a sort of floating death-mask, shimmering electric blue, with an expression of inhuman serenity. 20090219 22:32:51< Mordante> Shadow_Master no need to do it directly 20090219 22:33:01< Mordante> zookeeper thanks 20090219 22:33:03< Mordante> ok ilor 20090219 22:33:40< esr> (An d yes, one portrait. No need for sprites here.) 20090219 22:34:09< kitty_> esr: ok, i add it to my list 20090219 22:35:00< esr> kitty_: I'm glad you found that sufficiently interesting :-) 20090219 22:35:54< kitty_> esr: or perhaps ask captain swing - he does some very nice ghost sketches at the moment? i could colour his lines if he was willing. 20090219 22:36:52< esr> esr: I don;t know "captain swing", is that a forum name? 20090219 22:36:58< Shadow_Master> esr: yes 20090219 22:37:02< Shadow_Master> (of course!) 20090219 22:37:05< esr> Noted. 20090219 22:37:22< kitty_> yes strange name but good new sketch artist 20090219 22:37:39< CIA-70> mordante * r32928 /trunk/data/gui/default/window/wml_message.cfg: 20090219 22:37:39< CIA-70> Add some space for right side messages. 20090219 22:37:39< CIA-70> Discussed with Kitty and 10 pixels space looks much better. 20090219 22:40:20< thespaceinvader> esr: http://www.wesnoth.org/forum/viewtopic.php?f=9&t=23778&start=75 from there on 20090219 22:40:49< kitty_> Mordante: and if the unit has no portrait and only the sprite is shown, it looks a bit lost at the bottom edge. could it displayed in the middle of the height of the dialogue? 20090219 22:41:25< Mordante> kitty_ no :-( the current engine doesn't really support it but it's on my list 20090219 22:41:39< kitty_> ok, just wanted to ask 20090219 22:41:43< Mordante> the easy solution of course is to have portraits for all units :-P 20090219 22:42:08< kitty_> on which we work ;) but there will always be umc stuff... 20090219 22:42:24< Mordante> I hope to get around it before 1.6 but fear I won't manage 20090219 22:42:54< Mordante> I know ;-) 20090219 22:44:42< zookeeper> we'll just delay 1.6 for you then ;) 20090219 22:45:58< alink> well you can still create a centered portrait from an unit by adding some transparent padding with Gimp ;p 20090219 22:45:59< Mordante> well in that case we I have a whole list of items :-P 20090219 22:46:24< alink> but that's hackish 20090219 22:46:37< Shadow_Master> alink: um... 20090219 22:47:16< Shadow_Master> reminds me of Jetrel's request for the ~CROP() functor to be able to "resize the canvas" 20090219 22:47:18< Mordante> alink you only don't know the height of the hack 20090219 22:47:22< Shadow_Master> I won't get to ituntil 1.7.x 20090219 22:47:56< Mordante> the problem the height and thus vertical centre is unknown to that part of the engine 20090219 22:48:31< Shadow_Master> something you didn't consider when designing it? 20090219 22:49:04< Mordante> no since normally you don't care about it 20090219 22:49:15< alink> i see. Well hack are bad anyway, and having various copies of the same image is also bad for memory 20090219 22:51:27< Mordante> I've some ideas how to do it, but it might get ugly 20090219 22:51:56< Mordante> the main problem is that the portraits are not on the panel but a background image 20090219 22:52:22< Shadow_Master> Mordante: what is the function for rescaling those portraits btw? 20090219 22:52:32< Shadow_Master> is it in sdl_utils.hpp? scale_image()? 20090219 22:52:46< Shadow_Master> *_surface 20090219 22:52:52< Mordante> so I could test for size < 100 and put it on the panel, where it could get centre and if not leave it where it is 20090219 22:53:01< Mordante> but it might open some other cans of worms 20090219 22:54:18< Mordante> Shadow_Master have a look at gui/widgets/canvas.cpp:657 20090219 22:54:40< Mordante> portraits use scale_surface() but I've other options 20090219 22:55:05< Shadow_Master> ah, then there are no surprises. 20090219 22:56:00< Mordante> ? 20090219 22:56:01< Shadow_Master> Mordante: kitty_ complained about the appearance of portraits after applying ~SCALE(205,205) on them . it uses scale_surface(). 20090219 22:56:33< Mordante> ah ok, well I indeed also use that 20090219 22:56:50< Shadow_Master> she said that e.g. Kalenz' hair looked pixelated at that scale 20090219 22:57:43< Shadow_Master> of course, you'd need to hack some WML to get a test case. I'm not in the mood to craft one for you right now. 20090219 23:00:34-!- Elvish_Pillage2 [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090219 23:00:55< alink> anyone how scale_surface_blended is different, seems only used for the tiles in minimap ? 20090219 23:03:52-!- Elvish_Pillager [n=eli@66-189-14-42.dhcp.oxfr.ma.charter.com] has quit [Read error: 60 (Operation timed out)] 20090219 23:03:52< ilor> Mordante: can't see much of a speed difference 20090219 23:03:58< Mordante> no 20090219 23:04:08< ilor> Mordante: which, I assume, is good ;) 20090219 23:04:12< Mordante> ilor ok thanks 20090219 23:04:34< Mordante> well it makes finding the cause of the slowdown harder, it might be pango as well 20090219 23:05:16-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20090219 23:09:10< Mordante> night 20090219 23:09:27-!- Mordante [n=chatzill@roadie.xs4all.nl] has quit ["ChatZilla 0.9.84 [Iceweasel 3.0.6/2009020409]"] 20090219 23:09:38< Shadow_Master> 4poor Mordanet ;-) 20090219 23:14:52< Sirp> alink: iirc, scale_surface_blended uses a more sophisticated algorithm than nearest neighbor to do nicer scaling 20090219 23:15:06< Sirp> nearest neighbor would be kinda ugly for the minimap 20090219 23:18:39< Shadow_Master> I wonder how it would look applied to a portrait 20090219 23:18:46< Shadow_Master> will test after a game 20090219 23:19:47-!- Baufo [n=thomas@62-47-144-139.adsl.highway.telekom.at] has quit [Remote closed the connection] 20090219 23:21:51< nital> if I've written a patch that produces segfault in a really obscure situation (one would have to try to hide all fighting sides from displaying in status table) and then wrote a second, corrected one, that produces a nice message instead, should I post both of them to patches.wesnoth.org? Or don't bother and just the second one? 20090219 23:22:27< nital> (i'm asking because I had to introduce a new variable in the second one and I don't know how is it seen here) 20090219 23:23:21< nital> https://gna.org/bugs/index.php?12814 20090219 23:23:34< nital> that's the FR I've written patch for 20090219 23:31:07-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has quit [Remote closed the connection] 20090219 23:37:33-!- boucman [n=rosen@140.117.71-86.rev.gaoland.net] has joined #wesnoth-dev 20090219 23:38:26< zookeeper> boucman, interesting glitch: if there's an [item] image= in water, and i move a unit on it, the item will be drawn behind the above-water part of the unit, but in front of the submerged part of the unit. in some ways it makes sense though, so i'm not sure if it should be fixed or not. 20090219 23:39:01< zookeeper> argh, silly me. 20090219 23:39:25< zookeeper> i didn't realize that it's probably simply because the submerging is done by just drawing that part of the unit semi-transparent.. 20090219 23:39:48< zookeeper> so it's technically not getting drawn in front of the submerged part of the unit. 20090219 23:40:10< Soliton> nital: well, just post the second patch. what would the first one be good for? 20090219 23:40:20< boucman> zookeeper: hmm 20090219 23:40:51< boucman> we need a way to specify what layer to draw [item] on or force item to be drawn over all units 20090219 23:41:08< boucman> please write a FR and assign to me, it should be trivial to do 20090219 23:41:16< nital> Soliton: I did so, thanks :) 20090219 23:41:26< boucman> or rather a bug, the behind submerge is definitely a bug 20090219 23:41:35-!- yann [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Remote closed the connection] 20090219 23:43:25< zookeeper> right 20090219 23:46:35-!- cjhopman_ [n=chris@wireless33.cs.wisc.edu] has quit [Read error: 110 (Connection timed out)] 20090219 23:57:04-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has quit [] --- Log closed Fri Feb 20 00:00:43 2009