--- Log opened Sun Apr 17 00:00:24 2016 20160417 01:19:58-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20160417 01:41:27-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20160417 01:41:33-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-dev 20160417 02:14:51-!- fabi [~quassel@wesnoth/developer/fendrin] has quit [Ping timeout: 264 seconds] 20160417 02:17:16-!- new_one [~new_one@2604:a880:1:20::22e:d001] has quit [Ping timeout: 264 seconds] 20160417 02:19:21-!- fabi [~quassel@wesnoth/developer/fendrin] has joined #wesnoth-dev 20160417 02:21:36-!- new_one [~new_one@162.243.146.104] has joined #wesnoth-dev 20160417 03:00:41-!- ancestral [~ancestral@75-168-27-21.mpls.qwest.net] has joined #wesnoth-dev 20160417 03:19:02-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20160417 03:19:08-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-dev 20160417 04:56:58-!- wedge010 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has joined #wesnoth-dev 20160417 05:00:04-!- wedge009 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has quit [Ping timeout: 260 seconds] 20160417 05:00:04-!- wedge010 is now known as wedge009 20160417 05:01:18-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] 20160417 05:49:05-!- Kwandulin [~Miranda@p4FC3D9DD.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160417 06:13:46-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20160417 06:13:47-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Read error: Connection reset by peer] 20160417 06:45:32-!- ancestral [~ancestral@75-168-27-21.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160417 06:50:52-!- Kwandulin [~Miranda@p4FC3D9DD.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 20160417 06:50:53-!- fabi [~quassel@wesnoth/developer/fendrin] has quit [Ping timeout: 264 seconds] 20160417 06:51:08-!- fabi [~quassel@176.4.132.154] has joined #wesnoth-dev 20160417 06:51:08-!- fabi [~quassel@176.4.132.154] has quit [Changing host] 20160417 06:51:08-!- fabi [~quassel@wesnoth/developer/fendrin] has joined #wesnoth-dev 20160417 06:54:29-!- ancestral [~ancestral@75-168-27-21.mpls.qwest.net] has joined #wesnoth-dev 20160417 07:01:00-!- Kwandulin [~Miranda@p4FC3D9DD.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160417 07:47:40-!- wedge010 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has joined #wesnoth-dev 20160417 07:52:22-!- wedge010 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has quit [Ping timeout: 260 seconds] 20160417 07:52:25-!- aeth_ [~Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #wesnoth-dev 20160417 07:56:51-!- Netsplit *.net <-> *.split quits: wedge009, janebot 20160417 07:57:04-!- Netsplit *.net <-> *.split quits: aeth, Aginor 20160417 08:04:43-!- Ravana_ [~Ravana@unaffiliated/ravana/x-2327071] has quit [Disconnected by services] 20160417 08:05:11-!- esr [~esr@static-71-162-243-5.phlapa.fios.verizon.net] has quit [Quit: WeeChat 1.3] 20160417 08:05:12-!- Ravana_ [~Ravana@unaffiliated/ravana/x-2327071] has joined #wesnoth-dev 20160417 08:05:56-!- Grickit [~derek@wesnoth/developer/grickit] has joined #wesnoth-dev 20160417 08:06:51-!- frainz_ [~Frainz@mmisc.de] has joined #wesnoth-dev 20160417 08:07:06-!- AI0867_ [~ai@wesnoth/developer/ai0867] has joined #wesnoth-dev 20160417 08:07:53-!- exciton_ [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20160417 08:08:52-!- fabi_ [~quassel@176.4.132.154] has joined #wesnoth-dev 20160417 08:09:42-!- minbonbon [~min@meta23.net] has joined #wesnoth-dev 20160417 08:09:53-!- Netsplit over, joins: wedge009 20160417 08:09:53-!- vincent_` [~bip@vcheng.org] has joined #wesnoth-dev 20160417 08:10:34-!- ancestral [~ancestral@75-168-27-21.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160417 08:11:00-!- Jetrel_ec2 [~Jetrel@ec2.happyspork.com] has joined #wesnoth-dev 20160417 08:12:17-!- Netsplit *.net <-> *.split quits: fabi, exciton 20160417 08:12:41-!- Netsplit *.net <-> *.split quits: LovCAPONE, minzbonbon, timotei, Jetrel_bot, AI0867, Gambit 20160417 08:12:56-!- Netsplit *.net <-> *.split quits: frainz, vincent_c 20160417 08:13:01-!- Netsplit *.net <-> *.split quits: DDR, crimson_penguin 20160417 08:13:01-!- Jetrel_ec2 is now known as Jetrel_bot 20160417 08:20:38-!- esr [~esr@static-71-162-243-5.phlapa.fios.verizon.net] has joined #wesnoth-dev 20160417 08:20:38-!- esr [~esr@static-71-162-243-5.phlapa.fios.verizon.net] has quit [Changing host] 20160417 08:20:38-!- esr [~esr@wesnoth/developer/esr] has joined #wesnoth-dev 20160417 08:21:55-!- Netsplit over, joins: LovCAPONE 20160417 08:27:07-!- Kwandulin [~Miranda@p4FC3D9DD.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160417 08:33:48-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20160417 08:34:38-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20160417 08:46:54-!- EdB [~edb@89.193.129.77.rev.sfr.net] has joined #wesnoth-dev 20160417 08:47:05-!- mjs-de [~mjs-de@x4e305437.dyn.telefonica.de] has joined #wesnoth-dev 20160417 08:47:49-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has joined #wesnoth-dev 20160417 08:48:05-!- crimson_penguin [~crimson_p@ec2.happyspork.com] has joined #wesnoth-dev 20160417 08:49:53-!- Appleman1234 [~Appleman1@KD036012047121.au-net.ne.jp] has quit [Ping timeout: 244 seconds] 20160417 08:53:00-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has quit [Quit: ChipmunkV] 20160417 09:01:11-!- DDR [~david@ec2.happyspork.com] has joined #wesnoth-dev 20160417 09:15:42-!- Aginor [~andreas@apollo.alternating.net] has joined #wesnoth-dev 20160417 09:15:42-!- Aginor [~andreas@apollo.alternating.net] has quit [Changing host] 20160417 09:15:42-!- Aginor [~andreas@unaffiliated/aginor] has joined #wesnoth-dev 20160417 09:16:52-!- Kwandulin [~Miranda@p200300760F4C1DE745C7CB6ACF6E550C.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160417 09:23:44-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20160417 09:25:03-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20160417 09:27:26-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20160417 09:50:26-!- Appleman1234 [~Appleman1@KD036012043078.au-net.ne.jp] has joined #wesnoth-dev 20160417 09:55:43-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has joined #wesnoth-dev 20160417 10:15:23-!- prkc [~prkc@51B6AE72.dsl.pool.telekom.hu] has joined #wesnoth-dev 20160417 10:23:42-!- EdB [~edb@89.193.129.77.rev.sfr.net] has quit [Quit: Konversation terminated!] 20160417 10:50:52-!- Aginor [~andreas@unaffiliated/aginor] has quit [Remote host closed the connection] 20160417 11:12:30-!- boucman_work [~boucman@247.37.0.109.rev.sfr.net] has quit [Ping timeout: 244 seconds] 20160417 11:13:32-!- Yaiyan [~Yaiyan@46.101.48.31] has quit [Ping timeout: 244 seconds] 20160417 11:13:34-!- aidanhs [~aidanhs@81.4.110.234] has quit [Ping timeout: 244 seconds] 20160417 11:13:34-!- shikadibot [~shikadi@wesnoth/umc-dev/bot/shikadibot] has quit [Ping timeout: 244 seconds] 20160417 11:13:39-!- shikadibot [~shikadi@wesnoth/umc-dev/bot/shikadibot] has joined #wesnoth-dev 20160417 11:13:47-!- boucman_work [~boucman@247.37.0.109.rev.sfr.net] has joined #wesnoth-dev 20160417 11:14:03-!- AI0867_ [~ai@wesnoth/developer/ai0867] has quit [Ping timeout: 244 seconds] 20160417 11:15:10-!- aidanhs [~aidanhs@81.4.110.234] has joined #wesnoth-dev 20160417 11:15:40-!- AI0867 [~ai@wesnoth/developer/ai0867] has joined #wesnoth-dev 20160417 11:18:42-!- new_one [~new_one@162.243.146.104] has quit [Ping timeout: 244 seconds] 20160417 11:19:20-!- Yaiyan [~Yaiyan@46.101.48.31] has joined #wesnoth-dev 20160417 11:29:05-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160417 11:32:41-!- new_one [~new_one@2604:a880:1:20::22e:d001] has joined #wesnoth-dev 20160417 11:44:51-!- Aginor [~andreas@apollo.alternating.net] has joined #wesnoth-dev 20160417 11:44:51-!- Aginor [~andreas@apollo.alternating.net] has quit [Changing host] 20160417 11:44:51-!- Aginor [~andreas@unaffiliated/aginor] has joined #wesnoth-dev 20160417 12:05:15-!- frainz_ is now known as frainz 20160417 12:26:44-!- Kwandulin [~Miranda@p200300760F4C1DE745C7CB6ACF6E550C.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160417 12:28:42-!- vincent_` is now known as vincent_c 20160417 12:53:06-!- Kwandulin [~Miranda@p200300760F4C1D991156B7BD33C0FB24.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160417 13:23:07-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has quit [Ping timeout: 260 seconds] 20160417 13:25:03-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has joined #wesnoth-dev 20160417 13:25:49-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20160417 13:30:07-!- exciton_ [chuck-the-@89.208.170.132] has quit [Ping timeout: 260 seconds] 20160417 13:35:28-!- iceiceice [~chris@c-73-197-174-173.hsd1.nj.comcast.net] has joined #wesnoth-dev 20160417 13:35:28-!- iceiceice [~chris@c-73-197-174-173.hsd1.nj.comcast.net] has quit [Changing host] 20160417 13:35:28-!- iceiceice [~chris@wesnoth/developer/iceiceice] has joined #wesnoth-dev 20160417 13:45:48-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth-dev 20160417 14:07:50-!- iceiceice [~chris@wesnoth/developer/iceiceice] has quit [Quit: Leaving] 20160417 14:15:29-!- ancestral [~ancestral@75-168-27-21.mpls.qwest.net] has joined #wesnoth-dev 20160417 15:16:05-!- ancestral [~ancestral@75-168-27-21.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160417 15:22:43-!- Yaiyan [~Yaiyan@46.101.48.31] has quit [Ping timeout: 250 seconds] 20160417 15:24:27-!- aidanhs [~aidanhs@81.4.110.234] has quit [Ping timeout: 250 seconds] 20160417 15:24:29-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160417 15:24:53-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Ping timeout: 250 seconds] 20160417 15:24:53-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has quit [Ping timeout: 250 seconds] 20160417 15:24:54-!- aidanhs [~aidanhs@81.4.110.234] has joined #wesnoth-dev 20160417 15:25:31-!- Aginor_ [~andreas@apollo.alternating.net] has joined #wesnoth-dev 20160417 15:26:14-!- AI0867_ [~ai@wesnoth/developer/ai0867] has joined #wesnoth-dev 20160417 15:29:40-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has joined #wesnoth-dev 20160417 15:30:10-!- Yaiyan [~Yaiyan@46.101.48.31] has joined #wesnoth-dev 20160417 15:30:55-!- Netsplit *.net <-> *.split quits: AI0867, Aginor 20160417 15:38:18-!- Soliton [~Soliton@wesnoth/developer/soliton] has quit [Ping timeout: 250 seconds] 20160417 15:39:42-!- Soliton [~Soliton@wesnoth/developer/soliton] has joined #wesnoth-dev 20160417 15:56:53-!- aeth_ is now known as aeth 20160417 16:17:53-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth-dev 20160417 16:21:26-!- exciton_ [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20160417 16:25:07-!- shikadibot_ [~shikadi@wesnoth/umc-dev/bot/shikadibot] has joined #wesnoth-dev 20160417 16:26:29-!- Soliton [~Soliton@wesnoth/developer/soliton] has quit [Disconnected by services] 20160417 16:26:36-!- Soliton_ [~Soliton@wesnoth/developer/soliton] has joined #wesnoth-dev 20160417 16:27:03-!- Soliton_ is now known as Soliton 20160417 16:27:54-!- prkc_ [~prkc@51B6AE72.dsl.pool.telekom.hu] has joined #wesnoth-dev 20160417 16:28:23-!- prkc_ [~prkc@51B6AE72.dsl.pool.telekom.hu] has quit [Remote host closed the connection] 20160417 16:32:11-!- Netsplit *.net <-> *.split quits: prkc, exciton, shikadibot 20160417 16:43:47-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has quit [Ping timeout: 260 seconds] 20160417 16:44:54-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has joined #wesnoth-dev 20160417 16:56:54-!- gfgtdf [~chatzilla@x4e369756.dyn.telefonica.de] has joined #wesnoth-dev 20160417 16:56:59-!- wedge010 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has joined #wesnoth-dev 20160417 17:00:06-!- wedge009 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has quit [Ping timeout: 276 seconds] 20160417 17:00:06-!- wedge010 is now known as wedge009 20160417 17:01:01-!- Netsplit *.net <-> *.split quits: celticminstrel, exciton_ 20160417 17:07:46-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20160417 17:11:28-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth-dev 20160417 17:17:01-!- Kwandulin [~Miranda@p200300760F4C1D991156B7BD33C0FB24.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160417 17:43:55-!- mjs-de [~mjs-de@x4e305437.dyn.telefonica.de] has quit [Remote host closed the connection] 20160417 18:04:31< mattsc> celticminstrel: hi 20160417 18:04:37< celticminstrel> Hi. 20160417 18:04:47< mattsc> Have you seen this: https://forums.wesnoth.org/viewtopic.php?f=21&t=40921&p=596146#p596141 20160417 18:05:11< mattsc> I wrote a little test scenario and confirmed the behavior. 20160417 18:05:14< celticminstrel> Probably not. 20160417 18:05:42< mattsc> In summary: the combat and villages CA can move units through tunnels, the move-to-targets CA does not. 20160417 18:07:13< celticminstrel> I imagine that's as simple as passing some different parameter to the pathfinder... 20160417 18:07:18< celticminstrel> Maybe not though. 20160417 18:10:10< mattsc> I just ran with ‘--log-debug=ai/ca/testing_move_to_targets’ and it tells me ‘Can't reach target: 500 = 3.0114/-1’ (and similar) for all targets on the other side of the tunnel. 20160417 18:11:16< mattsc> So it’s pretty clear what’s going on. I might look into it sometime later, but feel free to do it if you’re interested. ;) 20160417 18:11:28< celticminstrel> I'll keep it in the back of my mind. 20160417 18:11:39< celticminstrel> Sort of in the middle of hotkeys stuff right now. 20160417 18:11:39< mattsc> I’m in a really heavy travel period at the moment, so even when I am around I have almost no time. 20160417 18:12:04< mattsc> Sure, no problem, just through that maybe you knew right away since you’ve worked a lot with the AI code recently. 20160417 18:12:14< mattsc> s/through/thought 20160417 18:14:36< mattsc> Oh, that part of the code calls a_star_search directly, rather than one of the path finding wrapepr functions. 20160417 18:18:50< mattsc> celticminstrel: okay, that seems very simple. The last argument to a_star_search, which defines teleport locations, is missing in the MtT CA. It is there for (at least some) if the other CAs. 20160417 18:20:11< celticminstrel> So my vague guess was in the right ballpark. 20160417 18:20:39< celticminstrel> Though I guess fixing it isn't quite as simple as I envisioned (I was thinking it'd just be passing true instead of false). 20160417 18:20:39-!- Kwandulin [~Miranda@p200300760F4C1D9939B975E8A473818D.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160417 18:20:47< celticminstrel> (Or something like that.) 20160417 18:21:02< mattsc> yes, it was 20160417 18:21:44< mattsc> And I think you’re right, it is slightly more involved to fix, but probably not by much. 20160417 18:22:26< celticminstrel> Yeah, probably something like passing the output of some function in place of nullptr or an empty list or something... 20160417 18:23:19< mattsc> Right. I can check (later) how it is done for, say, the combat CA and then try to replicate that. 20160417 18:23:30< mattsc> For now I am afk again. TTYL. 20160417 18:24:07< celticminstrel> 'kay 20160417 18:32:52-!- Yaiyan [~Yaiyan@46.101.48.31] has quit [Ping timeout: 260 seconds] 20160417 18:35:21-!- Yaiyan [~Yaiyan@46.101.48.31] has joined #wesnoth-dev 20160417 18:50:11-!- ideuler [~textual@a89-153-78-245.cpe.netcabo.pt] has joined #wesnoth-dev 20160417 18:59:32-!- ideuler [~textual@a89-153-78-245.cpe.netcabo.pt] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 20160417 19:07:30-!- TheJJ [~rofl@ipbcc36ea9.dynamic.kabel-deutschland.de] has quit [Ping timeout: 276 seconds] 20160417 19:10:13-!- TheJJ [~rofl@ipbcc36ea9.dynamic.kabel-deutschland.de] has joined #wesnoth-dev 20160417 19:17:17-!- Kwandulin [~Miranda@p200300760F4C1D9939B975E8A473818D.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160417 19:29:25-!- exciton_ [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20160417 19:32:35-!- Dugi [93fbd396@gateway/web/freenode/ip.147.251.211.150] has joined #wesnoth-dev 20160417 19:32:41< Dugi> Hello. 20160417 19:33:28-!- Netsplit *.net <-> *.split quits: exciton 20160417 19:34:39< fabi_> hi Dugi 20160417 19:35:10< Dugi> fabi_: Hi, fabi. 20160417 19:35:17-!- esr [~esr@wesnoth/developer/esr] has quit [Read error: Connection reset by peer] 20160417 19:37:05-!- esr [~esr@wesnoth/developer/esr] has joined #wesnoth-dev 20160417 19:37:53-!- Aginor_ [~andreas@apollo.alternating.net] has quit [Ping timeout: 250 seconds] 20160417 19:41:17-!- Aginor [~andreas@apollo.alternating.net] has joined #wesnoth-dev 20160417 19:41:17-!- Aginor [~andreas@apollo.alternating.net] has quit [Changing host] 20160417 19:41:17-!- Aginor [~andreas@unaffiliated/aginor] has joined #wesnoth-dev 20160417 20:08:33< Dugi> I need some counsel about C++, is anyone willing to give me a hint? 20160417 20:10:54< Dugi> I am trying to create something behaving like an ostream, so that it can use its overloaded <<, but I need it to call a function in its destructor, which is deleted in std::ostream and children can't use it. 20160417 20:13:05-!- boucman [~rosen@wesnoth/developer/boucman] has left #wesnoth-dev [] 20160417 20:15:02< celticminstrel> I thnk it's better to work with ostreambuf than ostream in this sort of situation. 20160417 20:16:08< celticminstrel> It's more low-level, and can be easily inserted into an ordinary ostream in order to change its behaviour. 20160417 20:17:07< celticminstrel> I suppose you could also create a wrapper ostream type class that does that for you, like the standard library does with ofstream and ostringstream. 20160417 20:17:29-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20160417 20:17:29-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20160417 20:17:38< Dugi> ostreambuf disallows destructors too. 20160417 20:18:05< Dugi> How do I create a wrapper without defining a crapload of overloads? 20160417 20:18:48< celticminstrel> I guess you probably don't? 20160417 20:19:17< Dugi> I am trying to create some sort of logger that would behave like an ostream, but unlike stringstream, it would save its contents somewhere when destroyed. 20160417 20:19:23< celticminstrel> ofstreambuf clearly needs a destructor, so a streambuf with a destructor must be possible... 20160417 20:19:54< Dugi> it keeps telling stuff like: error: use of deleted function 'std::basic_ios::basic_ios(const std::basic_ios&)' 20160417 20:20:29< celticminstrel> That's a copy constructor. Streams are not copyable. 20160417 20:20:47< Dugi> How do I return one, then? 20160417 20:21:09< celticminstrel> Well, you can return by reference, but that's not advisable if it's a non-static local variable. 20160417 20:21:37< Dugi> Const reference with mutable contents would be bad, I think. 20160417 20:21:56< celticminstrel> Not sure where you got that from. 20160417 20:22:19< celticminstrel> "const reference with mutable contents", I mean. Obviously that would be bad. 20160417 20:22:21< Dugi> Const references are kept, no? 20160417 20:22:41< celticminstrel> I'm not entirely sure on the rules for that. 20160417 20:23:05< Dugi> I'll try to do it without returning it. 20160417 20:25:41< Dugi> Yeah, I can write it. Stuff like logStream() << "blablabla"; works, though it's not ideally like std::cout, but it can't be static. 20160417 20:27:13-!- Crendgrim_ [~crend@wesnoth/forum-moderator/crendgrim] has joined #wesnoth-dev 20160417 20:27:34-!- Crendgrim [~crend@wesnoth/forum-moderator/crendgrim] has quit [Ping timeout: 260 seconds] 20160417 20:35:07< celticminstrel> Well, that's how all the other Wesnoth logging stuff works since I made them function-statics instead of file-statics. 20160417 20:35:22< celticminstrel> Though it's mostly hidden behind macros, other than lg::wml_error. 20160417 20:36:09-!- mjs-de [~mjs-de@x4e305437.dyn.telefonica.de] has joined #wesnoth-dev 20160417 20:36:40-!- ChipmunkV [~vova@d0017-2-88-172-31-68.fbx.proxad.net] has quit [Quit: ChipmunkV] 20160417 20:38:28< Dugi> I am somewhat struggling with a segfault in constructor, apparently std::stringstream does not like having children. 20160417 20:38:49< celticminstrel> I think none of the stream classes are designed to be extended... 20160417 20:39:34< celticminstrel> Oh, though some of them are in the standard library. 20160417 20:39:40< celticminstrel> Are extended I mean. 20160417 20:41:36< Dugi> I will have to make a wrapper class with a template overloaded function for <<. 20160417 20:42:04< celticminstrel> You could extend ostream instead of stringstream. 20160417 20:42:28< celticminstrel> It's not necessary to be a child of the stringstream class. 20160417 20:46:40< Dugi> I have done it with templates, but it still somehow throws std::bad_alloc in constructor. It shows the first line of constructor, the calling code was logStream() << "Blablabla". Something is broken elsewhere. 20160417 20:52:11< Dugi> My estimates about its lifetime appear to be wrong. It works all right if I create it first and use it later. 20160417 20:52:34-!- stikonas_ is now known as stikonas 20160417 20:54:28< Dugi> Even creating a child of stringstream is fine, the problem was in calling the operator << on the constructor alone. 20160417 21:01:28< Dugi> The destructor seems to be never called... 20160417 21:18:07< celticminstrel> What makes you think that?3 20160417 21:22:24< Dugi> Now I realised that the compilation does not reflect changes in the file. 20160417 21:22:39< Dugi> It does not rebuild all that it should. 20160417 21:23:33< Dugi> I used the general rule that if something behaves too weirdly, rebuild all. 20160417 21:28:12-!- boucman_work1 [~boucman@247.37.0.109.rev.sfr.net] has joined #wesnoth-dev 20160417 21:28:41-!- esr1 [~esr@static-71-162-243-5.phlapa.fios.verizon.net] has joined #wesnoth-dev 20160417 21:29:04-!- timotei_ [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20160417 21:32:05-!- Yaiyan_ [~Yaiyan@46.101.48.31] has joined #wesnoth-dev 20160417 21:33:43< Dugi> Got it working. Thanks for the help. 20160417 21:34:55-!- nurupo_ [~nurupo.ga@unaffiliated/nurupo] has joined #wesnoth-dev 20160417 21:41:27-!- Netsplit *.net <-> *.split quits: celticminstrel, Yaiyan, nurupo, esr 20160417 21:41:42-!- Netsplit *.net <-> *.split quits: new_one, timotei, boucman_work, Appleman1234 20160417 21:41:44-!- nurupo_ is now known as nurupo 20160417 21:43:56-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has quit [Quit: nurupo] 20160417 21:44:03-!- new_one [~new_one@162.243.146.104] has joined #wesnoth-dev 20160417 21:44:58-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has joined #wesnoth-dev 20160417 21:54:27-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 264 seconds] 20160417 21:55:56-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has quit [Read error: Connection timed out] 20160417 21:56:29-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has joined #wesnoth-dev 20160417 21:57:31-!- gfgtdf [~chatzilla@x4e369756.dyn.telefonica.de] has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]] 20160417 22:02:39< Dugi> Good night. 20160417 22:02:44-!- Dugi [93fbd396@gateway/web/freenode/ip.147.251.211.150] has quit [] 20160417 22:11:24-!- esr1 is now known as esr 20160417 22:21:10-!- Netsplit over, joins: celticminstrel 20160417 22:25:12< celticminstrel> I keep disconnecting lately, only on freenode... :| 20160417 22:28:20-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has quit [Quit: nurupo] 20160417 22:29:20-!- nurupo [~nurupo.ga@unaffiliated/nurupo] has joined #wesnoth-dev 20160417 22:30:04-!- irker820 [~irker@109.237.213.40] has joined #wesnoth-dev 20160417 22:30:04< irker820> wesnoth: mattsc wesnoth:1.12 06034a6fa150 / changelog src/ai/testing/ca_testing_move_to_targets.cpp: Fix the AI's move-to-targets CA ignoring tunnels https://github.com/wesnoth/wesnoth/commit/06034a6fa15066b37056e8c6d184346f727533b0 20160417 22:30:36< mattsc> celticminstrel: ^ turned out to be easy enough by just copying what’s done for other CAs 20160417 22:30:52< celticminstrel> Nice. 20160417 22:32:03< mattsc> I’ll add that for master too, but I can’t just cherry-pick the commit because of the recent refactoring. 20160417 22:33:12-!- exciton_ [chuck-the-@89.208.170.132] has quit [Ping timeout: 260 seconds] 20160417 22:33:14< celticminstrel> It looks cherry-pickable... but maybe moved files get in the way... 20160417 22:33:48< celticminstrel> Could probably do some sort of "make patchfile, edit patch to change paths, apply patch" thing. 20160417 22:34:06< celticminstrel> I'm not actually sure how patch files work. 20160417 22:35:49-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20160417 22:37:41< mattsc> Yeah, the file moved. It’s so few lines, that it’s really not a problem just copying them by hand, rather than risking to screw something up with patches or the like. 20160417 22:40:25-!- Crendgrim_ is now known as Crendgrim 20160417 22:41:39-!- Appleman1234 [~Appleman1@36.12.43.78] has joined #wesnoth-dev 20160417 22:53:59< vultraz> More icon art from LordBob will be incoming later, hopefully. 20160417 22:56:03< vultraz> And I have a bunch of updates to the GUI2 addons manager to push. No, I'm not "back", I just had to wire some stuff in in order to test the designs. 20160417 22:56:24< vultraz> since LB has been finally getting to my pending requests :) 20160417 22:56:39< vultraz> (which means he might get to ancestral 20160417 22:56:45< vultraz> 's) 20160417 22:59:03< vultraz> https://drive.google.com/file/d/0B-mR9s8FduLLNTZ1ZUhQLW9aQm8/view?usp=sharing what the new icons will look like 20160417 23:13:15-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20160417 23:15:07-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev --- Log closed Mon Apr 18 00:00:44 2016