[Gnustep-cvs] r40500 - in /libs/base/trunk: ChangeLog Tools/gdomap.c

2017-05-10 Thread wolfgang . lux
Author: wlux
Date: Wed May 10 14:38:40 2017
New Revision: 40500

URL: http://svn.gna.org/viewcvs/gnustep?rev=40500=rev
Log:
Fix incorrect use addresses returned from getaddrinfo.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Tools/gdomap.c

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=40500=40499=40500=diff
==
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Wed May 10 14:38:40 2017
@@ -1,3 +1,8 @@
+2017-05-10  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Tools/gdomap.c (nameServer, donames): Fix incorrect use
+   addresses returned from getaddrinfo.
+
 2017-04-24  Richard Frith-Macdonald <r...@gnu.org>
 
* Tools/AGSOutput.m: When generating class/method links, treat '['

Modified: libs/base/trunk/Tools/gdomap.c
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Tools/gdomap.c?rev=40500=40499=40500=diff
==
--- libs/base/trunk/Tools/gdomap.c  (original)
+++ libs/base/trunk/Tools/gdomap.c  Wed May 10 14:38:40 2017
@@ -4061,7 +4061,7 @@
 return -1;
   }
   }
-memcpy(_addr, info->ai_addr, info->ai_addrlen);
+sin.sin_addr = ((struct sockaddr_in *)info->ai_addr)->sin_addr;
 freeaddrinfo(info);
   }
 #else
@@ -4286,7 +4286,7 @@
 return;
   }
   }
-memcpy(_addr, info->ai_addr, info->ai_addrlen);
+sin.sin_addr = ((struct sockaddr_in *)info->ai_addr)->sin_addr;
 freeaddrinfo(info);
   }
 #else


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r40445 - /libs/base/trunk/Headers/Foundation/NSStream.h

2017-04-04 Thread wolfgang . lux
Author: wlux
Date: Tue Apr  4 09:44:00 2017
New Revision: 40445

URL: http://svn.gna.org/viewcvs/gnustep?rev=40445=rev
Log:
Add missing class declaration for new methods in NSStream.h

Modified:
libs/base/trunk/Headers/Foundation/NSStream.h

Modified: libs/base/trunk/Headers/Foundation/NSStream.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Headers/Foundation/NSStream.h?rev=40445=40444=40445=diff
==
--- libs/base/trunk/Headers/Foundation/NSStream.h   (original)
+++ libs/base/trunk/Headers/Foundation/NSStream.h   Tue Apr  4 09:44:00 2017
@@ -61,6 +61,7 @@
 @class NSOutputStream;
 @class NSString;
 @class NSRunLoop;
+@class NSURL;
 
 /**
  * NSStream is an abstract class for objects representing streams. 


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r40333 - in /libs/base/trunk: ./ Source/ Tests/base/NSRegularExpression/

2017-02-11 Thread wolfgang . lux
Author: wlux
Date: Sat Feb 11 15:24:58 2017
New Revision: 40333

URL: http://svn.gna.org/viewcvs/gnustep?rev=40333=rev
Log:
Fix a serious misunderstanding of the icu string access API: The value
of nativeIndexingLimit must not exceed the length of the current chunk.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Source/GSICUString.m
libs/base/trunk/Source/NSRegularExpression.m
libs/base/trunk/Tests/base/NSRegularExpression/basic.m

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=40333=40332=40333=diff
==
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Sat Feb 11 15:24:58 2017
@@ -1,3 +1,13 @@
+2017-02-11  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Source/GSICUString.m (UTextNSStringAccess,
+   UTextInitWithNSMutableString, UTextInitWithNSString):
+   Fix a serious misunderstanding of the icu string access API: The
+   value of nativeIndexingLimit must not exceed the length of the
+   current chunk. Otherwise icu library macros could miss to properly
+   reinitialize chunks, which, for instance, could lead to returning
+   regular expression matches outside the selected range.
+
 2017-01-06  Richard Frith-Macdonald <r...@gnu.org>
 
* Tools/gdomap.c: Use getaddrinfo rather than gethostbyname if 

Modified: libs/base/trunk/Source/GSICUString.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/GSICUString.m?rev=40333=40332=40333=diff
==
--- libs/base/trunk/Source/GSICUString.m(original)
+++ libs/base/trunk/Source/GSICUString.mSat Feb 11 15:24:58 2017
@@ -130,6 +130,7 @@
   [str getCharacters: ut->pExtra range: r];
   ut->chunkNativeLimit = nativeLimit;
   ut->chunkNativeStart = nativeStart;
+  ut->nativeIndexingLimit = r.length;
   ut->chunkLength = r.length;
   return TRUE;
 }
@@ -378,7 +379,6 @@
   txt->p = [str retain];
   txt->pFuncs = 
   txt->chunkContents = txt->pExtra;
-  txt->nativeIndexingLimit = INT32_MAX;
   txt->c = -1;  // Need to fetch length every time
   txt->providerProperties = 1<<UTEXT_PROVIDER_WRITABLE;
 
@@ -399,7 +399,6 @@
   txt->p = [str retain];
   txt->pFuncs = 
   txt->chunkContents = txt->pExtra;
-  txt->nativeIndexingLimit = INT32_MAX;
   txt->c = [str length];
 
   return txt;

Modified: libs/base/trunk/Source/NSRegularExpression.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSRegularExpression.m?rev=40333=40332=40333=diff
==
--- libs/base/trunk/Source/NSRegularExpression.m(original)
+++ libs/base/trunk/Source/NSRegularExpression.mSat Feb 11 15:24:58 2017
@@ -31,7 +31,7 @@
 
 /* FIXME It would be nice to use autoconf for checking whether uregex_openUText
  * is defined.  However the naive check using AC_CHECK_FUNCS(uregex_openUText)
- * wonn't work because libicu internally renames all entry points with some cpp
+ * won't work because libicu internally renames all entry points with some cpp
  * magic.
  */
 #if (U_ICU_VERSION_MAJOR_NUM > 4 || (U_ICU_VERSION_MAJOR_NUM == 4 && 
U_ICU_VERSION_MINOR_NUM >= 4))

Modified: libs/base/trunk/Tests/base/NSRegularExpression/basic.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Tests/base/NSRegularExpression/basic.m?rev=40333=40332=40333=diff
==
--- libs/base/trunk/Tests/base/NSRegularExpression/basic.m  (original)
+++ libs/base/trunk/Tests/base/NSRegularExpression/basic.m  Sat Feb 11 
15:24:58 2017
@@ -2,6 +2,7 @@
 #import "ObjectTesting.h"
 #import 
 #import 
+#import 
 #import 
 #import 
 #import 
@@ -129,6 +130,17 @@
template: @"c"];
   PASS_EQUAL(replacement, @"c",
  "Custom replacement: Returns correct replacement");
+
+  NSRegularExpression *testObj2 =
+[[NSRegularExpression alloc] initWithPattern: @"bc"
+options: 0
+  error: NULL];
+  r = [testObj2 firstMatchInString: @"abcdeabcde"
+  options: 0
+range: NSMakeRange(5, 5)];
+  PASS(r != nil && NSEqualRanges([r range], NSMakeRange(6, 2)),
+   "Restricting the range for firstMatchInString: works");
+
   /* To test whether we correctly bail out of processing degenerate patterns,
* we spin up a new thread and evaluate an expression there. The expectation
* is that the thread should terminate within a few seconds.


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r40310 - in /libs/ec/trunk: ChangeLog EcAlarmSinkSNMP.m

2017-01-30 Thread wolfgang . lux
Author: wlux
Date: Mon Jan 30 13:54:37 2017
New Revision: 40310

URL: http://svn.gna.org/viewcvs/gnustep?rev=40310=rev
Log:
Don't use net-snmp's memdup function, as it is replaced by
netsnmp_memdup with a different interface in version 5.7.3.

Modified:
libs/ec/trunk/ChangeLog
libs/ec/trunk/EcAlarmSinkSNMP.m

Modified: libs/ec/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/ChangeLog?rev=40310=40309=40310=diff
==
--- libs/ec/trunk/ChangeLog (original)
+++ libs/ec/trunk/ChangeLog Mon Jan 30 13:54:37 2017
@@ -1,3 +1,9 @@
+2017-01-30  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * EcAlarmSinkSNMP.m (pollHeartBeat_handler): Don't use memdup,
+   which is replaced by netsnmp_memdup with a different interface in
+   net-snmp 5.7.3.
+
 2016-07-20  Wolfgang Lux  <wolfgang@gmail.com>
 
* EcConsole.m (-ecRun): Pass distantFuture to -runMode:beforeDate:

Modified: libs/ec/trunk/EcAlarmSinkSNMP.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcAlarmSinkSNMP.m?rev=40310=40309=40310=diff
==
--- libs/ec/trunk/EcAlarmSinkSNMP.m (original)
+++ libs/ec/trunk/EcAlarmSinkSNMP.m Mon Jan 30 13:54:37 2017
@@ -773,8 +773,8 @@
/*
 * store old info for undo later 
 */
-   memdup((u_char**)_cache,
- (u_char*), sizeof(pollHeartBeat));
+pollHeartBeat_cache = malloc(sizeof(pollHeartBeat));
+memcpy(_cache, , sizeof(pollHeartBeat));
if (pollHeartBeat_cache == NULL)
  {
netsnmp_set_request_error(reqinfo, requests,


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r40264 - in /libs/gui/trunk: ChangeLog Source/NSWorkspace.m

2016-12-15 Thread wolfgang . lux
Author: wlux
Date: Thu Dec 15 11:59:09 2016
New Revision: 40264

URL: http://svn.gna.org/viewcvs/gnustep?rev=40264=rev
Log:
Change mlock in NSWorkspace into a private variable to avoid name
conflict with a libc function on Linux.

Modified:
libs/gui/trunk/ChangeLog
libs/gui/trunk/Source/NSWorkspace.m

Modified: libs/gui/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/ChangeLog?rev=40264=40263=40264=diff
==
--- libs/gui/trunk/ChangeLog(original)
+++ libs/gui/trunk/ChangeLogThu Dec 15 11:59:09 2016
@@ -1,3 +1,8 @@
+2016-12-15  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Source/NSWorkspace.m: Change mlock into a private variable to
+   avoid name conflict with a libc function on Linux.
+
 2016-11-21 Fred Kiefer <fredkie...@gmx.de>
 
* Headers/AppKit/NSColorPanel.h: Change -alpha to CGFloat.

Modified: libs/gui/trunk/Source/NSWorkspace.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/NSWorkspace.m?rev=40264=40263=40264=diff
==
--- libs/gui/trunk/Source/NSWorkspace.m (original)
+++ libs/gui/trunk/Source/NSWorkspace.m Thu Dec 15 11:59:09 2016
@@ -111,7 +111,7 @@
 static NSImage *unknownApplication = nil;
 static NSImage *unknownTool = nil;
 
-NSLock  *mlock = nil;
+static NSLock   *mlock = nil;
 
 static NSString*GSWorkspaceNotification = @"GSWorkspaceNotification";
 static NSString *GSWorkspacePreferencesChanged =


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r40239 - in /libs/base/trunk: ChangeLog Source/Additions/NSCalendarDate+GNUstepBase.m

2016-11-28 Thread wolfgang . lux
Author: wlux
Date: Mon Nov 28 10:01:04 2016
New Revision: 40239

URL: http://svn.gna.org/viewcvs/gnustep?rev=40239=rev
Log:
Fix an off by 1 calculation which meant that weekOfYear would return 2
for the first week of a year whenever the first Thursday of that year
is 7 Jan, for instance 2016.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Source/Additions/NSCalendarDate+GNUstepBase.m

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=40239=40238=40239=diff
==
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Mon Nov 28 10:01:04 2016
@@ -1,3 +1,10 @@
+2016-11-28  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Source/Additions/NSCalendarDate+GNUstepBase.m (weekOfYear): Fix
+   an off by 1 calculation which meant that weekOfYear would return 2
+   for the first week of a year whenever the first Thursday of that
+   year is 7 Jan, for instance 2016.
+
 2016-11-10  Richard Frith-Macdonald <r...@gnu.org>
 
* Source/NSPortCoder.m:

Modified: libs/base/trunk/Source/Additions/NSCalendarDate+GNUstepBase.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/Additions/NSCalendarDate%2BGNUstepBase.m?rev=40239=40238=40239=diff
==
--- libs/base/trunk/Source/Additions/NSCalendarDate+GNUstepBase.m   
(original)
+++ libs/base/trunk/Source/Additions/NSCalendarDate+GNUstepBase.m   Mon Nov 
28 10:01:04 2016
@@ -89,8 +89,10 @@
   /*
* Round up to a week boundary, so that when we divide by seven we
* get a result in the range 1 to 53 as mandated by the ISO standard.
+   * Note that dayOfYear starts at 1, too, and hence we must be careful
+   * to not round up an exact multiple of 7.
*/
-  dayOfYear += (7 - dayOfYear % 7);
+  dayOfYear += (7 - (dayOfYear - 1) % 7);
   return dayOfYear / 7;
 }
 


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r40184 - in /libs/webserver/trunk: ChangeLog WebServerBundles.m

2016-10-28 Thread wolfgang . lux
Author: wlux
Date: Fri Oct 28 16:11:33 2016
New Revision: 40184

URL: http://svn.gna.org/viewcvs/gnustep?rev=40184=rev
Log:
Fix potential crash when WebServerPort is not configured

Modified:
libs/webserver/trunk/ChangeLog
libs/webserver/trunk/WebServerBundles.m

Modified: libs/webserver/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/webserver/trunk/ChangeLog?rev=40184=40183=40184=diff
==
--- libs/webserver/trunk/ChangeLog  (original)
+++ libs/webserver/trunk/ChangeLog  Fri Oct 28 16:11:33 2016
@@ -1,3 +1,8 @@
+2016-10-28  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * WebServerBundles.m (-dealloc): Unregister from notification
+   center.
+
 2016-05-19 Richard Frith-Macdonald  <r...@gnu.org>
 
* GNUmakefile: Version 1.5.5 bugfix release

Modified: libs/webserver/trunk/WebServerBundles.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/webserver/trunk/WebServerBundles.m?rev=40184=40183=40184=diff
==
--- libs/webserver/trunk/WebServerBundles.m (original)
+++ libs/webserver/trunk/WebServerBundles.m Fri Oct 28 16:11:33 2016
@@ -33,6 +33,10 @@
 @implementation WebServerBundles
 - (void) dealloc
 {
+  if (_http != nil)
+{
+  [[NSNotificationCenter defaultCenter] removeObserver: self];
+}
   RELEASE(_http);
   RELEASE(_handlers);
   [super dealloc];


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r40086 - in /libs/base/trunk: ChangeLog Source/Additions/GSMime.m

2016-09-16 Thread wolfgang . lux
Author: wlux
Date: Fri Sep 16 14:28:05 2016
New Revision: 40086

URL: http://svn.gna.org/viewcvs/gnustep?rev=40086=rev
Log:
Add missing checks to avoid calling caseInsensitiveCompare: with nil

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Source/Additions/GSMime.m

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=40086=40085=40086=diff
==
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Fri Sep 16 14:28:05 2016
@@ -1,3 +1,9 @@
+2016-09-16  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Source/Additions/GSMime.m (convertTo7BitSafe):
+   Add missing checks to avoid calling caseInsensitiveCompare: with a
+   nil argument.
+
 2016-09-16  Niels Grewe <niels.gr...@halbordnung.de>
 
* Source/GSTLS.m: Fix bug removing mapped certificates.

Modified: libs/base/trunk/Source/Additions/GSMime.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/Additions/GSMime.m?rev=40086=40085=40086=diff
==
--- libs/base/trunk/Source/Additions/GSMime.m   (original)
+++ libs/base/trunk/Source/Additions/GSMime.m   Fri Sep 16 14:28:05 2016
@@ -5854,8 +5854,9 @@
* When there is a header, there are trwo possible 8bit encodings
* that we need to deal with...
*/
-  if ([CteBinary caseInsensitiveCompare: v] == NSOrderedSame
-   || [Cte8bit caseInsensitiveCompare: v] == NSOrderedSame)
+  if (v != nil
+&& ([CteBinary caseInsensitiveCompare: v] == NSOrderedSame
+ || [Cte8bit caseInsensitiveCompare: v] == NSOrderedSame))
{
   GSMimeHeader  *t = [self headerNamed: @"content-type"];
   NSString *charset = [t parameterForKey: @"charset"];
@@ -5945,8 +5946,9 @@
   GSMimeHeader *h = [self headerNamed: @"content-transfer-encoding"];
   NSString *v = [h value];
 
-  if ([CteBase64 caseInsensitiveCompare: v] == NSOrderedSame
-|| [CteQuotedPrintable caseInsensitiveCompare: v] == NSOrderedSame)
+  if (v != nil
+&& ([CteBase64 caseInsensitiveCompare: v] == NSOrderedSame
+  || [CteQuotedPrintable caseInsensitiveCompare: v] == NSOrderedSame))
{
  [h setValue: CteBinary];
}


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r40029 - in /libs/ec/trunk: ChangeLog EcConsole.m

2016-07-20 Thread wolfgang . lux
Author: wlux
Date: Wed Jul 20 16:05:11 2016
New Revision: 40029

URL: http://svn.gna.org/viewcvs/gnustep?rev=40029=rev
Log:
In EcConsole, pass distantFuture to -runMode:beforeDate: to prevent
returning immediately from the run loop after recent gnustep-base
changes.

Modified:
libs/ec/trunk/ChangeLog
libs/ec/trunk/EcConsole.m

Modified: libs/ec/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/ChangeLog?rev=40029=40028=40029=diff
==
--- libs/ec/trunk/ChangeLog (original)
+++ libs/ec/trunk/ChangeLog Wed Jul 20 16:05:11 2016
@@ -1,3 +1,9 @@
+2016-07-20  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * EcConsole.m (-ecRun): Pass distantFuture to -runMode:beforeDate:
+   to prevent returning immediately from the run loop after recent
+   gnustep-base changes.
+
 2016-06-09  Richard Frith-Macdonald <r...@gnu.org>
 
* EcControl.m: Fix bug where alerter config was not always updated

Modified: libs/ec/trunk/EcConsole.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcConsole.m?rev=40029=40028=40029=diff
==
--- libs/ec/trunk/EcConsole.m   (original)
+++ libs/ec/trunk/EcConsole.m   Wed Jul 20 16:05:11 2016
@@ -944,6 +944,7 @@
 - (int) ecRun
 {
   NSRunLoop*loop;
+  NSDate   *distantFuture;
 
 #if defined(HAVE_LIBREADLINE)
   if (YES == interactive)
@@ -953,8 +954,9 @@
 }
 #endif
 
+  distantFuture = [NSDate distantFuture];
   loop = [NSRunLoop currentRunLoop];
-  while (YES == [loop runMode: NSDefaultRunLoopMode beforeDate: nil])
+  while (YES == [loop runMode: NSDefaultRunLoopMode beforeDate: distantFuture])
 {
   if (0 != [self cmdSignalled])
{


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r39976 - in /libs/base/trunk: ChangeLog Source/GSICUString.m

2016-07-12 Thread wolfgang . lux
Author: wlux
Date: Tue Jul 12 09:31:22 2016
New Revision: 39976

URL: http://svn.gna.org/viewcvs/gnustep?rev=39976=rev
Log:
Fix unsigned comparison to properly detect integer underflows in
UTextNSStringAccess.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Source/GSICUString.m

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=39976=39975=39976=diff
==
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Tue Jul 12 09:31:22 2016
@@ -1,3 +1,8 @@
+2016-07-12  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Source/GSICUString.m (UTextNSStringAccess): Fix unsigned
+   comparison to properly detect integer underflows.
+
 2016-07-06  Niels Grewe <niels.gr...@halbordnung.de>
 
* Tests/base/NSRegularExpression/basic.m: Test for -pattern

Modified: libs/base/trunk/Source/GSICUString.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/GSICUString.m?rev=39976=39975=39976=diff
==
--- libs/base/trunk/Source/GSICUString.m(original)
+++ libs/base/trunk/Source/GSICUString.mTue Jul 12 09:31:22 2016
@@ -118,8 +118,11 @@
 {
   nativeLimit = length;
 }
-  nativeStart = nativeLimit - chunkSize;
-  if (nativeStart < 0)
+  if (nativeLimit >= chunkSize)
+{
+  nativeStart = nativeLimit - chunkSize;
+}
+  else
 {
   nativeStart = 0;
 }


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r39960 - in /libs/base/trunk: ChangeLog Source/NSRegularExpression.m

2016-07-06 Thread wolfgang . lux
Author: wlux
Date: Wed Jul  6 10:08:51 2016
New Revision: 39960

URL: http://svn.gna.org/viewcvs/gnustep?rev=39960=rev
Log:
Fix bug where a UText structure owned by the icu library is incorrectly
closed, which was causing a crash when -pattern is called more than once
for the same NSRegularExpression.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Source/NSRegularExpression.m

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=39960=39959=39960=diff
==
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Wed Jul  6 10:08:51 2016
@@ -1,3 +1,10 @@
+2016-07-06  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Source/NSRegularExpression.m (-pattern): Fix bug where a UText
+   structure owned by the icu library is incorrectly closed, which
+   was causing a crash when -pattern is called more than once for the
+   same NSRegularExpression.
+
 2016-07-02  Richard Frith-Macdonald <r...@gnu.org>
 
* Source/NSKeyValueObserving.m: Remove some unnecessary locking

Modified: libs/base/trunk/Source/NSRegularExpression.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSRegularExpression.m?rev=39960=39959=39960=diff
==
--- libs/base/trunk/Source/NSRegularExpression.m(original)
+++ libs/base/trunk/Source/NSRegularExpression.mWed Jul  6 10:08:51 2016
@@ -183,7 +183,6 @@
 }
   str = [GSUTextString new];
   utext_clone(>txt, t, FALSE, TRUE, );
-  utext_close(t);
   return [str autorelease];
 }
 #else


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r39516 - in /libs/base/trunk: ChangeLog Headers/Foundation/NSLocale.h Source/NSLocale.m

2016-03-10 Thread wolfgang . lux
Author: wlux
Date: Thu Mar 10 09:48:40 2016
New Revision: 39516

URL: http://svn.gna.org/viewcvs/gnustep?rev=39516=rev
Log:
Add method +[NSLocale localeWithLocaleIdentifier:], which was
introduced in OS X 10.6.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Headers/Foundation/NSLocale.h
libs/base/trunk/Source/NSLocale.m

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=39516=39515=39516=diff
==
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Thu Mar 10 09:48:40 2016
@@ -1,3 +1,9 @@
+2016-03-10  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Headers/Foundation/NSLocale.h:
+   * Source/NSLocale.m (+localeWithLocaleIdentifier:):
+   Add trivial method introduced in OS X 10.6.
+
 2016-03-09 Riccardo Mottola <r...@gnu.org>
 
* Headers/Foundation/NSPathUtilities.h

Modified: libs/base/trunk/Headers/Foundation/NSLocale.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Headers/Foundation/NSLocale.h?rev=39516=39515=39516=diff
==
--- libs/base/trunk/Headers/Foundation/NSLocale.h   (original)
+++ libs/base/trunk/Headers/Foundation/NSLocale.h   Thu Mar 10 09:48:40 2016
@@ -186,6 +186,12 @@
 + (NSString *) localeIdentifierFromWindowsLocaleCode: (uint32_t)lcid;
 #endif
 
+#if OS_API_VERSION(MAC_OS_X_VERSION_10_6, GS_API_LATEST)
+/** Returns a locale initialised with the given locale identifier.
+ */
++ (id) localeWithLocaleIdentifier:(NSString *)string;
+#endif
+
 #if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
 /** Returns an array of preferred languages.  Sorted from most preferred to
  *  leave preferred.

Modified: libs/base/trunk/Source/NSLocale.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSLocale.m?rev=39516=39515=39516=diff
==
--- libs/base/trunk/Source/NSLocale.m   (original)
+++ libs/base/trunk/Source/NSLocale.m   Thu Mar 10 09:48:40 2016
@@ -588,6 +588,11 @@
   return AUTORELEASE(result);
 }
 
++ (id) localeWithLocaleIdentifier:(NSString *)string
+{
+  return AUTORELEASE([[NSLocale alloc] initWithLocaleIdentifier: string]);
+}
+
 + (NSString *) localeIdentifierFromComponents: (NSDictionary *) dict
 {
   NSString *result;


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r39514 - /apps/gworkspace/trunk/ChangeLog

2016-03-10 Thread wolfgang . lux
Author: wlux
Date: Thu Mar 10 09:42:01 2016
New Revision: 39514

URL: http://svn.gna.org/viewcvs/gnustep?rev=39514=rev
Log:
Fix linking argument order in configure test.

Modified:
apps/gworkspace/trunk/ChangeLog

Modified: apps/gworkspace/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/ChangeLog?rev=39514=39513=39514=diff
==
--- apps/gworkspace/trunk/ChangeLog (original)
+++ apps/gworkspace/trunk/ChangeLog Thu Mar 10 09:42:01 2016
@@ -1,3 +1,8 @@
+2016-03-10  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Inspector/aclocal.m4 (AC_CHECK_PDFKIT):
+   Fix linking argument order in configure test.
+
 2016-03-07 Riccardo Mottola <r...@gnu.org>
 
* FSNode/FSNode.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r39515 - in /apps/gworkspace/trunk/Inspector: aclocal.m4 configure

2016-03-10 Thread wolfgang . lux
Author: wlux
Date: Thu Mar 10 09:42:17 2016
New Revision: 39515

URL: http://svn.gna.org/viewcvs/gnustep?rev=39515=rev
Log:
Fix linking argument order in configure test.

Modified:
apps/gworkspace/trunk/Inspector/aclocal.m4
apps/gworkspace/trunk/Inspector/configure

Modified: apps/gworkspace/trunk/Inspector/aclocal.m4
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/Inspector/aclocal.m4?rev=39515=39514=39515=diff
==
--- apps/gworkspace/trunk/Inspector/aclocal.m4  (original)
+++ apps/gworkspace/trunk/Inspector/aclocal.m4  Thu Mar 10 09:42:17 2016
@@ -7,26 +7,21 @@
   OLD_CFLAGS=$CFLAGS  
   CFLAGS="-xobjective-c `gnustep-config --objc-flags`"
 
-  OLD_LDFLAGS="$LD_FLAGS"
-  LDFLAGS="$LDFLAGS `gnustep-config --gui-libs`"
   OLD_LIBS="$LIBS"
-  LIBS="$LIBS -lPDFKit"
+  LIBS="$LIBS -lPDFKit `gnustep-config --gui-libs`"
 
   AC_MSG_CHECKING([for PDFKit])
 
   AC_LINK_IFELSE(
-  AC_LANG_PROGRAM(
-  [[#include 
-#include 
-#include ]],
-  PDFDocument class]];]]),
+  [AC_LANG_PROGRAM(
+  [[#include ]],
+  PDFDocument class]];]])],
  $1;
  have_pdfkit=yes,
  $2;
  have_pdfkit=no)
 
   LIBS="$OLD_LIBS"
-  LDFLAGS="$OLD_LDFLAGS"
   CFLAGS="$OLD_CFLAGS"
 
   AC_MSG_RESULT($have_pdfkit)

Modified: apps/gworkspace/trunk/Inspector/configure
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/Inspector/configure?rev=39515=39514=39515=diff
==
--- apps/gworkspace/trunk/Inspector/configure   (original)
+++ apps/gworkspace/trunk/Inspector/configure   Thu Mar 10 09:42:17 2016
@@ -1,11 +1,9 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68.
+# Generated by GNU Autoconf 2.69.
 #
 #
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 #
 #
 # This configure script is free software; the Free Software Foundation
@@ -134,6 +132,31 @@
 # CDPATH.
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
+# Use a proper internal environment variable to ensure we don't fall
+  # into an infinite loop, continuously re-executing ourselves.
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+_as_can_reexec=no; export _as_can_reexec;
+# We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # 
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+  fi
+  # We don't want this to propagate to other subprocesses.
+  { _as_can_reexec=; unset _as_can_reexec;}
 if test "x$CONFIG_SHELL" = x; then
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) 
>/dev/null 2>&1; then :
   emulate sh
@@ -167,7 +190,8 @@
 else
   exitcode=1; echo positional parameters were not saved.
 fi
-test x\$exitcode = x0 || exit 1"
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
   as_suggested="  
as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" 
as_lineno_1a=\$LINENO
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" 
as_lineno_2a=\$LINENO
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -212,21 +236,25 @@
 
 
   if test "x$CONFIG_SHELL" != x; then :
-  # We cannot yet assume a decent shell, so we have to provide a
-   # neutralization value for shells without unset; and this also
-   # works around shells that cannot unset nonexistent variables.
-   # Preserve -v and -x to the replacement shell.
-   BASH_ENV=/dev/null
-   ENV=/dev/null
-   (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-   export CONFIG_SHELL
-   case $- in # 
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-   esac
-   exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
+  export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent 

[Gnustep-cvs] r39171 - in /libs/back/trunk: ChangeLog Source/x11/XGServerWindow.m

2015-11-13 Thread wolfgang . lux
Author: wlux
Date: Fri Nov 13 16:30:15 2015
New Revision: 39171

URL: http://svn.gna.org/viewcvs/gnustep?rev=39171=rev
Log:
Create an empty app icon window before eventually checking the window
frame offsets when using WindowMaker. This fixes the issue that the
first GNUstep application started under WindowMaker did not get a
proper application menu.

Modified:
libs/back/trunk/ChangeLog
libs/back/trunk/Source/x11/XGServerWindow.m

Modified: libs/back/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/back/trunk/ChangeLog?rev=39171=39170=39171=diff
==
--- libs/back/trunk/ChangeLog   (original)
+++ libs/back/trunk/ChangeLog   Fri Nov 13 16:30:15 2015
@@ -1,3 +1,11 @@
+2015-11-13  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Source/x11/XGServerWindow.m (_setupRootWindow, window):
+   Create an empty app icon window before eventually checking the
+   window frame offsets when using WindowMaker. This fixes the issue
+   that the first GNUstep application started under WindowMaker did
+   not get a proper application menu.
+
 2015-11-03  Fred Kiefer <fredkie...@gmx.de>
 
* Source/x11/XGServerEvent.m (-processEvent:): For repeated keys

Modified: libs/back/trunk/Source/x11/XGServerWindow.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/back/trunk/Source/x11/XGServerWindow.m?rev=39171=39170=39171=diff
==
--- libs/back/trunk/Source/x11/XGServerWindow.m (original)
+++ libs/back/trunk/Source/x11/XGServerWindow.m Fri Nov 13 16:30:15 2015
@@ -74,6 +74,7 @@
 
 
 static BOOL handlesWindowDecorations = YES;
+static int _wmAppIcon = -1;
 
 
 /*
@@ -1708,6 +1709,24 @@
   // FIXME: Need to set WM_CLIENT_MACHINE as well.
 }
 
+  /* WindowMaker hack: We want to display our own app icon window in the
+   * icon window provided by WindowMaker. However, this only works when
+   * the icon window is the first window being mapped. For that reason,
+   * we create an empty icon window here before the code below eventually
+   * generates some temporary windows to determine the window frame offsets
+   * and reuse the icon window once the real app icon window is allocated.
+   */
+  if ((generic.wm & XGWM_WINDOWMAKER) == XGWM_WINDOWMAKER
+  && generic.flags.useWindowMakerIcons == 1)
+{
+  NSDebugLLog(@"XGTrace", @"WindowMaker hack: Preparing app icon window");
+  _wmAppIcon =
+   [self window: NSZeroRect : NSBackingStoreBuffered
+   : NSIconWindowMask : defScreen];
+  [self orderwindow: NSWindowAbove : -1 : _wmAppIcon];
+  NSDebugLLog(@"XGTrace", @"WindowMaker hack: icon window = %d", 
_wmAppIcon);
+}
+
   /* We need to determine the offsets between the actual decorated window
* and the window we draw into.
*/
@@ -1996,6 +2015,19 @@
   RContext  *context;
 
   NSDebugLLog(@"XGTrace", @"DPSwindow: %@ %d", NSStringFromRect(frame), 
(int)type);
+  /* WindowMaker hack: Reuse the empty app icon allocated in _setupRootWindow
+   * for the real app icon.
+   */
+  if ((generic.wm & XGWM_WINDOWMAKER) == XGWM_WINDOWMAKER
+  && generic.flags.useWindowMakerIcons == 1
+  && (style & NSIconWindowMask) == NSIconWindowMask
+  && _wmAppIcon != -1)
+{
+  int win = _wmAppIcon;
+  NSDebugLLog(@"XGTrace", @"WindowMaker hack: Returning window %d as app 
icon window", win);
+  _wmAppIcon = -1;
+  return win;
+}
   root = [self _rootWindowForScreen: screen];
   context = [self xrContextForScreen: screen];
 


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r39088 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/STObjCRuntime.m

2015-10-23 Thread wolfgang . lux
Author: wlux
Date: Fri Oct 23 18:32:21 2015
New Revision: 39088

URL: http://svn.gna.org/viewcvs/gnustep?rev=39088=rev
Log:
Fix bug where incorrect method signatures were generated for script
methods with more than four arguments.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/STObjCRuntime.m

Modified: libs/steptalk/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/ChangeLog?rev=39088=39087=39088=diff
==
--- libs/steptalk/trunk/ChangeLog   (original)
+++ libs/steptalk/trunk/ChangeLog   Fri Oct 23 18:32:21 2015
@@ -1,3 +1,9 @@
+2015-10-23  Wolfgang Lux  <wolfgang@gmail.com>
+
+   * Frameworks/StepTalk/STObjCRuntime.m (selector_types): Fix broken
+   array initialization, which meant that incorrect method signatures
+   were generated for methods with more than four arguments.
+
 2014-11-02  Wolfgang Lux  <wolfgang@gmail.com>
 
* Frameworks/StepTalk/STRemoteConversation.m

Modified: libs/steptalk/trunk/Frameworks/StepTalk/STObjCRuntime.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Frameworks/StepTalk/STObjCRuntime.m?rev=39088=39087=39088=diff
==
--- libs/steptalk/trunk/Frameworks/StepTalk/STObjCRuntime.m (original)
+++ libs/steptalk/trunk/Frameworks/StepTalk/STObjCRuntime.m Fri Oct 23 
18:32:21 2015
@@ -38,7 +38,7 @@
 #import 
 #import 
 
-#define SELECTOR_TYPES_COUNT 10
+#define SELECTOR_TYPES_COUNT (sizeof(selector_types)/sizeof(selector_types[0]))
 
 /* Predefined default selector types up to 10 arguments for fast creation.
It should be faster than manually constructing the string. */
@@ -49,11 +49,11 @@
 "@16@0:4@8@12",
 "@20@0:4@8@12@16",
 "@24@0:4@8@12@16@20",
-"@28@0:4@8@12@16@20@24" 
-"@32@0:4@8@12@16@20@24@28" 
-"@36@0:4@8@12@16@20@24@28@32" 
-"@40@0:4@8@12@16@20@24@28@32@36" 
-"@44@0:4@8@12@16@20@24@28@32@36@40" 
+"@28@0:4@8@12@16@20@24",
+"@32@0:4@8@12@16@20@24@28",
+"@36@0:4@8@12@16@20@24@28@32",
+"@40@0:4@8@12@16@20@24@28@32@36",
+"@44@0:4@8@12@16@20@24@28@32@36@40"
 };
 
 NSMutableDictionary *STAllObjectiveCClasses(void)


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38898 - in /tools/make/trunk: ChangeLog configure configure.ac

2015-08-17 Thread wolfgang . lux
Author: wlux
Date: Mon Aug 17 14:48:41 2015
New Revision: 38898

URL: http://svn.gna.org/viewcvs/gnustep?rev=38898view=rev
Log:
Fix previous change, which had broken the autoconf tests for Objective
C++, the fragile API and native exception support, by using the
correct autoconf macros.

Modified:
tools/make/trunk/ChangeLog
tools/make/trunk/configure
tools/make/trunk/configure.ac

Modified: tools/make/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/ChangeLog?rev=38898r1=38897r2=38898view=diff
==
--- tools/make/trunk/ChangeLog  (original)
+++ tools/make/trunk/ChangeLog  Mon Aug 17 14:48:41 2015
@@ -1,3 +1,11 @@
+2015-08-17  Wolfgang Lux  wolfgang@gmail.com
+
+   * configure.ac: Fix the previous change, which had broken the tests
+   for Objective C++, the fragile API and native exception support,
+   by using the correct autoconf macros.
+
+   * configure: Regenerated.
+
 2015-08-16 Richard Frith-Macdonald r...@gnu.org
 
* library-combo.make: Use David's suggested runtime flag for the

Modified: tools/make/trunk/configure
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/configure?rev=38898r1=38897r2=38898view=diff
==
--- tools/make/trunk/configure  (original)
+++ tools/make/trunk/configure  Mon Aug 17 14:48:41 2015
@@ -5901,10 +5901,6 @@
 cat confdefs.h - _ACEOF conftest.$ac_ext
 /* end confdefs.h.  */
 
-int
-main ()
-{
-
 
 @interface ObjCClass
 {
@@ -5923,9 +5919,6 @@
   return 0;
 }
 
-  ;
-  return 0;
-}
 _ACEOF
 if ac_fn_cxx_try_compile $LINENO; then :
   objcc=yes
@@ -5975,10 +5968,6 @@
   cat confdefs.h - _ACEOF conftest.$ac_ext
 /* end confdefs.h.  */
 
-int
-main ()
-{
-
 /* Note that we never execute this code so it does not really matter
what it is.  We are testing that the compiler accepts the
'-fobjc-nonfragile-abi' flag.  */
@@ -5991,9 +5980,6 @@
 return __has_feature(objc_nonfragile_abi) ? 0 : 1;
 }
 
-  ;
-  return 0;
-}
 _ACEOF
 if ac_fn_c_try_compile $LINENO; then :
   USE_NONFRAGILE_ABI=yes
@@ -6161,10 +6147,6 @@
   cat confdefs.h - _ACEOF conftest.$ac_ext
 /* end confdefs.h.  */
 
-int
-main ()
-{
-
 #include objc/objc.h
 @interface Test { id isa; } @end
 
@@ -6182,9 +6164,6 @@
   return 0;
 }
 
-  ;
-  return 0;
-}
 _ACEOF
 if ac_fn_c_try_compile $LINENO; then :
   USE_OBJC_EXCEPTIONS=yes

Modified: tools/make/trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/configure.ac?rev=38898r1=38897r2=38898view=diff
==
--- tools/make/trunk/configure.ac   (original)
+++ tools/make/trunk/configure.ac   Mon Aug 17 14:48:41 2015
@@ -1369,7 +1369,7 @@
 CXXPPFLAGS_saved=$CXXPPFLAGS
 CXXPPFLAGS=$CXXPPFLAGS -x objective-c++
 
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
 
 @interface ObjCClass
 {
@@ -1387,7 +1387,7 @@
 {
   return 0;
 }
-])], objcc=yes, objcc=no)
+]])], objcc=yes, objcc=no)
 AC_MSG_RESULT($objcc)
 if test x$objcc = xno; then
   OBJCXX=
@@ -1420,7 +1420,7 @@
   # something with -fobjc-nonfragile-abi.
   CFLAGS_no_nonfragile=$CFLAGS
   CFLAGS=$CFLAGS -fobjc-nonfragile-abi
-  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[
+  AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
 /* Note that we never execute this code so it does not really matter
what it is.  We are testing that the compiler accepts the
'-fobjc-nonfragile-abi' flag.  */
@@ -1432,7 +1432,7 @@
 #endif
 return __has_feature(objc_nonfragile_abi) ? 0 : 1;
 }
-])], USE_NONFRAGILE_ABI=yes, USE_NONFRAGILE_ABI=no)
+]])], USE_NONFRAGILE_ABI=yes, USE_NONFRAGILE_ABI=no)
   AC_MSG_RESULT($USE_NONFRAGILE_ABI)
   CFLAGS=$CFLAGS_no_nonfragile
 
@@ -1569,7 +1569,7 @@
   # something with @try/@catch/@finally in it.
   CFLAGS_no_exceptions=$CFLAGS
   CFLAGS=$CFLAGS -fexceptions -fobjc-exceptions
-  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[
+  AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
 #include objc/objc.h
 @interface Test { id isa; } @end
 
@@ -1586,7 +1586,7 @@
 }
   return 0;
 }
-  ])], USE_OBJC_EXCEPTIONS=yes, USE_OBJC_EXCEPTIONS=no)
+  ]])], USE_OBJC_EXCEPTIONS=yes, USE_OBJC_EXCEPTIONS=no)
 if test x$USE_OBJC_EXCEPTIONS = xno; then
   AC_MSG_RESULT(no)
 else


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38835 - in /libs/sqlclient/trunk: ChangeLog SQLClient.m

2015-07-23 Thread wolfgang . lux
Author: wlux
Date: Thu Jul 23 16:59:03 2015
New Revision: 38835

URL: http://svn.gna.org/viewcvs/gnustep?rev=38835view=rev
Log:
Ensure dates are quoted correctly irrespective of their current format.

Modified:
libs/sqlclient/trunk/ChangeLog
libs/sqlclient/trunk/SQLClient.m

Modified: libs/sqlclient/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/sqlclient/trunk/ChangeLog?rev=38835r1=38834r2=38835view=diff
==
--- libs/sqlclient/trunk/ChangeLog  (original)
+++ libs/sqlclient/trunk/ChangeLog  Thu Jul 23 16:59:03 2015
@@ -1,3 +1,9 @@
+2015-07-23  Wolfgang Lux  wolfgang@gmail.com
+
+   * SQLClient.m (initialize): Restore initialization of NSDateClass
+   so that dates are quoted correctly irrespective of their current
+   format.
+
 2015-07-22 Richard Frith-Macdonald  r...@gnu.org
 
* SQLClient.h:

Modified: libs/sqlclient/trunk/SQLClient.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/sqlclient/trunk/SQLClient.m?rev=38835r1=38834r2=38835view=diff
==
--- libs/sqlclient/trunk/SQLClient.m(original)
+++ libs/sqlclient/trunk/SQLClient.mThu Jul 23 16:59:03 2015
@@ -934,6 +934,7 @@
   rollbackStatement
 = [[NSArray arrayWithObject: rollbackString] retain];
   NSStringClass = [NSString class];
+  NSDateClass = [NSDate class];
   NSArrayClass = [NSArray class];
   NSSetClass = [NSSet class];
   [NSTimer scheduledTimerWithTimeInterval: 1.0


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38810 - in /libs/sqlclient/trunk: ChangeLog Postgres.m

2015-07-16 Thread wolfgang . lux
Author: wlux
Date: Thu Jul 16 15:54:23 2015
New Revision: 38810

URL: http://svn.gna.org/viewcvs/gnustep?rev=38810view=rev
Log:
Use local time zone instead of GMT when parsing a date without a time zone.

Modified:
libs/sqlclient/trunk/ChangeLog
libs/sqlclient/trunk/Postgres.m

Modified: libs/sqlclient/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/sqlclient/trunk/ChangeLog?rev=38810r1=38809r2=38810view=diff
==
--- libs/sqlclient/trunk/ChangeLog  (original)
+++ libs/sqlclient/trunk/ChangeLog  Thu Jul 16 15:54:23 2015
@@ -1,3 +1,8 @@
+2015-07-16  Wolfgang Lux  wolfgang@gmail.com
+
+   * Postgres.m (newDateFromBuffer): Use local time zone instead of
+   GMT when parsing a date without a time zone.
+
 2015-06-29 Richard Frith-Macdonald  r...@gnu.org
 
* SQLClient.h:

Modified: libs/sqlclient/trunk/Postgres.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/sqlclient/trunk/Postgres.m?rev=38810r1=38809r2=38810view=diff
==
--- libs/sqlclient/trunk/Postgres.m (original)
+++ libs/sqlclient/trunk/Postgres.m Thu Jul 16 15:54:23 2015
@@ -100,9 +100,8 @@
 newDateFromBuffer(const char *b, int l)
 {
   NSCalendarDate   *d;
-  NSTimeZone   *zone;
+  NSTimeZone   *zone = nil;
   int  milliseconds = 0;
-  int   timezone = 0;
   int  day;
   int  month;
   int  year;
@@ -143,6 +142,7 @@
   hour = 0;
   minute = 0;
   second = 0;
+  zone = [NSTimeZone localTimeZone];
 }
   else
 {
@@ -188,6 +188,7 @@
   if (i  l  ('+' == b[i] || '-' == b[i]))
{
  char  sign = b[i++];
+  int   timezone;
 
  if (i = l || !isdigit(b[i])) return nil;
  timezone = b[i++] - '0';
@@ -210,17 +211,21 @@
}
  if ('-' == sign)
timezone = -timezone;
-   }
-}
-
-  if (timezone % 60 == 0)
-{
-  zone = zones[23 + timezone / 60];
-}
-  else
-{
-  zone = [NSTimeZone timeZoneForSecondsFromGMT: timezone * 60];
-}
+  if (timezone % 60 == 0)
+{
+  zone = zones[23 + timezone / 60];
+}
+  else
+{
+  zone = [NSTimeZone timeZoneForSecondsFromGMT: timezone * 60];
+}
+   }
+  else
+{
+  zone = [NSTimeZone localTimeZone];
+}
+}
+
 
   d = [NSCalendarDate alloc];
   if (year = 1)


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38743 - in /libs/webservices/trunk: ChangeLog GWSJSONCoder.m

2015-07-03 Thread wolfgang . lux
Author: wlux
Date: Fri Jul  3 12:38:23 2015
New Revision: 38743

URL: http://svn.gna.org/viewcvs/gnustep?rev=38743view=rev
Log:
Fix bug parsing JSON strings containing backslashes.

Modified:
libs/webservices/trunk/ChangeLog
libs/webservices/trunk/GWSJSONCoder.m

Modified: libs/webservices/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/webservices/trunk/ChangeLog?rev=38743r1=38742r2=38743view=diff
==
--- libs/webservices/trunk/ChangeLog(original)
+++ libs/webservices/trunk/ChangeLogFri Jul  3 12:38:23 2015
@@ -1,3 +1,9 @@
+2015-07-03  Wolfgang Lux  wolfgang@gmail.com
+
+   * GWSJSONCoder.m (newParsed): Fix bug parsing JSON strings
+   containing backslashes, which would result in the returned string
+   being empty.
+
 2015-03-17 Richard Frith-Macdonald  r...@gnu.org
 
* GWSXMLRPCCoder.m: add more checks when strict parsing in use.

Modified: libs/webservices/trunk/GWSJSONCoder.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/webservices/trunk/GWSJSONCoder.m?rev=38743r1=38742r2=38743view=diff
==
--- libs/webservices/trunk/GWSJSONCoder.m   (original)
+++ libs/webservices/trunk/GWSJSONCoder.m   Fri Jul  3 12:38:23 2015
@@ -230,8 +230,8 @@
{
   char  *buf;
   int   len;
-  int   pos = ctxt-index;
-  int   end = ctxt-index - start - 1;
+  int   pos = start;
+  int   end = ctxt-index - 1;
 
   buf = malloc(ctxt-index - start - 1);
   for (len = 0; pos  end; len++)


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38651 - /libs/ec/trunk/EcCommand.m

2015-06-17 Thread wolfgang . lux
Author: wlux
Date: Wed Jun 17 14:47:01 2015
New Revision: 38651

URL: http://svn.gna.org/viewcvs/gnustep?rev=38651view=rev
Log:
Really prevent recursive invocations of log file compression and deletion

Modified:
libs/ec/trunk/EcCommand.m

Modified: libs/ec/trunk/EcCommand.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/EcCommand.m?rev=38651r1=38650r2=38651view=diff
==
--- libs/ec/trunk/EcCommand.m   (original)
+++ libs/ec/trunk/EcCommand.m   Wed Jun 17 14:47:01 2015
@@ -2646,7 +2646,6 @@
   else logUncompressed = ti;
 
   DESTROY(arp);
-  sweeping = NO;
 }
 
 /* Perform this one in another thread.
@@ -2662,6 +2661,7 @@
 }
   [self _sweep: YES at: when];
   [self _sweep: NO at: when];
+  sweeping = NO;
 }
 
 - (void) ecNewHour: (NSCalendarDate*)when


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38446 - in /libs/base/trunk: ChangeLog configure configure.ac

2015-04-01 Thread wolfgang . lux
Author: wlux
Date: Wed Apr  1 10:44:17 2015
New Revision: 38446

URL: http://svn.gna.org/viewcvs/gnustep?rev=38446view=rev
Log:
Fix comment syntax in configure script

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/configure
libs/base/trunk/configure.ac

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=38446r1=38445r2=38446view=diff

Modified: libs/base/trunk/configure
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure?rev=38446r1=38445r2=38446view=diff

Modified: libs/base/trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure.ac?rev=38446r1=38445r2=38446view=diff


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38445 - in /libs/base/trunk: ChangeLog configure configure.ac

2015-04-01 Thread wolfgang . lux
Author: wlux
Date: Wed Apr  1 10:29:19 2015
New Revision: 38445

URL: http://svn.gna.org/viewcvs/gnustep?rev=38445view=rev
Log:
Use standard operator in test command

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/configure
libs/base/trunk/configure.ac

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=38445r1=38444r2=38445view=diff
==
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Wed Apr  1 10:29:19 2015
@@ -1,3 +1,9 @@
+2015-04-01  Wolfgang Lux  wolfgang@gmail.com
+
+   * configure.ac:
+   * configure:
+   Use standard operator in test command
+
 2015-03-31  Richard Frith-Macdonald r...@gnu.org
 
* Source/GSPrivate.h: Internal function to get OS thread ID

Modified: libs/base/trunk/configure
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure?rev=38445r1=38444r2=38445view=diff
==
--- libs/base/trunk/configure   (original)
+++ libs/base/trunk/configure   Wed Apr  1 10:29:19 2015
@@ -14018,7 +14018,7 @@
 fi
 done
 
-if test $ac_cv_func_pthread_set_name_np == yes; then
+if test $ac_cv_func_pthread_set_name_np = yes; then
 
 cat confdefs.h \_ACEOF
 #define PTHREAD_SETNAME(a) (pthread_set_name_np(pthread_self(), a), 0)

Modified: libs/base/trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure.ac?rev=38445r1=38444r2=38445view=diff
==
--- libs/base/trunk/configure.ac(original)
+++ libs/base/trunk/configure.acWed Apr  1 10:29:19 2015
@@ -1754,7 +1754,7 @@
 #
 
 AC_CHECK_FUNCS(pthread_set_name_np)
-if test $ac_cv_func_pthread_set_name_np == yes; then
+if test $ac_cv_func_pthread_set_name_np = yes; then
   AC_DEFINE(PTHREAD_SETNAME(a), (pthread_set_name_np(pthread_self(), a), 0),
 [Description: Define set name function for pthread returning void])
 else


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38297 - in /libs/ec/trunk: ChangeLog GNUmakefile.preamble

2015-01-19 Thread wolfgang . lux
Author: wlux
Date: Mon Jan 19 08:59:17 2015
New Revision: 38297

URL: http://svn.gna.org/viewcvs/gnustep?rev=38297view=rev
Log:
Fix wrong option letter in sed command

Modified:
libs/ec/trunk/ChangeLog
libs/ec/trunk/GNUmakefile.preamble

Modified: libs/ec/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/ChangeLog?rev=38297r1=38296r2=38297view=diff
==
--- libs/ec/trunk/ChangeLog (original)
+++ libs/ec/trunk/ChangeLog Mon Jan 19 08:59:17 2015
@@ -1,10 +1,14 @@
+2015-01-19  Wolfgang Lux  wolfgang@gmail.com
+
+   * GNUmakefile.preamble: Fix wrong option letter in sed command.
+
 2015-01-15  Richard Frith-Macdonald r...@gnu.org
 
 * EcAlarmDestination.m: When shutting down, only wait for the
background thread first time ... otherwise we could get into a
recursive loop calling the -shutdown method while
waiting for shutdown to complete.
-   
+
 2015-01-07  Richard Frith-Macdonald r...@gnu.org
 
* configure.ac:

Modified: libs/ec/trunk/GNUmakefile.preamble
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/ec/trunk/GNUmakefile.preamble?rev=38297r1=38296r2=38297view=diff
==
--- libs/ec/trunk/GNUmakefile.preamble  (original)
+++ libs/ec/trunk/GNUmakefile.preamble  Mon Jan 19 08:59:17 2015
@@ -48,7 +48,7 @@
 # Extras for when building with SNMP support
 #
 ifeq ($(WITH_NET_SNMP),yes)
-  EcAlarmSinkSNMP.m_FILE_FLAGS += $(shell net-snmp-config --cflags | sed -e 
's/-l[^ ]*//g' | sed -d 's/-fstack-protect-strong//g')
+  EcAlarmSinkSNMP.m_FILE_FLAGS += $(shell net-snmp-config --cflags | sed -e 
's/-l[^ ]*//g' | sed -e 's/-fstack-protect-strong//g')
   LIBRARIES_DEPEND_UPON += $(shell net-snmp-config --agent-libs)
 endif
 


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38265 - in /libs/base/trunk: ChangeLog Source/GSSocketStream.m Source/GSTLS.m

2014-12-28 Thread wolfgang . lux
Author: wlux
Date: Sun Dec 28 12:59:36 2014
New Revision: 38265

URL: http://svn.gna.org/viewcvs/gnustep?rev=38265view=rev
Log:
Fixes to build again when tls is disabled

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Source/GSSocketStream.m
libs/base/trunk/Source/GSTLS.m

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=38265r1=38264r2=38265view=diff
==
--- libs/base/trunk/ChangeLog   (original)
+++ libs/base/trunk/ChangeLog   Sun Dec 28 12:59:36 2014
@@ -1,3 +1,10 @@
+2014-12-28  Wolfgang Lux  wolfgang@gmail.com
+
+   * Source/GSSocketStream.m: Add necessary GSTLSHandler methods when
+   TLS is disabled.
+   * Source/GSTLS.m (standardizedPath): Define private function only
+   when TLS is enabled.
+
 2014-12-23  Richard Frith-Macdonald r...@gnu.org
 
* Source/NSTimeZone.m:

Modified: libs/base/trunk/Source/GSSocketStream.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/GSSocketStream.m?rev=38265r1=38264r2=38265view=diff
==
--- libs/base/trunk/Source/GSSocketStream.m (original)
+++ libs/base/trunk/Source/GSSocketStream.m Sun Dec 28 12:59:36 2014
@@ -729,6 +729,59 @@
 @interface  GSTLSHandler : GSStreamHandler
 @end
 @implementation GSTLSHandler
+
+static NSArray  *keys = nil;
+
++ (void) initialize
+{
+  if (nil == keys)
+{
+  keys = [[NSArray alloc] initWithObjects:
+GSTLSCAFile,
+GSTLSCertificateFile,
+GSTLSCertificateKeyFile,
+GSTLSCertificateKeyPassword,
+GSTLSDebug,
+GSTLSPriority,
+GSTLSRemoteHosts,
+GSTLSRevokeFile,
+GSTLSVerify,
+nil];
+  [[NSObject leakAt: keys] release];
+}
+}
+
++ (void) populateProperties: (NSMutableDictionary**)dict
+   withTLSPriority: (NSString*)pri
+   fromInputStream: (NSStream*)i
+orOutputStream: (NSStream*)o
+{
+  NSString  *str;
+  NSMutableDictionary   *opts = *dict;
+  NSUIntegercount;
+  
+  if (NULL != dict)
+{
+  if (nil != pri)
+   {
+ [opts setObject: pri forKey: GSTLSPriority];
+   }
+  count = [keys count];
+  while (count--  0)
+   {
+ NSString  *key = [keys objectAtIndex: count];
+
+ str = [o propertyForKey: key];
+ if (nil == str) str = [i propertyForKey: key];
+ if (nil != str) [opts setObject: str forKey: key];
+   }
+}
+  else
+{
+  NSWarnLog(@%@ requires not nil 'dict', NSStringFromSelector(_cmd));
+}
+}
+
 + (void) tryInput: (GSSocketInputStream*)i output: (GSSocketOutputStream*)o
 {
   NSString *tls;

Modified: libs/base/trunk/Source/GSTLS.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/GSTLS.m?rev=38265r1=38264r2=38265view=diff
==
--- libs/base/trunk/Source/GSTLS.m  (original)
+++ libs/base/trunk/Source/GSTLS.m  Sun Dec 28 12:59:36 2014
@@ -54,6 +54,8 @@
 NSString * const GSTLSRevokeFile = @GSTLSRevokeFile;
 NSString * const GSTLSVerify = @GSTLSVerify;
 
+#if defined(HAVE_GNUTLS)
+
 static NSString *
 standardizedPath(NSString *path)
 {
@@ -68,8 +70,6 @@
 }
   return [path stringByStandardizingPath];
 }
-
-#if defined(HAVE_GNUTLS)
 
 #if GNUTLS_VERSION_NUMBER = 0x020b00
 /* Set up locking callbacks for gcrypt so that it will be thread-safe.


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38266 - in /libs/base/trunk: ChangeLog Source/NSThread.m configure configure.ac

2014-12-28 Thread wolfgang . lux
Author: wlux
Date: Sun Dec 28 14:19:19 2014
New Revision: 38266

URL: http://svn.gna.org/viewcvs/gnustep?rev=38266view=rev
Log:
Fix detection of the proper pthread_setname_np and pthread_set_name_np
variants on FreeBSD, OpenBSD and Darwin.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Source/NSThread.m
libs/base/trunk/configure
libs/base/trunk/configure.ac

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=38266r1=38265r2=38266view=diff

Modified: libs/base/trunk/Source/NSThread.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSThread.m?rev=38266r1=38265r2=38266view=diff

Modified: libs/base/trunk/configure
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure?rev=38266r1=38265r2=38266view=diff

Modified: libs/base/trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure.ac?rev=38266r1=38265r2=38266view=diff


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38267 - /libs/base/trunk/configure.ac

2014-12-28 Thread wolfgang . lux
Author: wlux
Date: Sun Dec 28 14:32:13 2014
New Revision: 38267

URL: http://svn.gna.org/viewcvs/gnustep?rev=38267view=rev
Log:
Restore documentation changes lost during merge

Modified:
libs/base/trunk/configure.ac

Modified: libs/base/trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure.ac?rev=38267r1=38266r2=38267view=diff
==
--- libs/base/trunk/configure.ac(original)
+++ libs/base/trunk/configure.acSun Dec 28 14:32:13 2014
@@ -1752,7 +1752,7 @@
 AC_CHECK_FUNCS(pthread_set_name_np)
 if test $ac_cv_func_pthread_set_name_np == yes; then
   AC_DEFINE(PTHREAD_SETNAME(a), (pthread_set_name_np(pthread_self(), a), 0),
-[Description: Define set name function for pthread])
+[Description: Define set name function for pthread returning void])
 else
   AC_CACHE_CHECK(
 [for pthread_setname_np() variant],
@@ -1773,7 +1773,7 @@
   case $gs_cv_pthread_setname_np in
 darwin)
   AC_DEFINE(PTHREAD_SETNAME(a), pthread_setname_np(a),
-[Description: Define set name function for pthread])
+[Description: Define set name function for pthread with one arg])
   ;;
 glibc)
   AC_DEFINE(PTHREAD_SETNAME(a), pthread_setname_np(pthread_self(),a),


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38150 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/STRemoteConversation.m

2014-11-02 Thread wolfgang . lux
Author: wlux
Date: Sun Nov  2 22:49:08 2014
New Revision: 38150

URL: http://svn.gna.org/viewcvs/gnustep?rev=38150view=rev
Log:
Fix space leak when a connection died.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m

Modified: libs/steptalk/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/ChangeLog?rev=38150r1=38149r2=38150view=diff
==
--- libs/steptalk/trunk/ChangeLog   (original)
+++ libs/steptalk/trunk/ChangeLog   Sun Nov  2 22:49:08 2014
@@ -1,3 +1,9 @@
+2014-11-02  Wolfgang Lux  wolfgang@gmail.com
+
+   * Frameworks/StepTalk/STRemoteConversation.m (connectionDidDie:):
+   Fix leak of the proxy and environmentProcess attributes when a
+   connection died.
+
 2014-11-01  Wolfgang Lux  wolfgang@gmail.com
 
* Frameworks/StepTalk/NSObject+additions.h (-notEqual:, -notSame:):

Modified: libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m?rev=38150r1=38149r2=38150view=diff
==
--- libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m  
(original)
+++ libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m  Sun Nov 
 2 22:49:08 2014
@@ -79,7 +79,6 @@
 [connection invalidate];
 RELEASE(connection);
 connection = nil;
-return;
 }
 
 - (void)dealloc
@@ -134,7 +133,9 @@
 NSLog(@Closing conversation (%@) with %@, self, environmentName);
 }
 
+RELEASE(proxy);
 proxy = nil;
+RELEASE(environmentProcess);
 environmentProcess = nil;
 RELEASE(connection);
 connection = nil;


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38151 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/STRemoteConversation.m

2014-11-02 Thread wolfgang . lux
Author: wlux
Date: Sun Nov  2 23:11:55 2014
New Revision: 38151

URL: http://svn.gna.org/viewcvs/gnustep?rev=38151view=rev
Log:
Force use of a socket port name server to look up servers on other hosts.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m

Modified: libs/steptalk/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/ChangeLog?rev=38151r1=38150r2=38151view=diff
==
--- libs/steptalk/trunk/ChangeLog   (original)
+++ libs/steptalk/trunk/ChangeLog   Sun Nov  2 23:11:55 2014
@@ -1,6 +1,11 @@
 2014-11-02  Wolfgang Lux  wolfgang@gmail.com
 
-   * Frameworks/StepTalk/STRemoteConversation.m (connectionDidDie:):
+   * Frameworks/StepTalk/STRemoteConversation.m (-open): Force use of
+   a socket port name server to look up servers on other hosts.
+
+2014-11-02  Wolfgang Lux  wolfgang@gmail.com
+
+   * Frameworks/StepTalk/STRemoteConversation.m (-connectionDidDie:):
Fix leak of the proxy and environmentProcess attributes when a
connection died.
 

Modified: libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m?rev=38151r1=38150r2=38151view=diff
==
--- libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m  
(original)
+++ libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m  Sun Nov 
 2 23:11:55 2014
@@ -6,6 +6,7 @@
 #import Foundation/NSNotification.h
 #import Foundation/NSConnection.h
 #import Foundation/NSDistantObject.h
+#import Foundation/NSPortNameServer.h
 
 #import STEnvironment.h
 
@@ -34,23 +35,29 @@
 - (void)open
 {
 NSString *envProcName;
-
-if(connection)
+NSPortNameServer *nameServer;
+
+if (connection)
 {
 [NSException raise:@STConversationException
  format:@Unable to open conversation: already opened.];
 return;
 }
-
-envProcName = [NSString stringWithFormat:@STEnvironment:%@, 
+
+envProcName = [NSString stringWithFormat:@STEnvironment:%@,
 environmentName];
 
-connection = [NSConnection connectionWithRegisteredName:envProcName 
-   host:hostName];
+if ([hostName length]  0)
+nameServer = [NSSocketPortNameServer sharedInstance];
+else
+nameServer = [NSPortNameServer systemDefaultPortNameServer];
+connection = [NSConnection connectionWithRegisteredName:envProcName
+   host:hostName
+usingNameServer:nameServer];
 
 RETAIN(connection);
 
-if(!connection)
+if (!connection)
 {
 [NSException raise:@STConversationException
  format:@Connection failed for environment '%@',
@@ -61,11 +68,11 @@
 environmentProcess = RETAIN([connection rootProxy]);
 proxy = RETAIN([environmentProcess createConversation]);
 [proxy setProtocolForProxy:@protocol(STConversation)];
-
+
 [[NSNotificationCenter defaultCenter]
  addObserver: self
 selector: @selector(connectionDidDie:)
-name: NSConnectionDidDieNotification 
+name: NSConnectionDidDieNotification
   object: connection];
 }
 - (void)close


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38145 - in /libs/steptalk/trunk: ./ Frameworks/StepTalk/ Languages/Smalltalk/

2014-11-01 Thread wolfgang . lux
Author: wlux
Date: Sat Nov  1 18:47:23 2014
New Revision: 38145

URL: http://svn.gna.org/viewcvs/gnustep?rev=38145view=rev
Log:
Fix a whole bunch of space leaks in StepTalk.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/STClassInfo.m
libs/steptalk/trunk/Frameworks/StepTalk/STContext.m
libs/steptalk/trunk/Frameworks/StepTalk/STEnvironment.m
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STBlock.m
libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.m
libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiledScript.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m
libs/steptalk/trunk/Languages/Smalltalk/STSmalltalkScriptObject.m
libs/steptalk/trunk/Languages/Smalltalk/SmalltalkEngine.m

Modified: libs/steptalk/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/ChangeLog?rev=38145r1=38144r2=38145view=diff
==
--- libs/steptalk/trunk/ChangeLog   (original)
+++ libs/steptalk/trunk/ChangeLog   Sat Nov  1 18:47:23 2014
@@ -1,3 +1,10 @@
+2014-11-01  Wolfgang Lux  wolfgang@gmail.com
+
+   * Frameworks/StepTalk/STClassInfo.m (-dealloc): Release superclass
+   and superclassName attributes.
+   * Frameworks/StepTalk/STEnvironment.m (-initWithDescription:):
+   Remove duplicated RETAIN statement.
+
 2013-05-27  Wolfgang Lux  wolfgang@gmail.com
 
* Frameworks/StepTalk/NSInvocation+additions.m

Modified: libs/steptalk/trunk/Frameworks/StepTalk/STClassInfo.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Frameworks/StepTalk/STClassInfo.m?rev=38145r1=38144r2=38145view=diff
==
--- libs/steptalk/trunk/Frameworks/StepTalk/STClassInfo.m   (original)
+++ libs/steptalk/trunk/Frameworks/StepTalk/STClassInfo.m   Sat Nov  1 
18:47:23 2014
@@ -48,6 +48,8 @@
 
 - (void)dealloc
 {
+RELEASE(superclass);
+RELEASE(superclassName);
 RELEASE(selectorCache);
 [super dealloc];
 }   

Modified: libs/steptalk/trunk/Frameworks/StepTalk/STContext.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Frameworks/StepTalk/STContext.m?rev=38145r1=38144r2=38145view=diff
==
--- libs/steptalk/trunk/Frameworks/StepTalk/STContext.m (original)
+++ libs/steptalk/trunk/Frameworks/StepTalk/STContext.m Sat Nov  1 18:47:23 2014
@@ -161,7 +161,7 @@
 }
 
 /**
-Return object with name varobjName/var. If object is not found int the
+Return object with name varobjName/var. If object is not found in the
 object dictionary, then object finders are used to try to find the object.
 If object is found by an object finder, then it is put into the object
 dicitonary. If there is no object with given name, varnil/var is 

Modified: libs/steptalk/trunk/Frameworks/StepTalk/STEnvironment.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Frameworks/StepTalk/STEnvironment.m?rev=38145r1=38144r2=38145view=diff
==
--- libs/steptalk/trunk/Frameworks/StepTalk/STEnvironment.m (original)
+++ libs/steptalk/trunk/Frameworks/StepTalk/STEnvironment.m Sat Nov  1 
18:47:23 2014
@@ -116,7 +116,6 @@
 infoCache = [[NSMutableDictionary alloc] init];
 
 description = RETAIN(aDescription);
-RETAIN(description);
 classes = [description classes];
 
 /* Load modules */
@@ -244,7 +243,7 @@
--- */
 
 /**
-Return object with name varobjName/var. If object is not found int the
+Return object with name varobjName/var. If object is not found in the
 object dictionary, then object finders are used to try to find the object.
 If object is found by an object finder, then it is put into the object
 dicitonary. If there is no object with given name, varnil/var is 

Modified: libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/ChangeLog?rev=38145r1=38144r2=38145view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   Sat Nov  1 18:47:23 2014
@@ -1,3 +1,22 @@
+2014-11-01  Wolfgang Lux  wolfgang@gmail.com
+
+* STBlock.m (-dealloc): Release cachedContext attribute.
+* STBlockContext.m (-dealloc): Restore method to release homeContext
+attribute.
+* STBytecodeInterpreter.m (-dealloc): Fix typo in method name and
+release activeContext attribute.
+* STBytecodeInterpreter.m

[Gnustep-cvs] r38146 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STBlock.m

2014-11-01 Thread wolfgang . lux
Author: wlux
Date: Sat Nov  1 19:26:39 2014
New Revision: 38146

URL: http://svn.gna.org/viewcvs/gnustep?rev=38146view=rev
Log:
Fix bug where the cached context of a block could be reused prematurely.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STBlock.m

Modified: libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/ChangeLog?rev=38146r1=38145r2=38146view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   Sat Nov  1 19:26:39 2014
@@ -1,3 +1,19 @@
+2014-11-01  Wolfgang Lux  wolfgang@gmail.com
+
+* STBlock.m (-valueWithArguments:): Fix bug where the cached context
+of a block could be reused prematurely.
+Note: This could happen only when a block is called recursively and
+entered more than once in an inner invocation, as, e.g., in the
+following code to compute the Fibonacci numbers:
+  fib := [:n |
+(n = 1)
+  ifTrue: [1]
+  ifFalse: [(fib value: (n - 1)) + (fib value: (n - 2))]].
+  fib value: 3.
+Note that the code still does not produce the correct result because
+blocks are not (yet) reentrant in the interpreter, but at least the
+interpreter does not crash anymore.
+
 2014-11-01  Wolfgang Lux  wolfgang@gmail.com
 
 * STBlock.m (-dealloc): Release cachedContext attribute.

Modified: libs/steptalk/trunk/Languages/Smalltalk/STBlock.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STBlock.m?rev=38146r1=38145r2=38146view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/STBlock.m   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STBlock.m   Sat Nov  1 19:26:39 2014
@@ -186,13 +186,25 @@
 parentContext = [interpreter context];
 
 [interpreter setContext:context];
-retval = [interpreter interpret];
+NS_DURING
+retval = [interpreter interpret];
+NS_HANDLER
+if (context == cachedContext)
+usingCachedContext = NO;
+[localException raise];
+NS_ENDHANDLER
 [interpreter setContext:parentContext];
 
 /* Release cached context */
-if(usingCachedContext)
-{
-usingCachedContext = NO;
+if (context == cachedContext)
+{
+if (usingCachedContext)
+usingCachedContext = NO;
+else
+[NSException raise:STInternalInconsistencyException
+format:@%@: using cached context %@,
+   @ but usingCachedContext is not set,
+   self, cachedContext];
 }
 
 return retval;


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38147 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/NSObject+additions.h Frameworks/StepTalk/NSObject+additions.m

2014-11-01 Thread wolfgang . lux
Author: wlux
Date: Sat Nov  1 19:36:50 2014
New Revision: 38147

URL: http://svn.gna.org/viewcvs/gnustep?rev=38147view=rev
Log:
Add method implementations for the symbolic selectors ~= and ~~.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.h
libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.m

Modified: libs/steptalk/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/ChangeLog?rev=38147r1=38146r2=38147view=diff
==
--- libs/steptalk/trunk/ChangeLog   (original)
+++ libs/steptalk/trunk/ChangeLog   Sat Nov  1 19:36:50 2014
@@ -1,3 +1,10 @@
+2014-11-01  Wolfgang Lux  wolfgang@gmail.com
+
+   * Frameworks/StepTalk/NSObject+additions.h (-notEqual:, -notSame:):
+   * Frameworks/StepTalk/NSObject+additions.m (-notEqual:, -notSame:):
+   Add method implementations for the symbolic selectors ~= and ~~,
+   which are defined in the SymbolicSelectors.stenv environment.
+
 2014-11-01  Wolfgang Lux  wolfgang@gmail.com
 
* Frameworks/StepTalk/STClassInfo.m (-dealloc): Release superclass

Modified: libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Frameworks/StepTalk/NSObject%2Badditions.h?rev=38147r1=38146r2=38147view=diff
==
--- libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.h
(original)
+++ libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.hSat Nov 
 1 19:36:50 2014
@@ -26,6 +26,8 @@
 
 @interface NSObject (STAdditions)
 - (BOOL)isSame:(id)anObject;
+- (BOOL)notEqual:(id)anObject;
+- (BOOL)notSame:(id)anObject;
 - (BOOL)isNil;
 - (BOOL)notNil;
 - (id)yourself;

Modified: libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Frameworks/StepTalk/NSObject%2Badditions.m?rev=38147r1=38146r2=38147view=diff
==
--- libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.m
(original)
+++ libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.mSat Nov 
 1 19:36:50 2014
@@ -15,6 +15,14 @@
 {
 return self == anObject;
 }
+- (BOOL)notEqual:(id)anObject
+{
+return ![self isEqual:anObject];
+}
+- (BOOL)notSame:(id)anObject
+{
+return ![self isSame:anObject];
+}
 - (BOOL)isNil
 {
 return NO;


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38118 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STBytecodeInterpreter.m STMethodContext.h STMethodContext.m

2014-10-14 Thread wolfgang . lux
Author: wlux
Date: Tue Oct 14 22:03:39 2014
New Revision: 38118

URL: http://svn.gna.org/viewcvs/gnustep?rev=38118view=rev
Log:
Remove unused environment argument from STMethodContext initializer.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.h
libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m

Modified: libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/ChangeLog?rev=38118r1=38117r2=38118view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   Tue Oct 14 22:03:39 2014
@@ -1,14 +1,21 @@
 2014-10-14  Wolfgang Lux  wolfgang@gmail.com
 
-   * STSmalltalkScriptObject.m (-forwardInvocation:): Set the return
-   value of the invocation object also when the exit pseudo method of
-   the script object is called.
+* STMethodContext.h (+methodContextWithMethod:, initWithMethod:):
+* STMethodContext.m (+methodContextWithMethod:, initWithMethod:):
+* STBytecodeInterpreter.m (-interpretMethod:forReceiver:arguments:):
+Remove unused environment argument from STMethodContext initializer.
 
 2014-10-14  Wolfgang Lux  wolfgang@gmail.com
 
-   * STBlock.m (-value:value:):
-   * STBlock.m (-value:value:value:):
-   Add missing nil terminator to argument list of arrayWithObjects.
+* STSmalltalkScriptObject.m (-forwardInvocation:): Set the return
+value of the invocation object also when the exit pseudo method of the
+script object is called.
+
+2014-10-14  Wolfgang Lux  wolfgang@gmail.com
+
+* STBlock.m (-value:value:):
+* STBlock.m (-value:value:value:):
+Add missing nil terminator to argument list of arrayWithObjects.
 
 2014-09-09  Wolfgang Lux  wolfgang@gmail.com
 

Modified: libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m?rev=38118r1=38117r2=38118view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m 
(original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m Tue Oct 
14 22:03:39 2014
@@ -141,8 +141,7 @@
[method selector]];
 }
 
-newContext = [[STMethodContext alloc] initWithMethod:method
- environment:environment];
+newContext = [[STMethodContext alloc] initWithMethod:method];
 
 [newContext setArgumentsFromArray:args];
 [newContext setReceiver:anObject];

Modified: libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.h?rev=38118r1=38117r2=38118view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.h   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.h   Tue Oct 14 
22:03:39 2014
@@ -24,7 +24,6 @@
 #import STExecutionContext.h
 
 @class STCompiledMethod;
-@class STEnvironment;
 @class NSMutableArray;
 
 @interface STMethodContext:STExecutionContext
@@ -34,11 +33,9 @@
 idreceiver;
 }
 
-+ methodContextWithMethod:(STCompiledMethod *)newMethod 
-  environment:(STEnvironment *)env;
++ methodContextWithMethod:(STCompiledMethod *)newMethod;
 
-- initWithMethod:(STCompiledMethod *)newMethod
- environment:(STEnvironment *)env;
+- initWithMethod:(STCompiledMethod *)newMethod;
 
 - (STCompiledMethod*)method;
 

Modified: libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m?rev=38118r1=38117r2=38118view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m   Tue Oct 14 
22:03:39 2014
@@ -28,28 +28,19 @@
 #import STLiterals.h
 #import STStack.h
 
-#import StepTalk/STEnvironment.h
 #import StepTalk/STExterns.h
-#import StepTalk/STObjectReference.h
 
 #import Foundation/NSArray.h
 #import Foundation/NSDebug.h
 #import Foundation/NSException.h
 
-@interface STMethodContext(STPrivateMethods)
-- (void)_resolveExternReferences:(NSArray *)array
- environment:(STEnvironment *)env;
-@end
-
 @implementation STMethodContext
-+ methodContextWithMethod:(STCompiledMethod *)newMethod 
-  environment:(STEnvironment *)env
++ methodContextWithMethod:(STCompiledMethod *)newMethod
 {
-return

[Gnustep-cvs] r38119 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STBlock.m STBlockContext.h STBlockContext.m

2014-10-14 Thread wolfgang . lux
Author: wlux
Date: Tue Oct 14 22:13:09 2014
New Revision: 38119

URL: http://svn.gna.org/viewcvs/gnustep?rev=38119view=rev
Log:
Remove unused interpreter attribute and corresponding argument from
STBlockContext and its initializer.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STBlock.m
libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.h
libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.m

Modified: libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/ChangeLog?rev=38119r1=38118r2=38119view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   Tue Oct 14 22:13:09 2014
@@ -1,3 +1,11 @@
+2014-10-14  Wolfgang Lux  wolfgang@gmail.com
+
+* STBlockContext.h (STExecutionContext, -initWithInitialIP:stackSize:):
+* STBlockContext.m (-initWithInitialIP:stackSize:):
+* STBlock.m (-valueWithArguments:):
+Remove unused interpreter attribute and corresponding argument from
+STBlockContext and its initializer.
+
 2014-10-14  Wolfgang Lux  wolfgang@gmail.com
 
 * STMethodContext.h (+methodContextWithMethod:, initWithMethod:):

Modified: libs/steptalk/trunk/Languages/Smalltalk/STBlock.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STBlock.m?rev=38119r1=38118r2=38119view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/STBlock.m   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STBlock.m   Tue Oct 14 22:13:09 2014
@@ -154,9 +154,8 @@
 if (!cachedContext)
 {
 cachedContext = [[STBlockContextClass alloc] 
-initWithInterpreter:interpreter
-  initialIP:initialIP
-  stackSize:stackSize];
+initWithInitialIP:initialIP
+stackSize:stackSize];
 }
 
 /* Avoid allocation */
@@ -167,9 +166,8 @@
 else
 {
 /* Create new context */
-context = [[STBlockContextClass alloc] initWithInterpreter:interpreter
- initialIP:initialIP
- stackSize:stackSize];
+context = [[STBlockContextClass alloc] initWithInitialIP:initialIP
+   stackSize:stackSize];
 
 AUTORELEASE(context);
 }

Modified: libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.h
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.h?rev=38119r1=38118r2=38119view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.h(original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.hTue Oct 14 
22:13:09 2014
@@ -23,18 +23,15 @@
 
 #import STExecutionContext.h
 
-@class STBytecodeInterpreter;
 @class STMethodContext;
 
 @interface STBlockContext:STExecutionContext
 {
-STBytecodeInterpreter *interpreter; 
 STMethodContext   *homeContext; /* owner of this block context */
 
 NSUInteger initialIP;
 }
-- initWithInterpreter:(STBytecodeInterpreter *)anInterpreter
-  initialIP:(NSUInteger)pointer
+- initWithInitialIP:(NSUInteger)pointer
   stackSize:(NSUInteger)size;
 - (void)setHomeContext:(STMethodContext *)context;
 - (NSUInteger)initialIP;

Modified: libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.m?rev=38119r1=38118r2=38119view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.m(original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.mTue Oct 14 
22:13:09 2014
@@ -35,23 +35,16 @@
 #import Foundation/NSString.h
 
 @implementation STBlockContext
-- initWithInterpreter:(STBytecodeInterpreter *)anInterpreter
-  initialIP:(NSUInteger)pointer
+- initWithInitialIP:(NSUInteger)pointer
   stackSize:(NSUInteger)size
 {
 if ((self = [super initWithStackSize:size]) != nil)
 {
-interpreter = RETAIN(anInterpreter);
 initialIP = pointer;
 
 instructionPointer = initialIP;
 }
 return self; 
-}
-- (void)dealloc
-{
-RELEASE(interpreter);
-[super dealloc];
 }
 
 - (BOOL)isBlockContext


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38063 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STBytecodeInterpreter.m STCompiler.m

2014-09-09 Thread wolfgang . lux
Author: wlux
Date: Tue Sep  9 15:52:49 2014
New Revision: 38063

URL: http://svn.gna.org/viewcvs/gnustep?rev=38063view=rev
Log:
Fix NSDebugLLog format issues detect by clang.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m

Modified: libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/ChangeLog?rev=38063r1=38062r2=38063view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   (original)
+++ libs/steptalk/trunk/Languages/Smalltalk/ChangeLog   Tue Sep  9 15:52:49 2014
@@ -1,3 +1,11 @@
+2014-09-09  Wolfgang Lux  wolfgang@gmail.com
+
+* STBytecodeInterpreter.m (-sendSelectorAtIndex:withArgCount:):
+* STCompiler.m (-compileString:, -emitPopAndStoreTemporary:,
+   -emitPopAndStoreVariable:, -emitPopAndStoreReceiverVariable:,
+   -emitSendSelector:argCount:):
+Fix NSDebugLLog format issues detect by clang.
+
 2013-06-30  Wolfgang Lux  wolfgang@gmail.com
 
 * STSourceReader.m (-lineNumberForIndex:, -readNextToken): Tidy

Modified: libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m?rev=38063r1=38062r2=38063view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m 
(original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m Tue Sep 
 9 15:52:49 2014
@@ -442,7 +442,7 @@
 
 NSDebugLLog(@STSending,@  invoking... (%@ %s),invocation, [[invocation 
methodSignature] methodReturnType]);
 [invocation invoke];
-NSDebugLLog(@STSending,@  done invoking.,invocation);
+NSDebugLLog(@STSending,@  done invoking.);
 
 /* FIXME */
 if(!stopRequested)

Modified: libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m?rev=38063r1=38062r2=38063view=diff
==
--- libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m(original)
+++ libs/steptalk/trunk/Languages/Smalltalk/STCompiler.mTue Sep  9 
15:52:49 2014
@@ -258,7 +258,7 @@
@reason: %@.;
 
 
-NSDebugLLog(@STCompiler, @Compile string, aString);
+NSDebugLLog(@STCompiler, @Compile string);
 
 isSingleMethod = NO;
 
@@ -1151,7 +1151,7 @@
 - (void)emitPopAndStoreTemporary:(NSUInteger)index
 {
 NSDebugLLog(@STCompiler-emit,
-@#%04lx pop and store temp lu (%@),
+@#%04lx pop and store temp %lu (%@),
 (unsigned long)bcpos,(unsigned long)index,
 [tempVars objectAtIndex:index]);
 
@@ -1161,7 +1161,7 @@
 - (void)emitPopAndStoreVariable:(NSUInteger)index
 {
 NSDebugLLog(@STCompiler-emit,
-@#%04lx pop and store ext variable lu (%@),
+@#%04lx pop and store ext variable %lu (%@),
 (unsigned long)bcpos,(unsigned long)index,
 [namedReferences objectAtIndex:index]);
 
@@ -1171,7 +1171,7 @@
 - (void)emitPopAndStoreReceiverVariable:(NSUInteger)index
 {
 NSDebugLLog(@STCompiler-emit,
-@#%04lx pop and store rec variable lu (%@),
+@#%04lx pop and store rec variable %lu (%@),
 (unsigned long)bcpos,(unsigned long)index,
 [namedReferences objectAtIndex:index]);
 
@@ -1182,7 +1182,7 @@
 - (void)emitSendSelector:(NSUInteger)index argCount:(NSUInteger)argCount
 {
 NSDebugLLog(@STCompiler-emit,
-@#%04lx send selector lu (%@) with lu args,
+@#%04lx send selector %lu (%@) with %lu args,
 (unsigned long)bcpos,(unsigned long)index,
 [literals objectAtIndex:index],(unsigned long)argCount);
 


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38050 - in /apps/projectcenter/trunk: ChangeLog Modules/Editors/ProjectCenter/PCEditor.m

2014-08-25 Thread wolfgang . lux
Author: wlux
Date: Mon Aug 25 23:20:32 2014
New Revision: 38050

URL: http://svn.gna.org/viewcvs/gnustep?rev=38050view=rev
Log:
Fix condition order to prevent out of range array accesses, which may
lead to a segfault when unhighlighting two matching parentheses.

Fix by Markus dester...@t-online.de.

Modified:
apps/projectcenter/trunk/ChangeLog
apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditor.m

Modified: apps/projectcenter/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/ChangeLog?rev=38050r1=38049r2=38050view=diff
==
--- apps/projectcenter/trunk/ChangeLog  (original)
+++ apps/projectcenter/trunk/ChangeLog  Mon Aug 25 23:20:32 2014
@@ -1,3 +1,13 @@
+2014-08-25  Wolfgang Lux  wolfgang@gmail.com
+
+   * Modules/Editors/ProjectCenter/PCEditor.m (unhighlightCharacter:):
+   * Modules/Editors/ProjectCenter/PCEditor.m
+   (highlightCharacterAt:inEditor:):
+   Fix condition order to prevent out of range array accesses, which
+   may lead to a segfault when unhighlighting two matching parentheses.
+
+   Fix by Markus dester...@t-online.de.
+
 2014-08-18 16:07-EDT Gregory John Casamento greg.casame...@gmail.com
 
* Modules/Projects/Aggregate/Resources/Inspector.gorm

Modified: apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditor.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditor.m?rev=38050r1=38049r2=38050view=diff
==
--- apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditor.m   
(original)
+++ apps/projectcenter/trunk/Modules/Editors/ProjectCenter/PCEditor.m   Mon Aug 
25 23:20:32 2014
@@ -1228,7 +1228,7 @@
   [textStorage beginEditing];
 
 //  if (isCharacterHighlit)
-  for (i = 0; (highlited_chars[i] != -1  i  2); i++)
+  for (i = 0; i  2  highlited_chars[i] != -1; i++)
 {
   NSRange   r = NSMakeRange(highlited_chars[i], 1);
 //  NSRange   r = NSMakeRange(highlitCharacterLocation, i);
@@ -1282,7 +1282,7 @@
 {
   int i;
 
-  for (i = 0; highlited_chars[i] != -1; i++) {};
+  for (i = 0; i  2  highlited_chars[i] != -1; i++) {};
 
 //  if (isCharacterHighlit == NO)
   if (i  2)


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38048 - in /libs/base/trunk: ChangeLog Headers/GNUstepBase/config.h.in configure configure.ac

2014-08-19 Thread wolfgang . lux
Author: wlux
Date: Tue Aug 19 13:45:36 2014
New Revision: 38048

URL: http://svn.gna.org/viewcvs/gnustep?rev=38048view=rev
Log:
Add test for grantpt function to configure.ac.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Headers/GNUstepBase/config.h.in
libs/base/trunk/configure
libs/base/trunk/configure.ac

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: libs/base/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/ChangeLog?rev=38048r1=38047r2=38048view=diff

Modified: libs/base/trunk/Headers/GNUstepBase/config.h.in
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Headers/GNUstepBase/config.h.in?rev=38048r1=38047r2=38048view=diff

Modified: libs/base/trunk/configure
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure?rev=38048r1=38047r2=38048view=diff

Modified: libs/base/trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/configure.ac?rev=38048r1=38047r2=38048view=diff


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r38025 - /tools/make/trunk/Documentation/gnustep-tests.1

2014-08-03 Thread wolfgang . lux
Author: wlux
Date: Sun Aug  3 14:37:51 2014
New Revision: 38025

URL: http://svn.gna.org/viewcvs/gnustep?rev=38025view=rev
Log:
Really add the gnustep-tests man page file

Added:
tools/make/trunk/Documentation/gnustep-tests.1

Added: tools/make/trunk/Documentation/gnustep-tests.1
URL: 
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/Documentation/gnustep-tests.1?rev=38025view=auto
==
--- tools/make/trunk/Documentation/gnustep-tests.1  (added)
+++ tools/make/trunk/Documentation/gnustep-tests.1  Sun Aug  3 14:37:51 2014
@@ -0,0 +1,57 @@
+.TH gnustep-tests 1 29/06/2014 GNUstep GNUstep System Manual
+.SH NAME
+gnustep-tests \- script to run a GNUstep testsuite
+.SH SYNOPSIS
+.BR gnustep-tests  [
+.I directory
+|
+.I test.m
+]
+.SH DESCRIPTION
+.B gnustep-tests
+runs the specified tests, or any tests found in the directory.  If no
+arguments are given, the current directory and its subdirectories are
+scanned and processed accordingly.
+.SH OPTIONS
+.TP
+.B \-\-documentation
+prints full details about the testing framework
+
+.TP
+.B \-\-clean
+deletes old logs and any leftover files
+
+.TP
+.B \-\-failfast
+stops after the first encountered test failure
+
+.TP
+.B \-\-debug
+runs any failed tests in
+.BR gdb (1)
+
+.TP
+.B \-\-developer
+treats any hopes as real tests
+
+.TP
+.B \-\-verbose
+detailed log output
+
+.TP
+.B \-\-sequential
+disables parallel building
+.SH SEE ALSO
+.BR GNUstep (7)
+.SH AUTHORS
+.B gnustep-tests
+was written by Alexander Malmberg alexan...@malmberg.org and Richard
+Frith-Macdonald r...@gnu.org.
+.PP
+This man page was written by Yavor Doganov ya...@gnu.org.
+.SH COPYRIGHT
+Copyright \(co 2014 Free Software Foundation, Inc.
+.PP
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r37939 - in /libs/webservices/trunk: ChangeLog GWSService.m

2014-06-04 Thread wolfgang . lux
Author: wlux
Date: Wed Jun  4 10:53:20 2014
New Revision: 37939

URL: http://svn.gna.org/viewcvs/gnustep?rev=37939view=rev
Log:
Replace no-op by the intended code to retain the receiver.

Modified:
libs/webservices/trunk/ChangeLog
libs/webservices/trunk/GWSService.m

Modified: libs/webservices/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/webservices/trunk/ChangeLog?rev=37939r1=37938r2=37939view=diff
==
--- libs/webservices/trunk/ChangeLog(original)
+++ libs/webservices/trunk/ChangeLogWed Jun  4 10:53:20 2014
@@ -1,3 +1,9 @@
+2014-06-04  Wolfgang Lux  wolfgang@gmail.com
+
+   * GWSService.m (-URLHandleResourceDidCancelLoading:):
+   * GWSService.m (-URLHandleResourceDidFinishLoading:): Really
+   retain the receiver.
+
 2014-05-22 Richard Frith-Macdonald  r...@gnu.org
 
Improvements by Sebastian Reitenbach sebas...@l00-bugdead-prods.de

Modified: libs/webservices/trunk/GWSService.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/webservices/trunk/GWSService.m?rev=37939r1=37938r2=37939view=diff
==
--- libs/webservices/trunk/GWSService.m (original)
+++ libs/webservices/trunk/GWSService.m Wed Jun  4 10:53:20 2014
@@ -2006,7 +2006,7 @@
   /* Retain self during this process ... since removing self as a
* client of the handle could cause the receiver to be deallocated
*/ 
-  [[self retain] release];
+  [[self retain] autorelease];
   [_lock lock];
   _completedIO = YES;
   threadRem(_ioThread);
@@ -2035,7 +2035,7 @@
   /* Retain self during this process ... since removing self as a
* client of the handle could cause the receiver to be deallocated
*/ 
-  [[self retain] release];
+  [[self retain] autorelease];
   [_lock lock];
   _completedIO = YES;
   threadRem(_ioThread);


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r37725 - in /libs/sqlclient/trunk: ChangeLog Postgres.m

2014-03-05 Thread Wolfgang Lux
Author: wlux
Date: Wed Mar  5 18:25:07 2014
New Revision: 37725

URL: http://svn.gna.org/viewcvs/gnustep?rev=37725view=rev
Log:
Fix incorrect comparison operator.

Modified:
libs/sqlclient/trunk/ChangeLog
libs/sqlclient/trunk/Postgres.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r37633 - in /libs/gui/trunk: ChangeLog Source/NSTextView.m

2014-01-24 Thread Wolfgang Lux
Author: wlux
Date: Fri Jan 24 10:07:31 2014
New Revision: 37633

URL: http://svn.gna.org/viewcvs/gnustep?rev=37633view=rev
Log:
Pass nil argument to selector called by NSTextView -doCommandBySelector:

Modified:
libs/gui/trunk/ChangeLog
libs/gui/trunk/Source/NSTextView.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r37540 - /libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m

2014-01-06 Thread Wolfgang Lux
Author: wlux
Date: Mon Jan  6 12:24:16 2014
New Revision: 37540

URL: http://svn.gna.org/viewcvs/gnustep?rev=37540view=rev
Log:
Revert bogus change

Modified:
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r37450 - /libs/ec/trunk/Terminate.m

2013-12-12 Thread Wolfgang Lux
Author: wlux
Date: Thu Dec 12 10:05:45 2013
New Revision: 37450

URL: http://svn.gna.org/viewcvs/gnustep?rev=37450view=rev
Log:
Force linker to provide library on all systems.

Modified:
libs/ec/trunk/Terminate.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r37436 - in /tools/make/trunk: ChangeLog target.make

2013-12-07 Thread Wolfgang Lux
Author: wlux
Date: Sat Dec  7 18:37:58 2013
New Revision: 37436

URL: http://svn.gna.org/viewcvs/gnustep?rev=37436view=rev
Log:
Add -keep_private_externs to linker flags on OS X when merging the
object files of a subproject for compatibility with other platforms.

Modified:
tools/make/trunk/ChangeLog
tools/make/trunk/target.make


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r37437 - in /libs/base/trunk: ChangeLog Source/Additions/Unicode.m

2013-12-07 Thread Wolfgang Lux
Author: wlux
Date: Sat Dec  7 18:48:10 2013
New Revision: 37437

URL: http://svn.gna.org/viewcvs/gnustep?rev=37437view=rev
Log:
Use correct feature test for presence of ucnv functions.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Source/Additions/Unicode.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36938 - in /tools/make/trunk: ChangeLog configure configure.ac

2013-07-27 Thread Wolfgang Lux
Author: wlux
Date: Sat Jul 27 15:39:26 2013
New Revision: 36938

URL: http://svn.gna.org/viewcvs/gnustep?rev=36938view=rev
Log:
Really fix the test whether the compiler uses the non-fragile ABI by
default. It should now work on all platforms with either gcc or clang.

Modified:
tools/make/trunk/ChangeLog
tools/make/trunk/configure
tools/make/trunk/configure.ac


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36936 - in /tools/make/trunk: ChangeLog configure configure.ac

2013-07-26 Thread Wolfgang Lux
Author: wlux
Date: Fri Jul 26 20:52:25 2013
New Revision: 36936

URL: http://svn.gna.org/viewcvs/gnustep?rev=36936view=rev
Log:
Rewrite test whether the compiler supports the non-fragile ABI once
more, so that it now reports the correct result.

Modified:
tools/make/trunk/ChangeLog
tools/make/trunk/configure
tools/make/trunk/configure.ac


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36891 - /libs/ec/trunk/EcCommand.m

2013-07-15 Thread Wolfgang Lux
Author: wlux
Date: Mon Jul 15 16:48:15 2013
New Revision: 36891

URL: http://svn.gna.org/viewcvs/gnustep?rev=36891view=rev
Log:
Fix infinite loop and space leak.

Modified:
libs/ec/trunk/EcCommand.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36892 - /libs/ec/trunk/EcCommand.m

2013-07-15 Thread Wolfgang Lux
Author: wlux
Date: Mon Jul 15 16:53:09 2013
New Revision: 36892

URL: http://svn.gna.org/viewcvs/gnustep?rev=36892view=rev
Log:
Fix wrong command name in help.

Modified:
libs/ec/trunk/EcCommand.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36884 - in /tools/make/trunk: ChangeLog configure configure.ac

2013-07-14 Thread Wolfgang Lux
Author: wlux
Date: Sun Jul 14 16:59:55 2013
New Revision: 36884

URL: http://svn.gna.org/viewcvs/gnustep?rev=36884view=rev
Log:
Rewrite test whether the compiler supports the non-fragile ABI with
portable code that does not rely on a BSD compatible echo command.

Modified:
tools/make/trunk/ChangeLog
tools/make/trunk/configure
tools/make/trunk/configure.ac


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36885 - in /libs/base/trunk: ChangeLog config/objc-common.g

2013-07-14 Thread Wolfgang Lux
Author: wlux
Date: Sun Jul 14 18:45:29 2013
New Revision: 36885

URL: http://svn.gna.org/viewcvs/gnustep?rev=36885view=rev
Log:
Add +initialize to fake NSObject class for configure test programs
when compiling with the Apple runtime.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/config/objc-common.g


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36874 - in /libs/base/trunk: ChangeLog Headers/GNUstepBase/GSVersionMacros.h

2013-07-11 Thread Wolfgang Lux
Author: wlux
Date: Fri Jul 12 00:03:17 2013
New Revision: 36874

URL: http://svn.gna.org/viewcvs/gnustep?rev=36874view=rev
Log:
Fix definition of GS_OSX_ADJUST, which got things backward.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Headers/GNUstepBase/GSVersionMacros.h


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36772 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STSourceReader.m

2013-06-30 Thread Wolfgang Lux
Author: wlux
Date: Sun Jun 30 18:54:32 2013
New Revision: 36772

URL: http://svn.gna.org/viewcvs/gnustep?rev=36772view=rev
Log:
Tidy Smalltalk source reader.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36773 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STSourceReader.m

2013-06-30 Thread Wolfgang Lux
Author: wlux
Date: Sun Jun 30 19:13:05 2013
New Revision: 36773

URL: http://svn.gna.org/viewcvs/gnustep?rev=36773view=rev
Log:
Prevent out of range accesses for the input string in the Smalltalk
source reader.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36774 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STSourceReader.m

2013-06-30 Thread Wolfgang Lux
Author: wlux
Date: Sun Jun 30 19:24:51 2013
New Revision: 36774

URL: http://svn.gna.org/viewcvs/gnustep?rev=36774view=rev
Log:
Fix bug where the Smalltalk source reader would accept an incomplete
exponent in a real number, e.g., '1e'.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36775 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STSourceReader.m

2013-06-30 Thread Wolfgang Lux
Author: wlux
Date: Sun Jun 30 19:30:52 2013
New Revision: 36775

URL: http://svn.gna.org/viewcvs/gnustep?rev=36775view=rev
Log:
Fix bug where the Smalltalk source reader was setting a wrong token
range for character literals.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36776 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STSourceReader.m

2013-06-30 Thread Wolfgang Lux
Author: wlux
Date: Sun Jun 30 19:42:15 2013
New Revision: 36776

URL: http://svn.gna.org/viewcvs/gnustep?rev=36776view=rev
Log:
Fix bug where the Smalltalk source reader was loosing the last character
of a symbol token that appears immediately before the end of input.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36777 - /libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m

2013-06-30 Thread Wolfgang Lux
Author: wlux
Date: Sun Jun 30 19:44:50 2013
New Revision: 36777

URL: http://svn.gna.org/viewcvs/gnustep?rev=36777view=rev
Log:
Fix bug where the Smalltalk source reader was loosing the last character
of a symbol token that appears immediately before the end of input.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36750 - in /libs/base/trunk: ChangeLog Tools/AGSIndex.m

2013-06-24 Thread Wolfgang Lux
Author: wlux
Date: Mon Jun 24 10:31:27 2013
New Revision: 36750

URL: http://svn.gna.org/viewcvs/gnustep?rev=36750view=rev
Log:
Fix typo in warning.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Tools/AGSIndex.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36664 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/NSInvocation+additions.m

2013-05-27 Thread Wolfgang Lux
Author: wlux
Date: Mon May 27 14:34:12 2013
New Revision: 36664

URL: http://svn.gna.org/viewcvs/gnustep?rev=36664view=rev
Log:
Fix marshaling for method and structure arguments with type (char*)
and skip const qualifiers in argument and result types.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/NSInvocation+additions.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36657 - in /libs/steptalk/trunk: ./ Frameworks/StepTalk/

2013-05-26 Thread Wolfgang Lux
Author: wlux
Date: Sun May 26 17:35:06 2013
New Revision: 36657

URL: http://svn.gna.org/viewcvs/gnustep?rev=36657view=rev
Log:
StepTalk framework: int-NSInteger transition

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/NSInvocation+additions.h
libs/steptalk/trunk/Frameworks/StepTalk/NSInvocation+additions.m
libs/steptalk/trunk/Frameworks/StepTalk/NSNumber+additions.h
libs/steptalk/trunk/Frameworks/StepTalk/NSNumber+additions.m
libs/steptalk/trunk/Frameworks/StepTalk/STActor.m
libs/steptalk/trunk/Frameworks/StepTalk/STEnvironmentDescription.h
libs/steptalk/trunk/Frameworks/StepTalk/STEnvironmentDescription.m
libs/steptalk/trunk/Frameworks/StepTalk/STLanguageManager.m
libs/steptalk/trunk/Frameworks/StepTalk/STObjCRuntime.m
libs/steptalk/trunk/Frameworks/StepTalk/STScriptObject.m
libs/steptalk/trunk/Frameworks/StepTalk/STStructure.h
libs/steptalk/trunk/Frameworks/StepTalk/STStructure.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36658 - /libs/steptalk/trunk/Languages/Smalltalk/

2013-05-26 Thread Wolfgang Lux
Author: wlux
Date: Sun May 26 17:51:26 2013
New Revision: 36658

URL: http://svn.gna.org/viewcvs/gnustep?rev=36658view=rev
Log:
StepTalk Smalltalk compiler: int-NSInteger transition

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/NSNumber+additions.h
libs/steptalk/trunk/Languages/Smalltalk/NSNumber+additions.m
libs/steptalk/trunk/Languages/Smalltalk/STBlock.h
libs/steptalk/trunk/Languages/Smalltalk/STBlock.m
libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.h
libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.m
libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.h
libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
libs/steptalk/trunk/Languages/Smalltalk/STBytecodes.h
libs/steptalk/trunk/Languages/Smalltalk/STBytecodes.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiledCode.h
libs/steptalk/trunk/Languages/Smalltalk/STCompiledCode.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiledMethod.h
libs/steptalk/trunk/Languages/Smalltalk/STCompiledMethod.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiledScript.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.h
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m
libs/steptalk/trunk/Languages/Smalltalk/STExecutionContext.h
libs/steptalk/trunk/Languages/Smalltalk/STExecutionContext.m
libs/steptalk/trunk/Languages/Smalltalk/STLiterals.h
libs/steptalk/trunk/Languages/Smalltalk/STLiterals.m
libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.h
libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m
libs/steptalk/trunk/Languages/Smalltalk/STSmalltalkScriptObject.m
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.h
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m
libs/steptalk/trunk/Languages/Smalltalk/STStack.h
libs/steptalk/trunk/Languages/Smalltalk/STStack.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36659 - in /libs/steptalk/trunk: ./ Modules/AppKit/ Modules/Foundation/ Modules/GDL2/ Modules/SQLClient/ Modules/WebServices/

2013-05-26 Thread Wolfgang Lux
Author: wlux
Date: Sun May 26 17:58:39 2013
New Revision: 36659

URL: http://svn.gna.org/viewcvs/gnustep?rev=36659view=rev
Log:
StepTalk module bundles: int-NSInteger transition

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Modules/AppKit/AppKitConstants.list
libs/steptalk/trunk/Modules/AppKit/AppKitConstants.m
libs/steptalk/trunk/Modules/AppKit/AppKitEvents.list
libs/steptalk/trunk/Modules/AppKit/AppKitEvents.m
libs/steptalk/trunk/Modules/AppKit/AppKitExceptions.m
libs/steptalk/trunk/Modules/AppKit/AppKitNotifications.m
libs/steptalk/trunk/Modules/AppKit/header.m
libs/steptalk/trunk/Modules/Foundation/FoundationConstants.list
libs/steptalk/trunk/Modules/Foundation/FoundationConstants.m
libs/steptalk/trunk/Modules/Foundation/header.m
libs/steptalk/trunk/Modules/GDL2/header.m
libs/steptalk/trunk/Modules/SQLClient/SQLClientConstants.m
libs/steptalk/trunk/Modules/SQLClient/header.m
libs/steptalk/trunk/Modules/WebServices/WebServicesConstants.m
libs/steptalk/trunk/Modules/WebServices/header.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36660 - in /libs/steptalk/trunk: ChangeLog Examples/Shell/STShell+output.m Examples/Shell/stshell_tool.m Tools/STExecutor.h

2013-05-26 Thread Wolfgang Lux
Author: wlux
Date: Sun May 26 18:01:34 2013
New Revision: 36660

URL: http://svn.gna.org/viewcvs/gnustep?rev=36660view=rev
Log:
StepTalk tools and examples: int-NSInteger transition

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Examples/Shell/STShell+output.m
libs/steptalk/trunk/Examples/Shell/stshell_tool.m
libs/steptalk/trunk/Tools/STExecutor.h


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36661 - in /libs/steptalk/trunk/ApplicationScripting: ChangeLog Source/STScriptsPanel.m

2013-05-26 Thread Wolfgang Lux
Author: wlux
Date: Sun May 26 18:03:29 2013
New Revision: 36661

URL: http://svn.gna.org/viewcvs/gnustep?rev=36661view=rev
Log:
StepTalk scripts panel: int-NSInteger transition

Modified:
libs/steptalk/trunk/ApplicationScripting/ChangeLog
libs/steptalk/trunk/ApplicationScripting/Source/STScriptsPanel.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36662 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STGrammar.m STGrammar.y

2013-05-26 Thread Wolfgang Lux
Author: wlux
Date: Sun May 26 18:14:13 2013
New Revision: 36662

URL: http://svn.gna.org/viewcvs/gnustep?rev=36662view=rev
Log:
Change Smalltalk grammar to allow empty list of temporaries.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STGrammar.m
libs/steptalk/trunk/Languages/Smalltalk/STGrammar.y


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36663 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/STActor.h Frameworks/StepTalk/STActor.m

2013-05-26 Thread Wolfgang Lux
Author: wlux
Date: Sun May 26 18:25:54 2013
New Revision: 36663

URL: http://svn.gna.org/viewcvs/gnustep?rev=36663view=rev
Log:
Fix typo in STActor method name and introduce additional methods to
add and remove instance variables.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/STActor.h
libs/steptalk/trunk/Frameworks/StepTalk/STActor.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36498 - in /apps/thematic/trunk: ChangeLog ThemeDocument.m

2013-04-10 Thread Wolfgang Lux
Author: wlux
Date: Wed Apr 10 09:48:40 2013
New Revision: 36498

URL: http://svn.gna.org/viewcvs/gnustep?rev=36498view=rev
Log:
Reset window delegate of theme document in -dealloc to prevent crash
when the document is closed.

Modified:
apps/thematic/trunk/ChangeLog
apps/thematic/trunk/ThemeDocument.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36499 - in /apps/thematic/trunk: ChangeLog Resources/ThemeDocument.gorm/data.classes Resources/ThemeDocument.gorm/data.info Resources/ThemeDocument.gorm/objects.gorm

2013-04-10 Thread Wolfgang Lux
Author: wlux
Date: Wed Apr 10 10:32:59 2013
New Revision: 36499

URL: http://svn.gna.org/viewcvs/gnustep?rev=36499view=rev
Log:
Set release when closed attribute of theme document window to fix
space leak.

Modified:
apps/thematic/trunk/ChangeLog
apps/thematic/trunk/Resources/ThemeDocument.gorm/data.classes
apps/thematic/trunk/Resources/ThemeDocument.gorm/data.info
apps/thematic/trunk/Resources/ThemeDocument.gorm/objects.gorm


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36476 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/STActor.m

2013-04-06 Thread Wolfgang Lux
Author: wlux
Date: Sat Apr  6 11:08:42 2013
New Revision: 36476

URL: http://svn.gna.org/viewcvs/gnustep?rev=36476view=rev
Log:
Fix bug where instance variables of an actor got lost when set to nil.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/STActor.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36480 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STSourceReader.m

2013-04-06 Thread Wolfgang Lux
Author: wlux
Date: Sat Apr  6 14:22:28 2013
New Revision: 36480

URL: http://svn.gna.org/viewcvs/gnustep?rev=36480view=rev
Log:
Fix bug in Smalltalk reader where the last character of an identifier
was dropped when the assignment operator ':=' follows it immediately.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36463 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/NSObject+additions.h Frameworks/StepTalk/NSObject+additions.m

2013-04-04 Thread Wolfgang Lux
Author: wlux
Date: Thu Apr  4 09:33:26 2013
New Revision: 36463

URL: http://svn.gna.org/viewcvs/gnustep?rev=36463view=rev
Log:
Add yourself method from Smalltalk, which is convenient in cascades.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.h
libs/steptalk/trunk/Frameworks/StepTalk/NSObject+additions.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36455 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STSourceReader.m

2013-04-03 Thread Wolfgang Lux
Author: wlux
Date: Wed Apr  3 09:42:02 2013
New Revision: 36455

URL: http://svn.gna.org/viewcvs/gnustep?rev=36455view=rev
Log:
Fix Smalltalk reader to always return correct line numbers.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36456 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog NSArray+additions.m

2013-04-03 Thread Wolfgang Lux
Author: wlux
Date: Wed Apr  3 09:46:24 2013
New Revision: 36456

URL: http://svn.gna.org/viewcvs/gnustep?rev=36456view=rev
Log:
Fix -collect: method to properly handle nil results from block.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/NSArray+additions.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36457 - in /libs/steptalk/trunk/ApplicationScripting: ChangeLog Source/STApplicationScriptingController.m

2013-04-03 Thread Wolfgang Lux
Author: wlux
Date: Wed Apr  3 09:53:14 2013
New Revision: 36457

URL: http://svn.gna.org/viewcvs/gnustep?rev=36457view=rev
Log:
Hide the StepTalk application scripting menu after it has been loaded
from its bundle.

Modified:
libs/steptalk/trunk/ApplicationScripting/ChangeLog

libs/steptalk/trunk/ApplicationScripting/Source/STApplicationScriptingController.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36426 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STBytecodeInterpreter.m

2013-03-25 Thread Wolfgang Lux
Author: wlux
Date: Mon Mar 25 12:32:20 2013
New Revision: 36426

URL: http://svn.gna.org/viewcvs/gnustep?rev=36426view=rev
Log:
 Fix bug where the STInterpreterReturnException was not handled when a
 block returns nil.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36419 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog Externs.h Externs.m STBlock.m STBytecodeInterpreter.m STCompiler.m

2013-03-24 Thread Wolfgang Lux
Author: wlux
Date: Sun Mar 24 18:02:20 2013
New Revision: 36419

URL: http://svn.gna.org/viewcvs/gnustep?rev=36419view=rev
Log:
Implement correct semantics for return statements inside a Smalltalk
block, which is to return from the method containing the block's
definition.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/Externs.h
libs/steptalk/trunk/Languages/Smalltalk/Externs.m
libs/steptalk/trunk/Languages/Smalltalk/STBlock.m
libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36420 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STBlockContext.m STExecutionContext.h STExecutionContext.m STMethodContext.m

2013-03-24 Thread Wolfgang Lux
Author: wlux
Date: Sun Mar 24 18:19:55 2013
New Revision: 36420

URL: http://svn.gna.org/viewcvs/gnustep?rev=36420view=rev
Log:
Fix to allow using Smalltalk blocks even after the method containing
their definition has returned.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.m
libs/steptalk/trunk/Languages/Smalltalk/STExecutionContext.h
libs/steptalk/trunk/Languages/Smalltalk/STExecutionContext.m
libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36421 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STCompiler.m

2013-03-24 Thread Wolfgang Lux
Author: wlux
Date: Sun Mar 24 18:24:11 2013
New Revision: 36421

URL: http://svn.gna.org/viewcvs/gnustep?rev=36421view=rev
Log:
Follow Smalltalk convention to return the receiver from a method
without an explicit return statement.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36422 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STCompiler.m

2013-03-24 Thread Wolfgang Lux
Author: wlux
Date: Sun Mar 24 18:29:43 2013
New Revision: 36422

URL: http://svn.gna.org/viewcvs/gnustep?rev=36422view=rev
Log:
Fix stack underflow exception when computing the value of an empty
block.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36402 - in /libs/steptalk/trunk: ./ Frameworks/StepTalk/

2013-03-23 Thread Wolfgang Lux
Author: wlux
Date: Sat Mar 23 18:17:35 2013
New Revision: 36402

URL: http://svn.gna.org/viewcvs/gnustep?rev=36402view=rev
Log:
Check the result of the super class initializer and assign it to self.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/STActor.m
libs/steptalk/trunk/Frameworks/StepTalk/STBehaviourInfo.m
libs/steptalk/trunk/Frameworks/StepTalk/STClassInfo.m
libs/steptalk/trunk/Frameworks/StepTalk/STContext.m
libs/steptalk/trunk/Frameworks/StepTalk/STConversation.m
libs/steptalk/trunk/Frameworks/StepTalk/STDistantConversation.m
libs/steptalk/trunk/Frameworks/StepTalk/STDistantEnvironment.m
libs/steptalk/trunk/Frameworks/StepTalk/STEnvironment.m
libs/steptalk/trunk/Frameworks/StepTalk/STFileScript.m
libs/steptalk/trunk/Frameworks/StepTalk/STLanguageManager.m
libs/steptalk/trunk/Frameworks/StepTalk/STObjectReference.m
libs/steptalk/trunk/Frameworks/StepTalk/STRemoteConversation.m
libs/steptalk/trunk/Frameworks/StepTalk/STScript.m
libs/steptalk/trunk/Frameworks/StepTalk/STScriptObject.m
libs/steptalk/trunk/Frameworks/StepTalk/STScriptsManager.m
libs/steptalk/trunk/Frameworks/StepTalk/STSelector.m
libs/steptalk/trunk/Frameworks/StepTalk/STStructure.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36403 - /libs/steptalk/trunk/Languages/Smalltalk/

2013-03-23 Thread Wolfgang Lux
Author: wlux
Date: Sat Mar 23 19:09:25 2013
New Revision: 36403

URL: http://svn.gna.org/viewcvs/gnustep?rev=36403view=rev
Log:
Check the result of the super class initializer and assign it to self.
Also fix two memory management errors.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STBlock.m
libs/steptalk/trunk/Languages/Smalltalk/STBlockContext.m
libs/steptalk/trunk/Languages/Smalltalk/STBytecodeInterpreter.m
libs/steptalk/trunk/Languages/Smalltalk/STBytecodes.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiledCode.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiledMethod.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiledScript.m
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m
libs/steptalk/trunk/Languages/Smalltalk/STCompilerUtils.m
libs/steptalk/trunk/Languages/Smalltalk/STExecutionContext.m
libs/steptalk/trunk/Languages/Smalltalk/STLiterals.m
libs/steptalk/trunk/Languages/Smalltalk/STMessage.m
libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m
libs/steptalk/trunk/Languages/Smalltalk/STSmalltalkScriptObject.m
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m
libs/steptalk/trunk/Languages/Smalltalk/STStack.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36404 - in /libs/steptalk/trunk/ApplicationScripting: ChangeLog Source/STApplicationScriptingController.m Source/STScriptsPanel.m Source/STTranscript.m

2013-03-23 Thread Wolfgang Lux
Author: wlux
Date: Sat Mar 23 19:35:43 2013
New Revision: 36404

URL: http://svn.gna.org/viewcvs/gnustep?rev=36404view=rev
Log:
Check the result of the super class initializer and assign it to self.
Also fix a space leak.

Modified:
libs/steptalk/trunk/ApplicationScripting/ChangeLog

libs/steptalk/trunk/ApplicationScripting/Source/STApplicationScriptingController.m
libs/steptalk/trunk/ApplicationScripting/Source/STScriptsPanel.m
libs/steptalk/trunk/ApplicationScripting/Source/STTranscript.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36405 - in /libs/steptalk/trunk/Applications/ScriptPapers: AppController.m ChangeLog NSObject+NibLoading.m ScriptPaper.h ScriptPaper.m ScriptPaperController.h ScriptPaperController.m

2013-03-23 Thread Wolfgang Lux
Author: wlux
Date: Sat Mar 23 20:00:43 2013
New Revision: 36405

URL: http://svn.gna.org/viewcvs/gnustep?rev=36405view=rev
Log:
Update to current StepTalk framework methods.
Check the result of the super class initializer and assign it to self.
Also fix a space leak.

Modified:
libs/steptalk/trunk/Applications/ScriptPapers/AppController.m
libs/steptalk/trunk/Applications/ScriptPapers/ChangeLog
libs/steptalk/trunk/Applications/ScriptPapers/NSObject+NibLoading.m
libs/steptalk/trunk/Applications/ScriptPapers/ScriptPaper.h
libs/steptalk/trunk/Applications/ScriptPapers/ScriptPaper.m
libs/steptalk/trunk/Applications/ScriptPapers/ScriptPaperController.h
libs/steptalk/trunk/Applications/ScriptPapers/ScriptPaperController.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36406 - in /libs/steptalk/trunk/Examples/Shell: ChangeLog STShell.m stshell_tool.m

2013-03-23 Thread Wolfgang Lux
Author: wlux
Date: Sat Mar 23 20:07:51 2013
New Revision: 36406

URL: http://svn.gna.org/viewcvs/gnustep?rev=36406view=rev
Log:
Check the result of the super class initializer and assign it to self.
Also fix two minor space leaks.

Modified:
libs/steptalk/trunk/Examples/Shell/ChangeLog
libs/steptalk/trunk/Examples/Shell/STShell.m
libs/steptalk/trunk/Examples/Shell/stshell_tool.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36407 - in /libs/steptalk/trunk: ChangeLog Tools/STEnvironmentProcess.m

2013-03-23 Thread Wolfgang Lux
Author: wlux
Date: Sat Mar 23 20:17:07 2013
New Revision: 36407

URL: http://svn.gna.org/viewcvs/gnustep?rev=36407view=rev
Log:
Check the result of the super class initializer and assign it to self.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Tools/STEnvironmentProcess.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36409 - /libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m

2013-03-23 Thread Wolfgang Lux
Author: wlux
Date: Sat Mar 23 20:58:28 2013
New Revision: 36409

URL: http://svn.gna.org/viewcvs/gnustep?rev=36409view=rev
Log:
Fix bug where an uninitialized attribute got used during initialization.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/STMethodContext.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36410 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STCompiler.m

2013-03-23 Thread Wolfgang Lux
Author: wlux
Date: Sat Mar 23 21:02:23 2013
New Revision: 36410

URL: http://svn.gna.org/viewcvs/gnustep?rev=36410view=rev
Log:
Fix Smalltalk compiler bug: The value of a statement sequence is the
value of its last statement.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36235 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STSourceReader.m

2013-03-02 Thread Wolfgang Lux
Author: wlux
Date: Sat Mar  2 17:09:07 2013
New Revision: 36235

URL: http://svn.gna.org/viewcvs/gnustep?rev=36235view=rev
Log:
Unescape two successive single quote characters inside Smalltalk
literal string tokens.

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STSourceReader.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r36086 - in /libs/steptalk/trunk: ./ Frameworks/StepTalk/Environments/ Languages/Smalltalk/

2013-02-08 Thread Wolfgang Lux
Author: wlux
Date: Fri Feb  8 10:02:06 2013
New Revision: 36086

URL: http://svn.gna.org/viewcvs/gnustep?rev=36086view=rev
Log:
Define the standard Smalltalk methods for invoking blocks with
arguments, keeping StepTalk's old non-standard methods for backward
compatibility.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/Environments/StepTalk.stenv
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/NSArray+additions.m
libs/steptalk/trunk/Languages/Smalltalk/NSNumber+additions.m
libs/steptalk/trunk/Languages/Smalltalk/STBlock.h
libs/steptalk/trunk/Languages/Smalltalk/STBlock.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35976 - in /apps/gworkspace/trunk: ChangeLog GWorkspace/GWorkspace.m

2013-01-14 Thread Wolfgang Lux
Author: wlux
Date: Tue Jan 15 08:55:28 2013
New Revision: 35976

URL: http://svn.gna.org/viewcvs/gnustep?rev=35976view=rev
Log:
Fix issue where the Empty Recycler menu item was not enabled when
GWorkspace is launched.

Modified:
apps/gworkspace/trunk/ChangeLog
apps/gworkspace/trunk/GWorkspace/GWorkspace.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35840 - in /libs/steptalk/trunk/Languages/Smalltalk: ChangeLog STCompiler.m

2012-12-02 Thread Wolfgang Lux
Author: wlux
Date: Sun Dec  2 12:37:26 2012
New Revision: 35840

URL: http://svn.gna.org/viewcvs/gnustep?rev=35840view=rev
Log:
Fix syntax error reports to include context when compiling a Smalltalk string

Modified:
libs/steptalk/trunk/Languages/Smalltalk/ChangeLog
libs/steptalk/trunk/Languages/Smalltalk/STCompiler.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35841 - in /apps/easydiff/trunk: AppController.h AppController.m ChangeLog DiffWindowController.m Resources/main.gorm/data.classes Resources/main.gorm/data.info Resources/main.gorm/obje

2012-12-02 Thread Wolfgang Lux
Author: wlux
Date: Sun Dec  2 17:18:13 2012
New Revision: 35841

URL: http://svn.gna.org/viewcvs/gnustep?rev=35841view=rev
Log:
Add support for other version control systems besides CVS to EasyDiff

Modified:
apps/easydiff/trunk/AppController.h
apps/easydiff/trunk/AppController.m
apps/easydiff/trunk/ChangeLog
apps/easydiff/trunk/DiffWindowController.m
apps/easydiff/trunk/Resources/main.gorm/data.classes
apps/easydiff/trunk/Resources/main.gorm/data.info
apps/easydiff/trunk/Resources/main.gorm/objects.gorm


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35842 - in /apps/easydiff/trunk: ChangeLog DiffWindowController.m DiffWrapper.m

2012-12-02 Thread Wolfgang Lux
Author: wlux
Date: Sun Dec  2 19:05:31 2012
New Revision: 35842

URL: http://svn.gna.org/viewcvs/gnustep?rev=35842view=rev
Log:
Fix off by one error when creating left and right patch files in EasyDiff

Modified:
apps/easydiff/trunk/ChangeLog
apps/easydiff/trunk/DiffWindowController.m
apps/easydiff/trunk/DiffWrapper.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35823 - in /libs/ec/trunk: ChangeLog EcLogger.m

2012-11-26 Thread Wolfgang Lux
Author: wlux
Date: Mon Nov 26 16:12:55 2012
New Revision: 35823

URL: http://svn.gna.org/viewcvs/gnustep?rev=35823view=rev
Log:
Register instance for notifications.

Modified:
libs/ec/trunk/ChangeLog
libs/ec/trunk/EcLogger.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35791 - in /libs/gui/trunk: ChangeLog Source/NSDocument.m

2012-11-12 Thread Wolfgang Lux
Author: wlux
Date: Mon Nov 12 09:14:03 2012
New Revision: 35791

URL: http://svn.gna.org/viewcvs/gnustep?rev=35791view=rev
Log:
Set save panel accessory view before calling -prepareSavePanel: to
allow clients to modify the accessory view.

Modified:
libs/gui/trunk/ChangeLog
libs/gui/trunk/Source/NSDocument.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35784 - in /libs/base/trunk: ChangeLog Source/GSFFIInvocation.m

2012-11-05 Thread Wolfgang Lux
Author: wlux
Date: Mon Nov  5 16:16:30 2012
New Revision: 35784

URL: http://svn.gna.org/viewcvs/gnustep?rev=35784view=rev
Log:
Generate useful error message when no best typed selector can be found
in forwarding callback.

Modified:
libs/base/trunk/ChangeLog
libs/base/trunk/Source/GSFFIInvocation.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35780 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/STConversation.m Frameworks/StepTalk/STEnvironmentDescription.m

2012-11-03 Thread Wolfgang Lux
Author: wlux
Date: Sat Nov  3 15:24:07 2012
New Revision: 35780

URL: http://svn.gna.org/viewcvs/gnustep?rev=35780view=rev
Log:
Fix typos in a few StepTalk warning messages.

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/STConversation.m
libs/steptalk/trunk/Frameworks/StepTalk/STEnvironmentDescription.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35781 - in /libs/steptalk/trunk: ChangeLog Frameworks/StepTalk/STConversation.h Frameworks/StepTalk/STConversation.m

2012-11-03 Thread Wolfgang Lux
Author: wlux
Date: Sat Nov  3 15:40:52 2012
New Revision: 35781

URL: http://svn.gna.org/viewcvs/gnustep?rev=35781view=rev
Log:
Implement method which is advertised in warning message

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Frameworks/StepTalk/STConversation.h
libs/steptalk/trunk/Frameworks/StepTalk/STConversation.m


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


[Gnustep-cvs] r35782 - in /libs/steptalk/trunk: ChangeLog Examples/Developer/StepUnit.st

2012-11-03 Thread Wolfgang Lux
Author: wlux
Date: Sat Nov  3 15:44:15 2012
New Revision: 35782

URL: http://svn.gna.org/viewcvs/gnustep?rev=35782view=rev
Log:
Fix StepTalk unit test example

Modified:
libs/steptalk/trunk/ChangeLog
libs/steptalk/trunk/Examples/Developer/StepUnit.st


___
Gnustep-cvs mailing list
Gnustep-cvs@gna.org
https://mail.gna.org/listinfo/gnustep-cvs


  1   2   3   4   5   >