--- Log opened Tue Apr 26 00:00:22 2016 20160426 00:01:54-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Ping timeout: 276 seconds] 20160426 00:03:45-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has quit [Quit: Connection closed for inactivity] 20160426 00:09:06-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160426 00:19:24-!- Appleman1234 [~Appleman1@KD036012035161.au-net.ne.jp] has quit [Ping timeout: 268 seconds] 20160426 00:40:46-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 00:44:09-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20160426 00:45:55-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 268 seconds] 20160426 01:13:53-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20160426 01:22:42-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20160426 01:23:17-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Remote host closed the connection] 20160426 01:24:52-!- Appleman1234 [~Appleman1@KD036012035161.au-net.ne.jp] has joined #wesnoth-dev 20160426 02:36:24-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20160426 03:48:10-!- ancestral [~ancestral@75-168-27-21.mpls.qwest.net] has joined #wesnoth-dev 20160426 03:49:08-!- wedge010 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has joined #wesnoth-dev 20160426 03:52:21-!- wedge009 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has quit [Ping timeout: 244 seconds] 20160426 03:52:22-!- wedge010 is now known as wedge009 20160426 04:03:40-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 04:08:22-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 244 seconds] 20160426 05:23:33-!- Kwandulin [~Miranda@p200300760F394905ECCD2B9893EC7709.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160426 05:52:48-!- vultraz_iOS [uid24821@wesnoth/developer/vultraz] has joined #wesnoth-dev 20160426 06:01:22-!- ancestral [~ancestral@75-168-27-21.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160426 06:11:38-!- Kwandulin [~Miranda@p200300760F394905ECCD2B9893EC7709.dip0.t-ipconnect.de] has quit [Ping timeout: 250 seconds] 20160426 06:46:38-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 06:51:35-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 276 seconds] 20160426 07:03:44-!- Kwandulin [~Miranda@p200300760F394905ECCD2B9893EC7709.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160426 07:30:10-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20160426 07:46:34-!- Nobun [~nobun@host119-48-dynamic.20-87-r.retail.telecomitalia.it] has joined #wesnoth-dev 20160426 07:47:46< Nobun> hi all... I returned to have a decent connection for some days... if anyone noticed any bug in my wmlxgettext is wellcomed to report it to me :) 20160426 08:01:12< loonycyborg> hmm but I wonder if I'll want to switch wesnoth's pot-update to python wmlxgettext how exactly should I do it? 20160426 08:01:34< loonycyborg> copy the python modules to git? 20160426 08:01:43< loonycyborg> or use git submodules? 20160426 08:02:29< Nobun> loonycyborg: never tried, but should work in this way: 20160426 08:02:56< Nobun> move (perl) wmlxgettext away from utils 20160426 08:03:14< Nobun> move (python) wmlxgettext into utils (removing .py extension) 20160426 08:03:48< Nobun> and move the directory pywmlx in the same place where the new wmlxgettext is (so move pywmlx as a subdirectory of utils) 20160426 08:04:37< Nobun> poreorder.py, wescheck.py, test_wmlxgettext.py and _test folder can be omitted, since they are not part of the actual wmlxgettext code 20160426 08:05:17< loonycyborg> That's the simplest solution yes 20160426 08:05:22< Nobun> the docs/source directory is the source of the online documentation page at readthedocs 20160426 08:06:30< Nobun> there is an alternate way (wich will work only on linux and mac... but after all pot-update target cannot be runned under windows)... 20160426 08:06:50< Nobun> you rename (perl) wmlxgettext to perl_wmlx 20160426 08:07:05< Nobun> you rename (python) wmlxgettext to python_wmlx 20160426 08:07:16< Nobun> and make wmlxgettext as symlink to python_wmlx 20160426 08:07:33< Nobun> (never tryed, but should work) 20160426 08:21:53-!- horrowind [~Icedove@2a02:810a:83c0:1c18:21b:fcff:fee3:c3ff] has joined #wesnoth-dev 20160426 08:23:54< loonycyborg> but if I do something of the above I'd need to sync changes with your upstream repo manually 20160426 08:24:17-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Remote host closed the connection] 20160426 08:24:33< loonycyborg> That's the reason I'm considering git submodulues 20160426 08:24:41< Nobun> loonycyborg: I don't understand 20160426 08:26:16< loonycyborg> if I just commit python wmlxgettext to https://github.com/wesnoth/wesnoth as part of new pot-update 20160426 08:26:49< loonycyborg> then I would need to manually apply changes from your original repo, if you make more commits there 20160426 08:27:18< Nobun> hmm... understood the problem now... 20160426 08:28:43< Nobun> yeah... I developed the project in a reserved space since I don't know if the project would been or not approved to be added in mainline 20160426 08:30:00< Nobun> and to let all of you to be able to evaluate it, before making any decision 20160426 08:30:31< Nobun> but we can do also in this way, if you agree 20160426 08:31:22< Nobun> when you create the new pot-update, you can create it as a separated branch of wesnoth 20160426 08:31:59< Nobun> than you can say me where is it and where to pull request the new commits (if any required) to that branch... if it helps 20160426 08:33:32< Nobun> let me know what I can do to make your life easier, and if I am able to do it, I will (try to) do ;) 20160426 08:35:04-!- mjs-de [~mjs-de@x4e35b45b.dyn.telefonica.de] has joined #wesnoth-dev 20160426 08:35:45< Nobun> loonycyborg: however, except if any other bug will be discovered, I consider the current repository state as "stable" so it wouldn't have any other update (except, perhaps, online documentation wich is not important for pot-update) 20160426 08:37:00< loonycyborg> I'll have that in mind 20160426 08:39:19< Nobun> I cannot exclude completely I would make some minor changes, but the code should be indeed considered stable now (I think) 20160426 09:29:36-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 09:30:10-!- oldshadowm is now known as shadowm 20160426 09:33:19< shadowm> loonycyborg: If something will be included in mainline then there's probably little reason against giving the author access OR having them go through the pull request process. 20160426 09:33:49< shadowm> This git submodules nonsense just reeks of overengineering for such a small project. 20160426 09:33:57-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 250 seconds] 20160426 09:34:07< loonycyborg> ok 20160426 09:34:54< Nobun> shadowm: as I said before all solutions are fine for me... I don't have problems on pushing updates through a pull request in wesnoth/wesnoth repository 20160426 09:35:17< shadowm> Just to clarify, that's just my personal opinion, which currently has no bearing on anything. 20160426 09:36:07< shadowm> Maybe when I wasn't looking Glorious Leader decided that people should send their patches via snail mail, what do I know. 20160426 09:47:02-!- Duthlet [~Duthlet@p4FC92FBD.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160426 10:17:57-!- horrowind [~Icedove@2a02:810a:83c0:1c18:21b:fcff:fee3:c3ff] has quit [Quit: horrowind] 20160426 10:25:03-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20160426 10:30:05-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has joined #wesnoth-dev 20160426 10:30:27-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Ping timeout: 276 seconds] 20160426 10:47:25-!- vultraz_iOS [uid24821@wesnoth/developer/vultraz] has quit [Quit: Connection closed for inactivity] 20160426 10:58:17-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has quit [Quit: ChipmunkV] 20160426 11:18:13-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 11:18:25< zookeeper> i didn't want to make the post i did, but i see no other choice... -.- 20160426 11:23:14-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 260 seconds] 20160426 11:37:32-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160426 11:44:17-!- Kwandulin [~Miranda@p200300760F394905ECCD2B9893EC7709.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160426 12:16:31-!- prkc [~prkc@catv-89-133-36-138.catv.broadband.hu] has joined #wesnoth-dev 20160426 12:23:30-!- Kwandulin [~Miranda@p200300760F394905C86E111FD185EE27.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160426 12:26:08-!- skyfaller [~skyfaller@2601:42:2:bf30:9430:bcdd:6466:35be] has joined #wesnoth-dev 20160426 12:26:08-!- skyfaller [~skyfaller@2601:42:2:bf30:9430:bcdd:6466:35be] has quit [Changing host] 20160426 12:26:08-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20160426 12:30:53-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Ping timeout: 276 seconds] 20160426 13:16:18-!- Kwandulin [~Miranda@p200300760F394905C86E111FD185EE27.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160426 14:16:18-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20160426 14:40:00-!- Kwandulin [~Miranda@p200300760F394965AC30FE0192081B17.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160426 15:03:38-!- Appleman1234 [~Appleman1@KD036012035161.au-net.ne.jp] has quit [Ping timeout: 276 seconds] 20160426 15:16:12-!- prkc [~prkc@catv-89-133-36-138.catv.broadband.hu] has quit [Ping timeout: 246 seconds] 20160426 15:29:01-!- prkc [~prkc@81.17.20.98] has joined #wesnoth-dev 20160426 15:44:10-!- prkc [~prkc@81.17.20.98] has quit [Ping timeout: 252 seconds] 20160426 15:49:06-!- wedge010 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has joined #wesnoth-dev 20160426 15:51:54-!- wedge009 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has quit [Ping timeout: 246 seconds] 20160426 15:51:54-!- wedge010 is now known as wedge009 20160426 15:55:09-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 15:57:46-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20160426 16:00:06-!- prkc [~prkc@catv-89-133-36-138.catv.broadband.hu] has joined #wesnoth-dev 20160426 16:00:08-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20160426 16:03:07-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20160426 16:04:40-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has joined #wesnoth-dev 20160426 16:08:55-!- Appleman1234 [~Appleman1@KD036012035161.au-net.ne.jp] has joined #wesnoth-dev 20160426 16:12:25-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has joined #wesnoth-dev 20160426 16:13:32-!- atarocch [~atarocch@62.119.166.1] has joined #wesnoth-dev 20160426 16:42:30-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20160426 16:45:36-!- EdB [~edb@89.193.129.77.rev.sfr.net] has joined #wesnoth-dev 20160426 16:54:09-!- irker532 [~irker@uruz.ai0867.net] has joined #wesnoth-dev 20160426 16:54:09< irker532> wesnoth: loonycyborg wesnoth:asio_wesnothd c5005f3c9303 / .travis.yml: Revert "Try to move travis mp tests to gcc build" https://github.com/wesnoth/wesnoth/commit/c5005f3c93034454c650a78892ff7e675ddbefd7 20160426 16:54:09< irker532> wesnoth: loonycyborg wesnoth:asio_wesnothd 36b9f7aba401 / src/server/game.cpp: Re-enable game::send_history https://github.com/wesnoth/wesnoth/commit/36b9f7aba401f697146a768191f6301b98715408 20160426 17:22:55-!- horrowind [~Icedove@2a02:810a:83c0:1c18:21b:fcff:fee3:c3ff] has joined #wesnoth-dev 20160426 17:29:58-!- travis-ci [~travis-ci@ec2-54-167-46-35.compute-1.amazonaws.com] has joined #wesnoth-dev 20160426 17:29:59< travis-ci> wesnoth/wesnoth#9328 (asio_wesnothd - 36b9f7a : loonycyborg): The build passed. 20160426 17:29:59< travis-ci> Build details : https://travis-ci.org/wesnoth/wesnoth/builds/125885571 20160426 17:29:59-!- travis-ci [~travis-ci@ec2-54-167-46-35.compute-1.amazonaws.com] has left #wesnoth-dev [] 20160426 17:30:30< loonycyborg> SUDDENLY it passes 20160426 17:33:06-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160426 17:48:13-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 18:00:35< celticminstrel> Nobun: Can you make wmlxgettext recognize _ << >> strings? (Unless it already does?) 20160426 18:19:32-!- atarocch [~atarocch@62.119.166.1] has quit [Quit: Leaving] 20160426 18:20:38< Nobun> celticminstrel: sorry for late replt 20160426 18:21:11< Nobun> currently wmlxgettext "parse" << and >> only on lua tag as "switch to lua parser" and "come back to lua code" 20160426 18:21:27< Nobun> that behaviour is active only if the file is a WML file 20160426 18:22:00< celticminstrel> Something was recently added that uses _ << >> as a translatable string. 20160426 18:22:24< celticminstrel> So << preceded by _ will need to not switch to Lua parser. 20160426 18:23:03< celticminstrel> (By the way, when it returns from Lua code, does it reset the textdomain to what it was before?) 20160426 18:23:23< Nobun> celticminstrel, nope 20160426 18:23:52< Nobun> the current domain stays as the last change domain passed (in lua or WML) 20160426 18:24:24< celticminstrel> I wonder if the WML parser would honour textdomains of the form "--#textdomain" in Lua code... 20160426 18:24:36< Nobun> so if it was changed in lua code, it should be "resetted back" to the previuous value by a lua before closing or on WML code 20160426 18:25:20< Nobun> celticminstrel: not any more... I used your regexp, since I see that in the recent repository you abandoned the trick of using -- # textdomain 20160426 18:25:32< Nobun> (thank of the bug reported by celticminstrel) 20160426 18:25:37< Nobun> by loonycyborg sorry 20160426 18:26:16< Nobun> so, on lua code, current domain is (local) _ = wesnoth.SOMETHING I DON'T REMEMBER NOW 20160426 18:26:49 * celticminstrel nods. 20160426 18:27:05< celticminstrel> In that case it should definitely reset to the last WML-specified value. 20160426 18:27:47< celticminstrel> Also, maybe there should be a distinction between "Lua file" (where >> has no special meaning) and "WML file", though that's not really important unless we upgrade the Lua version. 20160426 18:28:55< Nobun> however if you ever upgrade to new lua 20160426 18:29:40< Nobun> remember that my parser use << and >> as marker delimiter language ONLY on WML file and only if opened a lua tag in that WML 20160426 18:29:55< Nobun> so... you can use << and >> in a pure .lua file without any trouble 20160426 18:30:57< Nobun> capturing _ << and >> seems harder, and I don't understand why you are starting to support it 20160426 18:31:01< celticminstrel> Ah, okay, so no trouble already. 20160426 18:31:22< celticminstrel> Ask Dugi why he chose _ << >> 20160426 18:32:21< Nobun> the problem I see (a part wmlxgettext project but it is not important) is a possible conflict with << and >> used as literal string on WML (for example in some core .cfg files used to calculate png file names) 20160426 18:32:48< Nobun> I think it can make WML confusing to read, so I'd suggest to drop the idea 20160426 18:33:56< Ravana_> I would use <<>> for strings only if it would require escaping too many quotes otherwise 20160426 18:34:47< Nobun> yeah but also can be ambigous for wesnoth internal interpreter too 20160426 18:35:18< Nobun> since if you use << and >> in non-translatable string, is not considered as a string but as litteral string, wich is not exactly the same thing 20160426 18:36:06< Nobun> I think the << >> can create confusion about UMC developers and can expose them to create unexpected bugs while trying to use them 20160426 18:36:51< Nobun> but it is only my opinion 20160426 18:37:36< Nobun> if you ask to figure how to add support also for _<< >> I will think how to implement the feature in the wmlxgettext, and update my repository 20160426 18:39:35< celticminstrel> I would generally not recommend using _ << >> for translatable strings, but the case Ravana_ mentioned is valid, actually, and the new name grammars currently use {} so they need to be shielded from the preprocessor. 20160426 18:39:38< Nobun> (since, in that case, I probably need to add an extra wml state, since modifying the current WmlStr01 state can introduce bug (chance of making impossible to reach the WmlGoluaState) 20160426 18:42:01< Nobun> celticminstrel: I don't understand the thing about { }.... 20160426 18:42:34< Nobun> until now I saw {} for macro definition and for file search {~add-ons/etc} 20160426 18:42:42< Nobun> for macro call * 20160426 18:44:36< celticminstrel> data/core/macros/names.cfg 20160426 18:45:53< Nobun> celticminstrel: I will take an eye on it 20160426 18:47:10< Nobun> I don't see any {} perhaps my local git clone is a bit outdated 20160426 18:47:30< Nobun> I will fetch from upstream 20160426 18:52:23-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20160426 18:52:35< Nobun> celticminstrel: wmlxgettext will consider { } as litteral '{' and '}' 20160426 18:53:31< Nobun> but if the extra-option --warnall is passed to command line, when a translatable string in WML code contains a '{' will return a warning of having macro in translation (to inform that translation will never work) 20160426 18:54:19< Nobun> currently, as I said, the _ << and >> is not evalued as a valid marker for identify translatable string 20160426 18:55:05< Nobun> so I will work tomorrow to introduce a rule to support it (hoping I can do it without introducing bugs on the "switch to lua" wml state) 20160426 18:55:59-!- stikonas [~stikonas@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160426 18:59:00-!- stikonas [~stikonas@wesnoth/translator/stikonas] has quit [Read error: Connection reset by peer] 20160426 19:19:16-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160426 19:28:59-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 19:29:14< Nobun> loonycyborg: I noticed that my wmlxgettext was added to wesnoth/wesnoth... I'm honoured :) 20160426 19:29:36< loonycyborg> how? I didn't add it 20160426 19:29:42< loonycyborg> planned to work on it later 20160426 19:29:46< Nobun> ah no sorry 20160426 19:29:51< Nobun> my fault 20160426 19:30:23< Nobun> it is a fork I made myself to test it... it remained after merging from upstream repo... sorry 20160426 19:30:27-!- Duthlet_ [~Duthlet@p5485E0F2.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160426 19:30:28< Nobun> I feel a bit stupid xD 20160426 19:31:01< Nobun> well... so I will add the fix (when ready) in my repository than 20160426 19:31:03-!- Duthlet [~Duthlet@p4FC92FBD.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 20160426 19:31:15-!- Duthlet_ [~Duthlet@p5485E0F2.dip0.t-ipconnect.de] has quit [Client Quit] 20160426 19:31:37-!- Duthlet [~Duthlet@p5485E0F2.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160426 19:31:44< Nobun> there is another pending thing... now WML supports also _ << >> for translatable strings, so I require to update my code to support it 20160426 19:32:00< Nobun> I will let you know when the fix is ready, loonycyborg 20160426 19:32:03< celticminstrel> Technically it always supported it, just never actually made use of it. >_> 20160426 19:32:11< celticminstrel> Until recently. 20160426 19:32:26< Nobun> celticminstrel: I never known it and I never seen it in any WML code :P 20160426 19:33:09< Nobun> celticminstrel: do you confirm that lua code is always marked with code = << 20160426 19:33:10< Nobun> ? 20160426 19:33:23< Nobun> (I mean in WML under lua tag) 20160426 19:33:24-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Remote host closed the connection] 20160426 19:33:43< celticminstrel> I've always seen Lua code marked that way, yes. 20160426 19:34:15< celticminstrel> It's possible to use simple quotes, but that would only make sense for a simple one-liner. 20160426 19:34:26< Nobun> ok than... so I can change the current WmlGoluaState regexp rule a bit, so I can avoid conflicts if I try to change the regexp for translatable string, instead of introducing a new state 20160426 19:34:57< Nobun> celticminstrel: I hope it will never happen 20160426 19:35:27< Nobun> since currently my code doesn't support this, and I couldn't implement that corner case in my wmlxgettext 20160426 19:35:47-!- prkc [~prkc@catv-89-133-36-138.catv.broadband.hu] has quit [Ping timeout: 244 seconds] 20160426 19:35:51< celticminstrel> A simple one-liner probably wouldn't contain any translatable strings anyway. 20160426 19:36:16< Nobun> ok... nice to hear it 20160426 19:46:24-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160426 19:46:50-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 19:47:45< Ravana_> I have used lua code with single quotes where I need to pass macro arguments to lua function 20160426 19:48:02< Ravana_> actually, I did that without any quotes even... 20160426 19:51:07-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 252 seconds] 20160426 19:52:14-!- vultraz_iOS [uid24821@wesnoth/developer/vultraz] has joined #wesnoth-dev 20160426 19:54:26-!- irker532 [~irker@uruz.ai0867.net] has quit [Quit: transmission timeout] 20160426 19:56:47-!- vincent_c [~bip@107.191.117.101] has quit [Ping timeout: 276 seconds] 20160426 20:00:11-!- vincent_c [~bip@vcheng.org] has joined #wesnoth-dev 20160426 20:01:48-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] 20160426 20:02:15-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth-dev 20160426 20:11:17-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20160426 20:19:01-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160426 20:24:45-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 20:29:37-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 252 seconds] 20160426 20:31:13-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 20:40:03-!- atarocch [~atarocch@88.131.19.70] has joined #wesnoth-dev 20160426 20:40:43-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160426 20:41:13-!- exciton [chuck-the-@89.208.170.132] has quit [Read error: Connection reset by peer] 20160426 20:41:27-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20160426 20:44:02-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [] 20160426 20:54:10-!- atarocch [~atarocch@88.131.19.70] has quit [Quit: Leaving] 20160426 21:00:43-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has quit [Quit: ChipmunkV] 20160426 21:07:13< Nobun> since "for line in file1" is require to actually get the file line, I think that open() didn't store the file in memory, but it open a stream buffer to the file, wich is used to keep note the point reached on reading/writing file and storing in memory the line you obtained each time you call for line 20160426 21:09:29-!- EdB [~edb@89.193.129.77.rev.sfr.net] has quit [Quit: Konversation terminated!] 20160426 21:09:38< celticminstrel> That's correct. 20160426 21:09:52< Nobun> sorry celticminstrel: wrong channel 20160426 21:10:03< Nobun> I wanted to post this reply at #python xD 20160426 21:10:04< celticminstrel> Oh. 20160426 21:10:07 * celticminstrel shrugs. 20160426 21:10:18< Nobun> no no my fault :P 20160426 21:11:45< Nobun> good night all :) 20160426 21:11:51-!- Nobun [~nobun@host119-48-dynamic.20-87-r.retail.telecomitalia.it] has quit [Quit: Salve a tutti] 20160426 21:14:00-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 21:27:53-!- Kwandulin [~Miranda@p200300760F394965AC30FE0192081B17.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160426 21:40:48-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160426 21:48:27-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20160426 21:57:57-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160426 22:13:23-!- mjs-de [~mjs-de@x4e35b45b.dyn.telefonica.de] has quit [Remote host closed the connection] 20160426 22:33:10-!- SigurdFD [~SigurdFD@dynamic-acs-72-23-176-151.zoominternet.net] has joined #wesnoth-dev 20160426 22:34:52-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 260 seconds] 20160426 22:37:55< SigurdFD> Does anyone know how to use 'prefsdir' for scons compile on windows? I can't seem to get it to work? 20160426 22:43:22-!- gfgtdf [~chatzilla@x4e3637c6.dyn.telefonica.de] has joined #wesnoth-dev 20160426 22:43:47< gfgtdf> SigurdFD: from looking at the SConscript file it seems to be explicitly disabled for windows 20160426 22:45:13< gfgtdf> SigurdFD: maybe loonycyborg can halp you for adding such an option for windows too 20160426 22:47:10< SigurdFD> ok, thanks. 20160426 22:47:10< gfgtdf> celticminstrel: maybe we can change the name gewneratory sntag not to require nested quoted, like using ; to seperate the different nonterminals or something. 20160426 22:47:24< gfgtdf> name generator syntax* 20160426 22:47:59< gfgtdf> celticminstrel: actuall it seem liek even teh current way doesnt need nested qoutes 20160426 22:48:17< gfgtdf> celticminstrel: so i really don't see a reason why for using << >> 20160426 22:49:04< celticminstrel> gfgtdf: {} 20160426 22:49:21< gfgtdf> celticminstrel: hmm right 20160426 22:49:32-!- Appleman1234 [~Appleman1@KD036012035161.au-net.ne.jp] has quit [Ping timeout: 244 seconds] 20160426 22:49:38< gfgtdf> celticminstrel: maybe just relace it with other brackets? 20160426 22:49:41< celticminstrel> We could change it to use [] instead; Dugi's reasoning for using {} was that it's a similar meaning to macro substitution, apparently. 20160426 22:50:13< gfgtdf> celticminstrel: we coudl change it to $name whcih woudl be asinilar meanign to variable substtion. 20160426 22:50:17< celticminstrel> We could just wait to see how Nobun manages. 20160426 22:50:32< celticminstrel> $name isn't very good, nonterminals can contain arbitrary characters. 20160426 22:51:03< gfgtdf> celticminstrel: i don't think rescuction nonterminal names is an isuie 20160426 22:51:27< gfgtdf> restricting* 20160426 22:53:45< SigurdFD> anyone: Where do people put their userdata directory for their master checkout? In the checkout directory, or somewhere else? 20160426 22:54:22< celticminstrel> It's possible, of course, but more work than just changing the bracket type. 20160426 22:55:03< celticminstrel> This isn't something we need to deal with quickly though. We can take our time and consider the options. 20160426 22:55:11< loonycyborg> SigurdFD: by default userdata dir in git checkout dir 20160426 23:00:46< SigurdFD> it doesn't seem to work that way for my checkout. userdata dir is user\my_documents\my_games\wesnoth1.13 20160426 23:01:21< SigurdFD> unless I use a shortcut or otherwise launch with the --config-dir flag 20160426 23:01:44< SigurdFD> I'm wondering if 1.13.2 windows directory changes affected this. 20160426 23:01:54< SigurdFD> ^ shadowm 20160426 23:03:12< shadowm> Yes. 20160426 23:04:27< shadowm> https://forums.wesnoth.org/viewtopic.php?f=5&t=43342 under "New user files location". 20160426 23:07:14< SigurdFD> shadowm: was that intended to affect compiling in a master checkout as well? 20160426 23:08:02< shadowm> There is no difference between compiling "a master checkout" and a release build, if that's what you are asking. 20160426 23:08:43< shadowm> And honestly there shouldn't be, otherwise you get developers who didn't check the manual spreading misinformation to users. 20160426 23:08:58< SigurdFD> mostly I'm trying to figure out if there's a way to get the prefsdir flag to work for building with scons 20160426 23:09:35< shadowm> That option defines the PREFERENCES_DIR preprocessor symbol I believe. 20160426 23:09:47< shadowm> Which is unused for Windows builds, even in 1.12. 20160426 23:15:19< SigurdFD> ok. So for windows, if you don't want to use the default userdata directory, the only options are what's defined in the forum post you referenced, correct? 20160426 23:15:47< shadowm> Unless someone were to make it otherwise, yes. 20160426 23:22:09-!- horrowind [~Icedove@2a02:810a:83c0:1c18:21b:fcff:fee3:c3ff] has quit [Quit: horrowind] 20160426 23:22:56< SigurdFD> ok, thanks. 20160426 23:23:28< SigurdFD> Should I be using my default userdir for both my master and 1.13.4 install? 20160426 23:24:13< loonycyborg> 1.13 series are snapshots of master branch so I'd say yes 20160426 23:24:25< shadowm> I'm not really sure what the question entails. Are you concerned that master might somehow be incompatible with the previous release? 20160426 23:24:47< shadowm> If so, I can't say for sure because the new regime seems somewhat against backwards compatibility. 20160426 23:24:54< SigurdFD> partially... 20160426 23:26:26< loonycyborg> hmm I didn't even get implication of that prefsdir change, that it no longer works on windows like on other platforms 20160426 23:26:44< SigurdFD> shadowm: I'm questioning my current workflow, and what I would recommend to others when I write a wiki page about. 20160426 23:26:45< loonycyborg> cause I didn't have a reason to mess with userdata since then 20160426 23:26:52< SigurdFD> it 20160426 23:27:23< shadowm> SigurdFD: As in official documentation? Official documentation ought to describe the defaults. 20160426 23:28:04< shadowm> loonycyborg: It never worked on Windows "like on other platforms" to begin with. 20160426 23:28:36< SigurdFD> the overall theme of what I'll be writing is 'How to setup git & make wml pr's, with a focus on windows users' 20160426 23:28:39< shadowm> Unless you've been away from Linux for so long that you don't remember that every time you launch Wesnoth your config and user data are actually written to two different paths and neither of them is ./userdata. 20160426 23:28:53< loonycyborg> oh ah yes 20160426 23:28:56< loonycyborg> so confused 20160426 23:29:26< loonycyborg> I remember that before on windows it made userdata dir to be cwd by default 20160426 23:29:39< loonycyborg> and made userdata in it 20160426 23:29:47< loonycyborg> and I'm too sleepy 20160426 23:29:56< shadowm> Sigh. 20160426 23:30:00< loonycyborg> I confused userdata and gamedata 20160426 23:31:39< loonycyborg> ah yes 20160426 23:31:46< loonycyborg> this is all the root of my confusion 20160426 23:33:57< SigurdFD> does someone building on master on linux get a different userdata dir than the latest version of wesnoth they install? 20160426 23:34:52< shadowm> Linux default user data dir: $HOME/local/share/wesnoth/X.Y 20160426 23:35:06< shadowm> .local 20160426 23:35:16< shadowm> Linux default user config dir: $HOME/.config/wesnoth (no X.Y) 20160426 23:36:14< shadowm> Don't ask me why, I don't know, I never liked it, it's never been my responsibility, I am retired. 20160426 23:36:52< shadowm> But apparently packagers really wanted this instead of the old $HOME/.wesnothX.Y default, in order to adhere to the XDG specification. 20160426 23:37:08< SigurdFD> not worried about the why. from what you just said, I think the answer to my last question is 'no'? 20160426 23:37:28< shadowm> That was a preemptive statement. 20160426 23:37:39< shadowm> The answer to your question is "yes". 20160426 23:37:53< shadowm> More precisely "yes, if the latest version they installed does not share major numbers with master". 20160426 23:38:11< shadowm> Plus "and their preferences are shared amongst all versions for some stupid reason". 20160426 23:39:35< loonycyborg> you sure it's stupid? 20160426 23:40:50< loonycyborg> people would have reasons to want it both ways for sure 20160426 23:41:19-!- Duthlet [~Duthlet@p5485E0F2.dip0.t-ipconnect.de] has quit [Quit: leaving] 20160426 23:41:45< shadowm> Ask me again when 1.14.0 is released and Wesnoth crashes on startup unless you delete your old preferences file or something. 20160426 23:42:20< shadowm> Yes, it's a hypothetical scenario. 20160426 23:42:25< SigurdFD> :D 20160426 23:42:26< shadowm> No, it's not far-fetched. 20160426 23:47:21-!- Appleman1234 [~Appleman1@KD036012036074.au-net.ne.jp] has joined #wesnoth-dev 20160426 23:47:26-!- vultraz_iOS [uid24821@wesnoth/developer/vultraz] has quit [Quit: Connection closed for inactivity] 20160426 23:50:34< SigurdFD> shadowm: so it sounds like userdata behaves the same on windows now as on linux, with the expecption of the linux craziness for the preference file. 20160426 23:51:03< shadowm> Yes. 20160426 23:51:25< shadowm> And the cache dir, which is also shared amongst all versions on Linux. 20160426 23:51:32< SigurdFD> ok 20160426 23:54:31< SigurdFD> do most linux devs have their userdata for master in the master directory? 20160426 23:54:59< shadowm> I really doubt it, because that's not an easily attainable configuration. 20160426 23:56:16< SigurdFD> celticmistrel: ^ 20160426 23:56:27< shadowm> What I personally do is compile all versions with the prefsdir option in SCons set to ".wesnoth-X.Y", which causes Wesnoth to use $HOME/.wesnoth-X.Y for everything (user config + data + cache). 20160426 23:56:30-!- Appleman1234 [~Appleman1@KD036012036074.au-net.ne.jp] has quit [Ping timeout: 268 seconds] 20160426 23:56:40< SigurdFD> celticminstrel: ^ 20160426 23:56:45< shadowm> But that's more of a statement about my dislike of the XDG scheme I guess. 20160426 23:57:27< shadowm> Or an old habit I carried over from the old times when that was actually Wesnoth's default (although I'm not sure about the hyphen). 20160426 23:58:04< shadowm> And uh celticminstrel runs OS X. 20160426 23:58:15< shadowm> As far as I know, anyway. 20160426 23:58:25< celticminstrel> Why are you pointing at me? 20160426 23:58:28 * celticminstrel confused. 20160426 23:59:00< SigurdFD> wanted your thoughts on where you keep your userdir for your master checkout 20160426 23:59:18< SigurdFD> and is it separate from your 1.13.4 install --- Log closed Wed Apr 27 00:00:14 2016