--- Log opened Sun Jul 05 00:00:00 2015 20150705 00:34:54-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 248 seconds] 20150705 01:20:06-!- gfgtdf_ [~chatzilla@f054132104.adsl.alicedsl.de] has joined #wesnoth-dev 20150705 01:21:00-!- gfgtdf_ [~chatzilla@f054132104.adsl.alicedsl.de] has quit [Client Quit] 20150705 01:22:54-!- gfgtdf [~chatzilla@x55b1abb9.dyn.telefonica.de] has quit [Ping timeout: 248 seconds] 20150705 01:45:53-!- vultraz_iOS [uid24821@wesnoth/developer/vultraz] has quit [Quit: Connection closed for inactivity] 20150705 01:47:32-!- Appleman1234_ [~Appleman1@KD106154014088.au-net.ne.jp] has joined #wesnoth-dev 20150705 01:47:58-!- Appleman1234 [~Appleman1@KD106178162089.au-net.ne.jp] has quit [Ping timeout: 252 seconds] 20150705 01:52:11-!- Ard0nik [~user@adsl-75-28-97-170.dsl.irvnca.sbcglobal.net] has joined #wesnoth-dev 20150705 01:52:38-!- Appleman1234_ [~Appleman1@KD106154014088.au-net.ne.jp] has quit [Ping timeout: 250 seconds] 20150705 01:52:40-!- Ardonik [~user@adsl-75-28-99-47.dsl.irvnca.sbcglobal.net] has quit [Disconnected by services] 20150705 01:52:52-!- Ard0nik is now known as Ardonik 20150705 02:04:45-!- Appleman1234_ [~Appleman1@KD106154014088.au-net.ne.jp] has joined #wesnoth-dev 20150705 02:19:38-!- Appleman1234_ is now known as Appleman1234 20150705 02:19:52-!- Ard0nik [~user@adsl-75-28-96-43.dsl.irvnca.sbcglobal.net] has joined #wesnoth-dev 20150705 02:20:03-!- Ardonik [~user@adsl-75-28-97-170.dsl.irvnca.sbcglobal.net] has quit [Disconnected by services] 20150705 02:20:07-!- Ard0nik is now known as Ardonik 20150705 03:38:30-!- Appleman1234_ [~Appleman1@KD106154016070.au-net.ne.jp] has joined #wesnoth-dev 20150705 03:41:09-!- Appleman1234 [~Appleman1@KD106154014088.au-net.ne.jp] has quit [Ping timeout: 264 seconds] 20150705 03:46:14-!- Kwandulin [~Miranda@p5B00838C.dip0.t-ipconnect.de] has joined #wesnoth-dev 20150705 04:17:27-!- oldlaptop [~quassel@50-107-82-76.adr02.mskg.mi.frontiernet.net] has quit [Ping timeout: 256 seconds] 20150705 04:20:56-!- oldlaptop [~quassel@50-107-82-76.adr02.mskg.mi.frontiernet.net] has joined #wesnoth-dev 20150705 04:44:30-!- Appleman1234_ is now known as Appleman1234 20150705 05:00:32-!- Ard0nik [~user@adsl-75-28-99-31.dsl.irvnca.sbcglobal.net] has joined #wesnoth-dev 20150705 05:01:09-!- Ardonik [~user@adsl-75-28-96-43.dsl.irvnca.sbcglobal.net] has quit [Disconnected by services] 20150705 05:01:21-!- Ard0nik is now known as Ardonik 20150705 05:30:00-!- markus_ [~mjs-de@x5ce422d1.dyn.telefonica.de] has joined #wesnoth-dev 20150705 05:46:24-!- Ardonik [~user@adsl-75-28-99-31.dsl.irvnca.sbcglobal.net] has quit [Read error: Connection reset by peer] 20150705 05:46:25-!- Ard0nik [~user@adsl-75-28-97-54.dsl.irvnca.sbcglobal.net] has joined #wesnoth-dev 20150705 06:00:03-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20150705 06:04:36-!- [Relic] [~Relic]@2602:306:33a3:6d30:e5db:44e:bace:cba2] has quit [Quit: I press the magic X and all the weirdos go away!] 20150705 06:14:11-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has joined #wesnoth-dev 20150705 06:18:49< ancestral> mattsc, shadowm: I’m stuck on an error with src/game_config_manager.cpp:105. The error I get is “No previous prototype for function ‘map_includes’ 20150705 06:22:01< shadowm> Compiler? 20150705 06:22:45 * shadowm is getting a déjà vu feeling from this. 20150705 06:23:45< ancestral> Compiler 20150705 06:24:08< shadowm> That's shorthand for "compiler version and vendor". 20150705 06:24:13< ancestral> Oh 20150705 06:25:40< shadowm> What's that compiler on about? It's a standalone function. 20150705 06:25:58< ancestral> Apple LLVM 6.1 20150705 06:26:09< ancestral> One second 20150705 06:26:16< shadowm> Isn't that clang? 20150705 06:26:19< ancestral> Yes 20150705 06:26:25< shadowm> What clang version? 20150705 06:26:32< ancestral> Bah, lost the error 20150705 06:26:38< ancestral> Let me dig up the file 20150705 06:26:59< ancestral> bool map_includes(const preproc_map& general, const preproc_map& special) 20150705 06:27:07< shadowm> Incidentally, I built master with clang 3.6 yesterday and I didn't get any warnings. 20150705 06:27:17< shadowm> Yes, I have the code in front of me. 20150705 06:27:21< ancestral> Well, possibly it’s confused 20150705 06:27:36< ancestral> There are like 15 different lines asking for target version 20150705 06:27:38< shadowm> Can you try wrapping it in an anonymous namespace? 20150705 06:27:55< ancestral> Trying one more clean and build 20150705 06:27:56< shadowm> Add a line 'namespace {' before the function definition and '}' after it. 20150705 06:28:11< ancestral> Okay 20150705 06:31:00-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20150705 06:38:21< ancestral> shadowm: Alright, still failed, so I wrapped it in a namespace and it no longer fails 20150705 06:38:40< ancestral> Now campaign_server.cpp:97 20150705 06:39:25-!- tomreyn [~tomreyn@megaglest/team/tomreyn] has joined #wesnoth-dev 20150705 06:39:27< ancestral> Wait 20150705 06:39:48< ancestral> Never mind 20150705 06:40:11< ancestral> Use of undeclared identifier CLOCK_MONOTONIC 20150705 06:40:39< shadowm> #ifdef _POSIX_MONOTONIC_CLOCK 20150705 06:41:10< shadowm> How the hell does it get there? Anyway, you don't need (and in fact, must not) build campaignd for releases. 20150705 06:41:24< shadowm> (In fact, no-one but me should be building campaignd anywhere for that matter.) 20150705 06:41:43< ancestral> Okay, well 20150705 06:42:35< ancestral> I was attempting to add files which were missing since last build 20150705 06:42:45< ancestral> I see then 20150705 06:44:27-!- irker468 [~irker@uruz.ai0867.net] has joined #wesnoth-dev 20150705 06:44:27< irker468> wesnoth: Ignacio R. Morelle wesnoth:master 48ffe53cfea1 / src/game_config_manager.cpp: Attempt to fix a "No previous prototype for function" error http://git.io/vqOGO 20150705 06:46:18< ancestral> Cleaning and recompiling 20150705 06:46:59< shadowm> Are you building 1.13.1 or master? 20150705 06:47:06< ancestral> 1.13.1 20150705 06:47:20< ancestral> I can double-check 20150705 06:47:36< shadowm> `git describe` :p 20150705 06:47:45< ancestral> Hmm 20150705 06:47:54< shadowm> It should say "1.13.1", not something like "1.13.1-8-g48ffe53". 20150705 06:48:21< ancestral> Ugh 20150705 06:48:22< ancestral> Okay 20150705 06:48:35< ancestral> I *swear* I moved into 1.13.1 20150705 06:48:39< ancestral> Apparently not 20150705 06:48:53< ancestral> Just as well I compile master at some point anyway 20150705 06:49:50< ancestral> 1.13.1-7-g4e7e00d 20150705 06:50:32< ancestral> Waiting for the build to finish before switching 20150705 06:57:15-!- markus_ [~mjs-de@x5ce422d1.dyn.telefonica.de] has quit [Ping timeout: 256 seconds] 20150705 06:58:02< ancestral> warning: refname '1.13.1' is ambiguous. 20150705 06:58:48< shadowm> `git show 1.13.1` 20150705 06:59:00< shadowm> You should see a tag. 20150705 06:59:13< ancestral> warning: refname '1.13.1' is ambiguous. 20150705 06:59:13< ancestral> tag 1.13.1 20150705 06:59:32< shadowm> Then you probably just have a local branch that points to that tag or something. 20150705 06:59:44< shadowm> Which is weird, but whatever. 20150705 07:12:59< ancestral> Alright, I did a `git reset --hard` on 1.13.1. Got the sme error for game_config_manager.cpp. Wrap that line in ‘namespace’ and it builds successfully 20150705 07:17:32< ancestral> Launches after I swap out the Pango 1.8.0 .so modules 20150705 07:17:57< ancestral> I’ll post this up during my lunchtime tomorrow 20150705 07:18:02-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20150705 07:56:20-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20150705 08:00:50-!- mjs-de [~mjs-de@f053176009.adsl.alicedsl.de] has joined #wesnoth-dev 20150705 08:00:50-!- Kwandulin [~Miranda@p5B00838C.dip0.t-ipconnect.de] has quit [Ping timeout: 265 seconds] 20150705 08:02:22-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Read error: Connection reset by peer] 20150705 08:02:47-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20150705 08:32:58-!- vultraz_iOS [uid24821@wesnoth/developer/vultraz] has joined #wesnoth-dev 20150705 08:33:07-!- Kwandulin [~Miranda@p5B0099AB.dip0.t-ipconnect.de] has joined #wesnoth-dev 20150705 08:51:17-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20150705 08:52:16-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Ping timeout: 246 seconds] 20150705 09:06:53-!- Elvish_Hunter [~irssi@wesnoth/developer/elvish-hunter] has joined #wesnoth-dev 20150705 09:09:53-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20150705 09:10:35-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20150705 09:13:57-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has quit [Read error: Connection reset by peer] 20150705 09:14:02-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20150705 09:19:39-!- Kwandulin [~Miranda@p5B0099AB.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20150705 09:32:06< Elvish_Hunter> 20150704 20:50:14< shadowm> shadowm (Debian, Windows 8.1 VM), gfgtdf (Windows), zookeeper (Windows), vultraz (Windows), Elvish_Hunter (Windows and maybe Linux). 20150705 09:32:48< Elvish_Hunter> shadowm: I'm using both Windows 7 and Xubuntu 14.04 20150705 09:34:46< Elvish_Hunter> zookeeper, loonycyborg: I prepared the PR for UtBS: https://github.com/wesnoth/wesnoth/pull/416 20150705 09:35:33< Elvish_Hunter> I implemented both your suggestions (sort units by level then experience, reset Garak's XP to zero at each turn) 20150705 09:35:34< shadowm> >:c 20150705 09:37:28< zookeeper> isn't [event] supported directly in SingleUnitWML now? 20150705 09:37:29< Elvish_Hunter> To do this, I had to code the ability in Lua (it was easier to use table.sort() rather than multiple [store_unit]s) 20150705 09:39:43< Elvish_Hunter> zookeeper: yes, it is. I never noticed it... 20150705 09:43:42-!- Ard0nik [~user@adsl-75-28-97-54.dsl.irvnca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 20150705 09:44:14< Elvish_Hunter> Hmm... the wiki says that [unit][event] is "inserted into every scenario where this unit is first created" 20150705 09:44:31-!- irker468 [~irker@uruz.ai0867.net] has quit [Quit: transmission timeout] 20150705 09:45:10< Elvish_Hunter> Does this mean that, when a unit is recalled, its [event]s aren't injected into the scenario? It's unclear 20150705 09:47:01< zookeeper> i presume it means any scenario where the unit is created or recalled 20150705 09:47:14< zookeeper> as in, the event gets inserted when the unit appears in the scenario 20150705 09:47:41< zookeeper> "At the start of every turn, this unit loses all of their experience points and distributes them among adjacent lower-level friendly units." might be a better description, although i don't think your code does the lower-level check 20150705 09:48:15< zookeeper> looks like it only skips the unit if its level is higher 20150705 09:48:41< zookeeper> scratch that last one 20150705 09:48:42< Elvish_Hunter> No, it doesn't. It simply gives priority, when assigning the remainder points, to units with lower levels. 20150705 09:51:13< zookeeper> also it looks like garak still has an XP limit 20150705 10:05:52-!- hay207 [~haythamme@41.34.31.192] has joined #wesnoth-dev 20150705 10:06:12-!- shadowm_desktop [ignacio@wesnoth/developer/shadowm] has quit [Ping timeout: 250 seconds] 20150705 10:07:44< Elvish_Hunter> How should I remove his XP limit? Direct unit modification with [store_unit] doesn't seem to work for this purpose... 20150705 10:08:25< Elvish_Hunter> I remember that one I created a unit without XP limit by creating a unit type without the advances_to= key 20150705 10:08:52< Elvish_Hunter> I don't know is this still works, or if will work with [base_unit] 20150705 10:09:04< Elvish_Hunter> * if this 20150705 10:11:08< zookeeper> i don't know 20150705 10:16:11< zookeeper> shadowm, miraculously, it seems i've managed to implement the mod_x,mod_y location constraints 20150705 10:17:24< zookeeper> it'd maybe be a very rarely needed slightly oddball feature, but the code needed is very short 20150705 10:18:02< zookeeper> i'll make a PR at some point if i deem it worthy 20150705 10:19:27< Elvish_Hunter> Then it looks like I'll have some tests to do... In case that I don't manage to remove Garak's XP limit, it's OK if I just set it to 999? 20150705 10:20:43< zookeeper> that'd be better than the regular AMLA limit, yes 20150705 10:39:22-!- Kwandulin [~Miranda@p5B0099AB.dip0.t-ipconnect.de] has joined #wesnoth-dev 20150705 10:42:35< Elvish_Hunter> OK, now I have to go. Bye! 20150705 10:42:42-!- Elvish_Hunter [~irssi@wesnoth/developer/elvish-hunter] has quit [Quit: Ciao!] 20150705 10:52:57-!- Ardonik [~user@adsl-75-28-97-127.dsl.irvnca.sbcglobal.net] has joined #wesnoth-dev 20150705 10:54:02< zookeeper> urgh, i forgot that i need to make a fork to make PR's... 20150705 11:05:36-!- prkc [~prkc@51B65338.dsl.pool.telekom.hu] has joined #wesnoth-dev 20150705 11:15:53-!- vultraz_iOS [uid24821@wesnoth/developer/vultraz] has quit [Quit: Connection closed for inactivity] 20150705 11:42:18-!- aquileia [95acd0d3@gateway/web/freenode/ip.149.172.208.211] has joined #wesnoth-dev 20150705 11:43:21< aquileia> zookeeper: It's written that way because if you clone the repo, the directory will be named external/ 20150705 11:44:48-!- Ravana_ [~SZ_Bot@unaffiliated/ravana/x-2327071] has quit [Ping timeout: 264 seconds] 20150705 11:44:49< zookeeper> what directory? 20150705 11:45:05< aquileia> Just saw your comment from yesterday 20150705 11:45:09< zookeeper> yes, i know 20150705 11:45:53< zookeeper> it was a rhetorical question 20150705 11:46:51< aquileia> The only thing that matters is that you use the paths to the actual dll/, include/ and lib/ subdirs, after all 20150705 11:47:51< zookeeper> well, i figured that out 20150705 11:47:57< zookeeper> the instructions are still wrong 20150705 11:52:02< aquileia> Ok, I'll try to reword it in a way that works for both the git clone and archive variants. 20150705 11:52:25< aquileia> Thanks for letting me know 20150705 11:53:55< zookeeper> oh, by repo you didn't mean wesnoth, but that some other repo which holds that stuff? 20150705 11:54:33< aquileia> yes, the aquileia/external repo 20150705 11:55:16< zookeeper> right, okay 20150705 11:56:04-!- SZ_Bot [~SZ_Bot@27-83-235-80.dyn.estpak.ee] has joined #wesnoth-dev 20150705 11:56:04-!- SZ_Bot is now known as Ravana_ 20150705 11:56:04-!- Ravana_ [~SZ_Bot@27-83-235-80.dyn.estpak.ee] has quit [Changing host] 20150705 11:56:04-!- Ravana_ [~SZ_Bot@unaffiliated/ravana/x-2327071] has joined #wesnoth-dev 20150705 11:59:55-!- Kwandulin [~Miranda@p5B0099AB.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20150705 12:25:42-!- Kallikanzarid [~textual@46.181.226.42] has joined #wesnoth-dev 20150705 12:27:42< Kallikanzarid> hi all 20150705 12:28:50< Kallikanzarid> I got display scrolling to work on SDL 2, now working to port all graphics to ttexture so that I could use the renderer 20150705 12:28:54< Kallikanzarid> SDL_Renderer 20150705 12:29:35< Kallikanzarid> it shouldn't be too hard, we'll see if the horrible alpha modulation shows up in process 20150705 12:30:12< Kallikanzarid> unfortunately the SDL_Surface approach doesn't understand high DPI 20150705 12:30:34< Kallikanzarid> but porting to SDL_Renderer should give us high DPI support for free 20150705 12:31:09< Kallikanzarid> just a question, was lipk working in this exact direction before switching to sdl_GPU? 20150705 12:31:47< Kallikanzarid> it looks like it, but I also found evidence in the code that he didn't actually start removing SDL_surface from the equation 20150705 12:32:05< Kallikanzarid> or maybe I'm wrong, I don't understand the code base well yet 20150705 12:40:24< Kallikanzarid> I'll try to get by with SDL_CreateTextureFromSurface at first 20150705 12:40:46< Kallikanzarid> using an off-screen surface instead of the framebuffer for actual drawing 20150705 12:41:26< Kallikanzarid> it's taxing, but it's not qualitatively different from what I did a month ago in my demo, and the FPS should not suffer too much, I hope 20150705 12:41:32-!- Kwandulin [~Miranda@p5B0092B1.dip0.t-ipconnect.de] has joined #wesnoth-dev 20150705 13:02:02-!- Ard0nik [~user@adsl-75-28-99-47.dsl.irvnca.sbcglobal.net] has joined #wesnoth-dev 20150705 13:04:07< Kallikanzarid> BTW, you guys have serious cache locality issues 20150705 13:04:19< Kallikanzarid> std::map is a linked structure, and you use it all the time 20150705 13:04:46< Kallikanzarid> a custom hashmap with linear probing would improve performance a lot, especially on slower machines 20150705 13:05:48-!- Ardonik [~user@adsl-75-28-97-127.dsl.irvnca.sbcglobal.net] has quit [Ping timeout: 264 seconds] 20150705 13:18:18-!- Appleman1234_ [~Appleman1@KD106154014251.au-net.ne.jp] has joined #wesnoth-dev 20150705 13:20:48-!- Appleman1234 [~Appleman1@KD106154016070.au-net.ne.jp] has quit [Ping timeout: 264 seconds] 20150705 13:27:26< aquileia> zookeeper, gfgtdf: warning C4003: not enough actual parameters for macro 'BOOST_PP_EXPAND_I' <-- I can certainly try whether that issue was adressed in Boost 1.58, the issue was discussed on their mailinglist and they said they'd try a possible fix for 1.58 20150705 13:28:27< aquileia> I just had to update to 1.57 because wesnoth's master branch no longer compiled with 1.55 20150705 13:32:58-!- Appleman1234_ is now known as Appleman1234 20150705 13:34:02< aquileia> They released 1.58 just two weeks after I updated to 1.57? Bad luck, I guess... 20150705 13:35:06-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20150705 13:36:02-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20150705 13:38:02-!- Kwandulin [~Miranda@p5B0092B1.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20150705 13:38:39-!- aquileia [95acd0d3@gateway/web/freenode/ip.149.172.208.211] has quit [Quit: Page closed] 20150705 13:41:44-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Read error: Connection reset by peer] 20150705 13:41:53-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20150705 13:53:36-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has quit [Read error: Connection reset by peer] 20150705 13:53:41-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20150705 13:55:10-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Read error: Connection reset by peer] 20150705 13:57:42-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20150705 14:05:13-!- Kwandulin [~Miranda@p5B0092B1.dip0.t-ipconnect.de] has joined #wesnoth-dev 20150705 14:16:07-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has joined #wesnoth-dev 20150705 14:24:02-!- prkc [~prkc@51B65338.dsl.pool.telekom.hu] has quit [Remote host closed the connection] 20150705 14:24:22-!- prkc [~prkc@51B65338.dsl.pool.telekom.hu] has joined #wesnoth-dev 20150705 14:25:59-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20150705 14:34:52-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has joined #wesnoth-dev 20150705 14:37:52-!- ancestral [~ancestral@75-161-229-81.mpls.qwest.net] has quit [Client Quit] 20150705 14:38:31-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20150705 14:43:28 * vultraz pulls 20150705 14:48:02< vultraz> 13 mb 20150705 15:07:59-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Remote host closed the connection] 20150705 15:11:29-!- Ardonik [~user@adsl-75-28-99-122.dsl.irvnca.sbcglobal.net] has joined #wesnoth-dev 20150705 15:13:50-!- Ard0nik [~user@adsl-75-28-99-47.dsl.irvnca.sbcglobal.net] has quit [Ping timeout: 248 seconds] 20150705 15:16:31-!- prkc [~prkc@51B65338.dsl.pool.telekom.hu] has quit [Remote host closed the connection] 20150705 15:16:53-!- prkc [~prkc@51B65338.dsl.pool.telekom.hu] has joined #wesnoth-dev 20150705 15:23:00-!- shadowm_desktop [ignacio@wesnoth/developer/shadowm] has joined #wesnoth-dev 20150705 15:23:14-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20150705 15:27:25-!- [Relic] [~Relic]@2602:306:33a3:6d30:e959:699:2a2b:5421] has joined #wesnoth-dev 20150705 15:55:38-!- irker155 [~irker@uruz.ai0867.net] has joined #wesnoth-dev 20150705 15:55:38< irker155> wesnoth: Charles Dang wesnoth:master 89cc9ac49f6c / data/gui/default/window/campaign_dialog.cfg: tcampaign_dialog: remove excess borders http://git.io/vq3A6 20150705 16:14:58-!- hay207 [~haythamme@41.34.31.192] has quit [Ping timeout: 252 seconds] 20150705 16:16:04-!- Kwandulin [~Miranda@p5B0092B1.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20150705 16:27:52-!- Kallikanzarid [~textual@46.181.226.42] has quit [Quit: Textual IRC Client: www.textualapp.com] 20150705 16:39:17-!- travis-ci [~travis-ci@ec2-54-204-111-159.compute-1.amazonaws.com] has joined #wesnoth-dev 20150705 16:39:18< travis-ci> wesnoth/wesnoth#6716 (master - 89cc9ac : Charles Dang): The build has errored. 20150705 16:39:18< travis-ci> Build details : https://travis-ci.org/wesnoth/wesnoth/builds/69627087 20150705 16:39:18-!- travis-ci [~travis-ci@ec2-54-204-111-159.compute-1.amazonaws.com] has left #wesnoth-dev [] 20150705 16:46:48-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20150705 16:47:54-!- prkc [~prkc@51B65338.dsl.pool.telekom.hu] has quit [Ping timeout: 250 seconds] 20150705 16:55:32-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20150705 17:00:00-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20150705 17:14:19-!- Ard0nik [~user@75.28.96.171] has joined #wesnoth-dev 20150705 17:18:30-!- Ardonik [~user@adsl-75-28-99-122.dsl.irvnca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 20150705 17:27:27-!- Kallikanzarid [~textual@46.181.226.42] has joined #wesnoth-dev 20150705 17:27:53< Kallikanzarid> I got the scaling to work properly! 20150705 17:28:18< Kallikanzarid> unfortunately, the input died and the performance is abysmal at high res 20150705 17:28:23< Kallikanzarid> still working on it 20150705 17:29:11< vultraz> Scaling? 20150705 17:29:26-!- hay207 [~haythamme@41.34.31.192] has joined #wesnoth-dev 20150705 17:29:31< Kallikanzarid> High DPI support on retina MacBooks 20150705 17:30:01< vultraz> Does that include using the larger sized images in some cases? 20150705 17:30:26< Kallikanzarid> so far I just got it to use the full resolution instead of upsampling x2 20150705 17:30:42< Kallikanzarid> it's a big win for me considering how bad the codebase has become 20150705 17:31:15< Kallikanzarid> SDL wrappers should not try to encapsulate SDL calls, it leads to fragile interface, because there will always be that one call we didn't wrap 20150705 17:31:38< Kallikanzarid> I'm thinking about replacing them with just simple RAII wrappers 20150705 17:31:55< Kallikanzarid> to avoid really bad recompilation issues 20150705 17:32:05< Kallikanzarid> also, ttexture is unusable 20150705 17:32:28< Kallikanzarid> I don't know why lipk thought it's a good idea to overload this class with features 20150705 17:33:00< Kallikanzarid> but I had to use plain SDL_Texture just to avoid dealing with its complexities 20150705 17:33:41< vultraz> the codebase is indeed bad 20150705 17:34:07< Kallikanzarid> it's not how I expected a video game engine to work at all 20150705 17:34:16< Kallikanzarid> so much naive OOP it hurts 20150705 17:35:05< Kallikanzarid> I suspect we can achieve like 10% speedup by just replacing std::map with linear probing hash tables everywhere 20150705 17:38:22< vultraz> Well, we welcome any and all patches 20150705 17:38:42< shadowm> As long as you don't do like the last guy who decided to "optimize" everything. 20150705 17:39:38< Kallikanzarid> what happened last time? 20150705 17:39:55< Kallikanzarid> right now I'm focused on getting vanilla SDL 2 to work well 20150705 17:40:05< shadowm> I don't want to go into details because it's not a pretty story. 20150705 17:40:22< Kallikanzarid> so that we can remove SDL 1 support and clean up a bit 20150705 17:40:28< shadowm> Just saying that there's such a thing as over-optimizing things. 20150705 17:40:51< Kallikanzarid> well, right now I'm afraid it's the opposite extreme 20150705 17:41:29< Kallikanzarid> Wesnoth's claim of being portable is a plain lie because it's too slow for really old and underpowered devices 20150705 17:41:58< Kallikanzarid> and it shouldn't be, it's a 2d tile-based game with minimal overdraw 20150705 17:42:44< shadowm> It apparently runs on Android and iOS with most changes revolving around adapting the UI for small form factor devices. 20150705 17:43:27< Kallikanzarid> I'm not seeing it, unless it also upscales a lot 20150705 17:43:35< shadowm> As for old computers, I'm not concerned about that. 20150705 17:43:59< Kallikanzarid> okay, I don't mean to flame or anything 20150705 17:44:33< Kallikanzarid> I'm not going to be doing anything crazy with the codebase either 20150705 17:45:45< Yaiyan> Wesnoth runs fine on my 7+ year old netbook with some processor that was ridiculously cruddy even for the time... 20150705 17:47:29< Kallikanzarid> I guess it's the highres + low power combo that kills it then 20150705 17:47:40< Kallikanzarid> still very relevant today 20150705 17:48:27< shadowm> Easiest way to check is to get Yaiyan to hook up a 1920x1080 screen to that netbook and run Wesnoth fullscreen. 20150705 17:49:30< shadowm> That said, I'm not sure structure inefficiencies are that relevant for idle rendering? 20150705 17:49:46< Kallikanzarid> it depends 20150705 17:49:48< shadowm> Unless you have an absurd number of units on the map. 20150705 17:50:42< Kallikanzarid> the problem is that bad access locality can easily kill performance no matter what 20150705 17:50:51< shadowm> Yes, I understand the theory. 20150705 17:51:06< Kallikanzarid> and with std::maps littered all over the place, it's likely that it's happening 20150705 17:51:15< Kallikanzarid> don't understand the code enough to judge on that yet 20150705 17:51:36< shadowm> I'm more concerned about verifiable practical effects and identifying the culprits. 20150705 17:51:58< Kallikanzarid> yeah, although cache thrashing is hard to pinpoint with profiling 20150705 17:52:42< Kallikanzarid> because bad data structures-caused cache misses are often spread quite evenly 20150705 17:53:03< Kallikanzarid> at least that's what people keep telling me 20150705 17:54:35-!- aquileia [95acd0d3@gateway/web/freenode/ip.149.172.208.211] has joined #wesnoth-dev 20150705 18:13:02< aquileia> shadowm: IIRC you removed the boost asio dependency from 1.13 but not 1.12, correct? 20150705 18:21:36< shadowm> aquileia: I didn't remove it. 20150705 18:22:30< shadowm> I think you are assuming that libana was the only code that depended on Boost.asio. That's not correct, because the add-ons client uses loonycyborg's Boost.asio client code. 20150705 18:23:43< aquileia> ok 20150705 18:28:08< Kallikanzarid> I have a question 20150705 18:28:37< Kallikanzarid> twindow documentation says we can't say if it should be a singleton yet 20150705 18:28:54< Kallikanzarid> but I need a window pointer when calculating mouse position 20150705 18:29:36< Kallikanzarid> I looked inside SDL and it can't distinguish between low dpi and high dpi by itself, I have to scale mouse coordinates myself 20150705 18:30:03< Kallikanzarid> it's a problem because currently get_mouse_position doesn't take any parameters 20150705 18:31:06< shadowm> "At the moment of writing it is not certain yet how many windows will be created. At least one as main window, but maybe the GUI dialogues will have their own window." 20150705 18:31:38< shadowm> This is my first time looking at this and I can only say it's a terrible idea. Just make it a singleton and let someone else retrofit support for separate windows later if needed. 20150705 18:33:12< shadowm> (Hint: it's not *needed*. It might be convienient for a few select windows like the Lua Console, but it's not *needed* nor feasible until GUI2 windows gain the ability to not monopolize the event loop.) 20150705 18:33:17< shadowm> *GUI2 dialogs 20150705 18:33:43< Kallikanzarid> okay 20150705 18:34:28< Kallikanzarid> would thread-safe singleton be an overkill? 20150705 18:35:14< shadowm> Right now, yes, because all rendering is done on the main thread since SDL 1.2 isn't designed to allow other threads to use surfaces and such (is SDL 2?). 20150705 18:35:30< Kallikanzarid> for now I'll just cache last created instance 20150705 18:55:41-!- irker155 [~irker@uruz.ai0867.net] has quit [Quit: transmission timeout] 20150705 19:00:54< Kallikanzarid> sdl 2 still requires that the event loop is in the main thread, but accelerated rendering probably can be done in another thread 20150705 19:12:56< aquileia> zookeeper: I just updated external/VC12 to boost 1.58 which got rid of the C4003 warnings 20150705 19:13:11< zookeeper> cool 20150705 19:25:36-!- Appleman1234_ [~Appleman1@KD106178172102.au-net.ne.jp] has joined #wesnoth-dev 20150705 19:28:45-!- Appleman1234 [~Appleman1@KD106154014251.au-net.ne.jp] has quit [Ping timeout: 255 seconds] 20150705 19:38:27< Kallikanzarid> I got the main menu fully working 20150705 19:39:38< Kallikanzarid> but everything else goes around the src/gui/auxilliary/event/handler.hpp 20150705 19:39:46< Kallikanzarid> at least all dialogs do 20150705 19:40:18< Kallikanzarid> so I'll probably extract the mouse coordinates handling somewhere 20150705 19:40:51< shadowm> Beware of core/GUI1 vs. GUI2 event handling differences. 20150705 19:41:47< Kallikanzarid> maybe it's worth hacking SDL_Mouse? 20150705 19:42:08< Kallikanzarid> replacing the default Cocoa position extractor 20150705 19:42:24< Kallikanzarid> to avoid the pain 20150705 19:43:16< Kallikanzarid> other platforms don't have fractional coordinates so it's only one case, may be worth a try 20150705 19:53:44-!- Kallikanzarid [~textual@46.181.226.42] has quit [Quit: Textual IRC Client: www.textualapp.com] 20150705 20:02:23< aquileia> zookeeper, gfgtdf, anonymissimus, timotei: Concerning Visual Studio, is it ok if I restrict the position of \external to the same directory as \wesnoth (as it would always be if you cloned both repos) ? 20150705 20:03:45< aquileia> I'd like to use ..\..\..\external from inside the projectfiles\VC* directory 20150705 20:06:13< aquileia> If you have no issues with that, I could get rid of step 4 in http://wiki.wesnoth.org/CompilingWesnothOnWindows#Visual_Studio_2010_and_later 20150705 20:43:47< aquileia> with 'restrict' I mean that if you place it somewhere else, you'll basically have to do step 4 to provide the correct paths 20150705 20:53:21< zookeeper> aquileia, "as it would always be if you cloned both repos"? if i clone your repo then how is that gonna be in the same directory as wesnoth? 20150705 20:54:35-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20150705 20:55:06< aquileia> Oops, sorry, no 20150705 20:56:33-!- prkc [~prkc@catv-89-134-173-244.catv.broadband.hu] has joined #wesnoth-dev 20150705 20:56:58< zookeeper> Ravana_, umm, what are you talking about? the guy was suggesting that healers should self-heal... that has nothing to do with forcing anything 20150705 20:57:36< aquileia> I forgot that you can put repos anywhere you want (I have a central git directory for that and foolishly overlooked that's not always the case) 20150705 20:57:49< Ravana_> said that all healing would include regen 20150705 20:58:42< zookeeper> yes... it's a stupid idea but has nothing to do with people doing stuff with events etc 20150705 21:05:15< aquileia> zookeeper: Do you think it's a viable trade-off to have it next to wesnoth\ if it saves the user a manual configuration step? 20150705 21:06:06< aquileia> As I said, you can still place it somewhere else, you just won't have the benefits 20150705 21:06:45< zookeeper> aquileia, uh, i dunno. can one have your close inside their wesnoth clone so that the files automatically end up in wesnoth/external/? 20150705 21:06:59< zookeeper> then you can just say that whatever method you use, make sure the files end up there 20150705 21:07:24< aquileia> If we add a gitignore rule, I think we could nest the repos 20150705 21:08:04< aquileia> In that case I'd use wesnoth/projectfiles/external, though 20150705 21:09:34< aquileia> My personal preference would still be next to wesnoth/, not inside wesnoth/ 20150705 21:10:20< aquileia> mainly because I've already cloned it there and I'm lazy ;) 20150705 21:10:21< zookeeper> well, i can't imagine that being a problem for anyone on windows 20150705 21:11:02< aquileia> but also because e.g. GitHub for Windows will place all your repos in one parent dir 20150705 21:12:06< Ravana_> github for windows allows you to choose from where to look for the files, once you move them away from where they were before 20150705 21:13:32< zookeeper> i'd think that anyone who'd rather grab the files from your repo than from a provided .zip wouldn't have a problem with editing the dependency paths themselves 20150705 21:14:28< zookeeper> so as long as there's a predefined place to unzip that stuff so one doesn't need to edit the paths like currently... all good as far as i'm concerned 20150705 21:15:47< aquileia> If it weren't such a specific group of users, I think it'd be best to have a poll on where to place the external dir 20150705 21:17:32< aquileia> but I think it's only us two, gfgtdf, anonymissimus, timotei (?), and two forum members who posted MSVC related questions 20150705 21:18:35< aquileia> well, for now I'll go with "in the same directory as wesnoth\" if you don't mind 20150705 21:19:37< zookeeper> works perfectly for me 20150705 21:25:40-!- Yaiyan [~ieuan@host86-152-218-252.range86-152.btcentralplus.com] has quit [Remote host closed the connection] 20150705 21:28:27-!- Yaiyan [~ieuan@host86-152-218-252.range86-152.btcentralplus.com] has joined #wesnoth-dev 20150705 21:44:19-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 246 seconds] 20150705 21:45:28-!- Appleman1234_ is now known as Appleman1234 20150705 21:53:32-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has joined #wesnoth-dev 20150705 21:54:32-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20150705 22:15:10-!- Kexoth [~kex@31-151-58-117.dynamic.upc.nl] has joined #wesnoth-dev 20150705 22:18:40-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has quit [Ping timeout: 246 seconds] 20150705 22:24:33-!- irker952 [~irker@uruz.ai0867.net] has joined #wesnoth-dev 20150705 22:24:33< irker952> wesnoth: aquileia wesnoth:master b1dac5dfce9c / projectfiles/VC9/ (5 files): vcproj: Add external/include and external/lib http://git.io/vqGqW 20150705 22:25:10-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has joined #wesnoth-dev 20150705 22:27:02-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has quit [Client Quit] 20150705 22:28:17< irker952> wesnoth: aquileia wesnoth:1.12 25ea48379af5 / projectfiles/VC9/ (5 files): vcproj: Add external/include and external/lib http://git.io/vqGm1 20150705 22:28:36-!- Kexoth [~kex@31-151-58-117.dynamic.upc.nl] has quit [Ping timeout: 264 seconds] 20150705 22:31:26-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has joined #wesnoth-dev 20150705 22:33:45-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20150705 22:33:50-!- travis-ci [~travis-ci@ec2-54-226-51-194.compute-1.amazonaws.com] has joined #wesnoth-dev 20150705 22:33:51< travis-ci> gfgtdf/wesnoth-old#490 (master - 9391337 : gfgtdf): The build was broken. 20150705 22:33:51< travis-ci> Build details : https://travis-ci.org/gfgtdf/wesnoth-old/builds/69657758 20150705 22:33:51-!- travis-ci [~travis-ci@ec2-54-226-51-194.compute-1.amazonaws.com] has left #wesnoth-dev [] 20150705 22:44:40-!- tomreyn [~tomreyn@megaglest/team/tomreyn] has quit [Quit: tomreyn] 20150705 22:45:50-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20150705 22:55:53-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has quit [Remote host closed the connection] 20150705 22:56:25-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has joined #wesnoth-dev 20150705 23:00:27-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20150705 23:00:40-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has quit [Ping timeout: 246 seconds] 20150705 23:04:39-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has joined #wesnoth-dev 20150705 23:10:24-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20150705 23:11:06-!- travis-ci [~travis-ci@ec2-54-226-51-194.compute-1.amazonaws.com] has joined #wesnoth-dev 20150705 23:11:07< travis-ci> wesnoth/wesnoth#6717 (master - b1dac5d : aquileia): The build passed. 20150705 23:11:07< travis-ci> Build details : https://travis-ci.org/wesnoth/wesnoth/builds/69658457 20150705 23:11:07-!- travis-ci [~travis-ci@ec2-54-226-51-194.compute-1.amazonaws.com] has left #wesnoth-dev [] 20150705 23:13:38-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has joined #wesnoth-dev 20150705 23:19:58-!- mjs-de [~mjs-de@f053176009.adsl.alicedsl.de] has quit [Ping timeout: 244 seconds] 20150705 23:22:29< aquileia> oh, right, forgot the [skip ci] tag... 20150705 23:27:37-!- Appleman1234 [~Appleman1@KD106178172102.au-net.ne.jp] has quit [Ping timeout: 246 seconds] 20150705 23:37:11-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has quit [Remote host closed the connection] 20150705 23:37:44-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has joined #wesnoth-dev 20150705 23:42:06-!- kex [~kex@31-151-58-117.dynamic.upc.nl] has quit [Ping timeout: 255 seconds] 20150705 23:52:01-!- travis-ci [~travis-ci@ec2-54-144-212-123.compute-1.amazonaws.com] has joined #wesnoth-dev 20150705 23:52:02< travis-ci> gfgtdf/wesnoth-old#491 (master - 8ad0541 : gfgtdf): The build is still failing. 20150705 23:52:02< travis-ci> Build details : https://travis-ci.org/gfgtdf/wesnoth-old/builds/69663180 20150705 23:52:02-!- travis-ci [~travis-ci@ec2-54-144-212-123.compute-1.amazonaws.com] has left #wesnoth-dev [] --- Log closed Mon Jul 06 00:00:14 2015