On Sat, 17 Jan 2009 12:51:46 +1300, Bill Baxter wrote:
I'm going crazy here with a very odd bug.
My DWT+OpenGL Win32 app is crashing *only* on Vista and *only* when I
use client arrays for rendering
(i.e. glEnableClientState(GL_VERTEX_ARRAY), glVertexPointer(...),
glArrayElement()).
The ex
On Sat, 17 Jan 2009 06:30:35 +0300, Jordan Miner
wrote:
Hello,
I recently wrote a binding to Ruby’s extension API , and today finished
writing a simple extension using it. But I ran into something strange.
(I also had a problem compiling the DLL since I use Tango, but searching
the news
On Sat, 17 Jan 2009 02:51:46 +0300, Bill Baxter wrote:
I'm going crazy here with a very odd bug.
My DWT+OpenGL Win32 app is crashing *only* on Vista and *only* when I
use client arrays for rendering
(i.e. glEnableClientState(GL_VERTEX_ARRAY), glVertexPointer(...),
glArrayElement()).
The ex
Hello Bill,
On Sat, Jan 17, 2009 at 2:53 PM, John Reimer
wrote:
Hello Stewart,
John Reimer wrote:
Good question. I think the new dwt release just inherited (or
hijacked) the title based on the release made by Shawn a couple of
years ago which was Phobos compatible.
So effectively, the
Hello jcc7,
Other issues (such as whether DWT should be the standard, whether it
should be noted so prominently on the wiki page, and whether there's
any brainwashing occurring) are still up for debate.
Our adoption of the original dwt newsgroup and project space was a move of
convenience
On Sat, Jan 17, 2009 at 2:53 PM, John Reimer wrote:
> Hello Stewart,
>
>> John Reimer wrote:
>>
>>>
>>> Good question. I think the new dwt release just inherited (or
>>> hijacked) the title based on the release made by Shawn a couple of
>>> years ago which was Phobos compatible.
>>>
>> So effect
Hello Stewart,
Alexander Pánek wrote:
Stewart Gordon wrote:
Really, while Tango DWT may have superseded Phobos DWT as being the
DWT that's still actively maintained, Phobos DWT remains the SDGL.
That’s a tremendously awesome idea. It’s at least as awesome as to
keep the car with two blown
Hello Stewart,
John Reimer wrote:
Good question. I think the new dwt release just inherited (or
hijacked) the title based on the release made by Shawn a couple of
years ago which was Phobos compatible.
So effectively, the Phobos-based DWT is what was passed off as the
"standard D GUI librar
Using D2's builtin thread-local storage, is there a way to get all instances
(one per thread) of a given thread-local variable? If not, can anyone
recommend any workarounds, given that:
1. Each instance of this variable is not written to after initialization,
i.e. not more than once during the e
Hello,
I recently wrote a binding to Rubys extension API , and today finished writing
a simple extension using it. But I ran into something strange. (I also had a
problem compiling the DLL since I use Tango, but searching the newsgroup
yielded the solution.)
Rubys API has rb_cObject, rb_cStr
Alexander Pánek wrote:
Stewart Gordon wrote:
Really, while Tango DWT may have superseded Phobos DWT as being the
DWT that's still actively maintained, Phobos DWT remains the SDGL.
That’s a tremendously awesome idea. It’s at least as awesome as to keep
the car with two blown tyres and no engin
Stewart Gordon wrote:
Really,
while Tango DWT may have superseded Phobos DWT as being the DWT that's
still actively maintained, Phobos DWT remains the SDGL.
That’s a tremendously awesome idea. It’s at least as awesome as to keep
the car with two blown tyres and no engine because it’s been dec
I'm going crazy here with a very odd bug.
My DWT+OpenGL Win32 app is crashing *only* on Vista and *only* when I
use client arrays for rendering
(i.e. glEnableClientState(GL_VERTEX_ARRAY), glVertexPointer(...),
glArrayElement()).
The exact same code works fine on XP.
I have the Areo desktop com
On Fri, Jan 16, 2009 at 11:42 AM, Sergey Kovrov
wrote:
> That makes me think Qt might be using GDI (DrawEdge, DrawFocusRect, etc.) or
> Themes API to draw widgets that looks native. But surely they use their own
> "widget logic".
Actually, you are right, they use the theme API. I was under the wr
Christian Kamm wrote:
>> >> Unless there's a major difference to 'scope' I missed, I think that
>> >> with the addition of a few generic features it should be possible to
>> >> move it into a library entirely.
Robert Fraser wrote:
>> > Yes this would be possible. But what's the advantage of doing
Tom S schrieb:
You could try using an external non-intrusive profiler. If you compile
your stuff with GCC on *nix, I've been hearing that kcachegrind is
pretty awesome: http://kcachegrind.sourceforge.net/html/Home.html
If you'd like to profile a DMD-Win-compiled executable, I've written a
simpl
dsimcha wrote:
I'm working on optimizing some code now, and a nagging issue that I've been
meaning to bring up is how slow stuff runs when profiling is turned on. It
seems that, given any code that's slow enough to be worth
profiling/optimizing, the DMD profiler slows it down further, to the poi
John Reimer wrote:
Good question. I think the new dwt release just inherited (or hijacked)
the title based on the release made by Shawn a couple of years ago which
was Phobos compatible.
So effectively, the Phobos-based DWT is what was passed off as the
"standard D GUI library", and when th
Reply to dsimcha,
Is the profiler supposed to take a while after the program is done
running to output the results?
I think that would be DMD running some stats (fan-in/fan-out, sums, sorts,
etc.) just lest it run for a while.
Reply to Denis,
On Fri, 16 Jan 2009 22:47:26 +0300, BCS wrote:
A better way to go could be to have a config file passed to DMD that
has a long list of "codefile.d: -flags" and let DMD pick the correct
flags to append to the command line
You can't set version (and some other options) on pe
== Quote from BCS (n...@anon.com)'s article
> Hello dsimcha,
> > I'm working on optimizing some code now, and a nagging issue that I've
> > been meaning to bring up is how slow stuff runs when profiling is
> > turned on. It seems that, given any code that's slow enough to be
> > worth profiling/op
On Fri, 16 Jan 2009 22:47:26 +0300, BCS wrote:
Reply to bearophile,
Bill Baxter:
That's a good point. I never think of stuff like that because I use
dsss most of the time.
You want per-file flags? Ha! Dsss laughs at you. Unfortunately.
:-(
I usually compile programs with bud, that appl
Reply to bearophile,
Bill Baxter:
That's a good point. I never think of stuff like that because I use
dsss most of the time.
You want per-file flags? Ha! Dsss laughs at you. Unfortunately.
:-(
I usually compile programs with bud, that applies the same thing to
all modules. I presume as ds
bearophile wrote:
Bill Baxter:
That's a good point. I never think of stuff like that because I
use dsss most of the time. You want per-file flags? Ha! Dsss
laughs at you. Unfortunately. :-(
I usually compile programs with bud, that applies the same thing to
all modules. I presume as dsss.
Reply to Tom,
Then it
pauses the target thread a few thousand times a second, checking its
register states and finding the currently executed function. The stats
are gathered and when you hit Enter, you're provided with some info.
A neat trick. I've done the same thing by hand with the VS debu
Katrina Niolet wrote:
This is exactly correct. Even D2 currently lacks the introspection
capabilities provided by moc. In addition to providing the code for
signals/solts moc also provides for things like getting a list of
enums in a class, converting enum values to and from string
(technically m
dsimcha wrote:
I'm working on optimizing some code now, and a nagging issue that I've been
meaning to bring up is how slow stuff runs when profiling is turned on. It
seems that, given any code that's slow enough to be worth
profiling/optimizing, the DMD profiler slows it down further, to the poi
Piotrek wrote:
Tim M wrote:
It's brainwashing people into think that dwt is the best thing around.
IMHO, It's better then anything around. It works on Linux/Windows and is
easy to use. There's only one competitor named gtkD, but... the button
usage example from the project site with such a n
On Sat, Jan 17, 2009 at 1:50 AM, Yigal Chripun wrote:
>>> Question: since D2 now uses the same runtime as tango and that
>>> includes the (same) GC, do we still need the wrapper, for D2 code?
>>
>> What do you mean by wrapper? Or you mean extern C++ capabilites of
>> D2? I tried them, and they se
Hello dsimcha,
I'm working on optimizing some code now, and a nagging issue that I've
been meaning to bring up is how slow stuff runs when profiling is
turned on. It seems that, given any code that's slow enough to be
worth profiling/optimizing, the DMD profiler slows it down further, to
the po
Sergey Kovrov wrote:
On 1/16/2009 10:34 AM, Daniel de Kok wrote:
I use Qt daily, and it uses native widgets in recent versions. Of
course, with the exception of X11, because there is no such thing as
native widgets (arguably, Qt is one of the major two native toolkits
for X11). E.g. in OS X Qt u
Yigal Chripun wrote:
BLS wrote:
Nick Sabalausky wrote:
"BLS" wrote in message
news:gkodf2$1ah...@digitalmars.com...
Bill Baxter wrote:
On Thu, Jan 15, 2009 at 4:42 AM, naryl wrote:
On Wed, 14 Jan 2009 18:40:19 +0300, Bill Baxter
wrote:
Qt 4.5 to be LGPL
http://tech.slashdot.org/article.
Eldar Insafutdinov wrote:
Yigal Chripun Wrote:
Bill Baxter wrote:
On Fri, Jan 16, 2009 at 10:22 AM, Walter Bright
wrote:
Bill Baxter wrote:
On Fri, Jan 16, 2009 at 9:00 AM, Yigal
Chripun wrote:
2. there's more to S&S than just an array of delegates -
they are weak refs so that destruc
Christian Kamm Wrote:
> Christian Kamm wrote:
> >> Unless there's a major difference to 'scope' I missed, I think that with
> >> the addition of a few generic features it should be possible to move it
> >> into a library entirely.
>
> Robert Fraser wrote:
> > Yes this would be possible. But what'
Yigal Chripun Wrote:
> Bill Baxter wrote:
> > On Fri, Jan 16, 2009 at 10:22 AM, Walter Bright
> > wrote:
> >> Bill Baxter wrote:
> >>> On Fri, Jan 16, 2009 at 9:00 AM, Yigal Chripun wrote:
> >>>
> 2. there's more to S&S than just an array of delegates - they are weak
> refs
> so
On Fri, Jan 16, 2009 at 7:42 PM, Sergey Kovrov
wrote:
> On 1/16/2009 10:34 AM, Daniel de Kok wrote:
>>
>> I use Qt daily, and it uses native widgets in recent versions. Of
>> course, with the exception of X11, because there is no such thing as
>> native widgets (arguably, Qt is one of the major tw
On 1/16/2009 10:34 AM, Daniel de Kok wrote:
I use Qt daily, and it uses native widgets in recent versions. Of
course, with the exception of X11, because there is no such thing as
native widgets (arguably, Qt is one of the major two native toolkits
for X11). E.g. in OS X Qt uses Carbon (or Cocoa f
http://cwe.mitre.org/top25/
The 2009 CWE/SANS Top 25 Most Dangerous Programming Errors is a list of the
most significant programming errors that can lead to serious software
vulnerabilities.
On Fri, 16 Jan 2009 21:18:46 +1300, bearophile
wrote:
Bill Baxter:
That's a good point. I never think of stuff like that because I use
dsss most of the time.
You want per-file flags? Ha! Dsss laughs at you. Unfortunately. :-(
I usually compile programs with bud, that applies the same t
bearophile wrote:
Bill Baxter:
That's a good point. I never think of stuff like that because I use
dsss most of the time.
You want per-file flags? Ha! Dsss laughs at you. Unfortunately. :-(
I usually compile programs with bud, that applies the same thing to all
modules. I presume as dsss.
On Fri, Jan 16, 2009 at 12:52 AM, Sergey Kovrov
wrote:
> Well, from what I've read and observe now, Qt just mimics native look (but
> not really feel). In fact since relaese of 4.4 it uses "windowless UI" by
> default.
I use Qt daily, and it uses native widgets in recent versions. Of
course, with
Bill Baxter:
> That's a good point. I never think of stuff like that because I use
> dsss most of the time.
> You want per-file flags? Ha! Dsss laughs at you. Unfortunately. :-(
I usually compile programs with bud, that applies the same thing to all
modules. I presume as dsss.
As soon as Walt
Bill Baxter wrote:
On Fri, Jan 16, 2009 at 10:22 AM, Walter Bright
wrote:
Bill Baxter wrote:
On Fri, Jan 16, 2009 at 9:00 AM, Yigal Chripun wrote:
2. there's more to S&S than just an array of delegates - they are weak
refs
so that destruction of an object disconnects automatically the apro
43 matches
Mail list logo