--- Log opened Thu Jun 10 00:00:09 2010 20100610 00:00:22< gabba> boucman: I guess it's ok if I get it working in a hackish way though, and clean up once I have a better overview of how things work? 20100610 00:01:27< Espreon> boucman: Oh, LOL, sorry, I thought you said something to me that you actually said to gabba. 20100610 00:01:31< boucman> gabba: I think this is actually the best way to learn some unknown code 20100610 00:02:09< gabba> Espreon: no, you MUST refactor your buttons :P 20100610 00:02:38-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20100610 00:03:12< gabba> boucman: alright 20100610 00:03:16< Espreon> Nooooooo! 20100610 00:03:22-!- Blueblaze [~nick@adsl-76-202-16-236.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 260 seconds] 20100610 00:04:31< gabba> boucman: so, I'll get coding my (ugly) arrows. In the meanwhile, if you have any comments on yesterday's commits... 20100610 00:07:27< boucman> no, not much to add... 20100610 00:07:32< gabba> boucman: oh, also, I think I'm gonna change the temporary_unit_mover and friends to keep copies of the map_locations... using references to save copying a struct with two ints doesn't make sense 20100610 00:07:34< shadowmaster> Espreon: I don't like it 20100610 00:07:40< shadowmaster> it's just as bad as what was before 20100610 00:07:51< shadowmaster> *was there 20100610 00:08:08< boucman> gabba: ok, sounds fine. Lots of places keep copies of locations... 20100610 00:08:13< shadowmaster> I'd like arrows similar to those used by Windows (Marlett font) 20100610 00:08:21< shadowmaster> not real arrows 20100610 00:09:14< gabba> shadowmaster, Espreon: random idea for this, you could alternatively steal the buttons from the replay controls... 20100610 00:09:18< shadowmaster> either that or Clearlooks-style V arrows 20100610 00:09:20< Espreon> shadowmaster: Pics please. 20100610 00:09:35< shadowmaster> no 20100610 00:09:39< Espreon> Exacrlt. 20100610 00:09:42< Espreon> *Exactly 20100610 00:18:28< boucman> night all 20100610 00:18:39-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Quit: Leaving.] 20100610 00:18:40< Espreon> Goodnight. 20100610 00:20:03< CIA-86> espreon * r43248 /trunk/data/core/ (48 files in 5 dirs): Ran umcpropfix. 20100610 00:21:10< Espreon> CRAP! 20100610 00:21:13< CIA-86> espreon * r43249 /trunk/data/campaigns/ (12 files in 3 dirs): Ran umcpropfix. 20100610 00:21:29< shadowmaster> Espreon: what happened now? 20100610 00:22:14< Espreon> shadowmaster: I accidentally committed the effects of an unfinished rampage. 20100610 00:22:27 * Espreon is working on reverting it. 20100610 00:22:46< Espreon> Luckily, only one file was involved. 20100610 00:23:18< Espreon> Uh, two actually. 20100610 00:26:13< CIA-86> espreon * r43250 /trunk/data/campaigns/ (2 files in 2 dirs): Reverted the effects of an unfinished Typography Tyrant rampage. 20100610 00:28:53< CIA-86> espreon * r43251 /trunk/data/campaigns/The_South_Guard/images/units/ (10 files): 20100610 00:28:53< CIA-86> Ran wesnoth-optipng: 20100610 00:28:53< CIA-86> Overall statistics (only for files with a smaller recompressed size): 20100610 00:28:53< CIA-86> Original size: 82 KiB on 10 files 20100610 00:28:53< CIA-86> Optimized size: 37 KiB 20100610 00:28:54< CIA-86> Total saving: 45 KiB = 54% decrease 20100610 00:33:39< CIA-86> espreon * r43252 /trunk/data/core/images/portraits/orcs/ (5 files in 2 dirs): 20100610 00:33:39< CIA-86> Ran wesnoth-optipng: 20100610 00:33:39< CIA-86> Overall statistics (only for files with a smaller recompressed size): 20100610 00:33:39< CIA-86> Original size: 833 KiB on 5 files 20100610 00:33:39< CIA-86> Optimized size: 795 KiB 20100610 00:33:40< CIA-86> Total saving: 37 KiB = 4% decrease 20100610 00:35:34< CIA-86> espreon * r43253 /trunk/data/core/images/units/drakes/ (30 files): 20100610 00:35:34< CIA-86> Ran wesnoth-optipng: 20100610 00:35:34< CIA-86> Overall statistics (only for files with a smaller recompressed size): 20100610 00:35:34< CIA-86> Original size: 143 KiB on 30 files 20100610 00:35:34< CIA-86> Optimized size: 66 KiB 20100610 00:35:34< CIA-86> Total saving: 77 KiB = 53% decrease 20100610 00:38:48-!- shadowm_laptop is now known as shadowm2 20100610 00:40:01 * Espreon disappears... 20100610 00:41:00-!- _jbx_ [~jbailey@12.190.80.225] has quit [Quit: Dig that hole, forget the sun.] 20100610 00:41:37-!- shadowm2 is now known as shadowm_laptop 20100610 01:13:15-!- phlaem [~a@e178090083.adsl.alicedsl.de] has quit [Quit: Leaving] 20100610 01:36:25-!- ETAU [~chatzilla@adsl-99-37-111-185.dsl.pltn13.sbcglobal.net] has joined #wesnoth-dev 20100610 01:36:32< ETAU> hi! 20100610 01:36:54< shadowmaster> please don't tell me that you'll leave if we don't say "hi" too 20100610 01:37:06< shadowmaster> I'm tired of seeing people do that, it's frustrating 20100610 01:37:07< ETAU> I wont 20100610 01:37:15< shadowmaster> okay okay, I'll say hi 20100610 01:37:20< shadowmaster> hi there! 20100610 01:37:29< ETAU> hey, I have a question 20100610 01:37:32< ABCD> to quote from the /topic on another channel "PLEASE BE PATIENT don't ask and quit, we don't live here" 20100610 01:37:51< Valkier> I live here. 20100610 01:40:15< ETAU> how do I find the command-lind output on a mac? 20100610 01:43:17< ETAU> can anyone help me? 20100610 01:43:45< shadowmaster> crimson_penguin: ^ 20100610 01:43:57< ETAU> ? 20100610 01:44:11< ETAU> I like penguins...but crimson? 20100610 01:44:28< Valkier> I think he is asking someone in the chat named crimson_penguin to try to help you... 20100610 01:44:30< shadowmaster> ETAU: he's the Mac OS X packager, hence I'm summoning him to see if he can help you 20100610 01:44:45< ETAU> oh 20100610 01:46:28< ETAU> crimson_penguin, can you help me? 20100610 01:46:55< ETAU> how come there are so many people here but no one ever talks? 20100610 01:47:07< shadowmaster> 19:37:33 to quote from the /topic on another channel "PLEASE BE PATIENT don't ask and quit, we don't live here" 20100610 01:47:18< shadowmaster> in other words, we are not always on our computers 20100610 01:47:42< ETAU> yeah, but there are so many people here 20100610 01:47:48< shadowmaster> (you know, bathroom, dinner, girlfriend, gym, real life, etc.) 20100610 01:48:07< shadowmaster> these people leave their IRC clients connected and usually set an away message to reflect their status 20100610 01:48:12< ETAU> wait, it keeps you online even if your gone 20100610 01:48:23< ETAU> oh 20100610 01:49:42< crimson_penguin> ETAU: you can ctrl+click on the .app, Show Package Contents > Contents/MacOS, open Wesnoth 20100610 01:50:45< ETAU> thank you 20100610 01:51:26< Valkier> I like ti imagine our talks are like if immortal celestial beings were talking. Our conversations span time frames unimaginable to normal functioning individuals. 20100610 02:04:54-!- DesertPanther__ [~Khalid@41.235.5.10] has quit [Quit: Leaving] 20100610 02:25:39-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz] 20100610 02:26:15-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20100610 02:30:50-!- Blueblaze [~nick@adsl-76-202-16-236.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100610 02:36:02-!- k23z__ [~k23z__@188.26.48.142] has quit [Ping timeout: 245 seconds] 20100610 02:37:26< knotwork_> Valkier: :) 20100610 02:58:07-!- fakedrake [~fakedrake@ppp-94-64-200-151.home.otenet.gr] has quit [Remote host closed the connection] 20100610 03:01:15< ETAU> :) 20100610 03:01:42< Valkier> Wha? 20100610 03:02:59< Espreon> Hwæ? 20100610 03:10:30-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100610 03:21:09-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 258 seconds] 20100610 03:48:47-!- un214 [~quassel@adsl-75-45-4-19.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20100610 03:50:45-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Read error: Operation timed out] 20100610 03:50:59-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20100610 03:59:01-!- wesbot changed the topic of #wesnoth-dev to: 122 bugs, 281 feature requests, 15 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100610 04:07:02-!- un214 [~quassel@adsl-75-45-4-19.dsl.scrm01.sbcglobal.net] has quit [Remote host closed the connection] 20100610 04:08:20-!- un214 [~quassel@75.45.4.19] has joined #wesnoth-dev 20100610 04:26:56-!- un214 [~quassel@75.45.4.19] has quit [Remote host closed the connection] 20100610 04:30:40-!- un214 [~quassel@adsl-75-45-4-19.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20100610 04:38:24-!- Ivanovic_ [~ivanovic@dtmd-4db2a8ef.pool.mediaWays.net] has joined #wesnoth-dev 20100610 04:39:36-!- un214 [~quassel@adsl-75-45-4-19.dsl.scrm01.sbcglobal.net] has quit [Remote host closed the connection] 20100610 04:41:15-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 248 seconds] 20100610 04:42:23-!- Ivanovic_ is now known as Ivanovic 20100610 04:42:58-!- meric [~Eric@124-168-155-11.dyn.iinet.net.au] has joined #wesnoth-dev 20100610 04:43:59-!- un214 [~quassel@adsl-75-45-4-19.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20100610 04:46:44-!- un214 [~quassel@adsl-75-45-4-19.dsl.scrm01.sbcglobal.net] has quit [Remote host closed the connection] 20100610 04:58:56< CIA-86> gabba * r43254 /trunk/src/whiteboard/ (manager.cpp move.cpp): Whiteboard: debug statements 20100610 04:59:06< CIA-86> gabba * r43255 /trunk/src/unit.hpp: 20100610 04:59:06< CIA-86> Made temporary_unit_mover and temporary_unit_placer make copies of map_locations 20100610 04:59:06< CIA-86> instead of keeping references. 20100610 04:59:16< CIA-86> gabba * r43256 /trunk/images/arrows/ (38 files): Arrows: prototype images 20100610 04:59:23< CIA-86> gabba * r43257 /trunk/src/whiteboard/action.hpp: Whiteboard: correction to logger defines. 20100610 04:59:32< CIA-86> gabba * r43258 /trunk/ (5 files in 2 dirs): Arrows: they now look like arrows, with proper placement of images. 20100610 05:01:44< Espreon> gabba: Did you run wesnoth-optipng beforehand? 20100610 05:02:22< gabba> Espreon: nope, didn't do that. How am I supposed to use it? 20100610 05:02:38< gabba> i.e. any command line args... etc.? 20100610 05:02:47< Espreon> wesnoth-optipng --help ;) 20100610 05:03:26< Espreon> I am not sure if the help text mentions what I'm about to say, but you can give it a file pattern. 20100610 05:03:44< shadowmaster> you know, Ivanovic runs wesnoth-optipng himself from time to time 20100610 05:03:52< shadowmaster> so you aren't required to do it yourself 20100610 05:04:02< Espreon> But... the diffs... 20100610 05:04:12< Espreon> ... *beforehand* 20100610 05:04:16< Espreon> Stuff... 20100610 05:04:27< shadowmaster> what I said. 20100610 05:05:16< Espreon> But still... 20100610 05:05:20< gabba> ok, so what's the official word? Better to let Ivanovic batch-optimize those? 20100610 05:05:29< Espreon> Suit yourself. 20100610 05:06:35< gabba> I'll know it for next time, thanks Espreon 20100610 05:07:47< Espreon> You are welcome. 20100610 05:08:26-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Quit: Hi! I'm a quit message virus vaccine. If you see a quit message virus, don't replace your quit message with it!] 20100610 05:20:03-!- Gambit [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has quit [Remote host closed the connection] 20100610 05:34:35-!- Valkier [~IceChat7@c-174-55-104-2.hsd1.pa.comcast.net] has quit [Quit: He who laughs last, thinks slowest] 20100610 05:40:10-!- gabba [~gabba@wesnoth/developer/gabba] has left #wesnoth-dev [] 20100610 05:45:48-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Quit: crimson_penguin] 20100610 05:53:00-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20100610 06:28:50-!- Crab_ [~Crab@wesnoth/developer/crab] has joined #wesnoth-dev 20100610 07:22:30-!- meric [~Eric@124-168-155-11.dyn.iinet.net.au] has quit [Read error: Connection reset by peer] 20100610 07:22:52-!- meric [~Eric@203-214-149-176.perm.iinet.net.au] has joined #wesnoth-dev 20100610 08:07:09-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100610 08:15:04-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20100610 08:29:42-!- meric [~Eric@203-214-149-176.perm.iinet.net.au] has quit [Read error: Connection reset by peer] 20100610 08:30:05-!- meric [~Eric@124-168-165-203.dyn.iinet.net.au] has joined #wesnoth-dev 20100610 08:41:47-!- ETAU [~chatzilla@adsl-99-37-111-185.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 248 seconds] 20100610 09:05:38-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has quit [Ping timeout: 260 seconds] 20100610 09:08:49-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: You are doing it right!] 20100610 09:16:48-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100610 09:18:22-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has joined #wesnoth-dev 20100610 09:23:23-!- Ivanovic [~ivanovic@dtmd-4db2a8ef.pool.mediaWays.net] has quit [Ping timeout: 248 seconds] 20100610 09:24:20-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Remote host closed the connection] 20100610 09:25:52-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100610 09:30:33-!- Ivanovic [~ivanovic@dtmd-4db2de53.pool.mediaWays.net] has joined #wesnoth-dev 20100610 09:32:04-!- Ivanovic [~ivanovic@dtmd-4db2de53.pool.mediaWays.net] has quit [Excess Flood] 20100610 09:33:18-!- knotwork_ [~markm@142.177.234.179] has quit [Read error: Operation timed out] 20100610 09:40:48-!- Ivanovic [~ivanovic@dtmd-4db2edce.pool.mediaWays.net] has joined #wesnoth-dev 20100610 09:41:42-!- Ivanovic [~ivanovic@dtmd-4db2edce.pool.mediaWays.net] has quit [Changing host] 20100610 09:41:42-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20100610 09:43:03< Ivanovic> moin 20100610 09:44:12< Rhonda> ah. 20100610 09:46:19-!- Blueblaze [~nick@adsl-76-202-16-236.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 248 seconds] 20100610 09:52:00-!- Appleman1234 [~Appleman1@131.181.101.190] has joined #wesnoth-dev 20100610 10:01:33-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 276 seconds] 20100610 10:03:57-!- Ivanovic [~ivanovic@dtmd-4db2edce.pool.mediaWays.net] has joined #wesnoth-dev 20100610 10:04:21-!- Ivanovic [~ivanovic@dtmd-4db2edce.pool.mediaWays.net] has quit [Changing host] 20100610 10:04:21-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20100610 10:08:38-!- knotwork [~markm@142.177.232.37] has joined #wesnoth-dev 20100610 10:11:51-!- mjs-de [~mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20100610 10:29:48-!- meric [~Eric@124-168-165-203.dyn.iinet.net.au] has quit [Quit: meric] 20100610 11:02:46-!- Appleman1234 [~Appleman1@131.181.101.190] has quit [Ping timeout: 240 seconds] 20100610 11:23:03-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100610 11:24:23-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20100610 11:25:23-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-dev 20100610 11:30:26-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100610 11:59:14-!- Crab_ [~Crab@wesnoth/developer/crab] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org] 20100610 12:00:19-!- k23z__ [~k23z__@188.26.49.35] has joined #wesnoth-dev 20100610 12:23:22-!- euschn [~eugen@wesnoth/developer/euschn] has joined #wesnoth-dev 20100610 12:41:46-!- Appleman1234 [~Appleman1@CPE-60-226-180-71.qld.bigpond.net.au] has joined #wesnoth-dev 20100610 13:16:09-!- meric [~Eric@124-168-165-203.dyn.iinet.net.au] has joined #wesnoth-dev 20100610 13:49:12-!- Ken_Oh [~briang@static-71-178-174-220.washdc.fios.verizon.net] has joined #wesnoth-dev 20100610 13:50:09-!- euschn [~eugen@wesnoth/developer/euschn] has quit [Quit: Leaving.] 20100610 14:02:02-!- isaac_ is now known as isaac 20100610 14:02:05-!- isaac [~isaac@heal.cauterized.net] has quit [Changing host] 20100610 14:02:05-!- isaac [~isaac@debian/developer/isaac] has joined #wesnoth-dev 20100610 14:11:06-!- shadowm_laptop [~ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100610 14:21:19-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100610 14:31:44-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100610 14:47:13-!- Gambit [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100610 14:48:08-!- Appleman1234 [~Appleman1@CPE-60-226-180-71.qld.bigpond.net.au] has quit [Quit: Leaving] 20100610 14:51:02-!- shadowm_laptop [~ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 245 seconds] 20100610 15:19:49-!- Greywhind [~Greywhind@greywhind-sabayon.brown.edu] has joined #wesnoth-dev 20100610 15:20:27-!- Greywhind [~Greywhind@greywhind-sabayon.brown.edu] has quit [Client Quit] 20100610 15:20:49-!- Greywhind [~Greywhind@greywhind-sabayon.brown.edu] has joined #wesnoth-dev 20100610 15:32:42-!- k23z__ [~k23z__@188.26.49.35] has quit [Ping timeout: 245 seconds] 20100610 16:31:48-!- k23z__ [~k23z__@188.26.49.26] has joined #wesnoth-dev 20100610 16:34:33-!- Johannes13 [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100610 16:42:20-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20100610 16:42:31< CIA-86> thespaceinvader * r43259 /trunk/ (32 files in 3 dirs): Add and wire new animations for Drake Flameheart. Update changelogs. 20100610 16:45:04< Elvish_Pillager> by the way, can you include files from a .pbl file? 20100610 16:55:24< zookeeper> no idea 20100610 16:55:28< zookeeper> most likely not 20100610 17:08:37-!- _jbx_ [~jbailey@12.190.80.225] has joined #wesnoth-dev 20100610 17:21:13-!- crimson_penguin [~ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20100610 17:30:14-!- meric [~Eric@124-168-165-203.dyn.iinet.net.au] has quit [Quit: meric] 20100610 17:41:37-!- esr [~chatzilla@static-71-162-243-5.phlapa.fios.verizon.net] has joined #wesnoth-dev 20100610 17:42:05-!- esr [~chatzilla@static-71-162-243-5.phlapa.fios.verizon.net] has quit [Changing host] 20100610 17:42:05-!- esr [~chatzilla@wesnoth/developer/esr] has joined #wesnoth-dev 20100610 17:45:18-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100610 18:43:15-!- k23z__ [~k23z__@188.26.49.26] has quit [Ping timeout: 260 seconds] 20100610 18:50:51-!- k23z__ [~k23z__@188.26.60.54] has joined #wesnoth-dev 20100610 18:55:19-!- billynux [~billy@wesnoth/developer/billynux] has quit [Quit: Leaving] 20100610 18:57:29-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20100610 18:59:24< [Relic]> Hello :) 20100610 19:08:32-!- Crab_ [~Crab_@wesnoth/developer/crab] has joined #wesnoth-dev 20100610 19:09:45-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Ping timeout: 240 seconds] 20100610 19:21:52< Crab_> shadowmaster: a small offtopic question - what do you think about phpbb ? would you recommend it as a forum engine or not ? 20100610 19:22:48-!- k23z__ [~k23z__@188.26.60.54] has quit [Ping timeout: 260 seconds] 20100610 19:26:45-!- billynux [~c8078d05@wesnoth/developer/billynux] has joined #wesnoth-dev 20100610 19:27:48-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100610 19:45:47-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Remote host closed the connection] 20100610 19:51:49-!- Lastmerlin [~Lastmerli@kalypso.csn.tu-chemnitz.de] has joined #wesnoth-dev 20100610 20:15:09-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100610 20:19:38-!- billynux [~c8078d05@wesnoth/developer/billynux] has quit [Ping timeout: 252 seconds] 20100610 20:20:49-!- Blueblaze [~nick@adsl-76-202-16-236.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100610 20:23:31-!- billynux [~c8078d05@wesnoth/developer/billynux] has joined #wesnoth-dev 20100610 20:29:27< billynux> hi all, anyone know how to add an optional target to CMake? (so I can do "make apps" as optional) 20100610 20:30:13< Crab_> billynux: see how ENABLE_NLS is used 20100610 20:32:08< billynux> ok 20100610 20:32:12< billynux> thx 20100610 20:32:30-!- mordante [~mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20100610 20:32:40< billynux> hi mordante 20100610 20:32:42< mordante> servus 20100610 20:32:46< mordante> hi billynux 20100610 20:33:29< billynux> Crab_: I'm using it exactly like that, but its not working :( 20100610 20:33:38< mordante> billynux, pastebin your code 20100610 20:33:45< billynux> mordante: I removed MiLi as a compile dependency (but added serialization to ana) 20100610 20:33:57< mordante> billynux, ok nice 20100610 20:34:17< billynux> mordante: And I'm now configuring the CMake files -> I modified the directory structure 20100610 20:34:39< mordante> yeah I just finished the log 20100610 20:38:31< billynux> there it went... the apps option isn't working 20100610 20:38:37< CIA-86> billynux * r43260 /trunk/src/ana/ (40 files in 8 dirs): Modified the ana directory structure, added serialization and cleaned up cmake files. 20100610 20:39:01-!- Blueblaze [~nick@adsl-76-202-16-236.dsl.hstntx.sbcglobal.net] has quit [Ping timeout: 264 seconds] 20100610 20:41:03 * billynux forgot to propset binary_streams.hpp 20100610 20:43:45< billynux> Crab_ / mordante : the apps option @ http://svn.gna.org/viewcvs/wesnoth/trunk/src/ana/CMakeLists.txt is not working 20100610 20:44:02< mordante> billynux, just updated git-svn looking now 20100610 20:44:10< billynux> good 20100610 20:46:52< mordante> billynux, how is it supposed to work and what fails? 20100610 20:47:26< billynux> I expect that make apps would build the apps. And I get make: *** No rule to make target `apps'. Stop. 20100610 20:47:33< mordante> the apps dir is always included due to line 7 20100610 20:47:49< billynux> I know... that is a temporary work-around... 20100610 20:48:47-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has quit [Ping timeout: 260 seconds] 20100610 20:49:10< billynux> make install -> install the library and headers; make apps should build the chat server/client apps 20100610 20:49:35< mordante> billynux, when I run cmake I get an error that it can't find the ana library... 20100610 20:49:58< mordante> cmake on the src/ana directory 20100610 20:50:41< billynux> I see, that is because make tries to build the apps before installing the lib 20100610 20:51:31< billynux> to build the apps you need the library + headers installed 20100610 20:52:24< mordante> that's wrong, it needs to build the library and then use that library to build the examples 20100610 20:52:45< mordante> if you want people to test your library they shouldn't be forced to install it 20100610 20:53:14< mordante> besides you want the examples linked to the `right' version if multiple versions are around 20100610 20:53:48< billynux> Ok... so... examples should include/link from a relative path and not look for the installed version 20100610 20:53:59< billynux> mordante: I still want the building of the apps to be optional ;) 20100610 20:54:06< billynux> but you are right on that one 20100610 20:54:36< billynux> (I'll remove the getopt_pp option later) 20100610 20:55:09< mordante> I understand that, but at the moment I've a hard time to bootstrap the library 20100610 20:55:43< mordante> indeed would be nice to have that dependency removed as well 20100610 20:57:02< billynux> now... I'm trying to see how I would go about linking to the just-compiled library... 20100610 20:57:35< billynux> mordante: I can't find_file ( ANA ../../build/libana.so ) because it could have been built elsewhere 20100610 21:03:36< mordante> billynux, it's normally build in the CMAKE_LIBRARY_OUTPUT_DIRECTORY directory 20100610 21:04:05-!- gabba [~gabba@wesnoth/developer/gabba] has joined #wesnoth-dev 20100610 21:04:13< mordante> but the apps flag seems to work for me if I disable line 7 I can run cmake without problems, when I then enable the apps I get the errors again 20100610 21:04:14< gabba> Hi 20100610 21:04:19< mordante> bonjour gabba 20100610 21:04:28< gabba> bonjour mordante 20100610 21:04:38< billynux> bonjour gabba auss 20100610 21:04:41< billynux> *aussi 20100610 21:04:50< gabba> hey billynux 20100610 21:04:58< billynux> mordante: so... make apps works for you? 20100610 21:05:53< mordante> no but the cmake enable option works 20100610 21:06:21< mordante> I don't have getoptpp installed 20100610 21:07:09< billynux> mordante: getopt_pp.googlecode.com && make install && make install_headers. How do you use the cmake enable option? 20100610 21:07:53< mordante> if I disable line 7 and then start ccmake /path/to/ana it shows the apps option 20100610 21:08:20< billynux> ok, how do you enable it from command line? 20100610 21:09:49< mordante> ccmake -DAPPS=ON /path/to/ana (or maybe apps) 20100610 21:10:02< mordante> s/ccmake/cmake/ 20100610 21:10:45-!- Gambit [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has quit [Ping timeout: 240 seconds] 20100610 21:11:25< billynux> I tried that it doesn't work (for me at least) 20100610 21:11:37< mordante> just tested should be lowercase 20100610 21:11:41< billynux> ok, -Dapps does 20100610 21:12:12< mordante> I looked at the Wesnoth options and they are all uppercase ;-) 20100610 21:12:17< billynux> :) 20100610 21:13:08 * billynux is listenting to a choir of UPSs -> Power busted 20100610 21:13:39 * mordante listens to a concert on the radio 20100610 21:14:03< mordante> and I prefer the latter ;-) 20100610 21:14:37< billynux> So... if I remove the installed ana 20100610 21:14:52< mordante> you should get an error 20100610 21:14:55< mordante> btw shall we look at the remarks I have regarding the code ? 20100610 21:15:32< billynux> yes... whenever you want. It would be good to fix this little glitch first though 20100610 21:16:10< mordante> ok then I'll wait 20100610 21:16:58< billynux> well.. any Idea how I should look for the lib locally? 20100610 21:17:21< mordante> what do you exactly mean? 20100610 21:17:55< billynux> CMakeLists.txt in apps/chat/ has find_library( ANA ana REQUIRED ) and then target_link_libraries( server ${ANA} ... 20100610 21:18:14< billynux> the problem is... it doesn't find the library if it is not installed yet 20100610 21:18:26< billynux> I want it to look for the just-compiled version 20100610 21:18:46< billynux> and precisely not the former 20100610 21:23:41< mordante> target_link_libraries( client ${ANA} ${GETOPT} ) s/$(ANA)/ana/ should probably do the trick 20100610 21:23:57< mordante> ana is generated by cmake so it knows about the library 20100610 21:24:33< mordante> that should also solve it always use the generated library and make sure the library is build before the apps 20100610 21:24:41< mordante> uses* 20100610 21:25:16-!- billynux [~c8078d05@wesnoth/developer/billynux] has quit [Ping timeout: 252 seconds] 20100610 21:25:29-!- noy [~Noy@wesnoth/developer/noy] has quit [Read error: Connection reset by peer] 20100610 21:32:11-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20100610 21:42:13-!- Bocom__ [~Bocom@c-b7cfe255.013-31-6b736412.cust.bredbandsbolaget.se] has quit [Read error: No route to host] 20100610 21:42:21-!- Bocom [~Bocom@c-b7cfe255.013-31-6b736412.cust.bredbandsbolaget.se] has joined #wesnoth-dev 20100610 21:43:59-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20100610 21:44:48-!- billynux [~billy@wesnoth/developer/billynux] has joined #wesnoth-dev 20100610 21:44:59< billynux> I'm back mordante :) 20100610 21:45:13< billynux> (that's how long it takes for me to get to work) 20100610 21:45:35< mordante> billynux, ok 20100610 21:45:50< mordante> billynux, I left some things in the log 20100610 21:45:57< billynux> ok... checking 20100610 21:47:24< billynux> good, I'll try that 20100610 21:54:17< billynux> mordante, added include_directories( ../../api ) and changed ${ANA} for ${ana}... but it isn't linking to boost (although target ana is) 20100610 21:56:11-!- Crab_ [~Crab_@wesnoth/developer/crab] has quit [Quit: Leaving.] 20100610 21:56:25< mordante> billynux, the should be ana without braces and dollar sign 20100610 21:56:53< mordante> and if the samples need to link to boost you need to add that in the link targets 20100610 21:57:07< mordante> it's not inheriting the links from targets 20100610 21:57:47< billynux> but the samples shouldn't link to boost 20100610 21:57:51< billynux> ok, 1' 20100610 21:58:02< mordante> ok 20100610 21:58:13< billynux> good, working 20100610 21:58:14< mordante> I'm afk now, will be back in about an hour 20100610 21:58:32< billynux> ok... I wanted to talk about your code comments... I'll be here 20100610 21:59:01-!- wesbot changed the topic of #wesnoth-dev to: 123 bugs, 281 feature requests, 15 patches | logs: http://irclogs.wesnoth.org | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20100610 22:00:16-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20100610 22:00:40-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Quit: leaving] 20100610 22:01:56-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has joined #wesnoth-dev 20100610 22:05:15-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20100610 22:09:37-!- Lastmerlin [~Lastmerli@kalypso.csn.tu-chemnitz.de] has quit [Remote host closed the connection] 20100610 22:17:48-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Quit: leaving] 20100610 22:23:23-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has joined #wesnoth-dev 20100610 22:26:42< CIA-86> billynux * r43261 /trunk/src/ana/ (5 files in 3 dirs): Fixed cmake files to support the apps option in ana. 20100610 22:27:39-!- Ken_Oh [~briang@static-71-178-174-220.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer] 20100610 22:34:57-!- yann [~dwitch@nan92-1-81-57-214-146.fbx.proxad.net] has quit [Remote host closed the connection] 20100610 22:42:52-!- apoi [~andi@85-126-180-242.volume.xdsl-line.inode.at] has quit [Quit: leaving] 20100610 22:44:55-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has joined #wesnoth-dev 20100610 22:44:59-!- Blueblaze [~nick@adsl-76-202-16-236.dsl.hstntx.sbcglobal.net] has joined #wesnoth-dev 20100610 22:49:12-!- Johannes13 [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 276 seconds] 20100610 22:55:33-!- Greywhind [~Greywhind@greywhind-sabayon.brown.edu] has quit [Quit: leaving] 20100610 23:00:24-!- k23z__ [~k23z__@188.26.49.84] has joined #wesnoth-dev 20100610 23:04:58-!- k23z__ [~k23z__@188.26.49.84] has quit [Client Quit] 20100610 23:05:56< mordante> billynux, I'm bakc 20100610 23:05:58< mordante> back* 20100610 23:06:04< billynux> hi mordante 20100610 23:06:34< billynux> So... I was about to start with boost options instead of getopt_pp 20100610 23:06:50< billynux> but its better if we talk about your code comments 20100610 23:07:10< mordante> ok 20100610 23:08:38< mordante> first of all, everything not code should be in another directory you can use ana subdirectories so it's easier to package it later 20100610 23:09:08< billynux> you mean away from wesnoth's src dir? 20100610 23:09:15< mordante> yes 20100610 23:09:20< billynux> ok 20100610 23:09:30-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] 20100610 23:10:15< mordante> further we already talked about it, but just a remainder ana.hpp still uses uint32_t which should use some boost typedef for it 20100610 23:10:34< mordante> and also still has some CamelCase left 20100610 23:10:51< billynux> just the server and chat apps right? 20100610 23:11:34< mordante> no ana.hpp 20100610 23:11:47< mordante> and the requirement of boost 1.37 or lower should be 1.35 or higher 20100610 23:13:53< billynux> ok 20100610 23:14:36< mordante> btw I also get several "src/ana/src/asio_client.cpp:127: error: ‘get_generic_category’ is not a member of ‘boost::system’" errors while compiling with boost 1.35 20100610 23:14:36< billynux> mordante, the CamelCase in ana.hpp is for constants... do you want me to downcase them? 20100610 23:15:19< billynux> mm... I'll have to check for a version to create an error that is compatible with 1.35 and current implementations 20100610 23:15:21< mordante> billynux, yes (and sometimes we use all uppercase for constants) 20100610 23:15:34< billynux> ok 20100610 23:16:12< mordante> the same for enums, sometimes we also use uppercase there 20100610 23:16:52< mordante> I also wonder why you included detail.hpp in the middle of ana.hpp 20100610 23:18:47< billynux> because of things like: class _generic_client_predicate : public client_predicate 20100610 23:19:46< mordante> the wondering is not the inclusion itself, but why in the middle of the header 20100610 23:21:55< billynux> it wouldn't find client_predicate otherwise 20100610 23:23:39< CIA-86> billynux * r43262 /trunk/src/ana/doc/ (ana-class-diagram.xmi description.tex images/ logo.svg): Moved ana documentation to wesnoth's doc directory. 20100610 23:24:20< billynux> I didn't do that from the root dir. :@ 20100610 23:24:27-!- Johannes13_ [~Johannes@unaffiliated/johannes13] has quit [Ping timeout: 248 seconds] 20100610 23:24:52< mordante> hmm I see, in that case I rather see client_predicate in its own header instead of including it like this 20100610 23:25:08< CIA-86> billynux * r43263 /trunk/doc/ana/ (5 files in 2 dirs): Previous commit wasn't at root dir. Now added the files. 20100610 23:25:25< billynux> ok 20100610 23:25:32< mordante> normally you look at the top of the file to see which files it includes and now the include is rather hidden 20100610 23:25:48< mordante> btw I like the DETAIL_INTERNAL_HPP trick 20100610 23:26:00< billynux> true... I didn't like it either, but the main header is rather clobbered 20100610 23:26:03< billynux> thanks :) 20100610 23:26:26< mordante> still detail.hpp should have its own include guards 20100610 23:27:13< billynux> ok 20100610 23:28:00< mordante> and regarding include guards and the DETAIL_INTERNAL_HPP "guard" best prefix them with ANA, if you want to make it an external library DETAIL_INTERNAL_HPP might not be unique enough 20100610 23:28:08< billynux> do you think i should add timers.hpp / predicates.hpp / etc.. 20100610 23:28:45< billynux> those headers just don't look right 20100610 23:29:00-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401080539]] 20100610 23:29:09< mordante> I would say yes, but I personally like small headers with one "task" 20100610 23:29:21< mordante> others like large single headers 20100610 23:30:16< mordante> why don't they look right? 20100610 23:30:38< billynux> for exactly that "task" reason 20100610 23:31:04< billynux> your comment about uint32_t and boost... that's how it is already used 20100610 23:31:41< billynux> #include .... typedef uint32_t <- is boost's 20100610 23:33:12-!- Elvish_Pillager [~eli@71-10-224-192.dhcp.oxfr.ma.charter.com] has joined #wesnoth-dev 20100610 23:34:04< mordante> billynux, like I said it's my personal preference and others have other opinions so feel free to split it if you want or keep it as is 20100610 23:34:37< billynux> I'll split them and see how it looks 20100610 23:35:03< mordante> ok 20100610 23:35:15< mordante> I see, only the boost typedefs are in the boost namespace so your typedef should be boost::uint32_t 20100610 23:35:41< mordante> since your compiler supports uint32_t natively it works 20100610 23:35:59< billynux> ahhh... ok 20100610 23:38:55< billynux> why did you say I required boost 1.37 or *lower* ? Cmake's default is to find lower versions? (I see it only supports EXACT as an option, I assumed it looks for *at least* otherwise) 20100610 23:39:29< mordante> ana.hpp:54 20100610 23:39:56< mordante> I also want to look a bit more in the resource management to make sure everything is exception safe 20100610 23:40:49< mordante> also classes that hold buffers should be noncopyable or do something smart when copying (noncopyable is easier) 20100610 23:41:17< mordante> eg read_buffer_implementation 20100610 23:42:06-!- Upthorn [~ogmar@adsl-75-26-174-104.dsl.scrm01.sbcglobal.net] has quit [Ping timeout: 240 seconds] 20100610 23:44:01< billynux> ok 20100610 23:45:08< mordante> I think we need a small wrapper class which manages the lifetime of the buffers (unfortunately std::auto_ptr can't handle buffers allocated with new[]) 20100610 23:45:44-!- Upthorn [~ogmar@adsl-75-26-174-104.dsl.scrm01.sbcglobal.net] has joined #wesnoth-dev 20100610 23:47:27< billynux> mm 20100610 23:47:48< billynux> mordante, the typedef boost::shared_ptr read_buffer; is then used to pass the message to the app. using the lib. 20100610 23:48:55< billynux> he can then cast it to what he wants (I probably should provide a template function for this) buffer->as or something 20100610 23:51:06< mordante> still we need to make sure the class can't be copied or assigned since that copies the pointer, resulting in a double free when both the original and the copy are destroyed 20100610 23:51:42< mordante> and it can get tricky since some compilers elide some copies and it breaks with other compilers 20100610 23:51:53< mordante> (personal experience ;-) ) 20100610 23:52:54< billynux> ok... I'll leave that for later, to look at it carefully (as one always should dealing with memory) 20100610 23:53:41< mordante> yeah we need to look at it later 20100610 23:54:11-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20100610 23:54:20< mordante> these were my points for now, do you have any questions? 20100610 23:55:23-!- Gambit [~quassel@pa-67-234-73-7.dhcp.embarqhsd.net] has joined #wesnoth-dev 20100610 23:55:30< billynux> nope, just work to do :) 20100610 23:55:50< mordante> ok, how do you feel GSoC is going for you? 20100610 23:56:26< billynux> great... I'm just annoyed that I have other stuff going on ATM and some days I can't dedicate enough time to this project 20100610 23:56:56< billynux> university bureaucracy, some consulting jobs I did... 20100610 23:57:06< mordante> :-( well can happen, I also have less time as usual at the moment 20100610 23:57:30< billynux> However, this project has helped me decide what I want to do with my life 20100610 23:57:49< mordante> nice, and what do you want to do? 20100610 23:58:00< billynux> (as I was pondering academic life vs. applied programming) 20100610 23:58:28< billynux> code :D ... free software (preferably) and ... get well paid for it :D ... 20100610 23:59:11< billynux> here... getting "well paid" would involve a very low salary for US/EU... so that is not that hard 20100610 23:59:26< billynux> but I still would need to land the job 20100610 23:59:51< mordante> getting paid for free software might be hard, but of course great if you manage to do so --- Log closed Fri Jun 11 00:00:15 2010