--- Log opened Wed Jan 20 00:00:10 2016 20160120 00:06:15-!- mjs-de [~mjs-de@x4db54a26.dyn.telefonica.de] has quit [Remote host closed the connection] 20160120 00:08:28-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160120 00:23:35< vultraz> src/gui/dialogs/drop_down_list.cpp: In function ‘void gui2::{anonymous}::resize_callback(gui2::twindow&)’: 20160120 00:23:36< vultraz> src/gui/dialogs/drop_down_list.cpp:66:12: error: variable ‘rect’ set but not used [-Werror=unused-but-set-variable] 20160120 00:23:38< vultraz> SDL_Rect rect = window.get_rectangle(); 20160120 00:23:40< vultraz> gfgtdf: ^ travis failing there 20160120 00:29:12-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 00:32:34< vultraz> gfgtdf: btw can you build with c++ 11 since you were using lambdas? 20160120 00:32:54< gfgtdf> adding new widgets is really annyoing 20160120 00:33:01< vultraz> yes it is 20160120 00:33:56< vultraz> anyway if you can build with c++11 and zookeeper can i think we could leave the lambas and switch 20160120 00:33:58< gfgtdf> first you have to add a cpp file to the widgets/ , window_builder/ and widget_definition/ folders 20160120 00:34:16< gfgtdf> and then the travis still compiains because of the schemna.cfg file 20160120 00:34:32< vultraz> the schema? why 20160120 00:34:34< vultraz> :| 20160120 00:34:35< gfgtdf> not to forget that you also have to make .cfg file for the widgets definition 20160120 00:35:04< gfgtdf> so to add a new widget you always have to add at lest9 files. 20160120 00:35:09< gfgtdf> least 9 20160120 00:35:37< gfgtdf> vultraz: what do you mean by switch ? 20160120 00:36:31< vultraz> if our major devs can all build with C++11 we can start using its features 20160120 00:37:00< gfgtdf> vultraz: i can onyl use a very few of c++11 featues currently, since im still on msvc 2010 20160120 00:37:14< vultraz> ok 20160120 00:45:19-!- Appleman1234 [~Appleman1@KD119104008053.au-net.ne.jp] has joined #wesnoth-dev 20160120 00:48:09-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160120 00:49:49-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160120 01:03:46< vultraz> shadowm: what is the point of the schema stuff? 20160120 01:03:50-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 01:04:55-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160120 01:07:43< celticminstrel> Why is it called "drobbox"? 20160120 01:09:45< vultraz> ? 20160120 01:10:01< shadowm> vultraz: Validating GUI2 WML to catch errors early during initialization. 20160120 01:10:15< celticminstrel> vultraz: I'm noticing button_drobbox.cfg 20160120 01:10:34-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 01:10:39-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160120 01:11:52< celticminstrel> Oh, it got renamed though... but now it's "combox_default". There's a "bo" missing in the middle. 20160120 01:13:56-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has quit [Quit: Konversation terminated!] 20160120 01:24:19-!- travis-ci [~travis-ci@ec2-54-145-146-5.compute-1.amazonaws.com] has joined #wesnoth-dev 20160120 01:24:20< travis-ci> gfgtdf/wesnoth-old#586 (gui2_combobox - 36c3790 : gfgtdf): The build is still failing. 20160120 01:24:20< travis-ci> Build details : https://travis-ci.org/gfgtdf/wesnoth-old/builds/103499057 20160120 01:24:20-!- travis-ci [~travis-ci@ec2-54-145-146-5.compute-1.amazonaws.com] has left #wesnoth-dev [] 20160120 02:03:33< gfgtdf> ok.. its 10 files that you have to change at least 20160120 02:13:49< vultraz> that really, really sucks 20160120 02:14:00< vultraz> did mordante deliberately make it difficult to add new widgets 20160120 02:15:39< celticminstrel> He probably assumed no-one would want to add new widgets. 20160120 02:15:59< gfgtdf> celticminstrel: no i doubt that. 20160120 02:16:16< celticminstrel> Who knows. 20160120 02:16:27< gfgtdf> celticminstrel: also most if this are more caused by c++ langae itself than by the onw sho wrote that code 20160120 02:17:41< gfgtdf> onw who* 20160120 02:18:33< gfgtdf> one* 20160120 02:20:45< celticminstrel> Are you going to rename "combox_default.cfg" to "combobox_default.cfg"? 20160120 02:22:06< gfgtdf> celticminstrel: hmm maybe. Right now im really annoyed from writing that patch 20160120 02:23:28-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20160120 02:23:58< vultraz> gfgtdf: big thanks for doing it, tho 20160120 02:24:18< vultraz> since i can now correctly implement the compression option 20160120 02:36:41-!- gfgtdf [~chatzilla@f054171105.adsl.alicedsl.de] has quit [Quit: ChatZilla 0.9.92 [Firefox 43.0.4/20160105164030]] 20160120 02:40:26-!- Xara [~yangyf@2401:de00:1:6:d06d:b93c:b8d:a25d] has joined #wesnoth-dev 20160120 02:41:37< Xara> Hello, guys. 20160120 02:41:45< Xara> I have a question about art. 20160120 02:42:21< Xara> I saw some really cool art on deviantart, but I wondered how it never entered mainline: http://www.deviantart.com/art/Wesnoth-A-summer-of-Storms-199120706 20160120 02:43:51< Xara> It seems the art was done by LordBob some 3 years ago. 20160120 02:44:07-!- gfgtdf [~chatzilla@f054171105.adsl.alicedsl.de] has joined #wesnoth-dev 20160120 02:49:04< vultraz> Xara: lordbob said he'd get back to that eventually. the fact of the matter was just that the project was never finished, so the art never got added 20160120 02:53:50-!- gfgtdf [~chatzilla@f054171105.adsl.alicedsl.de] has quit [Quit: ChatZilla 0.9.92 [Firefox 43.0.4/20160105164030]] 20160120 02:54:08-!- Xara [~yangyf@2401:de00:1:6:d06d:b93c:b8d:a25d] has quit [Read error: Connection reset by peer] 20160120 03:22:44-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 03:27:14-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 245 seconds] 20160120 04:30:19-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] 20160120 05:22:55-!- Kwandulin [~Miranda@p200300760F69244C14A97A415D911F25.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160120 06:10:54-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has joined #wesnoth-dev 20160120 06:17:11-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 06:21:47-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 264 seconds] 20160120 06:40:17-!- Ivanovic_ [~ivanovic@p4FC530CC.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160120 06:40:19-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Read error: Connection reset by peer] 20160120 06:42:10-!- Ivanovic_ is now known as Ivanovic 20160120 06:54:02-!- Ivanovic [~ivanovic@p4FC530CC.dip0.t-ipconnect.de] has quit [Changing host] 20160120 06:54:02-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20160120 07:49:39-!- boucman_work [~jrosen@bob75-2-81-56-46-209.fbx.proxad.net] has joined #wesnoth-dev 20160120 07:49:39-!- boucman_work [~jrosen@bob75-2-81-56-46-209.fbx.proxad.net] has quit [Changing host] 20160120 07:49:39-!- boucman_work [~jrosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20160120 08:04:21-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160120 08:38:55-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20160120 08:44:20-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 08:48:48-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 265 seconds] 20160120 09:09:07-!- horrowind [~Icedove@2a02:810a:8b00:1a54:21b:fcff:fee3:c3ff] has joined #wesnoth-dev 20160120 09:46:49-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 245 seconds] 20160120 09:51:09< Rhonda> is there some forum thread or similar about fosdem? 20160120 09:51:40-!- timotei_ [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20160120 09:59:12< Rhonda> Hmm, don't find anything in the list archive. 20160120 10:27:55-!- Kwandulin [~Miranda@p200300760F69244C14A97A415D911F25.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 20160120 10:50:05-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has joined #wesnoth-dev 20160120 10:54:28< vultraz> Rhonda: not for this year 20160120 11:11:31-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 11:16:02-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 255 seconds] 20160120 11:16:59-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 264 seconds] 20160120 11:25:27-!- horrowind [~Icedove@2a02:810a:8b00:1a54:21b:fcff:fee3:c3ff] has quit [Quit: horrowind] 20160120 11:39:08-!- atarocch [~atarocch@81-208-118-75.ip.fastwebnet.it] has joined #wesnoth-dev 20160120 11:44:20-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has joined #wesnoth-dev 20160120 11:48:50-!- Kwandulin [~Miranda@p200300760F692499A915BDBDE5C93197.dip0.t-ipconnect.de] has joined #wesnoth-dev 20160120 12:18:28-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160120 12:32:45-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20160120 12:46:18-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has joined #wesnoth-dev 20160120 12:47:14-!- Appleman1234 [~Appleman1@KD119104008053.au-net.ne.jp] has quit [Remote host closed the connection] 20160120 12:49:59-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 264 seconds] 20160120 12:51:24-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has quit [Ping timeout: 245 seconds] 20160120 13:00:31-!- Appleman1234 [~Appleman1@KD119104008053.au-net.ne.jp] has joined #wesnoth-dev 20160120 13:06:43-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has joined #wesnoth-dev 20160120 13:11:53-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 13:16:32-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 256 seconds] 20160120 13:19:49-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has quit [Quit: Konversation terminated!] 20160120 13:30:26-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth-dev 20160120 13:50:43-!- legoktm_ [~quassel@wikipedia/Legoktm] has joined #wesnoth-dev 20160120 13:51:16-!- Greywhin1 [~Greywhind@c-50-133-231-228.hsd1.ma.comcast.net] has joined #wesnoth-dev 20160120 13:51:49-!- Rh0nda [~rhonda@anguilla.noreply.org] has joined #wesnoth-dev 20160120 13:52:14-!- timotei__ [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20160120 13:53:51-!- quentinp_ [~quentin@ns363174.ip-91-121-196.eu] has joined #wesnoth-dev 20160120 13:54:52-!- Jetrel_ec2 [~Jetrel@ec2.happyspork.com] has joined #wesnoth-dev 20160120 13:55:04-!- nurupo_ [~nurupo.ga@unaffiliated/nurupo] has joined #wesnoth-dev 20160120 13:56:23-!- Netsplit *.net <-> *.split quits: heirecka, Greywhind, quentinp, timotei_, nurupo, Jetrel_bot, legoktm, Rhonda 20160120 13:56:23-!- nurupo_ is now known as nurupo 20160120 13:56:26-!- Jetrel_ec2 is now known as Jetrel_bot 20160120 13:56:36-!- mjs-de [~mjs-de@x4db50cab.dyn.telefonica.de] has joined #wesnoth-dev 20160120 14:01:05-!- heirecka [~heirecka@j61898.servers.jiffybox.net] has joined #wesnoth-dev 20160120 14:01:05-!- heirecka [~heirecka@j61898.servers.jiffybox.net] has quit [Changing host] 20160120 14:01:05-!- heirecka [~heirecka@exherbo/developer/heirecka] has joined #wesnoth-dev 20160120 14:21:37-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160120 14:37:48-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20160120 14:45:01-!- Rh0nda is now known as Rhonda 20160120 14:48:45-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has joined #wesnoth-dev 20160120 14:53:12-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has joined #wesnoth-dev 20160120 14:53:24-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has quit [Ping timeout: 250 seconds] 20160120 15:07:00-!- atarocch [~atarocch@81-208-118-75.ip.fastwebnet.it] has quit [Remote host closed the connection] 20160120 15:26:58-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160120 15:27:20-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Client Quit] 20160120 15:28:26-!- horrowind [~Icedove@2a02:810a:8b00:1a54:21b:fcff:fee3:c3ff] has joined #wesnoth-dev 20160120 15:49:26-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has joined #wesnoth-dev 20160120 15:54:42-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has quit [Ping timeout: 272 seconds] 20160120 16:05:00-!- wedge010 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has joined #wesnoth-dev 20160120 16:06:26-!- wedge009 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has quit [Ping timeout: 240 seconds] 20160120 16:06:26-!- wedge010 is now known as wedge009 20160120 16:15:41-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 276 seconds] 20160120 16:28:18-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160120 16:29:33-!- gfgtdf [~chatzilla@f050182144.adsl.alicedsl.de] has joined #wesnoth-dev 20160120 16:30:11< gfgtdf> just comfirmed thats its at least 11 files you have to edit to add a new gui2 widget.... 20160120 16:33:27-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 16:34:13-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160120 16:34:21-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 16:42:14-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has quit [Ping timeout: 256 seconds] 20160120 16:50:14-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has joined #wesnoth-dev 20160120 16:54:44-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has quit [Ping timeout: 250 seconds] 20160120 17:03:23-!- Kwandulin [~Miranda@p200300760F692499A915BDBDE5C93197.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160120 17:03:50-!- boucman_work [~jrosen@wesnoth/developer/boucman] has quit [Ping timeout: 250 seconds] 20160120 17:28:26-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20160120 17:38:22-!- travis-ci [~travis-ci@ec2-54-87-28-12.compute-1.amazonaws.com] has joined #wesnoth-dev 20160120 17:38:23< travis-ci> gfgtdf/wesnoth-old#587 (gui2_combobox - 0cafcbf : gfgtdf): The build has errored. 20160120 17:38:23< travis-ci> Build details : https://travis-ci.org/gfgtdf/wesnoth-old/builds/103631925 20160120 17:38:24-!- travis-ci [~travis-ci@ec2-54-87-28-12.compute-1.amazonaws.com] has left #wesnoth-dev [] 20160120 17:40:37-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has joined #wesnoth-dev 20160120 17:41:28-!- travis-ci [~travis-ci@ec2-54-234-158-7.compute-1.amazonaws.com] has joined #wesnoth-dev 20160120 17:41:29< travis-ci> gfgtdf/wesnoth-old#588 (gui2_combobox - 68d20d8 : gfgtdf): The build was fixed. 20160120 17:41:29< travis-ci> Build details : https://travis-ci.org/gfgtdf/wesnoth-old/builds/103647115 20160120 17:41:30-!- travis-ci [~travis-ci@ec2-54-234-158-7.compute-1.amazonaws.com] has left #wesnoth-dev [] 20160120 18:01:07-!- irker502 [~irker@uruz.ai0867.net] has joined #wesnoth-dev 20160120 18:01:07< irker502> wesnoth: gfgtdf wesnoth:master ee0591336f68 / src/unit_filter.cpp: use parse() instead of string_to_enum(). https://github.com/wesnoth/wesnoth/commit/ee0591336f68222b9a425f06abeeefa54b23bfe2 20160120 18:01:07< irker502> wesnoth: gfgtdf wesnoth:master 233a2e2d5f16 / src/make_enum.hpp: add a comment https://github.com/wesnoth/wesnoth/commit/233a2e2d5f1659e436ea67be3507ee3b8936033b 20160120 18:01:07< irker502> wesnoth: gfgtdf wesnoth:master 6cf9790c029c / src/gui/ (5 files in 2 dirs): attempt to fix 'mouseover' state not being selected https://github.com/wesnoth/wesnoth/commit/6cf9790c029c7e824ce02b517de3784f7b61b05f 20160120 18:01:09< irker502> wesnoth: gfgtdf wesnoth:master 473941350209 / / (15 files in 10 dirs): comboboxes for gui2 https://github.com/wesnoth/wesnoth/commit/473941350209afd86c22141fc7cb84e5163694d7 20160120 18:01:09< irker502> wesnoth: gfgtdf wesnoth:master 95e43a6fc6d9 / data/gui/default/window/drop_down_list.cfg: make dropdown list width at least the width of the combobox https://github.com/wesnoth/wesnoth/commit/95e43a6fc6d9a0cef785ce358defcddaaedf14c0 20160120 18:01:11< irker502> wesnoth: gfgtdf wesnoth:master 68d20d840953 / src/scripting/lua_gui2.cpp: lua gui get/set_dialog_value take numbers for tselectable_ https://github.com/wesnoth/wesnoth/commit/68d20d8409532d10dcb7fa58a59360c0da764213 20160120 18:01:13< irker502> wesnoth: gfgtdf wesnoth:master 9b44d615feeb / / (23 files in 12 dirs): Merge pull request #583 from gfgtdf/gui2_combobox https://github.com/wesnoth/wesnoth/commit/9b44d615feeb7c67ce9b1a16d6a387422784f5a3 20160120 18:02:10< irker502> wesnoth: gfgtdf wesnoth:master fca8906876c0 / changelog: Update changelog https://github.com/wesnoth/wesnoth/commit/fca8906876c01cb0fc9ffa7a4ee1332680fa6725 20160120 18:03:20-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has joined #wesnoth-dev 20160120 18:04:57< irker502> wesnoth: gfgtdf wesnoth:master eb8159bdefe6 / RELEASE_NOTES: Update RELEASE_NOTES https://github.com/wesnoth/wesnoth/commit/eb8159bdefe6c021e67f40acdd678a44983a1552 20160120 18:10:16-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160120 18:14:47-!- horrowind1 [~Icedove@2a02:810a:8b00:1a54:21b:fcff:fee3:c3ff] has joined #wesnoth-dev 20160120 18:16:07-!- Greywhind [~Greywhind@c-50-133-231-228.hsd1.ma.comcast.net] has joined #wesnoth-dev 20160120 18:21:03-!- Elsi_ [~Elsi@luwin.ulrar.net] has joined #wesnoth-dev 20160120 18:21:32-!- kidneb_ [~kidneb@not.allthetime.xyz] has joined #wesnoth-dev 20160120 18:22:06-!- Netsplit *.net <-> *.split quits: Greywhin1, horrowind, boucman, Elsi, kidneb 20160120 18:22:06-!- horrowind1 is now known as horrowind 20160120 18:22:10-!- kidneb_ is now known as kidneb 20160120 18:22:58-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 18:24:57-!- boucman [~rosen@2a02-8428-034f-f800-81c1-641f-e4c4-b37c.rev.sfr.net] has joined #wesnoth-dev 20160120 18:25:48-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160120 18:35:47-!- Netsplit *.net <-> *.split quits: boucman 20160120 18:37:56-!- Netsplit over, joins: boucman 20160120 18:39:13-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20160120 18:48:23-!- Netsplit *.net <-> *.split quits: boucman 20160120 18:48:46-!- Netsplit over, joins: boucman 20160120 18:50:22< Rhonda> Where are people staying for fosdem? 20160120 18:52:12< irker502> wesnoth: Charles Dang wesnoth:master fb5b4b0e99d8 / projectfiles/CodeBlocks/wesnoth.cbp: Updated codeblocks projfile https://github.com/wesnoth/wesnoth/commit/fb5b4b0e99d8dd968ca02ef4afb45f08a6f383dd 20160120 18:54:29< vultraz> hotel, I assume 20160120 18:54:36< vultraz> might want to talk to fabi 20160120 18:59:11-!- Netsplit *.net <-> *.split quits: boucman 20160120 19:26:20-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20160120 19:29:44-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160120 19:32:40-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Client Quit] 20160120 19:43:17-!- EdB [~edb@89-158-11-138.rev.numericable.fr] has joined #wesnoth-dev 20160120 19:47:21-!- travis-ci [~travis-ci@ec2-54-234-158-7.compute-1.amazonaws.com] has joined #wesnoth-dev 20160120 19:47:22< travis-ci> wesnoth/wesnoth#8273 (master - 9b44d61 : gfgtdf): The build passed. 20160120 19:47:22< travis-ci> Build details : https://travis-ci.org/wesnoth/wesnoth/builds/103664300 20160120 19:47:23-!- travis-ci [~travis-ci@ec2-54-234-158-7.compute-1.amazonaws.com] has left #wesnoth-dev [] 20160120 19:47:45< Ivanovic> Rhonda: i think fabi mentioned booking beds in 2go4 20160120 19:48:08< vultraz> what is that 20160120 19:48:19< Ivanovic> vultraz: kind of a youth hostel 20160120 19:48:59< Ivanovic> just have a look at 2go4.be 20160120 19:49:05< vultraz> different from a hotel? 20160120 19:49:37< Ivanovic> you book single beds and might end in shared dormitories with other people 20160120 19:50:07< Ivanovic> and, typical for youth hostels, the beds have two levels 20160120 19:51:10< vultraz> huh 20160120 19:51:43< Ivanovic> like this: 20160120 19:51:45< Ivanovic> https://media.holidaycheck.com/data/urlaubsbilder/images/41/1157900935.jpg 20160120 19:55:41< vultraz> I did not know this 20160120 20:18:03-!- boucman [~rosen@2a02-8428-034f-f800-81c1-641f-e4c4-b37c.rev.sfr.net] has joined #wesnoth-dev 20160120 20:23:10-!- prkc [~prkc@gateway/vpn/privateinternetaccess/prkc] has quit [Ping timeout: 250 seconds] 20160120 20:24:26-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160120 20:25:37-!- travis-ci [~travis-ci@ec2-54-234-158-7.compute-1.amazonaws.com] has joined #wesnoth-dev 20160120 20:25:38< travis-ci> wesnoth/wesnoth#8274 (master - fca8906 : gfgtdf): The build passed. 20160120 20:25:38< travis-ci> Build details : https://travis-ci.org/wesnoth/wesnoth/builds/103664478 20160120 20:25:39-!- travis-ci [~travis-ci@ec2-54-234-158-7.compute-1.amazonaws.com] has left #wesnoth-dev [] 20160120 20:28:44-!- Netsplit *.net <-> *.split quits: boucman 20160120 20:30:41-!- wedge010 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has joined #wesnoth-dev 20160120 20:31:27< irker502> wesnoth: gfgtdf wesnoth:master 278ac579427b / data/campaigns/Legend_of_Wesmere/scenarios/chapter2/04_The_Elvish_Treasury.cfg: fix LoW scenario4 https://github.com/wesnoth/wesnoth/commit/278ac579427b0287ee546df893c00eefe41b950c 20160120 20:33:01-!- wedge009 [~Thunderbi@60-241-236-92.static.tpgi.com.au] has quit [Ping timeout: 265 seconds] 20160120 20:33:02-!- wedge010 is now known as wedge009 20160120 20:38:26-!- prkc [~prkc@catv-80-98-216-55.catv.broadband.hu] has joined #wesnoth-dev 20160120 20:42:58-!- Netsplit over, joins: boucman 20160120 20:48:09-!- SeamusFD [~SeamusFD@75-120-57-218.dyn.centurytel.net] has joined #wesnoth-dev 20160120 20:48:11-!- SeamusFD [~SeamusFD@75-120-57-218.dyn.centurytel.net] has quit [Client Quit] 20160120 20:51:04-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160120 20:53:28-!- Netsplit *.net <-> *.split quits: boucman 20160120 20:59:32-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 21:05:10-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Ping timeout: 256 seconds] 20160120 21:08:15-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 21:15:12< vultraz> gfgtdf: in order to use the combobox you have to pass a vector via set_values? 20160120 21:16:00< gfgtdf> vultraz: yes. alterntiveley you can pass [option]s in the wml like it was done in the titlescreen erxample 20160120 21:16:07< vultraz> ok 20160120 21:16:57< vultraz> and you do that in preshow? 20160120 21:17:04< vultraz> (set_values) 20160120 21:17:37-!- legoktm_ is now known as legoktm 20160120 21:26:48< gfgtdf> vultraz: y tht can be done in preshow 20160120 21:27:15< gfgtdf> vultraz: actually i didn't test this i only tested the wml method. Still it should work 20160120 21:27:19< vultraz> hm 20160120 21:27:25< vultraz> I'm getting an assert 20160120 21:27:32< vultraz> here assert(static_cast(selected) < values.size()); 20160120 21:28:14< gfgtdf> vultraz: maybe you tried to pass an empty vector? 20160120 21:28:24< vultraz> let me check 20160120 21:32:59-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has joined #wesnoth-dev 20160120 21:34:46< vultraz> gfgtdf: no it's a bug 20160120 21:35:02< vultraz> I think because you call set_values from twidget* tbuilder_combobox::build() const 20160120 21:35:17< vultraz> so if [options] is empty in wml it won't work 20160120 21:35:46< vultraz> i think you should add a check to set_values to make sure the vector isn't empty before you assert the selection 20160120 21:37:16< gfgtdf> vultraz: you mean you get the asseriotn failue in that function when called from ::build ? 20160120 21:37:25< vultraz> I think so 20160120 21:37:37< vultraz> because I removed the call to set_values from my code and still got a failure 20160120 21:37:53< vultraz> and i think that's because i have a [combobox] in my WML, but it has no [options] 20160120 21:38:23< vultraz> gfgtdf: adding a return statement at the beginning of set_values if the vector is empty fixes the bug 20160120 21:38:59< irker502> wesnoth: gfgtdf wesnoth:master 71cb8e01107c / src/gui/auxiliary/window_builder/combobox.cpp: fix assertion failure when using [combobox] with no [option] https://github.com/wesnoth/wesnoth/commit/71cb8e01107c63662ce0685468692df109dff5c1 20160120 21:39:05< gfgtdf> vultraz: try that ^ 20160120 21:45:56< vultraz> building 20160120 21:47:31< celticminstrel> Where is that assert? 20160120 21:47:41< celticminstrel> vultraz: ^ 20160120 21:48:20-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20160120 21:51:39< vultraz> celticminstrel: in combobox.cpp:164 20160120 21:52:35< celticminstrel> ...is there more than one combobox.cpp? 20160120 21:52:42< celticminstrel> What's the full path from src/? 20160120 21:52:50< vultraz> gui/widgets 20160120 21:53:33< celticminstrel> If you ask me, all four of those asserts are suspicious. 20160120 21:53:56< vultraz> gfgtdf: hm pango markup doesn't work with the combobox 20160120 21:54:11-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 264 seconds] 20160120 21:55:16< celticminstrel> In set_selected, if selected is not in the range [0,values_), then you should probably throw an exception or something that allows people writing dialogs in Lua to deal with the problem. 20160120 21:55:41< celticminstrel> Actually, I guess the second assert in that function is fair though. 20160120 21:56:14< vultraz> gfgtdf: even with set_use_markup(true) 20160120 21:56:47< gfgtdf> vultraz: hmm strange, i just copied the code form the button widget 20160120 21:56:56< gfgtdf> vultraz: does pango markup wokr with buttons 20160120 21:57:02< vultraz> I dunno 20160120 21:57:04< vultraz> I never tried 20160120 21:57:10< vultraz> lemme test 20160120 21:57:16< celticminstrel> Similarly, in set_values, if selected is not in the range [0,values.size), it should be an error that can be handled by the caller. 20160120 21:58:21< celticminstrel> I personally don't think you need to care if selected_ is already valid once you've decide to change the value list or current selection, but I suppose it doesn't hurt, probably. 20160120 21:58:51< gfgtdf> celticminstrel: this is an qassert, the reason we ad is asserts is to notice bugs as soon as possible. 20160120 21:58:56< gfgtdf> assert* 20160120 21:59:04< vultraz> gfgtdf: no 20160120 21:59:13< gfgtdf> vultraz: yes 20160120 21:59:24< celticminstrel> But assert is meant for situations that are theoretically impossible. 20160120 21:59:25< gfgtdf> vultraz: or what that an answer to my question eariler? 20160120 21:59:29< vultraz> gfgtdf: i mean no pango doesn't work with buttons 20160120 21:59:38< celticminstrel> select < values.size() is not such a situation. 20160120 21:59:47< vultraz> gfgtdf: even if we don't allow pango on the button text it should be allowed in the dropdown list 20160120 22:00:02< gfgtdf> celticminstrel: yes they are impossible if you call that function it the supported arguments, which are noempty list ans a valid vaue for sleected* 20160120 22:00:35-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has quit [Ping timeout: 240 seconds] 20160120 22:00:37< gfgtdf> vultraz: theis is teh same as vector[647567] crashing if 647567 is out of range. 20160120 22:00:48< gfgtdf> s/ vultraz / celticminstrel 20160120 22:01:08< celticminstrel> This is a function that would theoretically be exposed to the Lua API. You shouldn't be assuming it'll be called with valid arguments. 20160120 22:01:20< vultraz> gfgtdf: i think maybe we should allow pango markup for the combo button tho, since if the vector of options uses it then the button text will to 20160120 22:01:26< gfgtdf> vultraz: currelty the same texts are used for the label texts and the droplist 20160120 22:01:35< vultraz> gfgtdf: yes 20160120 22:01:39< vultraz> that's what I just meant 20160120 22:01:57< vultraz> so i think for this both the button and dropdown should use markup 20160120 22:02:01< gfgtdf> vultraz: so it woudl look bad if we just allow it for once of them 20160120 22:02:14< vultraz> yes I just said that 20160120 22:02:33< gfgtdf> celticminstrel: then the code that exposes that funcion to lua shodul check lus values to be valid 20160120 22:02:48< celticminstrel> :| 20160120 22:03:07< celticminstrel> Well, that approach works, I guess, but this still seems sloppy to me. :/ 20160120 22:04:57< celticminstrel> BTW, passing an empty list with -1 won't trigger the assert. 20160120 22:05:39< celticminstrel> ie set_values({}, -1) 20160120 22:05:50< celticminstrel> (That's even valid syntax in C++11.) 20160120 22:06:24< irker502> wesnoth: gfgtdf wesnoth:master 3983fef8d628 / data/gui/default/macros/_initial.cfg: attempt to fix pango markup for labels and comboboxes https://github.com/wesnoth/wesnoth/commit/3983fef8d628da274152aa80f40f2132f1757fea 20160120 22:06:43< gfgtdf> celticminstrel: did you test that ? 20160120 22:06:51< gfgtdf> vultraz: ^ 20160120 22:06:57< celticminstrel> I haven't compiled it. 20160120 22:07:15< gfgtdf> celticminstrel: well that code casts to unsigned to -1 will become a very high value 20160120 22:07:28< celticminstrel> Ah, you're right. 20160120 22:07:30< vultraz> gfgtdf: that fixes it for the button but not the dropdown list 20160120 22:07:33< celticminstrel> I was overlooking the cast. 20160120 22:07:35< celticminstrel> Sorry. 20160120 22:08:51< gfgtdf> vultraz: hmm seems like hithub welpage commits won't do it for that. Could take a while to have it fixed. 20160120 22:09:52< celticminstrel> I think it's reasonable to have the list inherit the markup state of the button. 20160120 22:10:12< celticminstrel> So the list doesn't need to specify markup state. 20160120 22:11:16< gfgtdf> celticminstrel: y that what i thought aswell 20160120 22:11:18< celticminstrel> Is this combobox going to be used anywhere? 20160120 22:11:49< gfgtdf> celticminstrel: another note: even wihout the static_cast the comparision would be an unsigend comparision becasue the right operand is unsigned 20160120 22:12:03< gfgtdf> celticminstrel: y it cna be used by lua and also in teh preferneces dialog 20160120 22:12:32< vultraz> gfgtdf: i fixed it 20160120 22:12:59< gfgtdf> vultraz: hmm that was fast, how did you do it ? 20160120 22:13:07< vultraz> gfgtdf: http://pastebin.com/atksr5Lq 20160120 22:13:26< celticminstrel> Ah, so it'll be used in the preferences dialog? 20160120 22:13:37< celticminstrel> Could be used to select a theme... 20160120 22:13:51< gfgtdf> vultraz: well with the use_markup willbe always ture, the suggestion was to use inrit use_markup from the combobox 20160120 22:14:05< celticminstrel> BTW, does it allow arbitrary values, or only values from the list? 20160120 22:14:13< celticminstrel> Sounds like it's not actually a combobox. 20160120 22:14:35< vultraz> gfgtdf: hmmm good point 20160120 22:14:41< gfgtdf> vultraz: also: i intentionall write the t_string& label = data["label"]["label"]; outside teh loop becasue its faster (doesnt matter muhc but still) 20160120 22:14:45< gfgtdf> celticminstrel: onyl from the list 20160120 22:14:57< celticminstrel> So it's just a dropdown menu, then, not a combobox. 20160120 22:15:13< celticminstrel> A combobox is a hybrid between a text entry field and some sort of list selection. 20160120 22:15:30< celticminstrel> Usually a listbox, but can be done with menus too. 20160120 22:15:37< gfgtdf> celticminstrel: well, gui11 calles called that widget 'combo' too afaik 20160120 22:16:50< celticminstrel> I see. 20160120 22:20:01-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has joined #wesnoth-dev 20160120 22:29:33< vultraz> celticminstrel: do you think prefs should show the current screen resolution, or only have a button to set it to a specific resolution 20160120 22:29:36< vultraz> or both 20160120 22:30:05< vultraz> (keep in mind res just means dimensions here) 20160120 22:35:09< irker502> wesnoth: gfgtdf wesnoth:master 3cf301e59257 / src/gui/ (dialogs/drop_down_list.cpp dialogs/drop_down_list.hpp widgets/combobox.cpp): fix use_markup in comboboxes https://github.com/wesnoth/wesnoth/commit/3cf301e592572702b7f3eebdbb28eec100af9fd2 20160120 22:35:11< irker502> wesnoth: gfgtdf wesnoth:master 926184fda87b / src/gui/widgets/ (slider.cpp slider.hpp): tslider::set_value_labels now also accepts a function. https://github.com/wesnoth/wesnoth/commit/926184fda87b0f2806d7da498418b4d8c1f5261f 20160120 22:35:15< gfgtdf> vultraz: ^ 20160120 22:36:25< vultraz> C:\Users\Charles\Documents\wesnoth-git\src\gui\widgets\slider.cpp|296|warning: comparison between signed and unsigned integer expressions [-Wsign-compare]| 20160120 22:36:38< vultraz> gfgtdf: but it works, thanks :) 20160120 22:37:48-!- travis-ci [~travis-ci@ec2-54-87-28-12.compute-1.amazonaws.com] has joined #wesnoth-dev 20160120 22:37:49< travis-ci> wesnoth/wesnoth#8276 (master - fb5b4b0 : Charles Dang): The build passed. 20160120 22:37:49< travis-ci> Build details : https://travis-ci.org/wesnoth/wesnoth/builds/103673260 20160120 22:37:50-!- travis-ci [~travis-ci@ec2-54-87-28-12.compute-1.amazonaws.com] has left #wesnoth-dev [] 20160120 22:50:09-!- horrowind [~Icedove@2a02:810a:8b00:1a54:21b:fcff:fee3:c3ff] has quit [Quit: horrowind] 20160120 22:51:06-!- louis94 [~~louis94@16.152-243-81.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 240 seconds] 20160120 22:55:59-!- EdB [~edb@89-158-11-138.rev.numericable.fr] has quit [Quit: Konversation terminated!] 20160120 23:07:38-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160120 23:07:53-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 23:11:32-!- Appleman1234 [~Appleman1@KD119104008053.au-net.ne.jp] has quit [Ping timeout: 256 seconds] 20160120 23:13:39< shadowm> !wss 20160120 23:13:39< shikadibot> shadowm: DNS: Online Web: Online Forums: Online Wiki: Online Add-ons: Online MP #1: Online MP #2: Online MP #3: Online 20160120 23:13:42< shikadibot> shadowm: Last updated: 4 minutes ago 20160120 23:15:30-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has joined #wesnoth-dev 20160120 23:15:31< shadowm> vultraz: I think it should show the current screen resolution (that's why I had that addition in my branch). 20160120 23:16:02< shadowm> It's far more convenient than the log file for checking while in full screen mode. 20160120 23:16:22< vultraz> Alright 20160120 23:16:30< vultraz> I guess I should make the dialog listen to resize events 20160120 23:19:10-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20160120 23:19:24< vultraz> I'm debating whether to make the res chooser dialog use the combobox 20160120 23:20:53< shadowm> That'd be a splendid idea IMNSHO. 20160120 23:21:48< vultraz> what? 20160120 23:22:18-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160120 23:23:16-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Client Quit] 20160120 23:23:29< shadowm> I said, that'd be a splendid idea in my not-so-humble opinion. 20160120 23:24:44-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20160120 23:26:25-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Client Quit] 20160120 23:27:00< vultraz> https://www.dropbox.com/s/77bwbcf5gmmu2iw/prefscombobox.PNG?dl=0 20160120 23:29:02< vultraz> Only problem is the largest label is just about too big for the button 20160120 23:29:53< shadowm> 9999x9999 (999:999) ? 20160120 23:30:01< shadowm> I don't think that can possibly be excessive. 20160120 23:30:47< shadowm> Also, it looks like the ratio is displayed in a smaller font for some weird reason? 20160120 23:30:54< vultraz> My doing 20160120 23:30:55< gfgtdf> vultraz: you can egher wokr aroudn that with a the minimum size hack, or maybe make teh button ellipse its text 20160120 23:31:00< shadowm> Don't do it then. 20160120 23:31:27< gfgtdf> i like it with that smaller font 20160120 23:31:37< shadowm> Just looking at the button label shows how that is an objectively bad idea. 20160120 23:32:23-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160120 23:32:47< shadowm> Also, if you are going to have the combo box then you don't need the label to the left. 20160120 23:33:22< gfgtdf> shadowm: like celticminstrel said before its not really a combobox. 20160120 23:33:38< shadowm> I have been aware of this for years and I'm still calling it a combo box. 20160120 23:34:01-!- ancestral [~ancestral@97-116-184-84.mpls.qwest.net] has joined #wesnoth-dev 20160120 23:34:11< gfgtdf> shadowm: y but you cant put arbitary values in like liek the current resolution 20160120 23:34:40< vultraz> limitations of GUI2 20160120 23:35:15< gfgtdf> well sur you coudl add the one as single extra entry when creating teh dialog 20160120 23:35:24< shadowm> That's obviously what I was thinking of. 20160120 23:35:25< gfgtdf> dont know if that would be better 20160120 23:35:31< shadowm> Anything else would be ridiculous. 20160120 23:36:10< vultraz> um 20160120 23:36:20< vultraz> what? 20160120 23:36:26< shadowm> And that's only ever necessary in windowed mode anyway, where the resolution is an arbitrary value >= 800x480. 20160120 23:36:55< shadowm> In fullscreen mode and in windowed modes that match the supported resolutions table, there isn't a need for the extra entry. 20160120 23:37:12< shadowm> i.e. because it's already part of the list. 20160120 23:37:37< gfgtdf> shadowm: well in fullscreen that is onyl teh case if you have one of the hardcoded resolutions 20160120 23:37:53< shadowm> *Hardcoded*? 20160120 23:37:54< vultraz> there are no hardcoded resolutions 20160120 23:38:11< shadowm> We are using SDL 2 now. Surely SDL 2 can still detect supported resolutions and report them via function call. 20160120 23:38:12< vultraz> hardcoded was so sdl1.2 20160120 23:38:27< vultraz> yes 20160120 23:38:28< gfgtdf> hmm i thought that list shows there was hardcoed in c++ code? 20160120 23:38:30< vultraz> we have a function for that 20160120 23:38:40< shadowm> Even SDL 1.2 had a function for this. 20160120 23:38:53< shadowm> Something something SupportedVideoModes(). 20160120 23:39:20< shadowm> SDL_ListModes(). 20160120 23:39:52-!- louis94 [~~louis94@13.149-243-81.adsl-dyn.isp.belgacom.be] has joined #wesnoth-dev 20160120 23:40:46 * vultraz is not sure how to insert the current resolution into the list vector at the appropriate place 20160120 23:41:07< vultraz> maybe just append it and then sort it 20160120 23:41:07< gfgtdf> y i just saw this code and assumed that it was used by default https://github.com/wesnoth/wesnoth/blob/master/src/video.cpp#L883 20160120 23:41:09-!- horrowind [~Icedove@2a02:810a:8b00:1a54:21b:fcff:fee3:c3ff] has joined #wesnoth-dev 20160120 23:42:06< shadowm> vultraz: http://en.cppreference.com/w/cpp/container/vector/insert 20160120 23:42:29< shadowm> Inefficient? Yes, but it's not like you are doing this in a loop that runs 1,000 times every 500 milliseconds. 20160120 23:42:36< vultraz> ok, but how do I get the specific position 20160120 23:42:40< vultraz> i mean 20160120 23:42:42< vultraz> the right one 20160120 23:42:51< vultraz> hm 20160120 23:42:53< vultraz> idea.. 20160120 23:42:56< shadowm> Are you familiarized with the iterators concept? 20160120 23:43:13< vultraz> Not very 20160120 23:43:13-!- Greg-Boggs [~greg_bogg@173.240.241.83] has quit [Remote host closed the connection] 20160120 23:43:29< vultraz> It's still very confusing to me 20160120 23:43:45< shadowm> Oh man. 20160120 23:43:56< vultraz> I basically think of it as a function that goes through a list 20160120 23:44:01< vultraz> But I'm sure that's wrong 20160120 23:44:07< shadowm> No. 20160120 23:44:28< shadowm> I was going to get to the point but then you gave me an answer that shows that you don't have a foundation I can work with. 20160120 23:44:38< shadowm> Maybe celticminstrel can give you the "iterator talk". 20160120 23:45:02-!- Greg-Boggs [~greg_bogg@173.240.241.83] has joined #wesnoth-dev 20160120 23:46:06< shadowm> (DON'T READ THIS IF YOU ARE VULTRAZ: std::vector iterators are random access iterators, which means that you can take i + n (n signed integer) to obtain the iterator n steps away from i in whichever direction the sign dictates. This means that v.begin() + v.size() is equivalent to v.end().) 20160120 23:46:32< shadowm> (The rest of the answer is left as homework for the reader.) 20160120 23:46:43-!- horrowind [~Icedove@2a02:810a:8b00:1a54:21b:fcff:fee3:c3ff] has quit [Quit: horrowind] 20160120 23:47:58< shadowm> But seriously, if you are doing _this_ stuff, you should either know iterators or go back and learn iterators. 20160120 23:48:08< shadowm> There is no third option. 20160120 23:55:34< vultraz> what is THIS stuff --- Log closed Thu Jan 21 00:00:16 2016