View previous topic :: View next topic |
Author |
Message |
uwe
Joined: 05 Apr 2005 Posts: 34 Location: Stuttgart, Germany
|
Posted: Tue Apr 05, 2005 11:17 pm Post subject: How to help? |
|
|
Hello,
now, after I've read all the posts in this forum, I want to help you with developing Ares. But there doesn't seem to be any starting point ("open issues"), nor does the tracker work for Ares. Would anyone be so kind and list some possibilities to participate, so I could look for something I am able to do?
Or isn't that possible until Sean has finished the foundation?
Thanks
uwe |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Fri Apr 29, 2005 11:49 am Post subject: |
|
|
I don't have an answer myself, but my guess is that to help ares, grab the latest code, suggest improvements/functionality, and then implement it if there is a general agreement it is needed, and submit it as a patch.
offtopic:
I think the use of an svn that is more open to other developers would help turn the project from a one-man team that takes suggestions into more of a community effort. |
|
Back to top |
|
|
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Sat Apr 30, 2005 11:18 am Post subject: |
|
|
At the moment, Ares is submission-oriented. I do have a patch or two I've been emailed that need to be applied, but the source is otherwise completely up to date. If you can't get at the SVN, I keep a copy of it here as well:
http://home.f4.ca/sean/d/ares.zip
I'll look into the SVN and see how it's set up. To be perfectly honest, I just checked code into it for the first time about a week ago, and I haven't messed with it much since then. |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Sat Apr 30, 2005 11:54 am Post subject: |
|
|
Sean,
The Ares svn project appears to be password only even for checkout. Even I can't access it, and it currently doesn't show up as a project in the Projects section. So for the rest of us, we will just need to download your zip file.
-JJR |
|
Back to top |
|
|
l0calh05t
Joined: 01 Sep 2005 Posts: 1 Location: Frankfurt a.M.
|
Posted: Thu Sep 01, 2005 12:41 am Post subject: |
|
|
As I don't have any SVN client available and won't be able to install one here, i guess i'll just post my suggestion here.
an implementation of the linux/unix/posix sleep function, as in thread.d nothing is done (didn't test it yet but it's just a port of the GLFW sleep implementation so it should work, but i can't guarantee for it, and since GLFW runs under a BSD license it should be no problem to include it afaik):
Code: |
static void sleep( uint milliseconds )
{
timeval currenttime;
timespec wait;
pthread_mutex_t mutex;
pthread_cond_t cond;
uint dt_sec;
long dt_usec;
gettimeofday(¤ttime, NULL);
dt_sec = cast(long)(milliseconds - dt_sec * 1000) * 1000L;
wait.tv_nsec = (currenttime.tv_usec + dt_usec) * 1000L;
if(wait.tv_nsec > 1000000000L)
{
wait.tv_nsec -= 1000000000L;
dt_sec++;
}
wait.tv_sec = currenttime.tv_sec + dt_sec;
pthread_mutex_init(&mutex, NULL);
pthread_cond_init(&cond, NULL);
pthread_mutex_lock(&mutex);
pthread_cond_timedwait(&cond, &mutex, &wait);
pthread_mutex_unlock(&mutex);
pthread_mutex_destroy(&mutex);
pthread_cond_destroy(&cond);
}
|
|
|
Back to top |
|
|
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Thu Sep 01, 2005 7:56 am Post subject: |
|
|
Thanks! I was wondering if I was going to have to use a condvar for this, and i guess the answer is yes |
|
Back to top |
|
|
|