From demitar at worldforge.org Sun Feb 17 02:14:10 2008 From: demitar at worldforge.org (Anders Petersson) Date: Sun, 17 Feb 2008 11:14:10 +0100 Subject: [WF-General] Suppressing ember type conversion warnings on the autobuilder Message-ID: <1203243250.26900.16.camel@rose> To improve the SNR on the autobuilder I'm slowly looking through what errors and warnings that can be fixed on the autobuilder[1]. Currently ember has a lot (and only) type conversion warnings*, mostly float to int. As I understand it most of these are from ogre and it's extensions rather than from code maintained in ember, in that light it would make sense to suppress those. * http://yellow.worldforge.org/trurl/generated/build_logs_2008_02_16_001_ember.log.make_all.html Most are of the form OgrePagingLandScapeSceneManager.cpp:1071: warning: passing 'const Ogre::Real' for argument 1 to 'bool Ogre::PagingLandScapeData2DManager::reload(unsigned int, unsigned int)' and source/BatchedGeometry.cpp:465: warning: converting to 'Ogre::uint8' from 'float' . The idea is to suppress any matching (OgrePagingLandScapeSceneManager.cpp|...):\d: warning: passing '.*(float|real).*' for argument \d to '.*' and (source/BatchedGeometry.cpp|...):\d: warning: converting to '.*' from '.*(float|real).*' . Ie suppressing warnings about implicit conversions to/from float only in specific files. Any thoughts? And are there any files currently listing warnings that should not be suppressed? [1] http://yellow.worldforge.org/trurl/ /Anders From erik.hjortsberg at iteam.se Sun Feb 17 06:10:17 2008 From: erik.hjortsberg at iteam.se (Erik Hjortsberg) Date: Sun, 17 Feb 2008 15:10:17 +0100 Subject: [WF-General] Suppressing ember type conversion warnings on the autobuilder In-Reply-To: <1203243250.26900.16.camel@rose> References: <1203243250.26900.16.camel@rose> Message-ID: <93BE8A5F0814E64D8CEDC34CA57B764A012E006498@brun.iteam.local> Hi, yes, the warnings of implicit conversions in the third party components are not something I plan on devoting any time to, so it's perhaps better if they were ignored. If it were possible to match against the full path, i.e. src/components/ogre/environment/pagedgeometry and src/components/ogre/SceneManagers/EmberPagingSceneManager that would be best, but it seems as if those paths aren't written out in the output. I think it would be cumbersome to try to add all individual files, since they are bound to be changed as I upgrade the components from upstreams. Keep the warnings for the other files though since I'll fix those. /erik ________________________________________ Fr?n: general-bounces at mail.worldforge.org [general-bounces at mail.worldforge.org] för Anders Petersson [demitar at worldforge.org] Skickat: den 17 februari 2008 11:14 Till: general at worldforge.org ?mne: [WF-General] Suppressing ember type conversion warnings on the autobuilder To improve the SNR on the autobuilder I'm slowly looking through what errors and warnings that can be fixed on the autobuilder[1]. Currently ember has a lot (and only) type conversion warnings*, mostly float to int. As I understand it most of these are from ogre and it's extensions rather than from code maintained in ember, in that light it would make sense to suppress those. * http://yellow.worldforge.org/trurl/generated/build_logs_2008_02_16_001_ember.log.make_all.html Most are of the form OgrePagingLandScapeSceneManager.cpp:1071: warning: passing 'const Ogre::Real' for argument 1 to 'bool Ogre::PagingLandScapeData2DManager::reload(unsigned int, unsigned int)' and source/BatchedGeometry.cpp:465: warning: converting to 'Ogre::uint8' from 'float' . The idea is to suppress any matching (OgrePagingLandScapeSceneManager.cpp|...):\d: warning: passing '.*(float|real).*' for argument \d to '.*' and (source/BatchedGeometry.cpp|...):\d: warning: converting to '.*' from '.*(float|real).*' . Ie suppressing warnings about implicit conversions to/from float only in specific files. Any thoughts? And are there any files currently listing warnings that should not be suppressed? [1] http://yellow.worldforge.org/trurl/ /Anders _______________________________________________ General mailing list General at mail.worldforge.org http://mail.worldforge.org/lists/listinfo/general From demitar at worldforge.org Sun Feb 17 10:12:10 2008 From: demitar at worldforge.org (Anders Petersson) Date: Sun, 17 Feb 2008 19:12:10 +0100 Subject: [WF-General] cyphesis-C++ patch to silence two warnings Message-ID: <1203271930.26900.26.camel@rose> Two very short fixes for cyphesis-C++, both unused variable warnings, I could commit them or the attached patch could be applied as: forge/servers/cyphesis-C++$ patch -p0 < cyphesis.diff Pasted the key lines inline here. The first hunk commenting the variable declaration the same way the variable use has been. The second commenting an unused static toplevel variable (which if I read my c++ makes the variable file-local and thus should be safe). --- rulesets/LocatedEntity.cpp 28 Jan 2008 23:48:32 -0000 1.13 +++ rulesets/LocatedEntity.cpp 17 Feb 2008 10:25:46 -0000 @@ -189,7 +189,9 @@ } #endif new_loc->makeContainer(); +#if 0 bool was_empty = new_loc->m_contains->empty(); +#endif new_loc->m_contains->insert(this); #if 0 if (was_empty) { --- server/ServerRouting.cpp 28 Jan 2008 23:48:33 -0000 1.68 +++ server/ServerRouting.cpp 17 Feb 2008 10:25:46 -0000 -static bool debug_flag = false; +//static bool debug_flag = false; /Anders -------------- next part -------------- A non-text attachment was scrubbed... Name: cyphesis.diff Type: text/x-patch Size: 1152 bytes Desc: not available Url : http://mail.worldforge.org/pipermail/general/attachments/20080217/33a0c1e5/attachment-0001.bin From demitar at worldforge.org Sun Feb 17 10:20:24 2008 From: demitar at worldforge.org (Anders Petersson) Date: Sun, 17 Feb 2008 19:20:24 +0100 Subject: [WF-General] Suppressing libwfut swig warnings Message-ID: <1203272424.26900.34.camel@rose> The generated wfut python bindings raises three warnings about dereferencing type-punned pointers. As it's warnings in code generated directly from swig it might make sense to suppress them, if noone objects I'll go ahead and do that. I'll paste the relevant excerpt below, copied from: http://yellow.worldforge.org/trurl/generated/build_logs_2008_02_17_002_libwfut.log.make_all.html#097 092: swig -python -c++ -interface pyWFUT -I.. -o WFUT.cxx WFUT.i 093: /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/python2.5 -g -O2 -Wall -DTIXML_USE_STL=1 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -MT WFUT.lo -MD -MP -MF .deps/WFUT.Tpo -c -o WFUT.lo WFUT.cxx 094: mkdir .libs 095: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/python2.5 -g -O2 -Wall -DTIXML_USE_STL=1 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -MT WFUT.lo -MD -MP -MF .deps/WFUT.Tpo -c WFUT.cxx -fPIC -DPIC -o .libs/WFUT.o 096: WFUT.cxx: In function 'int SWIG_AsPtr_std_string(PyObject*, std::string**)': 097: WFUT.cxx:2828: warning: dereferencing type-punned pointer will break strict-aliasing rules 098: WFUT.cxx: In function 'int SWIG_AsVal_bool(PyObject*, bool*)': 099: WFUT.cxx:3090: warning: dereferencing type-punned pointer will break strict-aliasing rules 100: WFUT.cxx:3093: warning: dereferencing type-punned pointer will break strict-aliasing rules /Anders From demitar at worldforge.org Sun Feb 17 10:28:37 2008 From: demitar at worldforge.org (Anders Petersson) Date: Sun, 17 Feb 2008 19:28:37 +0100 Subject: [WF-General] Suppressing ember type conversion warnings on the autobuilder In-Reply-To: <93BE8A5F0814E64D8CEDC34CA57B764A012E006498@brun.iteam.local> References: <1203243250.26900.16.camel@rose> <93BE8A5F0814E64D8CEDC34CA57B764A012E006498@brun.iteam.local> Message-ID: <1203272917.26900.41.camel@rose> s?n 2008-02-17 klockan 15:10 +0100 skrev Erik Hjortsberg: > If it were possible to match against the full path, [...] that would be best, but it seems as if those paths aren't written out in the output. The solution would be to add richer log parsing and matching structures (basically pushing the current path onto the stack when one runs across it in the log). It shouldn't be too hard once I get time to do so. /Anders From erik.hjortsberg at iteam.se Tue Feb 26 00:11:05 2008 From: erik.hjortsberg at iteam.se (Erik Hjortsberg) Date: Tue, 26 Feb 2008 09:11:05 +0100 Subject: [WF-General] Google Summer of Code Message-ID: <93BE8A5F0814E64D8CEDC34CA57B764A012FC2B609@brun.iteam.local> The google summer of code is starting: http://code.google.com/soc/2008 Previously we've rejected taking part in it, but our need for more developers together with the fact that Thousand Parsecs apparently successfully took part last year http://developers.slashdot.org/comments.pl?sid=466418&cid=22554596 makes it look quite interesting. I'm willing to work as a mentor for Ember. The focus would then be on world authoring tools. Al, you work at google even; what do you think? /erik From kai.blin at gmail.com Tue Feb 26 01:17:52 2008 From: kai.blin at gmail.com (Kai Blin) Date: Tue, 26 Feb 2008 10:17:52 +0100 Subject: [WF-General] Google Summer of Code In-Reply-To: <93BE8A5F0814E64D8CEDC34CA57B764A012FC2B609@brun.iteam.local> References: <93BE8A5F0814E64D8CEDC34CA57B764A012FC2B609@brun.iteam.local> Message-ID: <200802261017.56845.kai.blin@gmail.com> On Tuesday 26 February 2008 09:11:05 Erik Hjortsberg wrote: > http://developers.slashdot.org/comments.pl?sid=466418&cid=22554596 makes it > look quite interesting. I'm willing to work as a mentor for Ember. The > focus would then be on world authoring tools. Al, you work at google even; > what do you think? I've not brought this up so far because I'm not sure how many people we have available for mentoring. I think this would be a pretty cool thing to do. If we can come up with a bunch of project ideas and Al and you have some time to mentor, we should be able to get a slot or two. I'm just checking if it's possible for me to help organizing this, as I'm already program admin for Wine this year. I'm afraid I'm not into WF enough to mentor a student. Cheers, Kai -- Kai Blin WorldForge developer http://www.worldforge.org/ Wine developer http://wiki.winehq.org/KaiBlin Samba team member http://www.samba.org/samba/team/ -- Will code for cotton. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://mail.worldforge.org/pipermail/general/attachments/20080226/5605a69d/attachment.bin From erik.hjortsberg at iteam.se Tue Feb 26 02:19:03 2008 From: erik.hjortsberg at iteam.se (Erik Hjortsberg) Date: Tue, 26 Feb 2008 11:19:03 +0100 Subject: [WF-General] infrastructure information Message-ID: <93BE8A5F0814E64D8CEDC34CA57B764A012FBEEEF0@brun.iteam.local> Hi, Worldforge has quite a large and spread out infrastructure with a many different servers on different locations. Some of these servers are critical for the project, such as the code and media repository, while other aren't quite as critical. But all of them needed in one way or another. We recently had some problems with the media svn server, which made me worry a bit about what backups are in place, where the servers are hosted, who to contact and so on. I've therefore added some extra information to the wiki for the server that I host (amber). I've added information on what services are hosted at that specific server, who's hosting it, what the specs of the machine are and whom to contact about it. Could those that are responsible for the other servers also add similar information? The page is over at http://wiki.worldforge.org/wiki/Coordinators Sincerely Erik Hjortsberg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.worldforge.org/pipermail/general/attachments/20080226/1f4d7701/attachment.html From kai.blin at gmail.com Tue Feb 26 08:42:42 2008 From: kai.blin at gmail.com (Kai Blin) Date: Tue, 26 Feb 2008 17:42:42 +0100 Subject: [WF-General] Google Summer of Code In-Reply-To: <200802261017.56845.kai.blin@gmail.com> References: <93BE8A5F0814E64D8CEDC34CA57B764A012FC2B609@brun.iteam.local> <200802261017.56845.kai.blin@gmail.com> Message-ID: <200802261742.42816.kai.blin@gmail.com> On Tuesday 26 February 2008 10:17:52 Kai Blin wrote: > I'm just checking if it's possible for me to help organizing this, as I'm > already program admin for Wine this year. I'm afraid I'm not into WF enough > to mentor a student. I just touched base with the lady running the show, and I can help on two projects. Cheers, Kai -- Kai Blin WorldForge developer http://www.worldforge.org/ Wine developer http://wiki.winehq.org/KaiBlin Samba team member http://www.samba.org/samba/team/ -- Will code for cotton. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://mail.worldforge.org/pipermail/general/attachments/20080226/47d4e7fe/attachment.bin From erik.hjortsberg at iteam.se Tue Feb 26 09:05:46 2008 From: erik.hjortsberg at iteam.se (Erik Hjortsberg) Date: Tue, 26 Feb 2008 18:05:46 +0100 Subject: [WF-General] Google Summer of Code In-Reply-To: <200802261742.42816.kai.blin@gmail.com> References: <93BE8A5F0814E64D8CEDC34CA57B764A012FC2B609@brun.iteam.local> <200802261017.56845.kai.blin@gmail.com> <200802261742.42816.kai.blin@gmail.com> Message-ID: <93BE8A5F0814E64D8CEDC34CA57B764A012FBEEF3D@brun.iteam.local> What is the process for registering with google then? Do we provide suggestions ourselves for tasks and then wait for people to show interest, or do we provide both tasks and names of the people to perform them? /erik -----Original Message----- From: general-bounces at mail.worldforge.org [mailto:general-bounces at mail.worldforge.org] On Behalf Of Kai Blin Sent: den 26 februari 2008 17:43 To: general at mail.worldforge.org Subject: Re: [WF-General] Google Summer of Code On Tuesday 26 February 2008 10:17:52 Kai Blin wrote: > I'm just checking if it's possible for me to help organizing this, as > I'm already program admin for Wine this year. I'm afraid I'm not into > WF enough to mentor a student. I just touched base with the lady running the show, and I can help on two projects. Cheers, Kai -- Kai Blin WorldForge developer http://www.worldforge.org/ Wine developer http://wiki.winehq.org/KaiBlin Samba team member http://www.samba.org/samba/team/ -- Will code for cotton. From kai.blin at gmail.com Tue Feb 26 10:13:23 2008 From: kai.blin at gmail.com (Kai Blin) Date: Tue, 26 Feb 2008 19:13:23 +0100 Subject: [WF-General] Google Summer of Code In-Reply-To: <93BE8A5F0814E64D8CEDC34CA57B764A012FBEEF3D@brun.iteam.local> References: <93BE8A5F0814E64D8CEDC34CA57B764A012FC2B609@brun.iteam.local> <200802261742.42816.kai.blin@gmail.com> <93BE8A5F0814E64D8CEDC34CA57B764A012FBEEF3D@brun.iteam.local> Message-ID: <200802261913.27314.kai.blin@gmail.com> On Tuesday 26 February 2008 18:05:46 Erik Hjortsberg wrote: > What is the process for registering with google then? Do we provide > suggestions ourselves for tasks and then wait for people to show interest, > or do we provide both tasks and names of the people to perform them? We need to appoint a program administrator to sign us up, I can take care of that. We need a list of ideas, ideally on the wiki. We should prominently link that from the front page. We need mentors for the ideas we suggest. Then we wait for Google to decide if we can participate and then wait for students to apply. We then need to rate the proposals and Google selects how many slots we get. Cheers, Kai -- Kai Blin WorldForge developer http://www.worldforge.org/ Wine developer http://wiki.winehq.org/KaiBlin Samba team member http://www.samba.org/samba/team/ -- Will code for cotton. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://mail.worldforge.org/pipermail/general/attachments/20080226/b21dda87/attachment.bin From demitar at worldforge.org Tue Feb 26 10:18:42 2008 From: demitar at worldforge.org (Anders Petersson) Date: Tue, 26 Feb 2008 18:18:42 +0000 Subject: [WF-General] infrastructure information In-Reply-To: <93BE8A5F0814E64D8CEDC34CA57B764A012FBEEEF0@brun.iteam.local> References: <93BE8A5F0814E64D8CEDC34CA57B764A012FBEEEF0@brun.iteam.local> Message-ID: <1204049922.14506.35.camel@rose> tis 2008-02-26 klockan 11:19 +0100 skrev Erik Hjortsberg: > Could those that are responsible for the other servers also add > similar information? > > The page is over at http://wiki.worldforge.org/wiki/Coordinators Good call reminding us about that page. I've added a list of services and updated some information regarding myself, bear and anubis. And let's not get confused with the term "coordinators", at least when it comes to infrastructure. It's very useful to have a list of people that are likely to be able to do something about things that come up. Oh, and let's try to remember to provide at least one non-wf email address. /Anders From erik.hjortsberg at iteam.se Tue Feb 26 12:06:59 2008 From: erik.hjortsberg at iteam.se (Erik Hjortsberg) Date: Tue, 26 Feb 2008 21:06:59 +0100 Subject: [WF-General] Google Summer of Code In-Reply-To: <200802261913.27314.kai.blin@gmail.com> References: <93BE8A5F0814E64D8CEDC34CA57B764A012FC2B609@brun.iteam.local> <200802261742.42816.kai.blin@gmail.com> <93BE8A5F0814E64D8CEDC34CA57B764A012FBEEF3D@brun.iteam.local>, <200802261913.27314.kai.blin@gmail.com> Message-ID: <93BE8A5F0814E64D8CEDC34CA57B764A012FC2B60A@brun.iteam.local> If you could take care of that it would be great. I think we could base our ideas on this: https://blueprints.launchpad.net/worldforge/ , either by expanding on any one of the current blueprints or adding new ones. I can mentor on any Ember ideas. /erik ________________________________________ Fr?n: general-bounces at mail.worldforge.org [general-bounces at mail.worldforge.org] för Kai Blin [kai.blin at gmail.com] Skickat: den 26 februari 2008 19:13 Till: general at mail.worldforge.org ?mne: Re: [WF-General] Google Summer of Code On Tuesday 26 February 2008 18:05:46 Erik Hjortsberg wrote: > What is the process for registering with google then? Do we provide > suggestions ourselves for tasks and then wait for people to show interest, > or do we provide both tasks and names of the people to perform them? We need to appoint a program administrator to sign us up, I can take care of that. We need a list of ideas, ideally on the wiki. We should prominently link that from the front page. We need mentors for the ideas we suggest. Then we wait for Google to decide if we can participate and then wait for students to apply. We then need to rate the proposals and Google selects how many slots we get. Cheers, Kai -- Kai Blin WorldForge developer http://www.worldforge.org/ Wine developer http://wiki.winehq.org/KaiBlin Samba team member http://www.samba.org/samba/team/ -- Will code for cotton.