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

Search found 24 matches
Forum Index
Author Message
  Topic: module Version cannot read file 'gtk/Version.d'
ShprotX

Replies: 1
Views: 8333

PostForum: gtkD   Posted: Wed Jun 25, 2008 1:21 pm   Subject: Re: module Version cannot read file 'gtk/Version.d'


+ /usr/bin/rebuild -Idsss_imports/ -I. -S./ -I/usr/include/d -S/usr/lib/ -I/usr/include/d -S/usr/lib -I/home/carl/d/include/d -S/home/carl/d/lib -oqdsss_objs/G -I../ -L-ldl TestWindow.d -ofTestW ...
  Topic: asserts are useless
ShprotX

Replies: 30
Views: 45791

PostForum: gtkD   Posted: Thu Dec 20, 2007 8:29 pm   Subject: asserts are useless
Let's look at the reason, why constructor with gobject as an argument can be called.
1. From within gtkD library. Some method have gotten a null gobject and is trying to wrap it instead of returning ...
  Topic: Building gtkD
ShprotX

Replies: 21
Views: 39285

PostForum: gtkD   Posted: Thu Dec 20, 2007 5:28 pm   Subject: Building gtkD
I am running the latest gdc from lenny (0.25-4.1.2-17) and the codegen bug is still there, so either the devs don't know about this bug, or they haven't been able to fix them. I'll see about contactin ...
  Topic: [BUGFIX] ObjectG.d
ShprotX

Replies: 48
Views: 61199

PostForum: gtkD   Posted: Sun Dec 16, 2007 11:17 am   Subject: [BUGFIX] ObjectG.d
Where should I commit these changes? Anonymous git?
if you are using kaarna's branch then
If you already know git, there's a branch named mob that you can push your changes anonymously.
  Topic: [BUGFIX] ObjectG.d
ShprotX

Replies: 48
Views: 61199

PostForum: gtkD   Posted: Wed Dec 12, 2007 1:31 pm   Subject: [BUGFIX] ObjectG.d

I've learned two version control systems this year, and I'm not going to learn a third one. So, no mercurial or any other system for me, thank you! (I can see why people want to stay away from even ...
  Topic: gtkDgl Compile problem
ShprotX

Replies: 9
Views: 18432

PostForum: gtkD   Posted: Tue Dec 11, 2007 1:44 pm   Subject: gtkDgl Compile problem
http://www.dsource.org/forums/viewtopic.php?p=17796#17796
  Topic: [BUGFIX] ObjectG.d
ShprotX

Replies: 48
Views: 61199

PostForum: gtkD   Posted: Mon Dec 10, 2007 5:57 pm   Subject: [BUGFIX] ObjectG.d
See http://www.dsource.org/forums/viewtopic.php?p=17636#17636

PS: I'm suggesting using mercurial, but kaarna likes git. I don't like git because the only man being able to use it easily is L. Torva ...
  Topic: [BUGFIX] ObjectG.d
ShprotX

Replies: 48
Views: 61199

PostForum: gtkD   Posted: Mon Dec 10, 2007 1:29 pm   Subject: [BUGFIX] ObjectG.d
"Where can I found a working (or stable) copy of the gtkD source codes?" would be a better question. I'm using "git clone git://repo.or.cz/gtkD.git'.
  Topic: Who to build with GDC?
ShprotX

Replies: 8
Views: 18277

PostForum: gtkD   Posted: Sat Dec 08, 2007 7:01 am   Subject: Re: Who to build with GDC?
Gutsy gibbon has gdc 4.1 out-of-box (not to mention Debian Sid). Still gtkD has no mention about gdc in readme and not working with it. Simply linking compd to gdc does not work.
Did anybody built gt ...
  Topic: asserts are useless
ShprotX

Replies: 30
Views: 45791

PostForum: gtkD   Posted: Thu Dec 06, 2007 11:53 am   Subject: asserts are useless
public Widget getImage()
{
// GtkWidget* gtk_button_get_image (GtkButton *button);
return new Widget( gtk_button_get_image(gtkButton) );
}
public W ...
  Topic: asserts are useless
ShprotX

Replies: 30
Views: 45791

PostForum: gtkD   Posted: Wed Dec 05, 2007 2:31 pm   Subject: asserts are useless
But tell me please, is it abnormal for g_object_new to return null if object_type wasn't null? IMHO, it is. But it's not a runtime exception. It's programming mistake.
Oops, it is not a programming m ...
  Topic: asserts are useless
ShprotX

Replies: 30
Views: 45791

PostForum: gtkD   Posted: Wed Dec 05, 2007 12:40 pm   Subject: asserts are useless

In spite of all that, I still disagree with you proposition to check if the variable is null in the constructor because there will be unnicessary operations: class allocation and initialization. Ple ...
  Topic: asserts are useless
ShprotX

Replies: 30
Views: 45791

PostForum: gtkD   Posted: Tue Dec 04, 2007 2:44 pm   Subject: asserts are useless

I'd say that most of the GTK+ bindings use the checking for null approach or similar. And none that I know of throws exceptions. Correct me if I'm wrong.
I'm just thinking again that gtkD should be ...
  Topic: asserts are useless
ShprotX

Replies: 30
Views: 45791

PostForum: gtkD   Posted: Sat Dec 01, 2007 10:15 am   Subject: asserts are useless
It will just cleanly set the newly created object (this) to be null. So. Instead of asserts and exceptions we should just do that, when the incoming gobject is null.
It is C-style to return null. D-s ...
  Topic: Get a character
ShprotX

Replies: 14
Views: 22297

PostForum: General   Posted: Thu Nov 22, 2007 7:38 am   Subject: Get a character
Ok, I will try rebuild this night. But as I am a n00b, can you say me more about using rebuild, or give me some URL with some specifications?
Thank you very much Wink
man rebuild(1) will be more than ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group