--- Log opened Tue Dec 23 00:00:18 2008 20081223 00:03:49< fendrin__> The Great River, Saurgrath, Arkan Thoria, The Cliffs of Thoria and the Mountains of Thoria are locations mentioned in the LoW story. 20081223 00:04:26< ESR__> It would make sense to put them on an ancient-names overlay, I guess. 20081223 00:04:51< CIA-8> loonycyborg * r31661 /trunk/src/thread.hpp: 20081223 00:04:51< CIA-8> Fixed container usage error revealed by libstdc++ debug mode. 20081223 00:04:51< CIA-8> Fixed "attempt to access an element in an empty container." error which 20081223 00:04:51< CIA-8> happened when running unit tests compiled with -D_GLIBCXX_DEBUG. 20081223 00:05:25< fendrin__> It's not far after aoi and trow that campaigns could use a similar map. 20081223 00:05:34< ESR__> There may already by a LoW overlay in the stack. If there isn't, I guess this should be it. 20081223 00:06:06< Espreon> ESR__: Is this all right? http://dc98.2shared.com/download/4504228/3f61230e/yay.png?tsid=20081222-180835-56503456 20081223 00:07:12< ESR__> It should probably have some sort of city graphic associated with it. 20081223 00:07:54< Espreon> All right... a large city perhaps? 20081223 00:08:59< fendrin__> Espreon: maybe a image that is more fortification like. 20081223 00:09:11-!- loonycyborg [n=sergey@79.139.247.111] has quit ["Zzzzzzzzzzzzzzzzzzzz"] 20081223 00:09:14-!- boucman [n=rosen@159.83.102-84.rev.gaoland.net] has quit [Remote closed the connection] 20081223 00:09:15< Espreon> ESR__: I am going to move the name more into the swampy parts. 20081223 00:17:14< Espreon> ESR__: Is this all right: http://download225.mediafire.com/cgz0emkjie1g/m9e1gnk1jyj/low-saurgrath-test2.png 20081223 00:19:26-!- Sapient [n=sapien-x@c-24-126-133-155.hsd1.ga.comcast.net] has joined #wesnoth-dev 20081223 00:19:47< Espreon> Hello Sapient. 20081223 00:20:08< Sapient> Mordante: because lexical_cast_default would not handle some values correctly 20081223 00:20:12< Sapient> hi Espreon 20081223 00:20:18-!- crimson_penguin [n=ben@64.201.60.217] has quit ["Leaving"] 20081223 00:20:29< Espreon> Sapient: mordante is asleep. 20081223 00:20:43< Sapient> I know; we shoot at each other in the irclogs 20081223 00:20:46< ESR__> Espreon: That's fine. You should check that it doesn't come too near the Dread Swamp label when the whole tyhing is composited. 20081223 00:21:25< Espreon> ESR__: I am going to move it to the other side of the swamp. 20081223 00:22:12< Sapient> I think FormulaAI does not handle floats 20081223 00:22:51< Sapient> every number is truncated to 0 decimal places at the token level 20081223 00:23:28< Sapient> and boost would throw an exception if you had too many decimals 20081223 00:23:56< Espreon> ESR__: Wait, so the Swamp of Dread's label should be added to the LoW layer as well? 20081223 00:24:05< Sapient> whereas wesnoth's lexical_cast_default would return the default instead of truncating 20081223 00:25:00< ESR__> Espreon: Hmmm...that's an interesting question. fendrin, do you have an opinion? 20081223 00:25:43< Espreon> Wait, so you were thinking that Saurgrath was being added to the name layer? 20081223 00:26:14< ESR__> No. 20081223 00:26:41< ESR__> The name isn't known in later times. 20081223 00:26:45< Espreon> Hmmm... the concern of SoD's label appearing over Saurgrath's name led me to believe that. 20081223 00:27:04< ESR__> I should havev thought it through more carefully. 20081223 00:27:16< fendrin__> The swamp is not mensioned in the story of low. Maybe the humans gave it that name later. It's okay to have the swamp unnamed. 20081223 00:27:50< Espreon> All right. 20081223 00:27:55< Espreon> Lemme save and commit. 20081223 00:29:43< CIA-8> espreon * r31662 /branches/resources/cartography-tools/great-continent.xcf: * Added Saurgrath to the LoW layer. 20081223 00:29:50< fendrin__> I am not sure about the location of Saurgrath. The map's terrain should fit the location at least a bit. I am flexible with that to a certain degree because I can flip the map with the map editor. 20081223 00:30:00< Espreon> ... 20081223 00:30:48< Espreon> I'll add the other names. 20081223 00:36:19< Espreon> fendrin__: In which scenarios is the Cliffs of Thoria and the Mountains of Thoria featured? 20081223 00:36:25< Espreon> *are 20081223 00:40:17< fendrin__> 10 cliffs 11+12 mountains 20081223 00:40:56< Espreon> All right, thanks. 20081223 00:42:28< Sapient> ilor: those are some very interesting changes. good catch in sound.cpp 20081223 00:42:59< ilor> always a good idea to check why a different compiler complains with warnings ;) 20081223 00:43:21< Sapient> MSVC is not as braindaid as some people *cough*esr*cough* complain ;) 20081223 00:43:27-!- stikonas [n=and@ctv-79-132-180-249.vinita.lt] has quit [Read error: 110 (Connection timed out)] 20081223 00:43:33< Sapient> *braindead 20081223 00:44:00< Sapient> and indeed it is much faster to build and easier to debug in; I miss mine :( 20081223 00:44:31< ilor> I'm not sure about the faster builds, but debugging is certainly very nice 20081223 00:45:11< Sapient> I am running a laptop with low total RAM so that may be a factor 20081223 00:45:12< Espreon> ESR__: Aren't the Cliffs of Thoria also featured in HttT? 20081223 00:45:25< ilor> next up, see what ICC says and then maybe PC-Lint? :) 20081223 00:45:30< ESR__> Yes, they are. 20081223 00:46:07< ESR__> Sapient: Any code I cannot examine the source for is brain-0dead by definition. 20081223 00:46:45< Sapient> can you examine the source for your MOM? :P 20081223 00:47:01< Espreon> ESR__: So, should I add Cliffs of Thoria to the modern names list as well? 20081223 00:47:18 * Sapient best comeback all time 20081223 00:47:43-!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has quit [Read error: 104 (Connection reset by peer)] 20081223 00:48:26< ESR__> Sapient: Mu mother isn't a program, regardless of the ontological state of yours. 20081223 00:48:35< ESR__> sMu/My/ 20081223 00:48:38< ESR__> :-) 20081223 00:49:03< ESR__> Espreon: Logically it's a good idea, but esthetically... 20081223 00:49:31< ESR__> ...I'm not sure trying to overlay more on those mountains is a good idea. 20081223 00:51:20< cib0> someone finding someone good about MS software.. im impressed 20081223 00:51:20< Espreon> All right, I'll just label them in the LoW layer. 20081223 00:51:29< cib0> s/someone/something 20081223 00:51:31< Ivanovic> time to head off to bed, n8 20081223 00:51:36< Espreon> Good night. 20081223 00:51:40< cib0> night 20081223 00:53:33< cib0> wow.. ive been trying to debug this for half an hour now, until i find out that im testing with a different executable than i am compiling 20081223 00:55:19< Sapient> If I ever write a list of "C++ Gotchas" then I will definitely include this one: - audio_lock lock(); 20081223 00:56:07< Sapient> not sure if I wrote that line or not but I definitely overlooked it without a second glance 20081223 00:58:41< Sapient> as for those widgets with -(unsigned) issues... those probably date back to pre-1.0 versions, but apparently they never caused any harm 20081223 00:59:39-!- DDR [n=chatzill@66.183.125.196] has joined #wesnoth-dev 20081223 01:03:17< ilor> Sapient: one of those was in gui/widgets ;) but I agree, mostly harmless 20081223 01:03:25< ilor> I'm off now, good night 20081223 01:03:34< Sapient> gn, ilor 20081223 01:03:42-!- ilor [n=user@unaffiliated/ilor] has quit [] 20081223 01:04:36< Espreon> ESR__: I am going to add variations to the label brush. 20081223 01:05:48-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit [Remote closed the connection] 20081223 01:07:01< CIA-8> espreon * r31663 /branches/resources/cartography-tools/great-continent.xcf: * Added the Great River and Arkan-thoria labels to the LoW layer. 20081223 01:12:25-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has quit [] 20081223 01:25:48< Espreon> Good bye... 20081223 01:25:55-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit [Remote closed the connection] 20081223 01:36:26-!- Espreon [n=Espreon@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20081223 01:42:54< Soliton> looks like undoing recalls and some WML events still cause corrupted replays. 20081223 01:43:05-!- Espreon [n=Espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit ["ChatZilla 0.9.84 [Firefox 3.0.3/2008092417]"] 20081223 01:47:54< cib0> sounds messy 20081223 01:48:43< Soliton> especially since undoing recalls caused corruption before and was fixed... 20081223 02:03:27< cib0> C++ doesn't support named arguments? =( 20081223 02:05:04< Sapient> ? C++ doesn't support named arguments? 20081223 02:07:41< cib0> i guess in C++ you can't specify arguments for a function by name, e.g. myfunction(foo = bar), or can you? 20081223 02:08:01< cib0> i think you can only set default values like that 20081223 02:09:00< Sapient> riiight 20081223 02:10:56< AI0867> you can use a struct as an argument though 20081223 02:11:01< AI0867> and only set the members you want 20081223 02:11:20< AI0867> or you can use varargs, but they have to be in order 20081223 02:11:37< cib0> true, C++ seems to rely heavily on sharing data via structs 20081223 02:12:23< Sapient> unless you use MFC, then it relies heavily upon passing 100's of oddly named paramters 20081223 02:12:54< cib0> i wonder what you would do there in C? i can't imagine programming a huge project like Wesnoth without classes or anything 20081223 02:14:31< Sapient> the object oriented paradigm is a very useful one, but not one wesnoth has strictly adhered to 20081223 02:15:06< Sapient> the entire dialog system for example, used to consist of a single function call with tons of parameters 20081223 02:15:27< Sapient> now it has evolved into a ton of files 20081223 02:16:44-!- Elvish_Pillage2 [n=eli@66-189-15-130.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!"] 20081223 02:20:04< Sapient> I have mixed feelings about this final development ;) 20081223 02:21:14-!- Sirp [n=me@222-154-40-244.jetstream.xtra.co.nz] has joined #wesnoth-dev 20081223 02:23:34< Sapient> yo Sirp 20081223 02:25:23< Sirp> hi Sapient 20081223 02:25:35< Sirp> Sapient: do you have any idea how firewalls work under Windows? 20081223 02:25:50< Sirp> it seems like our outgoing connections to the stats server are being blocked on Windows. 20081223 02:26:08< Sapient> Sirp, I read your comments about prisoners sending mail. 20081223 02:26:23< Sapient> I'm certainly not an expert on Windows firewall behavior 20081223 02:26:26< Sirp> :) 20081223 02:26:31< Sirp> okay 20081223 02:26:33< Sapient> I've used Wireshark utility like once 20081223 02:26:40< Sirp> what's Wireshark? 20081223 02:26:49< Sapient> packet sniffer basically 20081223 02:27:02 * Sirp nods 20081223 02:27:39< Sapient> I was just speaking in the irclog about FormulAI and floats 20081223 02:27:56< Sapient> apparently it truncates all of them into integers at the token level 20081223 02:28:31< Sapient> I can foresee some complaints about that behavior 20081223 02:31:48< Sapient> Sirp: I can take a look at my firewall settings if you have any specific questions 20081223 02:35:37-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has quit ["Leaving"] 20081223 02:35:40-!- voris [n=voris@c-24-16-107-149.hsd1.wa.comcast.net] has joined #wesnoth-dev 20081223 02:35:58< Sirp> Sapient: I thought Dragonking made the formula system support floats. 20081223 02:36:18< Sapient> I'm using windows SP1... so, no builtin firewall 20081223 02:36:27< Sapient> XP Pro SP1 20081223 02:36:38-!- dlr365 [n=doug@h44-199.reznet.ucalgary.ca] has joined #wesnoth-dev 20081223 02:36:41< Sirp> really, XP doesn't have a builtin firewall? 20081223 02:36:44< Sirp> or just XP Pro? 20081223 02:36:53< Sapient> SP2 has it 20081223 02:37:01< Sapient> "Service Pack" 20081223 02:37:04< Sirp> ahhh 20081223 02:37:23< Sirp> Sapient: maybe we will have to set up a test to see if you are sending stats properly. :) 20081223 02:37:30< Sirp> it might be another problem entirely. 20081223 02:37:40< Sapient> I can be the control 20081223 02:40:48< voris> You still didn't apply SP2? 20081223 02:40:53< voris> Hard core. :) 20081223 02:41:10< Sapient> don't underestimate my resistance to change ;) 20081223 02:41:51< Sapient> I remember when SP2 first came out and people were complaining about all the problems 20081223 02:42:01< Sapient> I was like, meh... forget it 20081223 02:42:10< voris> All better now. 20081223 02:42:25< voris> I wouldn't trust an XP install without it. 20081223 02:42:51< voris> Too many security patches that seem to need you to apply it before you can get them. 20081223 02:43:14< Sapient> there's no way for me to update anymore though, since I don't have the genuine "advantage" 20081223 02:43:23< voris> heh 20081223 02:43:54< Sapient> so my only choice would be to blow the whole thing away with the lousy Dell restore disk, which I probably lost by now 20081223 02:45:40< Sapient> which entails the risk of losing files, which aren't backed up anywhere 20081223 02:46:51< cib0> i always viewed windows as something i wanted to get rid of, so i never installed any service packs or anything 20081223 02:46:54< AI0867> sounds like a good moment to ditch windows, what's stopping you? 20081223 02:48:06-!- DDR [n=chatzill@66.183.125.196] has quit [Read error: 110 (Connection timed out)] 20081223 02:49:37< Sapient> AI0867: good question, I've been debating such a move for a long time 20081223 02:50:07< Sapient> but I would like to make some sort of a backup before I attempt such a thing 20081223 02:50:37< Sapient> which would involve a purchase I'd probably be better of spending on a new laptop 20081223 02:50:59< Sapient> but I'm too broke/cheap to do that 20081223 02:51:03< voris> Step 1: get laptop 20081223 02:51:15< voris> Step 2: install linux on laptop 20081223 02:51:18< Sapient> Step 0: profit :P 20081223 02:51:23< voris> :P 20081223 02:51:49< voris> Then your desktop is a ready made "backup" :) 20081223 02:52:15< Sapient> indeed 20081223 02:52:23< Sapient> sounds like a good plan 20081223 02:52:30< Sapient> I hope Santa thinks I've been good 20081223 02:56:33-!- DDR [n=chatzill@66.183.125.196] has joined #wesnoth-dev 20081223 03:02:51-!- crimson_penguin [n=ben@64.201.60.217] has joined #wesnoth-dev 20081223 03:09:01< Sapient> Sirp: I am behind a router, though. it may block some ports 20081223 03:10:44< Sirp> Sapient: it's outgoing port 80 though 20081223 03:11:02< Sirp> a normal http POST request, should be the same way a browser does it 20081223 03:11:12< Sapient> uh huh 20081223 03:11:13< Sirp> which is why I'm so confused that it's getting blocked. 20081223 03:13:23< Sapient> do you want my stat upload code? 20081223 03:15:17< Sapient> Sirp: I just entered a formula $(10*0.5)... Result: 0 20081223 03:15:38< Sapient> I'd say floats are not in yet 20081223 03:19:53< Sirp> Sapient: yes, your stat upload code would be nice to have. :) 20081223 03:20:30< Sirp> and we'll have to talk to Dragonking about float support. 20081223 03:23:01< Sapient> http://stats.wesnoth.org/?172842913468 20081223 03:23:33< Sirp> Sapient: have you played some games with the latest dev release and/or recent SVN? 20081223 03:24:21< Sapient> that link is for my for Wesnoth v1.5.6 20081223 03:25:43< Sirp> Sapient: your stats don't seem to be coming through. 20081223 03:25:55< Sapient> looks like I only played two scenarios of LoW 20081223 03:26:18< Sapient> I have two upload files 00000001, and 00000002 20081223 03:26:28< Sirp> hmmmm 20081223 03:27:37< Sapient> I have more upload files for my 1.4 version 20081223 03:28:05< Sirp> Sapient: I might have to debug this with you sometime when I have more time. 20081223 03:28:12< Sapient> ok 20081223 03:44:14< CIA-8> cib * r31664 /trunk/ (9 files in 2 dirs): bug #12227: Added the carryover_report, save and linger_mode attributes to the endlevel tag, added a deprecated message for result=continue and result=continue_no_saves 20081223 03:49:58< cib0> oh, i didn't know it would get posted to the bug tracker automatically, nice 20081223 03:58:37-!- Shawn_ [n=chatzill@12-216-81-131.client.mchsi.com] has joined #wesnoth-dev 20081223 03:59:08< Shawn_> hello 20081223 04:00:43-!- Shawn_ is now known as ShawnG 20081223 04:00:48< Sapient> yo Shawn 20081223 04:00:55-!- ShawnG is now known as BusyByte 20081223 04:02:10< BusyByte> I would like to help developing on Wesnoth but it's been a while since I've done any C++, I'm mainly into Java/eclipse now, is there something or someone that can help me get setup? 20081223 04:03:00< BusyByte> I tried the guides a while ago and couldn't get one last error resolved. I had troubles finding the right versions of the packages. 20081223 04:04:22< BusyByte> Your website was being rebuilt while I was trying so I ended up giving up 20081223 04:04:50< Sapient> are you on Windows? 20081223 04:04:56< BusyByte> yeah, xp 20081223 04:05:11< Sapient> there's a guide in the forums; good luck 20081223 04:05:30< BusyByte> yeah, I think that is what I followed last time 20081223 04:05:40< Sapient> http://www.wesnoth.org/forum/viewtopic.php?f=5&t=18877 20081223 04:05:46< BusyByte> I'll try again and post any questions I have to here 20081223 04:06:29< BusyByte> Has anyone done any setup with Eclipse cpp? 20081223 04:06:34< cib0> BusyByte: the problem is not so much C++, but rather understanding how Wesnoth works internally, since it's a quite large project and most things are interwined somehow 20081223 04:07:03< Sapient> cib0: just getting all the dependencies set up properly is in itself a large challenge on Windows 20081223 04:07:10< cib0> that's true 20081223 04:07:36< Sapient> IIRC, it took me about one month to get Wesnoth to compile, then an extra month to get it to build 20081223 04:07:40< BusyByte> yes, the dependencies were hard for me, I looked at the code, was pretty straight forward from what I saw 20081223 04:08:04< Sapient> but things should be a lot easier now with Mist's guide 20081223 04:08:56< cib0> yeah, Mist really saved my day back when i had to use windows 20081223 04:09:10< BusyByte> what is Mist? 20081223 04:09:24< cib0> a very friendly user :p 20081223 04:09:34< BusyByte> ah, that's cool 20081223 04:10:07< cib0> who provided a complete guide on how to compile on windows.. and even provided some built boost libraries IIRC, but no idea if they're still up 20081223 04:10:32< cib0> does scons work on windows out of the box? 20081223 04:11:02< Sapient> lol 20081223 04:11:16< cib0> i guess not, how should it know where to find the libraries when windows has no standard as where to put them? 20081223 04:13:09< Sapient> if it could automatically download all the dependencies for you that might work 20081223 04:13:41< BusyByte> it would be nice that you use something like maven 20081223 04:13:50< BusyByte> download all project dependencies 20081223 04:15:25< cib0> maven? 20081223 04:15:34< Sapient> you know, like CPAN 20081223 04:16:00< BusyByte> http://maven.apache.org/ 20081223 04:16:13< BusyByte> not sure if there is C++ equivalent 20081223 04:16:33< cib0> some sort of apt for windows? :p 20081223 04:17:26< BusyByte> maven isn't windows specific, for java though 20081223 04:17:50< BusyByte> I think it can detect system though 20081223 04:20:01< voris> Maven has...issues. 20081223 04:20:18< voris> I liked working with it, though. Certainly a nice idea. 20081223 04:20:26< cib0> hm.. i still wonder what exactly the windows developers are doing 20081223 04:20:43-!- crimson_penguin [n=ben@64.201.60.217] has quit ["poof!"] 20081223 04:20:51< cib0> when boost got included with Wesnoth.. i simply gave up compiling wesnoth because it ate too much time getting it to work 20081223 04:21:22< BusyByte> that sounds like a problem 20081223 04:21:53< cib0> yeah, but there are windows devs out there, so i guess you can manage somehow 20081223 04:23:07< voris> I thought I read something in the archives about just bringing in the pointer libraries or something from boost. 20081223 04:23:46< voris> I guess that eventually lost out to just bringing in the whole thing. 20081223 04:23:46< cib0> all the other libraries provide prebuilt packages, so the only problem there is manually redownloading every now and then, but i dont think there are windows binaries for boost available 20081223 04:24:04< voris> No? 20081223 04:24:06< voris> Weird. 20081223 04:24:59< BusyByte> looks like SCons is similiar to maven 20081223 04:26:39< cib0> it would be weird if it could install packages though, they would have to be on a dedicated server then 20081223 04:28:57-!- Ivanovic_ [n=ivanovic@dtmd-4db24435.pool.einsundeins.de] has joined #wesnoth-dev 20081223 04:29:57< voris> You can set it up like that. 20081223 04:30:01< voris> For repeatable builds. 20081223 04:30:34< voris> Or you can live dangerously and use the main repo for builds that change at will based on the whims of each individual package you use in your project. 20081223 04:30:40< voris> For maximum ulcers! 20081223 04:36:01< BusyByte> thanks for the help everyone, i'm logging 20081223 04:36:30-!- BusyByte [n=chatzill@12-216-81-131.client.mchsi.com] has quit ["ChatZilla 0.9.84 [Firefox 3.0.5/2008120122]"] 20081223 04:44:58-!- Ivanovic [n=ivanovic@dtmd-4db2b490.pool.einsundeins.de] has quit [Read error: 113 (No route to host)] 20081223 04:46:55-!- Ivanovic_ is now known as Ivanovic 20081223 04:48:49-!- [Relic] [n=[Relic]@adsl-76-229-202-137.dsl.milwwi.sbcglobal.net] has joined #wesnoth-dev 20081223 04:49:50< [Relic]> Hello :) 20081223 04:51:33< Sapient> yo [Relic] 20081223 05:09:53< [Relic]> :) 20081223 05:33:31-!- cib0 [n=cib@p4FD0BF34.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 20081223 05:56:49-!- JonJon [n=chatzill@217-211-27-121-no23.tbcn.telia.com] has joined #wesnoth-dev 20081223 06:04:10-!- JonJon [n=chatzill@217-211-27-121-no23.tbcn.telia.com] has quit ["ChatZilla 0.9.83 [Firefox 2.0.0.20/2008121709]"] 20081223 06:11:19< CIA-8> ai0867 * r31665 /trunk/ (6 files in 2 dirs): (log message trimmed) 20081223 06:11:19< CIA-8> Address bug #12714: 20081223 06:11:19< CIA-8> [end_turn] now works properly in "turn events" and in multiplayer. 20081223 06:11:19< CIA-8> Known issues remaining: 20081223 06:11:19< CIA-8> -[end_turn] currently breaks replays 20081223 06:11:20< CIA-8> -If an attack is prevented by [end_turn] in a moveto [event], the attack 20081223 06:11:22< CIA-8> cursor remains and prevents further control of units. Workaround: reloading 20081223 06:12:14< Sapient> does end_turn also cause cancer? 20081223 06:12:21< Sapient> hmm.. sounds deadly 20081223 06:13:38< AI0867> Sapient: it did, I fixed that ;) 20081223 07:02:40-!- Sapient [n=sapien-x@c-24-126-133-155.hsd1.ga.comcast.net] has quit [] 20081223 07:08:14-!- [Relic] [n=[Relic]@adsl-76-229-202-137.dsl.milwwi.sbcglobal.net] has quit ["Leaving"] 20081223 07:15:40-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20081223 07:35:18-!- JonJon [n=chatzill@217-211-27-121-no23.tbcn.telia.com] has joined #wesnoth-dev 20081223 07:47:29< JonJon> anyone that have Ipod Nano (4G)? 20081223 08:39:32-!- mordante [n=chatzill@roadie.xs4all.nl] has joined #wesnoth-dev 20081223 08:40:00< mordante> morning 20081223 08:40:41< mordante> ilor YogiHH uses MSVC again and the one who filed patch 1093 20081223 08:48:05< mordante> thanks for the info Sapient, and the formula system indeed doesn't support floats 20081223 08:52:41< mordante> cib0 C++ has the named parameter idiom, to emulate what you want http://www.parashift.com/c++-faq-lite/ctors.html#faq-10.18 . /src/text.cpp uses it. 20081223 09:35:45-!- DDR [n=chatzill@66.183.125.196] has quit [Remote closed the connection] 20081223 10:13:25-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has joined #wesnoth-dev 20081223 10:14:38-!- JonJon [n=chatzill@217-211-27-121-no23.tbcn.telia.com] has quit ["ChatZilla 0.9.83 [Firefox 2.0.0.20/2008121709]"] 20081223 10:18:46< mordante> I'm off bye 20081223 10:18:54-!- mordante [n=chatzill@roadie.xs4all.nl] has quit ["ChatZilla 0.9.84 [Firefox 3.0.4/2008102920]"] 20081223 10:30:17< Ivanovic> moin 20081223 10:35:22< CIA-8> ivanovic * r31666 /trunk/ (7 files in 6 dirs): updated Chinese (Simplified) translation 20081223 10:47:45-!- loonybot [n=loonybot@79.139.247.111] has joined #wesnoth-dev 20081223 10:48:31-!- loonycyborg [n=sergey@79.139.247.111] has joined #wesnoth-dev 20081223 11:09:53-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20081223 11:12:10-!- dlr365 [n=doug@h44-199.reznet.ucalgary.ca] has quit ["rawr I'm an emu!"] 20081223 11:22:48-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has quit [] 20081223 11:25:56-!- isaac_ [n=isaac@18.Red-88-18-19.staticIP.rima-tde.net] has joined #wesnoth-dev 20081223 11:27:32-!- isaac [n=isaac@debian/developer/isaac] has quit [Read error: 60 (Operation timed out)] 20081223 11:45:24< Ivanovic> wesbot: seen crimson_penguin 20081223 11:45:24< wesbot> Ivanovic: The person with the nick crimson_penguin last spoke 2d 10h ago. 7h 24m ago was here and on the channel #wesnoth with the message: "poof!" 20081223 12:01:15-!- Elvish_Pillager [n=eli@66-189-15-130.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20081223 12:10:08-!- ilor [n=user@unaffiliated/ilor] has joined #wesnoth-dev 20081223 12:46:25-!- Sirp [n=me@222-154-40-244.jetstream.xtra.co.nz] has quit [Read error: 110 (Connection timed out)] 20081223 12:48:39< CIA-8> loonycyborg * r31667 /trunk/src/network_worker.cpp: 20081223 12:48:39< CIA-8> Fixed incorrect iterator usage revealed by libstdc++ debug mode. 20081223 12:48:39< CIA-8> Fixed "error: attempt to dereference a singular iterator" error when 20081223 12:48:39< CIA-8> running unit tests compiled with -D_GLIBCXX_DEBUG. 20081223 12:58:22-!- Baufo [n=thomas@62-47-158-13.adsl.highway.telekom.at] has joined #wesnoth-dev 20081223 13:22:26< CIA-8> loonycyborg * r31668 /trunk/src/network_worker.cpp: 20081223 13:22:26< CIA-8> Fixed container usage error revealed by libstdc++ debug mode. 20081223 13:22:26< CIA-8> "attempt to subscript container with out-of-bounds index 0, but 20081223 13:22:26< CIA-8> container only holds 0 elements" when running unit tests. 20081223 13:26:28< loonycyborg> Compared to dummy unit type UB those were pushovers :) 20081223 13:27:07< ilor> did anyone actually fix the dummy unit type ub? 20081223 13:27:15< loonycyborg> No :( 20081223 13:27:31< ilor> I had a look at it and it seems to be fundamentally wrong 20081223 13:27:36< loonycyborg> That code makes my head spin 20081223 13:28:42< ilor> I'd like to understand what the dummy unit is *for* 20081223 13:29:01< ilor> and how is getting the dummy unit different from not getting any 20081223 13:30:21-!- yann_ [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20081223 13:39:34-!- Elvish_Pillage2 [n=eli@66-189-15-130.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20081223 13:49:57< Baufo> hmm, 1.6 feature freeze has started already, right? 20081223 13:50:42-!- CIA-8 [n=CIA@208.69.182.149] has quit [] 20081223 13:51:56< Soliton> i don't think so. 20081223 13:54:13< Baufo> well, the release plan said so 20081223 13:55:02< Soliton> yeah, but things don't always go according to plan. :-) 20081223 13:55:16< Soliton> i'd expect a proper announcement. 20081223 13:55:28< Baufo> ok, great :) 20081223 13:56:04-!- Elvish_Pillager [n=eli@66-189-15-130.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20081223 13:58:01< Baufo> well, Noy asked me to implemented something to give mp server mods the possibility to highlight their messages 20081223 13:58:09< Baufo> (like the green text on the forums) 20081223 13:58:35< Baufo> I wonder what the best chat syntax for this might be 20081223 13:59:41< Soliton> i think an icon in the user list for authenticated mods might be a better first step. 20081223 14:00:11< Baufo> good idea 20081223 14:00:41< Soliton> a different chat color for server messages would be nice too though. 20081223 14:01:17< Soliton> i'm not sure if it's good for mods to always chat in a different color and a special syntax to use a different color is probably too cumbersome. 20081223 14:01:33< Baufo> the problem I see with an icon though is that we already have icons to indicate friend/ignored status 20081223 14:01:37< Soliton> (and i assume that's maybe not what he meant.) 20081223 14:01:55< Soliton> Baufo: why is that a problem? 20081223 14:02:05< Baufo> well, he just said he wanted to highlight text 20081223 14:02:12< Soliton> there is a bug report with more icons for the user list, btw. 20081223 14:02:13< Baufo> because it consumes space 20081223 14:02:30< Soliton> you mean when you ignore a mod?! :-) 20081223 14:02:49< Baufo> :) 20081223 14:02:58< Soliton> well, it's true that some icons are concurrent. 20081223 14:02:59< Baufo> I think this should be made impossible in the first place 20081223 14:03:17< Baufo> (ignoring mods) 20081223 14:03:38< Soliton> yeah. 20081223 14:04:10< Baufo> an extra mod message command (like whispering) would be an easy solution to this problem I think 20081223 14:06:01< Soliton> yeah, it's probably the easiest solution, indeed. 20081223 14:06:22< Soliton> since it'd be server side only. 20081223 14:07:01< Soliton> technically we already have lobbymsg. 20081223 14:07:14< Baufo> yeah 20081223 14:07:18< Soliton> and you could attach your server nick to the message. 20081223 14:07:42< Baufo> what if you want to whisper? 20081223 14:08:17< Soliton> we could make query msg as well. 20081223 14:08:33 * Soliton never uses the whisper alias. 20081223 14:08:45 * Baufo neither 20081223 14:08:54< Baufo> :) 20081223 14:10:03-!- CIA-54 [n=CIA@208.69.182.149] has joined #wesnoth-dev 20081223 14:11:26< Soliton> maybe just implement query msg and try to color server messages differently? 20081223 14:16:45< Soliton> the first is trivial for the second we need a new attribute for players that marks them as mods, i guess. 20081223 14:18:39< Baufo> yeah 20081223 14:19:57< Soliton> the bug report i mentioned: http://gna.org/bugs/?11726 20081223 14:22:23< Baufo> interesting 20081223 14:23:46< Baufo> well, wiring those in is trivial, except for the idle status 20081223 14:24:08< Soliton> and observing/playing. 20081223 14:51:05-!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20081223 14:56:31-!- BenUrban [n=benurban@c-68-49-10-243.hsd1.md.comcast.net] has joined #wesnoth-dev 20081223 14:59:09-!- EdB [n=EdB@247.101.196-77.rev.gaoland.net] has joined #wesnoth-dev 20081223 15:12:43-!- EdB [n=EdB@247.101.196-77.rev.gaoland.net] has quit ["Konversation terminated!"] 20081223 15:13:37-!- EdB [n=EdB@247.101.196-77.rev.gaoland.net] has joined #wesnoth-dev 20081223 15:23:18-!- Rhonda_ [n=rhonda@xanadoo.deb.at] has quit [Read error: 110 (Connection timed out)] 20081223 15:27:18-!- yann_ [n=dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Remote closed the connection] 20081223 15:33:57-!- ilor [n=user@unaffiliated/ilor] has quit [Read error: 60 (Operation timed out)] 20081223 15:38:06-!- ilor [n=user@unaffiliated/ilor] has joined #wesnoth-dev 20081223 16:15:40-!- stikonas [n=and@ctv-79-132-180-249.vinita.lt] has joined #wesnoth-dev 20081223 16:18:32-!- Sirp [n=me@222-154-40-244.jetstream.xtra.co.nz] has joined #wesnoth-dev 20081223 16:41:10-!- zookeeper [n=l@dsl-tkubrasgw1-fe9ff800-215.dhcp.inet.fi] has joined #wesnoth-dev 20081223 16:51:28< CIA-54> shadowmaster * r31669 /trunk/ (changelog players_changelog): 20081223 16:51:28< CIA-54> Updated changelogs with graphic changes 20081223 16:51:28< CIA-54> (rocklobbers' new animation is not mentioned on players_changelog) 20081223 16:51:45< CIA-54> shadowmaster * r31670 /trunk/changelog: Replaced "unit frames" with "unit graphics" in changelog 20081223 16:52:03< CIA-54> shadowmaster * r31671 /trunk/src/help.cpp: 20081223 16:52:03< CIA-54> Mark units with impossible movement costs (i.e. 100000000) with "-" in 20081223 16:52:03< CIA-54> the help screen. 20081223 16:52:19< CIA-54> shadowmaster * r31672 /trunk/src/help.cpp: 20081223 16:52:19< CIA-54> Surround the impossible-movement dash with single quotes (') for help 20081223 16:52:19< CIA-54> formatting, just in case. 20081223 16:52:31< Shadow_Master> good day 20081223 16:52:39< Shadow_Master> Ivanovic: around? 20081223 16:52:47< Ivanovic> no 20081223 16:52:48< Ivanovic> ;) 20081223 16:53:54< Shadow_Master> Ivanovic: how did you make Jetryl have a special color? 20081223 16:54:02< Shadow_Master> or was it cycholka.. :) 20081223 16:54:06-!- Sirp [n=me@222-154-40-244.jetstream.xtra.co.nz] has quit [Read error: 145 (Connection timed out)] 20081223 16:54:39 * Ivanovic is innocent 20081223 16:55:46< Shadow_Master> damnit 20081223 16:55:54< Shadow_Master> could you figure out how did he do that trick? :) 20081223 16:56:34< Shadow_Master> it'd be nice if Kitty, since she's both a member of the developers group and "* Director", had the same colour as Jetryl 20081223 16:58:42< loonycyborg> If I compile wesnoth with icc -fast, it eats almost all of my 1.5Gb RAM and 3Gb swap O_O 20081223 17:00:03< loonycyborg> icc itself that is 20081223 17:07:12< ilor> does it compile under icc without problems? 20081223 17:07:45< loonycyborg> wesnoth and tests yes. 20081223 17:07:48< loonycyborg> wesnothd no. 20081223 17:08:33< loonycyborg> There's an error in wsmtp or whatever it's called. 20081223 17:08:37< ilor> and runtime, do you get the load dialog crash or new widgets crash? 20081223 17:08:43< loonycyborg> No. 20081223 17:09:20< stikonas> Ivanovic: cmake build doesn't work for me with new memory allocator. There are no problems with scons. 20081223 17:09:32< stikonas> Ivanovic: Maybe poolalloc.c and malloc.c should be commented out in src/CMakeLists.txt before 1.5.7. 20081223 17:09:52< loonycyborg> What errors are you getting? 20081223 17:09:53< Ivanovic> i have not tested the cmake build for ages 20081223 17:09:53-!- BenUrban [n=benurban@unaffiliated/benurban] has quit [Read error: 104 (Connection reset by peer)] 20081223 17:09:59< Ivanovic> reminds me that i should do so again soon... 20081223 17:10:00< Shadow_Master> Ivanovic: did you rad what I said above btw 20081223 17:10:09< stikonas> there are no errors 20081223 17:10:15< stikonas> when I run the game 20081223 17:10:21< stikonas> it hangs before titlescreen 20081223 17:10:24-!- BenUrban [n=benurban@unaffiliated/benurban] has joined #wesnoth-dev 20081223 17:10:33< Ivanovic> Shadow_Master: i have *NO* idea how to change the colors for people 20081223 17:10:34< loonycyborg> Weird :? 20081223 17:10:43< stikonas> there was workaround for that IIRC 20081223 17:11:18< loonycyborg> Don't compile .c files and pass a define that affects game.cpp 20081223 17:11:45< stikonas> loonycyborg: yes, I know that, but it has to be done by default before 1.5.7 20081223 17:13:51< loonycyborg> I'm sure that Ivanovic will handle fixing CMakeLists.txt accordingly :) 20081223 17:14:00< Shadow_Master> Ivanovic: :( 20081223 17:14:17< Shadow_Master> Ivanovic: I know you don't know. I was asking whether you could figure it out or not :p 20081223 17:17:55< Shadow_Master> if it isn't available in the administrative interface, there might be a lower-level hack that cycholka made that could be grep'd for 20081223 17:18:52< Shadow_Master> and I honestly didn't know Jetryl had administrative powers in the forum... :? 20081223 17:19:12< Shadow_Master> or turin 20081223 17:21:11< Ivanovic> it probably just depends on the groups users are in 20081223 17:21:22< Ivanovic> but atm i got *zero* time to look at anything, busy with uni stuff 20081223 17:23:38< Shadow_Master> okay 20081223 17:23:59< Shadow_Master> but it doesn't depend on the groups, unless Jetryl is member of a hidden group which I can't see in his group memberships list 20081223 17:24:30< loonycyborg> Shadow_Master: Perhaps ask Jetryl himself? :) 20081223 17:26:40< Shadow_Master> Jetryl probably doesn't know... 20081223 17:31:53< Shadow_Master> PM'd him with the best I know about how the forum software seems to work. 20081223 17:32:21< AI0867> Shadow_Master: if I have a unit with 4 movement, 5 movement cost for several terrains and an AMLA that gives him +1 movement 20081223 17:32:36< AI0867> will this show up properly in the manual? 20081223 17:32:47< AI0867> because, I do =P 20081223 17:32:52< Shadow_Master> no. 20081223 17:33:10< Shadow_Master> the help system doesn't know about AMLA or trait-modification margins 20081223 17:33:33< AI0867> then I'm not sure that change was a good one =/ 20081223 17:34:04< Shadow_Master> I could add a 50 Movement points margin so that the cost displays as redwithout hiding the number. 20081223 17:34:14< Shadow_Master> or 100, if you like. 20081223 17:34:26< Shadow_Master> ... or 10. 20081223 17:34:30< AI0867> I think having it coincide with the macro would be nice 20081223 17:34:47< Shadow_Master> macro?? 20081223 17:34:52< Shadow_Master> it is just a text entry: 20081223 17:34:57< AI0867> #define UNREACHABLE 20081223 17:34:58< AI0867> 99 20081223 17:35:03< Shadow_Master> impassable=UNREACHABLE 20081223 17:35:07< AI0867> Shadow_Master: true, but since that's the new standard... 20081223 17:35:52< Shadow_Master> it isn't {UNREACHABLE} 20081223 17:35:52< Shadow_Master> 20081223 17:36:33< Shadow_Master> does the engine know what "UNREACHABLE" (sic) means, or was the 10000000 a result of a bad_lexical_cast? 20081223 17:37:29< Shadow_Master> grepping for "UNREACHABLE" in /src gave me no matches. 20081223 17:38:11< Shadow_Master> i'm seeing an ... atoi() ? 20081223 17:38:11< AI0867> it doesn't 20081223 17:38:18< AI0867> looks like someone made a rather big mistake there... 20081223 17:39:05< Shadow_Master> so, the WML should be {UNREACHABLE} instead? 20081223 17:39:35< AI0867> looks like 20081223 17:39:35< Shadow_Master> loonybot: cerr << atoi("UNREACHABLE"); 20081223 17:39:37< loonybot> error: expected constructor, destructor, or type conversion before '<<' token 20081223 17:40:06< Shadow_Master> loonybot: cerr << (int)atoi("UNREACHABLE"); 20081223 17:40:07< loonybot> Same error. 20081223 17:40:20< Shadow_Master> loonybot: { std::cerr << (int)atoi("UNREACHABLE"); } 20081223 17:40:26< loonybot> 0 20081223 17:40:36< loonycyborg> Don't poke loonybot now. I have icc running 20081223 17:40:44< Shadow_Master> :) 20081223 17:41:10< loonycyborg> It still unfinished compiling optimized version of wesnoth :) 20081223 17:41:34< loonycyborg> and consumes almost all memory and swap 20081223 17:42:21< Shadow_Master> well, um, why was the engine recognizing it as 1eX (X= somthin) ? 20081223 17:43:18< loonycyborg> Arrgh! My kernel just killed icc.. 20081223 17:43:22< Shadow_Master> I'll launch an old build to remember the correct exponent 20081223 17:43:43< Shadow_Master> loonycyborg: um, th ekenrel usually selects other processes, not the allocating one 20081223 17:44:32< Shadow_Master> 10000000 20081223 17:44:38< loonycyborg> icc runs multiple processes :) 20081223 17:44:55< Shadow_Master> 10000000 is what Wesnoth identifies as "IMPASSABLE"(sic) 20081223 17:47:27< Shadow_Master> int unit_movement_type::movement_cost(...) at unit_types.cpp line 337 20081223 17:48:08< Shadow_Master> if the atoi() (!@#$?) call returns 0, the engine decides to put 10000000 in place 20081223 17:48:38< Shadow_Master> well, I admit atoi() is faster for this... 20081223 17:49:18< Shadow_Master> now, which one of our headers includes libc headers in the *interface* :< 20081223 17:50:28< Shadow_Master> shikadibot: log 28794 20081223 17:50:30< shikadibot> Revision 28794 (esr, 2008-08-20 17:38:42 +0000 (Wed, 20 Aug 2008)): 20081223 17:50:30< shikadibot> Factor out magic constant 99 in WML movement costs, renaming it UNREACHABLE. 20081223 17:50:33< shikadibot> Web interface URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=28794 20081223 17:50:37< Shadow_Master> ESR__: pling 20081223 17:51:27< Shadow_Master> git svn blame data/core/macros/unit-utils.cfg: 28794 esr #define UNREACHABLE 20081223 17:51:32< Shadow_Master> for no real purpose... 20081223 17:51:34-!- crimson_penguin [n=ben@64.201.60.217] has joined #wesnoth-dev 20081223 17:52:17< Shadow_Master> I think having that macro is superfluous, since the engine properly identifies the movement_costs as "infinite" anyway 20081223 17:52:44< Shadow_Master> can someone bug ESR__ about this if I don't catch him? zookeeper or AI0867 maybe ? 20081223 17:53:12< zookeeper> yeah 20081223 17:53:18< AI0867> Shadow_Master: sure 20081223 17:53:33< Shadow_Master> AI0867: I'll add a 5 MP margin to help anyway; the cost will be red-tinted but not dashed if the cost falls into that margin above the unit's basic movement points 20081223 17:53:46< AI0867> k 20081223 17:53:56< Shadow_Master> I think no UMC author would be mad enough to apply an object that increases an unit's MP more than 4 MP 20081223 17:53:59< Shadow_Master> er. 5 20081223 17:54:27< AI0867> AMLA_SPEED has a max of 3 20081223 17:54:30< AI0867> so that'll do 20081223 17:54:41< Shadow_Master> I:| 20081223 17:55:44< AI0867> and I don't believe SX allows movement-increases that are *that* ridiculous 20081223 17:58:44-!- cib0 [n=cib@p4FD0CC80.dip.t-dialin.net] has joined #wesnoth-dev 20081223 17:58:51< cib0> hello 20081223 17:59:08< Shadow_Master> hi cib0 20081223 18:04:20< Shadow_Master> cib0: in general, http://www.wesnoth.org/wiki/HackingWesnoth should answer most of your wesnoth-specific doing system qesutions 20081223 18:04:24< Shadow_Master> errr, coding style questions 20081223 18:07:55< zookeeper> hi cib0. i saw you added those nice options to [endlevel] 20081223 18:08:00< Shadow_Master> someone triggred a full recompile? :P 20081223 18:08:29< zookeeper> however, i'd very much suggest not having result=continue etc produce deprecation warnings, since those are used...well, everywhere. 20081223 18:09:44< AI0867> automatic convert in wmllint? 20081223 18:10:10< cib0> zookeeper: hm, maybe i was a bit quick about that one, but they should certainly give deprecation warnings in the long run 20081223 18:10:26< zookeeper> sure 20081223 18:10:30< loonycyborg> Shadow_Master: That's possible. 20081223 18:11:35< Shadow_Master> cib0: please don't deprecate things right now 20081223 18:11:36< loonycyborg> I've made a change to .hpp yesterday, there were hpp changes by other people too.. 20081223 18:11:42< Shadow_Master> cib0: wait for 1.7. 20081223 18:11:52< cib0> ok 20081223 18:12:10< Shadow_Master> unless, of course, there's an urging reason for a syntax change 20081223 18:13:36 * zookeeper can't wait to get to play with those new image path functions \o/ 20081223 18:14:38< loonycyborg> IIRC I've already updated cross-compiled binary since those changes were comitted.. 20081223 18:15:44< Shadow_Master> zookeeper: I already dcoumented them JIC 20081223 18:16:13< zookeeper> yup 20081223 18:19:06< loonycyborg> icc with -O2 is *so* much more tolerable than with -fast 20081223 18:19:51< loonycyborg> At least it managed to compile wesnoth without being killed. 20081223 18:22:07< zookeeper> Shadow_Master, hmm, i tested the blurring on a vampire bat, and the blurred bat's edges are funnily white 20081223 18:22:08 * cib0 utterly fails at the quiz. 20081223 18:22:28< Shadow_Master> zookeeper: yeah, that's a quirk in the blurring algorithm 20081223 18:22:36< zookeeper> ok 20081223 18:22:51< zookeeper> i just thought i'd mention, i can't imagine it being a big deal in most cases 20081223 18:23:31< Shadow_Master> it should probably be fixed at some point, as some other things in sdl_utils.cpp 20081223 18:29:37< CIA-54> cib * r31673 /trunk/ (changelog src/game_events.cpp): Removed the deprecated message for endlevel result=contine|continue_no_save, which were added in r31664, to be re-added in 1.7 20081223 18:33:27 * Shadow_Master wonders if keeping a copy of alpha masks of images in memory would be too expensive but produce some performance gain for screen updates during animations 20081223 18:36:01< CIA-54> shadowmaster * r31674 /trunk/src/help.cpp: 20081223 18:36:01< CIA-54> Add a 5 movement points margin for dashing units' movement costs in 20081223 18:36:01< CIA-54> their help pages. 20081223 18:36:01< CIA-54> Even if their maximum MP falls into the margin, being above the movement 20081223 18:36:01< CIA-54> cost, the cost is tinted red as usual. 20081223 18:39:55< cib0> hm, can anyone help me fixing a bug crashing Wesnoth? there's some arithmetic exception here and i lack the experience to guess what could cause it 20081223 18:40:28< Shadow_Master> message 20081223 18:40:35< Shadow_Master> LC_ALL=C wesnoth if necessary 20081223 18:42:36-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20081223 18:42:49< CIA-54> shadowmaster * r31675 /trunk/changelog: Update changelog due to r31674 20081223 18:43:38-!- crimson_penguin [n=ben@64.201.60.217] has quit ["Leaving"] 20081223 18:43:42< zookeeper> hmh, someone should change that hideous 10000000 for impassable terrains movement cost in the unit help to like... "-" or something 20081223 18:45:01< Shadow_Master> zookeeper: I did that a few hours ago. 20081223 18:45:17< Shadow_Master> that triggered the above discussion :P 20081223 18:46:33< zookeeper> awesome! 20081223 18:47:08< cib0> http://wesnoth.pastebin.com/m7e8ad6d6 20081223 18:47:36 * Shadow_Master gives zookeeper the clairvoyance ability 20081223 18:47:51< Shadow_Master> now get loony to make you a binary :p 20081223 18:48:34< Shadow_Master> but sinc ehe hasn't spoken for a long time already, I fear that running icc made his kernel panic for attempting to kill init or something :p 20081223 18:48:51< zookeeper> nah, i'll just be nice and wait for it, it doesn't exactly bother me personally a lot :) 20081223 18:49:01< Shadow_Master> cib0: are you building with optimizations? 20081223 18:49:14< Shadow_Master> what compiler? etc. Also, make sure that genders_.size() != 0 :P 20081223 18:49:45< Shadow_Master> loonybot << 9%0; 20081223 18:49:50< loonybot> warning: division by zero 20081223 18:50:30< Shadow_Master> that triggers SIGFPE :p 20081223 18:51:44< zookeeper> does any translation have the floating damage numbers represented in a different way? 20081223 18:52:06< zookeeper> i mean languages like china and whatnot 20081223 18:52:29< Shadow_Master> I don't think so 20081223 18:52:37< Shadow_Master> (in wesnoth) 20081223 18:53:20< cib0> ah, so modulo doesn't work with 0? 20081223 18:53:42< zookeeper> i was just wondering whether i'd really need to make an [unstore_unit] text="-1" translatable when faking damage.. 20081223 18:54:02< Shadow_Master> cib0: according to all the math books I have read 20081223 18:54:21< cib0> well, it makes sense :p 20081223 18:55:08< cib0> now to figure out how it is becoming 0 20081223 18:55:19< cib0> or better, first to check if it is 0 20081223 18:56:57< loonycyborg> zookeeper: binary is updated. 20081223 18:57:43< Shadow_Master> cib0: it is zero is the [unit] or [unit_type] doesn't explicitly declare a gender list. 20081223 18:57:57< Shadow_Master> I dont know where oyu are doing this. 20081223 18:58:17< Shadow_Master> but usually the engine fixes that and inserts a default gender 20081223 18:59:16< cib0> it's none of my code, i just stumbled across this when using some era 20081223 19:00:17< Shadow_Master> I'd then check the guilty unit code. 20081223 19:00:31< Shadow_Master> or trigger a wml_exception. I heard that's the trend nowadays 20081223 19:06:36< CIA-54> zookeeper * r31676 /trunk/data/campaigns/Descent_Into_Darkness/scenarios/07_A_Small_Favor.cfg: Halve the gold that the enemy leader gains upon the alarm, and made the holy water bottle just deal 1 damage instead of killing the unit. 20081223 19:06:44< zookeeper> loonycyborg, awesome, thanks 20081223 19:08:26< cib0> hm, i'm not sure what exactly is the problem.. it's with Wesband's Modular MP RPG era.. there's only one leader there, maybe that's the problem.. or the unit is somehow not loaded, so there are no leaders at all 20081223 19:11:01< CIA-54> zookeeper * r31677 /trunk/data/campaigns/Descent_Into_Darkness/scenarios/07_A_Small_Favor.cfg: Fixed mysteriously screwed up [endlevel]s. 20081223 19:11:28< cib0> the era works fine in stable 20081223 19:12:07< Shadow_Master> harhar. 20081223 19:12:12< CIA-54> baufo * r31678 /trunk/src/ (4 files in 2 dirs): Making is possible to color messages sent by server moderators via /query 20081223 19:12:18< Shadow_Master> are you trying to load 1.4 content on trunk??? 20081223 19:12:33< cib0> no, i downloaded it on the trunk server 20081223 19:13:00< Shadow_Master> ask the author about it 20081223 19:13:32< Shadow_Master> and put an assert if that size() returns zero there. an assert is better than a random signal 20081223 19:14:48 * Shadow_Master out for food 20081223 19:15:59-!- boucman [n=rosen@159.83.102-84.rev.gaoland.net] has joined #wesnoth-dev 20081223 19:16:55< zookeeper> wtf, new turn events are triggered when loading a save. urgh. 20081223 19:16:59< zookeeper> afk -> 20081223 19:17:37< AI0867> zookeeper: that's my fault, I missed a testcase 20081223 19:21:03< cib0> the unit doesn't seem to be the problem replacing it with any other unit definition won't help 20081223 19:22:54< CIA-54> baufo * r31679 /trunk/data/multiplayer/maps/2p_Thalins_Stronghold.map: update for thalin's stronghold 20081223 19:24:57-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has joined #wesnoth-dev 20081223 19:26:04< Shadow_Master> Baufo: no english mistkaes this time? :) 20081223 19:26:48< Baufo> Shadow_Master, you mean the lack of 'u's? :) 20081223 19:27:45< Shadow_Master> no, I meant that a map description in your batch was broken some time ago 20081223 19:27:54< Shadow_Master> "Mines if milia or something 20081223 19:28:07< Shadow_Master> er, *of. And I meant description, not name 20081223 19:28:23< Baufo> ah, I see 20081223 19:28:33< Shadow_Master> soliton fixed it 20081223 19:28:47< Baufo> what was wrong with it? 20081223 19:29:20< Baufo> oh well, I'll just check svn 20081223 19:30:01< CIA-54> espreon * r31680 /trunk/data/campaigns/Legend_of_Wesmere/images/legend-of-wesmere-map.png: * Updated LoW's version of the map of the Great Continent. 20081223 19:30:41< Espreon> ESR__: Here? 20081223 19:30:55< Shadow_Master> Baufo: es of Mallorod" 20081223 19:30:57< Shadow_Master> - description= _ "The dwarves were the first to arrive when it became know that gold had found at Mallorod. 20081223 19:31:05< Shadow_Master> oops, mispaste 20081223 19:32:12< Baufo> heh, grammar mistakes in one sentence 20081223 19:32:48< Baufo> *two 20081223 19:33:42< Baufo> I remember it was pretty late when i wrote these... :) 20081223 19:34:20< fendrin__> Mythological is the current maintainer of tRoW? 20081223 19:35:04< Shadow_Master> yeah, but he's inactive 20081223 19:35:13< Shadow_Master> zookeeper is the wildcard 20081223 19:35:27< fendrin__> Shadow_Master: thank you 20081223 19:36:14< fendrin__> zookeeper: Do you give me permission to sync some things between tRoW and LoW? 20081223 19:38:24-!- Psyche^ [n=Psyche@e177112006.adsl.alicedsl.de] has joined #wesnoth-dev 20081223 19:50:46-!- Patterner [n=Psyche@e177234099.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 20081223 19:50:46-!- Psyche^ is now known as Patterner 20081223 19:56:44-!- Baufo [n=thomas@62-47-158-13.adsl.highway.telekom.at] has quit [Read error: 110 (Connection timed out)] 20081223 19:56:54-!- Baufo [n=thomas@62-47-141-69.adsl.highway.telekom.at] has joined #wesnoth-dev 20081223 19:58:36< AI0867> zookeeper: how do I reproduce your bug? 20081223 19:59:10 * Shadow_Master guesses that any scenario with a first_time_only=no new turn event serves 20081223 19:59:13-!- Sirp [n=me@222-154-40-244.jetstream.xtra.co.nz] has joined #wesnoth-dev 20081223 20:00:53< Espreon> Hello Sirp. 20081223 20:02:07< AI0867> Shadow_Master: I just tried EI:1, and the "turn 10" event didn't re-occur 20081223 20:02:32< AI0867> which is odd, considering it's triggered from the previous line 20081223 20:03:40< Shadow_Master> "new turn" 20081223 20:03:51< Shadow_Master> and first_time_only=no 20081223 20:04:30-!- dlr365 [n=doug@h44-199.reznet.ucalgary.ca] has joined #wesnoth-dev 20081223 20:06:23< Shadow_Master> or possibly someone else fixed it since zookeeper's (loony's) build 20081223 20:07:10< AI0867> the first_time_only probably 20081223 20:08:39< CIA-54> baufo * r31681 /trunk/src/menu_events.cpp: adding some aliases for /query lobbymsg 20081223 20:10:24< CIA-54> espreon * r31682 /trunk/data/campaigns/Descent_Into_Darkness/images/misc/descent-into-darkness.png: * Updated DiD's map of the Great Continent. 20081223 20:10:57< Shadow_Master> why? 20081223 20:11:05< Espreon> Why what? 20081223 20:11:05< Shadow_Master> @ Espreon : ^ 20081223 20:11:15< Espreon> There was debris on the map. 20081223 20:12:02< Shadow_Master> do you want to update more maps? 20081223 20:12:11< Espreon> Yes. 20081223 20:13:37-!- Elvish_Pillager [n=eli@66-189-15-130.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20081223 20:14:32< AI0867> reproduced and I have a simple fix, what I'm wondering is why this doesn't happen to side turn (or does it?) 20081223 20:17:03< Shadow_Master> why don't you try? 20081223 20:17:09< Shadow_Master> I'm busy having lunch 20081223 20:18:11-!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20081223 20:18:39-!- DDR [n=chatzill@66.183.125.196] has joined #wesnoth-dev 20081223 20:18:46< CIA-54> cib * r31683 /trunk/src/leader_list.cpp: added an assert in order to prevent division by zero 20081223 20:21:51< Shadow_Master> if genders_ is a std::list, you'll be wasting some CPU. 20081223 20:22:04< Shadow_Master> but I guess it isn't a std::list 20081223 20:22:27< Shadow_Master> in general I like to use empty() instead of size()==0 20081223 20:24:28< CIA-54> fendrin * r31684 /trunk/data/campaigns/Legend_of_Wesmere/images/portraits/ (9 files): LoW: new set of 400*400 transparent potrait images from kitty. 20081223 20:26:31-!- Noyga [n=lame-z@AVelizy-151-1-25-55.w82-124.abo.wanadoo.fr] has joined #wesnoth-dev 20081223 20:26:46-!- Noyga [n=lame-z@AVelizy-151-1-25-55.w82-124.abo.wanadoo.fr] has left #wesnoth-dev ["Quitte"] 20081223 20:27:38< zookeeper> fendrin__, what kind of things? 20081223 20:28:29< fendrin__> zookeeper: maps, names, images. 20081223 20:29:15< Espreon> fendrin__: Are you going to insist that TRoW should use LoW's map? 20081223 20:29:36< zookeeper> fendrin__, well, generally go ahead...tell me if it's something that you think it's something i'd like to give my opinion on ;) 20081223 20:29:50-!- stikonas [n=and@ctv-79-132-180-249.vinita.lt] has quit [Read error: 110 (Connection timed out)] 20081223 20:30:07-!- Elvish_Pillage2 [n=eli@66-189-15-130.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20081223 20:30:18-!- crimson_penguin [n=ben@64.201.60.217] has joined #wesnoth-dev 20081223 20:30:25< zookeeper> there was something redundant in that sentence though. 20081223 20:31:56< fendrin__> Espreon: Only one map. 20081223 20:40:01-!- fendrin [n=fabi@f051074196.adsl.alicedsl.de] has joined #wesnoth-dev 20081223 20:40:40< fendrin> ilor: ping 20081223 20:47:08-!- grzywacz [n=grzywacz@moinmoin/developer/karol] has joined #wesnoth-dev 20081223 20:49:42< Shadow_Master> loonycyborg: { struct bad_lexical_cast{}; struct int_cast { int operator()(const std::string& s) const { std::istringstream in(s.begin(),s.end()); int a; in >> a; return a; }}; std::cerr< loonybot: { struct bad_lexical_cast{}; struct int_cast { int operator()(const std::string& s) const { std::istringstream in(s.begin(),s.end()); int a; in >> a; return a; }}; std::cerr< error: no matching function for call to 'istringstream::basic_istringstream(string::const_iterator, string::const_iterator)' 20081223 20:50:01< Shadow_Master> oops 20081223 20:50:48< Shadow_Master> loonybot: { struct bad_lexical_cast{}; struct int_cast { int operator()(const std::string& s) const { std::istringstream in(s); int a; in >> a; return a; }}; std::cerr< error: no matching function for call to 'main(int, char**)::int_cast::int_cast(const char [12])' 20081223 20:51:09< Shadow_Master> interesting 20081223 20:54:28-!- EdB [n=EdB@247.101.196-77.rev.gaoland.net] has quit ["Konversation terminated!"] 20081223 20:54:41< Shadow_Master> loonybot: { struct bad_lexical_cast{}; struct int_cast { int operator()(const std::string& s) const { std::istringstream in(s); int a; in >> a; return a; }}; int_cast probe; std::cerr< 0 20081223 20:54:49< Shadow_Master> :) 20081223 20:55:08< Shadow_Master> I love complex C++ one-liners :) 20081223 20:56:32-!- fendrin__ [n=fabi@g226141206.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 20081223 20:57:41-!- ettin [n=jorda@102.206.219.87.dynamic.jazztel.es] has quit [Read error: 110 (Connection timed out)] 20081223 21:00:40< CIA-54> esr * r31685 /trunk/data/core/units.cfg: Correct an abuse of atoi(). 20081223 21:02:43< CIA-54> espreon * r31686 /trunk/data/campaigns/Eastern_Invasion/images/eastern-invasion-map.png: * Updated EI's map of the Great Continent. 20081223 21:03:38-!- busfahrer [n=busfahre@unixboard/user/busfahrer] has quit ["leaving"] 20081223 21:04:26< Espreon> Meh, I am not gonna commit Liberty's updated map yet. 20081223 21:26:17< CIA-54> espreon * r31687 /trunk/data/campaigns/Son_Of_The_Black_Eye/images/farnorth.png: * Updated SotBE's map of the Far North. 20081223 21:26:35< Espreon> I shall be back later. 20081223 21:26:49-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit [Remote closed the connection] 20081223 21:39:09< CIA-54> ivanovic * r31688 /trunk/po/ (wesnoth-aoi/de.po wesnoth-multiplayer/de.po): updated German translation 20081223 21:45:42-!- boucman [n=rosen@159.83.102-84.rev.gaoland.net] has quit [Remote closed the connection] 20081223 21:46:42-!- ettin [n=jorda@76.207.219.87.dynamic.jazztel.es] has joined #wesnoth-dev 20081223 22:10:29-!- Dragonking [n=dk@dedikerad/dragonking] has joined #wesnoth-dev 20081223 22:20:09< Ivanovic> ahh, this was enough swearing about gtk... 20081223 22:20:29< Ivanovic> it is so lovely how gtk behaves in regards to threads... 20081223 22:20:48< grzywacz> ?;-) 20081223 22:21:36< Ivanovic> it is almost as lovely, as, hmmm, no idea what else could be so lovely 20081223 22:25:01< loonycyborg> A purring kitten? :P 20081223 22:26:42< loonycyborg> Seriously, could you be a tiny bit more specific with your gtk rant? 20081223 22:27:00< Ivanovic> loonycyborg: got two threads 20081223 22:27:29< Ivanovic> one is the gui (gtk based) the other one doing some lovely stuff like displaying things in the gui (a buddylist with online/offline status) 20081223 22:27:55< Ivanovic> the "update thread" is called every 15s to update stuff 20081223 22:28:10< Ivanovic> and it was just adding the things in the storage that is used by the gui 20081223 22:28:56< Ivanovic> now comes lovely gtk locking up the complete gui on the N810 though it works perfectly on rather fast systems like my desktop machine 20081223 22:29:39< Ivanovic> so for every action that accesses the gui, i have to place locks in the update mechanism 20081223 22:29:43< Ivanovic> and those are dead slow... 20081223 22:30:46< Ivanovic> and i can't lock for the whole process since at least in debug mode there are rather many commands happening which would lock all of the gui on this smaller device for a longer time 20081223 22:32:09< loonycyborg> Why place lock on all gui accesses when all gui is in single process anyway? 20081223 22:32:18< loonycyborg> *thread 20081223 22:32:45< Ivanovic> loonycyborg: but the external process does the update stuff 20081223 22:33:17< Ivanovic> that is where the problem comes in 20081223 22:33:25< Ivanovic> since gtk itself is not threadsafe 20081223 22:35:03< loonycyborg> AFAIK gtk's non-thread safety only matters if multiple threads call gtk functions.. 20081223 22:35:22< loonycyborg> Though I'm not threading expert.. 20081223 22:38:06< Ivanovic> loonycyborg: and in this case one thing calling gtk functions was the gtk_main thread 20081223 22:38:20< Ivanovic> *and* beside this the "update thread" (better to say worker thread) 20081223 22:38:28< Ivanovic> so there the fun started 20081223 22:39:47< Ivanovic> hehe, lovely forum post: http://www.wesnoth.org/forum/viewtopic.php?f=6&t=23369&start=0&st=0&sk=t&sd=a 20081223 22:39:47-!- cib0 [n=cib@p4FD0CC80.dip.t-dialin.net] has left #wesnoth-dev [] 20081223 22:40:05 * loonycyborg still doesn't understand why worker thread needed to call gtk functions :? 20081223 22:41:06< Ivanovic> loonycyborg: because somehow the gui has to be updated when new data is available 20081223 22:41:24< Ivanovic> we are using a push approach from our worker (since this is the main thing, not the UI) 20081223 22:43:49< loonycyborg> I'd make worker thread completely gtk agnostic and used appropriate synchronization primitives to make gui get data.. 20081223 22:46:20< Ivanovic> loonycyborg: the way i have done it now does work 20081223 22:46:33< Ivanovic> it is just a clear case of *argh* to find the cause 20081223 22:48:38< Baufo> night 20081223 22:48:48< Baufo> merry christmas :) 20081223 22:49:53-!- Baufo [n=thomas@62-47-141-69.adsl.highway.telekom.at] has quit ["Leaving"] 20081223 22:51:21< grzywacz> Ivanovic, no gui lib I know of allows to call GUI functionality from 2 threads 20081223 22:51:31< grzywacz> Not Qt, not SDL. Probably not gtk either. 20081223 22:51:36< grzywacz> Hence, broken design. ;) 20081223 22:51:49< loonycyborg> My thought exactly :) 20081223 22:52:32< Ivanovic> grzywacz: oh, it is possible 20081223 22:52:34-!- cib0 [n=cib@p4FD0CC80.dip.t-dialin.net] has joined #wesnoth-dev 20081223 22:52:38< Ivanovic> you just have to hardsync by hand 20081223 22:52:55< grzywacz> Are you going to add locking to *gtk code?* 20081223 22:53:04< Ivanovic> oh, there is locking in it 20081223 22:53:23< Ivanovic> cf http://research.operationaldynamics.com/blogs/andrew/software/gnome-desktop/gtk-thread-awareness.html 20081223 22:53:38< grzywacz> Surely. Just don't call gui functions directly from the other thread. 20081223 22:53:40< Ivanovic> you just have to be dead carefull when using it 20081223 22:53:45< grzywacz> Update a collection and display it from the gui thread. 20081223 22:54:03< Ivanovic> yes, a collection *is* updated from outside 20081223 22:54:20< Ivanovic> it is just the signal that is issued while the update is not yet 100% complete that causes a problem 20081223 22:55:02< grzywacz> That can happen, yes, in every environment that comes to my mind. 20081223 22:55:15< Ivanovic> so around this block there has to be a lock 20081223 22:55:15< grzywacz> Multithreading is always tricky. ;) 20081223 22:55:25< Ivanovic> and this lock is dead slow... 20081223 22:55:29< grzywacz> Yes. Access to the collection has to be synced. 20081223 22:55:34< grzywacz> Lock is slow? 20081223 22:55:40< Ivanovic> on the n810: yes 20081223 22:55:52< grzywacz> Why would it be? 20081223 22:56:03< Ivanovic> there is not this much cpu power on it and there would, when not using a fine granular locking, be locked for rather long 20081223 22:56:25< Ivanovic> so the option is either locking for "ages" making the gui unresponding 20081223 22:56:46< Ivanovic> or having the update appear rather slow (at least in debug mode when some more output is created) 20081223 22:56:52< grzywacz> Ok, so why do you use a 2nd thread to begin with? 20081223 22:57:25< Ivanovic> grzywacz: because in this thread we handle gnunet 20081223 22:57:40< Ivanovic> there we got to regulary update the dht, initiate put operations, stuff like this 20081223 22:58:28< Ivanovic> no real way around having >1 thread in our application 20081223 22:58:39< Ivanovic> (later on there will even be gstreamer creating fun...) 20081223 23:02:10< grzywacz> Ok, I'm not getting into it. ;) 20081223 23:04:47< loonycyborg> Threads may be useful for not freezing gui while you do stuff, like waiting for connection or computing something. 20081223 23:06:01< grzywacz> Of course. 20081223 23:06:12< grzywacz> But then, you can do some of this stuff by pooling. 20081223 23:06:15< grzywacz> *polling 20081223 23:07:09< loonycyborg> Polling is just waste of cpu cycles :P 20081223 23:07:29< grzywacz> I don't mean busylooping. 20081223 23:08:06< Ivanovic> grzywacz: in this case it has to be run in a thread 20081223 23:08:30< Ivanovic> because the update in gnunet is doing a sleep for X seconds to wait for the incoming replys 20081223 23:08:44< Ivanovic> having this in a normal workflow can get interesting 20081223 23:14:53< Sirp> Sapient: ping 20081223 23:27:39-!- Sapient [n=sapien-x@c-24-126-133-155.hsd1.ga.comcast.net] has joined #wesnoth-dev 20081223 23:27:45< Sapient> Sirp: pong? 20081223 23:28:53< Sirp> Sapient: could you please tell me your stats ID again, and then try to play a scenario (just do a turn or two, and then quit Wesnoth properly; nothing more required) 20081223 23:29:03< Sirp> whenever you have time, of course. 20081223 23:29:14< Sapient> on 1.5.6? 20081223 23:30:59< loonycyborg> And on XP SP2 :) 20081223 23:31:29< Sapient> I can't do that, loon 20081223 23:31:38< Sapient> XP Pro SP1 here 20081223 23:31:53< Sirp> Sapient: yes, on 1.5.6 please. 20081223 23:31:56< Sirp> (or on SVN) 20081223 23:32:01< loonycyborg> I remember that. 20081223 23:32:38< loonycyborg> But it looks like Sirp wants to research windows firewall :) 20081223 23:33:04< loonycyborg> And it was added in SP2 20081223 23:33:28< loonycyborg> Sirp: Or you want to look at it without firewall? 20081223 23:33:33< Sapient> http://stats.wesnoth.org/?172842913468 20081223 23:33:45< Sapient> I'm playing SotBE as well speak. scenario 1 20081223 23:34:27 * loonycyborg is currently playing IftU 20081223 23:37:02< Sirp> Sapient: okay....so just let me know when you exit.... 20081223 23:47:20< Sirp> Sapient: did you quit from your game yet so stats are sent? I don't see your stats come through.... 20081223 23:47:36< Sapient> not yet 20081223 23:50:22-!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20081223 23:54:08< Sapient> Sirp: ok I quit 20081223 23:54:50< Espreon> Eh? 20081223 23:55:48< Sapient> Espreon: irclog provides context for statements pronounced directly after you join 20081223 23:56:08< Sapient> we're testing --- Log closed Wed Dec 24 00:00:27 2008