Do you get a compile time error or runtime error?
Compiling using dmd...
source/document.d(79): Error: function
foundation.array.NSArray.arrayWithObjects (ObjcObject object,
...) is not callable using argument types (Class, Class,
typeof(null))
compile time.
hmm, a class object is of
I'm wondering how I should deal with overriding designated
initailizers. I really have no clue about the part self =
[super...]. KeyboardView is a subclass of NSView.
@implementation KeyboardView
- (id)initWithFrame:(NSRect)frame {
self = [super initWithFrame:frame];
if (self) {
15.11.2014 07:48, Rikki Cattermole пишет:
To further Devisualization, I have got the start of an image library.
It should be fairly interface complete now.
For this I really could use help from anyone with experience with PNG
especially with Adam7 interlacing and color correction such as gamma.
On 18/11/2014 10:37 p.m., Timur Gafarov wrote:
15.11.2014 07:48, Rikki Cattermole пишет:
To further Devisualization, I have got the start of an image library.
It should be fairly interface complete now.
For this I really could use help from anyone with experience with PNG
especially with Adam7
On Tuesday, 18 November 2014 at 10:04:15 UTC, Rikki Cattermole
wrote:
However by the looks of things, you definitely have better
quality code.
At the very least some way to convert between the two e.g.
SuperImage and my Image would be worth it.
Please consider the abstraction in
Speaking of drawing, I have a very serious problem wit NSView. I
cannot call frame() nor bounds() on instances or subclasses and
get a valid NSRect. (same goes for NSWindow frame()).
I had similar problems when working with NSAttributedString and
NSRange, because NSRange from Chocolat was
On 2014-11-18 09:46, Christian Schneider wrote:
Compiling using dmd...
source/document.d(79): Error: function
foundation.array.NSArray.arrayWithObjects (ObjcObject object, ...) is
not callable using argument types (Class, Class, typeof(null))
compile time.
hmm, a class object is of course not
On 2014-11-18 10:07, Christian Schneider wrote:
I'm wondering how I should deal with overriding designated
initailizers. I really have no clue about the part self = [super...].
KeyboardView is a subclass of NSView.
@implementation KeyboardView
- (id)initWithFrame:(NSRect)frame {
self =
On 2014-11-18 13:47, Christian Schneider wrote:
Speaking of drawing, I have a very serious problem wit NSView. I cannot
call frame() nor bounds() on instances or subclasses and get a valid
NSRect. (same goes for NSWindow frame()).
I had similar problems when working with NSAttributedString and
On 11/17/14 4:41 PM, Martin Nowak wrote:
Second part on my series to reduce vibe.d turnaround time.
In this part we'll reduce compilation time by 60%.
https://code.dawg.eu/reducing-vibed-turnaround-time-part-2-less-compiling.html
Just quickly (finally) announcing the release of the next vibe.d
version. This one was originally scheduled for start of
September, but I got extremely busy with no time left for tidying
everything up.
The list of changes is long with notable improvements to the web
interface generator, the
On 11/17/2014 4:41 PM, Martin Nowak wrote:
Second part on my series to reduce vibe.d turnaround time.
In this part we'll reduce compilation time by 60%.
https://code.dawg.eu/reducing-vibed-turnaround-time-part-2-less-compiling.html
-Martin
Should say in the title that you reduced build times
On 11/17/2014 4:41 PM, Martin Nowak wrote:
Second part on my series to reduce vibe.d turnaround time.
In this part we'll reduce compilation time by 60%.
https://code.dawg.eu/reducing-vibed-turnaround-time-part-2-less-compiling.html
-Martin
There's no mention of your name as author in the
Compiling using dmd...
source/document.d(79): Error: function
foundation.array.NSArray.arrayWithObjects (ObjcObject object,
...) is
not callable using argument types (Class, Class, typeof(null))
Hmm, I don't know. Can you use a cast to get around the
problem? Perhaps use a variadic template
Could it be this issue [1]? Can you please see if you can
reproduce it using just plain C.
https://issues.dlang.org/show_bug.cgi?id=5570
Uh, oh, that bug looks like a major annoyance in 64bit! I made a
few checks, all appkit methods returning a NSRect currently
produce a runtime segfault.
On 11/18/2014 08:34 PM, Walter Bright wrote:
Should say in the title that you reduced build times by 60%. Otherwise,
have to read all the way to the end to find it!
It's a great statistic, and having it in the title people will have more
reason to read the article.
Thanks for the tip, I now
Can't you just call super in the beginning of the method and
then call return this at the end. Something like this:
override KeyboardView initWithFrame(NSRect frame)
[initWithFrame:] {
super.initWithFrame(frame);
// my stuff
return this;
}
Ups, sorry, my bad! I was trying this
On 11/18/2014 1:08 PM, Martin Nowak wrote:
On 11/18/2014 08:34 PM, Walter Bright wrote:
Should say in the title that you reduced build times by 60%. Otherwise,
have to read all the way to the end to find it!
It's a great statistic, and having it in the title people will have more
reason to
Am Tue, 18 Nov 2014 12:37:54 +0300
schrieb Timur Gafarov gecko0...@gmail.com:
15.11.2014 07:48, Rikki Cattermole пишет:
To further Devisualization, I have got the start of an image library.
It should be fairly interface complete now.
For this I really could use help from anyone with
Am Wed, 19 Nov 2014 00:35:09 +0100
schrieb Marco Leise marco.le...@gmx.de:
I have working PNG export in my image processing package, part of dlib:
https://github.com/gecko0307/dlib
There're also importers for BMP and TGA.
I also just wrote a TGA importer and found RLE and 16-bit in
Thank you for all of the work you've done with Vibe.D.
On 2014-11-18 21:46, Christian Schneider wrote:
Yes, of course, and this is really not an issue! And this convenience
function can be rewritten in a few lines of code, if really necessary.
Good, I just want to make sure you can continue. Than we can figure out
the minor issues later. Anyway,
On 2014-11-18 21:54, Christian Schneider wrote:
Uh, oh, that bug looks like a major annoyance in 64bit! I made a few
checks, all appkit methods returning a NSRect currently produce a
runtime segfault. But this does not apply to NSSize, nor NSPoint,
functions returning either NSSize or NSPoint
On Tuesday, 18 November 2014 at 17:23:48 UTC, Sönke Ludwig wrote:
Just quickly (finally) announcing the release of the next
vibe.d version. This one was originally scheduled for start of
September, but I got extremely busy with no time left for
tidying everything up.
The list of changes is
24 matches
Mail list logo