FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 18 matches
Forum Index
Author Message
  Topic: TTF_SizeText takes a char* instead of an immutable char*
Stanley Pancakes

Replies: 8
Views: 13292

PostForum: Derelict   Posted: Mon Jan 24, 2011 4:02 pm   Subject: TTF_SizeText takes a char* instead of an immutable char*
I doubt it's linear-time, but for the null-termination you are right.

You may edit your local Derelict sources to make TTF_SizeText take 'in char*' instead of 'char*'. It may even help to submit a ...
  Topic: How to avoid command prompt popup?
Stanley Pancakes

Replies: 5
Views: 8670

PostForum: Derelict   Posted: Mon Jan 24, 2011 3:56 pm   Subject: How to avoid command prompt popup?
It will, because this is only needed for optlink, ld won't forgive you. In any case, you cannot do completely platform-independent things with make, alas. Sad That's why they invented cmake and lots of ...
  Topic: Exception thrown on program close
Stanley Pancakes

Replies: 8
Views: 12437

PostForum: Derelict   Posted: Thu Jan 20, 2011 11:07 am   Subject: Exception thrown on program close
One side, off-topic, note. If you're using D2, then scope delcarations are going away from the language. So in this case you're better off with scope(exit). IRC, library replacement was discussed for ...
  Topic: Exception thrown on program close
Stanley Pancakes

Replies: 8
Views: 12437

PostForum: Derelict   Posted: Thu Jan 20, 2011 10:07 am   Subject: Exception thrown on program close
Actually, this is the case. Well, partially, that is.

The reason for this behavior is pretty simple, though not obvious at first glance. You do not manually delete an instance of your class, which ...
  Topic: How to use DerelictGL in Derelict2
Stanley Pancakes

Replies: 4
Views: 23543

PostForum: Derelict   Posted: Tue Dec 28, 2010 11:57 pm   Subject: How to use DerelictGL in Derelict2
Nope, not on Linux with GeForce GTS 450. Though I'm curious about that error message, because I wouldn't expect this function to be in opengl32.dll anyway.
[EDIT: I'll try to dig this up later today ...
  Topic: Segmentation Fault in DerelictSDL
Stanley Pancakes

Replies: 21
Views: 35701

PostForum: Derelict   Posted: Thu Oct 07, 2010 4:19 pm   Subject: Segmentation Fault in DerelictSDL
Hmm, if the error indeed comes from SDL_NumJoysticks, try changing SDL_Init( SDL_INIT_EVERYTHING ) to SDL_Init( SDL_INIT_VIDEO ).
If that helps, then there's some wierdness in joystick subsystem (whi ...
  Topic: Derelict design question
Stanley Pancakes

Replies: 11
Views: 13312

PostForum: Derelict   Posted: Sat Feb 06, 2010 12:53 am   Subject: Derelict design question
Well, there is 'another' solution if it may be considered as such:



template ConstType(T)
{
version(D_Version2)
{
mixin("alias const(T) ConstTy ...
  Topic: New Stuff
Stanley Pancakes

Replies: 12
Views: 11689

PostForum: Derelict   Posted: Wed Feb 03, 2010 12:38 pm   Subject: New Stuff
Wow, that was a great deal of work made!

I've updated the tree and tried to rebuild all of Derelict packages on Linux with DMD 2.039. First of all, dsss yelled at me with this:


Creating import ...
  Topic: OpenCTM
Stanley Pancakes

Replies: 4
Views: 7004

PostForum: Derelict   Posted: Tue Jan 26, 2010 1:58 pm   Subject: OpenCTM
Then I guess current ticket it is.
That additional header doesn't add anything new to the library anyway, so I was concerned more about 'consistency' of binding rather than about preserving all the f ...
  Topic: Derelict2 and D2 'shared'
Stanley Pancakes

Replies: 12
Views: 12476

PostForum: Derelict   Posted: Tue Jan 26, 2010 1:53 pm   Subject: Derelict2 and D2 'shared'

I did some timings:

Without mixin: one mixin: multiple mixins: total:
dmd 3.497s 3.4688 6.7042 3.207 ...
  Topic: Derelict2 and D2 'shared'
Stanley Pancakes

Replies: 12
Views: 12476

PostForum: Derelict   Posted: Mon Jan 25, 2010 7:01 am   Subject: Derelict2 and D2 'shared'

My only real complaint is that it increases compile times.


Well, that's a good point indeed.


The other reason is, templates are just ugly. I've never been one for using them. My backgroun ...
  Topic: OpenCTM
Stanley Pancakes

Replies: 4
Views: 7004

PostForum: Derelict   Posted: Sun Jan 24, 2010 11:48 am   Subject: OpenCTM
I've added a [url=http://www.dsource.org/projects/derelict/ticket/45]ticket with patches.

There is one thing of concern here: OpenCTM is supplied with additional header, openctmpp.h. This header is ...
  Topic: Derelict2 and D2 'shared'
Stanley Pancakes

Replies: 12
Views: 12476

PostForum: Derelict   Posted: Sat Jan 23, 2010 5:36 pm   Subject: Derelict2 and D2 'shared'
As it apparently turned out, mixin("__gshared:") does not do the trick.
I wanted to ask, why are you against templating function declarations? Are there some specific reasons that make you ...
  Topic: OpenCTM
Stanley Pancakes

Replies: 4
Views: 7004

PostForum: Derelict   Posted: Sat Jan 23, 2010 4:43 pm   Subject: OpenCTM
Hello again!

What would you think of adding [url=http://openctm.sourceforge.net/?page=about]OpenCTM support to Derelict2? Shortly speaking, it's a nice and clean C library that allows to work with ...
  Topic: __gshared In Derelict2
Stanley Pancakes

Replies: 4
Views: 7131

PostForum: Derelict   Posted: Sat Jan 23, 2010 5:09 am   Subject: __gshared In Derelict2
No. First, it won't compile because of a missing semicolon after __dummy Smile
And second, well, if we put that semicolon, then we'll get globally shared boolean variable __dummy, and that's all. That ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group