--- Log opened Sat Jun 24 00:00:12 2017 20170624 00:26:00-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has joined #wesnoth 20170624 00:33:40-!- Bonobo [~Bonobo@61.68.203.58] has joined #wesnoth 20170624 00:41:28-!- ancientcc [~ancientcc@140.207.223.167] has joined #wesnoth 20170624 00:42:29-!- ancientcc [~ancientcc@140.207.223.167] has quit [Remote host closed the connection] 20170624 00:44:16-!- RevReese [RevReese@unaffiliated/revreese] has quit [Quit: Bye For Now...] 20170624 01:04:14-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20170624 01:04:15-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] 20170624 01:04:20-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth 20170624 01:04:39-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20170624 02:03:29-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 02:05:07-!- ancientcc [~ancientcc@112.64.217.90] has quit [Read error: Connection reset by peer] 20170624 02:10:03-!- ancientcc [~ancientcc@112.64.216.90] has joined #wesnoth 20170624 02:10:18-!- ancientcc [~ancientcc@112.64.216.90] has quit [Remote host closed the connection] 20170624 02:13:43-!- ancientcc [~ancientcc@112.64.216.90] has joined #wesnoth 20170624 02:14:21-!- ancientcc [~ancientcc@112.64.216.90] has quit [Remote host closed the connection] 20170624 02:15:40-!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Ping timeout: 246 seconds] 20170624 02:17:25-!- synthpopisback [~synthpopi@2606:a000:7947:5000:bd63:3da4:9bd2:af34] has quit [Quit: Leaving] 20170624 02:17:46-!- synthpopisback [~synthpopi@2606:a000:7947:5000:bd63:3da4:9bd2:af34] has joined #wesnoth 20170624 02:19:58-!- ancientcc [~ancientcc@112.64.216.90] has joined #wesnoth 20170624 02:20:49-!- cyphase [~cyphase@unaffiliated/cyphase] has joined #wesnoth 20170624 02:21:07-!- ancientcc [~ancientcc@112.64.216.90] has quit [Read error: Connection reset by peer] 20170624 02:23:33-!- ancientcc [~ancientcc@112.64.216.90] has joined #wesnoth 20170624 02:24:56-!- ancientcc [~ancientcc@112.64.216.90] has quit [Remote host closed the connection] 20170624 02:26:05-!- ArneBab [~quassel@55d44880.access.ecotel.net] has joined #wesnoth 20170624 02:26:05-!- ArneBab [~quassel@55d44880.access.ecotel.net] has quit [Changing host] 20170624 02:26:05-!- ArneBab [~quassel@freenet/developer/arnebab] has joined #wesnoth 20170624 02:29:58-!- ArneBab_ [~quassel@freenet/developer/arnebab] has quit [Ping timeout: 240 seconds] 20170624 02:30:57-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 02:33:17-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 02:34:30-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has quit [Quit: Connection closed for inactivity] 20170624 03:00:52-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 03:02:00-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 03:07:30-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 03:08:39-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 03:10:39-!- Appleman1234 [~quassel@z190230.ppp.asahi-net.or.jp] has quit [Ping timeout: 276 seconds] 20170624 03:14:41-!- SigurdFD [~SigurdFD@dynamic-acs-72-23-110-196.zoominternet.net] has quit [] 20170624 03:19:17-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 03:20:27-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 03:23:36-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 03:24:17-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 03:26:27-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 03:27:23-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 03:31:15-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 03:32:32-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 03:38:21-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 03:39:16-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 03:47:22-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 03:48:09-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 03:54:27-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 03:54:40-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 03:56:09-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] 20170624 03:59:28-!- Aumpa [~Aumpa@2605:e000:151f:43d9:c96d:e15b:9be6:f2d5] has joined #wesnoth 20170624 04:03:10-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 04:03:28-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 04:11:58-!- ancientcc [~ancientcc@140.207.223.167] has joined #wesnoth 20170624 04:12:39-!- ancientcc [~ancientcc@140.207.223.167] has quit [Remote host closed the connection] 20170624 04:36:06-!- Aumpa [~Aumpa@2605:e000:151f:43d9:c96d:e15b:9be6:f2d5] has quit [Read error: Connection reset by peer] 20170624 04:37:03-!- Aumpa [~Aumpa@2605:e000:151f:43d9:c96d:e15b:9be6:f2d5] has joined #wesnoth 20170624 05:01:25-!- Kwandulin [~Kwandulin@p200300760F7CBA40BDB961EC9E035BA0.dip0.t-ipconnect.de] has joined #wesnoth 20170624 05:03:24-!- Aumpa [~Aumpa@2605:e000:151f:43d9:c96d:e15b:9be6:f2d5] has quit [Read error: Connection reset by peer] 20170624 05:08:52-!- Kwandulin [~Kwandulin@p200300760F7CBA40BDB961EC9E035BA0.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20170624 05:15:16-!- Appleman1234 [~quassel@z190230.ppp.asahi-net.or.jp] has joined #wesnoth 20170624 05:20:34-!- Kwandulin [~Kwandulin@p200300760F7CBA40BDB961EC9E035BA0.dip0.t-ipconnect.de] has joined #wesnoth 20170624 06:10:42-!- Kwandulin [~Kwandulin@p200300760F7CBA40BDB961EC9E035BA0.dip0.t-ipconnect.de] has quit [Ping timeout: 276 seconds] 20170624 06:23:27-!- ancientcc [~ancientcc@140.207.223.167] has joined #wesnoth 20170624 06:23:42-!- ancientcc [~ancientcc@140.207.223.167] has quit [Remote host closed the connection] 20170624 07:18:18-!- ancientcc [~ancientcc@140.207.223.167] has joined #wesnoth 20170624 07:18:33-!- ancientcc [~ancientcc@140.207.223.167] has quit [Remote host closed the connection] 20170624 07:48:04-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 07:48:07-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 07:51:25-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 07:51:26-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 07:57:31-!- ancientcc [~ancientcc@112.64.216.90] has joined #wesnoth 20170624 07:57:48-!- ancientcc [~ancientcc@112.64.216.90] has quit [Remote host closed the connection] 20170624 08:21:22-!- ancientcc [~ancientcc@47.90.67.72] has joined #wesnoth 20170624 08:21:59-!- ancientcc [~ancientcc@47.90.67.72] has quit [Remote host closed the connection] 20170624 08:22:54-!- Kwandulin [~Kwandulin@p200300760F7CBA40BDB961EC9E035BA0.dip0.t-ipconnect.de] has joined #wesnoth 20170624 08:26:29-!- ancientcc [~ancientcc@47.90.67.72] has joined #wesnoth 20170624 08:27:34-!- ancientcc [~ancientcc@47.90.67.72] has quit [Remote host closed the connection] 20170624 08:40:58-!- ancientcc [~ancientcc@47.90.67.72] has joined #wesnoth 20170624 08:41:38-!- ancientcc [~ancientcc@47.90.67.72] has quit [Remote host closed the connection] 20170624 08:45:31-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth 20170624 08:47:24-!- ancientcc [~ancientcc@47.90.67.72] has joined #wesnoth 20170624 08:48:58-!- ancientcc [~ancientcc@47.90.67.72] has quit [Remote host closed the connection] 20170624 08:51:19-!- ancientcc [~ancientcc@47.90.67.72] has joined #wesnoth 20170624 08:54:02-!- ancientcc [~ancientcc@47.90.67.72] has quit [Read error: Connection reset by peer] 20170624 09:12:03-!- Kwandulin [~Kwandulin@p200300760F7CBA40BDB961EC9E035BA0.dip0.t-ipconnect.de] has quit [Ping timeout: 276 seconds] 20170624 09:13:28-!- Nobun [~nobun@5.170.107.102] has joined #wesnoth 20170624 09:23:19-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has joined #wesnoth 20170624 09:42:29-!- Kranix [~magnus@x1-6-74-44-01-e4-f1-52.cpe.webspeed.dk] has joined #wesnoth 20170624 09:55:46-!- Nobun [~nobun@5.170.107.102] has quit [Quit: Salve a tutti] 20170624 10:10:47-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has quit [Ping timeout: 255 seconds] 20170624 11:36:39-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20170624 11:53:32-!- aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Ping timeout: 260 seconds] 20170624 12:09:30-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has joined #wesnoth 20170624 12:28:02-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has joined #wesnoth 20170624 12:36:37-!- aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth 20170624 12:45:21-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 12:45:32-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 12:46:23-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 12:46:38-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 12:58:14-!- ancientcc [~ancientcc@47.90.83.233] has joined #wesnoth 20170624 12:58:31-!- ancientcc [~ancientcc@47.90.83.233] has quit [Remote host closed the connection] 20170624 13:10:13-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 13:10:27-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 13:14:08-!- ancientcc [~ancientcc@112.64.217.90] has joined #wesnoth 20170624 13:14:21-!- ancientcc [~ancientcc@112.64.217.90] has quit [Remote host closed the connection] 20170624 13:19:56-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20170624 13:34:24-!- ancientcc [~ancientcc@112.64.216.90] has joined #wesnoth 20170624 13:39:07-!- ancientcc [~ancientcc@112.64.216.90] has quit [Ping timeout: 260 seconds] 20170624 14:03:05-!- ancientcc [~ancientcc@112.64.216.90] has joined #wesnoth 20170624 14:03:22-!- ancientcc [~ancientcc@112.64.216.90] has quit [Remote host closed the connection] 20170624 14:13:51-!- ancientcc [~ancientcc@47.90.83.233] has joined #wesnoth 20170624 14:18:05-!- ancientcc [~ancientcc@47.90.83.233] has quit [Remote host closed the connection] 20170624 14:24:32-!- ancientcc [~ancientcc@47.90.83.233] has joined #wesnoth 20170624 14:25:17-!- ancientcc [~ancientcc@47.90.83.233] has quit [Remote host closed the connection] 20170624 14:26:15-!- ancientcc [~ancientcc@47.90.83.233] has joined #wesnoth 20170624 14:27:09-!- ancientcc [~ancientcc@47.90.83.233] has quit [Remote host closed the connection] 20170624 14:34:21-!- Bonobo [~Bonobo@61.68.203.58] has quit [Quit: Leaving] 20170624 14:36:22-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has quit [Quit: Connection closed for inactivity] 20170624 14:36:43-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has joined #wesnoth 20170624 15:53:07-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20170624 15:53:13-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth 20170624 16:45:13-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20170624 17:10:17-!- vultraz_iOS [uid24821@wesnoth/developer/vultraz] has quit [Quit: Connection closed for inactivity] 20170624 17:22:32-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has joined #wesnoth 20170624 17:58:19-!- DeFender1031 [~DeFender1@89-138-182-62.bb.netvision.net.il] has joined #wesnoth 20170624 18:20:30-!- aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Ping timeout: 255 seconds] 20170624 18:26:06-!- claymore [~claymore@unaffiliated/claymore] has joined #wesnoth 20170624 18:52:18-!- aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth 20170624 18:56:27-!- aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Ping timeout: 240 seconds] 20170624 18:57:33-!- aeth [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth 20170624 19:10:34-!- lirion`reco [~m00se@wikimedia-commons/Lirion] has quit [Quit: echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq |dc] 20170624 19:26:48-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20170624 19:54:34-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has joined #wesnoth 20170624 20:00:45-!- vultraz_iOS [uid24821@wesnoth/developer/vultraz] has joined #wesnoth 20170624 20:31:31-!- synthpopisback [~synthpopi@2606:a000:7947:5000:bd63:3da4:9bd2:af34] has quit [Read error: Connection reset by peer] 20170624 20:33:08-!- Kranix [~magnus@x1-6-74-44-01-e4-f1-52.cpe.webspeed.dk] has quit [Quit: Konversation terminated!] 20170624 20:37:09-!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Ping timeout: 276 seconds] 20170624 20:43:36-!- cyphase [~cyphase@unaffiliated/cyphase] has joined #wesnoth 20170624 20:52:00-!- Kwandulin [~Kwandulin@p200300760F7CBA40B859D45F37008962.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20170624 20:56:39-!- claymore [~claymore@unaffiliated/claymore] has quit [Quit: Leaving] 20170624 21:10:00-!- deathisundead [~quassel@c-73-144-114-234.hsd1.mi.comcast.net] has joined #wesnoth 20170624 21:10:01-!- deathisundead [~quassel@c-73-144-114-234.hsd1.mi.comcast.net] has quit [Changing host] 20170624 21:10:01-!- deathisundead [~quassel@unaffiliated/the-unforgiven/x-8713611] has joined #wesnoth 20170624 21:33:54-!- Bonobo [~Bonobo@61.68.203.58] has joined #wesnoth 20170624 21:43:08-!- irco [~irco@HSI-KBW-091-089-111-002.hsi2.kabelbw.de] has joined #wesnoth 20170624 22:00:35-!- Nobun [~nobun@5.170.104.86] has joined #wesnoth 20170624 22:02:08< Nobun> celticminstrel: I have a purpose about wmlxgettext: I would suggest to make the -o parameter a required parameter and not anymore an optional parameter, to prevent that people would use stdout redirection as they used to do in past 20170624 22:03:39< Nobun> If I am right, currently wesnoth pot-update target uses the -o parameter and not the output redirection anymore 20170624 22:04:59< DeFender1031> Why should output redirection be disallowed? 20170624 22:07:07< Nobun> becouse it can lead to problems on undesired text encoding 20170624 22:07:26< DeFender1031> how so? 20170624 22:07:26< celticminstrel> Nobun: Better idea. 20170624 22:07:43< celticminstrel> Make -o required, but passing "-" as the filename directs it to stdout. 20170624 22:08:03< celticminstrel> That way, if they really want the output on stdout, they have to explicitly request it. 20170624 22:08:40< Nobun> when you redirect output, you wrote pot file in stdout. Stdout will use its own text encoding, so it would be NOT encoded UTF-8 as you coild expect (so file with output redirection can be NOT utf-8) 20170624 22:09:32< DeFender1031> celticminstrel, what if you want the file to be named "-"? 20170624 22:09:36< Nobun> celticminstrel: yes... it could be a nice idea. Imho I would forbid at all the redirection to avoid problems 20170624 22:09:59< Nobun> DeFender1031: the file should have an extension, if it is actually a pot file 20170624 22:10:03< celticminstrel> DeFender1031: Then... you're out of luck? 20170624 22:10:23< celticminstrel> Using "-" to mean output redirection is precedented; clang/gcc, for example. 20170624 22:10:30< DeFender1031> Nobun, meh, extensions are for people who can't figure life out. 20170624 22:10:48< celticminstrel> Nobun: Output redirection isn't necessarily problematic. 20170624 22:11:14< celticminstrel> If it's piped into a utf8-aware program, or indeed if your terminal is utf8-aware, there should be no issue? 20170624 22:11:34< DeFender1031> celticminstrel, yeah, and they suck too! I always name my output files as just a single symbol... you know... for bookkeeping and organization... reasons... 20170624 22:11:43< celticminstrel> Of course, on Windows, a lot of stuff isn't utf8-aware, so output redirection is definitely problematic on Windows, specifically. 20170624 22:11:46< DeFender1031> (In case it's not clear by now, yes, I'm joking.) 20170624 22:11:52< celticminstrel> :P 20170624 22:12:15< Nobun> https://github.com/wesnoth/wesnoth/issues/1785 20170624 22:12:57< Nobun> the last issue reported by sevu... if you read the traceback... than wmlxgettext returned a traceback becouse encountered a problem on ASCII encoding 20170624 22:13:16< Nobun> this is surely (I am sure) related to the usage of output redirection 20170624 22:13:56< celticminstrel> Right, but I'm not sure output redirection is always a problem on all machines. 20170624 22:14:01< Nobun> infact, if you use -o file and wmlxgettext creates a concrete file, the file is opened with "utf-8" explicit encoding, so that traceback would be impossible if the -o parameter was used to create file 20170624 22:14:29< Nobun> celticminstrel: what I am asserting is that output redirection MIGHT create problems 20170624 22:14:39< celticminstrel> Sure. 20170624 22:14:43< Nobun> while avoiding it will NEVER create problems 20170624 22:14:55< celticminstrel> But if someone knows that it won't cause problems for them specifically, why should we prevent them from using it? 20170624 22:15:01< DeFender1031> celticminstrel is correct. Redirection of output or output to a console, even if it's in a non-ASCII encoding, is not always a problem, and in fact is perfectly valid in most cases other than when using crippled software. 20170624 22:15:05< Nobun> so. why use again an error-prone syntax? 20170624 22:15:36< Nobun> yes but... I don't get the point 20170624 22:15:42< celticminstrel> https://github.com/wesnoth/wesnoth/blob/master/po/SConscript#L77 20170624 22:16:05< celticminstrel> https://github.com/wesnoth/wesnoth/blob/master/po/CMakeLists.txt#L83 20170624 22:16:19< celticminstrel> Looks like you're correct that the pot-update target uses -o 20170624 22:16:34< DeFender1031> Nobun, I would challenge the notion that disallowing it will never cause problems. It'll never cause encoding problems, sure, but it could create pipelining problems, race conditions, code bloat, more complicated usage, etc. 20170624 22:17:10< Nobun> yes.. becouse it was fixed during a test by loonycyborg, when I said a problem he had during a test he did with wmlxgettext depended by output redirection 20170624 22:17:23< Nobun> he tested that using the -o file resolved the problem 20170624 22:18:30< Nobun> What I mean is I don't see any reason why you should want to write the file in stout and then redirect output to file, if you want to write the file 20170624 22:18:32< DeFender1031> Nobun, that's fine, but that's only one use-case. 20170624 22:19:18< DeFender1031> If someone is piping the output to some other process for some reason, they need STDOUT available. 20170624 22:19:23< celticminstrel> ^ 20170624 22:19:42< celticminstrel> You should probably also have STDIN available, actually (not sure if it currently is). 20170624 22:20:10< Nobun> well... currently I think only a scenario when a person could consider using pipe... 20170624 22:20:38< Nobun> we are talking about wmlxgettext wich should be a tool to create a pot file, after all... and should do only this task 20170624 22:20:41< DeFender1031> celticminstrel, also potentially true... 20170624 22:21:04< celticminstrel> Maybe you want to pipe it directly into some other gettext tool. 20170624 22:21:11< Nobun> and I already added a new syntax (for UMC developers) wich erases the needing of STDIN pipe 20170624 22:21:12< celticminstrel> Like msgmerge or something. 20170624 22:21:23< DeFender1031> Nobun, that's a little narrow-minded and short-sighted. Someone could easily want to pipe it into some other tool that makes use of the pot file. 20170624 22:21:30< celticminstrel> Well, no, I wouldn't say it erases the need for a STDIN pipe. 20170624 22:21:32< Nobun> becouse you can avoid to explicitly tell the files to translate, but you can scan recursively an addon directory 20170624 22:21:45< DeFender1031> Nobun, again, that's ONE use-case. 20170624 22:22:00< celticminstrel> If you only want to scan one file, or you want to preprocess the files before scanning, or something... you need STDIN. 20170624 22:22:06< DeFender1031> Nobun, it's somewhat irresponsible for a developer to assume that their use-case is the only use-case. 20170624 22:22:36< celticminstrel> It's good that you have the recursive scanning option - that makes the most common use-case easier. But it's not good to eliminate options just because you don't think they're useful. 20170624 22:22:39< Nobun> DeFender1031: well... it would be IRRESPNSIBLE if I added here without asking before 20170624 22:22:48< Nobun> so please make sure to avoid flame, please 20170624 22:23:34< Nobun> I'm just purposing an idea and trying to understand other opinion at this stage 20170624 22:24:44< Nobun> I'm not trying to replace myself with an official developer, even if the wmlxgettext python tool was written and maintained by me 20170624 22:25:21< DeFender1031> Nobun, I'm not flaming. I'm simply pointing out that you can't make the assumptions you're making. 20170624 22:26:03< Nobun> If I make a wrong assumption, you are free (and welcomed) to explain me why it is wrong 20170624 22:26:42< Nobun> I am not a so experienced developer, so when I write here things, I try to explain my doubts about what was said 20170624 22:27:21< Nobun> what I don't accept is flaming words as "irresponsible" or similar, wich I would never personally use to a person I never speaked before 20170624 22:28:39< Nobun> only wanted to point this thing... now we can continue to discuss about why my assumptions are wrong 20170624 22:28:46< Nobun> I really want to understand 20170624 22:28:47< DeFender1031> Nobun, forgive me, I meant no offence with the word "irresponsible", nor did I directly call you such. Where I come from, it's not an attack to simply use that word, and I'm sorry if you percieved it as one. 20170624 22:28:59< Nobun> no problem. 20170624 22:30:13< DeFender1031> cool. So back the the actual discussion, yes, I can imagine several use-cases which would want STDOUT (and IN, as celmin points out), and therefore disabling it entirely would be undesirable, though DISCOURAGING its use in casual cases which may lead to issues is a good idea. 20170624 22:33:48-!- Nobun [~nobun@5.170.104.86] has quit [Ping timeout: 260 seconds] 20170624 22:35:58-!- Nobun [~nobun@5.170.104.158] has joined #wesnoth 20170624 22:36:07< Nobun> DeFender1031: no problem (sorry I had disconnection) 20170624 22:36:24< Nobun> I didn't notice (my connection is unstable) 20170624 22:36:58< Nobun> I will retype what I wrote before (perhaps it was not sended here). 20170624 22:37:37< Nobun> celticminstrel, DeFender1031: however... STDIN pipe should be never causes encoding problems 20170624 22:37:38< Nobun> I was thinking a bit, but if you use stdin... (for writing file) the file would be added to command line... and the script will open the file explicitly with encoding='utf8' 20170624 22:37:38< Nobun> If I understood corretly what you say is that there are case where wmlxgettext output should be piped to other tools... exactly? 20170624 22:38:24< celticminstrel> In case you missed it, DeFender1031 also said this: 20170624 22:38:25< celticminstrel> [Jun 24@6:30:13pm] DeFender1031: cool. So back the the actual discussion, yes, I can imagine several use-cases which would want STDOUT (and IN, as celmin points out), and therefore disabling it entirely would be undesirable, though DISCOURAGING its use in casual cases which may lead to issues is a good idea. 20170624 22:39:29< Nobun> thank for re-typing 20170624 22:39:35< Nobun> I did lost this reply 20170624 22:40:53< Nobun> hmm... if I remember correctly I already added a warning if the -o option is not used 20170624 22:41:32< Nobun> perhaps I could change the warning in something better 20170624 22:41:40< Nobun> let me check... 20170624 22:43:37< Nobun> yes... currently there is a warning wich is displayed only when --warn-all is enabled. 20170624 22:43:57< Nobun> Perhaps another warning message (always enabled) should be a better idea 20170624 22:45:04< DeFender1031> I dunno, I like celmin's idea about requiring -o, but allowing "-" to mean STDOUT 20170624 22:45:41< DeFender1031> (the joking about "what if I want it named that" aside) 20170624 22:46:13< Nobun> or, perhaps, -o STDOUT to write to stdout 20170624 22:46:52< DeFender1031> or that. or -o '' 20170624 22:47:06< DeFender1031> (though passing an empty string can get iffy on some systems, so maybe not.) 20170624 22:47:29< DeFender1031> the point is, some magic value to mean STDOUT 20170624 22:47:51< Nobun> perhaps I would suggest -o STDOUT 20170624 22:47:52< DeFender1031> I lean toward - because that's a somewhat accepted idiom already 20170624 22:48:00< DeFender1031> (as celmin mentioned) 20170624 22:48:07< Nobun> ah. I didn't know it 20170624 22:48:38< DeFender1031> Nobun: Using "-" to mean output redirection is precedented; clang/gcc, for example. 20170624 22:48:41< Nobun> well... if it is an already used idiom, we can use that idiom than 20170624 22:49:23< Nobun> ok. understood now 20170624 22:49:51< DeFender1031> And many programs also accept "-" to mean "STDIN" for their input files as well, g. php. 20170624 22:49:54< DeFender1031> eg* 20170624 22:54:38< Nobun> nice to know... I use gcc, for example, but I never know about it before today :P 20170624 23:03:34< Nobun> Is it too much if I use -o required argument wich prints a warning if the '-o -' is used (writing to stdout) 20170624 23:03:38< Nobun> ? 20170624 23:06:18-!- Nobun1 [~nobun@5.170.104.153] has joined #wesnoth 20170624 23:07:15< Nobun1> well... I answered myself. I dropped the warning message. After all, forcing the usage of the -o option would be enough to ensure that the user is using STDOUT on purpose 20170624 23:10:10< Nobun1> good night all 20170624 23:10:12-!- Nobun [~nobun@5.170.104.158] has quit [Ping timeout: 260 seconds] 20170624 23:11:45-!- Nobun1 [~nobun@5.170.104.153] has quit [Quit: Salve a tutti] 20170624 23:26:02-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 268 seconds] --- Log closed Sun Jun 25 00:00:13 2017