qkykpp | 2 Apr 23:29 2001
Picon

***** Useful Info ************************ 8721

Did you know its a crime to surf certain sites!!

Did you know its a crime to download certain pics, programs, text,etc.

The Law IS clamping down, cover your tracks, be safe rather than sorry...
CHECK OUT THIS TOP PROGRAM!!!!!
http://www.evidence-eliminator.com/go.shtml?A654845

Cleans and speeds up your PC  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
********** THE NETS HOTTEST SOFTWARE*****************
fmxooboxyqsrcfobt

Jan Trembulak | 3 Apr 14:15 2001
Picon

Bug in NSTextView delegate

Hi,

I thing that NSTextView sends 'NSTextDidChangeNotification' also in
cases, when the text are not changed (for example, when I change color
of text or font of text).
This notification are posted in 'didChangeText'. This notification
should be posted only when I change text (by typeing from keyboard, or
from clipboard).

thank you.

Jan Trembulak

Nicola Pero | 8 Apr 11:46 2001
Picon

Re: Bug in NSTextView delegate

    Jan> Hi, I thing that NSTextView sends
    Jan> 'NSTextDidChangeNotification' also in cases, when the text
    Jan> are not changed (for example, when I change color of text or
    Jan> font of text).  

The documentation I have says that this is correct, at least it is
what happens on recent Apple systems ...

Do you have any evidence that it is not correct ?

Jan Trembulak | 9 Apr 11:17 2001

RE: Bug in NSTextView delegate

Hi, on Openstep for Mach 4.2 this notification is send only when text is
changed.

For example: when user type wrong text (character) I want to change color of
text. When I change color in notification method, this method is invoked
ones more (becouse it is selector of observer of
NSTextDidChangeNotification) and after several calls application crashed.

I thing that changeing of color of NSText is not change of characters in
NSText, so that why the NSTextDidChangeNotification should not be sended.

> -----Original Message-----
> From: Nicola Pero [mailto:n.pero <at> mi.flashnet.it]
> Sent: Sunday, April 08, 2001 10:47 AM
> To: Jan Trembulak
> Cc: bug-gnustep <at> gnu.org
> Subject: Re: Bug in NSTextView delegate
>
>
>
>     Jan> Hi, I thing that NSTextView sends
>     Jan> 'NSTextDidChangeNotification' also in cases, when the text
>     Jan> are not changed (for example, when I change color of text or
>     Jan> font of text).
>
> The documentation I have says that this is correct, at least it is
> what happens on recent Apple systems ...
>
> Do you have any evidence that it is not correct ?

(Continue reading)

Fred Kiefer | 10 Apr 00:45 2001
Picon
Picon

Problem with NSColor/NSString initialisation

While searching for another problem in NSComboBoxCell I ran into an
initialization problem that I don't quite understand. Perhaps someone on
this list can explain it and even fix it?

When running this small test program, I get a lot of error messages from
NSColor.

#include <Foundation/NSAutoreleasePool.h>
#include <Foundation/NSString.h>
#include <AppKit/NSComboBox.h>
#include <AppKit/NSComboBoxCell.h>

int main (int argc, const char *argv[])
{
  CREATE_AUTORELEASE_POOL(pool);
  NSComboBox *cb;
  int n = 0;
/*
  NSString *str =  <at> "0.000000 0.000000 0.000000";
  const char	*ptr = [str cString];
  float		r, g, b;

  //NSLog( <at> "Found string %s", ptr);
  n = sscanf(ptr, "%f %f %f", &r, &g, &b);
  if (n == 3)
  {
      NSLog( <at> "Resulted in Color %f, %f, %f", r, g, b);
  }
  else
      NSLog( <at> "Only found %d", n);  
(Continue reading)

Georg Fleischmann | 9 Apr 23:11 2001
Picon

Fix: NSView, setBoundsOrigin:

Hi,

here is a patch for NSView to renew the gstate after setting a new origin.
I hope it is useful ...

Georg

2001-04-09  Georg Fleischmann

	* gui/Source/NSView.m
	[NSView setBoundsOrigin:]: renew gstate

diff -u gui/Source/NSView.m.old gui/Source/NSView.m

--- gui/Source/NSView.m.old	Mon Apr  9 22:37:28 2001
+++ gui/Source/NSView.m	Mon Apr  9 22:38:38 2001
 <at>  <at>  -851,6 +851,11  <at>  <at> 
     }
   [_boundsMatrix setFrameOrigin: NSMakePoint(-newOrigin.x, -newOrigin.y)];

+  /* renew gstate */
+  if (_allocate_gstate && _gstate)
+    PSundefineuserobject(_gstate);
+  _gstate = 0;
+
   if (_post_bounds_changes)
     {
       [nc postNotificationName: NSViewBoundsDidChangeNotification

(Continue reading)

Adam Fedor | 10 Apr 04:27 2001

GNUstep Weekly Update

 
Week ending 8 April 2001

The big news for this week is the announcement of the 
LaunchPad 1.0 release. LaunchPad is a
collection of libraries for creating non-graphical tools and
applications using an API based on OpenStep and the MacOS X API. See
http://www.gnustep.org/information/lp_release.html for more
information.

gnustep-make 

Version 1.0.0 released.

gnustep-base (Foundation)

Version 1.0.0 released.

gnustep-guile (Scripting Library)

Version 1.0.0 released.

Also the GNU 3DKit project has moved to
a new location at http://www.3dkit.org
Adam Fedor | 10 Apr 04:42 2001

ANNOUNCE: GNUstep LaunchPad Version 1.0.0 Released

ANNOUNCE: GNUstep LaunchPad Version 1.0.0 Released

GNUstep Developers are happy to announce the first user release of
GNUstep LaunchPad. GNUstep LaunchPad is a collection of libraries for
creating non-graphical tools and applications using an API based on
OpenStep and the MacOS X API.  As with its godfather, the OpenStep
system developed by NeXT, developers have noted that GNUstep allows
faster development time and more flexibility than with other common
application development libraries.

GNUstep Launchpad consists of the following packages:

GNUstep Make - A collection of make scripts that make configuration,
building and packaging of projects almost trivial.

GNUstep Base - A collection of Objective-C classes that provide all
the fundamental objects required in most applications, such as
dictionaries, unicode strings, distributed objects, timers, and more.

GNUstep Guile - A package that allows one to use the Guile scripting
language within GNUstep projects

JIGS - An interface to Java, that allows one to use GNUstep objects in
Java code and Java objects in GNUstep code.

This entire suite of tools and libraries, collectively called GNUstep
LaunchPad should allow developers to rapidly develop cross-platform
applications using a set of object-oriented tools and a well developed
API. Developers should be able to port applications from the
well-known MacOS X development system to GNUstep with almost no
(Continue reading)

Nicola Pero | 10 Apr 12:41 2001
Picon

RE: Bug in NSTextView delegate

Hi, thanks - I'm confused then - can someone check and report how does it
work on Apple Mac OS X ?

Is the notification sent only when text is changed there as well ?

> Hi, on Openstep for Mach 4.2 this notification is send only when text is
> changed.
> 
> For example: when user type wrong text (character) I want to change color of
> text. When I change color in notification method, this method is invoked
> ones more (becouse it is selector of observer of
> NSTextDidChangeNotification) and after several calls application crashed.
> 
> I thing that changeing of color of NSText is not change of characters in
> NSText, so that why the NSTextDidChangeNotification should not be sended.
> 
> > -----Original Message-----
> > From: Nicola Pero [mailto:n.pero <at> mi.flashnet.it]
> > Sent: Sunday, April 08, 2001 10:47 AM
> > To: Jan Trembulak
> > Cc: bug-gnustep <at> gnu.org
> > Subject: Re: Bug in NSTextView delegate
> >
> >
> >
> >     Jan> Hi, I thing that NSTextView sends
> >     Jan> 'NSTextDidChangeNotification' also in cases, when the text
> >     Jan> are not changed (for example, when I change color of text or
> >     Jan> font of text).
> >
(Continue reading)

Adam Fedor | 11 Apr 04:44 2001

Re: Problem with NSColor/NSString initialisation

I just tried your sample program and got the expected output (No
errors). This is with all the latest CVS code installed.

--

-- 
Adam Fedor, Digital Optics            | Fudd's law of opposition: Push
fedor <at> doc.com  http://www.doc.com     | something hard enough, and it 
fedor <at> gnu.org  http://www.gnustep.org | will fall over.


Gmane