--- Log opened Sat Nov 15 00:00:45 2008 20081115 00:04:00 mordante: do you know where fontconfig is supposed to load its fonts.conf file? 20081115 00:04:26 no 20081115 00:10:46 mordante: what is your patch supposed to do? I'm confused 20081115 00:12:14 it fixes a problem where it doesn't add the proper font directory to the search path 20081115 00:12:54 I need it at my system so it does fix a problem, but it needs some cleaning 20081115 00:13:04 ah, ok 20081115 00:13:45 by the way, I need +#include in language.cpp to compile 20081115 00:14:08 and +#include "menu_events.hpp" in ai.cpp 20081115 00:14:21 -!- Baufo_ [n=thomas@62-47-153-169.adsl.highway.telekom.at] has quit [Remote closed the connection] 20081115 00:16:29 I think loonycyborg already committed the latter 20081115 00:16:49 i am off to bed now, n8 20081115 00:17:01 night Ivanovic 20081115 00:18:29 ivanovic * r30752 /trunk/po/ (wesnoth/lt.po wesnoth-tsg/lt.po): just another update for the Lithuanian translation... 20081115 00:19:42 mordante * r30753 /trunk/src/language.cpp: Added an include needed for the apple platform, discovered by crimson_penguin. 20081115 00:19:49 svn up should fix both issues 20081115 00:19:53 :) 20081115 00:20:27 I did just update though, and did a diff, and found that mine was still different 20081115 00:21:06 but I'll try reverting and see what happens 20081115 00:21:15 anything I need to commit? 20081115 00:21:29 well I'll check to make sure 20081115 00:22:02 nope, you're right, it works now :) 20081115 00:22:40 good :) 20081115 00:23:24 a weird thing though, I reverted your patch, but fontconfig still has its error 20081115 00:25:20 still not sure whether there are general config problems, also due to the assertion failures you had before 20081115 00:27:19 for now I think I'm just gonna put in a little hacky, if (path == "." || path == "./") {path = get_cwd();} 20081115 00:27:38 -!- Sapien-X99 [n=sapien-x@c-71-59-35-203.hsd1.ga.comcast.net] has joined #wesnoth-dev 20081115 00:27:42 -!- Sapien-X99 is now known as Sapient 20081115 00:28:25 Blueblaze: why do you feel [clear_menu_item] is needed? 20081115 00:28:39 is it not enough to set it to never show? 20081115 00:29:01 -!- boucman [n=rosen@109.83.102-84.rev.gaoland.net] has quit [Remote closed the connection] 20081115 00:31:06 Blueblaze, go on, tell him ;) 20081115 00:32:01 Sapient, doesn't that limit the amount of set_menu_items I can use through a campaign? 20081115 00:32:04 What happens if I use 30? 20081115 00:32:11 Not necessarily at the same time, but still 20081115 00:32:15 there is no limit to the amount you can have 20081115 00:32:24 there is only a limit to the amount you can display 20081115 00:32:39 Yeah but, won't it cause performance issues 20081115 00:32:47 such as? 20081115 00:33:30 Why won't it cause problems? at least unless you have like literally dozens of them 20081115 00:33:47 whenever you right-click, doesn't it need to check for the [show_if] conditions for each? 20081115 00:33:52 I you are worried about the command block taking up too much space in the savefile, you can remove it with [command][/command] to set it blank 20081115 00:34:10 and if some silly person makes a hundred menu items, i'd imagine that'd cause some slowdown 20081115 00:34:43 zookeeper: yes, but [show_if][not][/not][/show_if] should process very quickly 20081115 00:35:02 as in, far far faster than it takes to -- for example -- draw the menu 20081115 00:36:07 I don't see a problem with [clear_menu_item] I just don't think it's needed either 20081115 00:36:40 if someone wants to add it to the easy coding page, go ahead 20081115 00:36:48 Sapient, if you had many of these, could it eventually hog the ram? 20081115 00:37:14 I suppose it is hypothetically possible 20081115 00:37:36 but, we'd be talking about thousands or hundreds of thousands 20081115 00:37:57 I'm off night 20081115 00:38:34 anyway, i already told him that making dozens of menu items is silly, so it's not really an issue in any case ;) 20081115 00:38:51 -!- mordante [n=chatzill@roadie.xs4all.nl] has quit ["ChatZilla 0.9.83 [Firefox 3.0.3/2008092417]"] 20081115 00:38:59 well I'm gonna go watch a movie 20081115 00:39:35 considering that WML won't let you loop past 65,000, you'd have to workaround that somehow before it could even be done programatically 20081115 00:40:40 -!- Sangel [n=sangel@75.3.3.221] has joined #wesnoth-dev 20081115 00:40:59 -!- Sangel [n=sangel@75.3.3.221] has left #wesnoth-dev [] 20081115 00:41:07 -!- grrrX [n=_@p57BBF73D.dip.t-dialin.net] has joined #wesnoth-dev 20081115 00:42:01 Ivanovic: to answer your question... it, of course, IRWIIR, but basically if it turns out this pango problem is just some config problem and it can't find the fonts, then it probably won't take long to fix; but if it does need to load .so modules and such, I could see it taking longer. Other than that, the only problem I can think of is translations, which theoretically shouldn't be a hard one if someone can explain to me what to do, but I haven 20081115 00:42:02 't focused on it because it's hard to test while pango doesn't work 20081115 00:45:20 oh crap. 20081115 00:46:26 By the way, the concept that WML should limit iterations to guarantee a stop means, in principle at least, that it is not a Turing-complete language 20081115 00:47:03 mordante, zookeeper : my change probably caused that. I'll revert that 20081115 00:47:18 Sapient, you could work around that 20081115 00:47:32 I'll ask the logswhat was the exact commit number though 20081115 00:47:33 zookeeper: right, that's why I said "in principle" ;) 20081115 00:47:39 Sapient: I don't think so, because you can have multiple loops 20081115 00:47:49 and nest an arbitrary number of loops 20081115 00:47:50 I think 20081115 00:47:52 hmmm maybe. 20081115 00:48:09 r30736 20081115 00:48:12 Sirp_: I think it's not that simple 20081115 00:48:28 but really it's an esoteric distinction. 20081115 00:48:34 I'll restrain from using Ww^Ii :) 20081115 00:48:54 ah well, right, i guess you can't work around it after all.. 20081115 00:49:14 you could work around it now by having events that fire one another 20081115 00:49:29 or maybe you could use [fire_event] to create endless recursion :P? 20081115 00:49:54 yeah, right, i guess that'd work too. problem solved? 20081115 00:49:54 right, yet another oversight of the developer who introduced fire_Event 20081115 00:50:20 -!- stikonas [n=and@ctv-213-164-122-89.vinita.lt] has quit [Remote closed the connection] 20081115 00:50:39 it will work until it gets "fixed" 20081115 00:50:44 meh, not every feature with which newbies can shoot themselves in the foot is bad. 20081115 00:51:14 we also want to make malicious WML difficult 20081115 00:52:51 esr * r30754 /trunk/data/campaigns/The_Hammer_of_Thursagan/scenarios/02_Reclaiming_The_Past.cfg: Use the animated-brzier effect. 20081115 00:52:56 for 30 minutes, I'd have caught mordante 20081115 00:54:02 Hmmm...I think I'll stick to the glowing brazier in EI, on second thought - the thronreoom scene should look a bit stiff and hieratic. 20081115 00:54:33 But the animated one is nice to have. I'm usung it in THoT now. 20081115 00:54:44 does it work? 20081115 00:54:56 (^^ I was meant to test it tonight) 20081115 00:56:21 I'll check. 20081115 00:57:47 it works 20081115 00:58:21 Er...it's actually not working for me. Hold on... 20081115 00:58:43 error engine: Couldn't find function for wml tag: terrain_graphics 20081115 00:58:58 you are meant to piut it at scenario level directly 20081115 00:59:01 *not* in events 20081115 00:59:27 (note that {PLACE_IMAGE ...} can also go at scenario level, out of any events) 20081115 01:00:58 now off to get some food, cya 20081115 01:06:30 esr, you can have the brazier animated and still keep the glow 20081115 01:11:40 zookeeper: That's actually no longer the problem. The animation stops whenever a message popup is on-screen; the herrky-jerky effect in a talk sequence is rather ugly. 20081115 01:13:47 right 20081115 01:14:48 I had to back it out of THoT because of that. 20081115 01:15:19 I wonder if the core can be fixed to keep animating during dialogs? 20081115 01:15:35 Perhaps I'll file an FR. 20081115 01:15:54 -!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has quit [Read error: 104 (Connection reset by peer)] 20081115 01:20:04 that'd be a nice fix 20081115 01:20:30 (as long as the dialog blurring won't be recalculated on every redraw, i guess ;) 20081115 01:21:07 maybe it could be cached 20081115 01:22:18 esr * r30756 /trunk/data/campaigns/The_Hammer_of_Thursagan/scenarios/02_Reclaiming_The_Past.cfg: 20081115 01:22:18 Revert my last. It looks too weird having the animations freeze on 20081115 01:22:18 each message popup. 20081115 01:22:19 esr * r30757 /trunk/data/core/macros/image-utils.cfg: Usage advice for the ANIMATED_* macros. 20081115 01:22:20 shadowmaster * r30755 /trunk/ (changelog src/terrain.cpp src/terrain.hpp): * Revert 30736, as it causes problems with bridge terrains 20081115 01:25:29 -!- zookeeper [n=l@dsl-tkubrasgw1-fe11fa00-51.dhcp.inet.fi] has quit [] 20081115 01:38:23 "it looks too weird having the animation freeze..." wtf 20081115 01:38:37 it still would have looked nice in linger mode 20081115 01:42:07 wq 20081115 01:42:16 eek 20081115 01:51:19 is there any law or something that protects me against users threatening me with heavy weapons to get me to code a new WML feature? 20081115 01:51:20 -!- Mica [n=Manic_Mi@d14-69-222-189.try.wideopenwest.com] has joined #wesnoth-dev 20081115 01:51:41 I have got one aiming a machine gun at me... 20081115 01:53:33 you should take a bag of holding, turn it inside out, and then walk through the dungeon wall... 20081115 01:53:53 oh, wait, that's D&D 20081115 02:52:25 good night 20081115 02:54:32 -!- Shadow_Master is now known as ShadowM_maintena 20081115 02:55:18 -!- ShadowM_maintena is now known as ShadowM_nosystem 20081115 02:57:30 -!- [Relic] [n=[Relic]@adsl-76-229-220-201.dsl.milwwi.sbcglobal.net] has joined #wesnoth-dev 20081115 02:58:30 <[Relic]> Hello :) 20081115 03:04:12 Hei [Relic] 20081115 03:07:12 -!- Mica [n=Manic_Mi@d14-69-222-189.try.wideopenwest.com] has quit ["What did you say? I can't hear you, my connection's gone."] 20081115 03:07:51 <[Relic]> :) 20081115 03:13:12 -!- grrrX [n=_@p57BBF73D.dip.t-dialin.net] has quit [Connection timed out] 20081115 03:46:56 -!- Sirp [n=user@c-76-102-104-121.hsd1.ca.comcast.net] has joined #wesnoth-dev 20081115 04:05:50 -!- BenUrban [n=benurban@unaffiliated/benurban] has joined #wesnoth-dev 20081115 04:08:25 -!- Mica [n=Manic_Mi@d14-69-222-189.try.wideopenwest.com] has joined #wesnoth-dev 20081115 04:13:54 -!- valer [n=s@parsa.yok.utu.fi] has joined #wesnoth-dev 20081115 04:16:22 I've been writing down spelling mistakes and the like in the wiki.. Probably not so useful right now because of the string freeze. ;) 20081115 04:16:47 valer, string freeze isn't related to the wiki 20081115 04:17:16 I believe spelling mistakes can be corrected even during string freeze, no? 20081115 04:17:42 -!- Blueblaze [n=Blueblaz@c-98-196-208-51.hsd1.tx.comcast.net] has left #wesnoth-dev [] 20081115 04:17:42 -!- Blueblaze [n=Blueblaz@c-98-196-208-51.hsd1.tx.comcast.net] has joined #wesnoth-dev 20081115 04:17:47 This is the page: http://wesnoth.org/wiki/SpellingMistakes 20081115 04:18:43 Oh ok 20081115 04:19:04 * Blueblaze read your comment incorrectly :P 20081115 04:19:52 It was an ambiguous comment. :) 20081115 04:20:23 Or is it ambiquous.. probably 20081115 04:21:36 No, I was right the 1st time \o/ 20081115 04:26:13 Anyway, "The term soft string freeze means almost the same as smaller corrections, it is just a little stricter. So there should be no changes beside spelling and grammer fixes in those frozen textdomains at all. 20081115 04:26:38 ok 20081115 04:26:50 So seems to me spelling mistakes will get corrected 20081115 04:28:09 ... if someone gets around to correcting them. ;) 20081115 04:31:35 -!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20081115 04:37:35 hi noy 20081115 04:37:40 hey 20081115 04:37:48 I saw the mess on the forum 20081115 04:38:25 ehh yeah. Silly me. Again. 20081115 04:38:54 -!- Ivanovic_ [n=ivanovic@dtmd-4db2650a.pool.einsundeins.de] has joined #wesnoth-dev 20081115 04:39:08 I should be banned from posting in threads like that. :p 20081115 04:40:28 Its okay 20081115 04:40:37 I'll post some stuff in there 20081115 04:55:39 -!- Ivanovic [n=ivanovic@dtmd-4db2661c.pool.einsundeins.de] has quit [Read error: 110 (Connection timed out)] 20081115 04:56:52 -!- Ivanovic_ is now known as Ivanovic 20081115 05:15:08 -!- Blueblaze [n=Blueblaz@c-98-196-208-51.hsd1.tx.comcast.net] has quit [Read error: 60 (Operation timed out)] 20081115 05:30:47 anyone around who knows about translations? 20081115 05:39:12 -!- Sapient [n=sapien-x@c-71-59-35-203.hsd1.ga.comcast.net] has quit [] 20081115 05:53:17 I'm getting a bunch of these: 20081115 05:53:17 fi.po:4438: keyword "msgctxt" unknown 20081115 05:53:17 fi.po:4438:11: parse error 20081115 06:15:08 Maybe you have an old version of gettext? I'm not aware of Wesnoth using "msgctxt". 20081115 06:28:46 -!- Blueblaze [n=Blueblaz@172.houston-02rh15rt.tx.dial-access.att.net] has joined #wesnoth-dev 20081115 06:35:54 valer: well, all the languages before that work fine 20081115 06:36:21 my version of gettext should be no more than a year old 20081115 06:37:25 I'm using 0.14.5 of msgfmt 20081115 06:40:46 msgctxt probably doesn't work with older than 0.15 20081115 06:43:42 I'd be interested to know which file raises that error. 20081115 06:44:46 fi.po in wesnoth-sotbe 20081115 06:49:56 I'll be able to fix it. 20081115 06:51:17 cool 20081115 06:53:30 If you want it working right now, edit the file and remove the "fuzzy" entries at the bottom. 20081115 06:54:26 (The lines that begin with #~) 20081115 06:59:02 thanks, that fixed it :) 20081115 06:59:12 unfortunately, translations still aren't working though... 20081115 06:59:27 don't suppose you know what the criteria for greying out a translation is? 20081115 07:04:03 Sorry, I don't know much about the build system, makefiles etc. 20081115 07:04:42 That's ok 20081115 07:04:48 * crimson_penguin needs to go to bed now anyway 20081115 07:04:51 thanks for the help 20081115 07:04:53 goodnight 20081115 07:04:59 bye 20081115 07:05:16 -!- crimson_penguin [n=ben@64.201.60.220] has quit ["Leaving"] 20081115 07:46:28 -!- [Relic] [n=[Relic]@adsl-76-229-220-201.dsl.milwwi.sbcglobal.net] has quit ["Leaving"] 20081115 07:56:26 -!- Blueblaze [n=Blueblaz@172.houston-02rh15rt.tx.dial-access.att.net] has quit [] 20081115 07:59:03 -!- andy_ [n=andy@207.177.231.9] has joined #wesnoth-dev 20081115 08:12:05 Hey folks... can I ask a question real fast? 20081115 08:18:37 I'm looking for a way to have a python AI look up the terrain of a specific location. I was wondering if the python API listed on the wiki is complete still, or if i'd need to code something in C++ to grab the terrain 20081115 08:19:25 andy_: I would imagine it should be able to do it; I'm not sure of the details though. 20081115 08:22:22 Well there is a function to check if there is a keep, village, or castle at a location... but for what i'm thinking i'd also need to check if it's water, grasslands, ect. Nothing is mentioned about the actual terrain.... 20081115 08:48:22 -!- maxy [n=maxy@80-219-1-12.dclient.hispeed.ch] has joined #wesnoth-dev 20081115 09:06:42 -!- boucman [n=rosen@109.83.102-84.rev.gaoland.net] has joined #wesnoth-dev 20081115 09:09:13 -!- Sirp [n=user@c-76-102-104-121.hsd1.ca.comcast.net] has quit ["leaving"] 20081115 09:10:25 -!- mordante [n=chatzill@roadie.xs4all.nl] has joined #wesnoth-dev 20081115 09:10:47 morning 20081115 09:18:21 andy_ the wiki should be up to date, it's generated from the sources 20081115 09:19:20 IIRC the API doesn't know what terrain there is only it's stats 20081115 09:19:21 Okay... thanks 20081115 09:19:35 why do you need to know the terrain? 20081115 09:19:36 Yeah, that's what I thought. 20081115 09:20:17 Because I want to play around with an AI that has internal states and pattern recognition 20081115 09:21:35 And to do that it really needs to have access to a map of the terrain. 20081115 09:24:37 I ran across these terrain codes in terrain_translation.hpp... it looks like the best thing to do would be to write something in the ai interface to pull the terrain codes using one of the functions in this file. I'm still not positive how it works though. 20081115 09:26:32 it shouldn't be too hard to do that 20081115 09:27:21 I don't think so eaither, it's just i've never looked at the Wesnoth code before, so I have no idea how it's put together :p 20081115 09:27:42 game_map::get_terrain_string() returns the string 20081115 09:28:34 Okay... thanks. Is there a particular place the terrain codes are stored, so I know how the AI should translate them? 20081115 09:28:39 and game_map::get_terrain() gets the terrain 20081115 09:29:04 andy_: python or formulaAI ? 20081115 09:29:34 Python is what i'm thinking of doing it in right now... the formulaAI is only in 1.5 right? 20081115 09:29:46 yes 20081115 09:29:48 yes 20081115 09:29:57 -!- EdB [n=EdB@153.38.72-86.rev.gaoland.net] has joined #wesnoth-dev 20081115 09:30:01 but if you want engine changes, they will only be made in 1.5 20081115 09:30:43 Right, so I should take a look and see which one would be better in any case. 20081115 09:32:17 Can I ask one last question? What format does get_terrain( ) return the terrain in, and is there a place I can find a table listing them if it's not strait forward? 20081115 09:33:03 get_terrain 's output can be used as input for get_terrain_string 20081115 09:33:26 what do you mean with table listing? 20081115 09:35:34 Well, if for instance, get_terrain_string returns "grasslands" it's obvious what it means. But if for instance it returns something like "gl", it might be one or two terrains 20081115 09:36:05 Does it just return a string like it shows up in the upper right corner of the game screen? 20081115 09:36:20 -!- valer [n=s@parsa.yok.utu.fi] has left #wesnoth-dev [] 20081115 09:36:41 get_terrain_string returns "Gg^Vh" for example which is the "real" terrain 20081115 09:36:42 -!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has joined #wesnoth-dev 20081115 09:37:33 Okay. Oh... there's a list of those in the 1.5 editor, right 20081115 09:39:35 the 1.5 editor can show those codes 20081115 09:40:13 data/core/terrain.cfg also has all info 20081115 09:40:20 Okay 20081115 09:40:51 Mordante, Boucman, thank you both very much ^_^ 20081115 09:40:59 np 20081115 09:41:06 what the get_terrain_string returns is the "string" in that list and the "name" is what you see in game 20081115 09:41:16 you're welcome 20081115 09:41:30 moin 20081115 09:41:34 hi Ivanovic 20081115 09:41:46 Okay... bedtime for me. Goodnight folks 20081115 09:41:52 night andy_ 20081115 09:42:08 Ivanovic what's the plan for 1.5.6 today or next week? 20081115 09:42:12 -!- andy_ [n=andy@207.177.231.9] has quit ["Leaving"] 20081115 09:43:34 mordante: i will wait a little longer 20081115 09:43:43 maybe tomorrow if CÜ makes some real progress 20081115 09:43:50 s/CÜ/CP 20081115 09:45:53 -!- Dragonking [n=dk@dedikerad/dragonking] has quit [Read error: 110 (Connection timed out)] 20081115 09:45:56 ok, then I better update the changelog today ;) 20081115 09:46:27 jupp 20081115 09:47:14 and better wait with my layout rewrite until tomorrow 20081115 09:47:34 jupp2 20081115 09:58:07 Yay, another bug cleared. 20081115 09:59:34 esr it's already for a long time that animations stop when a dialog is shown 20081115 10:00:00 which, as you might have guessed, on my todo list as well ;) 20081115 10:00:09 mordante: Are the any plans to fix that, or is it considered a feature? 20081115 10:00:09 which is* 20081115 10:00:17 Oh, OK. 20081115 10:00:40 it's a feature/trait of the current engine 20081115 10:34:28 -!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20081115 10:41:12 -!- loonybot [n=loonybot@79.139.247.220] has joined #wesnoth-dev 20081115 10:41:28 -!- loonycyborg [n=sergey@79.139.247.220] has joined #wesnoth-dev 20081115 10:56:11 -!- EdB [n=EdB@153.38.72-86.rev.gaoland.net] has quit ["Konversation terminated!"] 20081115 11:05:24 -!- EdB [n=EdB@153.38.72-86.rev.gaoland.net] has joined #wesnoth-dev 20081115 11:13:06 -!- zookeeper [n=l@dsl-tkubrasgw1-fe11fa00-51.dhcp.inet.fi] has joined #wesnoth-dev 20081115 11:15:07 zookeeper: bug understood, now I need to fix it 20081115 11:15:37 boucman, cool 20081115 11:18:22 -!- Gnutoo [n=gnutoo@host11-158-dynamic.40-79-r.retail.telecomitalia.it] has joined #wesnoth-dev 20081115 11:19:12 hello, wesnoth-1.4.5 depends indirectly on libpng.so.3...what library that uses wesnoth has libpng.so.3? 20081115 11:19:38 SDL_image? 20081115 11:19:40 mordante * r30758 /trunk/changelog: Update changelog. 20081115 11:20:35 loonycyborg, http://rafb.net/p/rOkfOT28.html 20081115 11:20:44 doesn't seems so 20081115 11:21:24 I also would expect SDL or SDL_Image 20081115 11:21:32 -!- Mica [n=Manic_Mi@d14-69-222-189.try.wideopenwest.com] has quit ["What did you say? I can't hear you, my connection's gone."] 20081115 11:21:47 and here's ldd for wesnoth: http://rafb.net/p/ORfdOB43.html 20081115 11:22:52 configure tests whether SDL_Image has png support 20081115 11:24:00 SDL_image definitely uses libpng. Either it's linked statically or uses dlopen. 20081115 11:24:13 i think it uses dlopen...thanks a lot 20081115 11:26:40 it is sdlimage 20081115 11:28:36 -!- loonycyborg is now known as Captain_Obvious 20081115 11:29:01 Ivanovic: But it loads libpng with dlopen so ldd doesn't show it. 20081115 11:29:03 -!- Captain_Obvious is now known as loonycyborg 20081115 11:32:21 zookeeper: ok, the fix is a bit complicated, but I have a work around for you 20081115 11:32:35 set the "offset" parameter to 0.001 instead of 0.0 20081115 11:40:24 hmh, i'll try it 20081115 11:46:01 boucman, yeah that seems to do it 20081115 11:46:59 cool, fixing on my side... 20081115 11:51:30 -!- Gnutoo [n=gnutoo@host11-158-dynamic.40-79-r.retail.telecomitalia.it] has quit [Remote closed the connection] 20081115 11:59:39 -!- boucman [n=rosen@109.83.102-84.rev.gaoland.net] has quit [Remote closed the connection] 20081115 12:03:10 -!- boucman [n=rosen@109.83.102-84.rev.gaoland.net] has joined #wesnoth-dev 20081115 12:16:28 jay the new layout code seems to work again :) now to clean up the patch so it can be committed 20081115 12:20:57 boucman, uh, was the image=halo/mage-halo1.png,halo/mage-halo2.png,halo/mage-halo3.png,halo/mage-halo4.png,halo/mage-halo5.png animation format ok for image= too, or does it still only work for halo=? 20081115 12:21:32 check the doc :P 20081115 12:22:11 image= 20081115 12:22:16 halo= 20081115 12:22:29 right 20081115 12:27:00 that could be changed, but I'm working on your bug right now 20081115 12:29:25 zookeeper: done 20081115 12:30:05 boucman * r30759 /trunk/src/ (unit_animation.cpp unit_display.cpp unit_frame.cpp): fix bug 12574: problem when offset is 0 20081115 12:30:36 thanks 20081115 12:34:05 boucman, btw, move_unit_fakes are a bit glitchy 20081115 12:34:50 the image flickers a bit between hexes, at least when the path is specified hex-by-hex instead of just giving the endpoints 20081115 12:35:12 also, if the view needs to scroll during the move, the image disappears during the scrolling 20081115 12:36:26 -!- EdB [n=EdB@153.38.72-86.rev.gaoland.net] has quit ["Konversation terminated!"] 20081115 12:40:21 -!- Elvish_Pillager [n=eli@24-177-36-147.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20081115 13:01:41 oh, this new magic missile animation is gonna be cool.. 20081115 13:13:06 -!- grrrX [n=_@p57BBE3E2.dip.t-dialin.net] has joined #wesnoth-dev 20081115 14:03:34 -!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has quit [Read error: 104 (Connection reset by peer)] 20081115 14:05:04 -!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has joined #wesnoth-dev 20081115 14:11:46 -!- wesbot changed the topic of #wesnoth-dev to: soft stringfreeze for most campaigns: http://www.wesnoth.org/wiki/TextdomainStatus | List 1.6 features here: http://www.wesnoth.org/wiki/Wesnoth1.6Features | 53 bugs, 209 feature requests, 9 patches | logs: http://wesnoth.org/irclogs | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com, or for images: http://imagebin.org/index.php?page=add 20081115 14:13:29 ivanovic * r30760 /trunk/cmake/revision.cmake: fixed mistake found by chrber 20081115 14:38:12 boucman r30759 the changes to unit_display.cpp did you plan to commit them? 20081115 15:00:54 -!- Baufo [n=thomas@62-47-141-104.adsl.highway.telekom.at] has joined #wesnoth-dev 20081115 15:07:51 -!- McShark [n=Simon_So@drsd-4db3f538.pool.einsundeins.de] has joined #wesnoth-dev 20081115 15:08:14 -!- McShark [n=Simon_So@drsd-4db3f538.pool.einsundeins.de] has left #wesnoth-dev [] 20081115 15:11:33 mordante: nope, I'll fix 20081115 15:15:19 boucman * r30761 /trunk/src/unit_display.cpp: remove accidentally commited debug code 20081115 15:42:12 -!- Tigge [n=tigge@bacchus.olf.sgsnet.se] has quit [] 20081115 15:42:22 loonycyborg * r30762 /trunk/projectfiles/ (CodeBlocks/ Dev-C++/ VC9/): Set svn:ignore in projectfiles/* for temporary files created by IDEs. 20081115 15:52:05 -!- Tigge [n=tigge@bacchus.olf.sgsnet.se] has joined #wesnoth-dev 20081115 15:54:45 -!- crimson_penguin [n=ben@64.201.60.220] has joined #wesnoth-dev 20081115 15:59:44 -!- Blueblaze [n=Blueblaz@31.houston-09rh15-16rt.tx.dial-access.att.net] has joined #wesnoth-dev 20081115 16:00:02 Did the link forums.wesnoth.org ever work? 20081115 16:01:18 yes. 20081115 16:02:38 Soliton, I thought so, now it just leads to the main page, any idea if that is intentional? 20081115 16:04:28 so, anyone know what makes languages greyed out in the list? 20081115 16:04:55 Blueblaze: oh, i misread. it's forum.wesnoth.org i'll make forums work, too. 20081115 16:06:04 Blueblaze: should work now. 20081115 16:19:18 -!- BenUrban [n=benurban@unaffiliated/benurban] has quit ["Power failu"] 20081115 16:21:05 -!- thespaceinvader [n=chatzill@91.108.185.30] has joined #wesnoth-dev 20081115 16:27:10 crimson_penguin: mordante does. :) 20081115 16:27:28 ok 20081115 16:27:33 * crimson_penguin waits for mordante to arrive 20081115 16:27:45 I better go though, I'm running on battery 20081115 16:27:53 only 1:30 left 20081115 16:28:13 I only know that it's in language.cpp 20081115 16:29:31 they're greyed out when you don't have the locale installed. 20081115 16:30:17 Unless you're using dummy locales. 20081115 16:30:36 -!- Elvish_Pillage2 [n=eli@24-177-36-147.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20081115 16:40:11 Soliton: right, but... I do ;) 20081115 16:40:20 so I wanna know how it decides that 20081115 16:46:59 -!- Elvish_Pillager [n=eli@24-177-36-147.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20081115 16:55:11 zookeeper: ping? 20081115 16:55:17 esr, yes? 20081115 16:57:26 I'm looking at the SET_PORTRAIT_ON_ADVANCE macro from UtBS, which I mbow want to use in DM. Rather than explicitly dupolicating that event in every scenario, shouldn't it be possible to wrap int in ab object and include the object in a unit definition so it's carried through automatically? 20081115 16:57:39 s/mbow/now/ 20081115 16:57:57 probably yes 20081115 16:58:01 what do you need it for? 20081115 16:59:50 Oh, I'd just like to refacor the uses of SET_PORTRAIT_ON_ADVANCE so they don't involve grubby file inclusions in ervery scenario., because that sort of thing is a maintenance landmine. 20081115 17:00:23 Can you point me at an examople of wrapping an event in abn object given to a unit? 20081115 17:00:28 -!- Blueblaze [n=Blueblaz@31.houston-09rh15-16rt.tx.dial-access.att.net] has quit [Nick collision from services.] 20081115 17:00:30 -!- Blueblazez [n=Blueblaz@21.houston-07rh15rt.tx.dial-access.att.net] has joined #wesnoth-dev 20081115 17:00:31 isn't that only used for setting elyssa's portrait if she advances to silver mage? 20081115 17:01:10 That's right. I now have a similar situation in DM if Chantal advances to Shyde. 20081115 17:02:14 Right now I'm usung a copy of the UtBS macro in a new events.cfg and including that lots of places, like a hero deaths file. It would be nice if tgere were a more elegant way. 20081115 17:02:16 well, that macro seems pointless to me. rather just give the unit an [object] [effect] apply_to=profile unit_type=Elvish Shyde portrait=hershydeportrait 20081115 17:02:17 -!- Blueblaze [n=Blueblaz@218.houston-06rh15-16rt.tx.dial-access.att.net] has joined #wesnoth-dev 20081115 17:02:20 that should work i think 20081115 17:03:02 zookeeper: That sounds like what I want. 20081115 17:03:28 Is there a similar example I can use as a template, anywhere in mainline? 20081115 17:03:41 hmh, no 20081115 17:04:24 There's also an issue with how to test it. Debug mode doesn't have an advance trigger, does it? 20081115 17:05:13 use :unit experience=999 or something 20081115 17:05:25 Also, how do I put in the conditionality on the advance event? 20081115 17:05:26 and then have a fight with it to trigger the advancement if necessary 20081115 17:05:34 you don't need advance events 20081115 17:05:49 meh, i'll write it for you 20081115 17:05:57 Oh, right. Done by the filter? 20081115 17:06:24 zookeeper: That wou;d probably be best. This might want to be in the public macros. 20081115 17:08:00 http://rafb.net/p/4T512622.html 20081115 17:08:14 but really, test that it works. it should work, but i've never done that before. 20081115 17:09:39 when she advances to shyde and the object is re-applied, the unit_type= test should match and the effect applied, thus changing her portrait on advance 20081115 17:09:59 What's the reason for the id field? Could that be omitted? (It would make packaging this as a macro easier.) 20081115 17:10:22 i guess it could be 20081115 17:11:23 -!- loonycyborg [n=sergey@79.139.247.220] has left #wesnoth-dev ["In Soviet Russia, channel /parts YOU!!"] 20081115 17:11:41 OK, I'll experiment. If I can verify this, I'm going to macro-package it and drop it in unit-utils, because I'm dead sure this is not going to be the last time it's needed. 20081115 17:11:56 -!- loonybot [n=loonybot@79.139.247.220] has quit [Remote closed the connection] 20081115 17:12:24 (Also I'll refactor UtBS to use it. Any reduction in code complexity we can get there is a Good Thing.) 20081115 17:12:54 well, frankly i think that's a piece of code that doesn't need to be macroified 20081115 17:13:07 as it's just a handful of lines, to be used in a really rare number of situations 20081115 17:14:12 mordante: so here's what I did for translations: I did cd po; make; make install; and then I moved the installed translations dir to the .app dir, beside data, music, fonts, etc. 20081115 17:14:24 Not to be contentious, but what's your filter for that? We'd got an awful lot of publivc macros that are more trivial. I've never really formed a policy about this myself; maybe we should try to develop one. 20081115 17:15:17 well, my criteria is usually that macroification is good if the task is a complicated one and/or if it's used often 20081115 17:15:32 like, VARIABLE is a trivial macro, but it saves a lot of space and typing 20081115 17:16:12 Hm. Noted. 20081115 17:16:36 Well, first step is to verify that it works. 20081115 17:17:03 now, personally i don't think this portrait thing is either often used or an especially complex task 20081115 17:18:08 (and yeah, there's probably a lot of macros in utils/ that i'd rather not have there) 20081115 17:18:47 (like scenario-utils.cfg...not counting NO_MAP) 20081115 17:19:29 -!- Rrenys [n=rrenys@81-20-159-197.levira.ee] has quit [Read error: 104 (Connection reset by peer)] 20081115 17:19:35 -!- Blueblazez [n=Blueblaz@21.houston-07rh15rt.tx.dial-access.att.net] has quit [Read error: 110 (Connection timed out)] 20081115 17:19:51 -!- stikonas [n=and@ctv-213-164-122-89.vinita.lt] has joined #wesnoth-dev 20081115 17:19:57 -!- crimson_penguin [n=ben@64.201.60.220] has quit ["Leaving"] 20081115 17:37:44 seems I'm just too late to catch crimson_penguin :( 20081115 17:44:32 uhm, yes 20081115 17:47:21 -!- Baufo_ [n=thomas@62-47-138-53.adsl.highway.telekom.at] has joined #wesnoth-dev 20081115 17:47:39 zookeeper: Minor problem connected to this tecnique: if I put the modifications clause in a [side] decleration, will it be applued to the created leader unit? If not, and I need to declare Chantal separately, how do I glue her to her side? 20081115 17:49:42 -!- Sirp [n=user@c-76-102-104-121.hsd1.ca.comcast.net] has joined #wesnoth-dev 20081115 17:50:30 -!- Baufo [n=thomas@62-47-141-104.adsl.highway.telekom.at] has quit [Read error: 110 (Connection timed out)] 20081115 17:52:12 Hi 20081115 17:52:22 hi Sirp 20081115 17:54:53 -!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has joined #wesnoth-dev 20081115 17:54:58 hi Sirp 20081115 17:55:27 hmm, could you ping me when espereon or fendrin join? 20081115 17:55:47 the i will have a look at moving utbs out of the main tree to somewhere in branches 20081115 17:56:56 esr, yes, it will 20081115 17:57:22 zookeeper: Thanks. 20081115 17:57:25 any keys which aren't recogized as part of the side definition will be considered part of the leader definition 20081115 17:57:49 (or actually, all the keys that are recognized as part of the side definition are _also_ considered part of the leader definition, AFAICT...) 20081115 17:58:06 (but luckily there aren't overlapping keys ;) 20081115 18:03:19 -!- noy [n=Noy@d75-157-52-251.bchsia.telus.net] has quit [] 20081115 18:06:47 hi 20081115 18:07:01 -!- ShadowM_nosystem is now known as Shadow_Master 20081115 18:07:13 hi Shadow_Master 20081115 18:07:18 zookeeper: Yes, this technique works. 20081115 18:07:34 is UtBS' removal blocking the release sequence? :) 20081115 18:08:13 Ivanovic: use /notify maybe? 20081115 18:08:42 Sirp: nah 20081115 18:08:49 someone just give me a ping and that's it 20081115 18:08:51 ;) 20081115 18:15:52 -!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20081115 18:16:01 Ivanovic: there you have Espreon 20081115 18:16:12 ah, that is timing 20081115 18:16:22 Espreon: so shall we have a look at moving around utbs? 20081115 18:16:31 Ivanovic: What do you desire? 20081115 18:16:33 Hellz yeah. 20081115 18:16:40 I wish you two luck with tthe release :) 20081115 18:16:48 Why thank you Shadow Master. 20081115 18:17:22 * Espreon really needs to get his system back to normal. 20081115 18:17:22 Espreon: don't do anything odd ;) 20081115 18:17:46 now I'll wipe out my system, cya 20081115 18:17:46 esr * r30763 /trunk/data/campaigns/Under_the_Burning_Suns/ (13 files in 2 dirs): Replace grubby SET_PORTRAIT_ON_ADVANCE macro with a better way. 20081115 18:17:50 Have fun. 20081115 18:17:54 -!- Shadow_Master is now known as ShadowM_nosystem 20081115 18:18:15 I guess he is installing Debian. 20081115 18:18:29 so, sorry if i'm forgetting things, but was there anything else seriously broken in UtBS than kaleh's AMLAs? 20081115 18:18:38 esr: did you ever come up with more details on remaining AI bugs? 20081115 18:18:42 Not now I know of. 20081115 18:18:47 really? 20081115 18:18:47 zookeeper: incomplete changes by cycholka 20081115 18:19:02 I will have to take a look at the incomplete stuff... 20081115 18:19:31 well, we could just remove that kaleh's AMLA mess 20081115 18:19:39 change it back to what it originally was 20081115 18:19:41 SirpI have not been able to trigger them since I spoke with you. I'm playtesting DM pretty intensively, though, so they're likely to pop up again. 20081115 18:19:43 that AMLA was Rhuvaen's idea I think 20081115 18:19:49 Hmmm... 20081115 18:20:29 * esr just simplified the UtBS code a bit. 20081115 18:20:32 i mean, if all the other breakage is fixable to a good enough state for a release, then i'd say remove the AMLA mess completely and focus on the other smaller problems 20081115 18:20:48 I guess thse AMLA porbably relied on 1.4 WML syntax and behavior (i.e.unit..max_hitpoints) 20081115 18:21:00 yeah 20081115 18:21:02 -!- loonycyborgw32 [i=kvirc@79.139.247.220] has joined #wesnoth-dev 20081115 18:21:20 Hmmmm... 20081115 18:21:36 Espreon: why.. you have been "co" maintainer for a few weeks and you haven't fixed it ? :( 20081115 18:21:55 I know it is difficult, but you should concentrate on your mainline work, not UMC 20081115 18:22:11 I unfortunately have stuff called homework and parents who care. 20081115 18:22:12 losing the AMLA mess isn't much of a problem IMO. 20081115 18:22:18 oh well 20081115 18:22:19 * esr agrees with zookeeper 20081115 18:22:32 someone should make a stroyline check pass, though 20081115 18:22:33 * Espreon wishes that his parents did not care as much. 20081115 18:22:49 ShadowM_nosystem: I can do that. 20081115 18:22:52 I recall cycholka threatening with storyline changes, but I don't know if he ever got around to commit a tiniest bit of them to trunk 20081115 18:23:02 Threatening? 20081115 18:23:04 so i'd suggest removing the whole AMLA mess right now, and then checking what else is broken (which isn't much, if i've understood correctly) 20081115 18:23:10 Espreon: suggesting 20081115 18:23:25 ShadowM_nosystem: I looked at the story text a couple of weeks back. I don't think he did. 20081115 18:23:40 otherwise, the breakage might be possible to fix without breaking the string freeze 20081115 18:23:44 if you remove the AMLA mess, i might even volunteer to playtest it a bit ;) 20081115 18:23:45 * esr is off to the shower, will be back 20081115 18:23:48 (hint, hint) 20081115 18:23:51 ! 20081115 18:23:53 it's noy like we are publishing 1.6 today 20081115 18:23:57 esr: okay; let me know if you or anyone finds more information about them. 20081115 18:24:07 Sirp: I will. 20081115 18:24:11 zookeeper: ehm I can't. Dropped my svn checkouts 20081115 18:24:24 mordante: Remind me where exactly pango-cairo is used for text rendering instead of SDL_ttf? 20081115 18:25:24 all new dialogs eg MP connect or addon connect 20081115 18:29:09 -!- Blueblaze [n=Blueblaz@218.houston-06rh15-16rt.tx.dial-access.att.net] has quit [Read error: 113 (No route to host)] 20081115 18:31:34 mordante: http://imagebin.org/31251 20081115 18:32:26 I'd better take some time co continue downloading that git tarball 20081115 18:32:44 so parts of the engine just now which font looks better :P 20081115 18:32:47 some* 20081115 18:32:58 ShadowM_nosystem: What does _nosystem mean? :) 20081115 18:33:03 -!- ShadowM_nosystem is now known as ShadowM_nohome 20081115 18:33:11 sorry, was meant to be nohome 20081115 18:34:25 mordante: I've set the font to cmmi10.ttf in fonts.cfg and placed that font in fonts/ 20081115 18:35:18 But new dialogs seem to use some random font. 20081115 18:37:41 Ivanovic: So the plan was to move UtBS into /branches/utbs and have the translations done on WesCamp? 20081115 18:37:47 -!- Blueblaze [n=Blueblaz@215.houston-02rh15rt.tx.dial-access.att.net] has joined #wesnoth-dev 20081115 18:38:00 * mordante wonders why there is core/fonts.cfg and hardwired/fonts.cfg 20081115 18:38:09 loonycyborgw32 did you edit them both ^ 20081115 18:38:23 No. Only hardwired. 20081115 18:38:32 Espreon: plan is to do two steps: 20081115 18:38:41 move current content somewhere inside branches/ 20081115 18:38:53 can you try both just in case 20081115 18:39:07 2) upload the current version to the addon server (dev version) and set it as translateable 20081115 18:39:26 too bad it cannot be moved to wesnoth-umc-dev without losing svn history :( 20081115 18:39:32 then move over the mainline po files to wescamp where the files for the "addon server version" of utbs should lie 20081115 18:39:34 it would really have a home there 20081115 18:39:58 and every now and then you got to update the content on the addon server with what is there in branches/utbs 20081115 18:40:07 mordante: Still the same. 20081115 18:40:24 OK. 20081115 18:41:25 I *really* wish fendrin could do this 20081115 18:43:07 ShadowM_nohome: yes, this would be a good option, too 20081115 18:44:26 Hmmmm... 20081115 18:47:06 loonycyborgw32 ok then there is a bug somewhere, but it has a very low priority 20081115 18:47:17 Espreon: any idea when fendrin will be around? 20081115 18:47:40 He never tells me anything... I even sent him a PM... 20081115 18:47:49 It was sent... but he did not respond. 20081115 18:47:51 -!- crimson_penguin [n=ben@64.201.60.220] has joined #wesnoth-dev 20081115 18:47:53 btw Sirp I'm not really fond that wesnoth now sends stats by default 20081115 18:47:54 I really wish he was here too... 20081115 18:48:04 hi crimson_penguin 20081115 18:48:08 mordante: It does? 20081115 18:48:31 Espreon yes a recent change 20081115 18:48:35 mordante: is it because people may not like that wesnoth sends information to the internet without their permission vy default? 20081115 18:48:50 hi mordante 20081115 18:48:54 I do not like that it does that either. 20081115 18:49:00 s/wesnoth/any program/ 20081115 18:49:00 * crimson_penguin has 18 minutes of battery left :-/ 20081115 18:49:02 ShadowM_nohome yes I don't like that 20081115 18:49:24 I 'fixed' it with chmod but it feels ugly 20081115 18:49:29 okay, I stumbled upon the same problem when I once thought that doing what Sirp might be a good idea for killing my time 20081115 18:49:56 just in case I wipe my prefs again 20081115 18:50:11 -!- ShadowM_nohome is now known as ShadowM_nosystem 20081115 18:50:36 crimson_penguin I see you managed to get the translations working :) 20081115 18:50:51 god damn you mds and mdworker, using all my processor and therefore power! arg! 20081115 18:50:57 mordante: I didn't! 20081115 18:50:59 crimson_penguin: so how does packaging for mac currently look? 20081115 18:51:02 nevertheless, sending the language code to thwith the sstatistics is a great idea. I'll research how can dat be done in Windows 20081115 18:51:08 is it working already, or still a mess? 20081115 18:51:09 *that 20081115 18:51:10 I got them compiled, but I don't know why they won't work :( 20081115 18:51:22 Ivanovic: still got 2 problems 20081115 18:51:30 Ivanovic: translations, and pango actually working 20081115 18:52:00 hmm, not good 20081115 18:52:38 crimson_penguin which locales do you have installed? 20081115 18:52:59 mordante: should be all of them 20081115 18:53:03 mordante: i think on osx none of the glibc locales are installed 20081115 18:53:10 crimson_penguin: you got the *translations* installed 20081115 18:53:14 but not the glibc locales 20081115 18:53:27 oh, well then I don't know 20081115 18:53:39 but only 2 are selectable; presumably "system default" and "english", though I can't tell because pango doesn't work :-/ 20081115 18:53:51 to check: start a terminal and type this: locale -a 20081115 18:53:55 * crimson_penguin plugs his computer in to the poor abused house batteries :-/ 20081115 18:54:14 that gets me a long list 20081115 18:54:23 okay, then you got the glibc locales 20081115 18:54:44 would be nice if you could paste it somewhere, eg at http://wesnoth.pastebin.com 20081115 18:54:48 http://codepad.org/t0CSYtZd 20081115 18:54:51 crimson_penguin for testing you can change language.cpp language_def::available to return true 20081115 18:55:12 it might be OSX has the same problem as Windows 20081115 18:55:23 probably it has 20081115 18:55:47 I'm off to lunch. Won't be back for a few hours. 20081115 18:55:50 * crimson_penguin tries 20081115 18:56:18 by the way, the ./ problem isn't fixed, but I put in a little hacky fix that works fine 20081115 18:56:46 mordante: that makes it work :) 20081115 18:57:23 ok I'll commit a proper patch in a second 20081115 18:58:25 at least... it somewhat works - it seems like changing the locale subsequent times doesn't work too well 20081115 18:58:36 it would really help if I could tell what languages I'm trying though :-/ 20081115 18:59:17 the first time, the menu buttons changed, then after that just the tip of the day changed.. except one time the menu buttons changed again 20081115 19:00:05 but it works if I go into the editor and back, for instance; I guess it just doesn't redo them 20081115 19:02:28 which language did you try? 20081115 19:02:42 I don't know; they're all blocks 20081115 19:03:21 I tried a bunch; maybe German, Dutch, Hebrew... 20081115 19:05:38 oh yeah, also, Two Brothers is still broken for me, even after changing the preferences dir to a new location that didn't used to exist (that should get rid of any cache, right?) 20081115 19:06:29 mordante * r30764 /trunk/ (changelog src/language.cpp): 20081115 19:06:29 Fixed a locale detection problem on OSX. 20081115 19:06:29 OSX has the same problem as Windows with locales. 20081115 19:06:31 crimson_penguin loonycyborgw32 it would be nice if you can test this commit ^ 20081115 19:06:56 yes that should get rid of the cache 20081115 19:08:06 mordante: all locales are selectable for me currently. I hope this commit won't change that :) 20081115 19:08:53 I also hope that ;) 20081115 19:08:57 is this normal? the file that fails starts with this: 0#textdomain wesnoth-tb 20081115 19:09:02 what's with the 0? 20081115 19:09:15 ah that's a bug try svn up 20081115 19:10:17 I just did; that's the current version 20081115 19:10:30 * crimson_penguin also did svn status just to be sure 20081115 19:12:10 mordante: your patch makes translations work the same as before 20081115 19:12:37 well it should only fix that you can select them 20081115 19:12:52 yeah, that's what it did :) 20081115 19:13:33 good :) 20081115 19:13:46 I've no file that starts with 0# :/ 20081115 19:14:10 what svn status does the file have? 20081115 19:14:21 -!- ivan_i [n=chatzill@ppp91-76-202-29.pppoe.mtu-net.ru] has joined #wesnoth-dev 20081115 19:14:29 well I did status, and it wasn't listed 20081115 19:15:13 mordante: All languages are still selectable on win32 after your commit. 20081115 19:15:20 thanks :) 20081115 19:15:24 ivan_i: do you know anything about developing web pages in Python? :) 20081115 19:15:34 yes 20081115 19:15:38 data/campaigns/Two_Brothers/scenarios/2_The_Chase.cfg:1 should start with 0# 20081115 19:16:08 excellent. you seemed like you wanted to get involved......would you be interested in making a Python web page that backs onto a MySQL database for me? 20081115 19:16:28 wesbot log 30727 20081115 19:16:33 shadowmaster * r30727 : * Remove stray characters that was causing AToTB not to start 20081115 19:16:36 URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=30727 20081115 19:17:06 I don't think I have enough time for this 20081115 19:17:09 crimson_penguin that commit should have fixed it ^^ 20081115 19:17:19 too much work already 20081115 19:17:53 mordante: well that's really weird, because I've tried svn revert, svn status (on it in particular; yields no output), and svn up... 20081115 19:18:28 oh wait... I know what's going on here 20081115 19:18:46 auto-data-copy fail :-/ 20081115 19:18:47 ivan_i: okay, no problem; I'm the same way. :) 20081115 19:18:59 damn you XCode! 20081115 19:19:28 Sirp: You're still trying to get wesnoth blogs? :) 20081115 19:19:40 loonycyborgw32: no we got that. I want to make a front end to Wesnoth stats. 20081115 19:19:47 one that actually works and scales 20081115 19:20:10 What webpages? Can you tell more? 20081115 19:20:33 well, we have a way for users to send data from Wesnoth and it gets put in a MySQL database 20081115 19:20:43 I want a web site which displays the contents of the MySQL database in nice charts 20081115 19:20:55 for campaign designers to look over and see statistics on how their campaigns actually turn out in practice. 20081115 19:21:22 I think it should be relatively simple to make at least a basic implementation; if no-one else wants to do it I'm sure I can do it myself when I find time. :) 20081115 19:22:11 sounds interesting 20081115 19:23:27 mordante: TB works now :) 20081115 19:23:31 :) 20081115 19:24:07 Nice charts is more about Javascript than Python 20081115 19:24:33 -!- Blueblaze [n=Blueblaz@215.houston-02rh15rt.tx.dial-access.att.net] has quit [Read error: 113 (No route to host)] 20081115 19:25:04 Python (or Ruby or PHP) part is very simple 20081115 19:25:06 ivan_i: well we'd use an existing technology 20081115 19:25:14 * crimson_penguin could surely do it too, but isn't sure he wants to take on another thing 20081115 19:25:19 probably Google Chart Server or Open Source Flash Charts. 20081115 19:25:37 ah.. that should be simple 20081115 19:25:49 that is my thought 20081115 19:26:20 and yet we paid someone $2500 to do it for summer of code, and got nothing. :) 20081115 19:26:46 mordante: so, I guess translations basically work now, but changing more than once per startup doesn't work very well 20081115 19:27:07 pango still doesn't work, and I don't know why :-/ 20081115 19:27:09 did that work properly before? 20081115 19:27:12 Sirp_: And why did we do it? 20081115 19:27:19 translations I mean 20081115 19:27:25 mordante: I don't know, does it work for you? 20081115 19:27:31 mordante: translations didn't work at all before this 20081115 19:28:19 Espreon: why did we do what? 20081115 19:28:49 The Summer of Code thing. 20081115 19:29:09 Espreon: well, more correctly Google paid the money. 20081115 19:29:31 Google pays money for students to work on Wesnoth. :) A good deal. This year we had four students, and two worked out well, and two didn't. 20081115 19:29:37 Don't they only get paid if they actually do it? 20081115 19:29:58 crimson_penguin: they get $500 up front. $2000 if they pass "mid term evaluation" and another $2000 if they pass "end term evaluation" 20081115 19:30:00 Sirp_: Oh well... 20081115 19:30:08 ohh, ok 20081115 19:30:13 in retrospect we should probably have failed him mid-term, but we passed him mid-term, thinking he'd finish at the end 20081115 19:30:14 So what happened? 20081115 19:30:21 but instead he disappeared, having checked in very little code. 20081115 19:30:28 and the one worked on it disappeared after midterm 20081115 19:30:28 ah :-/ 20081115 19:30:32 we thought he was making good progress because he showed us a "demo" which looked pretty good 20081115 19:30:42 on the other hand, Dragonking and ilor both did great. 20081115 19:30:48 :) 20081115 19:32:43 Sirp: to use Python we need Apache/mod_wsgi or something similar 20081115 19:32:55 ivan_i: okay. 20081115 19:33:36 crimson_penguin does that mean everything except pango works properly now? 20081115 19:33:42 ....by the way we're hoping to participate in Summer of Code next year. Anyone who is a student can apply. The idea is to do it instead of getting a summer job, and get paid for working on Wesnoth..... 20081115 19:33:59 I'm not a student 20081115 19:34:15 mordante: I think so 20081115 19:34:39 * crimson_penguin is gonna have to suggest this to Artem 20081115 19:34:54 he was gonna apply last year I think 20081115 19:35:04 whose Artem? 20081115 19:36:05 a friend in Montreal 20081115 19:36:20 I went and visited him for a week in June 20081115 19:36:56 he's going to McGill, majoring in CS (or at least taking CS, I can never remember these things) 20081115 19:39:51 Sirp: do you have a dump of sample data? 20081115 19:42:51 -!- Blueblaze [n=Blueblaz@255.houston-01rh15-16rt.tx.dial-access.att.net] has joined #wesnoth-dev 20081115 19:43:40 * crimson_penguin will probably be back soon 20081115 19:43:45 -!- crimson_penguin [n=ben@64.201.60.220] has quit ["Leaving"] 20081115 19:51:45 ivan_i: well, I have it in a MySQL db, yes. 20081115 19:52:01 ivan_i: I suppose if you seriously wanted to work on this we'd have to give you access to the Wesnoth server. :) 20081115 19:53:49 well, I can try 20081115 19:55:15 do you have anything like mod_python or mod_wsgi installed? 20081115 19:59:43 I don't think so. I'd have to talk to one of the server admins about getting it installed. 20081115 19:59:59 of course, if I wrote such a thing and wanted to get it working ASAP, I'd use a Perl CGI script. :) 20081115 20:00:37 :) 20081115 20:00:49 very 90's, I know. 20081115 20:01:30 I could installed it myself, but I don't think that you trust me enough to give me root access :) 20081115 20:04:15 zookeeper * r30765 /trunk/data/core/macros/animation-utils.cfg: Macros for new magic missile animations. 20081115 20:04:53 ivan_i: uh-huh. :) 20081115 20:06:04 I think not many people have root access at all ;) 20081115 20:09:17 I assume that you have Apache 2.x web server, the best thing for me is python 2.5, mod_python 3.x, MySQLDb for python, django 1.0 and some changes to httpd.conf 20081115 20:14:32 As a starting point I may need only python and MySQLDb with basic ssh access 20081115 20:18:54 mordante: well Soliton does, right? 20081115 20:19:01 as does Rhonda. 20081115 20:19:14 as do you. :-) 20081115 20:20:18 Sirp some do, but not that many 20081115 20:23:28 considering how many have an account it's about half of them. 20081115 20:23:31 Soliton: ahhh but I wouldn't want to break anything. 20081115 20:23:35 ;) 20081115 20:23:51 Soliton: anyhow, I think it'd actually be a good idea if we had a "standard" way to grant people access to web development on the server 20081115 20:24:04 since we have quite a few web properties we might want people to be able to develop on. 20081115 20:24:22 -!- Blueblaze [n=Blueblaz@255.houston-01rh15-16rt.tx.dial-access.att.net] has quit [Nick collision from services.] 20081115 20:24:25 -!- Blueblazez [n=Blueblaz@95.houston-08rh16rt.tx.dial-access.att.net] has joined #wesnoth-dev 20081115 20:25:05 well, give them an account and add them to some group should be about it? 20081115 20:25:49 * loonycyborgw32 still gets an error in posixmodule.c while compiling python even with mingw patches applied :( 20081115 20:25:57 Apache config is the hard part here 20081115 20:26:37 zookeeper * r30766 /trunk/data/core/units/humans/ (Mage.cfg Mage_Silver.cfg): New magic missile animations for the mage and silver mage. 20081115 20:26:48 Soliton: that sounds good. :) 20081115 20:26:48 boucman, ^ maybe you want to take a look at that in-game, turned out pretty nice IMO 20081115 20:28:08 loonycyborgw32: very strange, posixmodule.c is not used on Windows at all 20081115 20:28:41 it is *nix low-level os stuff 20081115 20:28:50 ivan_i: Maybe that particular patchset relied on cygwin. 20081115 20:30:16 I don't know, try google python mingw, maybe you'll find something better 20081115 20:31:00 I've found this: http://uucode.com/texts/python-mingw/python-mingw.html 20081115 20:31:16 "Íå áûëî ó áàáû çàáîò — êóïèëà áàáà ïîðîñÿ" LOL 20081115 20:31:23 I just know that Python bindings inside Wesnoth (python_ai for now) may not work on Windows with standard Python distibution if you compile Wesnoth with mingw 20081115 20:32:21 -!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit [Remote closed the connection] 20081115 20:32:59 My chatzilla don't understand your encoding 20081115 20:33:39 Не было у бабы забот — купила баба порося. LOL 20081115 20:34:30 My client doesn't understand your encoding either. 20081115 20:34:44 FreeNode uses UTF-8 20081115 20:35:10 http://jove.prohosting.com/iwave/ipython/pyMinGW.html contains already compiled binaries 20081115 20:35:24 I'm off bye 20081115 20:35:40 -!- mordante [n=chatzill@roadie.xs4all.nl] has quit ["ChatZilla 0.9.83 [Firefox 3.0.3/2008092417]"] 20081115 20:36:50 I have utf-8 here, your client probably uses something else 20081115 20:37:10 tak chto pridetsia ispolzovat translit 20081115 20:37:21 Yes. I noticed. Forgot that I only set it to UTF8 on linux. 20081115 20:39:04 OK. I've set it to UTF8 here too but I'm not sure whether it will work right away without restart. 20081115 20:39:12 òåñò 20081115 20:40:08 no 20081115 20:40:13 не работает 20081115 20:40:36 -!- loonycyborgw32 [i=kvirc@79.139.247.220] has quit ["restarting"] 20081115 20:43:31 -!- loonycyborgw32 [i=kvirc@79.139.247.220] has joined #wesnoth-dev 20081115 20:43:40 -!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20081115 20:44:16 тест 20081115 20:44:39 ok 20081115 20:44:52 Now you have UTF-8 20081115 20:45:19 тест 20081115 20:45:46 I see proper russian letters :) 20081115 20:46:09 :) 20081115 20:46:57 "Не было у бабы забот... купила баба порося" is untranslatable to English... 20081115 20:48:33 Nothing is closer to describe the embedded Python on Windows :) 20081115 20:49:23 if you don't use MSVC++ 20081115 20:51:08 * loonycyborgw32 could make scons use msvc on windows but he'd rather not 20081115 20:53:11 * ivan_i wonders why Python devs chose to use msvc on windows in the first place 20081115 20:55:13 Everything free software related is just so easier on Linux 20081115 20:55:25 Indeed. 20081115 21:01:14 Multiple compilers can be a serious issue with Wesnoth on windows 20081115 21:35:16 ivan_i: Hm.. Binary release from http://jove.prohosting.com/iwave/ipython/pyMinGW.html is for python 2.5a2 but there's no such version on python.org 20081115 21:39:11 Windows is such an unfriendly enviornment... 20081115 21:39:22 -!- maxy [n=maxy@80-219-1-12.dclient.hispeed.ch] has quit [Remote closed the connection] 20081115 21:45:19 -!- Elvish_Pillager [n=eli@24-177-36-147.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20081115 21:46:29 Welcome, Elvish_Pillager. 20081115 21:46:34 loonycyborgw32: Yes, they are outdated 20081115 21:48:10 I could use dlltool to extract an import library from python25.dll and link wesnoth against it, but I'm not sure whether it's going to work. 20081115 21:55:01 The best way is to compile it yourself, using http://python-mingw.donbennett.org/ and Python 2.5.1 source 20081115 21:56:24 ANd for python-ai you don't need anything but core python 20081115 21:56:34 AFAIK 20081115 21:57:06 That is the way I used when I got an error in posixmodule.c 20081115 21:59:20 You used 2.5.1 source? 20081115 21:59:31 Yes. 20081115 21:59:45 What was the error? 20081115 22:01:01 Maybe you need to disable something in ./configure script 20081115 22:01:21 error: O_CTTY undeclared 20081115 22:01:48 -!- Elvish_Pillage2 [n=eli@24-177-36-147.dhcp.oxfr.ma.charter.com] has quit [Read error: 110 (Connection timed out)] 20081115 22:01:52 Don't know how to copy/paste from MSYS 20081115 22:02:59 http://python-mingw.donbennett.org/mywiki/Installation says that only ./configure make make install are needed. 20081115 22:03:35 And I *did* pass --host 20081115 22:03:36 but ./configure has many options 20081115 22:18:01 I suspect that it failed because it depends on cygwin, but I'd rather not use cygwin. 20081115 22:18:09 -!- _ping_ [n=ping_c@56343bbe.rev.stofanet.dk] has joined #wesnoth-dev 20081115 22:19:56 Yes, looks like they need cygwin 20081115 22:21:28 -!- Espreon [n=espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit [Remote closed the connection] 20081115 22:23:07 <_ping_> krotop and i may have fund a bug on version 1.5.5 each time ai have a turn on team survival wesnoth abort line 537 src/ai.cpp 20081115 22:24:13 <_ping_> ( windows version ) 20081115 22:24:48 * loonycyborgw32 hopes that there's a way to avoid multiple compilers issue by not using FILE* etc 20081115 22:26:08 _ping_: What is exact error message? 20081115 22:26:55 Wait.. Line number should be enough :) 20081115 22:27:01 <_ping_> yes :) 20081115 22:27:37 But not for me since I'm using trunk :) 20081115 22:27:54 <_ping_> line is static_cast ... trying to move unit without ... 20081115 22:28:04 And have different stuff at that line than you. 20081115 22:28:28 <_ping_> hold on i give the text 20081115 22:29:05 Better attach it to bug report on gna.org 20081115 22:30:26 <_ping_> static_cast(u_it->second.movement_left()) >= rt->second.step.size()-1 && 20081115 22:30:53 <_ping_> i dont have time for it atm but it should be easy to reproduce and or find 20081115 22:34:58 -!- _ping_ [n=ping_c@56343bbe.rev.stofanet.dk] has quit [Read error: 104 (Connection reset by peer)] 20081115 22:35:33 loonycyborgw32: can you bring loonybot back for a moment? 20081115 22:35:58 loonybot requires linux. 20081115 22:36:56 But I want to multiboot now anyway.. 20081115 22:36:58 -!- loonycyborgw32 [i=kvirc@79.139.247.220] has quit ["KVIrc 3.4.0 Virgo http://www.kvirc.net/"] 20081115 22:39:06 -!- loonybot [n=loonybot@79.139.247.220] has joined #wesnoth-dev 20081115 22:39:17 -!- _ping_ [n=ping_c@56343bbe.rev.stofanet.dk] has joined #wesnoth-dev 20081115 22:39:20 -!- loonycyborg [n=sergey@79.139.247.220] has joined #wesnoth-dev 20081115 22:39:38 I did not have any problems with mingw-compiled extensions with official python distribution, but I've heard that it's not very reliable 20081115 22:40:23 Windows is not very reliable in general :) 20081115 22:42:24 -!- crimson_penguin [n=ben@64.201.60.220] has joined #wesnoth-dev 20081115 22:42:27 -!- wildpenguin [n=chris@ppp121-45-159-67.lns11.adl6.internode.on.net] has joined #wesnoth-dev 20081115 22:42:51 -!- BenUrban [n=benurban@unaffiliated/benurban] has joined #wesnoth-dev 20081115 22:44:00 ivan_i: Currently I'm distributing only python25.dll in windows release. Am I correct when I suspect that this approach is totally inadequate? 20081115 22:44:53 It's just not reliable, python2.5 should be compiled with the same compiler as wesnoth bionary 20081115 22:44:58 *binary 20081115 22:45:52 But what if python 2.4 is installed on user's system? 20081115 22:46:06 Or no python at all? 20081115 22:46:29 Ship python25.dll and all needed support files on Windows with Wesnoth 20081115 22:46:58 Everything else is path to bugs and crashes 20081115 22:47:17 Especially if we will use Python more 20081115 22:47:40 What support files are needed? 20081115 22:47:51 * crimson_penguin hasn't done anything with Python yet 20081115 22:48:05 Now nothing but python.dll AFAIK 20081115 22:48:11 Perhaps use nested installer for python instead? 20081115 22:48:57 IMHO it's overkill, normal users don't need python itself 20081115 22:49:46 There are python tools inside wesnoth -- thewy require normal python install 20081115 22:50:22 But for built-in interpreter --- python25.dll is all is needed 20081115 22:50:45 In bruteforce.py there's "import time" 20081115 22:51:00 then we need to ship time.py 20081115 22:51:15 lemme check, they import random too 20081115 22:51:26 2 mins 20081115 22:53:12 time.dll should be compiled too, and random.py 20081115 22:53:23 few more files :) 20081115 22:54:37 -!- Baufo_ [n=thomas@62-47-138-53.adsl.highway.telekom.at] has quit [Remote closed the connection] 20081115 22:55:20 random requires some more modules, IMHO they all can be included with WIndows distribution of Wesnoth 20081115 22:56:20 or don't use standard random in scripts, just add bindings to builtin Wesnoth RNG 20081115 22:56:33 So with those modules included this should work without python installed? 20081115 22:56:54 the same can be done with time, add time func to ai_python 20081115 22:56:54 Where python25.dll will search for them? 20081115 22:57:41 hmh. i have a savefile with which i get the AI to freeze. rev 30745 20081115 22:58:23 I did it about year ago on Windows, I don't remember all details, but it definetly possible and quite easy to ship all required python files with C/C++ app 20081115 22:58:39 Many windows apps do it 20081115 22:59:41 BTW it is safer to not depend on python standard library inside user scripts 20081115 23:02:22 data/ai/python/safe.py is used to control what user scripts do. 20081115 23:02:34 -!- Espreon [n=Espreon@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20081115 23:05:40 ivan_i: Is there a way to override what "import" does in a way so user script couldn't cirumvent it? 20081115 23:05:57 I'm looking for that 20081115 23:06:54 -!- crimson_penguin [n=ben@64.201.60.220] has quit ["Leaving"] 20081115 23:07:57 sys is builtin module, sys.path could be manipulated before calling the scripts 20081115 23:08:50 http://www.python.org/doc/2.5.2/api/embedding.html 20081115 23:12:54 Ah. Scripts won't be able to set sys.path since sys isn't imported. 20081115 23:14:04 sys is always present 20081115 23:14:13 always can be imported 20081115 23:15:24 we can use Py_SetProgramName() and put all support files under lib/python.25/ 20081115 23:15:53 relative to wesnoth.exe 20081115 23:18:36 Wouldn't it require wesnoth.exe to be in PATH? 20081115 23:19:17 Don't know, I use trial-and-error approach in such situations 20081115 23:19:30 "it looks for a directory named lib/python2.5 relative to the parent directory where the executable named python is found on the shell command search path (the environment variable PATH)" 20081115 23:20:40 gotta look at Py_GetPath function inside python source 20081115 23:21:25 Modules/getpath.c 20081115 23:24:07 -!- Espreon [n=Espreon@c-76-117-239-33.hsd1.pa.comcast.net] has quit [Remote closed the connection] 20081115 23:26:13 -!- Espreon [n=Espreon@c-76-117-239-33.hsd1.pa.comcast.net] has joined #wesnoth-dev 20081115 23:30:11 Another option is to patch Modules/getpath.c with custom Py_GetPath, Py_GetPrefix in wesnothian python25.dll 20081115 23:31:01 Or add cwd to PYTHONPATH 20081115 23:31:19 :) 20081115 23:31:45 python.dll always looks first in cwd 20081115 23:31:53 when importing modules 20081115 23:33:54 to cwd/python_modules or so that is. 20081115 23:33:58 story screens seem to be broken in r30745. 20081115 23:34:25 To avoid littering distribution root with .py files. 20081115 23:35:02 since we run scripts from python string, we can just manipulate sys.path before importing the script, that's all that is needed 20081115 23:36:01 That would be even better. 20081115 23:36:36 Since there are two environments on windows :) 20081115 23:36:44 that is what is happening already inside ai_python.cpp 20081115 23:37:28 just add some more sys.path.insert(0, ) 20081115 23:37:53 and voila 20081115 23:38:44 if sys.platform == 'nt' can be added 20081115 23:41:14 It's amazing how much pain is required to make good Windows version 20081115 23:41:35 compared to Linux and Mac 20081115 23:43:43 I'm thinking about adding custom random function based on wesnothian RNG to ai_python.cpp, what do you think? 20081115 23:52:21 I don't know much about wesnoth's python stuff yet. But this isn't a bad idea AFAICT. 20081115 23:54:13 -!- stikonas [n=and@ctv-213-164-122-89.vinita.lt] has quit [Remote closed the connection] 20081115 23:55:52 People who actually maintain python stuff in wesnoth(elias, BlindOracle) seem to be MIA currently :( 20081115 23:59:34 I implemented it, it's trivial, compiling.. --- Log closed Sun Nov 16 00:00:47 2008