gnu.gnustep.help
  Home FAQ Contact Sign in
gnu.gnustep.help only
 
Advanced search
August 2008
motuwethfrsasuw
    123 31
45678910 32
11121314151617 33
18192021222324 34
25262728293031 35
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
gnu.gnustep.help Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: Character class         


Author: David Ayers
Date: Aug 16, 2008 04:00

Am Samstag, den 16.08.2008, 09:26 +0200 schrieb Michael Thaler:
> I am trying to write a scientific calculator for GNUstep. The
> calculator should use a parser to parse formulars. For the parser I
> need a character class that has methods like IsDigit, IsLetter,
> IsWhitespace. I briefly looked at the gnustep-base documentation and
> couldn't find any. Is there a character class or do I have to write it
> myself?

There is no class for single characters. There is a unichar type and I
believe what you are looking for is:

http://www.gnustep.org/resources/documentation/Developer/Base/Reference/index.ht...
[http://tinyurl.com/5wm8kv]

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSCh...
[http://tinyurl.com/6754gg]

which provide -characterIsMember: for special character sets.

Cheers,
David
no comments
  Character class         


Author: Michael Thaler
Date: Aug 16, 2008 00:26

Hello,

I am trying to write a scientific calculator for GNUstep. The calculator should
use a parser to parse formulars. For the parser I need a character class that
has methods like IsDigit, IsLetter, IsWhitespace. I briefly looked at the
gnustep-base documentation and couldn't find any. Is there a character class or
do I have to write it myself?

Thanks for tips,
Michael

p, li { white-space: pre-wrap; }

Hello,

I am trying to write a scientific calculator for GNUstep. The calculator should use a parser to parse formulars. For the parser I need a character class that has methods like IsDigit, IsLetter, IsWhitespace. I briefly looked at the gnustep-base documentation and couldn't find any. Is there a character class or do I have to write it myself?

Thanks for tips,
Michael
no comments
  Re: Help building and running a framework on Windows         


Author: Adam Fedor
Date: Aug 11, 2008 17:38

Thanks for the update. FYI, if you're not subscribed to the list,
then the message has to go to the moderator (which takes about a day)
and be approved.

On Aug 11, 2008, at 12:41 PM, Samantha Rahn wrote:
> I have yet to see my posts appear in the archive. However, I will
> post this update anyway. Is anybody listening out there?
>
> Problem solved:
> My problem was I was misinterpreting the GDB error...
Show full article (4.81Kb)
no comments
  Re: Help building and running a framework on Windows         


Author: Samantha Rahn
Date: Aug 11, 2008 11:41

I have yet to see my posts appear in the archive. However, I will post this
update anyway. Is anybody listening out there?

Problem solved:
My problem was I was misinterpreting the GDB error. It was saying: gdb:
unknown target exception 0xc0000135 which means it can't load the DLL
(thanks Google). So I looked at my path, and, sure enough, there was a
mistake in it. The GDB error should say "unknown exception". I am new to
this and was thinking that "unknown target" meant GDB couldn't recognize the
binary I had generated. But then I started Googling for the 0xc0000135
(which does NOT appear in the winbase.h file in GNUstep).Sam

On Sun, Aug 10, 2008 at 3:12 PM, Samantha Rahn gmail.com>wrote:
> Hello,
>
> I am trying to create:
> 1) a framework with one object in it that has one class method and one C
> function.
> 2) a tool which loads the DLL and invokes the class method and the C
> function...
Show full article (4.14Kb)
no comments
  Re: Non-rectangular windows         


Author: Christian Stieber
Date: Aug 11, 2008 00:41

Nicolas Roard wrote:
> IIRC, you are doing the right things: use NSColor clearColor to delete
> the background, and sets the defaults for the shape extension. I know
> it used to work with the art backend, so it may simply be the case
> that the backend you are using (cairo?) does not support this method.
> Check if your code works with the art backend, if it does then file a
> bug :)

How do I find out which backend is in use /slash/ how do you select
the backend?

I suppose I can set some default (will check for that...), but I'm not
sure how to actually "see" whether that was successful... that's
assuming changing the backend doesn't break anything else, in which
case I should see it pretty soon.

I guess for now I'll just try to make another hack to the library to speed
up things a bit.

Christian
no comments
  Help building and running a framework on Windows         


Author: Samantha Rahn
Date: Aug 10, 2008 12:12

Hello,

I am trying to create:
1) a framework with one object in it that has one class method and one C
function.
2) a tool which loads the DLL and invokes the class method and the C
function.

My code builds, but does not execute properly. GDB says "unknown target
exception".

Setup:
OS: Windows 2003 Server
1. gnustep-system-0.19.2-setup.exe
2. gnustep-core-0.19.2-setup.exe
3. SystemPreferences-1.0.2-2-setup.exe (it runs fine)

Environment:
GNUSTEP_INSTALLATION_DOMAIN=USER
GNUSTEP_MAKEFILES=/GNUstep/System/Library/Makefiles
GNUSTEP_SYSTEM_ROOT=C:/GNUstep
Show full article (1.31Kb)
no comments
  Re: Non-rectangular windows         


Author: Nicolas Roard
Date: Aug 8, 2008 08:32

On Fri, Aug 8, 2008 at 4:05 PM, Christian Stieber wrote:
> Hi,
>
> well, I have an application that uses a lot of non-rectangular windows
> on the Mac, created by using an NSView as content view that drawRect:-s
> an NSImage:
>
> -(void)drawRect:(NSRect)Rectangle
>
> {
> (void)Rectangle;
>
> if (SkinImage!=nil)
> {
> [[NSColor clearColor] set];
> NSRectFill([self frame]);
>
> [SkinImage compositeToPoint:NSZeroPoint
> operation:NSCompositeSourceOver];
> ...
Show full article (3.09Kb)
no comments
  Non-rectangular windows         


Author: Christian Stieber
Date: Aug 8, 2008 08:05

Hi,

well, I have an application that uses a lot of non-rectangular windows
on the Mac, created by using an NSView as content view that drawRect:-s
an NSImage:

-(void)drawRect:(NSRect)Rectangle

{
(void)Rectangle;

if (SkinImage!=nil)
{
[[NSColor clearColor] set];
NSRectFill([self frame]);

[SkinImage compositeToPoint:NSZeroPoint operation:NSCompositeSourceOver];

#ifdef APPLE
[[self window] invalidateShadow];
#endif
}
Show full article (2.46Kb)
no comments
  Gnus and gmail         


Author: Maurício
Date: Jul 16, 2008 16:11

Hi,

Has anyone configured gnus to use
gmail with IMAP, also with gmail
SMTP? Do you have examples or tips?

Thanks,
Maurício
no comments
  Re: gnustep and darwinports (now MacPorts)         


Author: Adam Fedor
Date: Jul 7, 2008 12:19

On Jul 4, 2008, at 8:54 AM, Andreas Debus wrote:
> Hi!
>
> has anybody succesfully installed gnustep with darwinports port
> command?
>
> I don´t get the packages gnustep-ui and gnustep-back compiled and
> installed?
> It´s totaly indifferent if compiled on PPC or C2D.
>

It should work OK. I assume you are getting things from macports.org
NOT darwinports? What errors are you getting?

Although the ports themselves are very old. I've been trying for
months to get them updated, but there doesn't appear to be anyone
listening at macports.org
no comments
1 2 3 4 5 6 7 8 9