State of the Code

Re: State of the Code

Postby oln » 17 Nov 2011, 23:45

I noticed that andrew fenns ogre repository isn't updated for ubuntu oneiric. Ogre 1.7.3 is in the default ubuntu repos now, but CEGUI is still version 0.6 there. So either we should contact him and see if he intends to update, or look at putting cegui 0.7.5 in our own repo. Oneiric also has gcc 4.6 which triggers this bug. So either we need a version that has the fix added, or we have to put a workaround in the code untill the next version of CEGUI is out. (Seems like they are not updating the 0.7 branch any more, so that will take some time.)
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: State of the Code

Postby oln » 27 Nov 2011, 14:00

Tried to contact Andrew Fenn, but I haven't got a reply, so I suppose we need to try to make a CEGUI package for our own repo.
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: State of the Code

Postby svenskmand » 27 Nov 2011, 23:54

I can help with the packaging, if someone knows how to compile it.
Jamendo.com - The best music store on the net, uses CC licenses.
User avatar
svenskmand
OD Moderator
 
Posts: 1850
Joined: 09 Dec 2009, 00:07
Location: Denmark

Re: State of the Code

Postby oln » 28 Nov 2011, 01:27

The easiest is probably to grab the source package from ubuntu precise pangolin or debian unstable.
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: State of the Code

Postby svenskmand » 28 Nov 2011, 23:55

Links? What is precise pangolin?
Jamendo.com - The best music store on the net, uses CC licenses.
User avatar
svenskmand
OD Moderator
 
Posts: 1850
Joined: 09 Dec 2009, 00:07
Location: Denmark

Re: State of the Code

Postby oln » 29 Nov 2011, 00:24

Precise Pangolin is the next ubuntu release. I don't know if the ubuntu people did any changes to it.

There is a download link if you click sid (unstable)/precise under the package name. (I don't know if there is any better way to import the packages.)
http://packages.debian.org/search?keywo ... ection=all
http://packages.ubuntu.com/search?keywo ... ection=all

libcegui-mk2-0.7.5
libcegui-mk2-0.7.5-dbg
libcegui-mk2-dev
libcegui-mk2-doc
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: State of the Code

Postby svenskmand » 29 Nov 2011, 01:10

Ok I can try and take a look at that at some point. I am quite busy this week, but if I find some time I will fix it :) Do you need it right now?
Jamendo.com - The best music store on the net, uses CC licenses.
User avatar
svenskmand
OD Moderator
 
Posts: 1850
Joined: 09 Dec 2009, 00:07
Location: Denmark

Re: State of the Code

Postby oln » 29 Nov 2011, 01:30

There is no haste. I was just thinking it would be nice to have it in order if we are going to try to advertise for help.
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: State of the Code

Postby oln » 16 Mar 2012, 16:37

Just pushed a commit that adds mouse scrolling was implemented by paul424 (a bit sensitive at the moment), and also some potential crash fixes.
(pastebin messed up the formatting, I tried to fix it using the formatter in the IDE I use, but it didn't get everything right.)

I tried running helgrind, to look for thread errors. It was extremly slow, but I atleast noticed and fixed one object that was accessed from both threads, and also saw that another crash cause could be from playing audio from both threads.
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: State of the Code

Postby oln » 16 Mar 2012, 18:03

I think I found the culprit for the crash on my side, and pushed a new commit to fix this. Seems to be stable now.

Creatures from the portal used this function, which resulted in an dangling pointer. (A quick mistake to make.)
{l Code}: {l Select All Code}
Creature& Creature::operator=(CreatureDefinition c2)
{
/*
--
*/
    definition = &c2;
    return *this;
}
User avatar
oln
 
Posts: 1020
Joined: 26 Oct 2010, 22:16
Location: Norway

Re: State of the Code

Postby StefanP.MUC » 16 Mar 2012, 18:28

oln is the hero of the day! :D
Works for me too. Then we can finally get going again.

I can probably start coding next week again (this week only small things if I find some, still not much time currently).
I only need to remember what tasks we had on our todo list. :D I think I will continue with some refactoring work (GameEntity and stuff), upgrading AS to the newest version and maybe, if time allows, replacing the console box by a CEGUI text container.
StefanP.MUC
 

Re: State of the Code

Postby svenskmand » 17 Mar 2012, 14:13

Oln your are the OpenDungeons savior, we praise and love you :D Time to get this ball rolling again :)
Jamendo.com - The best music store on the net, uses CC licenses.
User avatar
svenskmand
OD Moderator
 
Posts: 1850
Joined: 09 Dec 2009, 00:07
Location: Denmark

Who is online

Users browsing this forum: No registered users and 1 guest