--- Log opened Sun Oct 14 00:00:46 2012 20121014 00:25:44-!- anonymissimus [~chatzilla@HSI-KBW-078-042-163-105.hsi3.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.89 [Firefox 11.0/20120312181643]] 20121014 00:32:52< fendrin_> AI0867: around? 20121014 00:35:55< AI0867> fendrin_: yeah 20121014 00:38:14-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 240 seconds] 20121014 00:43:42< fendrin_> AI0867: https://gna.org/bugs/?20235 20121014 00:43:57< fendrin_> AI0867: I don't understand why anonymissimus is getting that error. 20121014 00:45:03< AI0867> bleh, MSVC backtrace 20121014 00:45:22< fendrin_> Decrementing a pointer by 2 should never be a problem. No matter where it points afterwards. And the access only happens if the pointer is not before datastructure.beginn(). 20121014 00:46:59< AI0867> okay, but why -2? 20121014 00:47:33< fendrin_> After every item I add the string ", " 20121014 00:47:58< AI0867> end points *past* the final item 20121014 00:48:10< AI0867> so *(end()-1) == ' ' 20121014 00:48:14< AI0867> so *(end()-2) == ',' 20121014 00:48:48< fendrin_> The code works like expected and crops the ", " from the string. 20121014 00:50:06< AI0867> std::string.erase will only remove a single character if called like that 20121014 00:50:25< AI0867> http://www.cplusplus.com/reference/string/string/erase/ 20121014 00:52:56< fendrin_> strange, why is it working then` 20121014 00:52:58< fendrin_> ? 20121014 00:53:12< AI0867> you're getting rid of the , 20121014 00:53:15< AI0867> but you're leaving the space 20121014 00:53:46< fendrin_> ah yes 20121014 00:54:08-!- mjs-de [~mjs-de@g224177144.adsl.alicedsl.de] has quit [Remote host closed the connection] 20121014 00:54:34< fendrin_> Okay, I see how to fix this. Still the old question remains. Why is anonymissimus getting an error which I can't reproduce and don't understand. 20121014 00:55:46< loonycyborg> Probably gcc with iterator debugging would catch it too. 20121014 00:58:11< AI0867> iterators are not pointers 20121014 00:58:32< AI0867> the fact that you're not dereferencing it doesn't mean it's necessarily legal 20121014 00:58:44< fendrin_> Hmmm, that explains it. 20121014 00:59:10< loonycyborg> In any case you shouldn't be doing str.end() -2 or even tr.end() -1 on an empty string. 20121014 00:59:18< loonycyborg> That's undefined behavior. 20121014 00:59:32< AI0867> the iterator is probably implemented as an integer 20121014 00:59:53< fendrin_> loonycyborg: Sure, that is why I guard it with "if (it >= name_str.begin())". 20121014 01:00:06< AI0867> and MSVC decides to throw an exception if it becomes less than zero 20121014 01:01:02< loonycyborg> Better guard it with if(str.size() >= 2) 20121014 01:01:17< AI0867> or if begin != end 20121014 01:09:03< loonycyborg> fendrin_: Actually you can use thing func: http://www.boost.org/doc/libs/1_51_0/doc/html/boost/algorithm/join.html :P 20121014 01:12:45-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 01:15:55-!- stikonas [~gentoo@bcm-131-111-216-214.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 01:15:56-!- stikonas [~gentoo@bcm-131-111-216-214.girton.cam.ac.uk] has quit [Changing host] 20121014 01:15:56-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 01:17:31< fendrin_> loonycyborg, AI0867: Thank you both, the boost thing looks fine. I can deal with the error, it's not a big problem. I was just curious why it is a problem. 20121014 02:09:43-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 02:16:45-!- stikonas [~gentoo@bcm-131-111-247-164.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 02:16:45-!- stikonas [~gentoo@bcm-131-111-247-164.girton.cam.ac.uk] has quit [Changing host] 20121014 02:16:45-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 02:17:19-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121014 02:25:12-!- boucman [~rosen@wesnoth/developer/boucman] has left #wesnoth-dev [] 20121014 02:25:32-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 02:31:43-!- stikonas [~gentoo@bcm-131-111-247-164.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 02:31:43-!- stikonas [~gentoo@bcm-131-111-247-164.girton.cam.ac.uk] has quit [Changing host] 20121014 02:31:43-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 02:46:19-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 02:46:30-!- stikonas [~gentoo@bcm-131-111-247-164.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 02:46:31-!- stikonas [~gentoo@bcm-131-111-247-164.girton.cam.ac.uk] has quit [Changing host] 20121014 02:46:31-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 02:46:51-!- stikonas_ [~gentoo@bcm-131-111-216-214.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 02:46:52-!- stikonas_ [~gentoo@bcm-131-111-216-214.girton.cam.ac.uk] has quit [Changing host] 20121014 02:46:52-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 02:49:11-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Read error: Operation timed out] 20121014 03:12:20-!- xchat_sux [~eli@dhip-029.rrw.residences.colby.edu] has quit [Ping timeout: 272 seconds] 20121014 03:47:39-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 04:08:34-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20121014 04:27:51-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Read error: Connection reset by peer] 20121014 04:28:18-!- Ivanovic [~ivanovic@dtmd-4db262b3.pool.mediaWays.net] has joined #wesnoth-dev 20121014 05:01:27-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20121014 05:06:10-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121014 05:11:11-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20121014 05:25:15-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20121014 05:32:31-!- horon [~horon@nttkyo042189.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has joined #wesnoth-dev 20121014 06:33:38-!- esr [~chatzilla@wesnoth/developer/esr] has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0/20121006022900]] 20121014 06:34:55-!- esr [~chatzilla@static-71-162-243-5.phlapa.fios.verizon.net] has joined #wesnoth-dev 20121014 06:35:21-!- esr [~chatzilla@static-71-162-243-5.phlapa.fios.verizon.net] has quit [Changing host] 20121014 06:35:21-!- esr [~chatzilla@wesnoth/developer/esr] has joined #wesnoth-dev 20121014 07:06:07-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Remote host closed the connection] 20121014 07:06:28-!- PolarPanda [~quassel@unaffiliated/peterporty] has joined #wesnoth-dev 20121014 07:08:35-!- mattsc [~mattsc@d154-20-32-241.bchsia.telus.net] has quit [Quit: bye] 20121014 07:18:49-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20121014 07:57:47-!- PolarPanda [~quassel@unaffiliated/peterporty] has quit [Read error: Connection reset by peer] 20121014 08:35:07-!- Ivanovic [~ivanovic@dtmd-4db262b3.pool.mediaWays.net] has quit [Changing host] 20121014 08:35:07-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20121014 09:16:43-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit [Quit: Leaving] 20121014 09:21:00-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20121014 09:48:53-!- grzywacz [~grzywacz@89-67-177-27.dynamic.chello.pl] has joined #wesnoth-dev 20121014 09:48:53-!- grzywacz [~grzywacz@89-67-177-27.dynamic.chello.pl] has quit [Changing host] 20121014 09:48:53-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20121014 10:14:22-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20121014 10:49:42-!- Appleman1234 [~Appleman1@st0801.nas931.n-yokohama.nttpc.ne.jp] has joined #wesnoth-dev 20121014 10:52:13-!- Appleman1234 [~Appleman1@st0801.nas931.n-yokohama.nttpc.ne.jp] has quit [Remote host closed the connection] 20121014 11:10:22-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121014 11:18:26-!- DoNotDisturb_ [diotecktec@xonotic/core-team/Samual] has joined #wesnoth-dev 20121014 11:18:27-!- DoNotDisturb_ [diotecktec@xonotic/core-team/Samual] has quit [Excess Flood] 20121014 11:18:37-!- DoNotDisturb_ [diotecktec@c-71-195-88-69.hsd1.pa.comcast.net] has joined #wesnoth-dev 20121014 11:18:37-!- DoNotDisturb_ [diotecktec@c-71-195-88-69.hsd1.pa.comcast.net] has quit [Changing host] 20121014 11:18:37-!- DoNotDisturb_ [diotecktec@xonotic/core-team/Samual] has joined #wesnoth-dev 20121014 11:18:38-!- DoNotDisturb_ [diotecktec@xonotic/core-team/Samual] has quit [Excess Flood] 20121014 11:18:49-!- DoNotDisturb_ [diotecktec@c-71-195-88-69.hsd1.pa.comcast.net] has joined #wesnoth-dev 20121014 11:18:49-!- DoNotDisturb_ [diotecktec@c-71-195-88-69.hsd1.pa.comcast.net] has quit [Changing host] 20121014 11:18:49-!- DoNotDisturb_ [diotecktec@xonotic/core-team/Samual] has joined #wesnoth-dev 20121014 11:18:54-!- Samual [diotecktec@xonotic/core-team/Samual] has quit [Ping timeout: 260 seconds] 20121014 11:24:57-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 11:26:40-!- mjs-de [~mjs-de@d189109.adsl.hansenet.de] has joined #wesnoth-dev 20121014 11:39:21-!- Jetrel [~Jetrel@wesnoth/artist/jetrel] has quit [Quit: NO! FOR THE LOVE OF GOD, KATO - NOT NOW!!] 20121014 12:15:10-!- timotei [~timotei@188.24.7.116] has joined #wesnoth-dev 20121014 12:15:10-!- timotei [~timotei@188.24.7.116] has quit [Changing host] 20121014 12:15:10-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20121014 12:36:06-!- skyfaller_ [~skyfaller@ool-43551e75.dyn.optonline.net] has joined #wesnoth-dev 20121014 12:36:06-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Read error: Connection reset by peer] 20121014 13:05:40-!- Gambit [~gambit@wesnoth/developer/grickit] has joined #wesnoth-dev 20121014 13:37:47-!- xchat_sux [~eli@dhip-029.rrw.residences.colby.edu] has joined #wesnoth-dev 20121014 13:50:59-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has joined #wesnoth-dev 20121014 13:55:07-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20121014 14:10:59-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 14:11:03-!- loonybot [~loonybot@ppp79-139-205-247.pppoe.spdop.ru] has joined #wesnoth-dev 20121014 14:11:04-!- loonybot [~loonybot@ppp79-139-205-247.pppoe.spdop.ru] has quit [Changing host] 20121014 14:11:04-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-dev 20121014 14:15:26-!- stikonas [~and@bcm-131-111-247-164.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 14:15:27-!- stikonas [~and@bcm-131-111-247-164.girton.cam.ac.uk] has quit [Changing host] 20121014 14:15:27-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 14:21:26-!- negusnyul [~negusnyul@dsl51B6E0CA.pool.t-online.hu] has joined #wesnoth-dev 20121014 14:23:35-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 14:27:26-!- stikonas [~and@bcm-131-111-247-164.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 14:27:27-!- stikonas [~and@bcm-131-111-247-164.girton.cam.ac.uk] has quit [Changing host] 20121014 14:27:27-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 14:35:43-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has quit [Ping timeout: 252 seconds] 20121014 14:36:16-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has joined #wesnoth-dev 20121014 14:40:02-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121014 15:24:50< fendrin_> shadowm: "I believe he's relatively busy battling the allied forces remaining near the Bay of Glamdrol" Sounds rather modern in my ears. Do you aim for a more modern English in AtS or is the message still a stub? 20121014 16:14:03-!- horon [~horon@nttkyo042189.tkyo.nt.ngn2.ppp.infoweb.ne.jp] has quit [Quit: Leaving...] 20121014 17:08:19-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Ping timeout: 260 seconds] 20121014 17:28:30-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20121014 17:29:58-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has quit [Ping timeout: 246 seconds] 20121014 17:30:59-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has joined #wesnoth-dev 20121014 17:33:13-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has joined #wesnoth-dev 20121014 17:57:09-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has quit [Quit: *pouf*] 20121014 18:07:19< lipkab> Ivanovic: What's the policy about string changes for the stable branch? 20121014 18:08:02< Ivanovic> try to keep the number of changes as low as possible 20121014 18:08:14< Ivanovic> if there has to be a change, do it but tell me about it since i need to run a pot-update then 20121014 18:09:11< lipkab> Ok thanks. 20121014 18:09:26-!- vultraz [~chatzilla@124.109.10.167] has quit [Read error: Connection reset by peer] 20121014 18:37:27-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 18:41:47-!- stikonas [~and@bcm-131-111-247-164.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 18:41:47-!- stikonas [~and@bcm-131-111-247-164.girton.cam.ac.uk] has quit [Changing host] 20121014 18:41:47-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 18:41:56-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Client Quit] 20121014 18:45:04-!- stikonas [~gentoo@bcm-131-111-216-214.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 18:45:04-!- stikonas [~gentoo@bcm-131-111-216-214.girton.cam.ac.uk] has quit [Changing host] 20121014 18:45:05-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 18:56:33-!- lipkab [~lipk@host-91-147-212-174.biatv.hu] has quit [Quit: And away we go] 20121014 19:39:14-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has quit [Ping timeout: 240 seconds] 20121014 19:39:43-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has joined #wesnoth-dev 20121014 19:46:32-!- [Relic] [~relic@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20121014 20:03:17-!- vultraz [~chatzilla@124.109.10.167] has joined #wesnoth-dev 20121014 20:33:12-!- irker797 [~irker@ai0867.net] has joined #wesnoth-dev 20121014 20:33:12< irker797> wesnoth: fendrin * r55543 /trunk/src/ (hotkeys.cpp hotkeys.hpp): 20121014 20:33:13< irker797> Code cleanups. 20121014 20:33:13< irker797> Fix for bug #20235 20121014 20:33:52-!- EdB [~edb@tss37-1-89-82-194-231.dsl.sta.abo.bbox.fr] has quit [Quit: Konversation terminated!] 20121014 20:35:16-!- zookeeper2 [~lmsnie@87-100-211-108.bb.dnainternet.fi] has joined #wesnoth-dev 20121014 20:36:43-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 246 seconds] 20121014 20:37:04-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Read error: Connection reset by peer] 20121014 20:45:12-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20121014 20:47:37-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 20:51:15-!- stikonas [~and@bcm-131-111-247-164.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 20:51:16-!- stikonas [~and@bcm-131-111-247-164.girton.cam.ac.uk] has quit [Changing host] 20121014 20:51:16-!- stikonas [~and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 20:52:54-!- zookeeper2 is now known as zookeeper 20121014 20:52:59-!- zookeeper [~lmsnie@87-100-211-108.bb.dnainternet.fi] has quit [Changing host] 20121014 20:52:59-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20121014 21:17:19-!- oldtopman [~oldtopman@unaffiliated/oldtopman] has joined #wesnoth-dev 20121014 21:24:16-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20121014 21:24:49-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20121014 21:27:48-!- skyfaller_ is now known as skyfaller 20121014 21:27:49-!- skyfaller [~skyfaller@ool-43551e75.dyn.optonline.net] has quit [Changing host] 20121014 21:27:49-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has joined #wesnoth-dev 20121014 21:43:37-!- vultraz [~chatzilla@124.109.10.167] has quit [Changing host] 20121014 21:43:37-!- vultraz [~chatzilla@unaffiliated/vultraz] has joined #wesnoth-dev 20121014 21:52:30-!- stikonas [~and@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20121014 21:57:15-!- stikonas [~gentoo@bcm-131-111-216-214.girton.cam.ac.uk] has joined #wesnoth-dev 20121014 21:57:15-!- stikonas [~gentoo@bcm-131-111-216-214.girton.cam.ac.uk] has quit [Changing host] 20121014 21:57:15-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20121014 22:17:24-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Read error: Connection reset by peer] 20121014 22:37:52-!- DoNotDisturb_ is now known as Samual 20121014 22:40:16-!- negusnyul [~negusnyul@dsl51B6E0CA.pool.t-online.hu] has quit [Quit: Konversation terminated!] 20121014 22:56:19-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20121014 23:00:01-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 245 seconds] 20121014 23:07:49-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20121014 23:32:57-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20121014 23:45:13-!- grzywacz [~grzywacz@wesnoth/developer/grzywacz] has quit [Quit: :wq] 20121014 23:50:15-!- Alarantalara [~Adium@173.33.158.188] has quit [Quit: Leaving.] --- Log closed Mon Oct 15 00:00:51 2012