--- Log opened Sat Jun 29 00:00:20 2013 20130629 00:07:22-!- trademark_ [~trademark@mne69-1-82-67-17-201.fbx.proxad.net] has quit [Ping timeout: 256 seconds] 20130629 00:08:48-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has quit [Quit: *pouf*] 20130629 00:12:06-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20130629 00:24:52-!- mattsc [~mattsc@fw.hia.nrc.ca] has quit [Quit: ttyl] 20130629 01:05:45-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has joined #wesnoth-dev 20130629 01:06:53-!- LordBob_ [~LordBob_@che33-7-78-232-36-126.fbx.proxad.net] has quit [Quit: LordBob_] 20130629 01:08:25-!- Octalot [~noct@host86-128-74-232.range86-128.btcentralplus.com] has joined #wesnoth-dev 20130629 01:12:48-!- kex [~kex@89.205.70.185] has joined #wesnoth-dev 20130629 01:13:48< mattsc> vultraz (or anybody): it isn't possible to check for a side's gold directly in a WML conditional, right? Without storing something into a variable first, I mean. 20130629 01:14:03-!- jetrel_laptop [~jetrel_la@67-6-105-247.mpls.qwest.net] has quit [Quit: jetrel_laptop] 20130629 01:17:20< mattsc> Assuming I'm right about that, I'll add a separate mobilize_on_gold_less_than= key (or something) in addition to the [mobilize_condition] tag for the Hang Out MAI. 20130629 01:18:30-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 246 seconds] 20130629 01:24:42< vultraz> mattsc: AFAIK, you're right 20130629 01:26:21< mattsc> vultraz: okay, thanks. It's easy to do in Lua, so I'll add it in separately. 20130629 01:26:23-!- shadowm_desktop [ignacio@186.10.33.129] has joined #wesnoth-dev 20130629 01:26:47-!- shadowm_desktop is now known as Guest77186 20130629 01:33:27-!- Guest77186 [ignacio@186.10.33.129] has quit [Changing host] 20130629 01:33:27-!- Guest77186 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130629 01:34:24-!- Guest77186 [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: Reconnecting] 20130629 01:34:26-!- Upthorn [~ogmar@108-85-91-228.lightspeed.frokca.sbcglobal.net] has joined #wesnoth-dev 20130629 01:34:39-!- shadowm_desktop2 [ignacio@186.10.33.129] has joined #wesnoth-dev 20130629 01:35:30-!- shadowm_desktop2 [ignacio@186.10.33.129] has quit [Changing host] 20130629 01:35:30-!- shadowm_desktop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130629 01:38:40-!- shadowm_desktop2 [ignacio@wesnoth/developer/shadowmaster] has quit [Client Quit] 20130629 01:50:40-!- SigurdFD [~SigurdFD@24.154.98.89] has joined #wesnoth-dev 20130629 01:53:10-!- shadowm_desktop2 [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130629 01:53:23-!- shadowm_desktop2 is now known as shadowm_desktop 20130629 01:58:18-!- jamit [~jamit@wesnoth/developer/jamit] has joined #wesnoth-dev 20130629 02:04:36-!- Jetrel_new [~richard_k@c-75-73-182-0.hsd1.mn.comcast.net] has quit [Quit: Jetrel_new] 20130629 02:05:51-!- Jetrel_new [~richard_k@c-75-73-182-0.hsd1.mn.comcast.net] has joined #wesnoth-dev 20130629 02:19:14-!- mjs-de [~mjs-de@e182033039.adsl.alicedsl.de] has quit [Remote host closed the connection] 20130629 02:41:18-!- Blueblaze [~Blueblaze@adsl-99-148-247-124.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20130629 02:45:14-!- trewe [~trewe@87-196-10-110.net.novis.pt] has quit [Read error: Operation timed out] 20130629 02:57:48-!- Crendgrim [~quassel@f050093160.adsl.alicedsl.de] has quit [Ping timeout: 268 seconds] 20130629 02:59:57-!- Crendgrim [~quassel@f050093077.adsl.alicedsl.de] has joined #wesnoth-dev 20130629 04:45:29-!- Ivanovic_ [~ivanovic@x2f470b2.dyn.telefonica.de] has joined #wesnoth-dev 20130629 04:45:29-!- Ivanovic_ [~ivanovic@x2f470b2.dyn.telefonica.de] has quit [Changing host] 20130629 04:45:29-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20130629 04:46:43-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Read error: Operation timed out] 20130629 04:47:29-!- Ivanovic_ is now known as Ivanovic 20130629 04:58:49-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Quit: Leaving.] 20130629 05:33:59-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has quit [Quit: ttyl] 20130629 05:41:16-!- SigurdFD [~SigurdFD@24.154.98.89] has quit [] 20130629 06:02:02-!- Gallaecio [~quassel@84.120.219.21.dyn.user.ono.com] has joined #wesnoth-dev 20130629 06:06:37-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 256 seconds] 20130629 06:08:09-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130629 06:13:02-!- ancestral [~ancestral@75-161-180-197.mpls.qwest.net] has joined #wesnoth-dev 20130629 06:26:55-!- EliDupree [~quassel@66-189-34-122.dhcp.oxfr.ma.charter.com] has quit [Read error: Operation timed out] 20130629 06:30:29-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Read error: Connection reset by peer] 20130629 06:31:14-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20130629 07:39:55-!- LordBob_ [~LordBob_@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has joined #wesnoth-dev 20130629 07:56:22-!- Gambit [~quassel@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20130629 09:06:17-!- EdB [~edb@abo-200-11-69.bdx.modulonet.fr] has joined #wesnoth-dev 20130629 09:08:29-!- trademark_ [~trademark@mne69-1-82-67-17-201.fbx.proxad.net] has joined #wesnoth-dev 20130629 09:15:34-!- Kexoth [~kex@89.205.70.185] has joined #wesnoth-dev 20130629 09:17:37-!- ShikadiLord [~ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20130629 09:17:47-!- shadowm [~ignacio@wesnoth/developer/shadowmaster] has quit [Disconnected by services] 20130629 09:17:52-!- ShikadiLord is now known as shadowm 20130629 09:17:56-!- DHost_ [~Pcy@sc.ponchy.fr] has joined #wesnoth-dev 20130629 09:18:24-!- kex [~kex@89.205.70.185] has quit [Ping timeout: 276 seconds] 20130629 09:18:24-!- DHost [~Pcy@sc.ponchy.fr] has quit [Ping timeout: 276 seconds] 20130629 09:18:26-!- ToBeFree [~tobefree@unaffiliated/tobefree] has quit [Ping timeout: 276 seconds] 20130629 09:39:20-!- ancestral [~ancestral@75-161-180-197.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130629 09:40:01-!- Kexoth [~kex@89.205.70.185] has quit [Remote host closed the connection] 20130629 09:44:04-!- SoulOfTheInterne [~tobefree@unaffiliated/tobefree] has joined #wesnoth-dev 20130629 09:57:32-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20130629 09:58:02-!- molgrum [~molgrum@h-94-220.a230.priv.bahnhof.se] has joined #wesnoth-dev 20130629 09:59:00-!- crimson_penguin [~crimson_p@wesnoth/developer/crimsonpenguin] has quit [Excess Flood] 20130629 09:59:23-!- crimson_penguin [~crimson_p@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20130629 10:07:04-!- kex [~kex@89.205.70.185] has joined #wesnoth-dev 20130629 10:19:31< trademark_> AI0867, (or anyone), I don't understand how the validation files work, it's based on WIKI macro? For example if my validation schema is [a][/a] with the tag name mandatory, what would be in the validation file? 20130629 10:41:25-!- kex [~kex@89.205.70.185] has quit [Remote host closed the connection] 20130629 10:42:03-!- kex [~kex@89.205.70.185] has joined #wesnoth-dev 20130629 10:46:43-!- kex [~kex@89.205.70.185] has quit [Ping timeout: 260 seconds] 20130629 10:58:41-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 248 seconds] 20130629 11:03:36< trademark_> AI0867, ok, I found some examples, but where is the doc? 20130629 11:06:39-!- irker251 [~irker@ai0867.net] has joined #wesnoth-dev 20130629 11:06:39< irker251> wesnoth: Pierre T wesnoth-old:asio_campaignd cf4abaa17705 / utils/campaign_server/database/create_database.sql: Add the sql file to create the campaign server database. http://git.io/kIgOyA 20130629 11:06:41< irker251> wesnoth: Pierre T wesnoth-old:asio_campaignd d2245be3b19c / / (6 files in 6 dirs): Modify the server/connection to be based on tcp stream instead of reading buffer http://git.io/VhGnjQ 20130629 11:06:43< irker251> wesnoth: Pierre T wesnoth-old:asio_campaignd 1181e8e3aa76 / src/serialization/ (one_hierarchy_validator.cpp one_hierarchy_validator.hpp): Add a validator for a single node hierarchy, this is because our stream doesn't http://git.io/D_EmfA 20130629 11:06:45< irker251> wesnoth: Pierre T wesnoth-old:asio_campaignd 62e1bf271f7b / src/ (campaign_server/server/protocol/wml/wml_protocol.hpp serialization/parser.cpp): * Add support for the is_over method in the parser, no existing code should be b http://git.io/97P42w 20130629 11:09:38-!- bumbadadabum [~bumba@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20130629 11:12:45-!- exciton_ [chuck-the-@89.208.169.104] has quit [Read error: Connection reset by peer] 20130629 11:13:01-!- exciton [chuck-the-@89.208.169.104] has joined #wesnoth-dev 20130629 11:32:59-!- travis-ci [~travis-ci@ec2-54-224-60-106.compute-1.amazonaws.com] has joined #wesnoth-dev 20130629 11:32:59< travis-ci> [travis-ci] wesnoth/wesnoth-old#160 (asio_campaignd - 62e1bf2 : Pierre T): The build is still failing. 20130629 11:32:59< travis-ci> [travis-ci] Build details : http://travis-ci.org/wesnoth/wesnoth-old/builds/8564958 20130629 11:32:59-!- travis-ci [~travis-ci@ec2-54-224-60-106.compute-1.amazonaws.com] has left #wesnoth-dev [] 20130629 12:47:39< AI0867> trademark_: what are you trying to do? Currently, only the GUI WML is actually validated, using data/gui/schema.cfg 20130629 12:48:06< AI0867> the schema files in data/ are remnants of earlier attempts 20130629 12:54:59-!- SoulOfTheInterne is now known as ToBeFree 20130629 13:10:57-!- trewe [~trewe@87-196-194-182.net.novis.pt] has joined #wesnoth-dev 20130629 13:14:23-!- exciton [chuck-the-@89.208.169.104] has quit [Ping timeout: 240 seconds] 20130629 13:31:35-!- LordBob_ [~LordBob_@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has quit [Quit: LordBob_] 20130629 13:34:32-!- mjs-de [~mjs-de@e182033039.adsl.alicedsl.de] has joined #wesnoth-dev 20130629 14:01:50-!- EliDupree [~quassel@66-189-34-122.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20130629 14:14:57-!- Gambit [~quassel@wesnoth/developer/grickit] has joined #wesnoth-dev 20130629 14:24:36-!- H-Hour [~H-Hour@cpc7-sgyl35-2-0-cust428.18-2.cable.virginmedia.com] has joined #wesnoth-dev 20130629 14:25:01< fabi> wesbot: seen boucman? 20130629 14:25:02< wesbot> fabi: Person, who 9d 12h ago used nick boucman, last spoke 30d 20h ago. 2d 5h ago as boucman_work they left with the message: Ping timeout: 256 seconds 20130629 14:28:49-!- irker251 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20130629 14:42:20-!- DCW [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has joined #wesnoth-dev 20130629 14:57:52-!- mjs-de [~mjs-de@e182033039.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 20130629 15:03:35-!- Octalot [~noct@host86-128-74-232.range86-128.btcentralplus.com] has quit [Remote host closed the connection] 20130629 15:10:26-!- mjs-de [~mjs-de@g224191080.adsl.alicedsl.de] has joined #wesnoth-dev 20130629 15:13:28-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20130629 15:24:54-!- fabi_ [~fabi@88-134-17-207-dynip.superkabel.de] has joined #wesnoth-dev 20130629 15:24:54-!- fabi_ [~fabi@88-134-17-207-dynip.superkabel.de] has quit [Changing host] 20130629 15:24:54-!- fabi_ [~fabi@wesnoth/developer/fendrin] has joined #wesnoth-dev --- Log opened Sat Jun 29 15:47:46 2013 20130629 15:53:16-!- lobby [~wesnoth@wesnoth/bot/lobby] has joined #wesnoth-dev 20130629 15:53:16-!- Topic for #wesnoth-dev: current repo: https://github.com/wesnoth/wesnoth-old (Please read the dev-ml for the latest status!) | http://wiki.wesnoth.org/SummerOfCodeIdeas | 192 bugs, 333 feature requests, 27 patches | Logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20130629 15:53:16-!- Topic set by wesbot [~wesbot@wesnoth/bot/wesbot] [Fri Jun 28 11:37:41 2013] 20130629 15:53:16[Users #wesnoth-dev] 20130629 15:53:16[ _8680_ ] [ enchilado ] [ Laela ] [ Soliton ] 20130629 15:53:16[ AI0867 ] [ Espreon ] [ lobby ] [ timotei_ ] 20130629 15:53:16[ Alarantalara ] [ esr ] [ loonycyborg] [ ToBeFree ] 20130629 15:53:16[ apoi ] [ exciton ] [ Mara_Jade ] [ trademark_] 20130629 15:53:16[ balrog ] [ fabi_ ] [ melinath ] [ trewe ] 20130629 15:53:16[ bumbadadabum ] [ Gallaecio ] [ mjs-de ] [ Upth ] 20130629 15:53:16[ cjhopman__ ] [ Gambit ] [ molgrum ] [ Upthorn ] 20130629 15:53:16[ Crendgrim ] [ H-Hour ] [ nurupo ] [ vultraz ] 20130629 15:53:16[ crimson_penguin] [ Ingmar ] [ rei4dan ] [ wesbot ] 20130629 15:53:16[ DCW ] [ Ivanovic ] [ Rhonda ] [ yann ] 20130629 15:53:16[ DHost_ ] [ iwaim_ ] [ Samual ] [ zookeeper ] 20130629 15:53:16[ EdB ] [ jamit ] [ shadowm ] [ {V} ] 20130629 15:53:16[ ejls ] [ janebot ] [ shikadibot ] 20130629 15:53:16[ elias ] [ Jetrel_new] [ skyfaller ] 20130629 15:53:16[ EliDupree ] [ knotwork ] [ Smar ] 20130629 15:53:16-!- Irssi: #wesnoth-dev: Total of 57 nicks [0 ops, 0 halfops, 0 voices, 57 normal] 20130629 15:53:31-!- Channel #wesnoth-dev created Tue Jan 27 06:28:41 2009 20130629 15:54:44-!- Irssi: Join to #wesnoth-dev was synced in 95 secs 20130629 16:00:00-!- exciton [chuck-the-@89.208.169.104] has quit [Read error: Connection reset by peer] 20130629 16:05:15-!- exciton [chuck-the-@89.208.169.104] has joined #wesnoth-dev 20130629 16:06:01-!- exciton [chuck-the-@89.208.169.104] has quit [Read error: Connection reset by peer] 20130629 16:10:15-!- exciton [chuck-the-@89.208.169.104] has joined #wesnoth-dev 20130629 16:13:23-!- DCW [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has quit [Quit: DCW] 20130629 16:18:30-!- LordBob_ [~LordBob_@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has joined #wesnoth-dev 20130629 16:21:19< zookeeper> fabi_, any particular reason why you reported a spam thread but didn't move it to the junkyard? 20130629 16:21:24< zookeeper> just curious. 20130629 16:23:28< fabi_> zookeeper: I guessed that there is more involved like baning the writer and such. Not sure if that happens when I handle the thing myself. 20130629 16:24:31< zookeeper> moving to the junkyard is just moving to the junkyard... someone else will handle the banning and deletion of spam that gets moved there 20130629 16:57:11-!- trewe [~trewe@87-196-194-182.net.novis.pt] has quit [Read error: Connection reset by peer] 20130629 16:57:33-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has joined #wesnoth-dev 20130629 16:59:52-!- trewe [~trewe@87.196.194.182] has joined #wesnoth-dev 20130629 17:05:22-!- trewe [~trewe@87.196.194.182] has quit [Ping timeout: 264 seconds] 20130629 17:06:29< AI0867> trademark_: what are you doing that requires you to stop parsing early? Anyway, the docs should be somewhere on the wiki (validation was a previous GSoC project) and the only schema I know of is data/gui/schema.cfg 20130629 17:13:23-!- trewe [~trewe@87.196.194.182] has joined #wesnoth-dev 20130629 17:14:40-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20130629 17:38:13< trademark_> AI0867, okay, thanks. The parsing take a stream, but my stream is a network stream and doesn't finish with the traditional EOF (there are more data expected) 20130629 17:46:32-!- prkc [~negusnyul@dsl51B65D1C.pool.t-online.hu] has joined #wesnoth-dev 20130629 17:50:53-!- EdB [~edb@abo-200-11-69.bdx.modulonet.fr] has quit [Ping timeout: 252 seconds] 20130629 17:51:00-!- EdB [~edb@abo-200-11-69.bdx.modulonet.fr] has joined #wesnoth-dev 20130629 17:51:58-!- mjs-de [~mjs-de@g224191080.adsl.alicedsl.de] has quit [Remote host closed the connection] 20130629 17:55:18-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has quit [Quit: Leaving] 20130629 18:02:42< fabi_> trademark_: hi 20130629 18:03:02< fabi_> trademark_: Did mordante answer to the c++11 issue? 20130629 18:14:48-!- trewe [~trewe@87.196.194.182] has quit [Remote host closed the connection] 20130629 18:35:08< AI0867> trademark_: are you changing the protocol? Because it should consist of size-prefixed gzipped WML blobs 20130629 18:36:19< AI0867> trademark_: I just installed gcc 4.8.1 and asio_campaignd still doesn't compile for me 20130629 18:36:31< trademark_> fabi_, hi, not yet, I don't think he came 20130629 18:36:37< trademark_> AI0867, what are the errors ? 20130629 18:36:56< AI0867> I'll pastebin 20130629 18:38:13< AI0867> http://pastebin.com/YwMNS4PM 20130629 18:38:47< trademark_> AI0867, the metadata are not compressed, and even if they were, after the metadata, there are data, so the stream is not finished. And I'm not sure a network stream returns EOF a day (or if it waits for data) 20130629 18:39:45< trademark_> AI0867, what is your version of Boost? 20130629 18:40:19< AI0867> 1.49 20130629 18:40:27< AI0867> what metadata? 20130629 18:40:40< trademark_> do you compile using cmake? 20130629 18:40:42< AI0867> scons 20130629 18:41:02< trademark_> I didn't set anything for scons, I don't know much how to do it :s 20130629 18:41:13< AI0867> what did you change for cmake? 20130629 18:41:28< trademark_> I add some cpp file 20130629 18:41:33< trademark_> (mainly) 20130629 18:43:56< trademark_> what I call the metadatas are the protocol, data are the pbl file, binary data, ... everything that will be stored along with the UMC 20130629 18:48:14< trademark_> AI0867, I'm gonna modify the scons file to make it works with 20130629 18:54:32< AI0867> so, you want to split up the blob without fully parsing it? 20130629 18:54:46< AI0867> that sounds... fragile 20130629 18:54:52< trademark_> well, not all data are blobs 20130629 18:55:18< AI0867> I'm calling it a blob because it's not any other structure yet 20130629 18:55:26< trademark_> I want to parse the protocol part 20130629 18:55:33< trademark_> without the binary data (maybe compressed) that follows next 20130629 18:55:57< trademark_> that's two things different, and the data that follow or not after the protocol part are defined by the protocol. 20130629 18:56:04< trademark_> this is why we must read it first 20130629 18:57:40< trademark_> can you copy the scons command line with which you launch the build please? 20130629 18:57:55< trademark_> I don't know how to just launch the campaign server compilation 20130629 18:58:16< AI0867> scons cxxtool=g++-4.8 cxx0x=True campaignd 20130629 19:00:37< AI0867> 18:56 < trademark_> this is why we must read it first <-- why? 20130629 19:04:01< trademark_> because it's there that we know which kind of packet come after: is it a license request? An UMC download request? If it's an upload, what is the size of the data following? 20130629 19:04:05< AI0867> I mean, sure, that means you have to read the whole thing into memory in order to inspect it, but you already have the decompressed blob in memory 20130629 19:05:28< AI0867> I'm still not quite following. Are you saying you want to route the request to a specific handler without reading it? 20130629 19:05:32< trademark_> with scons, it's compiling, but not linking because the Boost.System is lacking, I'm not sure how to add it into scons because there are no examples 20130629 19:05:53< AI0867> well, commit what you have and I'll take a look at that part 20130629 19:07:09< trademark_> I'm confused too, in the protocol, the first "block" of data is some information about the packet nature. So I read it first, and then I dispatch this info + the rest of the data (if any) to a specific request handler. 20130629 19:09:05-!- irker119 [~irker@109.237.218.218] has joined #wesnoth-dev 20130629 19:09:06< irker119> wesnoth: Pierre T wesnoth-old:asio_campaignd ead2dbe109b3 / src/ (5 files in 4 dirs): Add start of support for scons, but doesn't link yet. Some minor other correctio http://git.io/qAcjGg 20130629 19:10:09< trademark_> AI0867, is it clearer? (just push scons "support"). 20130629 19:23:03< irker119> wesnoth: Pierre T wesnoth-old:asio_campaignd 7ad2b0be81e0 / src/ (CMakeLists.txt SConscript): Add one_hierarchy_validator to the scons building file. http://git.io/TXdf4g 20130629 19:25:22< AI0867> campaign_server.cpp still doesn't compile =/ 20130629 19:29:22< fabi_> AI0867: You need to compile it with c++11 20130629 19:38:45-!- travis-ci [~travis-ci@ec2-23-23-7-6.compute-1.amazonaws.com] has joined #wesnoth-dev 20130629 19:38:45< travis-ci> [travis-ci] wesnoth/wesnoth-old#161 (asio_campaignd - ead2dbe : Pierre T): The build is still failing. 20130629 19:38:45< travis-ci> [travis-ci] Build details : http://travis-ci.org/wesnoth/wesnoth-old/builds/8574079 20130629 19:38:45-!- travis-ci [~travis-ci@ec2-23-23-7-6.compute-1.amazonaws.com] has left #wesnoth-dev [] 20130629 19:52:26-!- travis-ci [~travis-ci@ec2-23-23-7-6.compute-1.amazonaws.com] has joined #wesnoth-dev 20130629 19:52:26< travis-ci> [travis-ci] wesnoth/wesnoth-old#162 (asio_campaignd - 7ad2b0b : Pierre T): The build is still failing. 20130629 19:52:26< travis-ci> [travis-ci] Build details : http://travis-ci.org/wesnoth/wesnoth-old/builds/8574502 20130629 19:52:26-!- travis-ci [~travis-ci@ec2-23-23-7-6.compute-1.amazonaws.com] has left #wesnoth-dev [] 20130629 19:55:58-!- boucman_work [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20130629 19:56:10< trademark_> AI0867, that's strange, did you try with cmake? 20130629 19:56:22< trademark_> (just want to be sure that's a scons problem) 20130629 20:00:45-!- kex [~kex@89.205.70.185] has joined #wesnoth-dev 20130629 20:20:44-!- EdB [~edb@abo-200-11-69.bdx.modulonet.fr] has quit [Quit: Konversation terminated!] 20130629 20:26:58-!- EdB [~edb@abo-200-11-69.bdx.modulonet.fr] has joined #wesnoth-dev 20130629 20:40:11< fabi_> boucman_work: ping 20130629 20:40:26< loonycyborg> I can't view that travis log. The viewer is really laggy and buggy 20130629 20:41:29< loonycyborg> Is there a way to get plain text? 20130629 20:45:25< loonycyborg> trademark_: Anyway, that's definitely some code problem. both -std=c++0x and -DHAVE_CXX0X are passed 20130629 20:47:28< boucman_work> fabi_: pong 20130629 20:47:44< fabi_> boucman_work: We need your help with something unit drawing related. 20130629 20:48:10< boucman_work> i'm not at home, i'm on vacation, so my help can only be limited, what is the problem ? 20130629 20:48:43< fabi_> boucman_work: There is new artwork for orbs and crowns but both is not redrawn under certain circumstances. 20130629 20:49:09< boucman_work> do you know what circumstances ? 20130629 20:49:34< fabi_> Animated units draw fine, those lifted by the terrain are no problem as well. 20130629 20:50:03< boucman_work> ok, I have an idea what's going on.. 20130629 20:50:15< boucman_work> does the orb/crown fit in the hex ? 20130629 20:50:20< fabi_> Not any more. 20130629 20:50:28< boucman_work> ok, that's the problem 20130629 20:50:44< fabi_> We are pretty much aware of that. 20130629 20:50:49< boucman_work> and I guess that we can't get the artists to fit them back in :P 20130629 20:50:58< fabi_> The question is: Can it be fixed? 20130629 20:51:05-!- DCW [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has joined #wesnoth-dev 20130629 20:51:25< boucman_work> yeah, easily, by getting rid of one of the huge drawing optimisation we have in the code... 20130629 20:52:05< boucman_work> basically when a unit fits perfectly in its hex we optimize out all of the checks for neighbouring hexes and assume it doesn't influence its neighbours at all 20130629 20:52:05< fabi_> LordBob_: ^ 20130629 20:52:05-!- DCW [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has quit [Read error: Connection reset by peer] 20130629 20:52:20-!- DCW2 [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has joined #wesnoth-dev 20130629 20:52:39< boucman_work> so by having orbs out of the main hex you can trigger chain redraws that wouldn't happen if it fit in hex 20130629 20:53:13 * LordBob_ sighs 20130629 20:53:50< boucman_work> since it's the orb, there might be some possible optimisations (hard coding that it can only overlap the upper right hex) but that's a bit of code to do and it will still be less optimal from a perf point of view 20130629 20:54:31< fabi_> I see. 20130629 20:54:41< boucman_work> LordBob_: sorry about that... that sort of stuff and compromises were heavily discussed with jetrel when we did the big unit engine overhaul before you joined 20130629 20:54:57< fabi_> It sounds like the best solution is just to lower the orb and crown a little. 20130629 20:55:39< boucman_work> if it's only a couple of pixels, yes 20130629 20:55:46< LordBob_> boucman_work: It's frustrating, but perfectly logic. 20130629 20:56:12< boucman_work> yeah... compromises are always ugly... 20130629 20:56:24< boucman_work> LordBob_: did you ever play with the :sunset command in debug mode ? 20130629 20:56:49< LordBob_> Hmm... Nope. What's it supposed to do ? 20130629 20:57:01< boucman_work> that's a great visual way to undersand the redrawing problem in general 20130629 20:57:34< boucman_work> after each screen redraws it will add a small layer of grey over the whole screen 20130629 20:57:35< LordBob_> I'll give it a try, then 20130629 20:57:47< boucman_work> so hexes will get darker and darker until they get redrawn 20130629 20:58:09< boucman_work> you easily see how many hexes redraw are triggered by animations 20130629 20:58:11-!- DCW2 [~Thunderbi@cpc1-finc14-2-0-cust12.4-2.cable.virginmedia.com] has quit [Quit: DCW2] 20130629 20:58:25< boucman_work> minimizing that is critical for perf reasons 20130629 20:58:30< LordBob_> Sounds like a very useful tool indeed 20130629 20:58:34< boucman_work> play with it a little, it's really interesting 20130629 20:58:52< boucman_work> LordBob_: yeah, that's one of my most important tools when debubgging redraw problems 20130629 21:00:02< boucman_work> bbiam 20130629 21:00:11< LordBob_> Actually, this puzzles me a bit. How do we manage to still have perf problems with present day computers ? It's not ike we're asking a ton of 3D rendring and such. 20130629 21:00:34< LordBob_> I can understand that smaller systems such as mobiles and tablets have those. But even PCs ? 20130629 21:00:58< LordBob_> (out of curiosity) 20130629 21:01:00< boucman_work> two answers 20130629 21:01:14< boucman_work> 1) we don't do graphic accelerations, everything is on CPU 20130629 21:01:53< boucman_work> 2) we do have low perf users (people with very old PC that have very few games they can still play, mobile phones etc...) 20130629 21:02:48< LordBob_> Ok. Thanks for the explanation. I'll take care of those icons, then 20130629 21:03:01< boucman_work> and even if modern day computers give us some headroom, we should always stay a bit carefull about perf, the simple change of having out of hex orbs means that the most common redraw (the unit alone in its hex) would double its cost 20130629 21:03:18< boucman_work> ok, thx 20130629 21:13:41-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has joined #wesnoth-dev 20130629 21:14:18-!- R2D2C3PO [57a17a96@gateway/web/freenode/ip.87.161.122.150] has joined #wesnoth-dev 20130629 21:20:58< AI0867> 19:29 < fabi_> AI0867: You need to compile it with c++11 <-- obviously, which is also why I installed g++-4.8 20130629 21:22:13-!- A_Guy [~chatzilla@50.14.231.118] has joined #wesnoth-dev 20130629 21:22:15< AI0867> loonycyborg: URLs of this type work: https://api.travis-ci.org/jobs/8574503/log.txt?deansi=true 20130629 21:22:32< A_Guy> Hey, guys, what's the difference between append and merge in [set_variables]? 20130629 21:23:11< AI0867> with merge, matching tags are merged 20130629 21:23:43< A_Guy> Oh, I think I get it. 20130629 21:24:14< A_Guy> So if I wanted to copy an array of variables into another variable, all keys included, I'd use [split]? 20130629 21:24:27< A_Guy> ...wait. 20130629 21:24:35< A_Guy> I don't think that'd work. 20130629 21:24:38< A_Guy> That's for text. 20130629 21:25:53< A_Guy> Oh, I got it. 20130629 21:25:59< A_Guy> I use [set_variable] to_variable= 20130629 21:27:51< A_Guy> ...but then how would I append it to an existing variable based on the amount of []? 20130629 21:30:28-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Quit: Leaving.] 20130629 21:30:36< A_Guy> I could have the name be name[$i] where i is what's in the foreach macro 20130629 21:31:23< zookeeper> i have no idea what you want 20130629 21:33:21< trademark_> AI0867, did you try with cmake? Would like to be sure it works on another computer than mine... 20130629 21:34:03< trademark_> loonycyborg, travis use gcc 4.6 and it doesn't implements all c++11 features, and that's why it fails. 20130629 21:34:32< loonycyborg> It doesn't matter. Only compiler command line matters :P 20130629 21:44:42< AI0867> trademark_: sure, that's why it fails, but it's the same error I get on 4.8.1 20130629 21:45:11< AI0867> that is, it probably wouldn't work anyway, but that error is not caused by a too-old gcc version 20130629 21:52:44-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20130629 21:54:01-!- thunderstruck [~thunderst@cpc5-sgyl29-2-0-cust174.sgyl.cable.virginmedia.com] has quit [Quit: Leaving] 20130629 21:54:47-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has joined #wesnoth-dev 20130629 21:58:40< trademark_> did you try with cmake? 20130629 21:59:52< AI0867> not yet. The drive my clone is on is a little full 20130629 22:00:11< AI0867> and I don't want to pollute my clone with cmake stuff 20130629 22:01:02< AI0867> now cloning to /tmp 20130629 22:09:27-!- LordBob_ [~LordBob_@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has quit [Quit: LordBob_] 20130629 22:20:28-!- LordBob_ [~LordBob_@2a01:e34:ee82:47e0:21e:c2ff:fe01:261f] has joined #wesnoth-dev 20130629 22:28:42-!- Alarantalara [~Adium@CPEc0c1c09e8055-CM00252eac6d62.cpe.net.cable.rogers.com] has quit [Quit: Leaving.] 20130629 22:35:23< AI0867> trademark_: how to build campaignd using cmake? 20130629 22:35:51< trademark_> AI0867, you create a tmp repo at the root project: mkdir cmake_build_dir 20130629 22:35:56< trademark_> you go in.. 20130629 22:36:01< trademark_> cmake ../ 20130629 22:36:05< trademark_> and make campaignd 20130629 22:36:16< AI0867> $ make campaignd 20130629 22:36:16< AI0867> make: *** No rule to make target `campaignd'. Stop. 20130629 22:37:47-!- love1cat [~Adium@c-67-189-150-164.hsd1.ct.comcast.net] has joined #wesnoth-dev 20130629 22:38:39< trademark_> do ccmake . and put at "on" the ENABLE_CAMPAIGN_SERVER var 20130629 22:38:54< trademark_> you switch it with enter 20130629 22:39:17< trademark_> then 'c', and 'g' 20130629 22:41:21< trademark_> wesbot, seen mordante? 20130629 22:41:23< wesbot> trademark_: The person with the nick mordante last spoke 4d ago. 4d ago was here and on the channel #wesnoth-de with the message: Quit: Leaving 20130629 22:47:34-!- EdB [~edb@abo-200-11-69.bdx.modulonet.fr] has quit [Quit: Konversation terminated!] 20130629 22:59:42-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: Trallala] 20130629 23:06:15< AI0867> trademark_: I do not have a ccmake program 20130629 23:10:41-!- A_Guy [~chatzilla@50.14.231.118] has quit [Quit: ChatZilla 0.9.90 [Firefox 22.0/20130618035212]] 20130629 23:17:03< trademark_> AI0867, ho yep it's the gui, do cmake -D ENABLE_CAMPAIGN_SERVER:bool=on . 20130629 23:17:25< trademark_> after that the target campaignd should be available 20130629 23:20:51-!- mattsc [~mattsc@d154-20-34-165.bchsia.telus.net] has quit [Quit: ttyl] 20130629 23:29:28< AI0867> er, and how do I change my compiler? g++-4.8 is not installed as 'g++' 20130629 23:40:02-!- BatmanGambit [~quassel@wesnoth/developer/grickit] has joined #wesnoth-dev 20130629 23:41:37-!- Gambit [~quassel@wesnoth/developer/grickit] has quit [Ping timeout: 268 seconds] 20130629 23:44:24< trademark_> AI0867, idk, I did "ln -s usr/local/bin/g++-4.8 usr/bin/g++" or something similar depending on where you installed g++4.8 --- Log closed Sun Jun 30 00:00:41 2013