--- Log opened Mon Oct 12 00:00:30 2009 20091012 00:01:45-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20091012 00:15:32-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has quit [Remote closed the connection] 20091012 00:20:51-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has quit ["Saurian Augur - I'll heal you by 4 hp if you leave next to me"] 20091012 00:28:30< Arc> um, wtf 20091012 00:28:31< Arc> Checking for Boost iostreams library version >= 1.34.1... (cached) no 20091012 00:28:37< Arc> that.. just worked 20091012 00:29:04-!- SonIcco [n=SonIcco@pD9510B1E.dip0.t-ipconnect.de] has joined #wesnoth-dev 20091012 00:33:06< Arc> i didn't change any packages or even svn up.. 20091012 00:36:38-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20091012 00:38:49-!- ilor_ [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20091012 00:41:59-!- happygrue_ [n=George@c-98-223-235-36.hsd1.in.comcast.net] has joined #wesnoth-dev 20091012 00:42:04< Soliton> Arc: try with --config=force. 20091012 00:44:08-!- SonIcco [n=SonIcco@pD9510B1E.dip0.t-ipconnect.de] has quit [Remote closed the connection] 20091012 00:44:15< Arc> but - why would it suddenly stop working? 20091012 00:46:05< Soliton> gnomes. 20091012 00:46:14< Arc> gremlins 20091012 00:47:25-!- ilor_ [n=user@wesnoth/developer/ilor] has quit [Read error: 148 (No route to host)] 20091012 00:57:00-!- ilor [n=user@wesnoth/developer/ilor] has quit [Read error: 113 (No route to host)] 20091012 00:57:06-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit ["......"] 20091012 00:58:36-!- happygrue [n=George@wesnoth/developer/wintermute] has quit [Read error: 113 (No route to host)] 20091012 01:07:39-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit ["WRYYYYYYYYYYYYYYYYYYYY!"] 20091012 01:15:41-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has quit [Remote closed the connection] 20091012 01:17:04-!- Nayela [n=Nayela@cpc3-lich6-0-0-cust673.brhm.cable.ntl.com] has quit [Remote closed the connection] 20091012 01:20:36< Arc> i hate to ask this, but its been hours now trying to figure it out 20091012 01:20:44< Arc> how the hell do you test for the end of an iterator? 20091012 01:26:43-!- alink [n=alink@wesnoth/developer/alink] has quit [Remote closed the connection] 20091012 01:27:10< loonycyborg> wtf is 'end of an iterator'? :P 20091012 01:30:57< Arc> for(; *ch != utf8_text.end(); ++ch ) { 20091012 01:31:04< Arc> i can't figure out how to match 20091012 01:31:11< Arc> it's *NOT* a pointer. a pointer i could evaluate 20091012 01:31:18< Arc> ch!= utf_text.end() would work 20091012 01:31:41< Arc> ignore the pointer dereference 20091012 01:31:43< isaac> without the * 20091012 01:31:47< isaac> yeah 20091012 01:31:53< isaac> ch != utf_text.end() should work 20091012 01:32:01-!- Bellerophon_true [n=chatzill@89.142.149.100] has joined #wesnoth-dev 20091012 01:32:45< Arc> src/font.cpp:125: error: no match for ‘operator!=’ in ‘ch != ((const std::string*)utf8_text)->std::basic_string<_CharT, _Traits, _Alloc>::end [with _CharT = char, _Traits = std::char_traits, _Alloc = std::allocator]()’ 20091012 01:35:34< loonycyborg> What is ch in this context? 20091012 01:35:53< Arc> utf8::iterator ch( 20091012 01:35:53< Arc> utf8_text.begin(), 20091012 01:35:53< Arc> utf8_text.begin(), 20091012 01:35:53< Arc> utf8_text.end()); 20091012 01:38:09< Arc> this is likely my ignorance, i am not very experienced in c++ and this is, well, none of this makes any sense 20091012 01:39:45-!- Appleman1234 [n=Appleman@131.181.101.183] has quit [Read error: 145 (Connection timed out)] 20091012 01:40:41< loonycyborg> utf8::iterator ch( 20091012 01:40:41< loonycyborg> [03:33:39] utf8_text.end(), 20091012 01:40:41< loonycyborg> [03:33:39] utf8_text.begin(), 20091012 01:40:41< loonycyborg> [03:33:39] utf8_text.end()); 20091012 01:41:05-!- Doppp [n=Doppp@c-67-171-96-240.hsd1.pa.comcast.net] has joined #wesnoth-dev 20091012 01:41:17< loonycyborg> That is change first arg from .begin() to .end() 20091012 01:41:50< loonycyborg> That's how an example in utfcpp's documentation does it :P 20091012 01:43:57< Arc> what? 20091012 01:44:20< loonycyborg> Get an end iterator. 20091012 01:45:01< Arc> where do you see that in the docs? 20091012 01:46:23< loonycyborg> In documentation on utf8::iterator 20091012 01:46:54< Arc> oh i see 20091012 01:46:56< Arc> utf8::iterator endit (threechars + 9, threechars, threechars + 9); 20091012 01:47:07< loonycyborg> Yes, that. 20091012 01:47:11< Arc> i tried begin, end, end but not end, begin, end 20091012 01:48:27< Arc> well i managed to not break it, it compiles at least 20091012 01:48:42< Arc> and it runs the same as before 20091012 01:48:56< Arc> but now it doesnt do any ucs2 bull 20091012 01:50:28< Arc> and the 100% pure utf-8 version runs with latin script fine 20091012 01:56:27< Arc> yea for every glyph its rendering all 4 bytes individually 20091012 01:57:11< Arc> is there a c++ equiv to printf to dump variables out to stdout for testing? 20091012 01:59:08< loonycyborg> cout <<, but printf still works. 20091012 02:00:57< Arc> what is the syntax for printf? something screwy like std::printf? 20091012 02:01:29< loonycyborg> printf works exactly the same way as in C. 20091012 02:09:32-!- loonycyborg [n=sergey@wesnoth/developer/loonycyborg] has quit ["Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"] 20091012 02:10:04-!- loonybot [n=loonybot@wesnoth/bot/loonybot] has quit [Remote closed the connection] 20091012 02:15:06-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Remote closed the connection] 20091012 02:16:45-!- stikonas [n=and@bcm-131-111-216-119.girton.cam.ac.uk] has joined #wesnoth-dev 20091012 02:17:34-!- Chusslove [n=Chusslov@217.190.225.115] has quit [Read error: 145 (Connection timed out)] 20091012 02:17:35-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Remote closed the connection] 20091012 02:32:51< Arc> ok ive confirmed its not a rendering issue 20091012 02:33:23< Arc> somewhere in the code 𐑒𐑢𐑦𐑑 becomes БҰБ°БưБр 20091012 02:33:31-!- Chusslove [n=Chusslov@217.190.229.253] has joined #wesnoth-dev 20091012 02:34:33< CIA-13> ivanovic * r39256 /trunk/po/ (wesnoth/hu.po wesnoth-low/hu.po wesnoth-units/hu.po): updated Hungarian translation 20091012 02:35:49-!- Bellerophon_true [n=chatzill@89.142.149.100] has quit ["ChatZilla 0.9.85 [Firefox 3.5.3/20090824101458]"] 20091012 02:39:00< Arc> BAM 20091012 02:39:02< Arc> found it. 20091012 02:45:36< Arc> so the problem is fribidi 20091012 02:45:40< Arc> it mangles the text 20091012 02:47:15< Arc> or at least thats the last piece that mangles the code 20091012 02:48:43-!- ancestral [n=ancestra@166.205.4.56] has joined #wesnoth-dev 20091012 03:21:29-!- esr [n=chatzill@static-71-162-243-5.phlapa.fios.verizon.net] has quit ["ChatZilla 0.9.85 [Firefox 3.0.14/2009090217]"] 20091012 03:38:09< Arc> Andagii: 𐑣𐑧𐑤𐑐 20091012 03:59:47-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has joined #wesnoth-dev 20091012 04:02:30-!- ancestral [n=ancestra@166.205.4.56] has quit [Read error: 131 (Connection reset by peer)] 20091012 04:08:15< Arc> well ive run it all the way down to this - SDL_TTF is broken. 20091012 04:09:05< Arc> its using the right font to render the right text 20091012 04:09:11< Arc> and its using the right method to do it 20091012 04:24:05-!- ancestral [n=ancestra@166.205.4.56] has joined #wesnoth-dev 20091012 04:28:42-!- [Relic] [n=[Relic]@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has joined #wesnoth-dev 20091012 04:30:04< [Relic]> Hello :) 20091012 04:42:40-!- ancestral [n=ancestra@166.205.4.56] has quit ["Get Colloquy for iPhone! http://mobile.colloquy.info/"] 20091012 04:44:21-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has quit ["This computer has gone to sleep"] 20091012 04:50:02-!- Sapient [n=Sapient@wesnoth/developer/sapient] has joined #wesnoth-dev 20091012 04:50:10< Sapient> yo 20091012 04:51:09-!- Ivanovic_ [n=ivanovic@dtmd-4db2ab8b.pool.mediaWays.net] has joined #wesnoth-dev 20091012 04:51:35< [Relic]> :) 20091012 04:54:19< Sapient> : 20091012 04:54:33 * Sapient (ninja smile) 20091012 05:00:12< Arc> ive tested it just about every way possible. the only way this is going to be fixed is by replacing sdl with cairo 20091012 05:00:19< Arc> er sdl-ttf 20091012 05:00:35< Arc> i think i can do it in a fairly seamless manner that doesnt effect anything else 20091012 05:04:33< Sapient> wow, hydrairc doesn't even support pause/timer command in scripts 20091012 05:05:00< Sapient> is there a better open source client out there? 20091012 05:05:29< Sapient> I'm considering testing bersirc or xchat next 20091012 05:07:08-!- Ivanovic [n=ivanovic@wesnoth/developer/ivanovic] has quit [Read error: 110 (Connection timed out)] 20091012 05:09:07-!- Ivanovic_ is now known as Ivanovic 20091012 05:14:53< Sapient> hmm... I guess I could submit a patch for Hydra but it looks like a one man project 20091012 05:20:53< Sapient> ha, for "Scripting language" it has listed "C++" 20091012 05:21:08< Sapient> http://en.wikipedia.org/wiki/Comparison_of_IRC_clients#Features 20091012 06:09:23< Sapient> is any linux user able to test a 1.6 map on the MP forum to see what error it causes? 20091012 06:09:41< Sapient> I am going to try hosting it again 20091012 06:15:52< Arc> um, how do you typecast an argument to a function 20091012 06:17:08< Sapient> depends what type of cast 20091012 06:19:34< Arc> src/font.cpp:622: error: expected primary-expression before ‘<’ token 20091012 06:19:47< Arc> ((sdlsurf->pixels)), 20091012 06:19:51< Arc> this is what im trying to do 20091012 06:20:06< Arc> sdlsurf->pixels is void* but i need unsigned char* 20091012 06:24:37< Arc> src/font.cpp:626: error: invalid conversion from ‘void*’ to ‘unsigned char*’ 20091012 06:27:17< Sirp> Arc: reinterpret_cast(sdlsurf->pixels) 20091012 06:27:58-!- crimson_penguin [n=ben@64.201.60.211] has joined #wesnoth-dev 20091012 06:36:11< Arc> Sirp: that worked :-) 20091012 06:36:38-!- ilor [n=user@aus50.neoplus.adsl.tpnet.pl] has joined #wesnoth-dev 20091012 06:46:05-!- Espreon [n=espreon@wesnoth/developer/espreon] has joined #wesnoth-dev 20091012 07:06:47-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has joined #wesnoth-dev 20091012 07:10:20-!- ilor [n=user@wesnoth/developer/ilor] has quit [Read error: 113 (No route to host)] 20091012 07:33:11-!- ardesh [n=ardesh@port-92-206-23-37.dynamic.qsc.de] has joined #wesnoth-dev 20091012 07:34:57-!- happygrue_ [n=George@c-98-223-235-36.hsd1.in.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 20091012 07:35:10-!- happygrue [n=George@wesnoth/developer/wintermute] has joined #wesnoth-dev 20091012 07:55:36-!- Sirp [n=user@wesnoth/developer/dave] has quit [Read error: 113 (No route to host)] 20091012 08:04:03< Arc> well i got it rendering :-) 20091012 08:04:25< Arc> a lot more work to get it rendering correctly, but pretty close to getting rid of sdl_ttf as a dependency 20091012 08:05:18-!- [Relic] [n=[Relic]@99-58-54-211.lightspeed.milwwi.sbcglobal.net] has quit ["Leaving"] 20091012 08:24:32-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has joined #wesnoth-dev 20091012 08:27:27-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has quit ["This computer has gone to sleep"] 20091012 08:33:47-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has joined #wesnoth-dev 20091012 08:44:06-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20091012 09:05:08< freim> Sapient: irssi 20091012 09:11:41-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has quit [] 20091012 09:13:58< Sapient> freim: ok, thanks 20091012 09:14:04< Sapient> cya later 20091012 09:14:08-!- Sapient [n=Sapient@wesnoth/developer/sapient] has left #wesnoth-dev [] 20091012 09:34:21-!- Espreon [n=espreon@wesnoth/developer/espreon] has quit ["WRYYYYYYYYYYYYYYYYYYYY!"] 20091012 10:03:33-!- wesbot changed the topic of #wesnoth-dev to: string/feature freeze active! | 101 bugs, 238 feature requests, 10 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20091012 10:11:48-!- stikonas [n=and@131.111.216.119] has joined #wesnoth-dev 20091012 10:23:43-!- stikonas [n=and@wesnoth/translator/stikonas] has quit [Remote closed the connection] 20091012 10:26:39-!- Blueblaze [n=nick@adsl-99-171-161-30.dsl.hstntx.sbcglobal.net] has quit [Remote closed the connection] 20091012 10:36:46-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20091012 10:40:29-!- SonIcco [n=SonIcco@pD9510B1E.dip0.t-ipconnect.de] has joined #wesnoth-dev 20091012 10:40:48-!- Doppp [n=Doppp@unaffiliated/doppp] has quit [Read error: 110 (Connection timed out)] 20091012 10:54:25-!- loonybot [n=loonybot@79.139.139.50] has joined #wesnoth-dev 20091012 10:56:13-!- loonycyborg [n=sergey@79.139.139.50] has joined #wesnoth-dev 20091012 11:11:05-!- ilor [n=user@wesnoth/developer/ilor] has quit [Read error: 110 (Connection timed out)] 20091012 11:11:24-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has quit ["This computer has gone to sleep"] 20091012 11:40:34-!- Appleman1234 [n=Appleman@131.181.103.25] has joined #wesnoth-dev 20091012 12:08:47-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has joined #wesnoth-dev 20091012 12:23:06-!- Doppp [n=Doppp@c-67-171-96-240.hsd1.pa.comcast.net] has joined #wesnoth-dev 20091012 12:36:55-!- Bellerophon_true [n=chatzill@BSN-142-62-67.dial-up.dsl.siol.net] has joined #wesnoth-dev 20091012 12:38:16-!- shadowmaster [n=ignacio@wesnoth/developer/shadowmaster] has quit [Remote closed the connection] 20091012 12:38:16-!- shikadibot [n=shikadi@wesnoth/umc-dev/bot/shikadibot] has quit [Remote closed the connection] 20091012 12:38:16-!- AI0867 [n=ai@wesnoth/developer/ai0867] has quit [Remote closed the connection] 20091012 12:38:24-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20091012 12:54:15-!- Appleman1234 [n=Appleman@131.181.103.25] has quit [Read error: 60 (Operation timed out)] 20091012 13:13:05-!- Blarumyrran [n=minaise@81-20-159-197.levira.ee] has joined #wesnoth-dev 20091012 13:49:56-!- Doppp [n=Doppp@unaffiliated/doppp] has quit [Read error: 110 (Connection timed out)] 20091012 14:06:14-!- ilor [n=user@wesnoth/developer/ilor] has joined #wesnoth-dev 20091012 14:07:38< ilor> Ivanovic, mordante, Sirp, others: good news, got an initial okay from my prof on the addon server project, more info on thursday when I'll have to hand in some initial project description but it generally looks okay.\ 20091012 14:08:51< Ivanovic> cool! 20091012 14:37:47-!- DDR_ [n=chatzill@66.183.125.196] has joined #wesnoth-dev 20091012 14:50:00-!- Bellerophon_true [n=chatzill@BSN-142-62-67.dial-up.dsl.siol.net] has quit ["ChatZilla 0.9.85 [Firefox 3.5.3/20090824101458]"] 20091012 14:55:18-!- DDR [n=chatzill@66.183.125.196] has quit [Read error: 110 (Connection timed out)] 20091012 15:32:04-!- Doppp [n=Doppp@c-67-171-96-240.hsd1.pa.comcast.net] has joined #wesnoth-dev 20091012 15:36:23-!- AI0867 [n=ai@wesnoth/developer/ai0867] has joined #wesnoth-dev 20091012 15:40:50-!- SonIcco [n=SonIcco@pD9510B1E.dip0.t-ipconnect.de] has quit [Remote closed the connection] 20091012 15:50:08-!- shikadibot [n=shikadi@wesnoth/umc-dev/bot/shikadibot] has joined #wesnoth-dev 20091012 17:01:22-!- Sirp [n=user@pool-71-164-166-178.dllstx.fios.verizon.net] has joined #wesnoth-dev 20091012 17:07:32-!- euschn [n=chatzill@wesnoth/developer/euschn] has joined #wesnoth-dev 20091012 17:12:33-!- mjs-de [n=mjs-de@vpw.wh.uni-dortmund.de] has quit [Read error: 104 (Connection reset by peer)] 20091012 17:27:12-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20091012 17:40:15-!- Crab_ [i=crab@wesnoth/developer/crab] has joined #wesnoth-dev 20091012 18:00:15-!- allefant [n=elias@80-121-85-163.adsl.highway.telekom.at] has joined #wesnoth-dev 20091012 18:01:44-!- grzywacz [n=grzywacz@wesnoth/developer/grzywacz] has joined #wesnoth-dev 20091012 18:10:40-!- stikonas [n=and@wesnoth/translator/stikonas] has joined #wesnoth-dev 20091012 18:21:42-!- Noyga [n=lame-z@wesnoth/developer/noyga] has joined #wesnoth-dev 20091012 18:21:51-!- Noyga [n=lame-z@wesnoth/developer/noyga] has quit [Read error: 104 (Connection reset by peer)] 20091012 18:26:55-!- Blueblaze [n=nick@99.171.161.30] has joined #wesnoth-dev 20091012 18:28:09< CIA-13> euschn * r39257 /trunk/src/ (playsingle_controller.cpp savegame.cpp): when loading a game, the gamestate is now erased when the load_game_exception is caught, as opposed to before it is thrown. fixes bug #14460 20091012 18:32:23< euschn> shadowmaster, silene: I implemented a fix for https://gna.org/bugs/index.php?14460 , feel free to test it. sorry for the confusion, the assertion in question actually did not show on one of my computers which confused me. 20091012 18:35:02-!- Nayela [n=Nayela@cpc3-lich6-0-0-cust673.brhm.cable.ntl.com] has joined #wesnoth-dev 20091012 18:44:23< CIA-13> ivanovic * r39258 /trunk/ (changelog players_changelog po/wesnoth-aoi/fi.po): 20091012 18:44:23< CIA-13> updated Finnish translation 20091012 18:44:23< CIA-13> reformat changelog entries to only have 80 chars per line 20091012 18:45:27-!- crimson_penguin [n=ben@wesnoth/developer/crimsonpenguin] has joined #wesnoth-dev 20091012 18:46:29-!- Ivanovic changed the topic of #wesnoth-dev to: 1.7.7 planned for Wednesday | string/feature freeze active! | 101 bugs, 238 feature requests, 10 patches | logs: http://irclogs.wesnoth.org/ | Don't paste on IRC! Use a pastebin: http://wesnoth.pastebin.com | http://imagebin.org 20091012 18:49:24< Aethaeryn> Ivanovic: any date on 1.8 yet? 20091012 18:49:30< Aethaeryn> or at least an early RC or something? 20091012 18:49:32< Ivanovic> when many bugs are fixed 20091012 18:49:43-!- EdB [n=edb@149.153.82-79.rev.gaoland.net] has joined #wesnoth-dev 20091012 18:51:02< Aethaeryn> Ivanovic: where's the bugtraker? I forget. 20091012 18:51:09< Ivanovic> bugs.wesnoth.org 20091012 18:53:42-!- ilor [n=user@wesnoth/developer/ilor] has quit [Read error: 113 (No route to host)] 20091012 18:54:21< Aethaeryn> Ivanovic: I get 118 when I filter for category bugs to exclude feature requests. The topic says 101... 20091012 18:54:25< Aethaeryn> https://gna.org/bugs/index.php?go_report=Apply&group=wesnoth&func=browse&set=custom&msort=0&report_id=101&advsrch=0&status_id=1&resolution_id=0&submitted_by=0&assigned_to=0&category_id=101&bug_group_id=0&severity=0&priority=0&summary=&details=&sumORdet=0&history_search=0&history_field=0&history_event=modified&history_date_dayfd=12&history_date_monthfd=10&history_date_yearfd=2009&chunksz=150&spamscore=5&boxoptionwanted=1#options 20091012 18:54:40< Ivanovic> ahh, we don't count every status of bug 20091012 18:54:52< Ivanovic> eg bugs that are marked "fixed" are not counted 20091012 18:55:19< Aethaeryn> how many bugs do you want to get it down to before a release? 20091012 18:55:34< Soliton> 0 20091012 18:56:00< Ivanovic> i want the game in a well usable and stable state 20091012 18:56:07< Ivanovic> there is no clean number indicating this 20091012 18:56:30< Ivanovic> i just know that currently "too much" is broken to say "yeah, we will have the first rc out in two weeks" 20091012 19:04:13< Ivanovic> okay, off for some hours 20091012 19:24:13-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has joined #wesnoth-dev 20091012 19:24:32-!- euschn [n=chatzill@wesnoth/developer/euschn] has quit [Read error: 60 (Operation timed out)] 20091012 19:24:41-!- mordante [n=mordante@wesnoth/developer/mordante] has joined #wesnoth-dev 20091012 19:25:01-!- boucman [n=rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20091012 19:25:08< mordante> servus 20091012 19:25:19< boucman> hey all 20091012 19:25:30< mordante> hi boucman 20091012 19:27:27< mordante> happygrue nice post on /. :-) 20091012 19:28:05< happygrue> mordante: thanks :) 20091012 19:28:28< happygrue> It was nice to see all the followups saying what a great game Wesnoth is :) 20091012 19:29:21< boucman> happygrue: url plz ? 20091012 19:31:03< mordante> boucman, http://linux.slashdot.org/comments.pl?sid=1400747&cid=29715137 20091012 19:31:15-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [Read error: 131 (Connection reset by peer)] 20091012 19:31:18< happygrue> ha, I'm seconds late 20091012 19:31:44< mordante> happygrue, indeed also this post http://linux.slashdot.org/comments.pl?sid=1400747&cid=29715147 20091012 19:31:46< happygrue> watch for the one guy who said the factions were unbalanced, but it's still a good game ;) 20091012 19:32:19< happygrue> hehe 20091012 19:32:26< happygrue> good reviews from all quarters! 20091012 19:32:50< mordante> yes which nice to see 20091012 19:32:58< happygrue> indeed. 20091012 19:37:37-!- zookeeper [n=l@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20091012 19:46:36< Arc> mordante: how does text.cpp load fonts from fonts/ 20091012 19:46:44< Arc> it seems to open them by name only 20091012 19:52:09< Arc> pango_font_description_set_family(font_, name.c_str()); 20091012 19:52:59< mordante> text.cpp loads them by name, and let pango do the job on the background 20091012 19:53:58< Arc> so pango auto-discovers where they are stored? 20091012 19:56:07< mordante> yes in some earlier version we did something with fontconfig but that seems to be removed 20091012 19:56:59< mordante> Arc, wait that font code is in font.cpp 20091012 19:57:50< mordante> it sets the paths in the constructor of the manager 20091012 19:58:15< mordante> which is a simple helper class which make sure the initialization of the fonts take place 20091012 19:59:34< Arc> but the code in font.cpp loads sdl_ttf fonts 20091012 20:01:04< Arc> oh, i see 20091012 20:01:07< Arc> ok. 20091012 20:01:37< Arc> so im in the process of migrating to std::map font_table; 20091012 20:02:22< Arc> assuming that this code is already loading all the fonts, how do i access them? 20091012 20:02:43< mordante> I added the code there since it had a manager class which causes the initialization to happen automatically and I although the file is indeed mostly sdl_ttf I felt the code more belonged in a font* file 20091012 20:03:11< Arc> well it helps me :-) 20091012 20:03:18< Arc> im stripping all the sdl_ttf stuff out 20091012 20:03:31< mordante> Arc, what do you exactly mean with access them? 20091012 20:03:56< Arc> i mean get a reference to them 20091012 20:06:40< Arc> i assume that open_font is no longer needed, but get_font etc 20091012 20:06:59< mordante> still not entirely sure what you mean but does the code of tfont in text.cpp help you? 20091012 20:08:05< Arc> i dont know, this is a lot of stuff to absorb at once 20091012 20:10:39-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has quit ["This computer has gone to sleep"] 20091012 20:11:26-!- Bellerophon_true [n=chatzill@89.142.62.67] has joined #wesnoth-dev 20091012 20:13:16< boucman> wesbot: log 14405 20091012 20:13:17< wesbot> eleazar * r14405 : better lava-chasm-dwarf castle transitions from mog. 20091012 20:13:20< wesbot> URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=14405 20091012 20:13:29< CIA-13> mordante * r39259 /trunk/src/gui/auxiliary/event/ (distributor.cpp distributor.hpp): 20091012 20:13:29< CIA-13> Do the event recursion prevention properly. 20091012 20:13:29< CIA-13> Found out I forgot to rewrite the code not to use static variables but 20091012 20:13:29< CIA-13> members. Added todo's for two events where I'm not sure whether I need 20091012 20:13:29< CIA-13> recursion prevention. 20091012 20:14:42< boucman> wesbot: log 36601 20091012 20:14:44< wesbot> mordante * r36601 : Fixes teleporting leaving a unit halo.The probkem has been spotted by MJ999, who also provided this patch. I haven'tbeen able to reproduce the problem, but the invalidation should have been therebefore. 20091012 20:14:48< wesbot> URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=36601 20091012 20:16:40-!- mjs-de [n=mjs-de@129.217.129.160] has joined #wesnoth-dev 20091012 20:20:01-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has joined #wesnoth-dev 20091012 20:22:56-!- EdB [n=edb@149.153.82-79.rev.gaoland.net] has quit [Remote closed the connection] 20091012 20:25:52-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has quit ["Saurian Augur - I'll heal you by 4 hp if you leave next to me"] 20091012 20:28:53< Arc> so mordante - how do i either get labels for freefont fonts or cairo fonts 20091012 20:30:58-!- YogiHH [n=chatzill@d029039.adsl.hansenet.de] has joined #wesnoth-dev 20091012 20:31:07< YogiHH> hello 20091012 20:31:20< Soliton> hi 20091012 20:31:21< mordante> hi YogiHH 20091012 20:31:28< YogiHH> Ivanovic: i suppose translateable strings are case sensitive, right? 20091012 20:31:59< Soliton> YES. 20091012 20:32:36< YogiHH> then how can i check if "system time" and "turn time" are already known strings? 20091012 20:32:50< mordante> Arc, do you want a label or a rendered SDL surface? 20091012 20:33:28< mordante> add them and see whether Ivanovic starts to scream at you :-P 20091012 20:33:30< Arc> i want a pointer to the loaded font 20091012 20:33:43< YogiHH> mordante: err - no :) 20091012 20:34:00< mordante> then search in the pot files 20091012 20:34:36< Soliton> neither is known. 20091012 20:35:01< Arc> mordante: im rendering with cairo right now, but its lacking the font switching code. i need to migrate from sdl_ttd fonts to either cairo or freetype font objects 20091012 20:36:41< mordante> Arc, then the code in the tfont class should do what you want text.cpp:403 20091012 20:40:05< CIA-13> jhinrichs * r39260 /trunk/src/replay_controller.cpp: Fixes replays no longer doing single side turns after opening the preferences dialog. 20091012 20:40:41< Soliton> YogiHH: is there a reason why the multiplayer tag (bad name btw cause mp scenarios already use it) is specifically removed from replay_start and not just used from there? the server just writes the whole level (including the multiplayer tag) into replay_start tag and i don't see why that needs to be more complicated. 20091012 20:40:55< Arc> mordante: to.. access or to copy? 20091012 20:41:43< Arc> tfont only seems to be used in one place and i dont see how... anything is specified 20091012 20:42:03< Arc> text.cpp:445 20091012 20:43:12< Arc> i wouldnt even mind using pango instead of cairo directly, part of the problem is fribidi mangles the text up pretty bad 20091012 20:43:41< YogiHH> Soliton: The idea was solely for consistency, that is information that is relevant for both snapshot and replay_start is to be found at root level. Otherwise i had to (unnecessarily) double it for the snapshot or read snapshot information from replay_start. 20091012 20:45:00< Arc> where is tfont being told what font to load? 20091012 20:45:10< Soliton> YogiHH: can we at least fall back to check in replay_start? all the replays the server saved recently don't work presumably because the multiplayer tag isn't found. 20091012 20:46:24< YogiHH> Soliton: Are you talking about the replays prior to the change or is there still a bug? 20091012 20:47:06< Arc> wait .. pango doesnt need to substring, because pango takes a list of fonts to use and does fallback on it's own? 20091012 20:47:14< Soliton> YogiHH: i'm talking about the replays the server saves. replays.wesnoth.org 20091012 20:47:46< mordante> 445 creates an object containing the pointer, it's wrapped in an object so it's always freed properly 20091012 20:48:10< mordante> best use pango, then you don't need to bother with fribidi 20091012 20:48:33< mordante> yes pango should do all the font handling 20091012 20:49:08< YogiHH> Soliton: Hmm, i fear that there were more changes that are incompatible to 1.6. I can try however to fall back to replay_start and if replays load by that, we can keep it that way. 20091012 20:49:51< Arc> yes, ok, lets kill fribidi too. it'll be a double homocide. 20091012 20:50:20< mordante> that was the plan all along ;-) 20091012 20:50:33< Arc> yea im just accelerating the plan, i know 20091012 20:50:45< Arc> i have to say its nice to be able to play the game without square glyphs everywhere 20091012 20:50:52< YogiHH> Soliton: Btw, those older replays don't have [multiplayer] at all, so i will have to allow for it to be missing. 20091012 20:50:56< mordante> I expected that 20091012 20:51:10< Soliton> YogiHH: not sure what that has to do with 1.6. 20091012 20:51:28< Arc> you also have code in text.cpp that correctly does the alpha transformation between cairo and sdl formats 20091012 20:51:35< mordante> Arc, btw there might be one other problem left... SDL uses a 16 bit unicode char for its keyboard events... 20091012 20:51:43< YogiHH> Soliton: oh, i wasn't aware replays.wesnoth.org has trunk replays, too 20091012 20:52:02< Soliton> YogiHH: src/server/game.cpp:save_replay() 20091012 20:52:05< Arc> mordante: yea we'll hit that when it comes to multiuser chat and perhaps the editor :-/ 20091012 20:52:18< Arc> is the plan to eliminate sdl entirely in favor of something like gdk? 20091012 20:52:32< mordante> Arc, yes the code is meant to render a text on an SDL surface without SDL knowing that pangocairo does the rendering 20091012 20:52:34< Arc> gdk has most of what sdl has and works cleaner with cairo 20091012 20:52:46< mordante> no plans in that direction 20091012 20:52:51< Soliton> YogiHH: the point is that it seems silly to remove the multiplayer tag again from replay_start and put it top level. 20091012 20:53:02< Arc> ideas on how to fix the keyboard issue? 20091012 20:53:06< mordante> and I think it will be a very big operation with little gain 20091012 20:53:21< Arc> SDL is a pretty big dependency 20091012 20:54:01< loonycyborg> Arc: It's nothing compared to pango/cairo/glib etc :P 20091012 20:54:07< Arc> reducing dependencies is generally a good thing 20091012 20:54:09< YogiHH> Soliton: hmm, in the end that accounts for all information on root level, doesn't it? 20091012 20:54:30< Arc> loonycyborg: but gdk is tiny compared to sdl 20091012 20:54:59< mordante> are you sure about that? 20091012 20:55:00< Soliton> YogiHH: no idea. i put some stuff in the root level that isn't in the scenario like the game title. 20091012 20:55:01< loonycyborg> I'm not sure whether it's quite the same as sdl.. 20091012 20:55:23< mordante> Arc, the solution is to hope that SDL 1.3 will be released soon... 20091012 20:55:35< Arc> SDL 1.3 fixes it? 20091012 20:56:36< mordante> uses a 32bit unicode field 20091012 20:56:54< mordante> but it hasn't been released yet and no idea how much work porting will be 20091012 20:58:13< Soliton> YogiHH: i just like how simple replay saving on the server side is. i don't know the specifics on the client side. 20091012 21:05:36< boucman> mordante: do you have a second ? 20091012 21:07:47< mordante> boucman, yes 20091012 21:08:03< boucman> nope I thought I had found something, but no... 20091012 21:08:11< mordante> ok 20091012 21:08:29< boucman> i can confirm that commenting halo.cpp:310 fixes the bug, though 20091012 21:08:58< boucman> no idea why... 20091012 21:12:14< mordante> me neither, but it looks odd that that line fixes it :-/ 20091012 21:24:26< boucman> oookay, I think I start to get it... 20091012 21:24:36< boucman> maybe 20091012 21:31:42-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20091012 21:41:42< Arc> mordante: is ttext used anywhere? 20091012 21:41:47< Arc> ive been grepping for it 20091012 21:43:21< mordante> Arc, yes it is, grep -r should be helpful or look at gui/widgets/control.* and gui/auxiliary/canvas.* 20091012 21:45:00< Arc> i looked there, i didnt see it 20091012 21:45:16< Arc> is it just inherited or does anything use it directly? 20091012 21:46:02< mordante> gui/widgets/control.hpp:354 and just ignore the mutable 20091012 21:47:44< Arc> so... what does that do exactly? 20091012 21:47:50< Arc> i don't see it getting called 20091012 21:48:10-!- PK7 [n=pk@r74-192-44-206.vctrcmta01.vctatx.tl.dh.suddenlink.net] has joined #wesnoth-dev 20091012 21:48:16< mordante> mutable allows editing the field when the object is a const object 20091012 21:48:36< Arc> no i mean, I'm trying to figure out how to use ttext and im not finding any real examples of it 20091012 21:48:45< Arc> this code is just all over the place 20091012 21:48:52-!- Blarumyrran [n=minaise@81-20-159-197.levira.ee] has quit [] 20091012 21:49:00< mordante> ilor nice to hear your prof initially accepted the idea 20091012 21:49:24< Arc> i have a string called unistr - i don't understand how to get a sdl surface from unistr and it's font properties 20091012 21:49:50< Arc> ttext seems to provide this but it's too far from C syntax for me to figure out so far 20091012 21:50:20< Arc> you could likely implement it a lot faster than i could 20091012 21:50:36< Arc> do you want me to send a patch with just my utf8-only changes? 20091012 21:51:11< mordante> the control class only uses the ttext_ object to get sizes, it's really used in the canvas 20091012 21:51:16< mordante> see gui/auxiliary/canvas.cpp:870 20091012 21:51:52< Arc> but thats just redefining ttext 20091012 21:52:23< mordante> line 903 gets an SDL surface with the rendered text 20091012 21:52:58< Arc> i just dont understand what you're doing with this, i look at line 769 and I see you defining a different ttext class 20091012 21:53:05< Arc> i don't see font::ttext anywhere 20091012 21:53:17< mordante> if you have a patch, which can be committed best post it at patches.wesnoth.org 20091012 21:53:42< mordante> I see it at line 886 :-P 20091012 21:54:06< Arc> yes but you've worked with this code and are familiar with c++, this is all pseudocode nonsense to me 20091012 21:54:12< Arc> and I work in C-based OO languages 20091012 21:54:46< Arc> why the hell are the pieces of a class not wrapped in the class structure, but defined all over the place as separate objects 20091012 21:54:54< mordante> true but you said you didn't see font::ttext ;-) 20091012 21:55:41< mordante> to separate the declaration and definition, just like C 20091012 21:56:01< Arc> i still don't see it. i dont see how you're invoking font:ttext 20091012 21:56:32< Arc> i'm looking for something like sdl_surface = font::ttext.render_surface(string, style, size); 20091012 21:57:03< mordante> line 886 creates the object all lines after that which use text_renderer.foo are calline font::ttext.foo 20091012 21:57:31-!- giusef [n=giusef@unaffiliated/giusef] has joined #wesnoth-dev 20091012 21:57:32< mordante> line 893 and following set the parameters for the text 20091012 21:58:03< mordante> line 903 calls the render function which returns the surface 20091012 21:58:06< Arc> im sorry i can't do this, i don't understand how the pieces fit together. it would take me days to figure this out when it would take you perhaps minutes 20091012 21:58:15< Arc> i'll submit my utf-8 patch 20091012 21:58:39< mordante> Arc, the basic way is 20091012 21:58:52< mordante> font::ttext foo; 20091012 21:59:04-!- shadowmaster [n=ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20091012 21:59:25< mordante> foo.set_font_size(font_size); 20091012 21:59:51< mordante> foo.set_text(text, false); // true would use pango markup 20091012 22:00:13< mordante> foo.set_font_style(font_style_); 20091012 22:00:28< mordante> surface surf = foo.render(); 20091012 22:02:29-!- noy [n=Noy@wesnoth/developer/noy] has quit [] 20091012 22:02:38< shadowmaster> hi 20091012 22:03:02< Arc> color? 20091012 22:03:56< mordante> foo.set_foreground_colour(colour_); 20091012 22:03:59< mordante> hi shadowmaster 20091012 22:04:50< shadowmaster> yes, I'll test your fix to #14458 part 2 but I first need to compile this monster 20091012 22:05:30< mordante> ok 20091012 22:07:43< mordante> I'm off night 20091012 22:08:31-!- mordante [n=mordante@wesnoth/developer/mordante] has quit ["Leaving"] 20091012 22:09:42-!- allefant [n=elias@allegro/developer/allefant] has quit ["Leaving"] 20091012 22:11:43< shadowmaster> mordante: doesn't work. 20091012 22:12:04< shadowmaster> shikadibot: log HEAD 20091012 22:12:06< shikadibot> Revision 39260 (jhinrichs, 2009-10-12 18:39:50 +0000 (Mon, 12 Oct 2009)): 20091012 22:12:09< shikadibot> Fixes replays no longer doing single side turns after opening the preferences dialog. 20091012 22:12:13< shikadibot> Web interface URL: http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=39260 20091012 22:12:20< shadowmaster> and yes, I'm using HEAD. 20091012 22:22:06< boucman> mordante : this bug is getting more and more confusing... we'll need to discuss this halo rendering stuff together... 20091012 22:22:50< boucman> in particular, the refresh act very weird with haloes... it seems the per-hex invalidation is correct but somehow there is a second "square" invalidation of haloes which behave very weird 20091012 22:23:03< boucman> in particular it has a very strange way of interacting with :sunset 20091012 22:24:27-!- Zarel [n=Zarel@warzone2100/developer/Zarel] has quit ["This computer has gone to sleep"] 20091012 22:25:26-!- giusef [n=giusef@unaffiliated/giusef] has quit ["exit (-1);"] 20091012 22:38:08-!- boucman [n=rosen@wesnoth/developer/boucman] has quit ["Leaving."] 20091012 22:40:49-!- Doppp [n=Doppp@unaffiliated/doppp] has quit [Connection timed out] 20091012 22:41:36-!- zookeeper [n=l@wesnoth/developer/zookeeper] has quit [] 20091012 22:44:37-!- kitty_ [n=kitty@e180201217.adsl.alicedsl.de] has joined #wesnoth-dev 20091012 22:46:16-!- lizard_r [n=Miranda@wesnoth/umc-dev/developer/lizard] has joined #wesnoth-dev 20091012 23:07:26-!- SonIcco [n=SonIcco@pD951109C.dip0.t-ipconnect.de] has joined #wesnoth-dev 20091012 23:11:09-!- ancestral [n=ancestra@166.205.4.56] has joined #wesnoth-dev 20091012 23:19:47-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has quit [Read error: 104 (Connection reset by peer)] 20091012 23:22:03-!- Aethaeryn [n=Michael@wesnoth/umc-dev/developer/aethaeryn] has joined #Wesnoth-dev 20091012 23:25:11-!- Blueblaze [n=nick@99.171.161.30] has quit [Remote closed the connection] 20091012 23:25:48-!- YogiHH [n=chatzill@d029039.adsl.hansenet.de] has left #wesnoth-dev [] 20091012 23:26:28-!- DDR_ is now known as DDR 20091012 23:37:24-!- ancestral [n=ancestra@166.205.4.56] has quit ["Get Colloquy for iPhone! http://mobile.colloquy.info/"] 20091012 23:43:23< Ivanovic> re 20091012 23:46:24-!- _rtfb [n=read-the@78-56-0-35.static.zebra.lt] has joined #wesnoth-dev 20091012 23:48:26-!- rtfb [n=read-the@78-56-0-35.static.zebra.lt] has quit [Read error: 110 (Connection timed out)] 20091012 23:51:03-!- noy [n=Noy@wesnoth/developer/noy] has joined #wesnoth-dev 20091012 23:57:48< CIA-13> ivanovic * r39261 /trunk/po/ (wesnoth/de.po wesnoth-lib/de.po wesnoth-units/de.po): updated German translation --- Log closed Tue Oct 13 00:00:40 2009