--- Log opened Sun Apr 05 00:00:11 2009 20090405 00:00:19< Sapient> ok, Crab_ what does this do? >> if (!*this || !cfg) 20090405 00:00:32< Sapient> that's from config::check_valid(const config &cfg) const 20090405 00:01:08< Sapient> the description in the header is "Raises an exception if this of @a cfg is not valid." 20090405 00:01:19< Sapient> which I'm pretty sure is not proper english 20090405 00:01:19-!- grantwu [n=Zenneth@westquad-147025.reshall.umich.edu] has joined #wesnoth-dev 20090405 00:01:40< Polarina> !*this is erroneous. 20090405 00:01:42-!- grantwu [n=Zenneth@westquad-147025.reshall.umich.edu] has left #wesnoth-dev [] 20090405 00:01:56< Crab_> operator! for config means 'is this config not valid?' 20090405 00:01:58-!- alink_ [n=alink@78.129.18.215] has joined #wesnoth-dev 20090405 00:02:07< Sapient> that's what I'm asking you 20090405 00:02:09< Ivanovic> time for me to get some sleep, n8 20090405 00:02:42< loonycyborg> Why? It's just operator!() applied to object pointed to by this. 20090405 00:02:46-!- alink [n=alink@wesnoth/developer/alink] has quit [Read error: 110 (Connection timed out)] 20090405 00:02:50< Ivanovic> @all SoC applicants: please make sure to leave public comments after changes initiated by a comment from us so that we don't miss the changes 20090405 00:03:02< Crab_> Ivanovic: ok 20090405 00:03:05< Reisiger> Good night everyone :) 20090405 00:03:12< Crab_> Sapient: well, since silene replaced pointers with references in a few places, he needed a way to return a "not valid config object", and a way to check for this... 20090405 00:03:24-!- Reisiger [n=Reisiger@adsl-89-217-133-104.adslplus.ch] has quit ["Trillian (http://www.ceruleanstudios.com"] 20090405 00:03:31< Ivanovic> (the same for changes "in general", make sure that we recognize updates/changes by using public comments!) 20090405 00:03:31< Sapient> loonycyborg: ok, I wasn't aware we were overloading operator! for config objects now 20090405 00:04:18< Sapient> so if I want to assert that a config is valid, I would write: assert(!!cfg); 20090405 00:04:30< Polarina> !*this is still the wrong way to accomplish anything. 20090405 00:04:34< Polarina> In my opinion. 20090405 00:04:48< Sapient> Polarina: your opinion has been noted 20090405 00:05:02< Polarina> Sapient: Thank you. 20090405 00:05:40< Polarina> I would prefer this->operator!() or however it's done (I don't remember the syntax)... 20090405 00:05:58< ilor> oh yeah that's way more convenient 20090405 00:06:03< Sapient> lol 20090405 00:06:03< ilor> -_- 20090405 00:06:52< Sapient> while it does appear confusing at first, once you know that config is overloading operator!, I guess it is kind of convenient 20090405 00:09:12-!- wesbot changed the topic of #wesnoth-dev to: 1.6.1 planned for Sunday | Summer of Code info: http://www.wesnoth.org/wiki/SummerOfCodeIdeas | 51 bugs, 232 feature requests, 8 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090405 00:09:23< Polarina> One shouldn't expect anyone to have all the API memorized. 20090405 00:09:30-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090405 00:10:16-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 00:10:25-!- lizard_r [n=MirandaM@Wa052.w.pppool.de] has quit ["I'm gone, but the Saurians will last."] 20090405 00:10:57 * Polarina goes back to translating. 20090405 00:11:16< loonycyborg> Actually, config class doesn't have operator! overloaded. It uses safebool idiom. 20090405 00:11:54 * loonycyborg should have looked at the code before suggesting the use of idiom that it already uses :P 20090405 00:12:42< Crab_> Sapient: well, I guess that if (!*this || !cfg) is a stub code for function check_valid(const config &cfg) which answers the question : "is config B valid from-the-point-of-view of config A ?" (this is important for assignment or partial assignment of some of the childs, etc.) 20090405 00:12:50-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090405 00:13:09-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090405 00:16:39< loonycyborg> Sapient: If you want to check config objects for validity without try/catch blocks, just use them in boolean context. 20090405 00:16:50< loonycyborg> if(cfg) {... 20090405 00:16:53< Sapient> yeah, I see that now. thanks 20090405 00:18:27-!- crimson_pingvin [n=ben@64.201.60.216] has joined #wesnoth-dev 20090405 00:18:38-!- velory [n=velory@85.104.150.213] has quit [] 20090405 00:19:08-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit [Nick collision from services.] 20090405 00:19:10-!- crimson_pingvin is now known as crimson_penguin 20090405 00:21:14-!- Velory [n=GProcess@85.104.150.213] has joined #wesnoth-dev 20090405 00:29:07< CIA-30> crimson_penguin * r34505 /branches/1.6/data/core/hotkeys.cfg: Disabled quit hotkey on Mac, so it doesn't overlap with the Mac menu command. Fixes bug #13245. 20090405 00:29:16-!- Gauteamus [n=chatzill@203.81-166-237.customer.lyse.net] has quit ["ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"] 20090405 00:30:00-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20090405 00:40:24< Velory> gnite 20090405 00:40:33< Sapient> gn, Velory 20090405 00:40:34-!- Velory [n=GProcess@85.104.150.213] has quit ["Leaving."] 20090405 00:41:48-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20090405 00:52:13-!- Espreon [n=chatzill@wesnoth/developer/espreon] has quit [Read error: 110 (Connection timed out)] 20090405 01:00:24< Crab_> night 20090405 01:00:33-!- Crab_ [n=crab_@c.218.175.a530.sta.adsl.cyfra.net] has quit ["Leaving."] 20090405 01:08:21-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has joined #wesnoth-dev 20090405 01:08:26< Polarina> I am off to bed too. Good night. 20090405 01:10:50< Sapient> gn, Polarina 20090405 01:11:18-!- Dragonking [n=dk@wesnoth/developer/dragonking] has quit [] 20090405 01:12:06 * Polarina has translated tons of words today. :) 20090405 01:19:41< Sapient> cya later, have fun. 20090405 01:19:41-!- Sapient [n=sapien-x@wesnoth/developer/sapient] has left #wesnoth-dev [] 20090405 01:26:57-!- DDR [n=chatzill@66.183.125.196] has quit [Remote closed the connection] 20090405 01:27:55-!- cjhopman [n=chris@wesnoth/developer/cjhopman] has quit [Read error: 110 (Connection timed out)] 20090405 01:28:01< Shadow_Master> someone touched storyscreen/ ? 20090405 01:29:00< Shadow_Master> I hope whoever it was, had a good reason for it. I've got two conflicted file 20090405 01:29:32< Shadow_Master> mordante, damnit 20090405 01:29:45< Polarina> Conflicts are win! :D 20090405 01:31:00< Shadow_Master> Mordante: can you once for all publish your own list of "code formatting rules" instead of touching all code every one in a while? 20090405 01:31:32-!- molgrum [n=molgrum@c83-249-53-163.bredband.comhem.se] has quit ["Lämnar"] 20090405 01:33:37< Shadow_Master> *once 20090405 01:33:48-!- cjhopman [n=chris@wesnoth/developer/cjhopman] has joined #wesnoth-dev 20090405 01:36:53-!- boucman [n=rosen@wesnoth/developer/boucman] has quit [Remote closed the connection] 20090405 01:43:06-!- alink_ [n=alink@78.129.18.215] has quit [Read error: 104 (Connection reset by peer)] 20090405 01:47:02< CIA-30> shadowmaster * r34506 /trunk/src/ (game_events.cpp game_events.hpp): Expose the [wml_message] code for usage elsewhere than EventWML. 20090405 01:47:16 * Shadow_Master . O o (hopefully g++ also has warning/error flags for code formatting, andd that's what Mordante is using?) 20090405 01:47:23< CIA-30> shadowmaster * r34507 /trunk/src/ (game_events.cpp game_events.hpp): Expose the [deprecated_message] code for use elsewhere than EventWML. 20090405 01:47:44< CIA-30> shadowmaster * r34508 /trunk/src/storyscreen/ (controller.cpp controller.hpp page.cpp page.hpp): 20090405 01:47:44< CIA-30> Progress in new storyscreen code: 20090405 01:47:44< CIA-30> * StoryWML should handle [if], [switch], [deprecated_message], [wml_message], [part] and [page] correctly now. 20090405 01:47:44< CIA-30> * StoryWML::PageWML should handle [if], [switch], [deprecated_message], [wml_message] and possible page property overrides in [if] and [switch] cases correctly now. 20090405 01:47:48< CIA-30> * Started to write rendering components - now floating_image can create a set of parameters for rendering itself. 20090405 01:48:01< CIA-30> shadowmaster * r34509 /trunk/src/ (5 files in 2 dirs): Add stub files for the storyscreen rendering code. 20090405 01:48:21< CIA-30> shadowmaster * r34510 /trunk/src/storyscreen/page.hpp: Fix an "incomplete type" compiler error. 20090405 01:48:37< CIA-30> shadowmaster * r34511 /trunk/src/storyscreen/ (controller.cpp interface.cpp): Wire-in a call to storyscreen::controller::show_all_pages() . 20090405 01:48:50< CIA-30> shadowmaster * r34512 /trunk/src/storyscreen/page.hpp: Add a property getter. 20090405 01:50:06< Shadow_Master> Turuk: around? 20090405 01:50:23-!- Polarina [n=polarina@wesnoth/translator/Polarina] has quit ["Leaving."] 20090405 01:51:03< CIA-30> loonycyborg * r34513 /trunk/src/server/server.cpp: Fixed compile error when forum_user_handler is enabled. 20090405 01:56:52-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090405 01:58:12< Shadow_Master> Turuk: you are around. 20090405 01:58:53< Turuk> Yes, but leaving, leave it in the logs please. 20090405 01:59:49< Shadow_Master> well, bye. I cannot really mention it in a public channel, now that I think of it 20090405 02:00:38-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzz"] 20090405 02:01:16-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20090405 02:05:37-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection] 20090405 02:07:48-!- letto [n=letto@86.120.66.236] has quit [Remote closed the connection] 20090405 02:12:53-!- KingofCamelot [n=davidsan@ip98-182-16-78.sb.sd.cox.net] has joined #wesnoth-dev 20090405 02:13:07-!- KingofCamelot [n=davidsan@ip98-182-16-78.sb.sd.cox.net] has quit [Client Quit] 20090405 02:16:08-!- KingofCamelot [n=davidsan@ip98-182-16-78.sb.sd.cox.net] has joined #wesnoth-dev 20090405 02:16:23-!- KingofCamelot [n=davidsan@ip98-182-16-78.sb.sd.cox.net] has left #wesnoth-dev [] 20090405 02:18:02-!- jmunro is now known as jmunro[a] 20090405 02:18:16< ilor> hmm, I wonder if I should do a run-down of my commits in the gsoc app like dragonking did 20090405 02:25:16< ilor> night 20090405 02:27:08-!- ilor [n=user@wesnoth/developer/ilor] has quit [] 20090405 02:32:45-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090405 02:37:21-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has quit [] 20090405 02:40:54-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 02:41:31-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has quit ["ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"] 20090405 02:50:06-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit ["Hi! I'm a quit message virus vaccine. If you see a quit message virus, don't replace your quit message with it!"] 20090405 02:50:40-!- cyber_11 [n=muratcan@78.168.114.107] has joined #wesnoth-dev 20090405 03:05:13< CIA-30> jetryl * r34514 /branches/resources/story_images/ (7 files): Added PNG versions of kitty's story images. 20090405 03:36:17-!- DDR [n=chatzill@66.183.125.196] has joined #wesnoth-dev 20090405 03:59:50-!- cyber_11 [n=muratcan@78.168.114.107] has quit [] 20090405 04:01:02-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has quit [Remote closed the connection] 20090405 04:08:09-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has joined #wesnoth-dev 20090405 04:11:14-!- Ivanovic_ [n=ivanovic@dtmd-4db2c3cb.pool.einsundeins.de] has joined #wesnoth-dev 20090405 04:14:37< Shadow_Master> esr: remember your story screen FR? 20090405 04:15:36< CIA-30> shadowmaster * r34515 /trunk/src/storyscreen/ (7 files): 20090405 04:15:36< CIA-30> Finish refactoring of storyscreen code. 20090405 04:15:36< CIA-30> There are new bugs that must be fixed, thus this code is still disabled 20090405 04:15:36< CIA-30> unless the --shadowm-storyscreen switch is used. 20090405 04:15:46< CIA-30> shadowmaster * r34516 /trunk/src/storyscreen/render.cpp: 20090405 04:15:46< CIA-30> The code that sets the playing music track appropriately got lost. 20090405 04:15:46< CIA-30> Fixed that. 20090405 04:16:01< CIA-30> shadowmaster * r34517 /trunk/src/storyscreen/page.cpp: 20090405 04:16:01< CIA-30> Set appropriate default parameters for the storyscreen::page 20090405 04:16:01< CIA-30> constructor, thus fixing a regression with background scaling. 20090405 04:16:17< CIA-30> shadowmaster * r34518 /trunk/src/storyscreen/ (6 files): Doxygen. 20090405 04:18:25-!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20090405 04:19:04< CIA-30> shadowmaster * r34519 /trunk/src/storyscreen/ (controller.hpp interface.cpp interface.hpp): Update copyright notices. 20090405 04:23:24-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20090405 04:25:24-!- turin [n=turin@168.215.250.1] has joined #wesnoth-dev 20090405 04:27:14-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)] 20090405 04:29:12-!- Ivanovic_ is now known as Ivanovic 20090405 04:42:59< Shadow_Master> if esr notices 34515, tell him it isn't finished, so that he doesn't mark the FR as fixed or start changing the mainline WML to take advantage if it 20090405 04:43:25< Shadow_Master> while I'm sleeping. 20090405 04:45:32-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 04:48:42-!- Sirp [n=me@wesnoth/developer/dave] has joined #wesnoth-dev 20090405 04:52:53-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090405 05:00:24< CIA-30> shadowmaster * r34520 /trunk/src/ (8 files in 2 dirs): Set correct svn properties on some new source code files. 20090405 05:01:20-!- Ambushsabre [n=ambushsa@c-75-67-216-121.hsd1.nh.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090405 06:00:18-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 06:08:19-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090405 06:09:12-!- wesbot changed the topic of #wesnoth-dev to: 1.6.1 planned for Sunday | Summer of Code info: http://www.wesnoth.org/wiki/SummerOfCodeIdeas | 50 bugs, 232 feature requests, 8 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090405 06:12:46-!- ikarius [n=ross@c-98-207-225-178.hsd1.ca.comcast.net] has quit [] 20090405 06:13:48-!- nerwa [n=nerwa@59.78.26.75] has joined #wesnoth-dev 20090405 06:36:18-!- KingofCamelot [n=davidsan@ip98-182-16-78.sb.sd.cox.net] has joined #wesnoth-dev 20090405 06:37:06-!- KingofCamelot [n=davidsan@ip98-182-16-78.sb.sd.cox.net] has left #wesnoth-dev [] 20090405 06:48:12-!- ikarius [n=ross@c-98-207-225-178.hsd1.ca.comcast.net] has joined #wesnoth-dev 20090405 06:48:33-!- ikarius [n=ross@c-98-207-225-178.hsd1.ca.comcast.net] has quit [Client Quit] 20090405 07:07:02-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit ["Leaving"] 20090405 07:17:15< esr> fendrin: still there? 20090405 07:18:46-!- gabm [n=gabriel@72.0.215.2] has joined #wesnoth-dev 20090405 07:20:11-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev 20090405 07:41:32-!- Sirp [n=me@wesnoth/developer/dave] has quit ["leaving"] 20090405 07:53:03-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090405 07:53:27-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 07:58:24-!- gabm [n=gabriel@72.0.215.2] has left #wesnoth-dev [] 20090405 08:15:31-!- [Relic] [n=[Relic]@adsl-76-229-202-137.dsl.milwwi.sbcglobal.net] has quit ["Leaving"] 20090405 08:45:47-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090405 08:46:49-!- turin [n=turin@168.215.250.1] has quit [Read error: 110 (Connection timed out)] 20090405 08:55:00< CIA-30> soliton * r34521 /branches/1.6/src/server/game.cpp: also save the game title 20090405 08:55:22< CIA-30> soliton * r34522 /trunk/src/server/game.cpp: also save the game title 20090405 08:59:00-!- silene [n=plouf@ASte-Genev-Bois-152-1-69-12.w86-198.abo.wanadoo.fr] has joined #wesnoth-dev 20090405 08:59:49< silene> hi 20090405 09:01:28< Espreon> Hello silene. 20090405 09:08:43-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090405 09:10:06< silene> Sapient: "this of cfg" is obviously a typo, it should have read "or"; but i didn't feel like having everyone compile wesnoth entirely again because of a single letter, so for now it's "of" 20090405 09:11:22-!- DDR [n=chatzill@66.183.125.196] has quit ["ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"] 20090405 09:11:41< silene> Sapient: as for assertions, you don't have to do "assert(!!cfg)", just do assert(cfg); the config class doesn't overload operator! (what for?) so both assertions are equivalent 20090405 09:16:04-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 09:19:33-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20090405 10:00:42-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 10:06:25-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090405 10:07:46-!- Gauteamus [n=chatzill@203.81-166-237.customer.lyse.net] has joined #wesnoth-dev 20090405 10:07:52-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Success] 20090405 10:12:27-!- Dragonking [n=dk@wesnoth/developer/dragonking] has joined #wesnoth-dev 20090405 10:13:56-!- loonybot [n=loonybot@79.139.246.137] has joined #wesnoth-dev 20090405 10:15:08-!- loonycyborg [n=sergey@79.139.246.137] has joined #wesnoth-dev 20090405 10:26:13-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection reset by peer] 20090405 10:26:28-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 10:26:44-!- Baufo [n=thomas@wesnoth/developer/baufo] has joined #wesnoth-dev 20090405 10:46:02-!- Velory [n=GProcess@88.224.196.144] has joined #wesnoth-dev 20090405 10:46:21< Velory> Hi everyoen 20090405 10:47:13< Espreon> Hello Velory. 20090405 10:48:52-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20090405 10:54:49-!- mordante [n=mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20090405 10:55:18< mordante> morning 20090405 11:02:33-!- oak_ [i=oakus@c02--112b.kn.vutbr.cz] has joined #wesnoth-dev 20090405 11:06:05-!- Reisiger [n=Reisiger@adsl-84-226-16-20.adslplus.ch] has joined #wesnoth-dev 20090405 11:09:30< Espreon> Hello mordante. 20090405 11:09:38< mordante> hi Espreon 20090405 11:09:47< Reisiger> Good morning :) 20090405 11:09:52< mordante> hi Reisiger 20090405 11:10:31< mordante> Shadow_Master, I just remove trailing whitespace every now and then since some editors(MSVC) do this automatically which make reviewing those patches annoying 20090405 11:11:44< mordante> I've seen several patches with a lot of hunk, where only a few or one were an actual change 20090405 11:12:35< Reisiger> mordante: does this happen whenever MSVC changes a file, or only near lines edited? 20090405 11:13:22< mordante> I don't use MSVC but from what I've seen I guess that it strips the whitespace in the entire file upon saving 20090405 11:13:47< Smar> nice colors... should I be able to read that too? 20090405 11:14:03< mordante> Smar, ? 20090405 11:14:07< Reisiger> mordante: Wouldn't that be prefered behaviour? 20090405 11:14:47< mordante> Reisiger, not all editor do that, so I strip them every now and then in one commit 20090405 11:16:21< Smar> that Reisiger’s lines 20090405 11:16:25< Smar> I don’t see a bit 20090405 11:16:36< Smar> well, I’d see, but not on other display... 20090405 11:16:42< Smar> black on black, you see. 20090405 11:17:21< silene> mordante: wouldn't it be better to install a pre-commit svn script that prevents commits with spaces at eol? 20090405 11:18:09< Reisiger> Odd... I use Trillian to connect to IRC, but I haven't changed any color settings as far as I remember 20090405 11:18:10< mordante> silene, yes, but no idea whether we can install it on the server 20090405 11:18:57< Smar> it’s those dummy hilights. 20090405 11:19:10< Reisiger> And now? 20090405 11:19:16< Smar> try. 20090405 11:19:17< silene> mordante: gna doesn't allow us to directly modify the scripts, but if the owner of a project posts a request, they take case of it 20090405 11:19:25< silene> care* 20090405 11:19:54< silene> (that is, they want to review and apply the changes) 20090405 11:20:09< mordante> which makes sense 20090405 11:20:14< Reisiger> Smar: Better now? 20090405 11:20:21< Smar> doesn’t work. 20090405 11:20:57< Reisiger> Strange... 20090405 11:21:06< Smar> now that’s even worse... 20090405 11:21:24< Smar> black on white, as normal text :D 20090405 11:21:45 * Reisiger strangles Trillian's IRC plug-in 20090405 11:21:46< fendrin> esr: here again 20090405 11:22:12< Smar> doesn’t it have option to just remove all colorings? 20090405 11:22:29< mordante> silene, do you have such a script? Then we can ask Ivanovic to get it installed 20090405 11:22:32< Reisiger> It has... but for some [CENSORED] reason it doesn't keep the settings 20090405 11:22:43< Smar> yatta. 20090405 11:22:52< Velory> boucman: around? 20090405 11:22:57< Smar> I suggest trying irssi or some decent client... 20090405 11:23:04< Reisiger> I'll go get mIRC :-/ 20090405 11:23:20 * Reisiger shoots the plug-in 20090405 11:23:36< Ivanovic> moin 20090405 11:23:45-!- Reisiger [n=Reisiger@adsl-84-226-16-20.adslplus.ch] has quit ["Trillian (http://www.ceruleanstudios.com"] 20090405 11:23:54< mordante> hi Ivanovic 20090405 11:26:51< Velory> boucman: i just saw comments about patch at /04/03/2009 /04/04/2009 ,, so yes i did look what Crab_ say about waiting like 15 minute. But, my midterms started and i didnt have a time to reproduce in different scenario. I could try only my scenario but it isnt waited like Crab saying . Also i wanted from Crab to test in my tests-cenario without formula_arena with 15+ units for see if formula waiting too. However, in your last comment i dont get it 20090405 11:31:16< Velory> s/I could try only my scenario/I could try only my scenario with +15 units 20090405 11:33:09-!- Reisiger [n=janrherz@adsl-84-226-16-20.adslplus.ch] has joined #wesnoth-dev 20090405 11:33:30< Ivanovic> Reisiger: have you ever tried xchat? 20090405 11:33:46< Ivanovic> when i was still under windows some ages ago this was IMO about the best irc client available 20090405 11:33:56< silene> mordante: i don't have one at hand right now; this one is quite close: http://0pointer.de/blog/projects/whitespace-regime.html ; someone who is confident in python should clean it and implements the feature we need 20090405 11:33:57< Reisiger> No. I'll have a look. 20090405 11:34:35< Ivanovic> that is: the "official" version for windows via xchat.org is only a trial version, the one via silverex.org is really free 20090405 11:35:55-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit [Remote closed the connection] 20090405 11:36:54< mordante> silene, thanks 20090405 11:37:34-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20090405 11:38:22< Reisiger> Ivanovic: Thanks. I'll switch over to that :) 20090405 11:38:44-!- Reisiger [n=janrherz@adsl-84-226-16-20.adslplus.ch] has quit [] 20090405 11:39:14< mordante> only blocks :-( guess we don't want that 20090405 11:40:16< silene> mordante: ? 20090405 11:40:35< mordante> it seems to block the commit not to fix it 20090405 11:41:05-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 11:41:35< silene> yes, this is the standard way of doing it; it's up to the user to fix its commit; i don't know of a script that changes the commit 20090405 11:42:30-!- Reisiger [n=Reisiger@adsl-84-226-16-20.adslplus.ch] has joined #wesnoth-dev 20090405 11:44:12-!- Reisiger [n=Reisiger@adsl-84-226-16-20.adslplus.ch] has quit [Client Quit] 20090405 11:44:19< CIA-30> silene * r34523 /trunk/src/game_preferences.cpp: Removed config::all_children. 20090405 11:44:24< CIA-30> silene * r34524 /trunk/src/ (4 files): Removed pointers to config. 20090405 11:44:28< CIA-30> silene * r34525 /trunk/src/replay.cpp: Removed config::all_children. 20090405 11:44:31< CIA-30> silene * r34526 /trunk/src/unit_animation.cpp: Removed config::all_children. 20090405 11:44:33< CIA-30> silene * r34527 /trunk/src/theme.cpp: Removed config::all_children. 20090405 11:44:37< CIA-30> silene * r34528 /trunk/src/ (config.cpp config.hpp): Definitely removed config::all_children. 20090405 11:46:07-!- Reisiger [n=Reisiger@adsl-84-226-16-20.adslplus.ch] has joined #wesnoth-dev 20090405 11:46:50-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090405 11:47:07-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has joined #wesnoth-dev 20090405 11:48:12-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090405 11:49:05< Reisiger> Ivanovic: Thanks :) xchat 2 looks nifty 20090405 11:49:23< Ivanovic> you're welcome 20090405 11:53:21< CIA-30> ivanovic * r34529 /trunk/ (19 files in 13 dirs): updated Icelandic, Norwegian and Russian translation 20090405 11:53:28< CIA-30> ivanovic * r34530 /branches/1.6/ (19 files in 13 dirs): updated Icelandic, Norwegian and Russian translation 20090405 11:53:44< Reisiger> ilor: Good morning :) 20090405 11:53:59< ilor> hi 20090405 11:55:02< Reisiger> MSVC throws exceptions about changes in 'child'. Currently backtracking with which revision it compiled last 20090405 11:55:27-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090405 11:55:55< silene> Reisiger: what is the precise message? this may be related to the changes i made yesterday 20090405 11:56:53< Reisiger> Don't remember the exact message, I'm currently compiling a revision prior to your changes to _child 20090405 11:57:23< Reisiger> Once that works I'll update in single revision steps until I'll get the error 20090405 12:00:08< silene> unfortunately, if this is caused by my changes, it may well be the monster patch that i wasn't able to split; so it won't help; i hope you remember how you made it fail :-) 20090405 12:01:17-!- Crab_ [n=crab_@c.218.175.a530.sta.adsl.cyfra.net] has joined #wesnoth-dev 20090405 12:01:20< Crab_> hi 20090405 12:01:28< Reisiger> Heh... considering that all I did so far was working with ilor's help to set MSVC up to compile Wesnoth correctly... I could not possibly have broken it *whistles innocently* 20090405 12:02:26-!- Baufo [n=thomas@wesnoth/developer/baufo] has quit [Remote closed the connection] 20090405 12:02:59-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090405 12:04:38-!- Reisiger is now known as Reisiger_ 20090405 12:04:48-!- Velory [n=GProcess@88.224.196.144] has quit ["Leaving."] 20090405 12:05:15-!- Reisiger_ is now known as Reisiger 20090405 12:05:45< Dragonking> benetnash: Around? 20090405 12:06:06< fendrin> zookeeper: how can I make a custom terrain that is a copy of an already existing one with only one attribute changed? 20090405 12:06:40< fendrin> zookeeper: The terrain itself isn't the problem but I don't want to clone the terrain graphic code. 20090405 12:08:06< Dragonking> benetnash: You can come on #wesnoth-pl and also you can query me here if you want to. 20090405 12:08:51< Dragonking> benetnash: Tho I have like 20 min now, then I have to go. I'll be back later, around evening. 20090405 12:09:12-!- wesbot changed the topic of #wesnoth-dev to: 1.6.1 planned for Sunday | Summer of Code info: http://www.wesnoth.org/wiki/SummerOfCodeIdeas | 50 bugs, 231 feature requests, 8 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090405 12:10:17< zookeeper> fendrin, you can't 20090405 12:10:51< zookeeper> unless you can just overwrite the existing [terrain] def with a new one with the same id and terrain code, but i doubt that.. 20090405 12:11:09< zookeeper> fendrin, what terrain is it? 20090405 12:11:26< mordante> silene, not sure whether we want a commit rejected on whitespace, guess most would object. So guess I'll just run my script every now and then 20090405 12:11:45< fendrin> zookeeper: a road that should act as castle tiles for a mage's tower. 20090405 12:12:07< fendrin> zookeeper: stonepath with recruit_into=yes 20090405 12:12:22-!- Reisiger [n=Reisiger@adsl-84-226-16-20.adslplus.ch] has quit ["Verlassend"] 20090405 12:12:33-!- Reisiger [n=Reisiger@adsl-84-226-16-20.adslplus.ch] has joined #wesnoth-dev 20090405 12:12:35< zookeeper> fendrin, i have an idea, give me a moment.. 20090405 12:12:39< benetnash> Dragonking: hi! 20090405 12:19:39 * fendrin wonders if DM could be mainlined to stable as well, maybe in 1.6.2. 20090405 12:20:20< zookeeper> doesn't sound like a good idea to add campaigns in the middle of a stable branch. sounds like it'd be a good add-on though. 20090405 12:21:01< zookeeper> fendrin, hah, works. just make an overlay terrain on which you can recruit, then paint that on regular road. 20090405 12:21:03< ilor> Reisiger: what did you do to get te crash? 20090405 12:21:23< zookeeper> i tested by just modifying the impassable overlay terrain (^Xo), seems to work fine 20090405 12:21:46< Reisiger> I updated to the recent revision ^ 20090405 12:21:48< zookeeper> of course you can't paint that on anything but simple unlayered terrains such as road and grass, but sounds like that's all you need 20090405 12:22:16< ilor> mordante: how about a commit info "you have whitespace on eol, fix it yourself or Mordante will eventually". Can svn send a text message to the commiter? 20090405 12:22:36< Crab_> ilor: yes, it can 20090405 12:22:39< ilor> Reisiger: and? it built for me 20090405 12:22:57< Reisiger> ilor: That's odd :-/ 20090405 12:23:03< mordante> ilor, that's also an option :-) 20090405 12:23:30< mordante> I'm afk now, but I like the idea 20090405 12:23:31-!- Sapient [n=sapien-x@c-71-204-10-166.hsd1.ga.comcast.net] has joined #wesnoth-dev 20090405 12:23:36< zookeeper> yo sapient 20090405 12:23:43< Sapient> yo zookeeper 20090405 12:24:16< Sapient> silene: ok thanks for the explanation. I liked the change once I understood it 20090405 12:25:00< Sapient> silene: still, I am curious what were the primary motivations for elimination of config* (although I could guess) 20090405 12:27:18< silene> Sapient: there are two; the long-term one is to pave the way for a ref-counted (or garbage-collected or whatever) config; the short-term one was to gracefully catch some potential segfaults like "*cfg.child("...")" caused by incomplete wml 20090405 12:28:25< Sapient> ok, I do like those 20090405 12:28:31< Sapient> anything else? 20090405 12:28:38-!- thespaceinvader [n=chatzill@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20090405 12:29:15< Sapient> just want to make sure I'm not missing anything ;) 20090405 12:30:15< silene> there is a last one, but it is just syntaxic sugar; the number of (*cfg)["..."] as considerably dropped 20090405 12:30:21< silene> has* 20090405 12:30:34< Sapient> hmm.. well I can certainly appreciate that elimination 20090405 12:31:06< fendrin> zookeeper: cool 20090405 12:31:17< ilor> ok so I do get the build error now 20090405 12:31:31< fendrin> zookeeper: that would be a good feature for mainline. Can you just commit the terrain to trunk? 20090405 12:31:43< silene> ilor: which one is it? 20090405 12:31:56< ilor> replay.cpp:546 and around 20090405 12:32:07< fendrin> zookeeper: In that "special" editor group. 20090405 12:32:09< Sapient> silene: it might be helpful for those who are unfamiliar with the safebool idiom to include a little example: "this allows concise if(cfg), if(!cfg) conditional checks" 20090405 12:32:20< ilor> error C2088: '!' : illegal for class 20090405 12:32:49< Crab_> mordante: we can also do this "whitespace-checking" this way: 1) make a pre-commit hook to reject all /src commits with incorrect whitespace 2) document an easy way to override that, if the person really wants to commit something (for example, by adding '@force' in the commit message) 20090405 12:33:12< silene> ilor: that's quite an impressive compiler bug 20090405 12:33:33< silene> ilor: adding parentheses should fix it; could you try? 20090405 12:33:49< ilor> wow, there's three-star programming going on a bit further down 20090405 12:34:05< silene> ilor: yes, it's frightening 20090405 12:34:18< ilor> silene: it also has some other errors so it probably won't help with them, gimme a sec 20090405 12:34:26< zookeeper> fendrin, i'm not sure. would you use it in DM? 20090405 12:34:45< fendrin> zookeeper: yes 20090405 12:35:56< zookeeper> well, one or two? recruit from and recruit onto, or just recruit onto? 20090405 12:36:03< silene> Sapient: yes, i will add some (note that it is unrelated to the safebool idiom; the idiom is only here to prevent compilation errors, if the class had not a custom operator[char *], a standard bool would be fine too) 20090405 12:36:15< zookeeper> err, i mean... 20090405 12:36:30< zookeeper> (recruit from and recruit onto) or just (recruit onto)? 20090405 12:36:47< ilor> silene: the problem is in the child name, the compiler confuses it woth something else 20090405 12:36:48< zookeeper> wait...eh, nevermind. i can't express myself. 20090405 12:37:03< fendrin> zookeeper: I vote for both. I need only recruit onto at the moment but recruit from is useful as well. 20090405 12:37:04< ilor> silene: there was a redefinition error, and renaming the var to chld fixed all errors 20090405 12:37:05< zookeeper> rephrasing: just a keep overlay or both a keep overlay and a castle overlay? 20090405 12:37:25-!- nital [n=nital@unaffiliated/nital] has joined #wesnoth-dev 20090405 12:38:31< silene> ilor: it makes sense (though it is still a compiler bug :-)) 20090405 12:38:52 * Reisiger troutslaps MSVC for acting 'special' 20090405 12:39:05< ilor> hm, how does it make sense 20090405 12:40:01< silene> ilor: unfortunately, it means there may be a file you will struggle with, since there are about ten definitions in a row with the same name 20090405 12:40:05< zookeeper> fendrin, ok, i'll add those. will take a moment since i have to make new editor images for them 20090405 12:40:21< fendrin> zookeeper: cool, thank you very much. 20090405 12:41:11< Reisiger> ilor: did you have time to look at the wesnothX.vcproj.user files? 20090405 12:41:30< ilor> Reisiger: sorry no 20090405 12:41:40< silene> ilor: it makes sense because the code is like: if (config &child) {} else { config *child; ... }; the first child is in the scope of the else statement, but the compiler should have put it just before the scope instead of putting it inside the scope (whete it conflicts) 20090405 12:43:24< ilor> I take it it passes gcc -Wall -pedantic -ansi -whatever? 20090405 12:43:36< Reisiger> ilor: No problem; I'll get myself a coffee and a croisant ^ 20090405 12:44:22< silene> ilor: it passes; but i just checked the standard and gcc would have been allowed to reject it; my fault 20090405 12:44:36< fendrin> zookeeper: I am going to commit a new CREATE_OR_RECALL_CHARACTER macro to trunk, with your permission. It's for the same purpose as the CREATE_OR_RECALL macro but for use with the character.cfg macro's of DM and LoW. 20090405 12:44:59< ilor> silene: I think it's the only place, and I've it reamed already; I'll just commit ok? 20090405 12:45:10< silene> ilor: please do so 20090405 12:47:35< CIA-30> ilor * r34531 /trunk/src/replay.cpp: fix a msvc build error and some c++ correctness 20090405 12:47:46< Reisiger> Back; I'll update after that comming and start on the HowTo for compiling Wesnoth with MSVC 2008 20090405 12:48:24< ilor> I'm afk for a while 20090405 12:51:36< Sapient> apparently Sun C++ 5.3 can't handle the safe_bool idiom... not sure if that's an issue 20090405 12:51:45< zookeeper> fendrin, sure 20090405 12:51:56 * zookeeper goes have some breakfast before working on the terrains more -> 20090405 12:52:58-!- Polarina [n=polarina@wesnoth/translator/Polarina] has joined #wesnoth-dev 20090405 12:52:59< loonycyborg> Sapient: That will be an issue for opensolaris packager. 20090405 12:53:21< loonycyborg> Unless that was fixed in later versions.. 20090405 12:53:34< Sapient> it should be fixed in later versions 20090405 12:53:54< Sapient> __SUNPRO_CC > 0x530 20090405 13:02:44< silene> how old is Sun 5.3? 20090405 13:03:20< Crab_> November 1993 20090405 13:03:34< Sapient> shouldn't be an issue then 20090405 13:04:08-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 20090405 13:04:26< CIA-30> fendrin * r34532 /trunk/data/core/macros/unit-utils.cfg: Added the CREATE_OR_RECALL_UNIT maro which takes a full set of [unit] attributes as argument. 20090405 13:05:50< Ivanovic> nerwa: please react on the public comments you got at the google tracker 20090405 13:10:44< benetnash> Crab_: in http://www.wesnoth.org/wiki/FormulaAI#Custom_Functions in example is ,,def opening(*ai) 20090405 13:10:58< benetnash> but I think there should be def opening(ai*) 20090405 13:11:14< Crab_> benetnash: i'll take a look.. 20090405 13:11:21< benetnash> ok 20090405 13:11:38< Ivanovic> Gauteamus: btw, do you want to have a wesnoth cloak? 20090405 13:12:16< Ivanovic> Gauteamus: so that you appear as @wesnoth/translator/Gauteamus instead of your provider address 20090405 13:17:05< Gauteamus> yes, that would be nice 20090405 13:17:42< Gauteamus> is it much hassle to go through? 20090405 13:20:03< Crab_> benetnash: yes, you are right. thanks for spotting this. fixed. 20090405 13:21:29< Ivanovic> Gauteamus: is your nick registered at nickserv? 20090405 13:21:48< Ivanovic> okay, looks like 20090405 13:21:55< CIA-30> ilor * r34533 /trunk/src/game_preferences.cpp: silence a msvc warning 20090405 13:22:04< Gauteamus> yes, I just identified 20090405 13:22:07< Ivanovic> then it will just take me 5mins to ask in #freenode and you will get the cloak automatically when logging in at nickserv 20090405 13:22:07< benetnash> Crab_: you're welcome. And this bug with print_debug was my mistake, sorry. I supposed that print_debug doesn't return any value but it returns it's parameters 20090405 13:22:25< Polarina> Ivanovic: Cloaks are applied immediately. 20090405 13:23:05< Ivanovic> Polarina: cloaks are always applied when logged in at nickserv 20090405 13:23:32< Polarina> Ivanovic: I got my cloak applied immediately after a freenode staff set it on for me. 20090405 13:23:43< Ivanovic> Polarina: yeah 20090405 13:23:45< Ivanovic> i know 20090405 13:24:04< Crab_> benetnash: no, you were right to spot this. the actual problem was not in debug_print, but in the fact that the wiki description of what 'attacks' does was misleading (it hasn't mentioned the fact that a list of 'attacks' auto-evaluated into ai doing actual attacks. I've changed it a bit in the wiki. 20090405 13:24:49< Ivanovic> Polarina: all i wanted to tell Gauteamus is, that he just has to be logged in at nickserv to have the cloak applied 20090405 13:24:56< Ivanovic> Gauteamus: done 20090405 13:24:58< Polarina> Ah... 20090405 13:25:24< Ivanovic> so when he joins without identifying, he does not have the cloak 20090405 13:25:51< Gauteamus> Ivanovic: nice, thanks! 20090405 13:26:09< Ivanovic> Crab_: since you already have commit access, do you want such a cloak, too? 20090405 13:26:20< Ivanovic> though you will have to register your nickname first 20090405 13:26:50< Ivanovic> your cloak would be: wesnoth/developer/crab 20090405 13:26:51< Crab_> Ivanovic: I'll try to register my nick, and then I'll ping you. thanks. 20090405 13:33:10< Reisiger> Hm... getting unresolved external symbol errors with MSVC http://wesnoth.pastebin.com/m3d7f3dd7 20090405 13:33:13< Crab_> Ivanovic, - Crab_ is now registered. thanks. 20090405 13:35:27< Ivanovic> Sapient: since you are around, please also join #wesnoth-mentor 20090405 13:35:44< silene> Reisiger: someone added a lot of files in src/storyscreen yesterday; check they are all accounted for 20090405 13:36:03< Sapient> I was actually just leaving... ;) 20090405 13:36:06-!- Sapient [n=sapien-x@wesnoth/developer/sapient] has left #wesnoth-dev [] 20090405 13:37:06< benetnash> Crab_: map() function is quite strange. I'll would call it foreach() because map() imo should take two arguments: list and formula and return map: [element -> value evaluated for this element]. 20090405 13:37:18< benetnash> now it returns only array of evaluated values 20090405 13:37:47< Reisiger> I only have 8 files (4 cpp, 4 hpp) in that folder, checking log 20090405 13:38:31< silene> Reisiger: same here, some of the 8 are new 20090405 13:39:15< Reisiger> silene: Ok, I'm waiting for Tortoise to finish loading the log for that folder... 20090405 13:39:20-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090405 13:39:21< benetnash> Crab_: ano to get map (move, value) I have to use formula tomap(my_moves.moves, map(my_moves.moves, 'my_move', move_value(ai, my_move))) ;) 20090405 13:43:52< Crab_> benetnash: yes, I understand your use case. 20090405 13:44:15< Crab_> benetnash: let me think about it a bit.. 20090405 13:44:42< Reisiger> silene: shadowmaster added a comment to his commit (34515) that there are still some bugs left. From what I see it's not supposed to compile that code yet. 20090405 13:45:51-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 13:46:57< ilor> Reisiger: it links when you add the render.cpp file to the build, what else do you need? ;) 20090405 13:47:13< Reisiger> Think I found the issue. the MSVC vcproj file doesn't contain one of the ... yep... was about to write that o_O 20090405 13:48:02< Crab_> Ivanovic: thanks 20090405 13:48:11< Ivanovic> Crab_: make sure to automatically identify at nickserv 20090405 13:48:25-!- Crab_ [n=crab_@wesnoth/developer/crab] has quit ["Leaving."] 20090405 13:48:47-!- Crab_ [n=Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20090405 13:49:02< Reisiger> ilor: Yep... it runs now :D 20090405 13:49:23< Crab_> Ivanovic: looks good. 20090405 13:49:25< Reisiger> I'll stick with this revision and make th HowTo now ^ 20090405 13:49:29< Ivanovic> Crab_: jupp 20090405 13:49:36< Ivanovic> Reisiger: great 20090405 13:50:46< Reisiger> I just hope I remember all the steps :-) AFK 5 20090405 13:52:06< ilor> boucman, mordante, Sirp, Crab_: (I guess that's everyone involved) - I updated my project wiki page (and proofread it now) with some new info and the RNG idea 20090405 13:52:06< Crab_> benetnash: can you adapt " map( [ 'elf' -> 10, 'dwarf' -> 20 ], value*2 ) " example to your needs ? it takes a map and returns a map 20090405 13:52:26< Ivanovic> ilor: somehow i am involved, too 20090405 13:52:34< Crab_> ilor: i'll take a look, thanks 20090405 13:52:43< ilor> Ivanovic: ah yes sorry ;) 20090405 13:52:43< Ivanovic> ilor: that is: do not forget to post a comment in the google tracker! 20090405 13:52:55< ilor> Ivanovic: I did already :) 20090405 13:53:24< Ivanovic> great 20090405 13:53:59< Crab_> ilor: I think we do not need 'public' and 'private' random numbers. 20090405 13:55:47< Crab_> ilor: reread the irc logs of 04.04.2009 from 17:44 20090405 13:56:04< benetnash> Crab_: no, because It takes map and alters values. I'd like to have function that takes list and makes map from it 20090405 13:56:08< CIA-30> zookeeper * r34534 /trunk/data/core/ (3 files in 2 dirs): Added keep and castle overlay terrains, which can be painted on any non-layered terrain to enable them to act as keeps or castles for recruitment. 20090405 13:56:13< zookeeper> fendrin, ^ 20090405 13:56:26< Crab_> ilor: " everything is fogless as far as MP protocol is concerned " (c) boucman. For example, when a unit moves, everyone is aware of it, even if it is fogged in-game. 20090405 13:56:33< benetnash> Crab_: but code with tomap and map works 20090405 13:57:04< Crab_> ilor: so, it makes no sense to make RNG handling special, when the rest of things are 'fogless' in MP. 20090405 13:57:29< Crab_> ilor: it will only add more work without any substantial benefit. 20090405 13:58:02< Crab_> ilor: it's better, IMO, to keep things simple until someone will rethink the MP protocol to be 'fog-aware' 20090405 13:59:02< Crab_> benetnash: can you show your use case, written using tomap (so I'll will be able to see how long and ugly it is ) 20090405 14:00:34< Crab_> 1)"take a list", 2) "make a map from it", 3) "pass that map as 1st argument to 'map' function ", 4) "transform values using that 'map' function, 'get a map as a result' ) 20090405 14:00:46< ilor> Crab_: in general I wanted to just highlight that the WML bit might require more investigation with no hard decisions yet 20090405 14:01:30< CIA-30> torangan * r34535 /branches/1.6/po/wesnoth-thot/sv.po: swedish translation update 20090405 14:01:52< Crab_> ilor: ok. I just wanted to highlight that 'private/public' split is not necessary at the moment. 20090405 14:02:50-!- Cathrak [i=sirokrul@faui08.informatik.uni-erlangen.de] has left #wesnoth-dev ["Leaving"] 20090405 14:02:56< nerwa> Ivanovic: thanks, I'll update wiki page soon. 20090405 14:03:18< Ivanovic> do not forget to post a comment once you are done (comment in the google tracker) 20090405 14:03:52< fendrin> zookeeper: thank you :-) 20090405 14:04:23< Crab_> but I agree that a partial approach is still good - if you make all user-interaction in a specific area of Wesnoth to stick to the principle we discussed (for example, combats), then we will rng-cheat-proof that specific area. 20090405 14:08:09< ilor> Crab_: yes and I'd like to have time to test it, esp. with slower connections 20090405 14:08:24< ilor> anyway, I'm off for a few hours now, see you later 20090405 14:08:33< Crab_> ilor: ok 20090405 14:09:08< Crab_> benetnash: I was trying to say, that, if "I'd like to have function that takes list A and makes map B from it" -> since you want a map B keyed by elements from list A, you can try make a map C from list A before passing that list as an argument to function 'map' to transform the values of the map C to suit your needs. But I agree that the simpler syntax for doing this is required. 20090405 14:11:05< benetnash> Crab_: I posted this already: tomap(attacks, map(attacks, 'my_attack', attack_value(ai, my_attack))) 20090405 14:16:31-!- ettin [n=jorda@wesnoth/developer/ettin] has quit [Read error: 60 (Operation timed out)] 20090405 14:17:35< Crab_> benetnash: sorry, i actually meant another thing ) But I've done it myself. So, what do you think about something like: map( tomap(attacks), value * attack_value (key) ) 20090405 14:18:10< Crab_> tomap(attacks) will make a map from a list, with value = 1 (since each attack is present only once) 20090405 14:18:31< Crab_> then map function will be used to change the values 20090405 14:18:51< benetnash> Crab_: yes, it works and it's better. Thx 20090405 14:18:55< Crab_> for example, map( tomap(attacks), value * 3 ) will give us a map containing {each_of attacks -> 3} 20090405 14:19:32< Crab_> benetnash: since I don't have your attack_value, I can't test fully. I verified that it works in the case of map( tomap(attacks), value * 3 ) 20090405 14:26:43-!- elias [n=allefant@allegro/developer/allefant] has joined #wesnoth-dev 20090405 14:27:08-!- molgrum [n=molgrum@c83-249-53-163.bredband.comhem.se] has joined #wesnoth-dev 20090405 14:28:36-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 60 (Operation timed out)] 20090405 14:32:06< Crab_> benetnash: in your use case, you can even get away with slightly shorter version: map( tomap(attacks), attack_value (key) ) 20090405 14:32:49< Crab_> since you know the value to be 1 anyway 20090405 14:36:29-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 14:41:40< Reisiger> Q: When generating a ssh-rsa key with PuTTYgen, which Type of key is required (SSH-1 RSA or SSH-2 RSA)? 20090405 14:45:40< Crab_> I'd pick SSH-2 20090405 14:47:22< Crab_> for example, gna.org explicitly mentions that it accepts correct SSH2 RSA or DSA keys. 20090405 14:48:14< Crab_> and SSH1 is obsolete.. 20090405 14:51:24< Reisiger> Ok. Done 20090405 14:53:10-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."] 20090405 15:02:16-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 15:03:16-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."] 20090405 15:04:08-!- stynx_ [n=stynx@dls.homelinux.net] has quit [Remote closed the connection] 20090405 15:04:51-!- Rhuvaen [n=chatzill@dslb-088-072-203-062.pools.arcor-ip.net] has joined #wesnoth-dev 20090405 15:05:11-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 15:06:27 * Reisiger pokes ilor about renaming lua51.lib to lua5.1.lib in the vcproj files 20090405 15:18:34< Polarina> Reisiger: The correct name is lua51.lib 20090405 15:19:11< loonycyborg> Both are correct :P 20090405 15:19:43< Reisiger> Compiling it from source with the VC9 project file gets me the lua5.1.lib 20090405 15:20:03< Polarina> Reisiger: Then make a symbolic link to lua51.lib 20090405 15:20:16< Reisiger> On windows? 20090405 15:20:23< Polarina> Yes. 20090405 15:21:14< elias> windows has symbolic links now? 20090405 15:21:33< elias> seems they are actually making progress :) 20090405 15:21:46< Polarina> elias: Wait, are you saying they didn't have symbolic links before? 20090405 15:22:13< Reisiger> Either we use the name from the compilation and adjust the vcproj files or just rename the copy of lua5.1.lib to lua51.lib in the general lib folder... 20090405 15:22:38< elias> dunno, haven't used windows since win95 20090405 15:23:15-!- ettin [n=jorda@wesnoth/developer/ettin] has joined #wesnoth-dev 20090405 15:23:19-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."] 20090405 15:23:35 * Polarina hasn't used Windows in a long time. 20090405 15:23:43-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 15:23:47< Reisiger> Or I find a win32 precompiled version of it ^ 20090405 15:24:07< mordante> Crab_, I prefer not to make it harder to commit and run some cleanups every now and then 20090405 15:24:30< mordante> I've been doing that for a while now and had no complains until today 20090405 15:25:16-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Client Quit] 20090405 15:25:45< Crab_> mordante: ok ) 20090405 15:26:36-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 15:31:45< Crab_> mordante: how do you run those cleanups ? do you have some script to check the src files for formatting errors ? 20090405 15:33:04-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."] 20090405 15:33:29< mordante> Crab_, just a simple script which basically does find . -type f \( -name .svn -prune -o -name '*pp' -o -name '*i' \) -exec sed -i 's/[ \t]*$//' \{} \; 20090405 15:33:31< Ivanovic> Crab_: currently having a look at your goals 20090405 15:33:33-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 15:33:40< Ivanovic> that is: i like the list 20090405 15:33:53< Crab_> Ivanovic: good. anything else to add ? 20090405 15:33:53< Ivanovic> *but* (there always is a but when i say something, right? ;) ) 20090405 15:34:00< Crab_> yes ) 20090405 15:34:12< Ivanovic> there are really many 'MUST' entries and not too many 'SHOULD' points 20090405 15:35:18< Ivanovic> but i like the general splitting since it shows nicely the single steps 20090405 15:36:15< mordante> ilor, I had a look at the random numbers in your proposal and I fear it's the start of the feature creep in your proposal 20090405 15:36:36< mordante> so maybe you should do the same as Crab_ and mark some targets as must and others as should 20090405 15:37:15< Ivanovic> ilor: and make sure that the scope of every point is as well defined as possible 20090405 15:38:03< Crab_> Ivanovic: I can add more targets-of-opportunity to that lists (marked with SHOULD), to shift the MUST/SHOULD ratio, or I can shift some 'MUSTs' to 'SHOULDs'. What do you like more ? 20090405 15:38:05< Ivanovic> Crab_: anyway, a really strong application though (still) amitions 20090405 15:38:24< mordante> I somehow fear that this project could get a lot of more ideas along the way if you get selected and start to work on it 20090405 15:38:25< Ivanovic> personally i prefer shifting some MUST to SHOULD where possible 20090405 15:38:40< Ivanovic> since already with some points less the project would IMO be a *real* success 20090405 15:38:46< Crab_> Ivanovic: will do this now and ping you/GSoC page. 20090405 15:38:53< Ivanovic> Crab_: great 20090405 15:39:43< Reisiger> ilor: Is it ok if I commit the vcproj.user files and the README.txt into the VC9 directory once gnu has processed my ssh-rsa key? 20090405 15:40:01< Ivanovic> (that is: try to set as much to SHOULD as possible and consider if the project would be worth doing without any of the SHOULD points, if this is the case: perfect, use this partition) 20090405 15:40:50< Crab_> Ivanovic: that's exactly what i'm doing at the moment ('if it will work ok even without it, then MUST -> SHOULD' ) 20090405 15:40:55-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090405 15:41:02< Ivanovic> perfect 20090405 15:41:11-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Read error: 104 (Connection reset by peer)] 20090405 15:41:34-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 15:42:55< Ivanovic> corn: just had a look at your project idea and, yeah, you are listing *lots* of features you might get lost in 20090405 15:43:03-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Client Quit] 20090405 15:43:15< Ivanovic> consider explicitly listing which ones are mandatory and which ones more or less "bonus stuff" 20090405 15:44:13-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20090405 15:45:13-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 15:47:23< Crab_> Ivanovic. done. shifted the ratio from to 27/4 to 23/8 http://www.wesnoth.org/wiki/SummerOfCodeProposal_AI_Improvement_Crab#Goals 20090405 15:48:46< Ivanovic> better, thanks 20090405 15:59:52< CIA-30> ivanovic * r34536 /trunk/po/ (wesnoth-lib/id.po wesnoth-thot/ru.po): updated Indonesian and Russian translation 20090405 15:59:57< CIA-30> ivanovic * r34537 /branches/1.6/po/ (wesnoth-lib/id.po wesnoth-thot/ru.po): updated Indonesian and Russian translation 20090405 16:01:16-!- Gauteamus [n=chatzill@wesnoth/translator/Gauteamus] has quit ["ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"] 20090405 16:01:44< Polarina> The Indonesian translation is not correct. For example, it translates "female^slowed" into "wanita^diperlambatkan". 20090405 16:01:47-!- Elvish_Pillage2 [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090405 16:07:43< Ivanovic> cjhopman: currently looking at your proposal, a short question: how do you plan to do the testing/profiling? 20090405 16:08:17< Ivanovic> will you also provide some comparision between "original" speed/mem usage and the changed one? 20090405 16:08:26< Ivanovic> if yes: which scenarii will you test? 20090405 16:09:16< Ivanovic> ah, sorry, have missed your extra page 20090405 16:13:14< Polarina> Is there anyone here who speaks Icelandic? I could really appreciate some help with the Icelandic translations. Thank you. :) 20090405 16:14:07< Polarina> Does anyone know when is the last time possible to send fixed translations before 1.6.1 release? 20090405 16:14:24< Ivanovic> Polarina: it is when i ask if everyone is ready 20090405 16:14:39< Polarina> Ivanovic: All right. I'll just stay still then. 20090405 16:16:38< CIA-30> ai0867 * r34538 /trunk/data/scenario-test.cfg: s/donothing()/NOP()/ in test scenario, as the latter function actually exists. 20090405 16:16:44-!- nerwa [n=nerwa@59.78.26.75] has quit [Connection timed out] 20090405 16:17:56-!- nerwa [n=nerwa@59.78.26.75] has joined #wesnoth-dev 20090405 16:18:15-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090405 16:24:24< ilor> mordante: re the "feature creep" I don't really think so because the server-rng is really an isolated thing that should not expand to a lot more, and, well, Sirp suggested it 20090405 16:25:08< mordante> I know Sirp suggested it and it's a good idea, I just fear there will be more good ideas along the road 20090405 16:25:33< mordante> that's what I meant with feature creep 20090405 16:26:47< mordante> afk 20090405 16:26:50< ilor> I don't plan to add stuff after the project is sealed (accepted) 20090405 16:27:19< ilor> i.e. if this came up a month from now, I think I'd just say "ok fine I'll look into it after gsoc" 20090405 16:28:47< ilor> ideas that expand the main scope of the project are of course fine because I don't want to limit myself to what I can think of right now 20090405 16:29:20< ilor> but new and "extra" stuff I won't be as eager to add 20090405 16:30:07< ilor> that is to say if something new popped up _now_ I'd have to really consider it 20090405 16:35:07-!- crimson_p [n=irchon@64.201.60.216] has joined #wesnoth-dev 20090405 16:35:23-!- crimson_p [n=irchon@64.201.60.216] has quit [Remote closed the connection] 20090405 16:42:41< ilor> Ivanovic: you're suggesting a Crab_-like goal list? 20090405 16:43:30< Ivanovic> ilor: yeah, might be good 20090405 16:43:49< Ivanovic> just to be a little more clear what is a must have part and what is more or less optional 20090405 16:48:00< CIA-30> ivanovic * r34539 /trunk/po/ (11 files in 11 dirs): updated Italian translation 20090405 16:48:02< CIA-30> ivanovic * r34540 /branches/1.6/po/ (11 files in 11 dirs): updated Italian translation 20090405 16:49:02< Ivanovic> Shadow_Master: i want to get out 1.6.1 in some hours, it might be a good idea to fix the last open strings in the spanish translation 20090405 16:49:06< Ivanovic> http://www.wesnoth.org/gettext/index.lang.php?lang=es&version=branch 20090405 16:49:33< Shadow_Master> Reisiger: what is the problem ? 20090405 16:51:12< Reisiger> Shadow_Master: 'Was' The render.cpp and .hpp files were not in the vcproj file for wesnoth in MSVC. It compiles now. 20090405 16:51:37< Shadow_Master> I guess all of my files weren't in the MSVC project file actually 20090405 16:51:46< Shadow_Master> make sure all storyscreen/*.cpp are. 20090405 16:51:54< Reisiger> Only one was missing. 20090405 16:52:28< Shadow_Master> ah. Someone else must be updating them daily. 20090405 16:52:46< Shadow_Master> anyway: yeah, the code _is_ supposed to be compiled and linked already :) 20090405 16:54:06< Crab_> Reisiger, Q: if I add a new src file, should I add it to vcproj (in addition to scons/cmake/make)? or should I leave this matter to windows-based devs ? 20090405 16:54:57< ilor> Crab_: if you can be bothered to add it, I don't think anyone will mind *not* having to do it 20090405 16:55:20< Reisiger> what ^ said :) 20090405 16:55:39< Crab_> ilor: ok, so where this file is located ? 20090405 16:56:06< Shadow_Master> /projectfiles/VC9/*.vcproj 20090405 16:56:22< Shadow_Master> there are also some other project files in the other projectfiles sbudirs 20090405 16:56:47< ilor> what he said. It's generally not as easy as adding to cmake/scons/automake and probably why nobody doeas it ;) 20090405 16:57:34< Crab_> ilor: aha. 20090405 16:57:55< Crab_> ilor: thanks for clarifying. 20090405 16:58:06< CIA-30> ivanovic * r34541 /trunk/ (64 files in 9 dirs): regenerate doc files for trunk 20090405 16:58:25< Shadow_Master> Ivanovic: how much time do I have? 20090405 16:58:39< Polarina> Shadow_Master: Some hours. 20090405 16:58:47-!- YogiHH [n=chatzill@d009145.adsl.hansenet.de] has joined #wesnoth-dev 20090405 16:59:08< Shadow_Master> usually Ivanovic has a _real_ deadline set the same day he's going to tag.. 20090405 16:59:29 * zookeeper assumes he has at least 2-3 hours 20090405 17:00:08< Polarina> Shadow_Master: Why do things at the last possible moment? Start now and you can finish more things in the time allocated. :) 20090405 17:00:48< Ivanovic> Shadow_Master: at the moment i am just getting ready to butcher some devs for string additions without notifying me... 20090405 17:01:19 * YogiHH is not aware of any fault... 20090405 17:02:01< Shadow_Master> I need a better po editor. Kbabel crashes when viewing long strings; is poedit considered better or worse? 20090405 17:02:07< Polarina> Shadow_Master: poedit 20090405 17:02:12-!- Sirp [n=me@wesnoth/developer/dave] has joined #wesnoth-dev 20090405 17:02:30< Polarina> Shadow_Master: I haven't had an issue with it, other than the small change of randomly crashing when opening .po files. 20090405 17:02:49< Shadow_Master> wow. what a difference. 20090405 17:02:59< Polarina> Shadow_Master: It's not an issue. 20090405 17:03:19< Polarina> Shadow_Master: It's just a small change, nothing serious. 20090405 17:03:25< Polarina> chance* 20090405 17:04:04< mordante> ilor, I just want to avoid that like last year the projects get too large and not finished in time 20090405 17:04:22< mordante> especially since we want to get 1.8 out shortly after gsoc 20090405 17:04:50< mordante> and I fear some applications already might be to big too finish in the summer 20090405 17:05:04< CIA-30> ivanovic * r34542 /trunk/data/campaigns/Legend_of_Wesmere/scenarios/01_The_Uprooting.cfg: reuse existing string to not add a new string 20090405 17:05:15< ilor> is mine one of those?;) 20090405 17:05:18< CIA-30> ivanovic * r34543 /branches/1.6/data/campaigns/Legend_of_Wesmere/scenarios/01_The_Uprooting.cfg: reuse existing string to not add a new string 20090405 17:05:32< Shadow_Master> .... 20090405 17:05:38< Ivanovic> looks like i have to delay 1.6.1 for a week to allow translators some time to work on the new strings related to sending a message to admins 20090405 17:06:04< Polarina> There's no need to delay anything. 20090405 17:06:12-!- Chusslove [n=caslav@brsg-d9beeee5.pool.mediaWays.net] has joined #wesnoth-dev 20090405 17:06:18< Ivanovic> as well as the save replay part in the man pages 20090405 17:06:33< Ivanovic> Polarina: there is, since i promised translators at least a week to work on stuff in the stable branch 20090405 17:06:40< Polarina> Oh... 20090405 17:06:44< Shadow_Master> Polarina: um... do you realize that some of us don't have the same amount of spare time like you? 20090405 17:06:47< ilor> Ivanovic hm the admin msg string is only visible in the /help 20090405 17:07:03< mordante> ilor, I think yours is already pretty much work not sure whether all can be done in time also depends on whether some optional things will be done 20090405 17:07:05< Ivanovic> ilor: but it is marked translateable and listed in the po file 20090405 17:07:30< mordante> therefore I think it would be good to mark the musts and the wants 20090405 17:07:33< ilor> mordante: I'll try to make a goals list like Crab has and mark some stuff as optional 20090405 17:07:39< mordante> thanks 20090405 17:07:54< ilor> e.g. the whole user avatar thing is nice to have but not really critical 20090405 17:08:07< ilor> and by avatar I mean icons for user classes 20090405 17:08:12< Polarina> o.O 20090405 17:10:39-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Remote closed the connection] 20090405 17:12:36< Shadow_Master> "The reply-to address of you mail." <- wesnoth-manpages string 193 20090405 17:13:14< Polarina> Spelling error! 20090405 17:13:29< Shadow_Master> I couldn't tell. 20090405 17:15:26-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20090405 17:20:37-!- alink [n=alink@wesnoth/developer/alink] has joined #wesnoth-dev 20090405 17:20:48< alink> hi 20090405 17:20:58< Polarina> Hello, alink. 20090405 17:21:39< alink> hi Polarina 20090405 17:22:56< alink> Ivanovic: so 1.6.1 not before a week? I hope so, because i have 2 serious bugfix to backport, but i need more time to check things 20090405 17:23:17< Ivanovic> alink: okay 20090405 17:23:48-!- Ivanovic changed the topic of #wesnoth-dev to: 1.6.1 planned for Sunday, April 12th, stringfreeze for branches/1.6 ! | Summer of Code info: http://www.wesnoth.org/wiki/SummerOfCodeIdeas | 50 bugs, 231 feature requests, 8 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090405 17:24:06< Polarina> Ivanovic: Oh no! String freeze! 20090405 17:24:17< Polarina> Ivanovic: Is it too late to submit now what I got so far? 20090405 17:24:43< Ivanovic> Polarina: this means the *english* strings are frozen 20090405 17:24:46< Polarina> Oh... 20090405 17:25:06 * Polarina keeps on working. 20090405 17:25:32< corn> Ivanovic: ok, I will revise the timeline today and put in features that I _must_ get done and features that I _want to_ get done 20090405 17:26:16< Ivanovic> corn: great 20090405 17:26:20< alink> ooh 1.6.1 date was in topic all this time, never noticed :-/ 20090405 17:26:21< corn> I am currently working on a prototype that implements the filters idea 20090405 17:26:33< corn> it's not much to look at right now but I will have a lot done by around 5 EST today :) 20090405 17:26:34< Ivanovic> corn: just to get an idea regarding possible mentor matching, which timezone are you from? 20090405 17:26:38< Ivanovic> somewhere in the US, right? 20090405 17:26:39< corn> http://cornmander.com:8080/ 20090405 17:26:43< corn> yes, US eastern 20090405 17:26:44< alink> but I was curious why nobody spoke about it :-) 20090405 17:26:52< corn> currently only the breakdown link works 20090405 17:26:59-!- Gauteamus [n=chatzill@c43C4BF51.dhcp.bluecom.no] has joined #wesnoth-dev 20090405 17:27:06< Polarina> alink: Was there anything to speak of about it? 20090405 17:27:07< corn> using iceweasel eh 20090405 17:27:40< Ivanovic> corn: please do not forget to link it in a comment, so that it does not get lost in an extremely full log 20090405 17:27:42< alink> Polarina: well yes, like when we plan to do it ;-) 20090405 17:27:50< Polarina> corn: Looks promising. 20090405 17:27:52< corn> my goal is to get all 3 of those links working by 5 today and have a filter interface ala http://search.digikey.com/scripts/DkSearch/dksus.dll?Cat=721679 20090405 17:27:59< Polarina> alink: Topic said it all. 20090405 17:28:17< alink> ooh 1.6.1 date was in topic all this time, never noticed :-/ 20090405 17:28:26< Ivanovic> corn: great, looking forward to it 20090405 17:28:28< corn> ok 20090405 17:29:46< mordante> corn, can you update your wiki page to state your awake times in UTC? 20090405 17:29:59< corn> sure. I'll do that right now 20090405 17:30:03< mordante> thanks 20090405 17:31:15< Reisiger> Q: python26.dll is linked in wesnoth.vcproj... is that required? 20090405 17:31:40 * Polarina thinks there's only one way to find out. 20090405 17:31:54< mordante> Reisiger, no, there's no python dependency anymore 20090405 17:32:15< Reisiger> Thanks. *goes and deletes that reference* 20090405 17:33:31< Reisiger> Now I only need to wait for gnu.org to update my shh-rsa key... 20090405 17:34:16< Shadow_Master> gna.org 20090405 17:34:40 * Reisiger curses about his hypos 20090405 17:35:05< Shadow_Master> gnu.org is a very different bussines and we aren't the "Official GNU Project Turn-based Strategy Game with a High Fantasy Theme" yet :) 20090405 17:35:20< Polarina> www.nongnu.org 20090405 17:35:20-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has joined #wesnoth-dev 20090405 17:35:31< corn> changed 20090405 17:35:33< Shadow_Master> we still need to run on hurd 20090405 17:35:47< ilor> is there a doc on how the wesnoth-wesnothd communication looks? 20090405 17:35:49< corn> I'll put up a comment on the GSoC website when I revise my timeline and when I finish my prototype 20090405 17:36:40< Shadow_Master> where's baufo so I can throw some darts at him? 20090405 17:37:20< Shadow_Master> ilor: http://www.wesnoth.org/wiki/MultiplayerServerWML (no idea how up-to-date it is) 20090405 17:37:34< Shadow_Master> [nickserv] ? :) 20090405 17:37:55< Polarina> Why not a binary protocol? 20090405 17:39:24< ilor> Shadow_Master: looks moderately up to date, no mention of some of the stuff like how /me works, maybe I'll get round to updating it while working on the protocol anyway 20090405 17:43:36< CIA-30> ivanovic * r34544 /branches/1.6/ (215 files in 14 dirs): 20090405 17:43:36< CIA-30> pot-update (several string additions regarding server features) 20090405 17:43:36< CIA-30> regenerated doc files 20090405 17:43:52< Shadow_Master> grrr 20090405 17:44:16< Shadow_Master> Ivanovic: you firrst tell me to start working on the translation changes, and then run a pot-update to give me the trouble of msgmerge'ing my stuff? nice 20090405 17:44:20< Shadow_Master> not nice. 20090405 17:44:57 * Polarina resolves a conflict. 20090405 17:45:51< Chusslove> Shadow_Master: I personally edit PO on a side, then merge manually after I'm done. So no conflicts. 20090405 17:46:27< Shadow_Master> I'm doing the same actually, but I hate to have to check for new strings after I supposedly completed my work ;( 20090405 17:46:52< Chusslove> Eh :) 20090405 17:47:33< mordante> Polarina, the question is why a binary protocol ;-) 20090405 17:47:46-!- jmunro[a] is now known as jmunro 20090405 17:47:51< Shadow_Master> no, the question is "define 'binary'" 20090405 17:48:00< Polarina> mordante: Bandwidth savings. 20090405 17:48:10< Crab_> esr: I've added a working patch to your FR 13320 about share_view attribute. 20090405 17:48:13< Shadow_Master> WML is transferred gzipped 20090405 17:48:24< Shadow_Master> and we used a protocl named "binary wml" before actually 20090405 17:48:31< Polarina> Shadow_Master: Maximum compression? 20090405 17:49:17-!- nerwa [n=nerwa@59.78.26.75] has quit [Connection timed out] 20090405 17:49:34< Sirp> corn: are you around? 20090405 17:50:11-!- edb [n=edb@113.12.95-79.rev.gaoland.net] has joined #wesnoth-dev 20090405 17:51:32< Polarina> Ivanovic: With that po-update, did you add any strings, change or remove? 20090405 17:51:57< Shadow_Master> read the commit message again. and it's pot-update 20090405 17:52:04< Polarina> Or that. 20090405 17:52:07-!- nerwa [n=nerwa@59.78.26.75] has joined #wesnoth-dev 20090405 17:52:36< Polarina> Is it ok that I submit the .po files without merging the changes from r34544? 20090405 17:53:45< Ivanovic> sure 20090405 17:53:55< Ivanovic> since i do the update stuff before commiting on all files anyway 20090405 17:54:13< Polarina> Ok, cool. 20090405 17:54:17< mordante> Polarina, we stream the data through a gzip filter 20090405 17:54:26< Polarina> mordante: What's a gzip filter? 20090405 17:54:47< mordante> and Shadow_Master once did some tests on the savegames, maybe he remembers the numbers 20090405 17:55:03< Shadow_Master> around 1 GB to less than 100 MB 20090405 17:55:14< Shadow_Master> (it was 70+something) 20090405 17:55:21< mordante> Polarina, applying gzip compression on a netwerk data before sending it 20090405 17:55:32< mordante> s/on a/on/ 20090405 17:55:35< Polarina> mordante: Yes, but why did you mention "filter"? 20090405 17:55:50< Shadow_Master> Polarina: because it is applied on a stream of data. 20090405 17:55:58-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090405 17:56:02< ilor> because it works like a filter, data gets it, gzipped data goe out 20090405 17:56:03< Polarina> What's the difference from normal gzip? 20090405 17:56:13-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 17:56:13< ilor> s/it/in 20090405 17:56:24< Shadow_Master> none except that you don't need to run it from the command line 20090405 17:57:06-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has quit ["On the road again"] 20090405 17:57:28< Polarina> Shadow_Master: Yay for double-negatives. :P 20090405 18:03:04-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has quit [Read error: 110 (Connection timed out)] 20090405 18:05:16-!- YogiHH [n=chatzill@d009145.adsl.hansenet.de] has left #wesnoth-dev [] 20090405 18:09:12-!- wesbot changed the topic of #wesnoth-dev to: 1.6.1 planned for Sunday, April 12th, stringfreeze for branches/1.6 ! | Summer of Code info: http://www.wesnoth.org/wiki/SummerOfCodeIdeas | 50 bugs, 230 feature requests, 8 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20090405 18:09:52-!- crimson_penguin [n=ben@64.201.60.216] has joined #wesnoth-dev 20090405 18:09:52< molgrum> loonycyborg: i think i need some pointers, how do you setup mingw to compile wesnoth? 20090405 18:10:25-!- nerwa [n=nerwa@59.78.26.75] has quit [Read error: 110 (Connection timed out)] 20090405 18:12:23< JW1> there are so many users on the 1.6 server 20090405 18:12:36< JW1> it seems to be holding up pretty well though 20090405 18:12:52< JW1> (no performance issues) 20090405 18:13:04< Polarina> JW1: Should there be? 20090405 18:13:11< JW1> no, I'm just surprised 20090405 18:13:59< JW1> (pleasantly) 20090405 18:17:03-!- turin [n=turin@168.215.250.1] has joined #wesnoth-dev 20090405 18:17:24< Shadow_Master> there where such issues in our former server(s) actually 20090405 18:18:02< Polarina> Shadow_Master: What was the leak? 20090405 18:19:41< CIA-30> shadowmaster * r34545 /branches/1.6/po/ (6 files in 6 dirs): Spanish translation update. 20090405 18:20:28< CIA-30> shadowmaster * r34546 /trunk/po/ (5 files in 5 dirs): Spanish translation update. 20090405 18:20:35-!- nerwa [n=nerwa@59.78.26.75] has joined #wesnoth-dev 20090405 18:21:39< Shadow_Master> Ivanovic: the "one quarter less of damage from poison" (wesnoth, clarifying) and "female^blahblah quintain" (wesnoth-tutorial, gender-specific, req. by Polarina) strings are not present in trunk 20090405 18:21:58< Ivanovic> Shadow_Master: of course they are not 20090405 18:22:07< Ivanovic> you are meant to work on branches/1.6, not on trunk 20090405 18:22:22< Ivanovic> on trunk i will run a potupdate when i feel like, though clearly not "today" 20090405 18:22:36< Ivanovic> since it is really work in progress anyway and the release is "far away" 20090405 18:22:38< Shadow_Master> yeah, of course, thanks. I thought they were forgotten or something 20090405 18:23:08< loonycyborg> molgrum: I compile by running scons from cmd.exe. 20090405 18:24:37< loonycyborg> On the first run locations where dependencies are located must be passed on command-line. 20090405 18:27:36< corn> Sirp: yes 20090405 18:33:40< Polarina> http://www.wesnoth.org/gettext/index.lang.php?lang=es&version=branch # Missing translation for one string 20090405 18:33:54< Polarina> Shadow_Master: :) 20090405 18:38:45< Shadow_Master> not in my catalogue 20090405 18:38:50-!- ABCD [n=ABCD@wikipedia/ABCD] has quit [Read error: 110 (Connection timed out)] 20090405 18:38:55-!- nerwa [n=nerwa@59.78.26.75] has quit [Read error: 110 (Connection timed out)] 20090405 18:39:28< Shadow_Master> um. 20090405 18:39:37< Shadow_Master> right, I see why. 20090405 18:42:14< esr> This is a generakl call for help to aanyone familiar with the C++ engine. Some recent change has broken something deep. The symptom is that, this morning., loading previuiously good DM saves fails with a "corrupt: unknown unit error" on Mage Magister, which *is* a defined DM unit 20090405 18:42:21< CIA-30> shadowmaster * r34547 /branches/1.6/po/wesnoth/es.po: Spanish translation update. 20090405 18:44:50< Shadow_Master> is there a amainline test case, esr? 20090405 18:45:42< esr> I don't know of one. I just tripped over it when I tried to test DM for the first time this morning. It leaves me dead in the water. 20090405 18:46:01< Shadow_Master> there are one thousand and one reasons for not relying on UMC test cases for this stuff ;P 20090405 18:46:20< esr> It worked last night. 20090405 18:46:51-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 18:47:30< Shadow_Master> they all say that ^^ 20090405 18:47:33-!- nerwa [n=nerwa@59.78.26.75] has joined #wesnoth-dev 20090405 18:48:06< esr> Shadow_Master: That's not helpful.... 20090405 18:48:13-!- jmunro is now known as jmunro[a] 20090405 18:48:27< Shadow_Master> of course it isn't. I'm compiling 20090405 18:50:25< loonycyborg> esr: Does it work if you start over? 20090405 18:50:50< esr> How do you mean "start over"? 20090405 18:51:24< esr> Loading from a scenario start save doesn't help, if that's what you mean. 20090405 18:51:30< loonycyborg> Start DM from beginning instead of loading saved game. 20090405 18:51:43< esr> I don't know yet. 20090405 18:52:18< esr> I'd have to play about ten scenarios to check that. 20090405 18:52:24< Shadow_Master> esr: :cl 20090405 18:52:40< Shadow_Master> it was implemented early in wesnoth 1.5.x 20090405 18:52:53< esr> Hm? How does that help if Delf hasn't leveled up? 20090405 18:53:29< Shadow_Master> :unit experience=100 20090405 18:54:05< Shadow_Master> replace 100 with the maximum XP he needs to level up. Then you attack something, voila, he levels up. Repeat as required. 20090405 18:54:17< esr> Ah. 20090405 18:54:31-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090405 18:54:35< Shadow_Master> implemented in 1.3.x. 20090405 18:54:43< esr> I think I'll file an FR for a console level-up command... 20090405 18:55:37< Shadow_Master> it's very easy to do it this way though 20090405 18:57:04< Shadow_Master> if it doesn't work with IftU, it won't work with DM, let's see 20090405 18:57:50< Shadow_Master> I'm seeing my custpom units, stealing my base 20090405 18:57:50-!- Ambushsabre [n=ambushsa@c-75-67-216-121.hsd1.nh.comcast.net] has joined #wesnoth-dev 20090405 18:58:21< Shadow_Master> I levelled up one of my custom units. esr <- 20090405 18:58:47< Shadow_Master> v1.7.0-svn (34546) , IftU from /trunk 20090405 19:03:17 * loonycyborg just tripped on campaigns -> add-ons rename. 20090405 19:03:40 * loonycyborg vaguely remembers reading something about that on the ML. 20090405 19:03:54< Shadow_Master> esr: give me the faulty saved game 20090405 19:03:58< Shadow_Master> loonycyborg: shame on you. 20090405 19:04:19< esr> Shadow_Master: pastebin coming up. 20090405 19:04:59< CIA-30> silene * r34548 /trunk/src/ (unit_abilities.cpp unit_abilities.hpp): Removed unused function. 20090405 19:05:04< CIA-30> silene * r34549 /trunk/src/ (5 files in 2 dirs): Simplified code. 20090405 19:05:06< CIA-30> silene * r34550 /trunk/src/ (replay_controller.cpp theme.cpp theme.hpp): Removed useless pointer. 20090405 19:05:09< CIA-30> silene * r34551 /trunk/src/gui/dialogs/addon_list.cpp: Removed config::get_children. 20090405 19:05:11< Shadow_Master> esr: nooooo! 20090405 19:05:15< CIA-30> silene * r34552 /trunk/src/menu_events.cpp: Removed config::get_children. 20090405 19:05:17< CIA-30> silene * r34553 /trunk/src/editor2/editor_palettes.cpp: Removed config::get_children. 20090405 19:05:19< Shadow_Master> esr: give me the save file, don't paste it 20090405 19:05:21< CIA-30> silene * r34554 /trunk/src/variable.cpp: Removed config::get_children. Note that the code does not make sense to me, hence the FIXME comments; we are most certainly destroying WML variables there. 20090405 19:05:44< Shadow_Master> (are you mad?!) 20090405 19:05:45-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20090405 19:05:50< esr> Shadow_Master: Can you suggest an alternate transmission method? 20090405 19:05:51-!- nerwa [n=nerwa@59.78.26.75] has quit [Read error: 110 (Connection timed out)] 20090405 19:06:07< Shadow_Master> esr: I am suggesting this thingy called "forum PMs" 20090405 19:06:16< silene> Sapient: please take a look at the variable.cpp; i can't make sense of the code for scoped variables; i think the code destroys them instead of saving/restoring them 20090405 19:06:21< Shadow_Master> do you have a forum account? I'm guessing yes, unless someone is impersonating you 20090405 19:06:46< esr> I do. Hold on... 20090405 19:06:50< Shadow_Master> you just attach it to the pM 20090405 19:07:04< loonycyborg> esr: You should setup an ftp server on your pc for such tasks :P 20090405 19:07:17< Shadow_Master> loonycyborg: foo. not helpful. 20090405 19:07:31< Shadow_Master> forum PMs don't require any administrative work on your part 20090405 19:08:01< loonycyborg> But setting up ftp server is so much more fun :-| 20090405 19:08:42< esr> loonycyborg: I probably have such a thing, actually, it's just that ftp has fallen out of use among most hackers - and no, I don't really understand why. 20090405 19:08:43-!- nerwa [n=nerwa@59.78.26.75] has joined #wesnoth-dev 20090405 19:09:13< Shadow_Master> because some evil universities block FTP portrs :p 20090405 19:09:27< esr> That's probably it. 20090405 19:10:43-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090405 19:14:18< esr> PM sent. 20090405 19:16:35-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090405 19:16:51< Shadow_Master> works for me 20090405 19:17:36< Shadow_Master> I'm seeing a mage magister about to kill an orc. 20090405 19:19:09-!- nerwa [n=nerwa@59.78.26.75] has left #wesnoth-dev [] 20090405 19:19:21< esr> And you vcan load a save with a Mage Magister in iyt without getting a corrupt file error? 20090405 19:20:28-!- shadowmaster [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20090405 19:20:34< CIA-30> esr * r34555 /trunk/data/campaigns/Northern_Rebirth/images/portraits/ (Anita.png Eryssa.png): This portrait move should have gone with the character renaming. 20090405 19:21:14< shadowmaster> esr: yup 20090405 19:21:29< esr> Weeeird. 20090405 19:21:43< shadowmaster> the one you provided belongs to that category. try svn st in your DM working copy. 20090405 19:21:53< esr> What could cause this to fail locally only for me, and only today? 20090405 19:21:53< shadowmaster> you may have accidentally edited something there 20090405 19:22:17< esr> It's not just one save, I tried two different oones. 20090405 19:22:28< shadowmaster> I said, svn st in your DM working copy :-| 20090405 19:22:55< esr> Not a line has changed. 20090405 19:23:14< esr> Very, very strange. 20090405 19:23:29 * shadowmaster has no clue, and continues loading DM savegames containing Delfador as a Magister, after restarting wesnoth. 20090405 19:23:34< esr> Bugs like this frighten me. 20090405 19:24:04< esr> Guess I'll restart the campaign and see if that helps. 20090405 19:24:31< esr> Even if it does, not knowing why breakage like this happens is wirrying. 20090405 19:27:12-!- shadowmaster [n=ignacio@wesnoth/developer/shadowmaster] has quit [Read error: 54 (Connection reset by peer)] 20090405 19:28:28< Crab_> esr: can you PM me that save ( Crab ). I'll take a look. 20090405 19:28:37-!- jmunro[a] is now known as jmunro 20090405 19:29:52< esr> Crab_: Will do. 20090405 19:31:42< mordante> esr, the size of a portrait depends on the size of the Wesnoth window and will be around 400x400 - 500x500 depending on the size of the 'raw' portrait 20090405 19:31:48-!- ikarius [n=ross@c-98-207-225-178.hsd1.ca.comcast.net] has joined #wesnoth-dev 20090405 19:32:59< CIA-30> dragonking * r34556 /trunk/src/formula_ai.cpp: Fixed 'attacks' bug, that made some attacks not being executed 20090405 19:33:11< turin> Turuk_: check your PMs 20090405 19:34:07< turin> \me is AFK 20090405 19:34:33< esr> Crab_: PM sent. 20090405 19:35:15< Crab_> ok 20090405 19:36:12-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090405 19:36:27-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 19:37:18< Crab_> that save is here, in case anyone else wants to check it - ftp://ftp.terraninfo.net/wesnoth/DM-Wasteland-Auto-Save17.gz 20090405 19:43:16< mordante> wesbot, seen west 20090405 19:43:27< mordante> wesbot: seen west 20090405 19:43:27< wesbot> mordante: Person, who 15d 19h ago used nick West, last spoke 6d 21h ago. 4d 21h ago as West_ they left with the message: "b'bye" 20090405 19:45:48< esr> Crab_: Thanks for doing my [modify_save] FR, BTW. I was trying to test that when I tripped over this bug. 20090405 19:46:07< Crab_> np 20090405 19:46:08-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090405 19:47:10< esr> Crab_: I just filed another that might interest you - for a console advance-unit command. 20090405 19:47:33< Crab_> i'll check it out 20090405 19:49:11< ilor> mordante, Ivanovic: http://www.wesnoth.org/wiki/MP_Server_Ilor#Goals 20090405 19:49:17< ilor> Crab_ too :) 20090405 19:50:23-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 19:50:44< Crab_> ilor: looks nice, although it's not color-and-column-order compatible with my variant )) 20090405 19:51:02< ilor> Crab_: I wanted to be at least a bit original :) 20090405 19:51:50< Crab_> ilor: :)) 20090405 19:56:02< Polarina> What's the most efficient method on finding translators who wish to assist with a translation? 20090405 19:56:10< Ivanovic> ilor: looks good 20090405 19:56:34< Ivanovic> Polarina: this is a *great* question... 20090405 19:56:52< Ivanovic> probably the most efficient way is to make your friends play the game and ask them for help 20090405 19:57:23< Polarina> If I had friends... 20090405 19:58:01< Ivanovic> pah, some minor obstacles have to be faced on the way to glory! 20090405 19:58:02< Ivanovic> ;) 20090405 19:58:12< Shadow_Master> classmates also do 20090405 19:58:43< Ivanovic> worst enemies, too (make it a competition!) 20090405 19:58:44< Ivanovic> ;) 20090405 19:58:56< Shadow_Master> yeah! 20090405 19:59:59< Crab_> ilor: one thing I'd suggest, is to make something OPTIONAL in 2nd part ... 20090405 20:02:52< Reisiger> Q: Is the prerequisites list on http://www.wesnoth.org/wiki/CompilingWesnoth up to date? 20090405 20:03:05< Ivanovic> at least for 1.6 it should be 20090405 20:03:12< Polarina> Reisiger: Yes, add liblua for 1.7 20090405 20:03:16< CIA-30> silene * r34557 /trunk/src/multiplayer.cpp: Removed unused variable. 20090405 20:03:17< mordante> Reisiger, best look at the INSTALL file 20090405 20:03:20< CIA-30> silene * r34558 /trunk/src/server/ban.cpp: Removed config::get_children. 20090405 20:03:22< CIA-30> silene * r34559 /trunk/src/addon_management.cpp: Removed config::child_list. 20090405 20:03:27< CIA-30> silene * r34560 /trunk/src/ (config.cpp config.hpp unit.cpp variable.cpp): Removed almost unused and redundant functions. 20090405 20:03:51< Polarina> Reisiger: But you don't need >=lua-5.1.4 like the list mentions. >=lua-5.1.0 will work too. 20090405 20:03:52-!- euschn [n=chatzill@85-127-113-239.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20090405 20:03:59< euschn> good evening 20090405 20:04:07< Reisiger> Ok, will do. Seems there's a few library links that can be purged from the vcproj files for MSVC 20090405 20:04:24< mordante> hi euschn 20090405 20:04:26< euschn> silene around? 20090405 20:04:33< euschn> hi mordante 20090405 20:04:34< Polarina> Reisiger: See http://www.wesnoth.org/wiki/CompilingWesnothOnWindows 20090405 20:04:51< silene> euschn: yes 20090405 20:05:29< euschn> silene: thanks for your comment on https://gna.org/patch/?1148, im just trying to sort the t_match thing 20090405 20:05:52-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."] 20090405 20:06:06< euschn> while at it I discovered that you changed a line in flood_name, the condition of only flooding to middle tiles 20090405 20:06:13< Reisiger> Polarina: For MSVC some listed are not needed (already included in other files or not used) 20090405 20:06:19< euschn> the way it is now produces a seqfault sadly 20090405 20:06:26< Polarina> Reisiger: Ok. 20090405 20:06:30< euschn> try to generate a random marsh map 20090405 20:06:51< Reisiger> And I've been successfully compiling from trunk, so that means the howto already covers the liblue :) 20090405 20:06:53< silene> euschn: "you" is me? 20090405 20:07:04-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 20:07:05< euschn> silene: yes 20090405 20:07:33< euschn> silene: at mapgen.cpp:624 20090405 20:08:10< silene> strange, it doesn't ring a bell 20090405 20:10:23< mordante> ilor, I think the time for the second milestone is a bit short, but at least the 3th has a lot of optional items so you can use that as buffer 20090405 20:10:31< euschn> silene: basically, I added 2 conditions so the flooding of a name does not go outside the middle (actually used) part of the map - you just added casts from size_t to int and merged it into one if clause 20090405 20:10:36< silene> euschn: do you have the svn revision at hand? (i just don't remmeber touching this file, at least not in the four last years) 20090405 20:11:14< mordante> ilor, and to answer your question of yesterday, I see no need for you to write down all commits and patches you did 20090405 20:11:45< euschn> silene: oops im sorry, it was actually mordante, in #34437 20090405 20:12:08< silene> euschn: okay, i see the issue; indeed this commit introduced a bug 20090405 20:12:52< euschn> silene: yes, I wonder why it does - the conditions seem equal 20090405 20:13:33< silene> euschn: no, they aren't; the old code was doing an unsigned comparison (so failing for negative values) while the new one does a signed comparison, hence the segfault 20090405 20:15:28< mordante> silene, is it defined in the standard which casting C++ should do? 20090405 20:15:54< silene> mordante: yes 20090405 20:16:35< euschn> silene: I do not understand: if the old comparison failed for signed values (i do understand that), why does it do the right thing and not produce a segfault? 20090405 20:16:47-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has joined #wesnoth-dev 20090405 20:17:07< mordante> I'll fix it and add a comment about this effect 20090405 20:17:18< euschn> mordante: thanks 20090405 20:17:31< mordante> no problem, thank you for spotting it 20090405 20:18:18< silene> mordante: no need, already committed a fix 20090405 20:18:41< CIA-30> silene * r34561 /trunk/src/mapgen.cpp: Fixed segfault when generating maps. Introduced by commit 34437. 20090405 20:18:59< ilor> mordante: about that second milestone yeah but I can't really move it later (because it coincides with midterm evaluations already) 20090405 20:19:17< ilor> I can move the rng prototype into the next milestone 20090405 20:19:25< euschn> silene: back to the t_match to match all forests: where do you suggest I should put it? would it be ok in terrain_translation.cpp as a constant? 20090405 20:19:36< Crab_> ilor: just was typing "can you shift the RNG to milestone 3" ? 20090405 20:19:52< ilor> actually it might make more sense, so I can focus on the gui before midterm evals 20090405 20:20:35< Shadow_Master> what if... 20090405 20:20:41< mordante> yep 20090405 20:20:45< silene> euschn: to understand the issue, look at the line after the test; negative values become huge positive unsigned values, hence going way out of terrain 20090405 20:20:53< Shadow_Master> what if I cached all the storyscreen backgrounds (scaled, etc.) prior to showing them? 20090405 20:21:17< Shadow_Master> mordante: btw, do I have permission to translate parts of the storyscreen stuff to GUI2? 20090405 20:22:12< euschn> silene: now I get it, thanks 20090405 20:22:38< mordante> Shadow_Master, yes are all widgets you need already available 20090405 20:22:40< mordante> ? 20090405 20:23:06< silene> euschn: i'm not too sure, terrain translation is one of the few parts of wesnoth i don't know at all; what does the constant amount to? 20090405 20:23:27-!- Sapient [n=sapien-x@c-71-204-10-166.hsd1.ga.comcast.net] has joined #wesnoth-dev 20090405 20:23:28< Shadow_Master> all I need are push buttons :P 20090405 20:23:37< Sapient> yo 20090405 20:23:45< Sapient> esr: there? 20090405 20:24:11< Sapient> read this about wmllint confusion: http://www.wesnoth.org/forum/viewtopic.php?p=350122#p350122 20090405 20:24:28< esr> Sapient: I'm here. 20090405 20:24:33< ilor> mordante, Crab_: moved the RNG prototype to the next milestone, looks better now. also fixed numbering ;) 20090405 20:24:43< silene> Sapient: please take a look at src/variable.cpp; i have put some FIXME comments there; i just don't understand how the code for scoped variables can work correctly 20090405 20:24:56< euschn> silene: check terrain_translation.cpp:117 - there are several constants for often used terrain - imo it would make sense to put a match for the forests there 20090405 20:25:13< Sapient> esr: I remember at one point you said something along the lines of anyone smart enough to write a campaign being able to use wmllint -- not so 20090405 20:25:23< euschn> e.g., the naming feature compared tp t_terr::FOREST before i fixed it 20090405 20:25:31< euschn> s/tp/to 20090405 20:25:40< ilor> that andrew wilson dude on the ML sure is amusing... 20090405 20:25:43< euschn> s/terr/terrain 20090405 20:25:53< Shadow_Master> hello, I wrote an enormous campaign and still can't use wmllint correctly 20090405 20:26:03< silene> euschn: seems fine 20090405 20:26:13< Shadow_Master> :P 20090405 20:26:26< euschn> silene: great, I will add it then 20090405 20:26:51< mordante> ilor, I like the numbering 20090405 20:27:09< Shadow_Master> (disclaimer: this is a true story) 20090405 20:27:20< Sapient> lol, Shadow_Master 20090405 20:27:30< mordante> Shadow_Master, only push buttons should be no problem 20090405 20:27:38< esr> Shadow_Master: Please do translate storyscreen to GUI2, as I'd love to be able to use Pango markup in some of my story screens. 20090405 20:27:52< Sirp> corn: ugh our ping time is really bad. ;) around now? 20090405 20:28:21< esr> Also, the sooner we can banish the ugly old markup system the happier I will be. 20090405 20:29:54< Sapient> I haven't heard any arguments yet for the problems caused by the old markup system 20090405 20:30:05< Sapient> as in, why we must be rid of it 20090405 20:30:09< Ivanovic> Sapient: you got the mail? 20090405 20:30:20< Ivanovic> (mails that is since there were >1) 20090405 20:30:30< Sapient> you misunderstand my statement 20090405 20:30:39< Sapient> I read the arguments in favor of the new one 20090405 20:30:48< Sapient> I don't see why the old one can't work as well 20090405 20:30:50< Ivanovic> Sapient: translations 20090405 20:31:03< Ivanovic> that it is *not* obvious that text was meant to be marked up 20090405 20:31:15< Sapient> so, because it confuses translaters it must be forbidden? 20090405 20:31:31< Ivanovic> because maintaining two systems does cause useless stuff 20090405 20:31:41< Ivanovic> no need to keep two systems working 20090405 20:31:59< Sapient> it's not a maintenance burden, it's a tiny addition compared to what we're pulling in 20090405 20:32:27< Ivanovic> the question is: why should it be kept? 20090405 20:32:33< Sapient> and there is always something to be said for maintaining backwards compatibility 20090405 20:33:23-!- fendrin [n=fabi@e176245095.adsl.alicedsl.de] has joined #wesnoth-dev 20090405 20:34:05< Sapient> maybe getting rid of it is the right choice, though; I'm just saying it was hardly considered 20090405 20:34:56< Sapient> so I am not necessarily opposed to it 20090405 20:39:50< Chusslove> Ivanovic: Any thoughts on the latest on image localizations? 20090405 20:40:00< Ivanovic> ??? 20090405 20:40:34< Chusslove> Err... 20090405 20:41:06< fendrin> Hello 20090405 20:42:03< Chusslove> Ivanovic: http://www.wesnoth.org/forum/viewtopic.php?p=349012#p349012 20090405 20:42:41< Sapient> everyone: hot_peep_wilson@yahoo.com demands that we stop developing wesnoth 20090405 20:42:50< fendrin> esr: Please ask kitty in the DM art thread to frankenstein Cleodil in her granddoughter Chantal. 20090405 20:43:13< Polarina> Sapient: Let's stop working then. 20090405 20:43:35< mordante> Sapient, and why? 20090405 20:44:25< Sapient> mordante: what, you haven't been reading the dev-ml I guess ;) 20090405 20:44:31< mordante> no, will do now 20090405 20:44:45< Polarina> Sapient: Link. 20090405 20:45:06< mordante> Sapient, FYI you have mail in your gmail box 20090405 20:46:08< corn> Sirp: aye 20090405 20:46:17< mordante> ah him again, guess I'll blacklist him 20090405 20:46:28-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 110 (Connection timed out)] 20090405 20:46:29< corn> http://cornmander.com:8080/breakdown/ 20090405 20:46:33< corn> check it out guys 20090405 20:46:38< Ivanovic> Chusslove: regarding image translations: we should try to not have any translateable strings in the images shown ingame 20090405 20:46:40< corn> do ctrl+left click to select multiple things from one field 20090405 20:46:56< Ivanovic> this would make it a whole lot easier than adding some strange system for automatic image translations 20090405 20:47:22-!- silene [n=plouf@ASte-Genev-Bois-152-1-75-86.w86-203.abo.wanadoo.fr] has joined #wesnoth-dev 20090405 20:47:39< Sapient> wow... 31% of people are defeated in the tutorial 20090405 20:47:39< corn> I am going to make it remove values with no results for the given filters, give me a few mins to do that 20090405 20:47:55< corn> lol 20090405 20:48:24< corn> currently press submit with no filters selected to reset to no filters 20090405 20:48:25< Chusslove> Ivanovic: But as it is, I don't see how text on some images can be avoided; we talked about it briefly in that thread, but noone came up with a workable idea (maps, logo)... 20090405 20:49:14< Crab_> corn: nice ) 20090405 20:49:14< Ivanovic> and those cases are basically ones where it is almost impossible to deliver a good solution unless you really "handedit" the images 20090405 20:49:20< Chusslove> I also don't quite understand the bit about "adding some strange system for automatic image translations". If you mean what I'm proposing, there is nothing automatic. 20090405 20:49:21< Chusslove> Right. 20090405 20:49:24< Ivanovic> stuff that basically does not work in "real live" 20090405 20:49:27< Chusslove> So I wrote the article how to do it. 20090405 20:49:38-!- ABCD [n=ABCD@wikipedia/ABCD] has quit ["No Ping reply in 30 seconds."] 20090405 20:49:44< corn> hardest part of making this was hacking together SQL queries for filters in python 20090405 20:49:53< corn> making the other 2 pages should be pretty simple now 20090405 20:50:03-!- ABCD [n=ABCD@wikipedia/ABCD] has joined #wesnoth-dev 20090405 20:50:20< Chusslove> And the steps are pretty routine, no Gimp kung-fu necessary. 20090405 20:50:43< ilor> why can't we just render text on the image in-game 20090405 20:51:14< mordante> ilor, what do you mean with that? 20090405 20:52:06< ilor> mordante: in regards to whay Chusslove proposes. Can't we make nice angled text with weird fonts with pango, for instance 20090405 20:52:40< Sapient> silene: I assure you that auto-storage of WML variables has been working just fine 20090405 20:53:27< corn> hm. I am going to make the other two pages work before I make the filters slim down, it's pretty actually a substantial bit of work 20090405 20:53:28< silene> Sapient: sure, autostorage works; what i'm concerned with is autorestore, and i don't think it works 20090405 20:53:50< Chusslove> When one goes through step-by-step sections of http://www.wesnoth.org/wiki/User_talk:Caslav.ilic/ImageLocalization (logo, maps), I think it becomes rather obvious that it cannot be done automatically, at runtime, with any acceptable quality. 20090405 20:53:52< Sapient> ok, I'm looking at it 20090405 20:54:36< silene> Sapient: standard wml won't hit it, since it requires nested events for autorestore to matter, but that's not unheard of 20090405 20:54:38< Chusslove> The steps are easy, but definitely require human eyeball. 20090405 20:55:11< Sapient> standard WML could very well hit it... auto-storage is lazy 20090405 20:55:35< Sapient> activated upon request 20090405 20:56:05< esr> fendrin: Er, we already have Chantal portrait both as druid ad shyde. 20090405 20:56:08< Ivanovic> Chusslove: to be honest: they are a shitload of work and i don't see a good way to "automatically" fuzzy the created images when required 20090405 20:56:29< Chusslove> Ivanovic: In the sense that the way to fuzzy I propose is not good? 20090405 20:56:48< Sapient> ...or nested events 20090405 20:57:27< Chusslove> Run script and get list of fuzzy images (i.e. with modifications to original after the localization was made) in one file? 20090405 20:57:32< mordante> ilor I also think adding the text at runtime might be more feasable 20090405 20:57:59< esr> Hmmm...."20090405 14:56:59 error general: no location found for 'data/add-ons/Delfadors_Memoirs/translations', not adding textdomain" 20090405 20:58:01< mordante> it could be done with something like the journey tracks esr added 20090405 20:58:01< Sapient> silene: right... it looks like it should be doing add_child instead of append 20090405 20:58:08< Sapient> I'll correct that 20090405 20:58:39< Sapient> surprising that it wasn't spotted before 20090405 20:58:56< esr> Is this error message something I have to woorry about? Could it be the reason for my pervious bug? 20090405 20:59:39< Ivanovic> Chusslove: how does this stuff really work? 20090405 20:59:45< Ivanovic> especially something like "If a localized image is fuzzy when the release is made, it will be omitted from the source package, so that users will see the original image -- just like with fuzzy messages in PO files. " 20090405 21:00:12< Ivanovic> yeah, sounds great, but this would require some more ugly stuff in the packaging scripts, things i would like to get around 20090405 21:00:32< Chusslove> cat l10n-track | grep ^fuzzy | sed 's/¦\.*¦/ 20090405 21:00:39< Chusslove> Argh... hit enter too soon: 20090405 21:00:56< Sirp> corn: I was wanting to ask you on some more details of your proposal -- have you looked at our dump of sample data? How much experience do you have with Python? When could you start working on it? 20090405 21:01:04< Ivanovic> (in fact i would love to one day switch to this series of commands for release packaging: svn export trunk wesnoth-version && tar cfj wesnoth-version.tar.bz2 wesnoth-version 20090405 21:01:14< Sirp> corn: also, after SoC is over, would be you be interested in staying around to maintain it and/or to get involved with other Wesnoth projects? 20090405 21:01:50< Chusslove> Ivanovic: by executing in source root: cat l10n-track | grep ^fuzzy | sed 's/¦\.*¦/ 20090405 21:01:58< Chusslove> ...| xargs rm 20090405 21:02:13< Chusslove> The trick is only how to collect that l10n-track file. 20090405 21:02:17< Chusslove> Which is done by: 20090405 21:02:27< Chusslove> lbundle-check.py . 20090405 21:02:30< Chusslove> in source root. 20090405 21:02:32< Chusslove> That's it. 20090405 21:03:03< Chusslove> (After lbundle-check is run, l10n-track file is committed to the repository, with info of messages which got fuzzy.) 20090405 21:03:33< Ivanovic> is there a track file for every lang or does one track file keep the info about all files? 20090405 21:03:57< Chusslove> One for all files. 20090405 21:04:15< Chusslove> In it, languages are simply separated by comments. 20090405 21:06:17 * zookeeper considers sending andrew wilson some random wesnoth-related mails 20090405 21:06:41-!- VladimirSlavik [n=chatzill@wesnoth/translator/VladimirSlavik] has joined #wesnoth-dev 20090405 21:06:49-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 113 (No route to host)] 20090405 21:06:51< Chusslove> Ivanovic: Here's an example of that track file: http://caslav.gmxhome.de/misc/l10n-track 20090405 21:07:19< CIA-30> sapient * r34562 /trunk/src/variable.cpp: fix a bug with auto-stored WML variables not being restored correctly to their previous state afterwards (spotted by silene) 20090405 21:07:48< Sapient> can anyone backport that to 1.6 please ? 20090405 21:08:29< corn> Sirp: I have a lot of experience coding in python. I have already taken the data dump and parsed it into my own MySQL db 20090405 21:08:33-!- ikarius [n=ross@c-98-207-225-178.hsd1.ca.comcast.net] has quit [] 20090405 21:08:49-!- alink_ [n=alink@78.129.18.215] has joined #wesnoth-dev 20090405 21:08:52< corn> Sirp: I am working on a prototype of what I plan to do for SoC, check it out at http://cornmander.com:8080/ 20090405 21:09:02< corn> currently only http://cornmander.com:8080/breakdown/ is functional 20090405 21:09:13< Sirp> corn: ahhh that was my next question. :) 20090405 21:09:36-!- silene [n=plouf@wesnoth/developer/silene] has joined #wesnoth-dev 20090405 21:09:40< corn> Sirp: I will definitely stick around to maintain my code, but I am not sure how much time I would have to work on other aspects of the code since I am starting college next year 20090405 21:09:52< corn> if I do have time, I will definitely continue working on the code 20090405 21:10:05< Ivanovic> Chusslove: yeah, in general it might somehow magically work 20090405 21:10:17< Sirp> corn: okay, I understand. 20090405 21:10:21< corn> also 20090405 21:10:21< silene> my computer is dying; it crashed and it took 5 minutes for the boot to finish... 20090405 21:10:23< corn> about the data dump 20090405 21:10:36< Ivanovic> (at least until some new optimization stuff is added to the image optimization scripts resulting in "recompressed" files) 20090405 21:10:38< corn> the stuff on units and special units isn't very useful without extra columns 20090405 21:10:48< corn> you have no idea what campaign the units are from, the timestamps, versions 20090405 21:10:51< Sirp> corn: do you have experience with Javascript? For instance in the breakdown page it would be cool if the scenario entry automatically updated based on the campaign selected. 20090405 21:11:05-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Remote closed the connection] 20090405 21:11:12< Sirp> (not necessary by any means, but 'nice to have') 20090405 21:11:12< Chusslove> Ivanovic: True, in that case one simply has to eyeball the two images, or to look at commit message, and see that the localized images needs no change. 20090405 21:11:26< corn> I had to hack up javascript as part of my internship at Morgan Stanley. I can't say I am particularly experienced at it though, or that I like it 20090405 21:11:49< Sirp> corn: ahhh that is exactly the same thing I would say about it! ;) 20090405 21:12:00< Chusslove> (The last field in the l10n-track row is the revision of the original image just prior the localized one was added, so it can be used as a reference.) 20090405 21:12:07< corn> that page is going to be improved heavily anyway 20090405 21:12:32< Ivanovic> Chusslove: it is not a nice task to do anyway 20090405 21:12:39< corn> next revision of it, tomorrow maybe, will automatically remove filters that produce no results for the existing filters 20090405 21:12:45< corn> it's kind of hard to explain, but here is what I based it on: 20090405 21:12:53< Ivanovic> nothing you can really do for a project as big as wesnoth, nothing that can be done by hand 20090405 21:13:00< corn> http://search.digikey.com/scripts/DkSearch/dksus.dll?Cat=393249 20090405 21:13:03< CIA-30> sapient * r34563 /trunk/changelog: changelog entry for r34562 20090405 21:13:06< Ivanovic> (at least once >1 translation really works on things 20090405 21:13:08< Chusslove> Ivanovic: It is not. But I kind of hope it will be offset by images not changing that often. 20090405 21:13:22< corn> select a few features in that matrix, submit, and note that some of the values in the matrix disappear 20090405 21:13:29< cjhopman> mordante: about unordered_map, I felt that once we have access to it for some other reason then we should use it. I don't think that one change is a good reason to move to a newer boost. 20090405 21:13:29< corn> since they would produce 0 results 20090405 21:13:36< Sirp> corn: I completely understand about your college commitments. Do remember though that on Wesnoth we have lots of very experienced software developers, and as a college student, staying with the project can be very rewarding because I think when you graduate from college you'll be well ahead of those graduating at the same time. 20090405 21:13:45< Chusslove> And if doesn't work in the end (noone unfuzzying images), well, nothin' lost. 20090405 21:13:53< Sirp> (of course, considering you're just graduating from highschool, you're obviously already very far ahead of other high school grads. ;) 20090405 21:13:54< Chusslove> Compared to now. 20090405 21:14:07-!- YogiHH [n=chatzill@c174121.adsl.hansenet.de] has joined #wesnoth-dev 20090405 21:14:16< corn> that's true 20090405 21:14:27-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has quit [Remote closed the connection] 20090405 21:14:28< corn> trying to get ready for GSoC has been a learning experience already 20090405 21:14:37-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has joined #wesnoth-dev 20090405 21:14:49< corn> I had to learn some C++, learn how to use scons, and figure out the organizational stuff :) 20090405 21:14:51< Chusslove> Ivanovic: I mentioned in that thread, I do offer to be the jockey of that tracker script, and rest wrt. localized images, if you don't want yet another load on yourself. 20090405 21:15:01< cjhopman> mordante: and yeah, i wouldn't want to move to boost newer than 1.35 either 20090405 21:15:15< Ivanovic> Chusslove: this sounds like a good offer 20090405 21:15:18< Chusslove> Ivanovic: You'd just have to run that one-liner to remove fuzzy images when making a release :) 20090405 21:15:26< mordante> cjhopman, you just answered the question I was typing ;-) 20090405 21:15:30< corn> Sirp: I would most likely stay involved with the project. I really can't say anything more definite than that 20090405 21:15:30< Ivanovic> that is: submit this stuff to patches.wesnoth.org and have someone (not me ;) ) review it 20090405 21:15:40< Chusslove> Will do, thanks. 20090405 21:15:55< mordante> best thing to do is to write to the dev-ml and propose to up the dependency to 1.35 20090405 21:16:43< Chusslove> Ivanovic: Though it would perhaps be good for you too to give a go-ahead in that thread, from conceptual point of view. Such that the patch reviewer doesn't have to wonder if it makes sense other than technicall. 20090405 21:16:52-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 21:16:54< fendrin> esr: But they are ugly, aren't they? 20090405 21:16:59< mordante> the other advantage of boost >= 1.34 is that we can remove the foreach code in our tree and revert to boost 20090405 21:17:09< Ivanovic> the reviewer will ping me anyway 20090405 21:17:15< Chusslove> Superb. 20090405 21:17:20< Ivanovic> just link to todays irclog and add the timestamp 20090405 21:17:27 * Chusslove is on to submitting patch. 20090405 21:17:30< Ivanovic> this should cover questions... 20090405 21:17:36< loonycyborg> mordante: Where will we put #define foreach BOOST_FOREACH? :) 20090405 21:17:49< Chusslove> Ivanovic: Err... how do I link to todays irclog? :) 20090405 21:17:59-!- alink [n=alink@wesnoth/developer/alink] has quit [Read error: 110 (Connection timed out)] 20090405 21:18:07< mordante> loonycyborg, I prefer to get rid of that, since the boost team discourages it 20090405 21:18:15< Ivanovic> you go to irclogs.wesnoth.org, click on todays log and paste the url in the text field for patch submission 20090405 21:18:22< corn> hey guys, do any of you know a neat way to make irssi or another irc client split out messages with your nick into a seperate window 20090405 21:18:31-!- esr [n=chatzill@static-71-162-243-5.phlapa.fios.verizon.net] has quit [Remote closed the connection] 20090405 21:18:38< Ivanovic> basically this file: http://wesnoth.org/irclogs/2009/04/%23wesnoth-dev.2009-04-05.log 20090405 21:18:54< mordante> so somebody (me) has to fix all files to use the boost version and then remove the header from the tree 20090405 21:19:06< Chusslove> Ivanovic: Gotcha. 20090405 21:19:07< Ivanovic> and add "20:39:50" as start of the discussion (reference stuff to easily have it looked up) 20090405 21:19:13< loonycyborg> So BOOST_FOREACH should be used? 20090405 21:19:22< mordante> yes 20090405 21:19:39< mordante> but also the proper header should be included 20090405 21:20:04< mordante> so I prefer to keep foreach for now, since that eases grepping 20090405 21:20:17< mordante> (not sure whether the header is pulled in indirectly) 20090405 21:20:39< ilor> we could just change our foreach.hpp to include the boost one and do the define 20090405 21:21:19-!- esr [n=chatzill@static-71-162-243-5.phlapa.fios.verizon.net] has joined #wesnoth-dev 20090405 21:21:40< mordante> of course we can, but I prefer to get rid of our own header 20090405 21:21:57< CIA-30> silene * r34564 /branches/1.6/ (changelog src/variable.cpp): 20090405 21:21:57< CIA-30> fix a bug with auto-stored WML variables not being restored correctly to their previous state afterwards (spotted by silene) 20090405 21:21:57< CIA-30> (backport from revision 34562) 20090405 21:22:07< mordante> also I prefer the boost macro since it reminds me it's a macro 20090405 21:22:11-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20090405 21:22:21< Sapient> thanks 20090405 21:22:27< mordante> I've been bitten by using a , in the macro too often 20090405 21:22:48-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has joined #wesnoth-dev 20090405 21:23:16< mordante> and I'm willing to do the conversion 20090405 21:23:25< Sapient> mordante: well, I'd put my vote behind plain old "foreach" 20090405 21:23:41< mordante> why? 20090405 21:23:52< Sapient> because it should have been a feature of the language but it's the best we've got until the next standard of C++ 20090405 21:24:11< silene> me too, i find foreach much more readable than BOOST_FOREACH 20090405 21:24:28-!- Elvish_Pillager [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20090405 21:24:32-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 110 (Connection timed out)] 20090405 21:24:51< mordante> my problem is that the uppercase version reminds you it's a macro 20090405 21:25:20< mordante> the lower case doesn't and it breaks with std::pair 20090405 21:25:58< silene> mordante: the uppercase one would break too; so it isn't much of a point 20090405 21:26:31< Sirp> corn: please make sure that your prototype as well as source is linked from your application 20090405 21:26:38< Sirp> corn: and I think that with irssi you could do it with a perl script 20090405 21:26:40< mordante> and obviously I like to switch to the new for syntax after the next standard is used by the mainline compilers 20090405 21:26:53< ilor> mordante: so, in around 10 years? :P 20090405 21:27:05< mordante> silene, of course, my point is uppercase reminds you it's a macro 20090405 21:27:16< corn> Sirp: sure. I am going to submit comments to the application later tonight, as well as changes to my timeline 20090405 21:27:18< mordante> ilor, unfortunately probably yes 20090405 21:27:32< Ivanovic> ilor: only if we define msvc++ as "mainline compiler" 20090405 21:27:34< Ivanovic> ;) 20090405 21:27:44< Sirp> corn: and thank you for showing me your prototype; I'm rather impressed. 20090405 21:28:01< Sapient> mordante: methinks you have been out-voted (readability vs. reminder) 20090405 21:28:03< voris> Well if *that's* what you're waiting for you'll be switching to C#. ;) 20090405 21:28:40< Sapient> voris: I am currently studying C#... it's a nice language but it's no C++ 20090405 21:28:51< silene> that is if the new syntax enters the standard; it depends on concepts in stl and, at the last meeting, not everyone was convinced it was a good thing; so it is still not clear the new for-range syntax will happen 20090405 21:28:51< corn> Sirp: cool :) I should have the other pages up by 5 tonight 20090405 21:29:04< voris> Yeah, I programming with it primarilly for around 3 years. Ugh. 20090405 21:29:22< voris> So. Close. Yet so. very. far. 20090405 21:29:30< mordante> Sapient, silene and there's another reason http://www.boost.org/doc/libs/1_38_0/doc/html/foreach.html (note at the bottom) 20090405 21:30:20< silene> mordante: so what? that's not the define we are using; ours is fine 20090405 21:30:22< voris> I was just joking that that's all they seem to care about over there anymore is all. 20090405 21:30:38< mordante> just curious, but are you in the standard commission silene ? 20090405 21:31:10< mordante> silene, ah yes I see, I thought we used the version listed at that page 20090405 21:32:28< silene> mordante: more or less; i'm a member of the afnor (french equivalent of ansi) c++ group, so i have a vote at the iso c++ committee; but i usually don't travel there 20090405 21:33:33< silene> (we have a french guy in the usa, so he takes care of the meetings for us) 20090405 21:34:07< mordante> ah ok 20090405 21:35:13< mordante> guess then I'll have to look a the foreach, for hopefully only 10 years ;-) 20090405 21:38:42< corn> Sirp: did you design the current stats.wesnoth? 20090405 21:40:05< Ivanovic> the very first version of stats.wesnoth.org was done by rusty 20090405 21:40:13< Ivanovic> though it did not scale well at all 20090405 21:40:23< corn> I'd be interested in knowing what library is used to do the image generation 20090405 21:40:28-!- Elvish_Pillage2 [n=eli@66-189-40-122.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20090405 21:40:30< corn> google plotting lib is fairly limited 20090405 21:40:31< Ivanovic> i *think* the current one was done by Sirp but it was never really polished 20090405 21:40:46< corn> ok 20090405 21:41:28-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 21:41:31-!- gabm [n=gabriel@132.207.239.127] has joined #wesnoth-dev 20090405 21:42:00< Ivanovic> corn: though one important comment regarding your application: 20090405 21:42:02< AI0867> can a mailing list administrator physically kick off the idiot who doesn't understand mailing lists? 20090405 21:42:11< Ivanovic> if you get into summer of code, treat it as full time job 20090405 21:42:19< corn> yes. I was planning to 20090405 21:42:24< Ivanovic> you should *not* assume that you will be able to handle another job in parallel 20090405 21:42:32< corn> ok 20090405 21:42:33< Ivanovic> this does not work more often than it does work 20090405 21:42:57< corn> ok. I won't get another job 20090405 21:42:58< ilor> AI0867: I'd prefer just "physically kick" 20090405 21:43:21< Sapient> lol 20090405 21:44:20< gabm> Ivanovic: I'm not very familiar with IRC, but the server tells me you were "looking for me"? 20090405 21:44:29< Ivanovic> that is: you won't know for sure that you are in summer of code before april 20th 20090405 21:44:54< Ivanovic> that is: if you look for another job you should seriously do so by then if you are not in 20090405 21:44:59< corn> yes 20090405 21:45:09< Ivanovic> gabm: i had some comments on your proposal 20090405 21:45:17< Ivanovic> have probably left them in your application 20090405 21:45:33< mordante> corn, I had a look at your prototype and looks really nice 20090405 21:45:41< corn> ok 20090405 21:45:47< corn> my timeline may be too aggressive 20090405 21:45:54-!- JW1 [n=X@c-71-57-85-168.hsd1.il.comcast.net] has quit [] 20090405 21:46:00< corn> not sure who commented on that but it's probably true. I'll make a revision later today 20090405 21:46:30< gabm> Ok - overall everybody is asking me for more technical details 20090405 21:46:44< corn> I think ivanovic had a conversation with several applicants seeking to do AI on targets they should have as mandatory and as 'nice' 20090405 21:46:53< corn> I'll make it clear which is which in my project 20090405 21:47:00< boucman> hey all 20090405 21:47:03< corn> it's good advice for anyone I tihnk 20090405 21:47:04< Ivanovic> corn: not only ai targets 20090405 21:47:06< Ivanovic> more in general 20090405 21:47:10< corn> yes 20090405 21:47:24< Crab_> hi boucman 20090405 21:47:46< Ivanovic> since it is really good to know in advance what you are up to and have an idea of the planning 20090405 21:48:00< Ivanovic> sure, plans will be altered over time, but they provide you with a good idea 20090405 21:49:15-!- Turuk_ [n=Turuk@wesnoth/forumsith/turuk] has quit [Connection timed out] 20090405 21:49:23< gabm> Right, I was doubtful I could make any good planning by a quick glance... 20090405 21:49:40< Ivanovic> gabm: that is why you should have a closer look 20090405 21:49:41< gabm> But of course, how are you gonna be able to evaluate my application 20090405 21:50:09< Ivanovic> we have a good idea ourselfs how much work single projects are and also got some experience if some plans make sense 20090405 21:50:33< gabm> I saw there's some rough competition: someone studying for PhD, who obviously spent a lot of time already on this 20090405 21:50:36< Ivanovic> so when we see a working plan, we often are able to state if it makes sense 20090405 21:50:53< Ivanovic> gabm: there are all levels existing 20090405 21:51:12< Ivanovic> that is: those going for a phd are not always the better candidates for the job 20090405 21:51:17< boucman> zookeeper: around ? 20090405 21:51:32< gabm> good to hear I have a chance :) 20090405 21:51:35< Ivanovic> but yeah, it is a really rough competition 20090405 21:53:04< gabm> But is the kind of detail other candidates give a good example of what you're looking for? That is: "we could combine such and such class, do this and that" ? 20090405 21:54:08< Ivanovic> to get an idea what a really *great* application can look like: http://www.wesnoth.org/wiki/SummerOfCodeProposal_AI_Improvement_Crab 20090405 21:54:10 * Polarina is missing from http://www.wesnoth.org/wiki/Credits 20090405 21:54:17< Ivanovic> Polarina: of course you are 20090405 21:54:20< gabm> taking a look 20090405 21:54:24< Ivanovic> because i have not updated it for a while 20090405 21:54:28< Polarina> Ivanovic: I see. 20090405 21:54:41< Ivanovic> will probably update it when releasing 1.6.1 20090405 21:54:50< Polarina> Ok. 20090405 21:55:19< Ivanovic> gabm: though this one is really extrodinary and *damn* detailed, might even be almost too much (since we have to read it, ARGH!) 20090405 21:57:19< Polarina> http://www.wesnoth.org/wiki/TextdomainStatus is old. 20090405 21:57:21< zookeeper> boucman, i'll be back in maybe half an hour or so, i'll ping you then 20090405 21:57:21< gabm> Ivanovic: right. in any case, as I said I'm in final exams, so I'll try not to fail exams because I spent too much time doing what I'd like to do during the summer 20090405 21:57:49< boucman> ok, no prob 20090405 21:58:33< Ivanovic> gabm: of course 20090405 21:58:47< Ivanovic> but hey, you asked for an "as good as it can get"-version, right? 20090405 21:59:02< Ivanovic> ;) 20090405 21:59:19< Ivanovic> Polarina: feel free to update it, it is a wiki after all... 20090405 21:59:29< Ivanovic> and of course it is old, this was the work for 1.6 20090405 21:59:32< Polarina> Ivanovic: I don't know the status of the textdomains. 20090405 22:00:37< corn> gah, google chart api is pretty lame. it is going to take me an extra day to finish this prototype because I need to make a wrapper around matplotlib so you can get graphs through a URL 20090405 22:01:38< Sapient> corn, there are other alternatives 20090405 22:01:41< Sapient> http://teethgrinder.co.uk/open-flash-chart/ 20090405 22:01:49< Smar> hmm... 20090405 22:01:53< Smar> what abouut 1.6.1? 20090405 22:01:59< Sapient> http://piwik.org/ 20090405 22:02:00< Ivanovic> Smar: cf topic 20090405 22:02:08< Smar> hmm.. 20090405 22:02:26< Smar> oh, 12. 20090405 22:04:12< Sapient> corn: but, I haven't tried any of those 20090405 22:05:29< Ivanovic> Smar: sent the mail about the delay and the stringchanges to the -i18n list 20090405 22:05:39< Smar> ’kee 20090405 22:06:04< Smar> yeah, I spotted something at www-thingie and wondered how I missed them... 20090405 22:06:22< corn> Sapient: open flash chart looks cool, but it will be easier to wrap around matplotlib. I won't have to use flash either 20090405 22:06:42< corn> the benefit is that you will be able to link people to a graph without needing to resort to tricks 20090405 22:06:46< corn> since it will be a flat image 20090405 22:06:49< euschn> I have made a small improvement to the patch I submitted, with respect to: https://gna.org/patch/?1148#comment9 - shout I attach it to #1148 or open a new patch? (1148 is already submitted) 20090405 22:07:26< Sapient> corn: right, but with flash it would shift some processing from the server to the client, right? 20090405 22:07:33< corn> yes, probably 20090405 22:07:42< corn> not sure how neccesary that is though 20090405 22:07:50< corn> as long as graph generation is less than 1 sec, it will probably be OK 20090405 22:07:56< boucman> euschn: please attach to 1148, I will reopen it, but state in the comment that this patch is incremental to the previous one 20090405 22:07:58< corn> not like thousands of people are going to be using this simultaneously 20090405 22:08:13< euschn> boucman: ok thanks 20090405 22:08:17< boucman> reopened 20090405 22:09:02< Sapient> corn: slowness and scalability is one of the major problems with the last attempt, if I understand correctly 20090405 22:09:23< Sapient> someone attempted it last summer 20090405 22:09:24< corn> yeah that definitely seems to be the case 20090405 22:09:41< corn> not sure why that is though 20090405 22:09:56< corn> I think I've avoided the issue altogether 20090405 22:10:03< corn> the front page of the existing stats site has to process millions of rows 20090405 22:10:23< Sapient> ah, so it's an SQL bottleneck 20090405 22:10:46-!- alink_ [n=alink@78.129.18.215] has quit [Remote closed the connection] 20090405 22:10:55-!- fabi [n=fabi@f051016201.adsl.alicedsl.de] has joined #wesnoth-dev 20090405 22:11:54< Sapient> corn: you might want to do a Spike Test before committing to serverside image generation, since there are alternatives 20090405 22:12:06< corn> spike test? 20090405 22:12:16< Sirp> corn: *please* try not to spend too long wrestling with different charting libraries. Far more important to get a solid basis for generating reports than getting the latest and coolest charting technology. 20090405 22:12:42< corn> Sirp: google charts doesn't properly range line charts, that's a pretty big deal 20090405 22:12:45< Sirp> corn: btw have you considered how we should generate results efficiently? i.e. we don't want it so if someone asks what platforms have been used, it has to do a full table scan. 20090405 22:13:00< corn> http://cornmander.com:8080/gold/ 20090405 22:13:03< corn> the ranges are all wrong 20090405 22:13:10-!- noy [n=Noy@wesnoth/developer/noy] has quit ["GO, GET TO THE CHOPPAH!!!"] 20090405 22:13:23< Sirp> corn: sure, try to get something that works nicely, just make sure you don't have to spend too much time spinning on charting technology. :) 20090405 22:13:27< corn> right 20090405 22:13:43< corn> I think I'll have the extremely SQL intensive calls pregenerated in a cronjob 20090405 22:13:47< Sirp> corn: and what is wrong with the ranges/ 20090405 22:13:48< Sirp> ? 20090405 22:13:58< corn> right click the chart and look at the properties 20090405 22:14:02< corn> a lot of the gold values are negative 20090405 22:14:05< corn> and yet the chart starts at 0 20090405 22:14:54< Ivanovic> we thought this was intentional because for the game there is no real difference if negative or zero 20090405 22:14:55< Ivanovic> ;) 20090405 22:15:04< corn> lol, no 20090405 22:15:05< Sapient> corn: http://c2.com/cgi/wiki?SpikeSolution 20090405 22:15:17< Sapient> "What is the simplest thing we can program that will convince us we are on the right track?" 20090405 22:16:05< Sapient> like Sirp said, you don't want to spend a lot of time waffling through APIs 20090405 22:16:10< corn> right 20090405 22:16:21< corn> I hope to get this issue sorted out by today or tomorrow 20090405 22:16:26< corn> I just need a few basic chart types 20090405 22:16:40< corn> google charts is OK for pie charts and maps but won't cover it for lines 20090405 22:16:46< Sirp> corn: that's because you're just using the plain text data format described here: http://code.google.com/apis/chart/formats.html#text 20090405 22:16:57< Sirp> as the API documentation says it takes value in the range (0,100) 20090405 22:17:10< corn> ahhh 20090405 22:17:10< corn> good man 20090405 22:17:13< Sirp> corn: probably easiest to just normalize your data. 20090405 22:17:36< Sirp> corn: however there is also a chds parameter you can use to set the range; see http://code.google.com/apis/chart/formats.html#data_scaling 20090405 22:17:51< mordante> corn, would it be possible to post your code somewhere, when you're more finished with the prototype? 20090405 22:17:57< corn> yep 20090405 22:18:01< mordante> great 20090405 22:18:10< corn> running it might be an issue sinec it is tied to a DB 20090405 22:18:16< corn> but you'll be able to look at it alright 20090405 22:18:25-!- happygrue [n=George@wesnoth/developer/wintermute] has quit [Read error: 104 (Connection reset by peer)] 20090405 22:18:34< mordante> thanks 20090405 22:20:32 * crimson_penguin thinks he's gonna be able to include the server in this next build 20090405 22:20:59< Ivanovic> crimson_penguin: that is probably next sunday 20090405 22:21:35< euschn> I am off for today, good night 20090405 22:21:40-!- euschn [n=chatzill@85-127-113-239.dynamic.xdsl-line.inode.at] has quit ["ChatZilla 0.9.84 [Firefox 3.0.7/2009030423]"] 20090405 22:21:41< boucman> night 20090405 22:21:59< crimson_penguin> Ivanovic: oh ok... still good to get it working though 20090405 22:22:10< crimson_penguin> Ivanovic: um, where does it come up with a path for the server? 20090405 22:22:19< crimson_penguin> "sh: /Applications/Battle for Wesnoth 1.5/Wesnoth MP Server.app/Contents/MacOS/Wesnoth MP Server: No such file or directory" 20090405 22:23:07< Ivanovic> i think this is somewhere in the config file 20090405 22:23:21< Ivanovic> do not ask me exactly where from though 20090405 22:23:27< Ivanovic> Soliton might know this 20090405 22:24:31-!- fendrin [n=fabi@wesnoth/developer/fendrin] has quit [Read error: 110 (Connection timed out)] 20090405 22:24:43-!- turin [n=turin@168.215.250.1] has quit [Read error: 104 (Connection reset by peer)] 20090405 22:25:14< crimson_penguin> it seems to me it must be somewhere in the Wesnoth sources, because I started from scratch with my Mac stuff, and I never made a Wesnoth MP Server.app 20090405 22:27:16< Ivanovic> no idea where the application name comes from, on linux you got a button opening a dialog where you can define the folder where wesnothd is meant to be 20090405 22:28:20< mordante> I'm off night 20090405 22:28:46-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20090405 22:31:15-!- elias [n=allefant@allegro/developer/allefant] has quit [Read error: 110 (Connection timed out)] 20090405 22:31:39-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090405 22:32:24< crimson_penguin> ah ha! I found it 20090405 22:33:09< Ivanovic> :) 20090405 22:33:26< crimson_penguin> data/game_config.cfg 20090405 22:34:29< Ivanovic> then add the correct name in there 20090405 22:34:51< Ivanovic> beside this: maybe it is possible to ship wesnothd right in the .app file for mac, might be worth considering 20090405 22:35:12< gabm> mmmkay, another general question: how much time approximately would I need to implement one of the patches on the easy coding page? Something short and related to savegames, preferably 20090405 22:35:40 * Polarina likes doing and researching potential useless stuff. http://rafb.net/p/qvdqLz55.html 20090405 22:35:56< crimson_penguin> Ivanovic: that's exactly what I'm doing :) 20090405 22:36:01< Ivanovic> gabm: completely depends on the task and your knowledge 20090405 22:36:11< Ivanovic> i'd say "should be possible to do in some hours" 20090405 22:36:14< crimson_penguin> Ivanovic: it goes in MacOS/ next to Wesnoth itself 20090405 22:36:32< Ivanovic> crimson_penguin: great 20090405 22:36:58< crimson_penguin> I am getting this error: "could not make fifo at '/var/run/wesnothd/socket' (2)" - but it works anyway... 20090405 22:37:03< gabm> As far as knowledge go, what's said on the "Hacking Wesnoth" page is pretty close to my personal coding style 20090405 22:37:06< Ivanovic> gabm: though, since the expert for saves is around atm, you might want to pick a task and ask YogiHH how much work it will be 20090405 22:37:56< Polarina> gabm: Unfortunately, nothing is close to my coding style. 20090405 22:38:14< gabm> Polarina: lol 20090405 22:38:16-!- noy [n=Noy@70.70.128.133] has joined #wesnoth-dev 20090405 22:38:17 * YogiHH checks the EasyCoding page... 20090405 22:39:51< crimson_penguin> someone wanna try connecting to 64.201.60.216 with Wesnoth? (to make sure it works) 20090405 22:40:03< CIA-30> thespaceinvader * r34565 /trunk/ (6 files in 5 dirs): Add and wire Kitty's Ranger portrait, update changelogs, portrait credits. 20090405 22:40:25< Polarina> crimson_penguin: Give me a moment. 20090405 22:40:34< crimson_penguin> k, thanks 20090405 22:40:41< Ivanovic> crimson_penguin: you can also just open another instance on your comp and connect to 127.0.0.1 20090405 22:40:48< YogiHH> gabm: bug #13268 might be good for you. If it is really about undo/redo it shouldn't be too hard to fix. The biggest challenge is probably finding the relevant code :-) 20090405 22:40:48< crimson_penguin> I suppose 20090405 22:40:49-!- KnightR [n=anonymou@bb121-7-175-14.singnet.com.sg] has quit [] 20090405 22:40:57< Ivanovic> though you probably need the :15000 at the end of the IP to set the port 20090405 22:41:58< gabm> YogiHH: thanks, I'll take a look. I've never poked inside the Wesnoth codebase, so I assume that to do something clean I'll need at least 8-10 hours 20090405 22:42:18< crimson_penguin> Ivanovic: well, isn't that the default? 20090405 22:42:21< crimson_penguin> anyway, it worked :) 20090405 22:42:25< Ivanovic> doN't forget to ask questions, gabm 20090405 22:42:39< Ivanovic> that is: when some come up, you should just ask them 20090405 22:42:42< gabm> right 20090405 22:43:17< gabm> I'm too used to school projects where they tell us "find out" when we ask questions 20090405 22:43:35< Ivanovic> we do not torture each other here 20090405 22:43:38< CIA-30> thespaceinvader * r34566 /branches/1.6/ (6 files in 5 dirs): Add and wire Kitty's Ranger portrait, update changelogs, portrait credits. 20090405 22:43:52< Ivanovic> though completely stupid questions are not well liked either 20090405 22:43:53< Ivanovic> ;) 20090405 22:44:13< gabm> I'll try to solve the dumb questions myself ;) 20090405 22:44:17< Ivanovic> that is: if you have a question, you should ask it, if you manage to get through things without question that is fine, too 20090405 22:46:41-!- silene [n=plouf@wesnoth/developer/silene] has quit [Read error: 110 (Connection timed out)] 20090405 22:47:12-!- silene [n=plouf@ASte-Genev-Bois-152-1-36-185.w82-121.abo.wanadoo.fr] has joined #wesnoth-dev 20090405 22:49:12-!- alink [n=alink@wesnoth/developer/alink] has joined #wesnoth-dev 20090405 22:54:31< zookeeper> boucman, ping 20090405 22:54:57< boucman> https://gna.org/bugs/?13321 <= can't you do that easily in debug command by setting unit's XP ? 20090405 22:55:08< zookeeper> yes 20090405 22:55:26< boucman> could you post a description on how to do that ? 20090405 22:55:28< CIA-30> ivanovic * r34567 /trunk/ (changelog players_changelog po/wesnoth/nl.po): Updated Dutch translation 20090405 22:55:28< CIA-30> ivanovic * r34568 /branches/1.6/ (changelog players_changelog po/wesnoth/nl.po): Updated Dutch translation 20090405 22:55:34< zookeeper> (someone told him that before he filed that) 20090405 22:56:45< Ivanovic> alink: have you somehow cause this one? https://gna.org/bugs/?13323 20090405 22:56:58< Ivanovic> i think you were the last to fiddle with the shroud stuff, right? 20090405 22:57:17-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20090405 23:00:25< alink> quit pinging me, i stopped playing wesnoth over 2 hours ago 20090405 23:00:29< alink> :) 20090405 23:00:32< boucman> :P 20090405 23:00:34< zookeeper> haha 20090405 23:00:40< Ivanovic> hehehe 20090405 23:00:52< Sapient> hot_peep_alink 20090405 23:00:53< Ivanovic> prefer me sending a mail? 20090405 23:00:55< Ivanovic> ^^ 20090405 23:01:13< alink> Ivanovic: yes on the dev-ml please ;) 20090405 23:01:31< Smar> I find maillists inconvenient... 20090405 23:01:49< Smar> wesnoth-i18n is more or less only list I can really follow... 20090405 23:02:09< Smar> irc is sometimes not so convenient either, though... 20090405 23:02:13< alink> Ivanovic: but for the bug, I don't think so, maybe indirectly trigger an old WML bug there, because the order of things have changed 20090405 23:02:34< alink> Ivanovic: I look if i see what's going on 20090405 23:03:07< Ivanovic> good 20090405 23:03:59-!- edb [n=edb@113.12.95-79.rev.gaoland.net] has quit [Remote closed the connection] 20090405 23:05:36< alink> damned people removing the '.gz' when renaming their savegame :-/ 20090405 23:05:48< Ivanovic> :) 20090405 23:06:10< Ivanovic> hey, from windows they know that a suffix *has* to have three letters or it won't work 20090405 23:06:11< Ivanovic> ;) 20090405 23:06:22< Smar> .ex 20090405 23:07:00-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090405 23:07:05-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has quit [Read error: 110 (Connection timed out)] 20090405 23:07:15-!- Turuk [n=Turuk@FUSE-WS1-208-102-202-188.fuse.net] has joined #wesnoth-dev 20090405 23:07:31< alink> I confirm that it crashes to the desktop 20090405 23:07:37< Crab_> added an example backtrace to that bugs description 20090405 23:08:23< alink> Crab_: thanks 20090405 23:11:28< boucman> alink: please assign the bug to yourself when working on it 20090405 23:11:40< dfranke> alink: oh my god he's *back*? 20090405 23:11:51< alink> ah ok the sighted event add these little sun on top of units, probably invalidating the defender before the fight 20090405 23:12:13< alink> boucman: currently evaluating if i can do something about it 20090405 23:12:34< alink> dfranke: who ? 20090405 23:12:44< dfranke> alink: andrew wilson 20090405 23:12:54< Crab_> alink: maybe, get the defender again from defender_loc ? 20090405 23:13:28< alink> Crab_: yeah IIRC code is already supposed to do something like that 20090405 23:13:42< Crab_> alink: code does this with locations... 20090405 23:13:47< Crab_> not with units... 20090405 23:13:49< alink> for preventing the same thing with 'moveto' event 20090405 23:14:38< alink> Crab_: not sure that i follow you, but i open the source 20090405 23:15:08< Crab_> alink: maybe just "get 'defender->second.side()' before, when the defender is still around" ? 20090405 23:15:27-!- oak_ [i=oakus@c02--112b.kn.vutbr.cz] has quit ["( www.nnscript.de :: NoNameScript 4.02 :: www.XLhost.de )"] 20090405 23:18:53-!- oak_ [n=oakus@c02--112b.kn.vutbr.cz] has joined #wesnoth-dev 20090405 23:19:53-!- Zen_Clark [n=user@99-136-80-191.lightspeed.rcsntx.sbcglobal.net] has quit ["ERC Version 5.3 (IRC client for Emacs)"] 20090405 23:20:02< alink> yes maybe, but better find a global solution 20090405 23:22:21< Reisiger> Anyone here with experience setting up PuTTY to work with the wesnoth svn server? I'm getting a 'No supported authentication methods available" 20090405 23:22:27< Crab_> alink: it actually uses unit locations there, in all lines except that one, where it uses defender to get his side... 20090405 23:22:51< Reisiger> ... and the friggin putty.log file got created in nirvana... o_O 20090405 23:23:26< Ivanovic> Reisiger: ssh login at the svn server only works once you earned commit access 20090405 23:23:28< alink> Crab_: indeed, it is supposed to check/find unit again before trying that 20090405 23:23:31< Crab_> alink: http://wesnoth.pastebin.com/m193b5d77 fixes it (just checked) 20090405 23:23:36< Ivanovic> this takes at least two meaningfull patches being accpeted 20090405 23:23:58< alink> Crab_: good, i can stop compiling that then ;) 20090405 23:24:10< Ivanovic> until this is done you will have to work with a plain svn://svn.gna.org/ url 20090405 23:24:29< Reisiger> That explains a lot... where do I post a patch? 20090405 23:24:39< Ivanovic> patches.wesnoth.org 20090405 23:25:11< alink> Crab_: but now i wonder what happens if the event change the side or the is_human 20090405 23:25:32< alink> ah no is_human is probably ok 20090405 23:26:24-!- Rhuvaen [n=chatzill@dslb-088-072-203-062.pools.arcor-ip.net] has quit ["later"] 20090405 23:26:36-!- Blueblaze [n=nick@c-98-199-143-139.hsd1.tx.comcast.net] has joined #wesnoth-dev 20090405 23:26:49< Crab_> alink: i'll read that code again, and if I spot no issues, I'll commit it to trunk and branches/1.6 20090405 23:27:35< Ivanovic> Crab_: once you commited the fix, mark the bug as "fixed" 20090405 23:27:40< Crab_> Ivanovic: ok 20090405 23:28:01< Ivanovic> that is: would be good to add a "fixed bug #99999"in the commit message 20090405 23:28:13< Ivanovic> this way the commit is automatically listed in the bug report, too 20090405 23:28:23< Crab_> ok 20090405 23:28:46< Ivanovic> the bug will be marked closed once it is included in a release (so probably next sunday) 20090405 23:29:15-!- ikarius [n=ross@216.27.182.3] has joined #wesnoth-dev 20090405 23:29:41< Ivanovic> time for me to head off to bed, n8 20090405 23:30:03< alink> Crab_: ok good, but i try if checking the unit and variable just before it's needed works too 20090405 23:30:36-!- jmunro is now known as jmunro[a] 20090405 23:30:55< Crab_> alink: it should work. although rest of the code uses locations (copied before), because it doesn't want to bother with copying or checking units... 20090405 23:31:21< boucman> night all 20090405 23:31:43-!- boucman [n=rosen@wesnoth/developer/boucman] has quit ["Leaving."] 20090405 23:31:59< CIA-30> zookeeper * r34569 /trunk/data/campaigns/The_Rise_Of_Wesnoth/scenarios/17a_The_Dragon.cfg: Fixed bug #13324. 20090405 23:32:54< alink> Crab_: i think it does some check, or at least it probably should do 20090405 23:32:59< ilor> Sapient: you want r34562 backported to 1.6? 20090405 23:33:11< Crab_> alink: why ? 20090405 23:33:11< Sapient> looks like it was already done 20090405 23:33:15-!- stikonas [n=stikonas@wesnoth/translator/stikonas] has joined #wesnoth-dev 20090405 23:33:34< CIA-30> zookeeper * r34570 /branches/1.6/data/campaigns/The_Rise_Of_Wesnoth/scenarios/17a_The_Dragon.cfg: Ported r34569 to 1.6. 20090405 23:33:41< Crab_> alink: to check if that unit standing on tile is still the unit that was trying to attack ? 20090405 23:34:04< Crab_> (to catch situations where WML events killed/moved defender or attacker) 20090405 23:34:08< alink> Crab_: or at least if there is still a unit there 20090405 23:34:12< alink> yes 20090405 23:34:55< alink> also I wonder why dialogs::advance_unit don't check itself the is_human part 20090405 23:35:21< ilor> ah, must've missed it 20090405 23:36:34-!- Ambushsabre [n=ambushsa@c-75-67-216-121.hsd1.nh.comcast.net] has quit ["Leaving"] 20090405 23:36:45< alink> horror ! why there is a hardcoded 81 xp with a comment // Level 10 unit gives 80 XP and the highest mainline is level 5 20090405 23:36:57< Crab_> )))) 20090405 23:37:13< cjhopman> lol 20090405 23:38:02< alink> i don't understand the related code, but if it does something important, i bet it will bite someday 20090405 23:38:27-!- ilor [n=user@wesnoth/developer/ilor] has quit [Read error: 104 (Connection reset by peer)] 20090405 23:38:31-!- ilor_ [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20090405 23:39:01-!- ilor_ is now known as ilor 20090405 23:40:46-!- silene [n=plouf@ASte-Genev-Bois-152-1-36-185.w82-121.abo.wanadoo.fr] has quit [Read error: 113 (No route to host)] 20090405 23:44:04< CIA-30> crimson_penguin * r34571 /branches/1.6/data/game_config.cfg: Changed the path to wesnothd to work inside a .app package 20090405 23:48:25< Crab_> alink: if there'll someday will be lvl 11th unit, then killing that unit will grant no more than 1 XP level to a unit ... nothing too important.. 20090405 23:49:35< alink> unless it happen to one of my courageous units ;p 20090405 23:49:48< Sirp> I'm starting to think that making the "Windows key" start a terminal when pressed in my Ubuntu setup was a bad idea.... 20090405 23:50:02< Sirp> every time I leave my computer my son thinks it's really cool to press the key over and over and see all these windows pop up 20090405 23:50:10< Sirp> by the time I'm back I typically have over 100 terminals opened. 20090405 23:50:14< cjhopman> lol 20090405 23:50:27< Sapient> maybe you should have it play a ducky sound 20090405 23:50:42< Sirp> oh then he'd really have fun driving us crazy. :) 20090405 23:51:03< cjhopman> that 81 could just be made way higher 20090405 23:51:07< Crab_> alink: well, then it'll have something like: 200/50 xp, and killing another unit will give it that hard-earned advancement ) 20090405 23:51:12< zookeeper> i think your reactions are the fun ones, not the windows popping up :p 20090405 23:51:22< cjhopman> make that 81 like 1000 20090405 23:52:18< Crab_> cjhopman: and add " // Level 125 unit gives 1000 XP and the highest mainline is level 60" comment :) 20090405 23:52:23< corn> Sirp: the obvious solution is to get a computer with 8 cores 20090405 23:52:26< cjhopman> though then, someday someone might have a level 125 unit 20090405 23:52:29< corn> and 16 gb of ram 20090405 23:52:31< cjhopman> lol, yeah crab 20090405 23:52:47< Crab_> and then, someday, someone will look and say " horror ! why there is a hardcoded 1000 xp with a comment ..." 20090405 23:53:08< cjhopman> and they will just make it 50000 20090405 23:53:33< Crab_> ) 20090405 23:55:29-!- molgrum [n=molgrum@c83-249-53-163.bredband.comhem.se] has quit ["Lämnar"] 20090405 23:56:47-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has quit [Read error: 104 (Connection reset by peer)] 20090405 23:56:52-!- VladimirSlavik [n=chatzill@wesnoth/translator/VladimirSlavik] has left #wesnoth-dev [] 20090405 23:57:02-!- Turuk [n=Turuk@wesnoth/forumsith/turuk] has joined #wesnoth-dev 20090405 23:57:09-!- Espreon [n=chatzill@wesnoth/developer/espreon] has joined #wesnoth-dev 20090405 23:59:55< alink> Crab_: I just notice now the second part of the bug --- Log closed Mon Apr 06 00:00:08 2009