0.4231 - Wed Jan 29 08:47:56 CET 2020
- Released 0.42_30 without code changes
0.42_30 - Wed Jul 31 13:15:39 CEST 2019
- Add dependency on ExtUtils::PL2Bat
1.20200211 2020-02-10 19:33:55-08:00 America/Los_Angeles
- bash doesn't like !' in double quotes, so it stuck up for awk
1.20200201 2020-01-31 18:41:36-08:00 America/Los_Angeles
- fix tests for Perl 5.32 (Tony Cook, RT #131608)
- update for 2020
0.101 2020-01-14 Released-By: PERLANCAR; Urgency: low
- No functional changes.
- Mark deprecated in Abstract.
0.100 2020-01-14 Released-By: PERLANCAR; Urgency: medium
- No functional changes.
- Mark deprecated, in favor of Log::Any::Adapter::Capture.
1.708 2020-01-12 22:56:43-05:00 America/New_York
[Added]
- Added 'Capture' adapter for capturing log messages in an array or
running an arbitrary callback. This makes it easier to test log
messages, collect messages from a certain scope for later display.
Thanks @nrdvana! [Github #77]
- Added Log::Any::Adapter 'get' class method to get an adapter for
a category. This allows bypassing the Proxy and using the Adapter
directly. Doing so breaks all the features enabled by a Proxy, and
so should only be used in special circumstances (definitely not in
CPAN modules). Thanks @nrdvana! [Github #78]
- Added 'Multiplex' adapter for directing log output to one or more
Log::Any adapters. This allows, for example, basic logging to
Stderr and logging to a remote Syslogd or Elastic. Thanks
@jrubinator and @GrantStreetGroup for contributing this!
[Github #79, Github #16]
This restores the build on NetBSD 9.0
Changes since previous version in pkgsrc:
2020-04-05 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.27.0.
2020-03-29 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSThread.m: Use pthread_setname_np result instead of errno,
which fixes setting thread name on platforms where errno is not set.
2020-03-29 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSURLResponse.m: Fix parsing of NSURLResponse content type
header.
2020-03-29 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSString.m: Attempt to make calls to GSICUCollatorOpen()
more consistent and correct for ICU 65.
2020-03-26 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSError.h:
* Source/NSError.m: Added NSErrorDomain typedef.
2020-03-12 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSURL.m: Fix compiler warnings.
* Headers/Foundation/NSLocale.h:
* Source/NSLocale.m: Add a few convenience methods from MacOS 10.12.
2020-03-10 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSURL.m: fix –[NSURLComponents setURL:] throwing
exception for URLs that don't have all parts.
2020-03-01 Fred Kiefer <fredkiefer@gmx.de>
* Tests/base/NSBundle/TestInfo,
* Tests/base/NSBundle/GNUmakefile.preamble,
* Tests/base/NSBundle/resources2.m: Extend test to check for
framework resource loading.
2020-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Resources/Languages/Locale.canonical:
Backward compatibility fix for ICU 65 by Fred Kiefer
* Resources/Languages/README: Fix trivial typo
2020-02-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/objc-load.m: update GSPrivateSymbolPath() so that, on the
path where LINKER_GETSYMBOL is not available, we attempt to lookup
classes using the prefix ._OBJC_CLASS_ for the 2.0 ABI (earlier
ABIs use a prefix of __objc_class_name_ for the class definition.
2020-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: When building the list of hosts to be probed to see
if they have gdomap servers, fix code to include those explicitly
defined in the config file. Add -S option to list the addresses of
the known gdomap servers.
* Tools/gdomap.8: Document the new command line option.
2020-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSXPCConnection.h: remove unistd.h since
workaround broke blocks code. I guess we have to hope that
sys/types.h has gid_t, pid_t, and uid_t on all systems we target.
2020-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Examples/dictionary.m:
* Examples/nsconnection_client.m:
* Headers/GNUstepBase/GNUstep.h:
* Source/Additions/GSMime.m:
* Source/NSConnection.m:
* Source/NSDictionary.m:
* Source/NSException.m:
* Source/NSFileManager.m:
* Source/NSFileWrapper.m:
* Source/NSTask.m:
* Source/NSUserDefaults.m:
* Tools/AGSIndex.m:
* Tools/AGSOutput.m:
* Tools/cvtenc.m:
Switch various places away from deprecated CREATE_AUTORELEASE_POOL()
to use the ARC-compatible ENTER_POOL and LEAVE_POOL macros.
2020-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSXPCConnection.h: Workaround for clash between
unistd.h and clang's reserved word __block
2020-02-05 Fred Kiefer <fredkiefer@gmx.de>
* configure.ac: Use pkg-config to check for libxml.
* configure: regenerate
2020-01-23 Fred Kiefer <fredkiefer@gmx.de>
* Source/Additions/NSURL+GNUstepBase.m: Handle case where scheme
is missing from the URL.
2020-01-20 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSPredicate.m: Allow simple predicates on NSDate.
2020-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: remove certificate key password from hash key of
credentials since it's unnecessary there and we don't want it to be
logged when debug is on (for security, passwords shouldn't appear
in logs).
2020-01-12 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSPredicate.m: Add support for NSDate constants.
2020-01-12 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSKeyValueObserving.m: Implement two missing KVO methods
on NSArray.
2019-12-15 Fred Kiefer <fredkiefer@gmx.de>
* Headers/GNUstepBase/GSIMap.h: Use GSI_MAP_NODE_IS_EMPTY macros
when checking in enumerator.
* Source/NSConcreteHashTable.m,
* Source/NSConcreteMapTable.m: Revert part of the weak pointer change.
2019-10-17 Frederik Seiffert <frederik@algoriddim.com>
* Tests/base/NSHashTable/weakObjects.m:
* Tests/base/NSMapTable/weakObjects.m:
Added tests for [NSHashTable weakObjectsHashTable] and
[NSMapTable strongToWeakObjectsMapTable].
2019-11-26 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRunLoop.m:
* Tests/base/NSRunLoop/dispatch.m:
Fix runloop integration for libdispatch from swift-corelibs
* .travis.yml:
* travis-deps.yml:
Fix CI related to libdispatch.
2019-11-15 Frederik Seiffert <frederik@algoriddim.com>
* configure.ac: check for unwind.h
* configure: regenerate
* Source/NSException.m: Added support for backtrace symbolication
using libunwind, which will be used when backtrace() is unavailable.
2019-11-14 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSXPCConnection.h,
* Source/NSXPCConnection.m: Fix broken compilation on gcc.
2019-11-12 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: updated to latest info
2019-11-05 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSProcessInfo.h:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
Added support for NSTemporaryDirectory() on Android using subfolder
in folder returned by Context.getCacheDir(), as there is no official
temp dir prior to API level 26. Clean up temp dir on launch in
GSInitializeProcessAndroid(). Also use Context.getCacheDir()
as NSCachesDirectory (with NSUserDomainMask) on Android.
2019-10-27 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSUnit.h,
* Headers/Foundation/NSMeasurement.h,
* Headers/Foundation/NSMeasurementFormatter.h,
* Headers/Foundation/NSEnergyFormatter.h,
* Headers/Foundation/NSLengthFormatter.h,
* Headers/Foundation/NSMassFormatter.h,
* Source/NSUnit.m,
* Source/NSMeasurement.m,
* Source/NSMeasurementFormatter.m,
* Source/NSEnergyFormatter.m,
* Source/NSLengthFormatter.m,
* Source/NSMassFormatter.m,
* Source/NSUnit.m: More cleanup on the measurement code.
2019-10-29 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSStream.h,
* Source/GSStream.m,
* Source/GSSocketStream.m:
Use a more sane implementation to redirect event handling to the
TLS handler while in a handshake.
* Source/GSTLS.m:
Fall back to a sane default if the TLS priority setting is invalid.
2019-10-28 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSSocketStream.m:
Prevent premature deallocation when a socket is closed while in a
TLS handshake.
2019-10-27 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSUnit.h,
* Source/NSUnit.m: Clean up code and fix bugs.
2019-10-17 Frederik Seiffert <frederik@algoriddim.com>
* Source/GSDispatch.h:
* Source/NSArray.m:
* Source/NSDictionary.m:
* Source/NSIndexSet.m:
* Source/NSOrderedSet.m:
* Source/NSSet.m:
Perform non-concurrent block enumeration calls in place instead
of using serial queue to match Apple platforms.
2019-10-25 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSMapTable.h:
* Headers/Foundation/NSHashTable.h:
Added generics support to NSMapTable and updated NSMapTable and
NSHashTable to use "instancetype".
2019-10-02 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSDictionary.m: fixed mutable dictionary keyed subscript
behavior: assigning nil value via keyed subscript now correctly
removes object for key.
2019-09-25 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSProcessInfo.h:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
Added support for data directory on Android. This makes GNUstep use
the path returned by Context.getFilesDir() as the basis for storing
data (e.g. NSUserDefaults) and when querying system directory paths
(NSLibraryDirectory, NSApplicationSupportDirectory, etc.). Requires
calling a new GSInitializeProcessAndroid() initialization function.
2019-09-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: [-removeObjectsInArray:] add checks to prevent
possible crashes, particulary if the method argument is the receiver;
crash seen by Wolfgang.
* Source/GSSocketStream.m: Fix incorrect key when setting old security
level. Change internal API name to avoid confusion.
2019-09-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Re-order code to avoid setting session priority
twice.
* Source/NSFileHandle.m: Fix so that setting certificate information
does not discard any other options already set.
2019-09-16 Alan Jenkins <alan.christopher.jenkins@gmail.com>
* Tools/gdomap.c:
A couple of is_local_net() tests were wrong: they used "&&"
with masks, but that is the logical shortcut operator.
The correct bitwise operator is "&". The result was that
is_local_net() was always returning true!
Only allow local processes to send GDO_SERVERS requests.
This request is only useful locally. Do not allow remote
requests for the server list. Our response can be large,
so it would make a great UDP amplification attack.
2019-08-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Fix for hang when writing large https
requests.
* Source/GSStream.h: improve diagnostics
* Source/GSStream.m: improve diagnostics
* Source/NSURLProtocol.m: improve diagnostics
* Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m:
* Tests/base/NSURLConnection/test05.m:
Bugfix and new testcase for https request with large (over 64KB) body.
2019-08-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m:
* Source/NSThread.m:
Improve reporting of excess performers so that, when one thread
performs selectors in another, you can see the class of the receiver
and the selector involved.
2019-08-08 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: check for malloc_usable_sizer()
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Headers/Foundation/NSDebug.h: Add GSMemoryBytes()
* Headers/GNUstepBase/NSObject+GNUstepBase.h: Rework memory usage
reporting extensions API.
* Source/Additions/NSMutableString+GNUstepBase.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSData.m:
* Source/NSDebug.m:
* Source/NSDistantObject.m:
* Source/NSObject.m:
* Source/NSProxy.m:
* Source/NSRunLoop.m:
Updates for new memory reporting extensions API. The parts of this
dealing with the size of the contents of an object are now off by
default (trying to calculate the size of an object is problematic if
it is mutated while you are doing it) but classes can implement
-sizeOfContentExcluding: to turn it on if they are thread-safe.
Implementations provided for immutable container objects and for all
strings.
2019-08-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Implement
[NSMutableData+dataWithBytesNoCopy:length:freeWhenDone]
2019-07-28 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSByteCountFormatter.m: Fix to work in non fragile settings.
2019-07-19 Gregory Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSByteCountFormatter.h
* Source/NSByteCountFormatter.m
Implementation of NSByteCountFormatter as documented.
* Tests/base/NSByteCountFormatter
Add test for this class.
2019-07-10 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSOrderedSet.h:
Fix generics definition of NSMutableArray and NSMutableOrderedSet.
Fix NSArray and NSOrderedSet KVC method types to not use generic type.
2019-07-14 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSUbiquitousKeyValueStore.m: Change to use GNUstep
formatting. Move simple methods into base class. Correct the usage
of long long NSNumber.
2019-07-10 Gregory Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSUbiquitousKeyValueStore.h
* Source/NSUbiquitousKeyValueStore.m: Implementation of
skeletal version of this class for compilation. Also put in
place a way to make concrete subclasses for various services.
2019-07-02 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tests/base/GSTLS/basic.m: Use fixed time zone.
2019-07-02 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSOrderedSet.h: Added header for class cluster
implementation of NSOrderedSet.
* Source/NSOrderedSet.m: Implementation of NSOrderedSet and NSMutableOrderedSet
* Source/GSOrderedSet.m: Implementation of concrete class.
2019-07-01 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSXML.m (fatalErrorFunction): Use correct function to get
line number.
* Source/NSOperation.m (_execute): Surround with NS_DURING to free
lock on error.
2019-06-11 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIArray.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSSet.m:
* Source/NSArray.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSData.m:
* Source/NSDictionary.m:
* Source/NSDistantObject.m:
* Source/NSObject.m:
* Source/NSProxy.m:
* Source/NSSet.m:
* Source/NSString.m:
Revise mechanism for extention to report memory usage of individual
objects. This makes the inclusion of size of objects in ivars a
default, while allowing easy extension to include other heap memory.
API change not final.
2019-05-23 Frederik Seiffert <frederik@algoriddim.com>
* configure:
* configure.ac:
Link against libandroid on Android.
* Headers/Foundation/NSBundle.h:
* Source/NSBundle.m:
Added methods for passing Android asset manager from Java to GNUstep
and for getting AAsset/AAssetDir for given path in main bundle.
Skip app bundle suffix check on Android. Extended bundle resource
paths backbone to check for known paths directly on Android as we
can't enumerate directories.
Extended -localizations method to check for known localizations
directly (requires setting userLanguages in NSUserDefaults).
Extracted path cache cleaning into separate method.
* Source/GSFileHandle.h:
* Source/GSFileHandle.m:
Added file handle support for reading Android assets from main bundle.
* Source/NSData.m:
Added support for reading Android assets from main bundle in
readContentsOfFile(). This is also used by all other
-initWithContentsOfFile: and related methods from other classes.
* Source/NSFileManager.m:
Added support for Android assets from main bundle in
fileExistsAtPath:isDirectory:, isReadableFileAtPath:,
NSDirectoryEnumerator, and copying from assets. Extended
GSAttrDictionary with basic support for Android assets.
* Source/NSProcessInfo.m:
Added +initialize method to auto-initialize NSProcessInfo on Android
using fake executable path "/data/data/<app identifier>/exe" (Android
apps don't have a real executable path).
2019-05-20 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSLog.m: Have all logs go to syslog on android.
* Source/NSThread.m: Spinlock implementation using builtins as
implemented by David in libobjc2
* Source/NSRunLoop.m
* Headers/GNUstepBase/config.h.in:
* configure.ac:
This updates the libdispatch runloop integration to be compatible with
the Swift corelibs libdispatch release at
(https://github.com/apple/swift-corelibs-libdispatch).
In that release, the main queue handle and drain functions have been
renamed with a "_4CF" (for CoreFoundation) suffix and have moved to
private.h, so we now check for the existance of this header and
function names.
Note that libdispatch must be compiled with
INSTALL_PRIVATE_HEADERS=YES.
Also fixes the checks for the HAVE_LIBDISPATCH_RUNLOOP define (was
inverted) and ensures that both the handle and drain functions are
available.
2019-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Removed public functions which could conflict
with application code. Rewrote percent unescaping to avoid possible
buffer overruns.
* Tests/base/NSString/test09.m: avoid excess logging (for readability
of test output).
2019-04-12 Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSCharacterSet.m: Added declarations/implementations for
URL*AllowedCharacterSet.
* Headers/NSCharacterSet.h: Added declarations here for
URL*AllowedCharacterSet
* Source/CharSets/*: Added headers to define new charactersets.
* Source/NSString.m: Added methods stringByRemovingPercentEncoding/
stringByAddingPercentEncodingWithAllowedCharacterSet:
* Header/NSString.h: Added declrations for methods mentioned above.
2019-03-29 Igor Zhukov <fsb4000@yandex.ru>
* Source/NSDateFormatter.m:
* configure:
* configure.ac:
Decrease ICU version requirements to 49 to support Windows 2000.
2019-03-25 Sergii Stoian <stoyan255@gmail.com>
* Resources/Lanuages/Ukrainian:
Fix wrong \U sequence for letter 'i' and short weekdays.
2019-03-18 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/gdomap.c:
Fix crash in donames() when getaddrinfo returns an error.
2019-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unidoce.m: comment-out left-over debug logging.
* Source/NSJSONSerialization.m: escape characters with codepoint
greater than 0x7f.
2019-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: When encoding quoted words in a header, ensure
we don't split multibyte utf-8 characters into separate words.
* Tests/base/GSMime/general.m: Add test for encode/decode folded
subject line wit a euro symbol at the fold point.
2019-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/objc-load.m:
GSPrivateSymbolPath() simplified by removing the unused argument
and consolidated code so that, if the class lookup via dladdr()
fails, we fall back to use __objc_dynamic_get_symbol_path().
2019-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Fix encoded word encoding specifier
to be uppercase ('B' or 'Q') as pere strict RFC specification.
* Tests/base/GSMime/build.m: Add testcase for correct encoding.
2019-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/GSTLS/basic.m: Update testcase to use correct guard.
2019-02-12 Ivan Vucica <ivan@vucica.net>
* Headers/GNUstepBase/GSTLS.h: Change guard to check for value of
GS_USE_GNUTLS and not for its defined state. This preprocessor
constant might be defined with a zero value indicating desire not to
use GnuTLS, which would still pass the old check.
2019-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Improve thread safety with NSZombie particularly
on startup/shutdown; be more careful about locking access to the
zombieMap and also ensuring we don't raise an exception inside the
locked sections (by passing a nil map to the functions).
2019-01-06 Armando Pesenti Gritti <armando.pesentigritti@theengagehub.com>
* Headers/GNUstepBase/GSTLS.h: Header moved to provide public
exposure of TLS classes giving ObjC interface to GNU TLS.
* Source/GSTLS.m: New methods to provide certificate expiry times.
* Source/DocMakefile: Make documentation from GSTLS.h
* Source/GNUmakefile: Install GSTLS.h
* Source/GSHTTPURLHandle.m: Adjust location of GSTLS header
* Source/GSSocketStream.m: Adjust location of GSTLS header
* Source/NSFileHandle.m: Adjust location of GSTLS header
* Source/NSURLProtocol.m: Adjust location of GSTLS header
* Tests/base/GSTLS: Add tests for certificate expiry
Patch by Armando, adjusted by RFM.
2019-01-06 Fred Kiefer <fredkiefer@gmx.de>
* Source/Additions/Unicode.m: Move variable u to the correct scope
and initialize it.
2019-01-06 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.26.0.
* Version:
Bump version to 1.26.0.
2019-01-06 Ivan Vucica <ivan@vucica.net>
* Tests/base/NSBundle/resources.m:
Fixed change in 2107c82ca4778e4cf9b8624d1bd1fd60fe104373 which made
NSArray *arr become invisible to the "NSBundle GNUstep resources"
test set.
2019-01-06 Ivan Vucica <ivan@vucica.net>
* config/icu.m4:
* configure.ac:
Merge the change to use pkg-config to detect ICU. Patch by Hugh
McMaster <hugh.mcmaster@outlook.com>.
Update PR #32 to require ICU 5.0+ and not 4.6+.
* configure:
Regenerated to incorporate the changes from PR #32. Regenerated with
autoconf 2.69.
2019-01-06 Fred Kiefer <fredkiefer@gmx.de>
* Documentation/news.texi: Update release notes for 1.26.0.
* ChangeLog: Fix typos in this document.
2019-01-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
Track the age of TLS sessions for server connections and, when
accepting an incoming connection, replace the current server
connection (if the existing one is more than 5 minutes old) so
that cached certificate information will be updated from file
(eg if a certificate needs to be updated while a server is running).
2018-12-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/Foundation/NSObject.h:
Remove reference to the copyWithZone: implementation of NSObject,
which was removed ages ago.
2018-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURLHandle.h:
* Source/NSURLHandle.m:
* Source/GSHTTPURLHandle.m:
Expose GNUstep specific methods for old code that depends on them.
Newer code should use the newer HTTP/HTTPS APIs
2018-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSURL+GNUstepBase.h:
* Source/NSURL.m:
Add [-cacheKey] method to return a key usable for caching HTTP URL
connections that go to the same scheme, host and port.
* Source/GSHTTPURLHandle.m:
New [-setURL:] method to change the URL used by a handle so that
a networek connection used by a handle can be re-used if possible
(ie if the scheme, host and port parts are unchanged).
2018-08-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Fixup for last modification ... still verify the
certificate (so we can find out who issued/owns it) even if we do
not have verification turned on ... the verification setting controls
whether we reject the connection. Also fixed off by one bug in
getting the issuer and owner distinguished names.
2018-08-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Change behavior so that when acting as a server we
always request that the client sends us a certificate (if it doesn't
have one, it should ignore the request). The 'verify' setting should
control only whether a request without a certificate is rejected.
2018-08-08 Riccardo Mottola <rm@gnu.org>
* configure.ac
* configure:
When checking for pthread_np.h include pthread.h if available or
it may fail (e.g. OpenBSD).
2018-08-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Update the cache on change of volatile
domain or search list, not just when perstistent domain values
change.
2018-07-19 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: Updated zone info and corrected preferred
abbreviation mappings to match OSX.
2018-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: improve utf8 validity checks,
switch to state machine based utf8 parsing for better performance.
* Tests/base/NSString/utf8.m: add a few tests for utf8 parsing.
2018-07-10 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
When using clang, we now supply -fobjc-runtime=gcc to target the
gnu/gcc runtime ABI.
2018-07-07 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSString.m: Add primitive implementation for
rangeOfComposedCharacterSequencesForRange:.
2018-07-06 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSString.m: Remove GSString copyWithZone:.
* Source/NSString.m: Raise exception when no data is provided for the
string. This brings our implementation closer to the Cocoa one.
* Source/GSString.m: Add similar exceptions.
2018-07-02 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSString/test00.m: : Move _unicodeString from here...
* Source/GSString.m: ... to here.
In order to reliably test the internal 16bit unicode implementation
we must have a method guaranteed to produce an instance of the correct
class.
2018-07-01 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSString.m: Small cleanup for printf registration.
* Tests/base/NSString/test00.m: Add David Chisnall's test from
newapi branch slightly reformatted.
* Source/GSString.m: Remove code that was identical to super class.
* Source/GSString.m: Move the method _unicodeString from here...
* Tests/base/NSString/test00.m: ...to here.
2018-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Fix conversion of numeric entities with large
values into UTF-16 surrogate pairs before returning them as string.
2018-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/Base.gsdoc:
* Source/GSPrivate.h:
* Source/NSException.m:
* Source/NSUserDefaults.m:
Add boolean GSExceptionStackTrace user default to turn on inclusion
of stack trace information in the -description of an exception
(like the GNUSTEP_STACK_TRACE environment variable). Useful for
diagnostic logs of a long running server process.
2018-04-30 Graham Lee <graham@iamleeg.com>
* Source/NSCalendar.m (calendarWithIdentifier:):
New convenience method implemented by Cocoa.
2018-05-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: avoid static initialisation macro for allocation
locks in case some systems implement it in a way that doesn't work
after static initialisation takes place.
2018-05-27 Fred Kiefer <fredkiefer@gmx.de>
* Tests/base/NSProcessInfo/general.m: Mark test for -systemUptime
as hopeful as it may fail in GNU Hurd.
Fixes bug #53941.
Based on idea by Yavor Doganov <yavor@gnu.org>
2018-05-21 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSConcreteValueTemplate.m: Add hack to make point and
size subclasses for NSValue interchangable.
2018-05-20 Ivan Vucica <ivan@vucica.net>
* Source/NSThread.m:
Fix typo in code branch for platforms without pthread_spin_lock().
Check for value of HAVE_PTHREAD_SPIN_LOCK instead of whether the
macro is defined.
2018-05-18 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdnc.m: Remove a little unused code
* Headers/Foundation/NSFileHandle.h:
* Source/GSHTTPURLHandle.m:
* Source/GSSocketStream.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSURLProtocol.m:
Add support for TLS SNI (Server Name Indication) and a new option
(GSTLSServerName) to control what name (if any) is passed in the TLS
handshake.
2018-05-17 Yavor Doganov <yavor@gnu.org>
* Tests/base/NSNumberFormatter/basic10_4.m: Avoid test failure on
big-endian platforms by converting unichar to an NSString.
2018-05-10 Fred Kiefer <fredkiefer@gmx.de>
* Tools/pl2link.m (main): Don't write deprecated fields to desktop
link file.
Patch by: Josh Freeman <gnustep_lists@twilightedge.com>
2018-04-24 Richard Frith-Macdonald <rfm@gnu.org>
* configure: regenerate
* NSObject.m: tiny cosmetic whitespace tidyup
* NSThread.m: move declarations to avoid compiler warning
2018-04-23 Riccardo Mottola <rm@gnu.org>
* Source/NSThread.m:
Detect if platform is missing spin locks and provide an dummy
implementation. Emit warning during compilation and runtime (in debug).
2018-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: ensure that the thread specific memory key is
initialised before use.
2018-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Improve -symbold method on platforms without
backtrace support (list addresses with a message to say the symbols
are not available).
2018-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: Using class_createInstance() to allocate locks
seems to be causing memory issues and crashes somehow. Temporarily
comment out that code to try to get things working again.
2018-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
* Source/NSArray.m:
* Source/NSCharacterSet.m:
* Source/NSString.m:
Use pthread mutex directly to try to avoid initialising NSLock too
early on during process startup.
2018-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Don't set the name of the global lock until
after we have make sure that strings and autorelease are set up.
2018-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
* Source/GSHTTPAuthentication.m:
* Source/GSHTTPURLHandle.m:
* Source/GSMDNSNetServices.m:
* Source/GSURLPrivate.h:
* Source/NSCalendar.m:
* Source/NSCharacterSet.m:
* Source/NSConnection.m:
* Source/NSCountedSet.m:
* Source/NSIndexPath.m:
* Source/NSKeyValueObserving.m:
* Source/NSLocale.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSUserDefaults.m:
* Source/NSValueTransformer.m:
Replace the obsolete GSLazyLock code with standard NSLocks now that
almost all significant software is multithreaded.
2018-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: When adding a new thread, set the thread specific
memory to point to the object before doing anything else which might
attempt to access the thread (causing recursive registration).
2018-04-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/unicode/cop.h: Add comment/fixme
* Source/Additions/Unicode.m:
* Source/NSString.m:
Move uni_isnonsp() to NSString.m and make it use nonBaseCharacterSet
so that it correctly copes with both surrogate pairs and traditional
composed character sequences. NB. David points out that this is not
full/correct unicode grapheme cluster handling (it's the main part
of the handling for 'legacy' grapheme clusters).
2018-04-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSThread.h:
* Source/GSPrivate.h:
* Source/NSException.m:
* Source/NSLock.m:
* Source/NSThread.m:
Revised code for efficient stack traces and for tracking the use of
locks and detecting deadlocks.
2018-03-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Fix second argument to backtrace()
2018-03-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Use pthread mutexes directly to avoid
recursive interactions with tracking NSL:ock activity.
2018-03-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSDebug.m:
* Source/NSException.m:
* Source/NSThread.m:
* Headers/Foundation/NSThread.h:
Move stack info code from NSDebug to NSException so its all in one
place and. Make thread call stack addresses method use windows code
as well as libbacktrace. Remove unused method.
* Source/NSTimeZone.m:
Simplify and optimise locking by using pthread_mutex functions
directly.
2018-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m:
Avoid recursion in lock tracing when using memory allocation stats.
* Source/NSObject.m:
Make gnustep_global_lock an untraced lock to avoid recursion issues
when tracing.
2018-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSThread.h:
* Source/GSPrivate.h:
* Source/NSLock.m:
* Source/NSThread.m:
Experimental code to add support for tracing locks held by different
threads and to report deadlock situations where threads have
obtained locks in the wrong order and can never proceed.
2018-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSOperation.m:
Give locks names to ease debugging
* Source/NSObject.m:
* Source/NSZone.m:
Updates to use pthread mutexes directly rather than NSLock objects
in key places for performance.
2018-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPThread.h:
* Source/GSException.m:
Optimise generation of stack traces to store them in a single simple
malloced buffer and only generate an NSArray of return addresses if
actually requested. Also adjust output of stack trace to exclude the
top few frames involved in generation of the trace, so we see only
the frames of interest.
2018-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSLock.h: Expose pointer to function handling
logging of deadlocks.
* Source/NSLock.m: Indirect via pointer so apps can intercept the
logging of deadlocks.
* Source/GSHTTPURLHandle.m: Provide more detailed debug logging.
* Source/NSURLProtocol.m: Provide more detailed debug logs.
2018-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSeq.h: Fixup error in last modification.
* Source/GSString.m: Add method to reliably get a GSUnicodeString
* Tests/base/NSString/test00.m: Fix tests to properly check range
searches using all combinations of 8bit and 16bit representation
strings.
2018-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSeq.h: Fix boundary checks searching for unicode strings.
2018-02-16 Yavor Doganov <yavor@gnu.org>
* Tests/base/NSNumberFormatter/basic10_4.m: Extend test expression
to fix test failure with ICU 60.2.
2018-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Fix strncat length limits.
2018-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: fix missing fieldwidth specified in fscanf call
2018-02-09 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSXMLElement.m(-addAttribute:): Correct linear list code
for name spaces. This fixes the last remaining Coverity issue.
2018-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.h
* Source/NSUnarchiver.h
Improve checks for loss of data converting sizes of scalar types.
2018-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAttributedString.m: remove a little dead code
* Tests/base/NSMutableAttributedString/test00.m: add sanity checks
* Tests/base/NSMutableAttributedString/test01.m: add sanity checks
* Source/GSString.m: raise exception on character conversion failure
* Source/NSNumberFormatter.m: remove dead code
* Source/NSPropertyList.m: avoid warnings using cast to void
* Source/NSMessagePortNameServer.m: added security checks
* Source/NSDecimal.m: tweak underflow setting for negative numbers
* Tools/AGSHtml.m: remove useless test
2018-02-07 Yavor Doganov <yavor@gnu.org>
* Source/NSPortMessage.m (sendBeforeDate:): Invoke
-sendBeforeDate:msgid:components:from:reserved: so that the value
of _msgid is taken into account.
(initWithSendPort:receivePort:components:): Set _msgid to 0.
2018-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h:
* Source/NSAssertionHandler.m:
* Documentation/manual/ExceptionHandling.texi:
Update NSAssert() and NSCAssert() to handle variable arguments
(as OSX has done) and mark the numbered macros as obsolete.
* Source/NSMessagePort.m:
* Source/NSSocketPort.m: Log if we fail to turn on keepalive
* Source/NSURL.m: fix possible nul pointer dereference
* Source/NSPropertyList.m: check step before use
* Source/NSDate.m: add comment that we are ignoring non-digits
* Source/NSCache.m: use double division for calcualting averrage
* Source/NSPredicate.m: check for termination of quoted strings
2018-02-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m: Remove redundant (always true) conditional.
Use cast to mask 64bit values.
* Source/NSUnarchiver.m: Remove redundant (always true) conditional.
* Source/NSPropertyList.m: Remove dead code
* Source/NSDecimal.m: Remove dead code, tweak underflow setting for
negated numbbers.
* Tools/gdnc.m: Remove dead code
2018-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: keep checker happy by using return value of
setsockopt.
* Source/Additions/Unicode.m: ensure iconv handle is closed
* Source/NSLocale.m: localeIdentifierFromComponents should cope with
collation alone being set.
* Source/GSString.m: better handling if character conversion fails.
* Source/NSRunLoop.m: suppress warning using cast.
* Source/NSTimeZone.m: check that time zone hour is in range 0 to 23
2018-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFTPURLHandle.m: change memcpy to memmove to avoid possible
problems with overlapping source and destination areas.
* Source/Additions/Unicode.m: ensure iconv handle is closed
* Source/NSXMLParser.m: fix incorrect type assignment
2018-02-01 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSFormat.m: Call va_end with the correct parameter.
* Source/NSObject+NSComparisonMethods.m: Add missing return.
* Source/GSString.m (-replaceCharactersInRange:withString:,
-initWithBytesNoCopy:...freeWhenDone:): Remove dead code.
* Source/NSDistantObject.m (-initWithCoder:): Remove dead code.
* Source/NSPredicate.m (_eval_avg:): Don't devide by zero.
Fix issues found by Coverity.
2018-01-26 Richard Frith-Macdonald <rfm@gnu.org>
* NSCharacterSets/GNUmakefile:
* NSCharacterSets/alphanumericCharSet.dat:
* NSCharacterSets/controlCharSet.dat:
* NSCharacterSets/dataToHeader.c:
* NSCharacterSets/decimalDigitCharSet.dat:
* NSCharacterSets/decomposableCharSet.dat:
* NSCharacterSets/illegalCharSet.dat:
* NSCharacterSets/letterCharSet.dat:
* NSCharacterSets/lowercaseLetterCharSet.dat:
* NSCharacterSets/newlineCharSet.dat:
* NSCharacterSets/nonBaseCharSet.dat:
* NSCharacterSets/punctuationCharSet.dat:
* NSCharacterSets/symbolAndOperatorCharSet.dat:
* NSCharacterSets/uppercaseLetterCharSet.dat:
* NSCharacterSets/whitespaceAndNlCharSet.dat:
* NSCharacterSets/whitespaceCharSet.dat:
Obsolete files deleted.
* NSCharacterSets/README.CharSet: updated
* Source/NSCharacterSetData.h: regenerated using the ucsdata library
and the charsets tools to take into account the fact that a unicode
zero width space should be counted as white space by us.
* Source/NSURL.m: A few OSX compatibility tweaks.
* Tests/base/NSURL/basic.m: A couple more OSX compatibility tests.
2018-01-25 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h:
* Source/NSException.m:
* Source/Additions/NSObject+GNUstepBase.m:
Mark exception raising methods with GS_NORETURN_METHOD.
Alter noreturn method implementations so the compiler knows
that they really don't return.
Use pragma to suppress warnings about noreturn methods whose
formal declaration says they return an id.
2018-01-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSNumber+GNUstepBase.m:
* Source/GSValue.m:
* Source/NSZone.m:
* Tools/gdomap.c:
Fix various small issues picked by automated checker.
2018-01-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Makefile.postamble: Restore optimisation flags (removed 18
years ago) for NSInvocation and NSConnection (and remove obsolete
mframe setting) as suggested by Yavor Doganov.
2018-01-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Improve exception message when performing a
selector on a finished thread.
* Source/NSTask.m: Do not try to notify task completion on a thread
that is not executing.
* configure.ac: Fix for older versions of pkg-config
* configure: regenerate
2018-01-14 Yavor Doganov <yavor@gnu.org>
* Tests/base/NSXMLDocument/basic.m:
* Tests/base/NSXMLDocument/cdata.m:
* Tests/base/NSXMLNode/basic.m:
* Tests/base/NSXMLElement/attributes.m:
* Tests/base/NSXMLElement/basic.m:
* Tests/base/NSXMLElement/children.m:
* Tests/base/NSXMLElement/transfer.m:
* Tests/base/NSXMLNode/children.m:
* Tests/base/NSXMLNode/description.m:
* Tests/base/NSXMLNode/kinds.m:
* Tests/base/NSXMLNode/namespaces.m: Skip tests if libxml2 is not
available.
* Tests/base/NSTimeZone/use.m: Skip one more test if
NSLOCALE_SUPPORTED is undefined.
* Tests/base/NSRegularExpression/basic.m: Skip all tests if ICU is
not available.
2018-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Remove explicit test for SAX2.h as we now assume
it is present based on the version of libxml2.
* configure: regenerate
* Source/GSXML.m: fix errors in loading/resolving of external entities
and fix the parsing methods to correctly return whether the xml was
validated against a DTD (when that feature is turned on).
* Tests/base/GSXML/basic.m: add a couple of tests for resolving
external references and validating against a DTD.
2018-01-14 Yavor Doganov <yavor@gnu.org>
* configure.ac: Use PKG_PROG_PKG_CONFIG instead of AC_PATH_PROG to
find pkg-config as it supports cross-compilation.
* configure.ac: Bump ICU requirement to >= 50 for UDAT_PATTERN.
2018-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: OSX compatibility tweaks and correction
for setting entity resolution flag in sloppy parser.
* Headers/GNUstepBase/GSXML.h: new [-resolveEntities:] method to
enable resolving of external entities (now off by default).
* Source/Additions/GSXML.m: Changes to turn off resolving of
external entity references my default (adding a new method to turn
the feature back on) as a security fix to prevent xml injection
attacks (eg where an attacker gets the local password file substituted
into an xml document).
* Tests/base/NSXMLParser/parse.m: external entity resolution test.
* Tests/base/GSXML/basic.m: external entity resolution test.
2018-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fix bug with one path to object allocation
failing to record the object for memory debuggin purposes.
2018-01-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
Tweaks for OSX compatibility ... treat a missing path in an http URL
as an empty string rather than as nil.
2018-01-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
* Tests/base/NSFileManager/general.m:
Added <graham@iamleeg.com> Graham Lee's fix for #51592 to not raise
an assertion, but rather call the handler if the source file being
copied does not exist.
2017-12-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m:
* Source/NSMessagePort.m:
* Source/win32/NSMessagePort.m:
There is a possible race condition when attempting to write a message
to a port; the port handle is added to the run loop and then the loop
is entered, but if an event occurs in the loop which invalidates the
handle and causes it to be removed from the loop before the lower
level code to wait for I/O is entered, the loop may never receive an
event on the handle and could wait indefinitely.
The solution is not to remove the handle from the loop when it is
invalidated or when an event occurs on an invalidated handle, but
only remove it in the method which added it. Of course, this means
we must make certain to remove it when we should, which means that
the loop must be run inside an exception handler which makes sure to
remove the handle from the loop before re-raising the exception.
2017-12-31 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE
* NEWS
* Documentation/ReleaseNotes.gsdoc
* Documentation/news.texi: Update release notes for 1.25.1 to
take note of compatibility improvement changes since release
notes were written, and to fix a typo.
2017-12-21 Riccardo Mottola <rm@gnu.org>
* Source/NSObject.m:
Cleanup previous commit.
2017-12-21 Riccardo Mottola <rm@gnu.org>
* Source/NSObject.m:
Compatibility for OS/compiler not supporting weak symbols.
2017-12-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Remove obsolete --enable-objc-nonfragile-abi flag
when building for ng.
* configure: regenerate
2017-12-19 Richard Frith-Macdonald <rfm@gnu.org>
* Version: 1.25.1 release
* Documentation/ReleaseNotes.gsdoc: update for release
* Documentation/news.texi: update for release
* ANNOUNCE: regenerate
* INSTALL: regenerate
* NEWS: regenerate
* README: regenerate
2017-12-18 Graham Lee <graham@iamleeg.com>
* Source/NSJSONSerialization.m: Fix for bug #12 on github. This
makes sure that unsigned integer types are written as such,
avoiding a potential overflow.
* Tests/base/NSJSONSerialization/tests00.m: Test case for above.
2017-12-17 David Chisnall <theraven@sucs.org>
* Source/NSObject.m: Refactor refcount usage.
This makes it easier for the runtime to change how reference
counts are
stored by removing any refcount manipulation from -base when
the runtime
provides accessors. This should have no functionality
change with
existing runtimes, but will let newer runtimes drop in
alternative
representations easily.
2017-12-03 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m: Correct setting the delegate.
Add new symbolic link method.
2017-11-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Fix for bug reported on github by zneak.
2017-11-04 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSLocale.m: Protect against
GSPrivateNativeCStringEncoding() corrupting the return value of
setlocale(). Bug #52331 reported by Jakub Wilk <jwilk@jwilk.net>.
2017-10-26 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Fix how UDateFormat is created. Fixes
bug #52011.
2017-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Improve handling in case where we try to perform
a method in a thread and it can't be woken (the pipe to awaken the run
loop is full). Instead of blocking forever, give up after a second.
Typically pipe buffers are from 4KB to 64KB so a full buffer almost
certainly indicates that the thread is hung.
2017-08-24 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Fix bug in ISO code methods.
2017-08-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: Fixed error where the presence of a
Location error was taken to indicate a redirect rather than looking
at the HTTP status code for a 3xx value.
2017-08-16 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLDownload.h:
As of macOS 10.7, NSURLDownloadDelegate is exposed formally as a
protocol. This adds the declaration to make this true for GNUstep.
2017-08-15 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSTextCheckingResult.h:
Define missing constants in the NSTextCheckingResult header.
2017-08-04 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSObjCRuntime.h:
Add empty definitions for OSX Availability macros for compatibility
purposes.
2017-07-10 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSString.m (lengthUTF8):
Characters outside the BMP cannot be converted to Latin 1 string
encoding either.
* Tests/base/NSString/pairs.m (main):
* Tests/base/NSString/unichar_const.m:
Add test cases.
2017-07-07 Riccardo Mottola <rm@gnu.org>
* Source/NSProcessInfo.m:
Fix GetTickCount()/GetTickCount64() for different Windows versions.
2017-07-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: When an object's retain count is incremented too
far, track it so that we only raise an exception about it once (and
make the exception message more informative so we can more easily
tell what object has been leaked).
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m:
Implement a method for getting attribytes of a file system path. Reuse
the implementation of -fileSystemAttributesAtPath: for this purpose but
export the last system errors to the caller. Make
-fileSystemAttributesAtPath: use the new implementation, without
exposing error info to the caller.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/Foundation.h
* Headers/Foundation/NSFileCoordinator.h
* Headers/Foundation/NSFilePresenter.h
* Headers/Foundation/NSFileVersion.h
* Headers/Foundation/NSURLSession.h
* Source/GNUmakefile
* Source/NSFileCoordinator.m
* Source/NSFileVersion.m
* Source/NSURLSession.m:
Generate class stubs (without any method definition) for
NSFileCoordinator, NSFilePresenter, NSFileVersion and NSURLSession.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLConnection.h:
Currently, NSURLConnectionDelegate methods were defined as a category of
an NSObject. The same definitions were copied over to a new
NSURLConnectionDelegate protocol, introduced in OSX 10.7.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLCredential.h
* Source/NSURLCredential.m:
Declare the NSURLCredentialPersistenceSynchronizable enumeration case to
NSURLCredential persistence options. Since GNUstep does not support
iCloud synchronization for credentials, this case will default to
NSURLCredentialPersistencePermanent.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLProtectionSpace.h
* Source/GSHTTPAuthentication.m
* Source/NSURLProtectionSpace.m:
Improve handling of NSURL authentication methods. Make "HTMLForm"
authentication a no-op as it should be instead of making it fall back to
Basic authentication.
Add stubs for NTLM and Negotiate IIS methods. They should be easily
implementable given the current framework for authentication methods.
Add stubs for ClientCertificate and ServerTrust authentication methods.
A blocker for supporting them is the lack of a Security.framework
implementation (since they rely on SecTrustRef). They would also require
additions to the current SSL handling code for GNUstep https requests.
Also stub the -distinguishedNames property of NSURLProtectionSpace,
which also deals with certificate-related authentication methods.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLRequest.h:
Add new values for the NSURLCachePolicy enum. Although
NSURLRequestReloadIgnoringLocalAndRemoteCacheData and
NSURLRequestReloadRevalidatingCacheData have been left unimplemented,
the same applies for the reference platform, so not supporting it does
not break API compatibility.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSZone.h:
Implement NSMakeCollectable(), an interface which makes CoreFoundation
objects eligible for garbage collection.
Since garbage collection is a totally deprecated API, and support has
now been removed from GNUstep, its implementation is a no-op.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSProcessInfo.h
* Source/NSProcessInfo.m:
Add stubs for sudden termination APIs and for application activity
management methods.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSProcessInfo.h
* Source/NSProcessInfo.m
* Tests/base/NSProcessInfo/general.m:
Introduce the systemUptime property to NSProcessInfo, which can compute
platform-independently what is the uptime of the system.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Source/NSHTTPCookie.m
* Tests/base/NSHTTPCookie/basic.m:
Fix a bug in NSHTTPCookie's Set-Cookie parser where it would fail to
parse more than one key-only cookie (such as "Secure; HTTPOnly;") in a
header.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSHTTPCookie.h
* Source/NSHTTPCookie.m
* Tests/base/NSHTTPCookie/basic.m:
Add support for parsing HTTPOnly cookies (those that cannot be accessed
by clients). Implement -[NSHTTPCookie isHTTPOnly].
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSHTTPCookie.h:
Make -[NSHTTPCookie isSessionOnly] and -[NSHTTPCookie isSecure] methods
become properties if possible, so that they can be also queried as
`cookie.sessionOnly` and `cookie.secure`. This increases compatibility
with applications that rely on this notation.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m:
Create NSFileManagerDelegate, a more modern manner to verify whether to
proceed a file operation after an error or whether an operation should
actually be performed by NSFileManager.
No functionality using the delegate is yet implemented.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURL.h
* Source/NSURL.m
* Source/externs.m:
Create an unimplemented stub for NSURL's -getResourceValue:... method,
which can gather a numerous set of information about a URL.
Define the constants which are passed into -getResourceValue:... for
requiring information so that a build that relies on this method does
not break.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURL.h:
Create the NSURL.fileURL property to increase compatibility with
applications that rely on this.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURL.h
* Source/NSURL.m:
The OSX filesystem implements "aliases", a species of symlink which
tracks its source if it was moved. Create stubs for the NSURL functions
which handle these aliases.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURL.h
* Source/NSURL.m:
Implement +[NSURL fileURLWithPath:isDirectory:], a class method added in
OSX 10.5, which was missing from the implementation.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSCoder.h
* Headers/Foundation/NSObject.h
* Source/NSCoder.m
* Source/NSKeyedUnarchiver.m:
Implement stubs for NSSecureCoding which do not break projects that rely
on it.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSDate.h
* Source/NSDate.m:
Declare a system clock change notification. Base still does not emit
this notification, but this allows applications that wait for it not to
have their build broken.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSObjCRuntime.h:
Create the NS_ROOT_CLASS macro, a wrapper around the objc_root_class
compiler attribute.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSObjCRuntime.h:
Make NS_AVAILABLE and NS_CLASS_AVAILABLE macros no-ops so that their
absence does not break projects that rely on it.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSCalendar.h:
Update NSCalendarUnit definitions with a newer specification from Cocoa.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSCalendar.h:
Add the NSCalendarOptions enum to NSCalendar for compatibility purposes.
While NSCalendar does not yet know how to handle them, it will not
generate build errors in projects that attempt to use them.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSCalendar.h
* Source/NSCalendar.m
* Source/NSLocale.m:
Add new calendar identifier constants to NSCalendar, to add
compatibility for newer OSX applications. Some identifiers do not hold
parity with the older equivalents and have been left unimplemented, with
the gregorian calendar as a fallback.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSGeometry.h
* Source/NSGeometry.m
* Tests/base/Functions/NSGeometry1.m:
Create the NSEdgeInsets struct in NSGeometry, introduced in OSX 10.7.
Add helper functions for creating these insets.
This struct is not used in Base. Rather, it is used as part of newer
APIs in GUI.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/FoundationErrors.h:
Create a no-file-exists error to the FoundationErrors enums. No function
is yet implemented to throw this error, but it has been added for
compatibility with applications that handle it.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/GNUstepBase/GSVersionMacros.h:
To keep compatibility with compilers prior to Objective-C 2.0 support,
added in the GCC 4.6 series, we are unable to always declare @property
attributes in classes. However, compatibility with dot-syntax
applications require us to define properties if we can.
We already had some checks for the GS_HAS_DECLARED_PROPERTIES macro to
see whether we could or could not declare properties (or whether we
should fall back to manual getter/setter defining). However, it seems
this macro never got defined.
This commit adds this macro, checking whether we possess either GCC >=
4.6 or Clang.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* .gitignore:
Create a .gitignore file to ease Base development using the Git version
control system. This stops object files, automake products and test
files from being accidentally inserted into the tree.
2017-06-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedLock.m: Revert recent changes to use O/S
specific system calls, and depend on new behavior of the
-createDirectoryAtPath:attributes: method instead. Add comment.
2017-06-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Make directory creation semantics match OSX
* Tests/base/NSFileManager/general.m: Add directory creation testcases
* Tests/base/NSDistributedLock/basic.m: Cleanup lock after tests
2017-06-17 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h: Fix GSI_MAP_NODE_IS_EMPTY macros as
suggested by Daniel Ferreira <bnmvco@gmail.com>
2017-06-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedLock.m: Change code to create lock directory
directly rather than via the NSFileManager methods since Wolfgang
pointed out that those methods consider a pre-existing directory to
have been successfully created, but the distributed locking logic
supposes that an attempt to create an existing directory will fail.
* Tests/base/NSDistributedLock:
* Tests/base/NSDistributedLock/TestInfo:
* Tests/base/NSDistributedLock/basic.m:
Add a few simple testcases for NSDistributedLock.
2017-05-19 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileHandle.h:
* Source/GSSocketStream.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
Add code to make the issuer and owner of a client certificate
available when we require/verify an incoming certificate.
2017-05-10 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/gdomap.c (nameServer, donames): Fix incorrect use
addresses returned from getaddrinfo.
2017-04-24 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSOutput.m: When generating class/method links, treat '['
as the start of a class/method only if it's the start of a comment
or is preceded by white space ... allows array syntax like foo[x] to
be used in a comment without attempting to link to a class named 'x'.
2017-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Version: 1.25.0 release
* Documentation/ReleaseNotes.gsdoc: update for release
* Documentation/news.texi: update for release
* ANNOUNCE: regenerate
* INSTALL: regenerate
* NEWS: regenerate
* README: regenerate
2017-04-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m:
* Tests/base/NSPredicate/basic.m:
Fixes for bug #47618.
2017-04-09 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSTask.h:
* Source/NSTask.m:
Apply OSX compatibility fix for NSTask notifications (bug #49021)
by Larry Campbell.
2017-04-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: Fix leak spotted by David Lobron.
2017-04-01 Riccardo Mottola <rm@gnu.org>
* Source/NSConnection.m
Correct format specifier to char*
2017-03-17 Riccardo Mottola <rm@gnu.org>
* Source/NSFileManager.m:(nextObject of Enumerator)
Skip file if no valid filename could be retrieved most probably due
to Charset mismatches, this is is more a last resort: probably a
lossy conversion should be attempted before.
2017-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZones/NSTimeZones.tar: Updated with latest information.
2017-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Implement NSNonLossyASCIIStringEncoding
in a manner compatible with OSX. Added regression tests.
2017-02-11 Wolfgang Lux <wolfgang.lux@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 <rfm@gnu.org>
* Tools/gdomap.c: Use getaddrinfo rather than gethostbyname if
available (bug #50032).
2016-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Fix missing line preventing documentation of
enumeration constants.
2016-11-28 Wolfgang Lux <wolfgang.lux@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 <rfm@gnu.org>
* Source/NSPortCoder.m:
* Source/NSUnarchiver.m:
Fix for logic error decoding archives created by a machine with a
different word size. Was checking the size of the encoded scalar
item, but not against the *local* size of the same type.
2016-11-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fix error in last mod ... was calculating opbject
layout incorrectly when fast-ARC moce used on 64bit system.
Also simplified by removing special case optimising for single-threaded
programs and use inline decrement to improve performance of release.
2016-10-28 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSObject.m: Re-enable fast-ARC mode when memory layout
and atomic operations support permit. This changes the size of the
field where the reference count is stored to the size of a pointer
in some configurations.
The effective maximum reference count is still 2^24 - 1.
2016-10-27 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSObject.m: Comment out _ARCCompliantRetainRelease for
now because the retain count representation in gnustep-base and
libobjc2 differs causing space leaks on 64-bit architectures.
2016-10-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Only atempt to read regular files into NSData,
* Source/NSMessagePortNameServer.m: Ignore lock directories in the
'names' directory.
* Source/NSTask.m Increase files to close from 256 to 2048 to better
reflect typical modern system limits.
All changes for problems spotted by Wolfgang.
2016-10-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSDate.h: Add documentation
* Source/NSDate.m: Tidy up and remove a little redundant code.
* Source/NSRunLoop.m: Tidy up and empty autorelease pool more often.
* Source/NSTimer.m: Tidy a little and improvde -description
2016-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSTLS.h:
* Source/GSTLS.m:
Fix for double free issues when assigning certificat/key to
credentials fails.
2016-10-12 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRegularExpression.m: Fix crashes in libicu due to
* ignored error codes. Also fix a few memory leaks.
* Tests/base/NSRegularExpression/basic.m: Test cases for this.
2016-10-11 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTLS.m
* configure.ac
* Headers/GNUstepBase/config.h.in:
Check for gnutls_x509_privkey_import2() and use it if
available.
* configure: Regenerate
* Tests/base/GSTLS:
Test case for loading an OpenSSL encrypted private key.
2016-10-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Check for modification of source file
during copy.
2016-10-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Permit noncharacter unicode codepoints
* Source/GSString.m: Permit noncharacter unicode codepoints
* Source/NSNotificationQueue.m: Call GSPrivateCheckTasks()
* Source/NSRunLoop.m: Let GSPrivateNotifyASAP() check for task exit.
2016-09-19 Niels Grewe <niels.grewe@halbordnung.de>>
* Source/Additions/GSMime.m (charsetForXml):
Fix detection of charset in XML document.
* Tests/base/GSMime/xml-charset.m: Test case.
2016-09-16 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Additions/GSMime.m (convertTo7BitSafe):
Add missing checks to avoid calling caseInsensitiveCompare: with a
nil argument.
2016-09-16 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTLS.m: Fix bug removing mapped certificates.
2016-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSScanner.h:
* Source/NSScanner.m:
* Tests/base/NSScanner/test01.m:
Add support for scanHexLongLong method inspired/based on patch from
Abbas Raza, but with minor bugfixes, reduced code duplication, and
avoiding compiler warnings.
2016-08-30 Abbas Raza <abbas.raza.1707@gmail.com>
* Source/NSJSONSerialization.m: Generate NSError rather than raising
exception if the trailing '"' in the dsocument is missing.
2016-08-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: Fix typo which was causing premature termination of
long headers.
2016-08-19 Richard Frith-Macdonald <rfm@gnu.org>
* config/objc-common.g: Darwin patch by David Wetzel
* Source/CompatibilityHeaders.make: Delete obsolete file
* configure.ac: Check for libdispatch runloop integration functions
* Headers/GNUstepBase/GSConfig.h.in: New define for libdispatch
* config.mak.in: New define for libdispatch
* Tests/base/NSRunLoop/dispatch.m: Use new define
* configure: Regenerate
* Source/Additions/Makefile.preamble:
* Source/GNUmakefile:
* Source/Makefile.postamble:
* Source/Makefile.preamble:
* Source/ObjectiveC2/Makefile.preamble:
* Source/unix/Makefile.preamble:
* Source/win32/Makefile.preamble:
* Tools/Makefile.preamble:
* Tools/make_strings/GNUmakefile.preamble:
Mostly tweaks for building cleanly non-flattened and removal of a few
long deprecated directories/headers.
Configuration time change by David Wetzel for building on OSX
2016-07-27 Niels Grewe <niels.grewe@halbordnung.de>
* Header/Foundation/NSData.h
* Source/NSData.m:
Make the deallocator block a direct ivar of NSDataMalloc
(or NSMutableDataMalloc respectively). Breaks binary
compatibility but avoids reallocating objects based on
the initializer used.
2016-07-26 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSDictionary.m
* Tests/base/NSDictionary/general.m:
Fix -getObjects:andKeys:
2016-07-26 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSData.h
* Source/NSData.m
* Tests/base/NSData/general.m:
Implement OS X 10.9 method -initWithBytesNoCopy:length:deallocator:
that allows customising data deallocation based on a caller
supplied block. Also adds test cases for this functionality.
2016-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m:
* Source/GSSocketStream.m:
In -close we should close the underlying file descriptor (even if the
stream has not formally been opened yet) to ensure we don't leak it.
In -dealloc, if the file descriptor still exists, we should call the
-close method.
2016-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSObject+GNUstepbase.m: use separate lock to
protect at exit methods ... avoid conflict/deadlock with multithreaded
notification change.
2016-07-18 Larry Campbell <lcampbel@akamai.com>
* Source/NSThread.m: Send notification about becoming multithreaded
when the new thread is registered from outside our API.
2016-07-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: avoid sorting the queue ... keep the array of
waiting operations sorted by inserting new operations at the correct
position and observing the queuePriority of waiting operations (and
re-positiuoning them in the waiting array as necessary).
Fix for scalability problem (bug #47926)
2016-07-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSRunLoopCtxt.m: fix bug in return value when polling.
The poll method must return YES if any input source fired, including
handling of windows messages which are already available and require
no wait.
2016-07-15 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* Headers/GNUstepBase/config.h.in:
* Source/GSQuickSort.m:
* Source/GSShellSort.m:
* Source/GSSorting.h:
* Source/GSTimSort.m:
* Source/NSSortDescriptor.m:
Make sorting algorithms selectable at runtime rather than compile
time.
2016-07-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m (-acceptInputForMode:beforeDate:):
Closer to OSX behavior ... when accepting input we should fire all
timers (possibly repeatedly) since a timer is not counted as an
input source. Also simplify housekeeping timer so that it will
keep loops running as it does on OSX.
2016-07-12 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h
* Headers/GNUstepBase/GNUstep.h:
Add NS_DESIGNATED_INITIALIZER macro
2016-07-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSICUString.m (UTextNSStringAccess):
Fix to use signed integer variables so all the comparisons with zero
as a boundary actually work as intended etc (spotted by Wolfgang).
* Source/NSRunLoop.m: Closer to OSX behavior ... a nil date is treated
like a date in the distant past (ie loop terminates at once), and the
(-runUntilDate:) method fires any pending timers when given a date in
the past.
2016-07-12 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSICUString.m (UTextNSStringAccess): Fix unsigned
comparison to properly detect integer underflows.
2016-07-06 Niels Grewe <niels.grewe@halbordnung.de>
* Tests/base/NSRegularExpression/basic.m: Test for -pattern
double free.
2016-07-06 Wolfgang Lux <wolfgang.lux@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 <rfm@gnu.org>
* Source/NSKeyValueObserving.m: Remove some unnecessary locking
* Source/NSOperation.m: Simplify handling of finishing of operation
to avoid occasional deadlock if an operation finishes in one thread
while in another thread we are waiting for it.
2016-07-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSICUString.m: For immutable strings, cache the string
length in the UText structure to avoid repeated calls to -length
2016-06-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSICUString.m: Re-implement the function to let ICU access
the contents of an NSString. The original version looks like it was
broken for cases where an algorithm is moving backwards in the string
(reverse search and regular expression parsing).
I hope the new implementation is correct (or at least clearer); the
ICU documentation is minimal and I didn't find any reference/example
implementations to work from.
2016-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m: Yse setjmp/longjmp from NSException.h
* Headers/Foundation/NSException.h: On mingw-w64 use the builtin
setjmp/longjmp provided by gcc since the mingw version sometimes
crashes.
2016-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* SSL: Openssl bundle directory deleted
* GNUmakefile: Don't build openssl bundle
* Source/NSFileHandle.m: Don't load openssl bundle
* configure.ac: remove option to build bundle
* configure: regenerate
* Documentation/ReleaseNotes.gsdoc:
* Documentation/install.texi:
* Documentation/news.texi:
* Documentation/readme.texi:
Updates to note that the obsolete openssl bundle has been removed.
2016-06-26 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSTask.h:
* Source/NSTask.m:
* Tests/base/NSTask/general.m:
* Tests/base/NSTask/notify.m:
Add -terminationReason method from OSX10.5
2016-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePort.m:
* config/config.reuseaddr.c:
Hack to work around Hurd local domain socket bug.
Plus don't try to set SO_REUSEADDR on local domain sockets anyway.
2016-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/Base.gsdoc:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
* Source/Makefile.postamble:
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSTask.m:
* Source/NSThread.m:
* configure:
* configure.ac:
When using non-flattened environment, the subdirectory name for
libraries/binaries is changed for Debian compatibility (and simplicity)
to use a directory whose name is of the form architecture/library-combo
rather than nested directories of the form cpu/os-abi/library-combo.
The architecture name format is a sanitised triplet cpu-os-abi (where
previously we had cpu/os-abi).
These changes are the first step in making GNUstep work seamlessly
with Debian multiarch. To use them you will need to rebuild your
entire gnustep installation using a version of gnustep-make which
has correspoinding changes to know where to install bbinaries and
resources. However, the changes should have no effect on a flattened
installation (currently the default).
2016-06-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedNotificationCenter.m: Double timeout from five
to ten seconds when waiting for the server to become reachable.
* Tools/gdnc.m: Auto-stop 15 seconds after the last client disconnects
rather than immediately ... allowing other clients time to connect.
Changes to reduce the chance of gdnc failure on a slow system where
the server is not running as a daemon.
2016-06-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Optimise getting ascii or utf8 characters
from a literal string.
2016-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Make sure we treat the reference count as a
32bit integer everywhere, so that atomic operations operate on the
correct value on big endian CPUs with different word sizes.
* Source/NSOperation.m: When starting an operation, have it retain
itself in case it'ss removed from the queue and released while
running.
* Headers/Foundation/NSDistributedLock.h: Add lock ivar.
* Source/NSDistributedLock.m: Make class thread-safe using lock.
* Source/Tests/base/KVC/mutable.m: Fix 64bit error in method types.
2016-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/cifframe.m: Use sizeof(NSInteger) as the buffer size for
small scalars if we are on an LP64 machine.
* Source/NSOperation.m: Retain operation while taking it from queue,
releasing after it is finished. Prevent crash if the original owner
of the operation releases it while it's in the queue.
2016-06-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
* Source/NSURLprotocol.m:
When sending HTTP headers, use RFC2047 rules (as specified in HTTP/1.1
RFC2616) to encode non-ascii characters.
2016-06-17 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSRegularExpression.h
* Source/NSRegularExpression.m
* Tests/base/NSRegularExpression/basic.m:
Implement resource limits for regular expression evaluation. Tweaked
to roughly match the Cocoa behaviour, but can be changed through
the GSRegularExpressionWorkLimit user default.
2016-06-17 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRegularExpression.m: Implement -isEqual: and -hash
* Tests/base/NSRegularExpression/basic.m: Test NSCopying
2016-06-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Fix for failure of connect() call.
* Source/GSStream.m: Fix event handling for failed streams.
* Tests/NSURLConnection/test01.m: Add testcases, fix reset of delegate.
Fixes for kfreebsd network stack being clever enough to fail the
connect() call if the remote port is on the same machine and has
no process listening on it. Reported by Heintzmann
2016-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/Base.gsdoc:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Documentation/release notes preparation for next release.
* Source/Makefile.postamble:
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSString.m:
* Source/NSTask.m:
* configure.ac:
Changes to use the new multiarch path component cpu-host rather
than a host subdirectory inside a cpu directory.
* configure: Regenerate
2016-06-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Fix output conversion to 7bit to work for quoted-printable.
Also, when generating headers, generate conventionally
capitalised names.
2016-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Conversion of multipart document between base64 and binary encoding
should use quoted-printable rather than base64 for text parts.
Rename -convertToBase64 to be -convertTo7BitSafe instead.
2016-05-27 Niels Grewe <niels.grewe@halbordnung.de>
* Tools/AGSParser.m: Ignore __asm__ directives
2016-05-19 Seong Gu Lee <sgleehd@gmail.com>
* GNUmakefile:
* Source/Additions/Makefile.preamble:
* Source/ObjectiveC2/Makefile.preamble:
* Source/unix/Makefile.preamble:
* Source/win32/Makefile.preamble:
mingw64 tweaks
2016-05-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: attempt fix for bug #47619
2016-05-18 Eric Heintzmann <heintzmann.eric@free.fr>
* ChangeLog.2:
* Documentation/news.texi:
* Headers/Foundation/NSAutoreleasePool.h:
* NEWS:
* Source/GSSocksParser/GSSocksParser.m:
* Source/NSAutoreleasePool.m:
* Source/NSConnection.m:
* Source/NSKeyedUnarchiver.m:
* Tools/AGSParser.m:
Fix typos andss spelling erros, including the setPoolCountThreshold:
method.
2016-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/manual/manual.texi:
* Source/GSSocksParser/GSSocks4Parser.m:
* Source/GSSocksParser/GSSocks5Parser.m:
* Tools/pldes.1:
Trivial fixes based on debian package.
2016-05-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/config.h.in:
* Source/NSException.m:
* configure.ac:
* configure:
Make USE_BFD control usage of libbfd and replace runtime warning with
a configure time warning about the license issue.
2016-05-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSZone.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Source/GSQuickSort.m:
* Source/GSString.m:
* Source/GSTimSort.m:
* Source/NSAutoreleasePool.m:
* Source/NSConcretePointerFunctions.h:
* Source/NSGarbageCollector.m:
* Source/NSNotificationCenter.m:
* Source/NSObject.m:
* Source/NSThread.m:
* Source/NSZone.m:
Completed(?) removal of GC support.
Plus various minor reorganisations to avoid compiler warnings.
2016-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Fix bug encoding very long headers with no whitespace to fold on.
* Source/NSThread.m:
Avoid use of autorelease pool when setting the name of the thread
(fix pointless warnings logs spotted by Wolfgang).
2016-05-06 18:03-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSString.h: Add containsString:
* Headers/GNUstepBase/GSVersionMacros.h: Add 10.10 and 10.11 macros.
* Source/NSString.m: Add containsString: implementation.
2016-04-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m:
Check for a pool being deallocated when it has already been
deallocated (and raise an exception).
2016-04-23 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/GSAvahiNetService.m: Avahi-based NSNetServices did crash
upon publishing if Avahi daemon did not run. Hardened code for this
case which also works correctly if daemon is started later on.
2016-04-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m:
Remove redundant code. Log domain names when debug is enabled.
2016-04-08 Riccardo Mottola <rm@gnu.org>
* Source/NSUserDefaults.m:
Skip nil domains explicitely and do not use nil values to look them up.
2016-04-04 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for runloop integration hooks in libdispatch
* configure
* Headers/GNUstepBase/config.h.in
* SSL/config.h.in
* SSL/configure:
Regenerate
* Source/NSRunLoop.m: If available, monitor the file descriptor for
the libdispatch main queue and drain it when it becomes readable.
* Tests/base/NSRunLoop/dispatch.m
* Tests/base/NSRunLoop/GNUmakefile.preamble:
Tests for libdispatch runloop integration
2016-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h:
* Headers/GNUstepBase/GNUstep.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSIArray.h:
* Headers/GNUstepBase/GSIMap.h:
* Source/Additions/GCDictionary.m:
* Source/Additions/GSLock.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/Unicode.m:
* Source/GSArray.m:
* Source/GSAttributedString.m:
* Source/GSConcreteValueTemplate.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSHTTPAuthentication.m:
* Source/GSRunLoopCtxt.h:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSArchiver.m:
* Source/NSArray.m:
* Source/NSAutoreleasePool.m:
* Source/NSCalendar.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSConcretePointerFunctions.h:
* Source/NSConcretePointerFunctions.m:
* Source/NSConnection.m:
* Source/NSCountedSet.m:
* Source/NSData.m:
* Source/NSDebug.m:
* Source/NSDictionary.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSFileManager.m:
* Source/NSGarbageCollector.m:
* Source/NSHashTable.m:
* Source/NSIndexSet.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSMapTable.m:
* Source/NSMessagePort.m:
* Source/NSNotificationCenter.m:
* Source/NSNotificationQueue.m:
* Source/NSObject.m:
* Source/NSPointerArray.m:
* Source/NSPortCoder.m:
* Source/NSProxy.m:
* Source/NSRunLoop.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
* Source/NSSocketPort.m:
* Source/NSString.m:
* Source/NSThread.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSURLConnection.m:
* Source/NSURLProtocol.m:
* Source/NSUnarchiver.m:
* Source/NSZone.m:
* Source/callframe.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopCtxt.m:
* Tools/AGSHtml.m:
* Tools/AGSOutput.m:
* Tools/AGSParser.m:
* Tools/autogsdoc.m:
* Tools/gdnc.m:
* Tools/make_strings/make_strings.m:
* configure.ac:
* macosx/config.h:
Removal of garbage collection support.
2016-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumber.m: Attempt to fix endianness archiving issue.
2016-03-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Remove unused function. Change binary
plist generation to return NO if our index table needs to grow,
rather than raising exceptions during normal operation.
2016-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
* ANNOUNCE:
* NEWS:
* NSTimeZones/NSTimeZones.tar:
* Tools/AGSParser.m:
* Version:
Update version for new release. Add short news/announce entries.
Update timezone information to latest IANA data.
Add simple support for generics to autogsdoc.
2016-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Wait longer for locks on slow systems
Improve tracking of changes in persistent domains.
2016-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSXML.h:
* Source/Additions/GSXML.m:
* Source/GSHTTPURLHandle.m:
* Source/NSConnection.m:
* Source/NSDistantObject.m:
* Source/NSURLHandle.m:
* Source/NSURLRequest.m:
Make -setDebug: consistently set/return an integer even if the
underlying meaning is boolean. Avoid compiler warnings when
calling the method on an id and signature is not known.
2016-03-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m:
* Source/NSTimeZone.m:
Use NSInteger conmsistently (don't mix with int).
2016-03-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Log if we break the lock.
* Source/NSDistributedLock.m: Unlock if dealloc'ed while locked.
2016-03-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Remove five year old code for converting
old style single defaults file to new style (one file per domain).
Add some thread safety locks for distriobuted locking in case some
thread issue is causing Riccardo's problem.
2016-03-11 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSPredicate.h:
Include NSString.h so that we the header knows about NSString
conforming to NSCopying.
2016-03-10 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSMime.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSDictionary.m:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSArray.m:
* Source/NSBundle.m:
* Source/NSFileManager.m:
* Source/NSJSONSerialization.m:
* Source/NSPointerArray.m:
* Source/NSPredicate.m:
* Source/NSPropertyList.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
* Source/NSSortDescriptor.m:
* Source/NSString.m:
* Source/NSTimeZone.m:
* Source/NSUserDefaults.m:
Deprecate -makeImmutableCopyOnFail: and replace with -makeImmutable.
The new method has the essential functionality of the old one,
but omits the confusing ownership semantics and is therefore less
likely to cause errors (and more amenable to use with ARC.)
2016-03-10 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/Foundation/NSLocale.h:
* Source/NSLocale.m (+localeWithLocaleIdentifier:):
Add trivial method introduced in OS X 10.6.
2016-03-09 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSPathUtilities.h
* Source/NSPathUtilities.m
Add some new path values.
2016-03-09 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSPredicate.h
* Source/NSPredicate.m
* Tests/base/NSPredicate/basic.m:
Implementation and tests for +predicateWithBlock: and
-evaluateWithObject:substitutionVariables:
2016-03-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m:
* Source/GSSocketStream.h:
* Source/NSTimeZone.m:
* Source/GSSocketStream.m:
* Source/NSCalendarDate.m:
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/GSRunLoopWatcher.m:
* Source/NSUserDefaults.m:
* Source/GSStream.m:
* Source/NSDebug.m:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
* Source/GSHTTPURLHandle.m:
* Source/NSPage.m:
* Source/GSRunLoopCtxt.h:
* Source/GSPrivate.h:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/objc-load.m:
* Source/NSException.m:
* Source/NSURL.m:
* Source/NSObject.m:
* Source/NSString.m:
* Source/cifframe.h:
* Source/Additions/NSData+GNUstepBase.m:
* Source/Additions/NSError+GNUstepBase.m:
* Source/Additions/NSTask+GNUstepBase.m:
* Source/NSConnection.m:
* Source/GSPortPrivate.h:
* Source/NSThread.m:
* Source/NSData.m:
* Source/NSHost.m:
* Source/GSNetwork.h:
* Source/NSPipe.m:
* Source/GSFileHandle.h:
* Source/NSLog.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
* Tests/base/NSTask/launch.m:
* Tests/base/NSURL/basic.m:
* Tests/base/NSURL/mystep.m:
* Tests/base/NSString/test02.m:
More changes to standardise on using _WIN32 define for windows.
2016-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendar.m: Fix 64bit issue with undefined components.
* Source/NSBundle.m:
* Source/NSFileManager.m:
* SSL/GSSSLHandle.m:
* Headers/GNUstepBase/GSConfig.h.in:
* macosx/GNUstepBase/preface.h:
Standardise on using _WIN32 and _WIN64 defines, following the
informal convention used by all the compilers we might be compiled with.
* Source/win32/GSFileHandle.m: Various network/file bugfixes.
2016-03-01 Richard Frith-Macdonald <rfm@gnu.org>
Modifications to last batch of changes in order to get the code to
build again on 32bit msys/mingw
2016-03-01 Seong Gu Lee <sgleehd@gmail.com>
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSTypeEncoding.h:
* Source/GSFileHandle.h:
* Source/win32/GSFileHandle.m:
Tweaks for WIN64 build
2016-02-29 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
* NSCalendar.m:
Don't require recent ICU just for the method
([-components:fromDate:toDate:options:]).
Leave the method as a no-op if older versions are used.
2016-02-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Based on testplant patch, fix bug with
ownership when copying subdirectories.
* Source/NSTask.m OSX compatibility tweak .. raise an exception if
the task can't be launched.
* Source/NSNumberFormatter.m: Fixes for symbol indexes.
2016-02-26 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h: Declare the FOUNDATION_EXPORT
macro as an alias for GS_EXPORT.
2016-02-24 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSArray.h:
* Source/NSArray.m:
Correct argument types in ([-objectAtIndexedSubscript:]) and
([setObject:atIndexedSubscript:]) to match OSX.
Apply patch by Patrick Laurent <plaurent@me.com> to fix bug setting
an object at the end of the array.
2016-02-22 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h: Add macros for backwards-
compatible generics annotations. Also define instancetype if necessary.
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSCache.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSEnumerator.h:
* Headers/Foundation/NSSet.h: Update interfaces for instancetype and
generics.
* Source/NSCache.m: Use NSMapTable instead of NSMutableDictionary.
The API contract for NSCache stipulates that keys are not copied, so
using a dictionary wasn't apropriate.
* Source/NSConnection.m:
* Source/NSData.m: Small type safety improvements (mostly to keep the
compiler happy).
* Source/NSDictionary.m: Change id to id<NSCopying> in a few places to
avoid compiler warnings.
* Tests/base/NSCache:
* Tests/base/NSCache/TestInfo:
* Tests/base/NSCache/basic.m:
* Tests/base/NSCache/cache.m:
Test cases eviction from NSCache. Turns out we currently only evict
NSDiscardableContent, while the API documentation seems to suggest
that cost and count based eviction without NSDiscardableContent is
also possible.
2016-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Fold using tabs between key=value tokens in structured headers
in the hope that it will improve compatibility with code which
doesn't cope well with a space as the folding character.
2016-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Use NSDebugLog for most debug warnings
* Source/NSUserDefaults.m: Restructure to cache flag information
from NSProcessInfo directly on initialization, so it can be used
when parsing property lists in the argument domain, avoiding any
recursion trying to parse arguments. Remove obsolete code for
for parsing -GS and --GS argument prefixes specially.
Make sure that argument parsiong behavior matches OSX apart from
The handling of a lone '-' used as key/value, and for this case
document the difference (since the GNUstep behavior is more useful
and changing it would have a real chance of breaking existing code).
2016-02-12 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h: Define macros for
non-null sections if available.
2016-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: In GSCurrentThread() the check for exiting
thread needs to NOT be wrapped in an exception handler, since the
exception handling code can attempt to get the current thread,
causing recursion.
2016-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m:
Remove dependency on NSUserDefaults in order to parse property list
in program arguments ... get boolean defaults settings from the
argument domain
2016-02-09 Larry Campbell <lcampbel@akamai.com>
* Source/NSUserDefaults.m: Fix for bug #46956
2016-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Use uint32_t rather than unsigned long ... we are
actually dealing with 4 byte values (from htonl), not native longs,
and this can result in buffer overrun when we try copying a 64bit
value into a 32bit buffer on a 64bit system.
2016-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Fix for decoding base64 with unknown characters
after a trailing '='
2016-01-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: keep key=value pairs in structured fields
on the same line if possible.
2016-01-29 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSThread.m: Automatic 'late' unregistration of thread objects:
When +exit is not called, we no longer log a warning and leak the
thread object.
Instead, we add it to a map table, keyed under the current thread ID,
and use that in GSCurrentThread() to find the correct NSThread object
if pthread_getspecific wont return it to us.
* Tests/base/NSThread/late_unregister.m: Test case for late
unregistration.
2016-01-21 Niels Grewe <niels.grewe@halbordnung.de>
* Source/Additions/GSMime.m: Fix folding of headers containing
a '_' character.
2016-01-21 Niels Grewe <niels.grewe@halbordnung.de>
* Tests/base/GSMime/general.m: Test case for quoted boundary
parameter failure.
2016-01-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix errors in conversion from a constant utf-8
string containing non-ascii characters to latin1 encoded data.
* Source/Additions/GSMime.m: Change line folding code to preserve
exact whitespace (using encoded words if necessary). Add support
for generating more readable 'q' encoded words rather than just
base64 encoded. Uses old behavior of folding with a tab character
if the GSMimeOldStyleFolding user default is set to YES, though
it's likely that this backward compatibility feature will be removed
in future.
2015-12-30 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/NSNumberFormatter.m: fixed a subtle off-by-one formatter
bug in conjunction with zero padding and NSNumberFormatterBehavior10_0.
* Tests/base/NSNumberFormatter/basic.m: added a test for this
particular issue
2015-12-29 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/NSUserNotification.m: "NSUserNotificationDefaultSoundName"
constant string was declared but missing, fixed
2015-12-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLElement.m: For OSX compatibility, raise an exception
it we attempt to insert an element which is already the child of
some other element.
2015-11-30: Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSCalendar.m:
* Headers/Foundation/NSCalendar.h:
Implement -components:fromDate:toDate:options:. (Not handling
NSWrapCalendarComponents yet.)
* Tests/base/NSCalendar/component-diff.m:
Test case for new functionality.
2015-11-22 Riccardo Mottola <rm@gnu.org>
* Source/NSFileManager.m (createDirectoryAtPath)
Should return success even if all path components do exist,
as by Apple spec.
2015-11-13 Riccardo Mottola <rm@gnu.org>
* Source/NSRange.m: (NSRangeFromString)
Parse length and location with scanInteger and not scanInt
(suggested by Fred Kiefer to fix 64bit)
2015-11-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLElement.m: (insertChild:atIndex:) if the child already
has a parent, detach from that before adding to the new parent.
OSX compatibility fix.
2015-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m: When libxml2 is not enabled, create a
stub class which will raise an exception on instantiation.
2015-10-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix for fastpath code for literal string
comparison which was ignoring the case insensititve option.
Problems spotted by Fred, triggered by a Testplant change.
2015-10-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: remove declaration of unused methods.
2015-10-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m: Fix retain/release error causing
crash on failure to launch gdomap.
2015-10-05 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/GNUstepBase/GNUstep.h: Define __has_extension() if the
compiler does not support it.
* Headers/Foundation/NSObjCRuntime.h: Provide definitions for
NS_ENUM and NS_OPTIONS.
2015-10-03 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSPropertyList.m (GSBinaryPLGenerator-storeCount:): Use
0x12 instead of 0x13 for integer count.
* Source/NSPropertyList.m (GSBinaryPLParser-readCountAt:): Handle
0x12 correctly. Use same code for 0x13 to read old incorrect
written data.
Based on change by Josh Freeman <pikopixel@twilightedge.com>
2015-09-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSXMLParser.m:
* Tests/base/NSXMLParser/ParseData/quoted-entities.result
* Tests/base/NSXMLParser/ParseData/quoted-entities.xml
Turn on substitution of entities to match OSX behavior, add tests.
2015-09-22 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSData.h:
* Source/Additions/GSObjCRuntime.m:
* Source/GSFFCallInvocation.m:
* Source/GSFormat.m:
* Source/GSValue.m:
* Source/NSArchiver.m:
* Source/NSData.m:
* Source/NSDecimalNumber.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSMethodSignature.m:
* Source/NSPortCoder.m:
* Source/NSUnarchiver.m:
* Source/cifframe.m:
Implement support for C99 _Bool type.
2015-09-22 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSBlocks.h
Do not enable weak on mingw, because it works only with ELF.
2015-09-18 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSError.h
* Source/NSError.m
Add some 10.6 URL errors
2015-09-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: fix check for pthread setname to work with older
versions of clang which object to autoconf checking for the
existence of a function by calling it without args.
2015-09-16 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m
Add simple (files only and no keys handling) implementation
of 10.6 method contentsOfDirectoryAtURL.
2015-09-08 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSPropertyList.m: Fix writing base64 data.
2015-09-04 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSString.m: Optimisation for formatting strings that are
stored as UTF-16 (use memcpy instead of looping over the characters).
* Tests/base/NSString/unichar_format.m: Test cases for formatting.
2015-09-01 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRegularExpression.m: Fix handling of empty capture groups.
2015-08-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: Fix potential deadlock with adding observers.
* Source/NSPropertyList.m: Fix a few mutability errors. Improve
parsing NSData performance. Add support for parsing base64 encoded
data in text property lists (delimited by <[ and ]>).
2015-08-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Improve descriptions for debug.
* Source/Additions/NSData+GNUstepBase.m: Add escaped representation.
* Source/GSHTTPURLHandle.m: Use escaped text format for debug log
(and plist armored format) to ensure that we safely log binary data
2015-08-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandle.m: include winsock2.h earlier for msys2
2015-08-17 Fred Kiefer <fredkiefer@gmx.de>
* Resources/Korean.lproj/Localizable.string: Correct encoding
* Resources/Languages/Korean: Add missing quotes.
Patch by Seong-Gu Lee <sgleehd@gmail.com>
2015-08-17 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSData+GNUstepBase.h: Simple gzip API
* Source/Additions/NSData+GNUstepBase.m: Use zlib to zip/unzip data
* Tests/base/NSData/additions.m: tests for NSData additions (gzip)
* Tests/base/NSData/Lorum: Data file for compress/uncompress tests
2015-08-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Use the compiler provided by gnustep-make unless
it's specifically overridden in the environment.
2015-08-07 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSPropertyList.m: Cope with certain malformed binary
property lists.
* Tests/PropertyLists/test01.m
* Tests/PropertyLists/cyclic.plist:
Test case for binary plists.
2015-08-05 Riccardo Mottola <rm@gnu.org>
* Source/NSArray.m:
Minor cast fixes.
2015-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m: Fix failure to unschedule from run loop if a
stream is opened more than once.
2015-07-24 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h: add GSI_MAP_TABLE_S
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
Pass variable holding run time size calculation as GSI_MAP_TABLE_S
2015-07-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
Get instance size at run time, so we can compile using nonfragile-abi
2015-07-16 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSSet.m
* Source/GSCountedSet.m:
Fix a few more names.
2015-07-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSMime.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSPrivate.h:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSArray.m:
* Source/NSData.m:
* Source/NSDictionary.m:
* Source/NSObject.m:
* Source/NSSet.m:
* Source/NSString.m:
Rewriting naive implementations to improve efficiency and fix a few
bugs as well as renaming to avoid conflict with old GSCache.
2015-07-16 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/GNUstepBase/NSHashTable+GNUstepBase.h
* Source/Additions/GNUmakefile
* Source/Additions/NSHashTable+GNUstepBase.m
* Source/GNUmakefile
* Tests/base/NSHashTable/additions.m:
Implement -addObjectsFromArray: on NSHashTable.
2015-07-15 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSMime.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSPrivate.h:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSArray.m:
* Source/NSData.m:
* Source/NSDictionary.m:
* Source/NSObject.m:
* Source/NSSet.m:
* Source/NSString.m:
Extension API to interrogate object memory usage (stolen from
GSCache and modified a bit).
2015-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Write xml document headers referring to
the current location of Apple's property list dtd for compatibility
with software expecting to validate using that dtd.
Stefan Bidigaray pointed out that the heading we currently write is
very out of date.
* Source/NSThread.m: On premature thread exist, log native thread ID.
* Source/NSLog.m: Optimisations to make logging a little quicker.
2015-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m: List memory allocation statistics in alphabetical
order (by class name) for easier interpretation.
Fix bug where the counter for differences was updated when difference
listing was not requested.
2015-07-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSLock.h:
* Source/NSLock.m:
Add extension method -isLockedByCurrentThread for debug purposes.
Also make description report the OS thread id of the thread which
holds the lock (if any).
2015-07-08 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSConfig.h.in
On NetBSD, undefine the system __weak first.
2015-07-03 Niels Grewe <niels.grewe@halbordnung.de>
* Tests/base/NSXMLParser/ParseData/namespaced-attributes.xml:
* Tests/base/NSXMLParser/ParseData/namespaced-attributes.result:
Test case for attribute namespace prefixes.
2015-07-03 Niels Grewe <niels.grewe@halbordnung.de>
* Source/Additions/GSXML.m: Fix reporting namespace prefixes
of attributes when using the SAX2 parser.
2015-06-30 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
* Headers/GNUstepBase/config.h.in:
Add test for pthread_mutex_t.__data.__owner
Update various tests to silence autoconf warnings.
* Source/NSLock.m: If available, use pthread_mutex_t.__data.__owner
to print the owning thread ID in the -description method.
2015-06-26 Riccardo Mottola <rm@gnu.org>
* Source/NSMethodSignature.m
* Source/cifframe.m
Minor include fixes to avoid malloc.h warnings on OpenBSD.
* Source/NSScanner.m
Remove set but unused variable.
2015-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/Additions.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSVersionMacros.h:
Minor tweaks to build and avoid warnings in Yosemite
2015-06-14 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSData.h
* Source/NSData.m
base64EncodedDataWithOptions, base64EncodedStringWithOptions:
first implementation
2015-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: be strict about '=' padding only occurring at end
of base64 encoded data.
2015-06-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Use NSUInteger rather than unsigned, use memory
management macros.
* Source/NSConnection.m: Changes to avoid compiler warnings.
* Headers/Foundation/NSData.h:
* Source/NSData.m: add base64 initialisation methods (bug #45240)
2015-06-01 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSArray.h
* Source/NSArray.m
Add firstObject: method existing since 10.6
2015-05-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLConnection.m: Fix leak of limit date
* Source/NSXMLParser.m: Fix leak of string
2015-05-26: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/Additions/Unicode.m
* Tools/AGSOutput.m
return NULL or nil instead of NO where pointers are to
be returned
2015-05-26 Richard Frith-Macdonald <rfm@gnu.org>
* GSString.m: Fix sign extension bug
* Source/NSXMLParser.m: Update to more exactly match OSX behavior
* Source/NSDateFormatter.m: attempt to fix functionality broken
by additional call to set date format during reset.
2015-05-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Use libxml2 if available.
2015-05-24 Richard Frith-Macdonald <rfm@gnu.org>
* GSString.m:
* NSDebug.m:
* NSZone.m:
Minor optimisations and tidyups
2015-05-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix failure to check free when done flag before
freeing memory.
2015-05-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
* Source/GSString.m:
Some optimisation. Fix -hasPrefix: and -hasSuffix: to use literal
search as on OSX.
2015-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/install.texi:
* ANNOUNCE:
* INSTALL:
* NEWS:
Final updates for 1.24.8 release
2015-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Tidy compiler and preprocessor detection and use
warning for potentially broken compiler selection.
* configure: regenerate
2015-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Version:
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
Update in preparation for release
* Source/Makefile.postamble:
* Makefile.postamble:
* GNUmakefile:
Apply Yavor Doganov's patch to avoid re-run of configure when we do
multiple 'make distclean' invocations (bug #29730).
2015-05-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZones/NSTimeZones.tar: updated
2015-05-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
Fix for 64bit systems using TinyString objects ... missing
implementations for common methods were making performance dire.
2015-05-02 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSSet.m
* Source/NSCountedSet.m
* Source/NSSet.m:
Implement a private method -_countForObject: that enables to correctly
check equality of NSSet and NSCountedSet (behaviour verified to match
OS X). Fixes bug #43915.
* Tests/base/NSCountedSet/equality.m: Test cases for equality behaviour.
2015-04-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Improve caching of common absolute timezones.
2015-04-28 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSDateFormatter.m: Properly reinstall the user provided
date format when we need to recreate the icu-based date formatter.
2015-04-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: If an exception occurs while performing a
selector in another thread, catch it and cleanup (and if the
caller is waiting, pass the exception back to it).
2015-04-01 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: Fix comment syntax and use standard operator in
test command.
* configure: Regenerated.
2015-03-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: Internal function to get OS thread ID
* Source/NSThread.m: Report thread name and ID in description
* Source/NSLog.m: Use new function for thread ID
* configure.ac: Detect getaddrinfo and bsd thread id extensions
* Headers/GNUstepBase/config.h.in: regenerate
* configure: regenerate
* Source/NSHost.m: Start of code to use getaddrinfo
2015-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m: Fix a bug leading to crashes on thread
exit in cases where deallocation of something in the thread dictionary
causes further use of the thread's autorelease pool (which has already
been deallocated).
2015-03-10 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTimSort.m: Fix a DoS vulnerability discovered in the
Timsort algorithm. For information about the problem please refer to
http://www.envisage-project.eu/proving-android-java-and-python-sorting
-algorithm-is-broken-and-how-to-fix-it/
2015-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileHandle.m: ([-sslHandshakeEstablished:outgoing:])
If we can't create a session, the handshake should fail rather
than being retried. Fix infinite loop establish session on closed
handle.
2015-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSDebug+GNUstepBase.h:
Define DLog() and ALog() as suggested by Amr Aboelela
2015-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for gettid availability
* configure: Regenerate
* Headers/GNUstepBase/config.h.in: Regenerate
* Source/GSPrivate.h: Update comment on GSLogThread
* Documentation/Base.gsdoc: Update doc of GSLogThread
* Source/NSLog.m: Change to log thread ID (to match OSX which now
logs the thread ID along with the process ID). Change the meaning
of the GSLogThread user default (which used to turn on logging of
the thread ID) so that it now turns on logging of the thread name
(where a thread name has been set) and the NSThread address if no
name has been set.
2015-02-16 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSData.m (writeToFile:options:error:): Fix leak of open
file descriptor on systems where mkstemp is defined.
2015-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* config/objc-sys-dynamic.m4: Check for windows before anything else
* configure: regenerate
Apparently recent mingw implements headers which folled configure
into using dlopen() with doesn't support native windows paths ...
change order of checks so we still use the native API.
2015-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Be more agressive about releasing thread
resources when a thread exists (in particular release the
thread's runloop repeatedly for bug #44240) in case of the
deallocation of objects causing re-population of thread data.
2015-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Simplify mingw/unixy ifdefs for writing a file.
* Source/NSThread.m: Simplify mingw/unixy ifdefs for sleeping.
2015-02-05 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTLS.m: Use path standardization when setting up TLS data
to be mapped to a specific filesystem location.
2015-01-13 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/Foundation/Foundation.h: added NSUUID.h
2014-12-28 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac:
* Source/NSThread.m (PTHREAD_SETNAME):
Fix detection of the proper pthread_setname_np and
pthread_set_name_np variants on FreeBSD, OpenBSD and Darwin.
* configure: Regenerated.
2014-12-28 Wolfgang Lux <wolfgang.lux@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 <rfm@gnu.org>
* Source/NSTimeZone.m:
* Source/nstzfile.h:
Remove unused include of (possibly) non existent file.
2014-12-23 Riccardo Mottola <rm@gnu.org>
* Source/GSSocketStream.m
Fix code-path for non AF_INET6
* Source/NSDate.m
Provide NAN constant for Solaris if not available.
2014-11-29 Sergei Golovin <Golovin.SV@gmail.com>
* Tests/base/NSURLConnection: Test helper tool plus a load of
tests for NSURLConnection.
2014-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: Fixup error in scanning doubles with excess
precision (bug #43722).
2014-11-28 johannes@brilliantservice.co.jp
* Source/NSThread.m: Set thread name visible to OS
* configure.ac: test for pthread_set_name_np()
Integrated Johannes patch with some changes to make things work if
we set the name before starting the thread. Commend out ms-windows
code which doesn't work yet.
2014-11-20 Sergei Golovin <Golovin.SV@gmail.com>
* Source/GSSocketStream.m:
* Tests/base/NSURL/Helpers/capture.m:
* Tests/base/NSURL/testKey.pem:
* Tests/base/NSURL/test02.m:
* Tests/base/NSURL/testCert.pem:
Implement TLS on server socket and make use of it in HTTPS URL helper
code. Also, permit NSStream zero length write (it seems OSX allows
it).
2014-11-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Avoind some unnecessary retain/release cycles.
2014-11-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: If a user default value is removed while running,
revert to the value from the environment or the hard coded fallback
rather than continuing to use the previous value from the defaults
system.
2014-11-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: When handling perform in another thread, check
more carefully for inter-thread communications (pipe on unix, event
on windows) and make sure we invalidate performers safely outside
the lock protected region when I/O is complete.
2014-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Fix leak of handle when starting a new
connection after an older one is dropped by the remote end.
2014-10-30 Sergei Golovin <Golovin.SV@gmail.com>
* Source/NSURLProtocol.m: Fix memory leak and possible hang on retry
(bug #43461).
2014-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
* Version: Bump subminor version for bugfix release
* NSTimeZones/NSTimeZones.tar: update
* Source/NSProcessInfo.m: Use separate lock for globally unique
string rather than sharing lock intended for other purposes.
* Source/GSTLS.m: Change default TLS 'priority' to disable SSLv3.0
as it renders things open to the 'POODLE' attack.
Also, print warning if it is expressly requested from the code
(though the use of the GSTLSPriority user default will still
allow complete control without warnings).
2014-10-11 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/GNUstepBase/GSVersionMacros.h: UNAVAILABLE_ATTRIBUTE added
2014-08-19 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac:
* Headers/GNUstepBase/config.h.in: Add test for grantpt function.
* configure: Regenerated.
2014-07-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Tools/gdomap.c: Unless running on windows, allow new -j
command-line argument to specify the path in which the process should
be jailed (chroot). The default remains to jail the process in /tmp
since there doesn't seem to be a general, portable alternative.
2014-07-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Fix handling TLS handshake in the case
where there is a network failure during the handshake (bug#42781).
* Source/GSTLS.m: Fix erroneous attempt to load revocation lists.
* Tests/base/NSURLConnection/test01.m: https test contributed by
Sergei Golovin.
2014-07-25 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Remove compiler charset options
* config.mak.in: Remove compiler charset options
* configure: regenerate:
Yavor pointed out that the gcc manual is wrong and gcc (all the
versions we support anyway) always uses utf-8 (as does clang),
so we can get rid of stuff intended to try to force it to use utf8
2014-07-13 Yavor Doganov <yavor@gnu.org>
Add large file support (LFS) for NSData.
* configure.ac: Call AC_FUNC_FSEEKO/AC_SYS_LARGEFILE.
* Source/NSData.m (readContentsOfFile): Use fseeko/ftello and
off_t as appropriate.
(-initWithContentsOfFile:): Define fileLength of type off_t.
* Source/GSFileHandle.m:
* Source/win32/GSFileHandle.m:
* Source/NSFileManager.m: Remove _FILE_OFFSET_BITS define (now
defined globally in config.h).
2014-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: ([-runMode:beforeDate:]) check performers as
well as notifications etc ... should fix bug #39107
2014-02-17 Larry Campbell <lcampbel@akamai.com>
* Source/NSJSONSerialization.m:
* Tests/base/NSJSONSerialization/tests00.m:
Fixes for bug #41628
2014-07-12 Yavor Doganov <yavor@gnu.org>
* Tests/GNUmakefile:
* Tests/base/Functions/NSGeometry1.m:
* Tests/base/NSRunLoop/performers.m:
Tweaks for running in sandbox (bug #42740)
2014-07-07 Yunqiang Su <wzssyqa@gmail.com> (tiny change)
* config/config.trampoline.c:
* Source/NSObject.m (GSAtomicIncrement, GSAtomicDecrement):
Use __mips64 to distinguish MIPS64.
2014-06-30 Yavor Doganov <yavor@gnu.org>
* Tools/GNUmakefile (CONFIG_SYSTEM_LIBS):
* Tools/make_strings/GNUmakefile (CONFIG_SYSTEM_LIBS): Define
to the empty string to avoid linking the tools against
external libraries.
2014-06-30 Yavor Doganov <yavor@gnu.org>
* base.make.in: make base dependencies explicit only when statically
linnking (bug #42423)
2014-06-30 Yavor Doganov <yavor@gnu.org>
* GNUmakefile: Use -include for deb.make (for backward compatibility
with old versions of gnustep-make).
* Documentation/GNUmakefile:
* Documentation/General/GNUmakefile:
* Source/DocMakefile:
* Tools/DocMakefile:
Flags alterations to build documentation before base/autogsdoc is
installed.
* configure.ac: Test whether gnutls needs libgcrypt
* Source/GSTLS.h: Use test
* Source/GSTLS.m: Use test
* configure: regenerate
2014-06-26 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSTypeEncoding.h
* Headers/GNUstepBase/GSVersionMacros.h
Substitute #import with #include so that the header can be used in
a pure C file without gcc warnings.
2014-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m:
* Source/NSMessagePortNameServer.m:
Maps of ports to names modified to treat the ports as non owned
pointers rather than non retained objects ... so we simply do
pointer comparisons (faster and also safer if we are removing
a port which is being deallocated).
2014-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Temporarily add -O0 to turn off optimisation while
checking for the need for shorts to be word-aligned ... should fix
the case where the optimiser breaks the test by 'correcting' the
misaligned access.
* configure: regenerate
2014-06-19 Riccardo Mottola <rm@gnu.org>
* Source/common.h
Include and do not import pure-C header, guard against re-inclusion
2014-06-18 Riccardo Mottola <rm@gnu.org>
* Source/unix/NSStream.m
Add missing includes (in correct order) for open() on most OS,
including Solaris.
2014-06-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Fix buffer overrun.
* Source/GSString.m: Fix uninitialised variable.
Cure for bug #42483
2014-05-28 Manuel Guesdon <mguesdon@orange-concept.com>
* Source/NSUndoManager.m
Assert sig is not null in registerUndoWithTarget:selector:object:
2014-05-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInvocation.h:
* Source/NSInvocation.m:
* Headers/Foundation/NSInvocation.h:
* Tests/base/NSInvocation/test02.m:
Reinstate lost code for NS_MESSAGE and NS_INVOCATION macros
2014-05-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
When creating the 'Host' header, omit the port part if the scheme is
http/https and the port is the normal 80/443. A workaround for buggy
software which doesn't understand the spec saying that the port is
'optional', not 'omitted' in these cases.
2014-05-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m:
* Headers/Foundation/NSDebug.h:
Add GSDebugAllocationRecordObjects()
and deprecate GSDebugAllocationActiveRecordingObjects()
so we can turn individual object tracking on and off.
Move documentation from source to header.
2014-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.m: Fix ifdefs for MINGW to avoid fork relatred code.
2014-05-05 Ivan Vucica <ivan@vucica.net>
* GNUmakefile: gnustep-make's Master/deb.make now included.
* Tests/GNUmakefile: gnustep-tests --clean is now permitted to
fail. This helps in case 'make {dist,}clean' is called by some
automation.
2014-05-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Set initial state of accepted incoming
connection streams to be open (otherwise we can't close them).
2014-04-26 Manuel Guesdon <mguesdon@orange-concept.com>
* Source/NSKeyValueCoding.m
Fix exception msg in setValue:forUndefinedKey:
2014-04-18 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSHost.h:
* Source/NSHost.m:
Add OSX 10.6 -localizedName method.
2014-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRegularExpression.m: Check for bad range from ICU and
flag an internal error if we see it; mimic OSX behavior when a
range limited match fails.
2014-04-11 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSXMLNodeOptions.h: Add new 10.7 options.
* Source/NSXMLDocument.m: Use XML_PARSE_NONET as the default
option for xmlReadMemory. Add XML_PARSE_NOENT when
NSXMLNodeLoadExternalEntitiesNever is set.
2014-03-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: If parsing something which contains data
which can't be utf-8, generate a parse error.
2014-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: handle invalidation of connection while
getting root proxy.
2014-03-26 Riccardo Mottola <rm@gnu.org>
* Source/NSProcessInfo.m (determineOperatingSystem):
uname() on solaris may return a positive value on success, not just 0
2014-03-25 Fred Kiefer <fredkiefer@gmx.de>
* Tools/NSOperation.m: ([_finish]) fix logic of 'executing' flag.
2014-03-19 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Don't open syslog connection until after we have
forked and closed old descriptors .. fix for bug #41751
* Headers/Foundation/NSData.h:
* Source/NSData.m:
* Source/NSString.m:
Fix for bug #41626
* Source/Additions/GSObjCRuntime.m: patch by Mathias Bauer
for bool encoding/decoding.
2014-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
When generating document with a header containing adjacent non-ascii
words which need to be encoded, omit the space between those words
for consistency with the change on Fe 3rd.
2014-02-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDateFormatter.m
(-initWithDateFormat:allowNaturalLanguage:):
Use method -setDateFormat: to get correct behaviour.
* Source/NSDateFormatter.m (-setDateFormat:):
Use ASSIGNCOPY for _dateFormat.
2014-02-14 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSNotification.h
* Source/NSNotificationCenter.m
(-addObserverForName:selector:queue:usingBlock:):
Added new Mac OS X 10.6 method.
2014-02-14 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSSortDescriptor.h
* Source/Foundation/NSSortDescriptor.m
(+sortDescriptorWithKey:ascending:selector:,
+sortDescriptorWithKey:ascending,
-[NSSet sortedArrayUsingDescriptors:]): Added missing Mac OS X 10.6
methods.
2014-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: Fix to cope with cases where a format specifies
a field width larger than can reasonably fit on the strack ... use
the heap.
2014-02-13 Larry Campbell <lcampbel@akamai.com>
* Source/NSCalendarDate.m: Fixup millisecond formatting to match OSX
2014-02-12 Quentin Mathe <quentin.mathe@gmail.com>
* Tools/gsdoc-1_0_4.dtd: Added new DTD version that declares 'package'
visibility as a valid ivar qualifier.
* Tools/AGSParser.m: Added 'package' visibility parsing.
* Tools/AGSOutput.m:
* Tools/autogsdoc.m:
* Tools/GNUmakefile.m:
Updated to refer to the latest DTD version.
2014-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix standardising a path to use unix separators
consistently with appending a pathc component ... paths should be
(as far as possible) portable, and the filesystem representation
methods convert to backslashes as necessary on windows anyway.
2014-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
* Headers/GNUstepBase/GSMime.h:
Add support for stripping white space between encoded words (RFC2047)
2014-02-02 Yavor Doganov <yavor@gnu.org>
* configure.ac: Force use for fake main on kfreebsd to work around bug
handling large number of arguments.
* Documentation/coding-standards.texi:
* Documentation/manual/manual.texi:
* Tools/cvtenc.1:
* Tools/pldes.1:
* Tools/defaults.1:
* Tools/autogsdoc.1:
* Tools/gdomap.8:
Minor cosmetic tweaks
2014-02-02 Riccardo Mottola <rm@gnu.org>
* Source/NSString.m (stringByResolvingSymlinksInPath)
On GLIBC and FreeBSD use sysconf(_SC_SYMLOOP_MAX) instead of just
MAXSYMLINKS. For HURD this is necessary, since the latter is not
defined.
2014-01-31 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/NSUserNotification.m:
Implemented repetitions, moved "presented" flagging to the appropriate
method (subclassers may have different opinions about presentation,
i.e. gnustep-gui might want to prevent presentation if application
is already frontmost [the OSX behavior]). Improved -description
(similar to OSX's output, eases cross-platform debugging).
* Headers/Foundation/Foundation.h:
added NSUserNotification.h
2014-01-30 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/Foundation/NSUserNotification.h:
* Source/NSUserNotification.m:
Added default implementation which provides infrastructure but no real
transport mechanisms. An implementation utilizing DBus
(Desktop Notifications Specification) is provided via DBusKit.
2014-01-26 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSKeyValueObserving.h,
* Source/NSKeyValueObserving.m: Add method
-keyPathsForValuesAffectingValueForKey:.
2014-01-25 Frederik <ego@frederikseiffert.de>
* Source/NSKeyValueObserving.m: When using
(NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew)
as option for observeValueForKeyPath:ofObject:change:context:,
we should use -valueForKeyPath: instead of -valueForKey: to retrieve
the current (initial) value.
2014-01-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFCallInvocation.m:
* Source/GSFFIInvocation.m:
* Source/Additions/GSTypeEncoding.c:
* Headers/GNUstepBase/GSIArray.h:
* Headers/GNUstepBase/GSTypeEncoding.h:
* Headers/GNUstepBase/GSIMap.h:
Fixup to use GS_STATIC_INLINE consistently.
* Tools/autogsdoc.m:
Set up default work map for public macros whose use in headers
would otherwise confuse documentation generation.
2014-01-21 Pirmin Braun <pb@intars.de>
* Source/NSDecimal.m: Fix for rounding precision.
2014-01-20 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSSet.m: Added missing ([-valueForKey:]) method.
2014-01-20 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSKeyValueMutableArray.m:
* Source/NSKeyValueMutableSet.m:
Don't post KVO notifications if +automaticallyNotifiesObserversForKey:
returns NO, this ensures we match Cocoa behavior.
2014-01-18 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSObject.m (-respondsToSelector,
+instancesRespondToSelector:): Fixed to check +resolveInstanceMethod:
and +resolveClassMethod: as documented in Cocoa NSObject API.
2014-01-16 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSScanner.m: Implement -scanInteger: by conditionally
calling -scanInt: or -scanLongLong: based on the pointer size
detected at configure time.
2014-01-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m:
Path info lifetime fixups to avoid crashes of the kind reported
by Mathias Bauer <mathias_bauer@gmx.net>
2014-01-14 Lubos Dolezel <lubos@dolezel.info>
* Source/NSBundle.m:
* Headers/Foundation/NSBundle.h: add -resourceURL
2014-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m:
* Documentation/Base.gsdoc:
Add GNUSTEP_DEVELOPER_DIR to allow definition of the native path
to the msys/mingw development tools on windows.
Also improve/fix lookup heuristics.
2014-01-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Revert last change to get -isAbsolutePath working
on mingw again ... need to analyse startup problem.
2014-01-13 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/NSString.m: absolute paths on __MINGW__ can also start
with "/" if GSPathHandlingRight() is YES, otherwise GNUstep config
paths can't be used during startup.
2014-01-11 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/GSMDNSNetServices.m: minor fixes - does now properly compile
on Windows, too.
NOTE:
If you want to link against Apple's Bonjour SDK on Windows, you have
to convert the dnssd.lib from MSVC/__stdcall format to GCC/__cdecl
and provide the result as libdns_sd.a. Also, DNSSD_API in dns_sd.h
needs to be defined empty.
2014-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: The NSDeveloperDirectory key is deprecated
on OSX, but lets use it for the development system root.
On windows systems this should be the native windows path at which
the msys system is installed, found relative to the current process
if possible, but otherwise with the GNUstep packages installed,
found relative to the package installation directory.
In other cases (no specific development environment found) the
system root directory is returned.
2014-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
On mingw a file is executable if its extension is in the list
provided by the PATHEXT environment variable.
* Source/NSTask.m:
Simplification/clarification suggested by Riccardo
2014-01-08 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSValueTransformer (+valueTransformerForName:): Fixed to
automatically register any available NSValueTransformer subclass that
matches the given name and is not yet registered. This behavior is
described in the Cocoa API documentation.
2014-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUUID.m:
* Source/Additions/NSData+GNUstepBase.m:
* Headers/GNUstepBase/NSData+GNUstepBase.h:
Move random data generation out to the NSData(GNUstepBase) category.
2014-01-07 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSJSONSerialization.m (writeObject()): Fixed double number
serialization to encode 17 significant digits (this matches the max
number of significant digits in the double-precision floating point
format). This prevents a loss of precision, in case the number has
more than 3 digits after the decimal point.
* Tests/base/NSJSONSerialization/json.m: Updated to test double number
serialization.
2014-01-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: Make sure current queue is set for threads
owned by a queue (and return the main queue for the main thread).
Avoid needing to create the main queue in the main thread.
2014-01-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fixed logic error in David's libobjc2 integration
for deallocation; should use object_getClass() if the object is NOT a
small object, use isa otherwise.
2013-12-31 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/Foundation/NSMetadata.h: use GS_PROTOCOLS_HAVE_OPTIONAL for
NSMetadataQueryDelegate. Always define the protocol, even if it's empty
(so we don't have to adjust any headers), but fallback to the informal
protocol if OS version < 10.6 OR compiler doesn't support @optional
keyword in protocols.
2013-12-30 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/GNUstepBase/GSVersionMacros.h: added macros
GS_GCC_MINREQ(maj,min) and GS_CLANG_MINREQ(maj,min) to check for
minimum required versions of GCC and CLANG compilers. Changed several
occurrences of previous macros to improve readability.
Added GS_PROTOCOLS_HAVE_OPTIONAL to correctly mark all appropriate
declarations.
* Headers/Foundation/NSNetServices.h,
* Headers/Foundation/NSStream.h,
* Headers/Foundation/NSXMLParser.h,
* Headers/GNUstepBase/NSNetServices+GNUstepBase.h,
* Source/GSNetServices.h:
use GS_PROTOCOLS_HAVE_OPTIONAL macro where appropriate
2013-12-26 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/Foundation/NSNetServices.h:
* Source/GSAvahiNetService.m:
added NSNetServiceListenForConnections option (introduced in
OSX 10.9) and accompanying delegate method, currently implemented in
GSAvahiNetService.m only.
* Headers/Foundation/NSStream.h: fixed typo (_clang_ -> __clang__)
2013-12-24 Richard Frith-Macdonald <rfm@gnu.org>
* Version: make ready for 1.24.6 release
* Documentation/news.texi: 1.24.6 news
* Documentation/ReleaseNotes.gsdoc: 1.24.6 release notes
2013-12-20 Graham Lee <graham@iamleeg.com>
* Headers/Foundation/NSUUID.h:
* Source/NSUUID.m: implemented for unix
* Tests/base/NSUUID: testcases
2013-12-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: initialise defaults system at end of NSObject
initialisation, in the hope of preventing deadlocks if the +initialize
methods of other classes in different threads try to use defaults.
May fix#39125
2013-12-20 Marcus Müller <znek@mulle-kybernetik.com>
* Headers/Foundation/NSStream.h: OSX compatibilityy ... use formal
protocol if possible (bug #40925).
* Headers/GNUstepBase/GSVersionMacros.h: OSX 10.9 define added.
* Headers/Foundation/NSRunLoop.h:
* Source/NSRunLoop.m: Implement ([+mainRunLoop])
2013-12-13 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSArray.h,
* Source/NSArray.m: Move -setValue:forKey: from NSMutableArray to
NSArray.
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com>.
2013-12-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Additions/Unicode.m (GSPrivateDefaultCStringEncoding):
Use correct feature test for presence of ucnv functions.
2013-12-05 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSDictionary.h:
* Source/NSDictionary.m:
* Source/Additions/GCDictionary.m:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/GSDictionary.m:
Changed keys argument type to (const id <NSCopying>[]) in
-initWithObjects:forKeys:count: and
+dictionaryWithObjects:forKeys:count:,
to follow the current Cocoa API.
2013-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLCredential.m: ([-isEqual:]) needs to take the password
and persistence into account, not just the username.
2013-11-29 Riccardo Mottola <rm@gnu.org>
* Headers/ObjectiveC2/objc/runtime.h
* Headers/Foundation/NSObjCRuntime.h
Insert some kludge for PTR stuff on systems with fake C99
compatible headers.
2013-11-26 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSConfig.h.in
* configure.ac
Detect broken PTR limits (notably solaris 8) and provide replacements
* configure
regenerated
2013-11-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUstepBase/GSConfig.h.in: temporarily redefine BOOL while
including windows headers, so we don't get conflict between windows
and objc booleans.
* base.make.in:
Add to CONFIG_SYSTEM_LIBS, CONFIG_SYSTEM_LIB_DIR, CONFIG_SYSTEM_INCL
So that the libraries/headers used to build base are available for
software using base.
2013-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m:
Set errno to EAGAIN if TLS layer fails in a non-fatal way during
read/write.
Add more/better debug logging.
2013-11-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Fix for bug 40620
Prevent recursion while parsing process arguments.
2013-11-19 Saso Kiselkov <skiselkov>
Releasing a GSTLSHandle (created from +[NSFileHandle sslClass]) after
the TLS handshake will result in a segfault. Fix it.
2013-11-18 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/GNUstepBase/NSCalendarDate+GNUstepBase.m:
* Source/Additions/NSCalendarDate+GNUstepBase.m:
Add -isoYear method for compatibility with -weekOfYear
2013-11-07 Riccardo Mottola <rm@gnu.org>
* Source/GSFormat.m
* Source/NSException.m
* Source/NSConnection.m
Openbsd malloc.h warning fix.
2013-11-05 German Arias <germanandre@gmx.es>
* Source/NSUndoManager.m (-undoActionName): Try first with the name
of current group. If not, with the name of last object in undo stack.
2013-11-03 German Arias <germanandre@gmx.es>
* Source/NSUndoManager.m (-redoMenuTitleForUndoActionName:):
* Source/NSUndoManager.m (-undoMenuTitleForUndoActionName:):
Return "Redo" and "Undo", respectively, if actionName is null.
If not, it removes the item title.
2013-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAttributedString.m: Use exact equality test when removing
attribute dictionary from cache. Prevents possibly removing the
wrong dictionary in cases where dictionary contents are mutated
while in the cache, such that two dictionaries become equal.
2013-10-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSDictionary.m: Add private class GSCachedDictionary which
will raise an exception if deallocated without being uncached.
* Source/GSAttributedString.m: Use GSCachedDictionary for attributes
to aid in detection of things improperly releasing them.
2013-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAttributedString.m:
Simplify dictionary caching code and add check to ensure we don't
uncache a dictionary which isn't cached.
2012-10-29 Riccardo Mottola <rm@gnu.org>
* configure.ac:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSTypeEncoding.h:
* Headers/GNUstepBase/GNUstep.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSObjCRuntime.h:
* configure: regenerate
Use inttypes.h rather than stdint.h as it's more inclusive and works
on Solaris where some defines are in the wrong place.
2013-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Implement -hash as the hash of the time zone
name so that we can find equal timezones in a set/dictionary as we
should, rather than onlyn finding identical time zones.
2013-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Add code to ignore NS_FORMAT_ARGUMENT and
NS_FORMAT_FUNCTION macros inside variable declarations.
2013-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: Fix retention of singletons and add exception
if an attempt is made to release too many times.
* Tools/make_strings/make_strings.m: fix minor coding standard errrors.
* Tests/base/NSFileHandle/basic.m:
* Tests/base/NSFileHandle/singleton.m:
Correct faulty tests.
* Source/NSPredicate.m: ([_evaluateLeftValue:rightValue:object:])
Add missing check for NSNotEqualToPredicateOperatorType spotted by Fred
2013-10-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: ([_evaluateLeftValue:rightValue:object:])
should return either YES or NO in all cases.
2013-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/make_strings/StringsFile.m:
Fix bogus space after semicolon.
2013-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/GSTLS.m:
Attempt to better handle TLS handshake failure.
2013-10-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
Close socket immediately on SSL handlshake failure, rather than
waiting for cleanup on dealloc.
2013-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: Fix faulty casts of immutable array to mutable.
2013-10-17 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSException.m:
* Headers/Foundation/NSThread.h: Add trivial implementation of
+[NSThread callStackSymbols] that uses GSStackTrace.
2013-10-15 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSDate.h,
* Source/NSDate.m:
Add 10.6 class method dateWithTimeInterval:sinceDate:
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com>
2013-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Fix bug with byte swapping ... use NSByteOrder.h
2013-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.align.c: Try to more reliably detect whether word
alignment is needed.
* Source/NSUserDefaults.m: Fix failure to send notification when
defaults are updated.
2013-09-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
* Headers/Foundation/NSFileHandle.h:
Add mechanism to set the contents of TLS certificate and key files
in memory rather than reading from disk. Expose TLS property keys
in the NSFileHandle header to allow more control over certificates.
2013-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for another unicode header
* Headers/GNUstepBase/config.h.in: regenerate
* configure: regenerate
* Source/Additions/Unicode.m: If ICU is available, use it to obtain
default C-string encoding.
2013-09-09 Pirmin Braun <pb@intars.de>
* Source/Additions/GSMime.m: When creating a child parser, pass on
the flag to say we are parsing HTTP rather than MIME.
2013-09-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Add comments and a further fallback
mechanism for parsing HTTP when the default encoding is set.
* Source/NSUnarchiver.m: Fix integer size values to use constants
from stdint.h
2013-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Update cache when we synchronise a new
domain to disk (was only updating on changes to existing domains).
Should fix bug #39300
2013-08-30 Fred Kiefer <FredKiefer@gmx.de>
* Headers/GNUstepBase/GSVersionMacros.h: Fix usage of __APPLE__ macro.
Patch by Graham Lee <iamleeg@gmail.com>
2013-08-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: GSScanDouble() permit overlong mantissa (more
digits than can be represented in a double) and ignore excess digits
for compatibility with OSX. Inspired by testplant branch r37004
which tries to allow more digits at the cost of breaking parsing
in locales where the decimal point is a comma rather than a dot.
2013-08-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexPath.m:
* Source/NSMapTable.m:
* Source/NSSocketPortNameServer.m:
* Source/GSLocale.m:
* Source/NSNetServices.m:
* Source/NSTimeZone.m:
* Source/NSHashTable.m:
* Source/GSSocketStream.m:
* Source/NSValueTransformer.m:
* Source/NSBundle.m:
* Source/NSURLHandle.m:
* Source/NSPropertyList.m:
* Source/NSAffineTransform.m:
* Source/NSPathUtilities.m:
* Source/NSScanner.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSProcessInfo.m:
* Source/NSNotificationQueue.m:
* Source/NSSocketPort.m:
* Source/NSAttributedString.m:
* Source/NSRunLoop.m:
* Source/NSOperation.m:
* Source/NSObject+NSComparisonMethods.m:
* Source/NSFormatter.m:
* Source/NSUserDefaults.m:
* Source/NSArray.m:
* Source/NSMessagePortNameServer.m:
* Source/GSStream.m:
* Source/NSKeyedArchiver.m:
* Source/NSDebug.m:
* Source/NSXMLPrivate.h:
* Source/NSKeyedUnarchiver.m:
* Source/NSPortMessage.m:
* Source/NSFileHandle.m:
* Source/NSDistributedLock.m:
* Source/GSTLS.m:
* Source/NSPredicate.m:
* Source/NSKeyValueObserving.m:
* Source/NSAssertionHandler.m:
* Source/GSHTTPURLHandle.m:
* Source/GSDispatch.h:
* Source/NSPort.m:
* Source/NSSortDescriptor.m:
* Source/NSMessagePort.m:
* Source/win32/NSMessagePort.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/common.h:
* Source/NSURLProtocol.m:
* Source/NSURLCache.m:
* Source/NSNotificationCenter.m:
* Source/GSAttributedString.m:
* Source/externs.m:
* Source/NSCoder.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSURL.m:
* Source/NSString.m:
* Source/NSObject.m:
* Source/NSDecimalNumber.m:
* Source/NSConcreteMapTable.m:
* Source/NSPointerFunctions.m:
* Source/GSSorting.h:
* Source/NSPointerArray.m:
* Source/Additions/GCObject.m:
* Source/Additions/GSMime.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/Additions/GSXML.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSNotification.m:
* Source/NSNumber.m:
* Source/GSTimSort.m:
* Source/NSConnection.m:
* Source/GSString.m:
* Source/NSHTTPCookie.m:
* Source/NSData.m:
* Source/NSHost.m:
* Source/NSDate.m:
* Source/NSMetadata.m:
* Source/NSDictionary.m:
* Source/GSMDNSNetServices.m:
* Source/GSHTTPAuthentication.m:
* Source/NSClassDescription.m:
* Source/NSSerializer.m:
* Source/NSNull.m:
* Source/NSValue.m:
* Source/NSCountedSet.m:
* Source/GSFileHandle.h:
* Source/GSFileHandle.m:
* Source/NSLock.m:
* Source/NSSet.m:
* Source/NSLocale.m:
* Source/NSTask.m:
* Source/NSJSONSerialization.m:
* Source/NSCharacterSet.m:
* Source/NSPortNameServer.m:
* Source/NSXMLParser.m:
* Source/NSConcreteHashTable.m:
* Source/NSTextCheckingResult.m:
* Source/NSEnumerator.m:
* Source/GSFTPURLHandle.m:
Improve atExit/leak handling to be executed with a thread and an
autorelease pool in place.
Record as deliberately 'leaked', objects created in +initialize
methods and intended to persist until exit.
Fix a couple of bugs exposed by turning on clean up of leaked objects.
2013-08-14 Lubos Dolezel <lubos@dolezel.info>
* Source/NSBundle.m: add NSBundle pathForAuxiliaryExecutable: and
-privateFrameworksPath and their URL counterparts
* Headers/GNUstepBase/GSBlocks.h: Fixed the DEFINE_BLOCK_TYPE macro
for certain GCC versions
2013-08-12 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSThread.h:
* Source/NSThread.m:
Added ([-performSelectorInBackground:withObject:]) convenience method
from OSX 10.5
2013-08-10 Ivan Vucica <ivan@vucica.net>
* Source/NSPathUtilities.m:
Disabled check for secure temporary directories under Cygwin. Refer
to:
http://stackoverflow.com/q/9561759/39974
for a possible cause of problems.
* Source/objc-load.m:
Codepaths used for MinGW are now also used for Cygwin. Even in
case of some functionality that should be standard under UNIX systems,
it turns out that this functionality is, sadly, not present under
Cygwin (e.g. dladdr()).
2013-08-10 Lubos Dolezel <lubos@dolezel.info>
* Source/NSBundle.m: add NSBundle bundleURL, builtInPlugInsURL,
executableURL
2013-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Version: make ready for 1.24.5 release
* Documentation/news.texi: 1.24.5 news
* Documentation/ReleaseNotes.gsdoc: 1.24.5 release notes
* NSTimeZones/NSTimeZones.tar: new timezone data
* Source/NSTimeZone.m: fix error in zone directory name
2013-07-14 Wolfgang Lux <wolfgang.lux@gmail.com>
* config/objc-common.g: Add +initialize to fake NSObject class
when compiling with the Apple runtime, since it expects that
method to be defined.
2013-07-11 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/GNUstepBase/GSVersionMacros.h: Fix definition of
GS_OSX_ADJUST, which got things backward (converting a GNUstep
style version into an OS X version instead of the other way
around). Also make sure that MAC_OS_X_VERSION_MAX_ALLOWED gets
converted when used in the definition of GS_OPENSTEP_V.
2013-07-09 Graham Lee <iamleeg@gmail.com>
* Source/GNUmakefile:
* Source/NSInvocationOperation.m:
* Headers/Foundation/Foundation.h:
* Headers/Foundation/NSInvocationOperation.h:
New invocation operation class
2013-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Fix memory leak (credentials)
2013-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSVersionMacros.h:
Re-add define to set MAC_OS_X_VERSION_MAX_ALLOWED for OSX compatibility.
2013-07-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/cifframe.m: Fix possible incorrect free of non-malloc'ed
memory.
* Source/NSHost.m: fix uninitialised data warning
* Source/NSMethodSignature.m: fix uninitialised variable
* Source/NSPropertyList.m: avoid static analyser warning
* Tools/gdomap.c: fix uninitialised data warning
* Source/NSObject.m: fixup error in alignment calculation;
was assuming that the alignment of a double would do but that's
not good enough. On GCC we use the __BIGGEST_ALIGNMENT__ used on
the machine, but clang has no support for that, so if it's not
defined we now guess 16 rather than __alignof__(double).
2013-07-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fix error creating instasnce when using the
objc2 runtime and garbage collection.
* Source/ObjectiveC2/runtime.c: implement class_createInstance()
by calling NSAllocateObject() .. perhaps it should be the other
way round though.
configure.ac: Fix directory order error.
configure: regenerate
2013-07-05 Fred Kiefer <FredKiefer@gmx.de>
* Headers/GNUstepBase/GSTypeEncoding.h
Include objc.h otherwise __GNU_LIBOBJC__ isn't defined.
2013-07-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocksParser/GSSocksParser.h:
* Source/GSSocksParser/GSSocksParserPrivate.m:
* Source/GSSocksParser/GSSocks4Parser.m:
* Source/GSSocksParser/GSSocks5Parser.m:
More portability fixes ... this time for mswindows.
2013-07-04 Ibadinov Marat <ibadinov@me.com>
* GSSocksParser/GSSocks5Parser.m:
* GSSocksParser/GSSocks5Parser.h:
* GSSocksParser/GSSocksParserPrivate.h:
* GSSocksParser/GSSocksParser.m:
* GSSocksParser/GSSocksParserPrivate.m:
* GSSocksParser/GSSocksParser.h:
* GSSocksParser/GSSocks4Parser.m:
* GSSocksParser/GSSocks4Parser.h:
Parsing code for SOCKS versions 4 and 5.
2013-07-03 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/Additions/GSMime.m
2013-07-03 Ibadinov Marat <ibadinov@me.com>
* Source/Additions/GNUmakefile:
* Headers/GNUstepBase/GSTypeEncoding.c:
* Headers/GNUstepBase/GSTypeEncoding.h:
New type encoding parser.
2013-07-03 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSString.h:
* Headers/GNUstepBase/GSVersionMacros.h:
* Headers/GNUstepBase/NSString+GNUstepBase.h:
* Source/Additions/GCArray.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSHTTPURLHandle.m:
* Source/GSNetServices.h:
* Source/GSSocketStream.m:
* Source/GSStream.m:
* Source/GSString.m:
* Source/GSTLS.m:
* Source/NSAssertionHandler.m:
* Source/NSCalendarDate.m:
* Source/NSCallBacks.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSFileManager.m:
* Source/NSIndexPath.m:
* Source/NSIndexSet.m:
* Source/NSJSONSerialization.m:
* Source/NSKeyValueCoding.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSLog.m:
* Source/NSMessagePort.m:
* Source/NSNetServices.m:
* Source/NSNumber.m:
* Source/NSObject.m:
* Source/NSOperation.m:
* Source/NSPointerArray.m:
* Source/NSPortCoder.m:
* Source/NSPortMessage.m:
* Source/NSRange.m:
* Source/NSSocketPort.m:
* Source/NSSortDescriptor.m:
* Source/NSString.m:
* Source/NSThread.m:
* Source/NSTimeZone.m:
* Source/NSURLResponse.m:
* Source/NSUnarchiver.m:
* Source/NSXMLParser.m:
* Source/unix/GSRunLoopCtxt.m:
* Tools/AGSParser.m:
Fixes for errors in printf style formats, (mostly 64bit issues)
inspired by work done by Ibadinov Marat.
2013-07-01 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add test for another libicu header
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Source/NSString.m: Add decompose/precompose methods derived from
change in testplant branch.
* Headers/GNUstepBase/GSVersionMacros.h: OSX compatibility tweak ...
handle OSX style 4 digit versionn constants.
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSOperation.h:
* Headers/Foundation/NSPathUtilities.h:
* Headers/Foundation/NSPointerArray.h:
* Headers/Foundation/NSPointerFunctions.h:
* Headers/Foundation/NSPredicate.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSValueTransformer.h:
* Headers/Foundation/NSXMLElement.h:
* Headers/Foundation/NSXMLParser.h:
Replace numeric version constants with OSX compatibility macros.
2013-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcreteMapTable.m: attempt to fix double retain bug
introduced by clang/ARC changes.
2013-06-24 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/AGSIndex.m (mergeDictionaries): Fix typo in warning.
2013-06-23 Ivan Vucica <ivan@vucica.net>
* Source/NSFileManager.m: Fixed syntax error.
2013-06-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Don't attempt to set ownership of copied
file. The code was already doing this right for directories, but
not for other file types.
2013-06-21 Lubos Dolezel <lubos@dolezel.info>
* Headers/GSBlocks.h: weakly import _Block_copy and _Block_release
2013-06-08 Lubos Dolezel <lubos@dolezel.info>
* Source/NSTimeZone.m
Implement nextDaylightSavingTimeTransitionAfterDate:
2013-06-06 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/Additions/Unicode.m
Headers/Foundation/NSString.h
revert my change from 2013-05-29
breaks decoding of .gorm files in NSString for me on amd64
2013-05-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: ([-lockWhenCondition:beforeDate:])
Lock mutex using -lockBeforeDate: so that we can abandon the wait
for the condition at the spacified date in the case where we can't
even obtain a lock before that date.
Fix for bug #39126
2013-05-29 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Headers/Foundation/NSString.h
make NSStringEncoding enum typdef to NSUInteger
* Source/Additions/Unicode.m
fix format string to print out NSStringEncoding
2013-05-17 Ivan Vučica <ivan@vucica.net>
* Source/NSDate.m:
In case NAN macro is defined in math.h, prefer that over
using the nan() function call.
2013-05-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePortNameServer.m: fix error in line count check
in last change.
2013-05-16 Ivan Vučica <ivan@vucica.net>
* Source/GSLocale.m:
* configure.ac:
Added check for whether there is any useful information in
struct lconv. Android doesn't have anything there, despite
having locale.h, so it makes little sense to try to access
the nonexistent fields in GSLocale.m
2013-05-16 Ivan Vučica <ivan@vucica.net>
* configure.ac:
* cross.config:
When cross-compiling, obeying an additional setting for
Objective-C 2.0 support. Fixed a missing '$' in cross.config.
2013-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePortNameServer.m: fix for bug #38981
2013-05-13 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSKeyedArchiver.h,
* Source/NSKeyedUnarchiver.m: Add method
-replaceObject:withObject: from gui.
2013-05-13 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSArchiver/stringEncoding.m: Use PASS_EQUAL instead
of PASS.
2013-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c: when replacing a method, update the
cache so we don't use the old version.
* Source/NSNotificationCenter.m: trivial tweak to map release code
and remove method caching for OSX compatibility :-(
* Source/NSPropertyList.m: Fix bug byte swapping unicode in apple
binary plist generation.
* Tests/base/NSNotification/dynamic.m: Fix crash in testcase.
2013-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLConnection.m: Release delegate immediately after
failure or succeess of communicationm (bug #38955).
* Source/Additions/Unicode.m: Fix possible read beyond end of buf.
2013-04-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: ([GSMimeParser-parse:]) fix possible infinite
recursion when encountering a bad document.
2013-04-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: Fix memory management error with excess bytes
after parsing mime headers.
2013-04-18 Marcus Muller <znek@mulle-kybernetik.com>
* Source/NSMetadata.m: Fix to expose variables to compiler building
with non-fragile ABI.
2013-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile:
* Source/unix/GNUmakefile:
* Source/unix/NSMetadata.m:
* Source/win32/GNUmakefile:
* Source/win32/NSMetadata.m:
* Source/NSMetadata.m:
* Headers/Foundation/NSMetadata.h:
Move identical system specific metadata code to generic area so we
can have system specific subclasses inherit common functionality.
Fix instance variables so we won't break binrary compatibility in
future.
2013-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* cifframe.m:
* GSString.m:
* GSTLS.m:
* NSArchiver.m:
* NSCalendar.m:
* NSCoder.m:
* NSData.m:
* NSDecimal.m:
* NSDictionary.m:
* NSDistantObject.m:
* NSException.m:
* NSFileManager.m:
* NSHashTable.m:
* NSIndexPath.m:
* NSLocale.m:
* NSMethodSignature.m:
* NSNotificationCenter.m:
* NSNumberFormatter.m:
* NSObject.m:
* NSPortCoder.m:
* NSProcessInfo.m:
* NSProxy.m:
* NSRunLoop.m:
* NSSocketPort.m:
* NSString.m:
* NSURL.m:
* NSURLProtocol.m:
* NSValue.m:
* NSXMLDocument.m:
* NSXMLNode.m:
* NSXMLParser.m:
More changes to avoid static analyzer false-positives/non-issues so we
can see when real issues arise. Changes remove around 60 warnings and
include about half a dozen minor bugfixes.
2013-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSObjCRuntime.m:
* Source/GSFormat.m:
* Source/GSPrivate.h:
* Source/GSString.m:
* Source/NSBundle.m:
* Source/NSJSONSerialization.m:
* Source/NSKeyValueObserving.m:
* Source/NSScanner.m:
* Tools/gdomap.c:
Tweaks to keep static analyser happy.
2013-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GNUstep.h: NSInteger/NSUInteger cleanup.
* Source/NSAffineTransform.m: Fix -isEqual: for subclassing.
* Source/NSObject.m: Remove previously deprecarted function
* Source/NSProxy.m: Avoid compiler warning
* Source/NSDistantObject.m: Avoid compiler warning
2013-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
Fix bug looking up class version information.
2013-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: improve the algoritm for parsing double values
(new algorithm based on public domain pseudo code).. should be more
accurate (for bug #38640).
2013-04-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationCenter.m: Fix bug #38680
2013-04-05 Richard Frith-Macdonald <rfm@gnu.org>
* config/pathtls.m4: Try to guess gnutls flags if no config found
* configure: regenerate
* Tools/AGSHtml.m: Fix error when title index missing.
2013-04-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m: Improve/simplify invalidation.
* Source/NSXMLParser.m:
Fix (implement) parsing of entities inside quoted strings.
2013-03-28 Richard Frith-Macdonald <rfm@gnu.org>
Make release 1.24.4
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
Prepare documentation for release
2013-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendar.m:
* Headers/Foundation/NSCalendar.h:
Rewrite NSCalendar instance variable usage to avoid breaking binary
compatibility. Fix methods for setting the first week day and
the minimum number of days in the first week of a month.
2013-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAffineTransform.m:
Fix decoding of keyed archive containing identity transform.
* Source/NSString.m:
* Tests/base/NSString/tilde.m:
Fix to standardize string if necessary to determine whether it has
the home directory as a prefix.
2013-03-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Revert change I
made on 2012-12-01.
2013-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSCalendar/features-10-7.m:
* Source/NSCalendar.m:
* Headers/Foundation/NSCalendar.h:
New OSX 10.7 methods supplied by Lobos Dolezel and rewritten somewhat
to avoid breaking binary compatibility.
2013-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSet.m: Some optimisation for set intersection.
2013-03-16 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSLocale/general.m,
* Tests/base/NSTimeZone/use.m: Mark more tests that depend on
locale setting as hopes.
* Tests/base/GSXML/basic.m: Set the timezone of the GSXMLRPC to
get the same date string in the output.
2012-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar:
* Tools/gsdoc-1_0_0.dtd:
* Tools/gsdoc-1_0_1.dtd:
* Tools/gsdoc-1_0_2.dtd:
* Tools/gsdoc-1_0_3.dtd:
* Tools/gsdoc-0_6_5.dtd:
* Tools/gsdoc-0_6_6.dtd:
* Tools/gsdoc-0_6_7.dtd:
* Tools/plist-0_9.dtd:
Update/correct FSF address.
2012-03-16 reussandras@gmail.com
* base/Source/NSCalendar.m:
Add simple quarter calculation.
* base/Source/NSPathUtilities.m:
Fix bug handling defaults dir config (was treating absolute path
as relative).
2012-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: Update timezone information
2012-03-16 Emmanuel Maillard <mailing-lists@e-maillard.com>
* configure.ac: checks for pthread library and password structure
* Headers/GNUstepBase/config.h.in: new define for password field
* Source/NSPathUtilities.m: use new define
* configure: regenerate
Changes for Android build
2012-03-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: Change hash function args and add new functions
* for incremental hash.
* Source/NSString.m: Update to use the private hash function introduced
for NSSortdescriptor.
* Source/GSString.m: ditto.
* Source/NSSortDescriptor.m: Update for new function arguments.
* Source/GSPrivateHash.m: Add alternative version of hash functions
(old code plus new public domain murmurhash3 code).
* Source/GNUmakefile: Build alternative hash functions.
build with OLDHASH defined to 0 to get new alternatives.
2012-03-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
Fix some autorelease pool management issues.
2013-03-09 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Tests/base/NSFileManager/general.m
remove accidently snucked in header
2013-03-08 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
* Tests/base/NSFileManager/general.m:
Implement methods forcoping/moving file URLs
2013-03-05 Larry Campbell <lcampbel@akamai.com>
* Source/NSFileManager.m: Fix for ([-contentsEqualAtPath:andPath:])
compare contents of regular files in subdirectories.
2013-03-05 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/NSFileManager.m:
* Headers/Foundation/NSFileManager.h:
([createDirectoryAtURL:withIntermediateDirectories:attributes:error:])
implemented.
Also, for OSX compatibility, RFM 'fixed' the ...error: methods to
leave the error value unmodified in the case where no error occurs.
2013-03-03 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/NSKeyValueObserving.m
* Source/NSXMLParser.m
char is unsigned on macppc, so don't compare it
against negative values
2013-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Version ... bump subminor number in preparation for next release.
2013-02-28 Richard Frith-Macdonald <rfm@gnu.org>
Make release
* Version:
* Source/NSRegularExpression.m:
* Source/NSURLResponse.m:
* Source/NSString.m:
* Source/DocMakefile:
* Source/GSNetServices.h:
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
* Headers/GNUstepBase/GSVersionMacros.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSXMLDocument.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSXMLDTD.h:
* Headers/Foundation/NSXMLDTDNode.h:
* Headers/Foundation/NSXMLElement.h:
* Headers/Foundation/NSXMLParser.h:
* Tools/DocMakefile:
* Tools/AGSParser.m:
Bump version for new release, add release notes, clean up documentation.
2013-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSString/test00.m: Add a few tests for searching subrange
of a string.
* Source/GSString.m: ([rangeOfCharacterFromSet:options:range:])
Fix for overrun when searching backwards ... spotted by Fred.
2013-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAvahiRunLoopIntegration.m: Remove code which was clearing
bitmask values needed to track whether watcher needed to be removed
from run loop.
2013-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: a data url ignores any base URL.
* Source/GSAvahiClient.m: remove self from runloop on dealloc.
2013-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: updates to output correct predicate format
for binary operators.
* Source/NSURL.m: unescape data for -relativePath
2013-02-10 Marcus Muller <znek@mulle-kybernetik.com>
* Source/GSMDNSNetServices.m: enable whether a delegate is set or not.
2013-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: For OSX compatibility, if we are creating a relative
URL and the base URL has a different scheme from the base, then we
ignore the base URL rather than raising an exception.
2013-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Fix error in check for perform on finished thread.
2013-01-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendar.m: (-[dateByAddingComponents:toDate:options:]),
([-dateFromComponents:]) add support for missing components.
2013-01-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPredicate.m: Fixup parsing of function expressions.
2013-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLocale.m: ([-_getExemplarCharacterSet]) Fix error in handling
returned range (bug #38118 reported by X Y <macgritsch>
* Source/NSPropertyList.m: Fix encoding of date objects when using the
OpenStep format to simply used the description of the3 date.
Fixes bug #38017
* Source/NSURLConnection.m: a synchronous download with no response
body should return an empty data item rather than nil ... fix for
bug #38043
* Source/GSTLS.m: Log a warning message if we load a certificate
which has expired or is not yet valid.
2013-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: ([stringByAppendingPathComponent:]) recalculate
root of patch correctly before stripping trailing separators.
2013-01-13 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSDistributedNotificationCenter.h,
* Source/NSDistributedNotificationCenter.m: Correct the return
types of the factory methods.
2013-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
When creating a substring (C) of a substring (B) or a string (A),
we now retain the (A) in (C) rather than having (C) retain (B)
which in turn retains (A). This has the advantage that it is
possible for the intermediate (B) to be released if nothing else
ues it.
2013-01-05 00:49-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadata.h: Add _ to delegate.
* Source/GNUmakefile: Remove reference to NSMetadata.m
* Source/NSMetadata.m: Remove from here and add OS specific
implementations.
* Source/unix/GNUmakefile: Add new file...
* Source/unix/NSMetadata.m: UNIX implementation...
* Source/win32/GNUmakefile: Add new file..
* Source/win32/NSMetadata.m: Windows implementation.
2012-12-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNetServices.m: patch by Marcus Muller to correctly check
that either the input or the output stream has been opened.
* Source/GSString.m: patch by Stefan Bidi to optimise utf-8 to
utf-16 conversion a little.
2012-12-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: Fix parsing of final boundary in a multipart
document so that the trailing '--' ends the boundary and no CRLF
is required. The grammar in RFC1341 says that the final boundary
does not need a CRLF terminator.
2012-12-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m:
* Source/NSNotificationCenter.m:
* Source/NSPropertyList.m:
Tweaks to avoid compiler warnings spotted by Fred.
2012-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSHTTPCookieStorage.m: Don't read store if it doesn't exist.
* Source/GSTLS.h: Use time interval for caching
* Source/GSTLS.m: More efficient caching
2012-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: remove a couple of useless debug logs.
* Source/GSTLS.h: Add credentials object
* Source/GSTLS.m: Implement caching of credentials so that they are
shared between different sessions (eg a web server accepting multiple
incoming connections can re-use the same credentials for each of them).
This is to address a performance issue due to decoding certificate
information from file to create new credentials when lots of incoming
connections occur.
2012-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileHandle: ([-sslHandshakeEstablished:outgoing:])
Set the connection into non-blocking mode so that the handshake
will not block if the other end refuses to talk to us.
2012-12-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Use macros for
versions of libxml2.
2012-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Fixup ICU test error
* configure: regenerate
Change tests so that we no longer ignore it when icu-config tells
us we have too old a version to use.
2012-11-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Set content-length header in outgoing
request if not already set.
* Headers/Additions/GNUstepBase/GSMime.h:
* Source/Additions/GSMime.m: Add methods to control line folding.
2012-11-25 14:39-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadata.h
* Source/NSMetadata.m: Add NSMetadataQueryAttributeValueTuple and
NSMetadataQueryResultGroup classes.
2012-11-21 12:10-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadata.h: Add ivars.
* Source/NSMetadata.m: Cleanup compilation error.
2012-11-20 12:50-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadata.h: Declaratioins for constants and
NSMetadataItem.
* Source/NSMetadata.m: Implementation of NSMetadataItem and definition
of constants.
2012-11-19 18:54-CET Ivan Vučica <ivan@vucica.net>
* Source/GSInvocation.h: Renamed GSFrameInvocation to
GSDummyInvocation, to match implementation in
Source/NSInvocation.m.
2012-11-18 11:47-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadataQuery.h: Remove old file.
* Source/GNUmakefile: Change name to NSMetadata.[hm].
* Source/NSMetadata.m: Add new file with correct name.
* Source/NSMetadataQuery.m: Remove old file.
2012-11-18 11:29-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/Foundation.h: Add NSMetadataQuery.h to
include list.
* Headers/Foundation/NSMetadataQuery.h: New header for class.
* Source/GNUmakefile: Add NSMetadataQuery.[hm] to makefile.
* Source/NSMetadataQuery.m: Abstract implementation for
NSMetdataQuery. The idea is much like NSFileStream and other
classes which have operating system specific implementations.
On linux this will, most likely, interface with locate/slocate.
I'm not certain what it will talk to on Win32.
2012-11-15 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSAutoreleasePool.m (-emptyPool): Fixed not to push a pool to
the cache in the ARC_RUNTIME implementation, -dealloc does it already.
For the same current pool instance, the ARC_RUNTIME implementation was
calling push_pool_to_cache() twice, once in -emptyPool and another
-dealloc. Which meant a pool still in use could be reused, then it was
possible to get stuck in an infinite loop.
2012-11-05 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSFFIInvocation.m (GSFFIInvocationCallback): Generate
useful error message when no best typed selector can be found.
2012-11-02 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: Use AC_FUNC_STRERROR_R to check for presence and
version of the strerror_r function.
* Source/Additions/NSError+GNUstepBase.m (-_systemError:): Add
conditional code for glibc specific version of strerror_r.
* Source/common.h: No longer redefine feature test macros as this
could invalidate the autoconf results.
* configure:
* Headers/GNUstepBase/config.h.in:
* SSL/configure:
* SSL/config.h.in: Regenerated by autoreconf.
2012-10-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSError+GNUstepBase.m:
* Source/GSFileHandle.m:
* Source/GSMDNSNetServices.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSThread.m:
* Source/common.h:
Changes to try to get inclusion of system specific features right.
In particular, we want strerror_r() to be POSIX complient so that
we get correct system erorr messages.
2012-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSGeometry.m: Fix so that an empty rect can never
intersect any other (including itsself). Reported by Banly Kemiyatorn
and Fred Kiefer.
2012-10-26 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/Documentation/texi.make:
Fix installation/clean of html documents generated from texi files.
2012-10-25 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/GNUstepBase/GSConfig.h.in: Prevent redefinition warnings for
__STDC_LIMIT_MACROS and __STC_CONSTANT_MACROS (both are ObjC++ related).
2012-10-22 Thomas Davie <tom.davie@gmail.com>
* Headers/Foundation/NSSet.h:
* Source/NSSet.m:
Add -objectsPassingTest:
2012-10-22 Rene Hexel <rhexel+savannah@mac.com>
* Source/Additions/GSXML.m:
In libxml2 the content and use fields have become private and are only
exposed through xmlBufContent() and xmlBufUse() since libxml-2.9.0.
Use those macros for newer versions of libxml2.
2012-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Use NSUInteger for array indexes/counters.
2012-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Try to fix entity parsing bug #37596
2012-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSCalendarDate.m:
* Source/NSFileManager.m:
* Source/NSJSONSerialization.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSPropertyList.m:
Avoid autoreleasing things in +initialize when there may be no
autorelease pool present ... we don't want to either leak or
cause recursive loops when we want to log any leaks.
2012-10-15 Eric Wasylishen <ewasylishen@gmail.com>
* Tests/base/NSArchiver/stringEncoding.m: add test for last commit
2012-10-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSPropertyList.m (-[GSBinaryPLGenerator storeString:):
Write unicode strings in big-endian instead of little-endian.
The resulting plists now load properly on OS X. Thanks to
rdemet for bug report.
2012-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSCharacterSet.h:
* Source/NSCharacterSet.m:
For a long time Apple's docs and headers said that the methods for
returning standard charactersets returned 'NSCharacterSet*', which
was annoying when they were called on NSMutableCharacterSet.
It seems they finally changed to returning id, so we can do the same.
2012-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSDebug+GNUstepBase.h:
Fix format of logs produced by two of the three method macros ...
a bug spotted by Fred.
2012-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: for C-string formatting, avoid reading to the
nul terminator ... limit to a number of bytes equal to the precision
(if any) given in the format. This may be the wrong thing to do when
handling multibyte encodings (where a natural expectation is to have
precision mean number of characters), but seems legitimate going by
current xopen printf documentation.
2012-10-03 Wolfgang Lux <wolfgang.lux@gmail.com>
* SSL/GSSSLHandle.m (-sslSetOptions): Apply string name change
missed during TLS reorganisation.
2012-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/GSTLS.m:
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
* Headers/Foundation/NSFileHandle.h:
Add GNUstep TLS/SSL options when loading HTTPS URLs.
2012-09-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Fix error synchronising from changes in
database ... was not sending the notification to say we had updated.
* Headers/Foundation/NSFileHandle.h:
* Source/GSSocketStream.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
More TLS reorganisation and adding diagnostics
2012-09-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile:
* Source/GSSocketStream.m:
* Source/NSFileHandle.m:
* Headers/Foundation/NSFileHandle.h:
* SSL/GSSSLHandle.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
Restructure to separate some of the tls functionality out.
2012-09-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Fix error spotted by Fred.
2012-09-24 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileHandle.h: deprecate old method for setting
certificate and add new one.
* SSL/GSSSLHandle.m: Support new method and move generic code to
NSFileHandle.m
* Source/GSSocketStream.m: Implement NSFileHandle SSL/TLS support
using GNUTLS.
* Source/NSFileHandle.m: Some ssl/tls restructuring, use GNUTLS if
available.
* configure.ac: Don't build SSL bundle if isupport is built-in.
* GNUmakefile: ditto
* base.make.in: ditto ... plus fix to define setting to show whether
ICU is avaiable.
* configure: regenerate
2012-09-23 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSSocketStream.m: Expose GSFileHandle ivars for compilation
with the non-fragile ABI.
* Headers/GNUstepBase/GSVersionMacros.h: Restore line that was
accidentally commented out.
2012-09-23 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTimSort.m: Fix typo.
2012-09-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m:
* Source/NSDate.m:
* Source/NSDictionary.m:
* Headers/Foundation/NSArray.h:
Comment/documentation fixups to avoid warnings etc.
* Tools/AGSParser.h:
* Tools/AGSParser.m:
Fix memory management error causing reference to deallocated object.
2012-09-20 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTimSort.m: A few more timsort bugfixes.
2012-09-20 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTimSort.m: Fix bugs in the timsort implementation.
2012-09-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSQuickSort.m: Fixed this to compile and (apparently) work.
2012-09-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Change sort selection to use shellsort by default and
to make sort selection internal to gnustep-base rather than public.
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Headers/GNUstepBase/GSConfig.h.in: Remove public sort selection info
* Source/GSQuickSort.m: Use config.h to control build/not-build.
* Source/NSSortDescriptor.m: Reference the selected sort class to
ensure that it is linked in and loaded at runtime.
* Source/GSShellSort.m: Fix bug in function arguments.
Use config.h to control build/not-build.
* Source/GSSorting.h: tidied a little
* Source/GSTimSort.m: Use config.h to control build/not-build.
The changes are basically to keep sort information internal to
base rather than exposing it and, more importantly, to get sorting
working again. This involves:
1. minor fix to shellsort to get it to work.
2. change configure script to select shellsort.
The problems with the other sorts are:
a. quicksort won't even compile
b. timsort does compile, but segfaults when you try to give it
real-world datasets to sort
Anyone wantng to fix these, please do (it would be really cool
to have timsort working).
2012-09-19 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSSorting.h
* Source/NSSortDescriptor.m:
Add new generic interface for sorting.
* Source/GSTimSort.m: Implement timsort sorting algorithm.
* Source/GSQuickSort.m
* Source/GSShellSort.m:
Factor out previously used sorting algorithms.
* Source/GSArray.m
* Source/NSArray.m:
Modify to use the new sorting interface for sorting using
functions, NSSortDescriptor, and NSComparator. Implement
NSComparator based sorting and insertion index searching
methods.
* Source/GNUmakefile: Connect new files to the build.
* configure.ac: Add configure switch to allow selection of sort
algorithm.
* Headers/GNUstepBase/GSConfig.h.in: Add defines for sort
algorithm selection.
* configure: Regenerate
* Headers/Foundation/NSObjCRuntime.h
* Headers/Foundation/NSArray.h:
Declarations for new NSComparator based sorting methods.
* Tests/base/NSArray/general.m
* Tests/base/NSArray/blocks.m:
Add tests for new functionality.
* Tests/base/NSArray/random.plist
* Tests/base/NSArray/sorted.plist:
Add sorting example data that is large enough to test more
sophisticated sorting algorithms.
Completely overhaul how we do sorting in -base. GSSorting.h now
defines an interface that can be used for all sorting tasks in
the library. The actual sort algorithms to use are now plugable.
Timsort is the new default sorting algorithm, the existing
algorithms, shellsort and quicksort can still be selected using
a configure switch, but they do not override timsort completely
because they are unstable.
Also implement the new NSComparator (blocks) based sorting and
insertion index searching methods for NSMutableArray and
NSArray.
2012-09-17 12:03-EDT Gregory John Casamento <greg.casamento@gmail.com>
Merged from the testplant branch.
* Headers/Foundation/Foundation.h
* Headers/Foundation/NSScriptWhoseTests.h
* Source/GNUmakefile
* Source/NSObject+NSComparisonMethods.m: Move the
comparison methods to the header for NSScriptWhoseTests.h,
but don't define the abstract class since we don't support
Apple script.
2012-09-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
* Tests/base/NSURL/basic.m:
Add support for data: URL
2012-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m:
Fix quoting of string output by copying code from WebServices library.
2012-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m:
* Source/NSPropertyList.m:
Improve serialisation of booleans.
2012-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSDate.h: Declare new OSX method to add time
interval to a date.
* Source/NSDate.m: Implement it
* Source/NSCalendarDate.m: Ditto
* Source/NSRunLoop.m: Add exception handling for run loop performer.
2012-09-10 Sergii Stoian <stoyan255@gmail.com>
* Source/NSFileManager.m:
[createDirectoryAtPath:withIntermediateDirectories:attributes:error:]:
Create directories only if it doesn't exist.
2012-09-09 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSPropertyList.m (-storeString): Add missing variable
declaration on big-endian systems.
2012-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m:
Don't ignore whitespace in keys and values when parsing XML ... the
DTD says everything apart from array and dict contains #PCDATA.
2012-09-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: Compatibility tweak reported by hns@computer.org
A string like '1.2eX' where X is not a numeric exponent, needs to be
scanned as a float/double up to (but not including) the 'e' (or 'E')
rather than being treated as a badly formatted float/double.
2012-09-04 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSXMLDocument/cdata.m: New test case for CDATA.
2012-09-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m:
* Source/NSBundle.m:
* Source/NSPropertyList.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDistributedLock.m:
* Source/GSHTTPURLHandle.m:
* Source/NSZone.m:
* Source/NSPage.m:
* Source/NSMessagePort.m:
* Source/NSUnarchiver.m:
* Source/win32/GSFileHandle.m:
* Source/NSFileManager.m:
* Source/common.h:
* Source/NSString.m:
* Source/Additions/NSData+GNUstepBase.m:
* Source/Additions/Unicode.m:
* Source/Additions/NSMutableString+GNUstepBase.m:
* Source/Additions/NSError+GNUstepBase.m:
* Source/Additions/GSMime.m:
* Source/Additions/NSString+GNUstepBase.m:
* Source/Additions/GCArray.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSNumber+GNUstepBase.m:
* Source/Additions/GSObjCRuntime.m:
* Source/GSString.m:
* Source/NSObjCRuntime.m:
* Source/GSFormat.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
On windows with mingw we can use strtoull() rather than _strtoui64().
Also, remove redundant header includes since string.h is in common.h
2012-09-03 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Fallback to the non icu-config check for ICU in
the general case.
* configure: Regenerate.
2012-09-01 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Implement `--disable-icu-config' switch to
configure for platforms that ship libicu but not icu-config.
* configure: Regenerate.
2012-08-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSstring.m: ([-stringByAppendingPathComponent:]) fix for
append to an empty string with a windows path as an argument.
2012-08-26 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for sys/filio.h and whether we need to
link libsocket (as on QNX).
* configure
* SSL/configure
* Headers/GNUstepBase/config.h.in:
Regenerate.
* Source/common.h
* Source/GSFileHandle.m
* Source/NSMessagePort.m
* Source/NSSocketPort.m
* Source/NSThread.m
* SSL/GSSSLHandle.m:
QNX compatibility tweaks.
* Tools/gdnc.m
* Tools/gdomap.c:
Use slog facility for logging on QNX.
Compatibility improvements for building for QNX.
2012-08-26 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for QNX slog facilities.
* Headers/GNUstepBase/config.h.in
* configure:
Regenerate
* Source/NSLog.m: Implement logging to the QNX slog.
Add support for logging to the QNX slog via NSLog().
2012-08-25 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Allow a cross-compilation configuration to be
specified using the `--with-cross-compilation-info=' switch.
Tweak configure script to behave gracefully when
cross-compiling.
* configure: Regenerate.
* cross.config: Add default values for cross-compilation.
Make the configure script behave more friendly when
cross-compiling.
2012-08-16 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for objc_root_class attribute
* configure: Regenerate
* config/objc-common.g: Annotate root classes.
* Headers/GNUstepBase/config.h.in: Regenerate
* Headers/GNUstepBase/GSConfig.h.in: Add macro for root class
attribute availability.
* Headers/GNUstepBase/GSVersionMacros.h: Define GS_ROOT_CLASS
depending on whether the compiler supports it.
* Headers/Foundation/NSObject.h: Mark NSObject as a root class.
* Headers/Foundation/NSProxy.h: Mark NSProxy as a root class.
* Source/NSDistantObject: Mark GSDistantObjectPlaceholder as a
root class.
* Source/NSObject.m: Mark NSZombie as a root class.
Changes to support clang's __attribute__((objc_root_class)).
2012-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: Fix error in comment
* Tools/pldes.m: Update to more modern APIs
* Tools/plser.m: Update to more modern APIs
* Source/NSPropertyList.m: Update for usigned long long
* Source/NSString.m: Make intValue, integerValue, longLongValue
return large unsigned values as negative.
Fixes to try to cope with property lists containing very large
unsigned integers (top bit set).
2012-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m:
Fix permissions on temporary directory rarther than just failing ...
suggestion by Wolfgang.
2012-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: ([-createDirectoryAtPath:attributes:])
OSX compatibility change to no longer create intermediate directories
(fixing bug #35672).
NB. Code depending on the original incorrect behavior should be
updated to use the new method:
-createDirectoryAtPath:withIntermediateDirectories:attributes:error:
2012-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSpellServer.m:
* Source/NSPropertyList.m:
* Source/NSPathUtilities.m:
* Source/NSUserDefaults.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDistributedLock.m:
* Source/NSMessagePort.m:
* Source/NSHTTPCookieStorage.m:
Use new method for creating intermediate directories rater than
depending on incorrect behavior of the old method.
2012-08-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m:
Fix problem considering a lack of whitespace at the end of the
list as an error.
* GSeq.h: Replace tolower() with uni_tolower() where using 8bit
strings and the internal coding is latin1 and may not be the same
as the native encoding.
2012-08-08 Riccardo Mottola <rm@gnu.org>
* Tools/AGSParser.m:
Add macro detection for MacOS version 10.1 to 10.6 and make
GS_API_LATEST the last in priority.
2012-08-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Simplify/remove upper and lower case conversion
to use superclass implementation avoiding toupper() and tolower().
Change other literal string methods to check that the content
is really utf8 in more places. Generally simplify/cleanup a bit.
2012-08-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSValue.m: ([-isEqualToValue:]) add check for self equality
and fix error checking tyep signature.
* Source/Additions/GSObjCRuntime.m: (GSSelectorTypesMatch) fix to
return a true BOOL value.
2012-07-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Optimisations for chunked encoding.
a. Don't resize the buffer for each chunk ... that's very inefficient
if the other end sends tiny chunks. Instead, make the buffer big
enough to handle all the available data, then shrink back to the
decoded size.
b. Move method call out of the loop handling individual bytes.
2012-07-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: ([setLength:]) increase size of buffer in chunks
proportional to the current size ... so if we add small amounts to a
buffer many, many times, we don't reallocate the memory for each tiny
increment. Should make accumulating large amounts of data into a
buffer much more efficient.
2012-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m:
Try fix for bug #36967
2012-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLNode.m: Just report string value as description ...
which appears to be what OSX does.
* Tests/base/KVC/mutable.m: Add tests based on code by Riccardo.
2012-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m:
* Source/GSFFIInvocation.m:
* Source/GSPrivate.h:
* Source/NSInvocation.m:
* Source/cifframe.h:
* Source/cifframe.m:
Initial attempt at implementing KVO for structure setter methods in
general via libffi.
2012-07-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-description): Remove trailing newline. This
should fix#36976.
2012-07-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFCallInvocation.m:
* Source/NSKeyValueObserving.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSProtocolChecker.m:
* Source/GSValue.m:
* Source/NSValue.m:
Use GSSelectorTypesMatch() for type comparisons.
2012-07-12 19:26-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSFileManager.m: Correct misspelled ASSIGN which was
causing link errors.
2012-07-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Don't accept documents where header lines
contain bytes which can't be converted to a string.
2012-07-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedArchiver.m:
* Source/NSCoder.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSArchiver.m:
* Headers/GNUstepBase/GSObjCRuntime.h:
Have leading type qualifiers and laout information skipped when
encoding a value of on ObjC type, rather than objecting that the
supplied type string is not a known type.
Fix for bug #36824
2012-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: Fix for bug #36706
* Source/NSObject.m: Also, apply patch by Niels Grewe with modsvn commit
2012-07-09 Sebastian Reitenbach <buzzdee>
* Source/NSThread.m: Fixes test for posix thread scheduling.
2012-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Fixes for bug #34815 ... map between old and
new style language names and use the best language specific
resource available.
* Resources/Languages/Locale.canonical: Add mappings from three
letter language names to two letter names where they exist.
2012-07-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSVersionMacros.h:
fix for bug #36650
* Source/NSFileManager.m: Apply rewritten patch by Sergey Golovin
* Source/NSBundle.m: Fix for bug #34815 ... we shoudl now move to
using ISO names.
2012-07-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
* Source/NSURLHandle.m:
Re-load a cached handle if the content has been invalidated.
Set the status of a file handle to not-loaded if the fiel is modified.
Should fix bug #36726
2012-07-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Don't assume that code loading won't be called
re-entrantly.
2012-07-05 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSPathUtilities.m: Fixed constant string comparison error
reported by Clang SVN trunk r158230 or more recent.
See http://llvm.org/viewvc/llvm-project?view=rev&revision=158230
This is a workaround for a Clang compiler bug ...
2012-07-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Attempted fix for bug #34191 ... change framework
class association to keep a map of loaded frameworks/bundles by class
for quick lookup and alter code to check the runtime for new frameworks
if we are asked for the bundle for a class and we can't find it.
2012-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: Fix missing 'else' which was causing a
memory leak and minor performance degradation.
2012-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Check for nil property list argument.
2012-06-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/unix/GSRunLoopCtxt.m (-pollUntil:within:): Fix previous
change to compile again when using select() instead of poll().
2012-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/NSMessagePort.m:
* Source/win32/GSRunLoopCtxt.m:
Modify code for getting file descriptors to cope with an unlimited
number (allocate buffer on heap if necessary) for server processes
with very large numbers of distributed object connections.
2012-04-30 Riccardo Mottola <rm@gnu.org>
* Source/NSString:
Do not include malloc on OpenBSD to avoid warning (and include
stdlib always).
2012-04-29 Riccardo Mottola <rm@gnu.org>
* Source/common.h:
Extend David's hack to all known non-glibc platforms
2012-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArchiver.m:
* Source/NSUnarchiver.m:
* Source/NSPortCoder.m:
* Source/Coder.m:
Updates to cope with the fact that some BSD ports of gnustep-base
used incorrect versioning, and that people have released Gorm
files with versioning incompatible with current releases.
1. dissociate coder -systemVersion from the actual system version,
so that if people mess with the gnustep-base version, their
non-standard releases will still interoperate with normal code.
2. Implement new array encoding/decoding compatible with earlier
versions (except if the array contains exactly 0xffffffff items).
3. Raise exception if decoding archives with an unsupported version.
4. Add GSCoderSystemVersion user default to override the system
version used for encoding ... for testing and tweaking to generate
archives in, or communicate with DO servers using an earlier version.
2012-04-23 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSAutoreleasePool/autorelease_eh.m:
Get new test to run with older compilers.
2012-04-23 12:47 theraven
* libs/base/trunk/Source/NSAutoreleasePool.m,
libs/base/trunk/Tests/base/NSAutoreleasePool/autorelease_eh.m:
Fix a bug in the new autorelease pool implementation when pools
are destroyed in the wrong order.
Test cast by Chris Armstrong!
2012-04-22 Riccardo Mottola <rm@gnu.org>
* Source/GSString.m
Do not include malloc on OpenBSD to avoid warning.
2012-04-18 Fred Kiefer <FredKiefer@gmx.de>
* Tools/pl2link.m (main): Get the category from a new entry named
FreeDesktopCategories.
Patch by Philippe Roussel <p.o.roussel@free.fr>.
2012-04-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c: Fi error calculating instance
variable offset size as reported/suggested by James Cook
<mokus@deepbondi.net>
2012-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add tests for lossy conversion using iconv and
provide options to disable use of iconv or allow use of iconv
where //TRANSLIT is missing.
* configure: regenerate.
2012-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
Fix test for availability of lossy conversion via iconv.
2012-04-10 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Tools/make_strings/StringsFile.m
* Tools/pl.m
some NSInteger -> NSUInteger changes to match return
values of methods
2012-04-07 13:54 theraven
* Source/NSMethodSignature.m: Fix NSMethodSignature
generating nonsense values when it encounters a type encoding
including blocks.
2012-04-07 10:45 theraven
* Source/GSSocketStream.m:
* Source/NSAffineTransform.m:
* Source/NSXMLDTDNode.m:
* Tools/xmlparse.m: Fix the remaining compiler
warnings.
2012-04-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDocument.m:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m: Remove compiler warnings for clang
reported by David Chisnall.
* Tests/base/NSAutoreleasePool/basic.m: Get to compile again
without -C99.
2012-04-06 12:37 theraven
* libs/base/trunk/Source/NSConnection.m,
libs/base/trunk/Source/NSData.m,
libs/base/trunk/Source/NSKeyValueObserving.m: Fix a few compiler
warnings caused by type mismatches in NSLog statements.
2012-04-06 12:23 theraven
* libs/base/trunk/Headers/Foundation/NSArray.h,
libs/base/trunk/Headers/Foundation/NSDictionary.h,
libs/base/trunk/Headers/GNUstepBase/GSVersionMacros.h,
libs/base/trunk/Source/NSArray.m,
libs/base/trunk/Source/NSDictionary.m,
libs/base/trunk/Tests/base/NSArray/basic.m,
libs/base/trunk/Tests/base/NSDictionary/basic.m: Support for
collection subscripting (NSArray and NSDictionary).
Yes, the syntax is ugly, but no doubt people will start using it
in June...
2012-04-06 12:02 theraven
* libs/base/trunk/Source/NSAutoreleasePool.m,
libs/base/trunk/Tests/base/NSAutoreleasePool,
libs/base/trunk/Tests/base/NSAutoreleasePool/TestInfo,
libs/base/trunk/Tests/base/NSAutoreleasePool/basic.m: Use the
runtime's ARC autorelease pools if available.
2012-04-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (+_objectForNode:): Don't create a document
object for a private document.
* Tests/base/NSXMLNode/transfer.m: New code for test case
contributed by Doug Simons.
2012-04-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Fix compiler error and warning for older
version of libxml2.
2012-04-01 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSNumber.m: Add special small object class for floats.
Previously, NSSmallRepeatableDouble would be used which resulted in
the float being printed as a double when calling -stringValue or
-description.
2012-03-27 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSObject.h (-error:): Declare return type.
Patch by Benoît Garrigues <bgarrigues@gmail.com>
2012-03-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (execute_xpath): Clean up.
2012-03-27 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac
* config.mak.in
* Headers/GNUstepBase/GSConfig.h.in
* Headers/GNUstepBase/config.h.in:
Implement configure check for libdispatch.
* configure: Regenerate
* Source/GSDispatch.h: Add portability header with macros for compiling
with or without libdispatch.
* Source/NSArray.m
* Source/NSDictionary.m
* Source/NSIndexSet.m
* Source/NSSet.m
* Headers/Foundation/NSIndexSet.h:
Implement libdispatch support for block enumeration methods.
* Tests/base/NSMutableIndexSet/blocks.m
* Tests/base/NSDictionary/blocks.m
* Tests/base/NSArray/blocks.m:
Test cases for new code.
Detect the presence of libdispatch and, if available, use it for
collection enumeration methods that take blocks as arguments. This
allows us to implement the NSEnumerationConcurrent option of those
methods with minimal effort.
2012-03-27 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSOperation.m: Remove leftover debugging statements.
2012-03-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
* Source/NSRegularExpression.m:
* Headers/GNUstepBase/GSBlocks.h:
* Headers/Foundation/NSOperation.h:
Get things compiling/linking again with gcc after blocks changes.
2012-03-27 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSOperation.h
* Headers/GNUstepBase/GSBlocks.h:
Fix definitions of blocks without arguments for GCC.
2012-03-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Better support for namespaces. Corrected
-_nodeFollowingInNaturalDirection:, -setStringValue:
and -XMLStringWithOptions:
2012-03-26 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSOperation.h
* Source/NSOperation.m:
Implement -setCompletionBlock: and -completionBlock.
* Headers/GNUstepBase/GSBlocks: Make blocks without arguments callable
* Tests/base/NSOperation/basic.m: Test whether completion blocks work.
2012-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLPrivate.h: Change order of includes to ensure libxml2
headers are seen early.
2012-03-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-rootDocument): Better test for private document.
* Source/NSXMLDTDNode.m (-initWithXMLString:): Use childAtIndex:
instead of rootElement.
2012-03-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-copyWithZone_): Use value 1 instead of 2
for deep copy. Bug found by Doug Simons <doug.simons@testplant.com>.
* Source/NSXMLNode.m (-rootDocument): Don't return the private document.
* Source/NSXMLNode.m (-nextSibling, -previousSibling): Protect
against namspace nodes.
* Tests/base/NSXMLNode/transfer.m: New test case for problem
reported by Doug Simons.
2012-03-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Fix memory leak for attribute private
documents found by valgrind.
* Tests/base/NSXMLNode/namespace.m: Use drain instead of release.
2012-03-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDocument.m (-URI, -setURI:): Specific implementation.
* Source/NSXMLPrivate.h: Remove URI ivar.
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Full support for namespaces.
* Tests/base/NSXMLNode/namespace.m: Test code borrowed from Google
data project.
2012-03-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDocument.m: Correct memory management.
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Add partial support for namespaces.
Try to bracket more libxml2 functions with version checks.
2012-03-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m:
Bracket everything in test of HAVE_LIBXML2
* configure.ac:
* configure:
Alter tests for major dependencies (ICU, XML, TLS) so that they all
abort configuration unless specifically disabled ... we want a
consistent build with all major features.
2012-03-20 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSDictionary.h
* Source/NSDictionary.m:
Implement blocks related enumeration methods.
* Tests/base/NSDictionary/blocks.m:
Test cases for blocks support.
2012-03-20 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h: Define NS_REQUIRES_NIL_TERMINATION
macro.
2012-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h:
Try to make error message more helpful when building with incompatible
exception handling settings.
2012-03-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDTDNode.m: Correct node type, at least for entity nodes.
* Source/NSXMLDTD.m: Use predefined entities from libxml2.
* Source/NSXMLNode.m: Rewrite the ownership transfer to preserve
names in dictionaries.
2012-03-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLPrivate.h: Remvoe unused ivars.
* Source/NSXMLDocument.m: Get DTD from node and and validation in
init methods.
* Source/NSXMLDTD.m: Implement.
* Source/NSXMLNode.m: No children for attribute nodes.
* Tests/base/NSXMLNode/basic.m: Test empty attribute children
2012-03-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Protect the
different format constants with version checks.
2012-03-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDocument.m (-XMLDataWithOptions:): Correct convesion
to NSData. Add some comments.
2012-03-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLPrivate.h: Add comments on owner policy.
* Source/NSXMLNode.m (-XMLStringWithOptions:): Reimplement to
allow closer control over output.
* Source/NSXMLDocument.m (-XMLStringWithOptions:): Remove this method.
2012-03-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLPrivate.h:
* Source/NSXMLNode.m:
* Source/NSXMLElement.m:
Fixups to get the code to build on CentOS/RedHat linux.
2012-03-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-detach): Don't handle the namespace case.
* Source/NSXMLElement.m (-removeNamespaceForPrefix:): Implement.
* Tests/base/NSXMLNode/basic.m: Move tests from here ...
* Tests/base/NSXMLElement/basic.m: ... to here.
2012-03-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m: Correct used namespace field.
* Source/NSXMLNode.m: Implement special handling for namespace nodes.
* Tests/base/NSXMLNode/basic.m: Correct method name for namespace node.
2012-03-11 Richard Frith-Macdonald & Fred Kiefer
* Source/NSXMLNamespace.m:
* Source/GNUmakefile:
* Source/NSXMLPrivate.h:
* Source/NSXMLNode.m:
Revert most of my last change in favour of Fred's changes.
2012-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLNamespace.m: New class for namespaces
* Source/GNUmakefile: Build with new class
* Source/NSXMLDocument.m:
* Source/NSXMLPrivate.h:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m:
Use a new class for namespaces ... just a placeholder/skeleton so far.
Change other classes to know the correct type of their 'node' pointer.
2012-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLNode.m: Avoid crash when trying to get the parent of a
namespace ... namespaces don't have parents and in fact have a
completely different in-memory layout to other 'node' types.
2012-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLHandle.m:
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
* Headers/Foundation/NSURLProtocol.h:
Tweak handling of debug settings to consistently write debug output
using NSLog.
2012-03-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-copyWithZone:): Don't set object value of
copy if it is nil.
* Source/NSXMLNode.m (+_objectForNode:): Use correct sub class for
decl nodes.
* Tests/base/NSXMLNode/basic.m: More tests.
2012-03-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-detach, -_insertChild:atIndex:): Maintain
doc pointer.
* Source/NSXMLDTD.m: Implement a few methods.
2012-03-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (+_objectForNode:): Add a few more libxml2
node types.
2012-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m: Attempt to fix logic for event handling of data
streams.
2012-03-01 Jens Alfke <jens@mooseyard.com>
* Headers/GNUstepBase/NSURL+GNUstepBase.h:
* Source/Additions/NSURL+GNUstepBase.m:
* Source/NSURL.m:
New -pathWithEscapes method to enable differentiation between '/'
characters in the original path and '%2F' escapes in it.
2012-03-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (+initialize): Add workaround for Windows
xmlFree problem.
2012-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: check for parse complete explicitly and
remove case where complete is set to NO if using chunked coding ...
it seems to be jsut wrong.
2012-03-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-copyWithZone:): Use objectValue ivar
directly as the subclass NSXMLElement returns a different value.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSUserDefaults.m:
* Source/NSConnection.m:
* Source/NSCharacterSet.m:
* Tools/make_strings/StringsFile.m:
* Tools/pl.m: Fix instances where NSNotFound is stored in or
compared to an unsigned or int variable.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSString.m: Factor out code for opening an ICU collator
into static function GSICUCollatorOpen. Support
NSDiacriticInsensitiveSearch.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/Foundation/NSString.h (-compare:options:range:locale:):
Rename locale parameter from "dict" to "locale".
* Source/NSString.m (-compare:options:range:locale:): If locale
paramater is not nil and not an NSLocale instance, substitute
+[NSLocale currentLocale].
* Source/NSString.m: Clarify some locale related documentation.
2012-03-05 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSXMLElement/attributes.m: Test for changed
exception.
* Tests/base/NSXMLNode/basic.m: More tests.
* Source/NSXMLNode.m: Rewrite object value handling.
* Source/NSXMLElement.m (-objectValue): Return @"" when the value
is nil.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSString.m (-rangeOfString:options:range:locale:):
Correct result range with ICU codepath
2012-03-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m (-addAttribute:): Raise correct exception.
* Tests/base/NSXMLNode/children.m: Add test cases for attributes.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Tests/base/NSString/locale.m: Expand test of compare:
and rangeOfString:. Mark as hopeful for the moment. All pass
on Mac OS 10.7.
2012-03-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLPrivate.h: Move private method declarations for
NSXMLNode to here.
* Source/NSXMLDocument.m
* Source/NSXMLDTD.m
* Source/NSXMLDTDNode.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m: Clean up and add comments about missing code.
2012-03-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m: Remove all the extra reference handling code
and the special retain and release methods.
* Tests/base/NSXMLNode/basic.m,
* Tests/base/NSXMLNode/children.m: A few more test
cases. Validated on MacOSX 10.6.
2012-03-02 Eric Wasylishen <ewasylishen@gmail.com>
* Tests/base/NSString/locale.m: Add a simple test for locale sensitive
compare: and rangeOfString: methods.
2012-03-02 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSString.m: Fix for ICU anchored backwards search
2012-03-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSLocale.m (GSDefaultLanguageLocale): Add missing check
for LC_MESSAGES definition.
2012-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: fix for bug #35692
2012-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Compatribility fix ... copy strings implicitly
when taking a substring of a string whose buffer is not owned.
2012-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLConnection.m: Compatibility fix for bug #35686
In this case Cocoa breaks its own convention about delegates
not being retained, so we need to do the same.
2012-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/config.h.in: add missing ICU headers
* Source/NSString.m: fix minor coding standard violations.
2012-03-01 Jens Alfke <jens@mooseyard.com>
* Source/NSString.m:
* Source/NSURL.m:
Fix decoding of percent escapes with uppercase hex values
(bug #35685)
2012-03-01 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSString.m: Implement a codepath using ICU for
-compare:options:range:locale: and
-rangeOfString:options:range:locale: when a non-nil locale
is provided.
* Headers/Foundation/NSString.h (-compare:options:range:locale:):
Change type of locale parameter to id; it can be NSDictionary or
NSLocale.
* configure.ac: add some ICU headers used in NSString change
* configure: regenerate
2012-03-01 Graham Lee
* Source/GSNetworks.h: import GSPrivate.h
2012-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURLResponse.h:
* Source/NSURLResponse.m:
Implement new initialiser from 10.7
2012-03-01 Jens Alfke <jens@mooseyard.com>
* Source/NSJSONSerialization.m:
Use %g for numeric output format.
2012-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSRunLoopWatcher.h:
* Source/NSXMLPrivate.h:
* Source/GSRunLoopCtxt.h:
* Source/common.h:
* Source/Additions/NSError+GNUstepBase.m:
* Source/GSURLPrivate.h:
Include config.h via common.h ... and have that turn off _GNU_SOURCE
so GNU extensions aren't used and we stick to standard strerror_r
2012-03-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m: More cleanup.
2012-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLNode.m:
* Source/NSXMLElement.m:
Cleanup to conform to coding standards/conventions.
Fix lots of functions to be local in scope.
Add comments about needing to implement correct object ownership
model.
2012-02-27 Doug Simons <doug.simons@testplant.com>
* Source/NSXMLNode.m: Fix a crashing bug after an invalid xpath
expression is used.
2012-02-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSError+GNUstepBase.m: try to ensure we always get
the POSIX version of strerror_h.
2012-02-27 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSLocale.m:
- Deprecate GSSetLocale and GSSetLocaleC; they now do nothing
but print a warning.
- Introduce GSDefaultLanguageLocale(), which is a
substitute for GSSetLocale(LC_MESSAGES, nil), which just returns the
current setting of LC_MESSAGES.
* Source/NSObject.m (+initialize): Remove GSSetLocaleC call,
which was changing the libc locale.
* Source/NSUserDefaults.m: Use GSDefaultLanguageLocale() instead of
GSSetLocale(LC_MESSAGES, nil)
2012-02-27 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSArchiver.m (-resetArchiver): Write [self systemVersion] as
the archive version instead of 0, because this is what will be stored in
the archive if -encodeRootObject: is not called.
2012-02-27 Eric Wasylishen <ewasylishen@gmail.com>
* SSL/configure.ac: Change test for ssl2_clear in -lssl
to test for SSL_clear, which is a public function and
is acutally used by the SSL bundle. The test for ssl2_clear
was failing with OpenSSL 1.0.0e.
* SSL/configure: Regenerate
2012-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArchiver.m:
* Source/NSUnarchiver.m:
* Source/NSPortCoder.m:
* Version: Update to 12402
Bump subminor version as suggested by eric Wasylishen, in case there
are any archives which would be caugt by the new version number.
2012-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArchiver.m:
* Source/NSUnarchiver.m:
Revise archive format to allow for variable sized array counts ...
original versionallowed for variable encodings of integral types in
archived data, but not for the count of the nuymber of items in the
array :-(
* Source/NSPortCoder.m: Similar fixes for encoding/decoding arrays.
2012-02-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-copyWithZone:): Copy name spaces as well.
* Source/NSXMLDocument.m (-copyWithZone:): Rewrite copy method.
* Source/NSXMLElement.m: Remove copy method.
2012-02-27 Doug Simons <doug.simons@testplant.com>
Merged to trunk by: greg.casamento@gmail.com
* Source/NSXMLDocument.m: Fix bugs in setCharacterEncoding: and
copyWithZone: that cause a memory crash when tree is freed.
Doug Simons <doug.simons@testplant.com>
2012-02-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (+_objectForNode:): Get the actual class from
the document.
* Source/NSXMLNode.m (-description): Add a simple description method.
* Source/NSXMLDocument.m: Further cleanup. Exchange the contents of
-initWithData:... and initWithXMLString:...
2012-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArchiver.m:
* Source/NSUnarchiver.m:
Alter to support encoding and decoding arrays with NSUInteger counts
(ie more than 2^32 objects if on a 64bit system).
2012-02-26 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSData.m: Various 64-bit compatibility fixes, mostly changing
unsgined to NSUInteger.
2012-02-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (execute_xpath): Use correct node for
relative paths.
* Source/NSXMLNode.m (isEqualTree): Correct equality test to
ignore siblings.
* Source/NSXMLNode.m (+elementWithName:stringValue:): Correct
recursive call.
Patch by Ivan Vučica <ivucica@gmail.com>
* Source/NSXMLElement.m: Add FIXME comments for name space methods.
2012-02-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m: Implement namespace methods.
2012-02-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-_nodeFollowingInNaturalDirection:): Correct
this method.
* Source/NSXMLDocument.m,
* Source/NSXMLElement.m: Clean up children methods.
2012-02-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m: Further clean up.
* Source/NSXMLDTDNode.m (-initWithXMLString:): Move comment about
missing code to here.
* Source/NSXMLElement.m (-initWithName:stringValue:): Move subnode
creation to here.
2012-02-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m: Clean up helper functions.
2012-02-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAffineTransform.m (-initWithCoder:, -encodeWithCoder:):
Add key coding and decoding for NSAffineTransform.
2012-02-19 22:37-EST Gregory John Casamento <greg.casamento@gmail.com>
Doug Simons <doug.simons@testplant.com>
* Source/NSXMLDocument.m
* Source/NSXMLDTD.m
* Source/NSXMLDTDNode.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m
* Source/NSXMLPrivate.h: Reimplementation of all DOM classes based on
libxml2. Implementation of all methods using libxml2 functions.
* Tests/base/NSXMLDocument/basic.m
* Tests/base/NSXMLElement/attributes.m
* Tests/base/NSXMLElement/children.m
* Tests/base/NSXMLNode/basic.m
* Tests/base/NSXMLNode/children.m
* Tests/base/NSXMLNode/kinds.m: Changes to test for new functionality.
2012-02-08 Lubomir Rintel <lubo.rintel@gooddata.com>
* Source/NSHTTPCookie.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSURLConnection.m:
* Source/NSURLProtocol.m:
* Source/NSURLRequest.m:
Enable the use of cookies by default ... addse setting of cookies
in requests and improves caching/storing. Original patches rewritten
by maintainer to conform to coding standards and for clarity.
2012-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSConcreteValueTemplate.m: Don't ask a non-retained object
to describe itsself (in case it has gon away) bug#35477
2012-02-07 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for threading library on QNX.
* configure: Regenerate.
2012-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Version: 1.24.1 ... still binary compatibile with 1.24.0
* Source/NSTextCheckingResult.m:
* Headers/Foundation/NSTextCheckingResult.h: coding style tidyups
2012-02-03 Adam Fedor <fedor@gnu.org>
* Bump version
This is required to fix the build of gnustep-make on NetBSD 9.0
Changes since previous version in pkgsrc:
Version 1.8
- Added API for tracing, allowing interposition on all message sends matching a
given selector.
- Numerous bug fixes and stability improvements.
Version 1.7
- A new CMake-based build system. This makes all of the configurable options
available via a clean interface. CPack is supported for building RPM and DEB
packages out of the box.
- A new CTest-based test suite, replacing the old ad-hoc tests.
- Build a single libobjc with support for Objective-C++ on platforms where a
C++ ABI library (libcxxrt or libsupc++) is installed as a shared library.
- Added specialised property accessor functions and support for atomic
properties with C++ non-POD types.
- Significant improvements in property introspection and an exhaustive test
suite.
- Improved integration with libdispatch. The runtime will correctly register
work queues with the garbage collector or create autorelease pools around
block invocations.
- A new exception implementation providing better integration with foreign
exceptions (e.g. C++ exceptions). The new ABI is supported by clang 3.3 when
compiling with -fobjc-runtime=gnustep-1.7 (or higher). The old ABI is still
supported and both can be used within the same program, however code compiled
with the old ABI remains unreliable in the presence of foreign exceptions.
It is strongly recommended that anyone using exceptions with Objective-C++
switches to the new version.
- MIPS64 support in the assembly routines. Currently these are only tested
with the n64 ABI. They are believed to work with n32 and o32, but should be
considered unsupported on these platforms.
- Small algorithmic improvement to the objc_msgSend() implementation, giving
approximately a 10% speedup (architecture-dependent) on message sends.
- Updated optimisation passes to work with LLVM 3.2 and recent LLVM trunk.
This is required to restore the build of gnustep-objc and gnustep-base on
NetBSD 9.0
Change since previous version in pkgsrc
2020-04-05 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE:
* NEWS:
* RELEASENOTES:
* Documentation/news.texi:
* Documentation/releasenotes.texi:
Update release notes for 2.8.0.
* Version:
Bump version to 2.8.0.
2020-02-28 Patryk Laurent <plaurent@me.com>
* target.make: Unified cross-OS class name extraction and unified
for other OSes (Darwin, OpenBSD, MinGW).
2020-02-22 Patryk Laurent <plaurent@me.com>
* target.make: Improved detection of runtime version. Fixed class
name extraction for Darwin, OpenBSD and MinGW32/64.
2020-02-18 Patryk Laurent <plaurent@me.com>
* target.make: Fixed EXTRACT_CLASS_NAMES_COMMAND for runtime v2.
2020-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* library-combo.make: removed GS_WITH_ARC support
* rules.make: added GS_WITH_ARC stuff
* Documentation/gnustep-make.texi: Document the changes ...
We can define GS_WITH_ARC more freely (it is no longer necessary to
define it before common.make). The default compiler flags for ARC
support now include -fobjc-arc-exceptions. We can now define
ARC_CPPFLAGS and ARC_OBJCFLAGS to overide the flags sent to the
preprocessor and compiler/linker when ARC is enabled using GS_WITH_ARC
2019-10-29 Wolfgang Lux <wolfgang.lux@gmail.com>
* GNUmakefile.in:
* Master/source-distribution.make:
Add support for creating Mercurial tags and creating tarballs from
a Mercurial tag.
2018-07-10 Richard Frith-Macdonald <rfm@gnu.org>
* config.make.in:
* configure:
* configure.ac:
* library-combo.make:
* target.make:
Change to use -fobjc-runtime=gcc when building with clang but
targetting the gnu/gcc runtime ABI. Suggested by David as the
correct way to tell clang what runtime it should be targetting.
2018-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/library-combo.7:
* common.make:
* config.make.in:
* configure:
* configure.ac:
* library-combo.make:
Changes removing nonfragile ABI settings I made over a year ago and
somehow failed to commit. With the ng runtime we always use the
nonfragile ABI (since it's required for ARC). With the gnu runtime
we don't have it and can't use it. Anything else is for experts
(and if we want to make that easier it's better done in gnustep-base).
2018-07-05 Wolfgang Lux <wolfgang.lux@gmail.com>
* Instance/framework.make:
* Instance/library.make:
Fix quotation errors in automatically generated testsuite flags.
2018-03-22 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/gnustep-tests.in: When invoked with --verbose
it would be nice to build testscases using messages=yes
2018-03-21 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/framework.make:
* Instance/library.make:
When automatically invoking testsuite for 'make check', pass
additional linker flags to use -rpath so built testcases can
be executed standalone and still use the locally built
library/framework. Idea by David
2018-03-05 Riccardo Mottola <rm@gnu.org>
* target.make
Remove legacy Rhapsody and FreeBSD-out support
2018-03-05 Riccardo Mottola <rm@gnu.org>
* target.make
netbsd: cleanup old X11R6 directories and generally
remove additional dirs
2017-12-10 Ivan Vucica <ivan@vucica.net>
* Master/source-distribution.make
* GNUmakefile.in:
When adding an ANNOUNCE file to the annotated tag, added dependency
on the passed ANNOUNCE file to ensure the temporary file which
prepends 'Release x.yz' gets regenerated while tagging.
2017-12-07 Ivan Vucica <ivan@vucica.net>
* Master/source-distribution.make: Allow creating a Git tag and
creating a tarball from a git tag.
* GNUmakefile.in: Allow creating a Git tag and creating a tarball
from a Git tag, for releasing gnustep-make itself.
2017-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Version: 2.7.0 release
* Documentation/news.texi: 2.7.0 release
* Documentation/releasenotes.texi: 2.7.0 release
* ANNOUNCE:
* INSTALL:
* NEWS:
* README:
* RELEASENOTES:
Regenerate documentation
2017-04-07 Richard Frith-Macdonald <rfm@gnu.org>
* common.make: correct earlier change ... error pointed out by
Galen Rhodes as bug #50751
2016-11-22 Doug Simons <doug.simons@testplant.com>
* target.make: Fix EXTRACT_CLASS_NAMES_COMMAND for Mingw64.
2016-08-19 Giah de Barag <gdb@crelg.com>
* common.make: filter out optimisation flags when in debug mode.
2016-07-10 13:33-EDT Gregory John Casamento <greg.casamento@gmail.com>
* GNUmakefile.in: add pkgconfig.make to INSTANCE_SHARED_MAKE_FILES
variable so it is copied properly.
2016-07-08 Niels Grewe <niels.grewe@halbordnung.de>
* GNUstep.conf.in
* GNUstep.csh.in
* GNUstep.sh.in
* Instance/Shared/pkgconfig.make
* Instance/framework.make
* Instance/library.make
* config-noarch.make.in
* configure
* configure.ac
* messages.make
Preliminary support for pkg-config files. The GNUstep.sh scripts
set the PKG_CONFIG_PATH and $(INSTANCE)_PKGCONFIG_FILES can be used
to specify the files to install.
2016-06-29 Niels Grewe <niels.grewe@halbordnung.de>
* Instance/framework.make: Fix installation of Resources symlinks.
2016-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/releasenotes.texi:
* GNUmakefile.in:
* GNUstep.csh.in:
* GNUstep.sh.in:
* Master/rules.make:
* common.make:
* config-noarch.make.in:
* gnustep-config.in:
* openapp.in:
* opentool.in:
* rules.make:
When building non-flattened, the subdirectory name for
libraries/binaries is changed for Debian compatibility (and simplicity)
to use a directory whose name is of the form architecture/library-combo
rather than nested directories of the form cpu/os-abi/library-combo.
The architecture name format is a sanitised triplet cpu-os-abi (where
previously we had cpu/os-abi).
When building non-flattened, header files are now installed in an
architecture and library-combo dependent subdirectory in the same way
that binary libraries are installed. This removes an inconsistency and
makes sense with Debian multiarch support which puts headers in an
architecture specific subdirectory.
These changes are the first step in making GNUstep work seamlessly
with Debian multiarch. To use them you will need to rebuild your
entire gnustep installation, and in particular build a version of
gnustep-base which has correspoinding changes to know where to look
up resources at runtime.
However, the changes should have no effect on a flattened installation
(currently the default).
2016-05-19 Seong Gu Lee <sgleehd@gmail.com>
* Instance/application.make:
* config.guess:
* config.sub:
* jni.make:
* rules.make:
* target.make:
mingw64 tweaks
2016-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/Summary.sh:
* TestFramework/gnustep-tests.in:
Avoid some pointless warnings when cleaning
2016-05-13 Yavor Doganov <yavor@gnu.org>
* Instance/framework.make:
Forgotten patch to allow multiple versions of a framework to be
installed.
* Documentation/GNUmakefile:
* Instance/Documentation/texi.make:
Forgotten patch to update for newere makeinfo which produces html.
2016-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* GNUmakefile.in:
* TestFramework/gnustep-tests.in:
* config.make.in:
* common.make:
* library-combo.make:
* configure.ac:
* configure:
Minor tweaks... use ARC by default if ng runtime is specified
2016-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* common.make:
* config.make.in:
* configure.ac:
* library-combo.make:
* Documentation/library-combo.7:
* TestFramework/Testing.h:
* configure:
Remove garbage collection support
2016-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Enable strict v2 mode by default
* configure: regenerate
* README.Packaging: Warn about updating ancient makefiles
* Documentation/library-combo.7: Talk about ng runtime
* Version:
* Documentation/news.texi:
* Documentation/releasenotes.texi:
Update prior to new release
2016-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Improve selection of clang when 'ng' runtime library
is selected.
* configure: Regenerate.
* library-combo.make: Add support for ARC with the 'ng' runtime
setting. Enabled by defining GS_WITH_ARC=1 at the start of the
GNUmakefile or in the environment or in the 'make' arguments.
2016-03-02 Niels Grewe <niels.grewe@halbordnung.de>
* Master/documentation.make:
Support skipping the documentation build if documentation=no
is supplied
* Documentation/gnustep-make.texi:
Document the new documentation=no feature (and messages=yes, which
as also missing).
2015-12-11 23:34-EST Gregory John Casamento <greg.casamento@gmail.com>
* common.make: Mute error when trying to parse redhat-version
file.
2015-11-26 Ivan Vucica <ivan@vucica.net>
* ChangeLog:
Fixed dates on some previous entries.
* bake_debian_files:
Fixed a typo: DEB_PRIORTY -> DEB_PRIORITY.
2015-10-26 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/gnustep-tests.in:
Exit with status 1 if there are any test failures, 0 otherwise.
2015-10-24 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/framework.make:
* Instance/library.make:
* TestFramework/gnustep-tests.in:
Improve automated library and framework testcase handling, with
code to tell the testcases where to find the library/framework
headers and what to link with in order to do the tests.
2015-10-21 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/framework.make: Remove unused methods (-frameworkEnv and
-frameworkPath) from the dummy class.
2015-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/gnustep-tests.in: Deprecate Env.sh ... use TestInfo to
set test ewnvironment
* Instance/framework.make: Add rule to invoke gnustep-tests
* Instance/library.make: Add rule to invoke gnustep-tests
* Master/clibrary.make: pass 'make check' to instance
* Master/framework.make: pass 'make check' to instance
* Master/library.make: pass 'make check' to instance
* Master/test-library.make: pass 'make check' to instance
Simple minded initial attempt to make unit testing for libraries and
frameworks easier by having a built-in rule to execute test files in
a subdirectory specified using xxx_TEST_DIR
2015-09-23 Germán Arias <germanandre@gmx.es>
* Documentation/README.MinGW: Fix errors in services path.
2015-08-17 Wolfgang Lux <wolfgang.lux@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 <rfm@gnu.org>
* library-combo.make: Use David's suggested runtime flag for the
next generation (ng) runtime combo.
* configure.ac: Check for compiler blocks support for ng combo.
Fix some program source quoting for newer autoconf
2015-08-08 Germán Arias <germanandre@gmx.es>
* Documentation/README.MinGW: Add instructions to install aspell and
to make a standalone directory to distribute apps.
2015-06-25 Niels Grewe <niels.grewe@halbordnung.de>
* Instance/Shared/java.make: Fix escaping of inner classes when
building jar files.
2015-06-09 Riccardo Mottola <rm@gnu.org>
* config.make.in
* configure.ac
* target.make
Check for nm and gnm as gnu nm, use a $(NM) variable instead of
hard-coding the binary name of nm
* configure
Regerenated
2015-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/news.texi:
* Documentation/releasenotes.texi:
* ANNOUNCE:
* INSTALL:
* NEWS:
* RELEASENOTES:
* Version:
2.6.7 bugfix/improvement release
2015-03-23 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/resource-set.make: Fix bug which could cause a resource
dictionary to be installed inside an existing copy of the same
resource dictionary.
2015-03-04 Germán Arias <germanandre@gmx.es>
* Documentation/README.MinGW: Fix typos.
2015-02-21 Germán Arias <germanandre@gmx.es>
* Documentation/README.MinGW: Add instructions to install cairo
backend.
2015-02-19 Germán Arias <germanandre@gmx.es>
* Documentation/README.MinGW: Update instructions for latest MinGW.
2015-01-19 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/gnustep-tests.in: Report abandoned files as failed.
* TestFramework/Testing.h: Add timing of the duration of sets and a
hook to perform additional reporting etc on set end.
2015-01-15 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/gnustep-tests.in: Check status of Start.sh script so
we refrain from attempting tests in a directory whose startup script
has failed.
2014-12-21: Niels Grewe <niels.grewe@halbordnung.de>
* rules.make
* Instance/Shared/java.make:
Add as_jar option to install the jar file instead of the expanded
class hierarchy.
2014-12-21: Niels Grewe <niels.grewe@halbordnung.de>
* Instance/Shared/java.make
* Instance/java.make
* Instance/rules.make
* Master/java.make
* Master/rules.make
* common.make
* messages.make:
Add a `jar' target to the java project type that allows jars to
be built from all classes in the project.
* Documentation/gnustep-make.texi: Document Java project variables.
2014-06-29 Nicolas Boulenguez <nicolas@debian.org> (tiny change)
* common.make (INTERNAL_CFLAGS): Do not ignore user-specified
CFLAGS.
2014-06-29 Yavor Doganov <yavor@gnu.org>
* Documentation/GNUstep.7:
* Documentation/debugapp.1: Typo fix.
* Documentation/gnustep-tests.1: New.
* GNUmakefile.in (install, uninstall): Handle gnustep-tests.1.
2014-06-07 Ivan Vucica <ivan@vucica.net>
* Master/deb.make: Now adding gnustep-make dependency to the
DEB_BUILD_DEPENDS only when creating _debenv file.
2014-05-11 Ivan Vucica <ivan@vucica.net>
* GNUmakefile.in: Date-time and svn-revision suffix are now using
the tilde character to ensure that the 'actual' commit and 'actual'
tagged release are treated as being newer by the Debian packaging.
Also stopped using periods in date-time.
debfiles target will no longer be automatically run, allowing for
build scripts to do some customization of debfiles inbetween, or
to permit the packager maintain the debfiles separately.
* Master/deb.make: Slightly cleaner build dependency line for
gnustep-make.
The version of gnustep-make we build-depend on is now read using
dpkg -s.
* Master/source-distribution.make: Date-time and svn-revision
suffix are now using the tilde character to ensure that the
'actual' commit and 'actual' tagged release are treated as being
newer by the Debian packaging. Also stopped using periods in
date-time.
2014-05-06 Ivan Vucica <ivan@vucica.net>
* bake_debian_files.sh: If DEB_DEPENDS is non-empty, prepend a
comma.
2014-05-06 Ivan Vucica <ivan@vucica.net>
* GNUmakefile.in: Tarball may now have the SVN revision and
date appended to its version. This is done for svn-snapshot
and svn-export targets to ensure we have a 'unique' .orig.tar.gz
for uploading to the Launchpad PPA. The full name of the tarball
will be saved in a text file usable by scripts.
Tarball also has to be explicitly and separately produced and
optionally specifying DEB_TARBALL_VERSION when building a Debian
package.
Debian control files now can (and need to) be separately built
using the target debfiles.
* Master/source-distribution.make: Similarly to how gnustep-make
can export working copy as a tarball, the target svn-export has
been added to other GNUmakefiles.
Introduced TARBALL_VERSION as an overridable version string in
the tarball name.
Environment variables TARBALL_VERSION_INCLUDE_SVN_REVISION and
TARBALL_VERSION_INCLUDE_DATE_TIME now allow expanding the
tarball version with the svn revision and date+time.
Instead of EXPORT_SVN_NAME, now specifying entire EXPORT_SVN_URL
so that svn-export can specify '.'.
* Master/deb.make: Switched to use of TARBALL_VERSION as the
definitive version string in tarball name.
Added debclean target.
User now has to explicitly make a choice how the dist tarball
will be produced.
Depending on the method, tarball may be placed in the current
or parent directory, so we detect that (and prefer the current
directory).
* bake_debian_files.sh: Now defaulting to target_arch=any so that
the package gets built on all platforms when uploaded on Launchpad,
instead of detecting an arch from gnustep-make and burning that
arch into the source package.
Added support for TARBALL_VERSION.
Fixed a 'command not found' error.
Added support for projects without autotools.
2014-05-05 Ivan Vucica <ivan@vucica.net>
* GNUmakefile.in: Separately building source and binary package,
optionally signing. Support for gnustep-make-ld.so.conf.
* Master/deb.make: Tweaked procedure for building Debian packages
to avoid cleaning when attempting to get 'make' variables that can
be passed on to bake_debian_files.sh as environment variables.
Signing packages is now optional, and source and binary packages
are built separately.
* bake_debian.files.sh: Improved .spec parsing. Introduced
dependency on CDBS (which simplifies customizing of debian/rules)
while automating some edge cases. Handling of DEB_VERSION_SUFFIX.
* configure, configure.ac: Support for --enable-install-ld-so-conf.
* gnustep-make-ld.so.conf.in: Template for the dynamic linker
configuration file ld.so.conf/gnustep-make.conf.
2014-04-07 Ivan Vucica <ivan@vucica.net>
* Master/deb.make, bake_debian_files.sh: Rewrite of .deb-building
system that will produce both a source package and a binary package.
Work in progress; currently only gnustep-make itself builds correctly.
* GNUmakefile.in: Added the svn-export target which uses local files
to do the equivalent of 'make dist'. Switched to new way of building
.deb using bake_debian_files.sh.
* deb-equivs-control.template: No longer necessary; removed.
2014-03-27 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/ObjectTesting.h: Add PASS_MATCH macro for matching
against a regular expresssion.
2014-01-16 Richard Frith-Macdonald <rfm@gnu.org>
* GNUmakefile.in:
Fix a couple more hardcoded 'make' calls.
* Instance/resource-set.make:
* Instance/Shared/bundle.make:
Try to get xxx_RESOURCE_DIR woreking consistently for all resources.
2014-01-12 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* config.make.in, GNUmakefile.in:
Do not hardcode "make". It already gets detected via configure,
so use the found name, especially on *BSD systems where its called
gmake
2014-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* GNUmakefile.in: Implement Sebastian's suggestions for make targets
to build/install documentation with or without gnustep-make as a
convenience for packagers.
* Documentation/GNUmakefile: Use uninstalled gnustep-make from
enclosing directory if available ... based on idea by Niels and
code/comments by Markus.
2014-01-06 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/Documentation/texi.make:
Revert change from 2009-09-19 since texi2html now seems to be
behaving as expected. However, attempt to move any html files
from the subdirectory in case we are using a version which still
puts them there.
2014-01-06 Richard Frith-Macdonald <rfm@gnu.org>
* INSTALL:
* Documentation/GNUmakefile:
Make it clearer (ie very explicit) that you need to install
gnustep-make in order to install documentation.
2013-12-25 Fred Kiefer <FredKiefer@gmx.de>
* Instance/rules.make: Add detection for different forms of
the Info.plist.
* Instance/application.make,
* Instance/bundle.make,
* Instance/framework.make,
* Instance/gswapp.make,
* Instance/palette.make,
* Instance/service.make: Use GNUSTEP_PLIST_DEPEND directly.
2013-12-25 Fred Kiefer <FredKiefer@gmx.de>
* config.make.in: Use the correct CXX compiler. Fixes bug #36722.
Patch by Johannes Lundberg <johannes@brilliantservice.co.jp>.
2013-12-24 Richard Frith-Macdonald <rfm@gnu.org>
* Version:
* Documentation/news.texi:
* Documentation/releasenotes.texi:
Make minor bugfix release ... Version 2.6.6
Update release notes/documentation
2013-12-12 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Master/tool.make: on clean only delete the subdirectory that gets
created when calling make.
2013-12-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* target.make: Add -keep_private_externs to linker flags on OS X
when merging the object files of a subproject for compatibility
with other platforms.
2013-12-06 Adam Fedor <fedor@gnu.org>
* target.make: Add no-omit-framepointer on mingw32
2013-09-20 Ivan Vucica <ivan@vucica.net>
* Master/deb.make: File enumeration now uses 'find'. Fixed
problem where files outside 'Local' were being accidentally
dropped from the package. Symlinks are now also included
in the installed file list.
* GNUmakefile.in: Symlinks are now also included in the
installed file list.
2013-09-20 Ivan Vucica <ivan@vucica.net>
* deb-equivs-control.template: Added forgotten file.
2013-09-20 Ivan Vucica <ivan@vucica.net>
* GNUmakefile.in: Added deb.make. Also added new target,
'deb' which (using 'equivs-build') produces a Debian package
for gnustep-make.
* Master/deb.make: This file provides new targets 'deb' and
'debfile'. To produce a .deb package, you will need to install
package named 'equivs'. At the moment, manual patching of
/usr/bin/equivs-build is also necessary; please review comments
inside Master/deb.make for further information.
2013-07-27 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: 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.
* configure: Regenerated.
2013-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Revert last change to get nonfragile abi detection
working on gnu/linux and freebsd again (not tested on other platforms).
* configure: Regenerated.
2013-07-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: Rewrite test whether the compiler supports the
non-fragile ABI once more, so that it now reports the correct
result.
* configure: Regenerated.
2013-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Version:
* Documentation/news.texi:
* Documentation/releasenotes.texi:
Make minor bugfix release ... Version 2.6.5
Update release notes/documentation
2013-07-14 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: Rewrite test whether the compiler supports the
non-fragile ABI with portable code that does not rely on a BSD
compatible echo command.
* configure: Regenerated.
2013-07-04 Richard Frith-Macdonald <rfm@gnu.org>
* rules.make: Fix order of includes directories ... SYSTEM_INCLUDES
should come last so that conflices between files of the same name in
different directories are resolved in the correct/expected order.
2013-06-17 Stefan Bidi <stefanbidi@gmail.com>
* TestFramework/gnustep-tests.in: add support for .c and .cc files
2012-04-08 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/ObjectTesting.h: Fix error performing equality test
in copying protocol test macro.
2012-03-28 Richard Frith-Macdonald <rfm@gnu.org>
Make release
* Version 2.6.4
Update release notes/documentation
2012-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* TestFramework/Testing.h: Use -isEqualForTestcase: for PASS_EQUAL
macro equality testing if the expected value responds to it.
Add informal protocol declaring -isEqualForTestcase:
* TestFramework/ObjectTesting.h: Convert protocol checking functions
to macros (so error messages get file/line number information) and
get copy and coding before/after equality checks to use the
PASS_EQUAL macro so that we can easily make customised tests by
implementing -isEqualForTestcase: for the class being tested.
2012-03-16 Emmanuel Maillard <mailing-lists@e-maillard.com>
* target.make: Add target for android
2012-03-08 Jean-Charles BERTIN <jc.bertin@axinoe.com>
* TestFramework/gnustep-tests.in: Fix typo
2012-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* common.make: Remove -shared-libgcc linker flag
* configure.ac: Add check for clang and add -shared-libgcc to linker
flags if we aren't using it (using gcc) but are using exceptions.
Tidy a little.
Patch based on contribtion by Jean-Charles Bertin.
2012-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Version ... bump subminor number in preparation for next release.
2012-03-01 Richard Frith-Macdonald <rfm@gnu.org>
Make release
* Version 2.6.3
* Update release notes
2013-02-20 Nicola Pero <nicola.pero@meta-innovation.com>
* Instance/framework.make: Removed trailing '/' after
$(GNUSTEP_TARGET_LDIR) in a couple of cases, to fix building on
non-flattened layout.
2012-01-31 Richard Frith-Macdonald <rfm@gnu.org>
* rules.make: A couple more printout targets for managing installation
of libobjc2 if gnustep-config is not available (eg not in PATH) but
GNUSTEP_MAKEFILES is defined.
2012-09-24 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Improve last change based on suggestions by David
Chisnall.
* configure: Regenerate.
2012-09-24 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Also try to detect whether the nonfragile ABI is the
compiler default.
* configure: Regenerate.
2012-09-01 Niels Grewe <niels.grewe@halbordnung.de>
* target.make: Define QNX target.
2012-08-15 Stansilav Yaglo <stanislav-yaglo@yandex.ru>
* Instance/framework.make: Patch #7822. Make dummy framework classes
subclasses of NSObject.
2012-07-05 Quentin Mathe <quentin.mathe@gmail.com>
* configure.ac: Fixed ObjC non fragile ABI check to restore CFLAGS
correctly, --enable-objc-nonfragile-abi was breaking native exceptions
detection. Based on a patch by Christopher Armstrong, see bug report
#36186
* configure: Regenerated.
2012-02-21 Nicola Pero <nicola.pero@meta-innovation.com>
* GNUstep.sh.in: Use "setopt shwordsplit" instead of "set -y" to
get zsh to emulate sh's traditional word split behaviour.
Suggestion by Alex Merry.
2012-02-21 Nicola Pero <nicola.pero@meta-innovation.com>
* FilesystemLayouts/README: Updated for the fact that 'fhs' is now
the default filesystem layout. Issue pointed out by Fred Kiefer
<FredKiefer@gmx.de>.
2012-02-21 Graham Lee <iamleeg@gmail.com>
* library-combo.make (OBJC_LIBS): Always set from OBJC_LIB_FLAG
when using the 'apple' runtime.
2012-02-17 Adam Fedor <fedor@gnu.org>
* Master/nsis.make: Add support for library and framework packages
Changes:
2.26.1
------
This release is to address the security issue: CVE-2020-5260
* With a crafted URL that contains a newline in it, the credential
helper machinery can be fooled to give credential information for
a wrong host. The attack has been made impossible by forbidding
a newline character in any value passed via the credential
protocol.
Credit for finding the vulnerability goes to Felix Wilhelm of Google
Project Zero.
Yell - Your Extensible Logging Library. Define multiple adapters,
various log level combinations or message formatting options like
you've never done before
This library provides GObjects and helper methods to make it easy to read and
write AppStream metadata. It also provides a simple DOM implementation that
makes it easy to edit nodes and convert to and from the standardized XML
representation. It also supports reading of Debian-style DEP-11 metadata.
What this library allows you to do:
* Read and write compressed AppStream XML files
* Read compressed Debian YAML files
* Add and search for applications in an application store
* Get screenshot image data and release announcements
* Easily retrieve the best application data for the current locale
* Efficiently interface with more heavy-weight parsers like expat
5.2.0 Includes several bugfixes and internal logic improvements.
- Produce better traceback when kernel is interrupted
- Add ``InProcessKernelClient.control_channel`` for compatibility with jupyter-client v6.0.0
- Drop support for Python 3.4
- Work around issue related to Tornado with python3.8 on Windows
- Prevent entering event loop if it is None
- Use ``shell.input_transformer_manager`` when available
The gopls command is an LSP server for Go. The Language Server Protocol
allows any text editor to be extended with IDE-like features; see
https://langserver.org/ for details.
0.86 Wed Jan 8 21:19:58 PST 2020
- Fix various test problems
0.85 Mon Jan 6 07:33:52 PST 2020
- Fix a taint issue @mohawk2++
0.84 Mon Jan 6 07:04:31 PST 2020
- https://github.com/ingydotnet/inline-pm/pull/75 Make correct PERL5LIB to
pass on including -I flags @mohawk2++
(pkgsrc)
- Add two TEST_DEPENDS
(upstream)
1.30 2020-03-23 21:16 America/New York
* SUBSTANCE: On MSWin32, make Win32::Process a prerequisite (needed
for non-Strawberry Perl builds). As recommended by A Sinan Unur.
1.29 2020-03-22 08:22 America/New York
* SUBSTANCE: Better workaround for bug in perl-5.8.9
(GHI 23); contributed by Slaven Rezić.
1.28 2020-03-21 21:39 America/New York
* SUBSTANCE: Improved handling of shell commands on Windows,
mostly per suggestions by David Wheeler. This should get us
closer to resolving Win32-related issues. (There should be no
change of functionality on Unix-like platforms.)
* TESTING: Add t/args.t per David Wheeler. Modify t/win32.t per
@dylanstreb.
* META: Added Travis and AppVeyor configuration files.
Eliminated use of Dist::Zilla for build. Using older, but
more reliable and better understood (by maintainer)
ExtUtils::MakeMaker-based configuration. Add LICENSE, README,
Makefile.PL, MANIFEST and MANIFEST.SKIP; remove dist.ini. Move author
testing to xt/directory.
1.28_001 2020-03-21 16:42 America/NewYork
TRIAL RELEASE only
Attempting to resolve numerous Win32 issues
1.26 2020-01-24 20:47 America/NewYork
* BUILD: Update FAIL_POSIX warning message
Per: https://github.com/pjf/ipc-system-simple/pull/28. Thanks to scop.
* TEST: t/07_taint.t: Use executable name as source of taintedness
Addresses https://github.com/pjf/ipc-system-simple/issues/21
Thanks to Petr Písař.
* OTHER: Typographic corrections:
rt.cpan.org 60211; leonerd++
rt.cpan.org 86403; dsteinbrunner++
Add Travis configuration.
1.26-TRIAL 2020-01-24 03:43:20 GMT
TRIAL release only
0.04 Sat Jan 18 2020
- Switch to EU::MM
- Address a few deficiencies in the way how the stty() sub processes its arguments
- Enable testing on Github actions.
version 1.005: Wed Jun 18 09:02:28 CEST 2008
- require perl 5.6.0 [cpantesters]
- minor distribution clean-ups
version 1.004: Fri Jun 8 15:37:31 CEST 2007
- fixed 2 typo's in POD (Thanks to CPANTS)
- add t/pod.t
- use oodist to create docs.
0.25 2020-02-12T22:20:48Z
- Add the delete_pipeline method.
0.24 2020-02-12T22:09:39Z
- Add all the container registry methods.
- Add http_tiny_request and http_tiny_response to ::RESTClient. This
should help people debug issues easier.
(pkgsrc)
- convert BUILD_DEPENDS to TEST_DEPENDS
(upstream)
0.105 2020-02-26 09:40:36+11:00 Australia/Melbourne
- one_of suboptions now get accessors (thanks, Michael McClimon!)
0.16.0, 2020-03-24
* No major updates but Python 2 support no longer guaranteed.
* Fix#192, 'ignore_extra' for 'pvector_field'. Thanks @ss18 for this!
* Fix#191, include LICENCE in distribution. Thanks @johnthagen for this!
* Fix#190, minor MyPy errors. Thanks @Qhesz for this!
Very big release! This includes a lot of bug fixes, large portions of the
code rewritten, and some features deprecated or removed. We hope not to
break anyone's code, but we won't keep bugs for compatibility's sake. If
your code broke and the change isn't in the list below, please open an
issue in our tracker.
New:
* Added warning flags to RGBASM: by default, most warnings are disabled
now. Please see man rgbasm for more info
* "LOAD blocks" simplify writing code that should run in RAM; users of
unofficial program rgbbin may want to look into this
* Shiny new assertions, whose checking can be deferred to RGBLINK
* "Unionized" sections offer a sort of cross-file UNION
* More flags in the RGBASM -M family for better automatic dependency
management
* Bracketed symbols can be nested (example)
* SHIFT can now shift multiple times at once
* Long options (such as --version for -V) have been added to all
programs
* RGBASM now accepts escape \r in strings
* INCBIN now works with unseekable files as well
Deprecations and removals:
* As part of a cleanup effort, features previously marked as deprecated
have been removed, such as the CODE section type
* Labels not starting with a dot nor followed by a colon have been
deprecated; in a future version, they will be treated as macro
invocations
* Deprecated OPT z in favor of new and more consistent OPT p
* Deprecated GLOBAL symbol (and its synonym XDEF), as it has the same
effect as EXPORT
* Removed "section-local" charmap (deprecated in 0.3.9)
Changes:
* .sym and .map files are now output sorted
* The argument to rst does not need to be known to RGBASM anymore (so
labels can be used at all times)
* Only labels may have dots in their name now
* Labels beginning with a dot may have whitespace before their
declaration
* DEF() now accepts labels as arguments
* ROMX and WRAMX sections can be used in RGBLINK's -t and -w modes,
respectively
* RGBLINK will report more detailed "error stacks", like RGBASM
* RGBASM tries harder to treat expressions as "constant"
* Second byte of stop can be specified without resorting to using db
For further information on new or changed features, please refer to our
documentation.
Fixes:
* gbz80(7) had incorrect flag descriptions for sub
* Arguments to RGBASM -i have a / implicitly appended if they don't end
with one
* = was treated as identical to set, so = 7, [hl] was valid; this has
been fixed
* Corrected wrong line reporting with REPT blocks
* Changing sections now resets the label scope
* Built-ins and symbols referenced in link-time expressions can no
longer be PURGEd
* __ISO_8601_UTC__ and __ISO_8601_LOCAL__ symbols fixed on Windows (with
a caveat for the latter)
Notes:
* RGBDS is now compiled with optimizations by default. To disable
optimizations, use make CFLAGS=-O0. To compile in "debug mode", build
using make develop instead of make; this requires a fairly specific
configuration, though, and might not work for you.
* Performance of RGBASM and RGBLINK should have been improved (beyond
the above), but we would need help from someone experienced with YACC
/ Bison to make more significant changes
* Reliability across systems and platforms has been improved:
* RGBASM parser grammar has been cleaned up
* Undefined behavior has been removed from various programs
* Nightly builds are available for each commit now ("Actions" tab ⇒
"Regression testing" ⇒ click on the commit name)
* Docs have received an overhaul, including a more responsive and
mobile-friendly styling
* General system stability improvements to enhance the user's experience
4.0.2:
* Add more data for ``ko_KR`` address provider.
* Improved ``pt_PT`` locale for address and bank.
* Add ``port_number`` method to internet provider.
* Add color provider for ``fa_IR`` locale.
* Add formatting options for ``pt_BR`` postcodes.
* Add ``country_calling_code`` to ``phone_number`` provider.
* Fix leap year issue.
* Add ``AutomotiveProvider`` for ``fr_FR`` locale.
* Fix ``cellphone_formats`` in ``pt_BR`` ``PhoneNumberProvider``.
GLib 2.64.2
* Bugs fixed:
- Glib uses _Static_assert in C++17 mode
- gdbus error messages contains mixed up body and head signatures
- Backport !1420 “gmacros.h: avoid using _Static_assert in C++17 mode” to glib-2-64
- Backport various patches to glib-2-64
- docs: Fix configuration with gtk_doc=true and installed_tests=false
- Add missing 'extern' to the dllexport version of GLIB_VAR/GOBJECT_VAR
- Fix arch detection ifdefs in glib/valgrind.h
- glib-unix.c: fix heap corruption in g_unix_get_passwd_entry
- docs: Mention new gio tool options
- gdbusmessage: Fix swapped signatures in error messages
- Backport “gfile: Fallback to fast-content-type if content-type is not set” to glib-2-64
* Translation updates:
- Hebrew
- Romanian
- Ukrainian
1.0.0
Remove Python 2 support from the msgpack/_cmsgpack. msgpack/fallback still supports Python 2.
Remove encoding option from the Packer and Unpacker.
Unpacker: The default value of max_buffer_type is changed to 100MiB.
Unpacker: strict_map_key is True by default now.
Unpacker: String map keys are interned.
Drop old buffer protocol support.
Support Timestamp type.
Support serializing and decerializing datetime object with tzinfo.
Unpacker: Fix Unpacker.read_bytes() in fallback implementation.
0.6.2
Support Python 3.8.
Update Cython to 0.29.13 for support Python 3.8.
Some small optimizations.
0.6.1
This release is for mitigating pain caused by v0.6.0 reduced max input limits for security reason.
unpackb(data) configures max_*_len options from len(data), instead of static default sizes.
Unpacker(max_buffer_len=N) configures max_*_len options from N, instead of static default sizes.
max_bin_len, max_str_len, and max_ext_len are deprecated. Since this is minor release, it's document only deprecation.
0.6.0
This release contains some backward incompatible changes for security reason (DoS).
Important changes
unpacker: Default value of input limits are smaller than before to avoid DoS attack. If you need to handle large data, you need to specify limits manually.
Unpacker doesn't wrap underlaying ValueError (including UnicodeError) into UnpackValueError. If you want to catch all exception during unpack, you need to use try ... except Exception with minimum try code block.
PackValueError and PackOverflowError are also removed. You need to catch normal ValueError and OverflowError.
Unpacker has strict_map_key option now. When it is true, only bytes and str (unicode in Python 2) are allowed for map keys. It is recommended to avoid hashdos. Default value of this option is False for backward compatibility reason. But it will be changed True in 1.0.
Other changes
Extension modules are merged. There is msgpack._cmsgpack instead of msgpack._packer and msgpack._unpacker.
Add Unpacker.getbuffer() method.
unpacker: msgpack.StackError is raised when input data contains too nested data.
unpacker: msgpack.FormatError is raised when input data is not valid msgpack format.
version 3.2.1
* Fix snprintf return value checking
* Remove some warnings
* Fix fbuffer result checking
* Fix temporary object handling
* Improve cmake support
* Fix invalid `int main` parameter
* Improve supporting platform
* Fix ZLIB error handling
* Remove unused variable
* Improve integer overflow checking
version 3.2.0
* Fix invalid include
* Add timespec support
* Fix unchecked fnprintf on C
* Improve integer overflow checking on C
* Fix warnings on `-Wconversion`
* Fix invalid passed by value on aligned_zone_size_visitor
* Improve windows support
* Fix msgpack::object size caluclation error
* Fix memory error on example code
* Fix redundant memory allocation on C
* Fix msgpack::type::tuple base class conversion
September 20th, 2019: GDB 8.3.1 Released!
This is a minor corrective release over GDB 8.3, fixing the following
issues:
* 20020 (GDB segfault on printing objects)
* 24454 (nat/x86-linux-dregs.c:146: internal-error: void
x86_linux_update_debug_registers(lwp_info*): Assertion `lwp_is_stopped
(lwp)' failed)
* 24541 (Incorrect evaluation of systemtap probes due to
register being signed and probe expression assuming unsigned)
* 24545 (Symbol loading performance regression with cc1)
* 24592 (amd64->i386 linux syscall restart problem)
* 25009 (terminate called after throwing an instance of
'srchilite::ParserException')
* 25010 (Calls to error () can cause SIGTTOU to send gdb to the
background)
* 25011 (Breakpoints on file reloads broken for PIE
binaries)
This corrective release also brings the following testsuite fixes and
enhancements:
* 25005 (gdb-caching-proc.exp takes a lot of time on
skip_opencl_tests)
* 25016 (Test-case failures for -pie)
May 11th, 2019: GDB 8.3 Released!
This version of GDB includes the following changes and enhancements:
* Support for new native configurations (also available as a target
configuration):
- RISC-V GNU/Linux (riscv*-*-linux*)
- RISC-V FreeBSD (riscv*-*-freebsd*)
* Support for new target configurations:
- CSKY ELF (csky*-*-elf)
- CSKY GNU/Linux (csky*-*-linux)
- NXP S12Z ELF (s12z-*-elf)
- OpenRISC GNU/Linux (or1k*-*-linux*)
* Native Windows debugging is only supported on Windows XP or later.
* The Python API in GDB now requires Python 2.6 or later.
* GDB now supports terminal styling for the CLI and TUI. Source
highlighting is also supported by building GDB with GNU Highlight.
* Experimental support for compilation and injection of C++ source code
into the inferior (requires GCC 7.1 or higher, built with libcp1.so).
* GDB and GDBserver now support IPv6 connections.
* Target description support on RISC-V targets.
* Various enhancements to several commands:
- "frame", "select-frame" and "info frame" commands
- "info functions", "info types", "info variables"
- "info thread"
- "info proc"
- System call alias catchpoint support on FreeBSD
- "target remote" support for Unix Domain sockets.
* Support for displaying all files opened by a process
* DWARF index cache: GDB can now automatically save indices of DWARF
symbols on disk to speed up further loading of the same binaries.
* Various GDB/MI enhancements.
* GDBserver on PowerPC GNU/Linux now supports access to the PPR, DSCR,
TAR, EBB/PMU, and HTM registers.
* Ada task switching support when debugging programs built with the
Ravenscar profile added to aarch64-elf.
* GDB in batch mode now exits with status 1 if the last executed command
failed.
* Support for building GDB with GCC's Undefined Behavior Sanitizer.
See the NEWS file for a more complete and detailed list of what this
release includes.
December 23rd, 2018: GDB 8.2.1 Released!
This is a minor corrective release over GDB 8.2, fixing the following
issues:
* 23516 (gdb build error under msys+mingw: strip can't handle
gdb-add-index.exe)
* 23623 (install-strip fails)
* 23626 (gdb crashes in upstream rust nil-enum test)
* 23650 (rust field name access error mentions "foo")
* 23663 (gdb 8.1.1: undefined rpl_stat function with musl
toolchains)
* 23669 (gdb.execute("show commands") doesn't work)
* 23714 (Command repetition stops working after gdb.execute)
* 23838 (8.2 regression for invalid -data-directory)
* 23974 ("info os" crash when specifying invalid object)
* 23999 (SYMBOL_LANGUAGE assertion failure on AIX)
* 24003 (Error when binary searching CUs for a specific DIE when
using DWZ)
September 5th, 2018: GDB 8.2 Released!
This version of GDB includes the following changes and enhancements:
* Support for the following target has been added:
- RiscV ELF (riscv*-*-elf)
* Support for following targets and native configurations has been
removed:
- m88k running OpenBSD (m88*-*-openbsd*)
- SH-5/SH64 ELF (sh64-*-elf*)
- SH-5/SH64 (sh*)
- SH-5/SH64 running GNU/Linux (sh*-*-linux*)
- SH-5/SH64 running OpenBSD (sh*-*-openbsd*)
* Various Python API enhancements
* Aarch64/Linux enhancements:
- SVE support.
- Hardware watchpoints improvements for entities stored at unaligned
addresses.
- New "c" response to disable the pager for the rest of the
current command.
- C expressions can now use _Alignof, and C++ expressions can now
use alignof.
- Improved flexibility for loading symbol files.
- The 'info proc' command nows works on running processes on
FreeBSD systems as well as core files created on FreeBSD
systems.
- A new --enable-codesign=CERT configure option to automatically
codesign GDB after build (useful on MacOS X).
See the NEWS file for a more complete and detailed list of what
this release includes.
0.44 2020-03-25
[CHANGES]
* Added ->result; use that in unit tests and docs where appropriate
* Slight performance boost in internals by direct field access rather
than accessor methods
* Document ->await properly; make it wait until ready
* Discourage ->block_until_ready
0.43 2020-01-07
[CHANGES]
* Implement the Future::AsyncAwait::Awaitable API methods directly
9999.30
- Altered the atomic version of write_file to use temporary files that
are also hidden files. (RT #132064)
9999.29 2019-11-27
- Correct some documentation errors where copy-paste had us saying
File::Spec rather than File::Slurp. (RT 131097 - Thanks, Mike)
- Reduce the size of the tests in t/handle.t to be nicer to CPAN
Testers.
4.33 Wed Mar 18 13:31:12 CET 2020
- the enable assertion makefile question failed to enable
assertions due to a typo.
- try harder to avoid perl's assert () which does not actually
behave correctly.
- updated libecb to make it compile under more windows environments.
4.4.2:
Sylvan Mosberger (https://github.com/Infinisil) contributed a patch to
some doctests that were breaking on NixOS.
John Vandenberg (https://github.com/jayvdb) made a case for removing the usage
of `__file__`, that was breaking PyOxidizer.
Miro Hrončok (https://github.com/hroncok) contributed some fixes for the
future Python 3.9.
Hugo van Kemenade (https://github.com/hugovk) contributed some fixes for the
future Python 3.10.
2.4.0:
Improvements
* Add support for Python 3.7, 3.8 and PyPy3.
* Drop support for Python 3.4 (EOL).
* Avoid using eval().
* PyCharm IDE unittest detection compatibility fix.
* Drop support for Python 3.3 (EOL).
* Spelling fixes.
* Python 3.6 invalid escape sequence deprecation fixes.
Fix incorrect work of set_* where hash function generates full
ulong_t hash value
hsh_string_hash generates full 64bit hash value on platforms where
sizeof(long) == 8
Improve build and test system
tests/err: minor fix, target "test" should not remove _mkc_* and .o files
Avoid trailing \n in format argument for err_* functions, no need
for it any longer
tests/err/errtest.c: fix another compilation failure due to __wur
(warning used result)
0.8.0:
- Expose what patterns matched paths. Added `util.detailed_match_files()`.
- `match_tree()` doesn't return symlinks.
- Add `PathSpec.match_tree_entries` and `util.iter_tree_entries()` to support directories and symlinks.
- API change: `match_tree()` has been renamed to `match_tree_files()`. The old name `match_tree()` is still available as an alias.
- API change: `match_tree_files()` now returns symlinks. This is a bug fix but it will change the returned results.
2.2.0:
- Include column information in error messages
- Fix ``@overload`` detection with other decorators and in non-global scopes
- Fix return-type annotation being a class member
- Fix assignment to ``_`` in doctests with existing ``_`` name
- Namespace attributes which are attached to ast nodes with ``_pyflakes_`` to
avoid conflicts with other libraries (notably bandit)
- Add check for f-strings without placeholders
- Add check for unused/extra/invalid ``'string literal'.format(...)``
- Add check for unused/extra/invalid ``'string literal % ...``
- Improve python shebang detection
- Allow type ignore to be followed by a code ``# type: ignore[attr-defined]``
- Add support for assignment expressions (PEP 572)
- Support ``@overload`` detection from ``typing_extensions`` as well
- Fix ``@overload`` detection for async functions
- Allow ``continue`` inside ``finally`` in python 3.8+
- Fix handling of annotations in positional-only arguments
- Make pyflakes more resistant to future syntax additions
- Fix false positives in partially quoted type annotations
- Warn about ``is`` comparison to tuples
- Fix ``Checker`` usage with async function subtrees
- Add check for ``if`` of non-empty tuple
- Switch from ``optparse`` to ``argparse``
- Fix false positives in partially quoted type annotations in unusual contexts
- Be more cautious when identifying ``Literal`` type expressions
CMake 3.17.1
* ExternalProject: allow `DOWNLOAD_NO_EXTRACT OFF`
* Makefiles: Fix silencing of nested calls for GNU make 4.3
* VS: Fix ClangCL toolset compiler path detection
* Ninja Multi-Config: Fix MSVC showincludes prefix detection
* CheckIPOSupported: Avoid polluting cache with common name 'result'
* CTest: Fix reported duration on timeout when grindchild keeps pipes open
* target_link_libraries: Fix regression in case of $ genex
* AIX: Install ExportImportList script with execute permission
* XL: C++14 language level flags are only available on Linux
* XL: Add comment clarifying why we pretend it has full C++11/14 support
* CPack/NSIS: Document and check requirement of at least NSIS 3.0
* Utilities/Release: Update to openssl 1.1.1f
* Apple: Improve handling of missing SDKs in CMAKE_APPLE_ARCH_SYSROOTS
* Apple: Fix mapping CMAKE_APPLE_ARCH_SYSROOTS to custom OSX_ARCHITECTURES
* cmCursesLongMessageForm: Factor out helper to draw message to form
* Help: Minor typos and formatting for XCODE_SCHEME_WORKING_DIRECTORY
* Help: Add missing XCODE_SCHEME_WORKING_DIRECTORY
* Help: Fix inaccuracies and omissions in MACHO_* property docs
* Help: Fix CMAKE_FIND_DEBUG_MODE list formatting
* Help: Improve discoverability of CMAKE_FIND_DEBUG_MODE
* cmake-gui: Fix use-after-free in Open-possible check
* Help: Fixed typo in CMAKE_INSTALL_RPATH_USE_LINK_PATH.rst
* Help: Move Ninja Multi-Config variable details into their respective pages
* Ninja: Make config uppercase in object order target
* llvm-rc: Enable preprocessing if CMAKE_RC_COMPILER_INIT is an absolute path
* FindPython: misc. fixes
* FindPython: fix variable spelling error
* FindPython: fix handling when FIND_VIRTUALENV == FIRST
* ccmake: Use incremental rendering for the logs
* llvm-rc: Select preprocessor from active languages
* llvm-rc: Write depfile to location specified by the generator
* llvm-rc: Print stderr output when calling tools through cmake_llvm_rc
* llvm-rc: Restore include path for data after explicit preprocessing
1.10.2
* Added --1 flag to self-update command which can be added to automated self-update runs to make sure it won't automatically jump to 2.0 once that is released
* Fixed path repository symlinks being made relative when the repo url is defined as absolute paths
* Fixed potential issues when using "composer ..." in scripts and composer/composer was also required in the project
* Fixed 1.10.0 regression when downloading GitHub archives from non-API URLs
* Fixed handling of malformed info in fund command
* Fixed Symfony5 compatibility issues in a few commands
1.10.3
* Fixed invalid --2 flag warning in self-update when no channel is requested
Release 1.10.0
1.10.0 Release reflects a current version of the project.
The 1.10.x will not consider any requests for any new features, The bug fix
requests will only be considered if proven "critical"
High Level Changes:
This release deprecated "....TEST_CASE" API in favor of "....TEST_SUITE". In a
nutshell if you have code that uses something like
"INSTANTIATE_TYPED_TEST_CASE_P " - this and all other "*_TEST_CASE " are now
deprecated in favor of more standard _TEST_SUITE.
There is also new powerful MOCK_METHOD macro.
1.2.0:
- Drop support for Python 3.5
- Upgrade to libgit2 1.0
- New support for custom reference database backends
- New support for path objects
- New ``index`` optional parameter in ``Repository.checkout_index``
- New MacOS wheels
- Fix re-raise exception from credentials callback in clone_repository
- Fix warning with ``pip install pygit2``
- Tests: disable global Git config
Version 2.4.7
- Backport of selected fixes from 3.0.0 work:
. Each bug with Regex expressions
. And expressions not properly constructing with generator
. Traceback abbreviation
. Bug in delta_time example
. Fix regexen in pyparsing_common.real and .sci_real
. Avoid FutureWarning on Python 3.7 or later
. Cleanup output in runTests if comments are embedded in test string
v1.6.0
Added module and attr attributes to EntryPoint
v1.5.2
Fix redundant entries from FastPath.zip_children.
v1.5.1
Improve reliability and consistency of compatibility imports for contextlib and pathlib when running tests.
v1.0
----
This is release v1.0 "Luftschloss", which is the first stabe release of
libgit2. The API will stay compatible across all releases of the same major
version. This release includes bugfixes only and supersedes v0.99, which will
stop being maintained. Both v0.27 and v0.28 stay supported in accordance with
our release policy.
### Changes or improvements
- CMake was converted to make use of the GNUInstallDirs module for both our
pkgconfig and install targets in favor of our custom build options
`BIN_INSTALL_DIR`, `LIB_INSTALL_DIR` and `INCLUDE_INSTALL_DIR`. Instead, you
can now use CMakes standard variables `CMAKE_INSTALL_BINDIR`,
`CMAKE_INSTALL_LIBDIR` and `CMAKE_INSTALL_INCLUDEDIR`.
- Some CMake build options accepted either a specific value or a boolean value
to disable the option altogether or use automatic detection. We only accepted
"ON" or "OFF", but none of the other values CMake recognizes as boolean. This
was aligned with CMake's understanding of booleans.
- The installed pkgconfig file contained incorrect values for both `libdir` and
`includedir` variables.
- If using pcre2 for regular expressions, then we incorrectly added "pcre2"
instead of "pcre2-8" to our pkgconfig dependencies, which was corrected.
- Fixed building the bundled ntlmclient dependency on FreeBSD, OpenBSD and
SunOS.
- When writing symlinks on Windows, we incorrectly handled relative symlink
targets, which was corrected.
- When using the HTTP protocol via macOS' SecureTransport implementation, reads
could stall at the end of the session and only continue after a timeout of 60
seconds was reached.
- The filesystem-based reference callback didn't corectly initialize the backend
version.
- A segmentation fault was fixed when calling `git_blame_buffer()` for files
that were modified and added to the index.
- A backwards-incompatible change was introduced when we moved some structures
from "git2/credentials.h" into "git2/sys/credentials.h". This was fixed in the
case where you do not use hard deprecation.
- Improved error handling in various places.
This release contains plenty of new features, bug-fixes, and general
improvements. Some of the most important highlights include:
* We did it again, the MATE desktop environment is easier to use than before,
once the user starts the session. Do you want to hide applications startup?
Now you can set which applications to show on startup.
* Engrampa now has support for a handful of extra formats, as well as fixed
support for passwords and unicode characters in some of them.
* Eye of MATE now has support for Wayland and we’ve added support for
embedded color profiles.
* The thumbnail generation has been reworked and fixed in several places.
* Added support for webp files.
* Our window manager, marco, has gotten quite a few changes:
* We’ve brought a bunch of window decorations from the past to feed
your nostalgia.
* Finally added invisible resize borders. No more struggling to find a
border to grab with your mouse!
* All window controls (you know, the min, max, close buttons) are now
rendered in HiDPI.
* The Alt+Tab and Workspace Switcher popups have been entirely reworked.
Now they render in beautiful OSD style, are more configurable, and can
respond to keyboard arrows.
* Tiling windows with the keyboard now allows you to cycle through
different window sizes. You no longer need to feel constrained by only
half of your screen.
* The System Monitor panel applet now has support for NVMe drives.
* Calculator now supports using either “pi” or “π”.
* Scientific notation has been improved.
* Some fixes for supporting pre-defined physical constants.
* The Control Center now displays its icons correctly on HiDPI displays.
* A brand new Time And Date Manager app has been added.
* The Mouse app now supports acceleration profiles.
* The Preferred Applications app has been improved for accessibility, as well
as better support for integration with IM clients.
* The Indicator Applet has slightly better interaction with
oddly-sized icons.
* Speaking of icons, the network manager applet icons in our own themes have
been entirely redesigned and can now be enjoyed on HiDPI displays.
* If you’re the type of person that does not like to be disturbed when busy,
or giving a presentation, or watching a movie, you’ll be happy to know that
the notification daemon now supports a Do-Not-Disturb mode.
* The MATE Panel had several bugs that caused crashes in the past when
changing layouts. Those are now fixed!
* Support for Wayland compatibility has improved considerably.
* Status icons (a.k.a. notification area, or system tray) have support
for HiDPI displays.
* Wanda the Fish got a make-over and now you can enjoy her in full
HiDPI glory.
* The window list applet now supports window thumbnails on hover.
* Various accessibility improvements throughout the panel and its
core applets.
* If your system doesn’t, uh, support systemd you might be interested in
knowing that we’ve added support for elogind to both the MATE Screensaver
and the MATE Session.
* We’ve also added a brand new MATE Disk Image Mounter utility.
* Mozo, the menu editor, now supports Undo and Redo actions.
* Pluma plugins have now fully switched to Python 3.
* Pluma no longer has to envy anything from other complex editors, since it
can now show the formatting marks.
* i18n: All applications have been migrated from intltools to gettext.
This is a complete replacement and rearchitecture of the Android
project's ADB and fastboot, using libusb1 for USB communications.
This code is mainly targeted to users that need to communicate with
Android devices in an automated fashion, such as in automated
testing. It does not have a daemon between the client and the
device, and therefore does not support multiple simultaneous commands
to the same device.
This reduces the amount the command line utilities complain and makes
this marginally less broken. But, it's a hack around the underlying issue,
it shouldn't treat this as a failure if the underlying libusb driver doesn't
support it.
2019-08-28: v1.0.23
* Add German translation (#446)
* Add Hungarian translation (#493)
* Android: Improved support for Android
* BSD: Remove infinite recursion in OpenBSD backend
* configure.ac: Fix detection of clock_gettime library (#439)
* Core: abandon synchronous transfers when device closure is detected.
* Core: fix error in handling the removal of file descriptors while handling
events.
* Darwin(macOS): Switch from using ResetDevice to USBDeviceReEnumerate (#455)
* Darwin(macOS): Remove code that changed the device class used (#428)
* Darwin(macOS): Reduce hotplug timeout to 1ms (from 5s)
* New API libusb_set_log_cb() to redirect global and per context log
messages to the provided log handling function
* New API libusb_wrap_sys_device to allow the user to specify the
usb device to use.
* Solaris: Break infinite recursion in backend clock_gettime
* Solaris: Enable timerfd on sunos when available
* Windows: Add support for isochronous transfers with WinUSB
* Various other bug fixes and improvements
v0.9.0
When the file name extension of a file to be opened for reading is not available, the content is inspected (if possible) and used to determine which compression format applies.
This release drops Python 2.7 and 3.4 support. Python 3.5 or later is now required.
0.29.16:
Bugs fixed
* Temporary internal variables in nested prange loops could leak into other
threads.
* Default arguments on fused functions could crash.
* C-tuples declared in ``.pxd`` files could generate incomplete C code.
* Fused functions were not always detected and optimised as Cython
implemented functions.
* Valid Python object concatenation of (iterable) strings to non-strings
could fail with an exception.
* Using C functions as temporary values lead to invalid C code.
* Fix an unhandled C++ exception in comparisons.
* Fix deprecated import of "imp" module.
* Fix compatibility with Pythran 0.9.6 and later.
* The ``_Py_PyAtExit()`` function in ``cpython.pylifecycle`` was misdeclared.
* Several missing declarations in ``cpython.*`` were added.
* A declaration for ``libc.math.fpclassify()`` was added.
* Avoid "undeclared" warning about automatically generated pickle methods.
* Avoid C compiler warning about unreachable code in ``prange()``.
* Some C compiler warnings in PyPy were resolved.
The CHANGES.md file hasn't been updated in a while, but there do not seem
to have been major changes; nevertheless, this version corrects a build
failure.
Fix common misspellings in text files. It's designed primarily for
checking misspelled words in source code, but it can be used with
other files as well.
Git 2.26 Release Notes
======================
Updates since v2.25
-------------------
Backward compatibility notes
* "git rebase" uses a different backend that is based on the 'merge'
machinery by default. There are a few known differences in the
behaviour from the traditional machinery based on patch+apply.
If your workflow is negatively affected by this change, please
report it to git@vger.kernel.org so that we can take a look into
it. After doing so, you can set the 'rebase.backend' configuration
variable to 'apply', in order to use the old default behaviour in
the meantime.
UI, Workflows & Features
* Sample credential helper for using .netrc has been updated to work
out of the box.
* gpg.minTrustLevel configuration variable has been introduced to
tell various signature verification codepaths the required minimum
trust level.
* The command line completion (in contrib/) learned to complete
subcommands and arguments to "git worktree".
* Disambiguation logic to tell revisions and pathspec apart has been
tweaked so that backslash-escaped glob special characters do not
count in the "wildcards are pathspec" rule.
* One effect of specifying where the GIT_DIR is (either with the
environment variable, or with the "git --git-dir=<where> cmd"
option) is to disable the repository discovery. This has been
placed a bit more stress in the documentation, as new users often
get confused.
* Two help messages given when "git add" notices the user gave it
nothing to add have been updated to use advise() API.
* A new version of fsmonitor-watchman hook has been introduced, to
avoid races.
* "git config" learned to show in which "scope", in addition to in
which file, each config setting comes from.
* The basic 7 colors learned the brighter counterparts
(e.g. "brightred").
* "git sparse-checkout" learned a new "add" subcommand.
* A configuration element used for credential subsystem can now use
wildcard pattern to specify for which set of URLs the entry
applies.
* "git clone --recurse-submodules --single-branch" now uses the same
single-branch option when cloning the submodules.
* "git rm" and "git stash" learns the new "--pathspec-from-file"
option.
* "git am --show-current-patch" is a way to show the piece of e-mail
for the stopped step, which is not suitable to directly feed "git
apply" (it is designed to be a good "git am" input). It learned a
new option to show only the patch part.
* Handling of conflicting renames in merge-recursive have further
been made consistent with how existing codepaths try to mimic what
is done to add/add conflicts.
Performance, Internal Implementation, Development Support etc.
* Tell .editorconfig that in this project, *.txt files are indented
with tabs.
* The test-lint machinery knew to check "VAR=VAL shell_function"
construct, but did not check "VAR= shell_function", which has been
corrected.
* Replace "git config --bool" calls with "git config --type=bool" in
sample templates.
* The effort to move "git-add--interactive" to C continues.
* Improve error message generation for "git submodule add".
* Preparation of test scripts for the day when the object names will
use SHA-256 continues.
* Warn programmers about pretend_object_file() that allows the code
to tentatively use in-core objects.
* The way "git pack-objects" reuses objects stored in existing pack
to generate its result has been improved.
* The transport protocol version 2 becomes the default one.
* Traditionally, we avoided threaded grep while searching in objects
(as opposed to files in the working tree) as accesses to the object
layer is not thread-safe. This limitation is getting lifted.
* "git rebase -i" (and friends) used to unnecessarily check out the
tip of the branch to be rebased, which has been corrected.
* A low-level API function get_oid(), that accepts various ways to
name an object, used to issue end-user facing error messages
without l10n, which has been updated to be translatable.
* Unneeded connectivity check is now disabled in a partial clone when
fetching into it.
* Some rough edges in the sparse-checkout feature, especially around
the cone mode, have been cleaned up.
* The diff-* plumbing family of subcommands now pay attention to the
diff.wsErrorHighlight configuration, which has been ignored before;
this allows "git add -p" to also show the whitespace problems to
the end user.
* Some codepaths were given a repository instance as a parameter to
work in the repository, but passed the_repository instance to its
callees, which has been cleaned up (somewhat).
* Memory footprint and performance of "git name-rev" has been
improved.
* The object reachability bitmap machinery and the partial cloning
machinery were not prepared to work well together, because some
object-filtering criteria that partial clones use inherently rely
on object traversal, but the bitmap machinery is an optimization
to bypass that object traversal. There however are some cases
where they can work together, and they were taught about them.
* "git rebase" has learned to use the merge backend (i.e. the
machinery that drives "rebase -i") by default, while allowing
"--apply" option to use the "apply" backend (e.g. the moral
equivalent of "format-patch piped to am"). The rebase.backend
configuration variable can be set to customize.
* Underlying machinery of "git bisect--helper" is being refactored
into pieces that are more easily reused.
Fixes since v2.25
-----------------
* "git commit" gives output similar to "git status" when there is
nothing to commit, but without honoring the advise.statusHints
configuration variable, which has been corrected.
* has_object_file() said "no" given an object registered to the
system via pretend_object_file(), making it inconsistent with
read_object_file(), causing lazy fetch to attempt fetching an
empty tree from promisor remotes.
* Complete an update to tutorial that encourages "git switch" over
"git checkout" that was done only half-way.
* C pedantry ;-) fix.
* The code that tries to skip over the entries for the paths in a
single directory using the cache-tree was not careful enough
against corrupt index file.
* Reduce unnecessary round-trip when running "ls-remote" over the
stateless RPC mechanism.
* "git restore --staged" did not correctly update the cache-tree
structure, resulting in bogus trees to be written afterwards, which
has been corrected.
* The code recently added to move to the entry beyond the ones in the
same directory in the index in the sparse-cone mode did not count
the number of entries to skip over incorrectly, which has been
corrected.
* Rendering by "git log --graph" of ancestry lines leading to a merge
commit were made suboptimal to waste vertical space a bit with a
recent update, which has been corrected.
* Work around test breakages caused by custom regex engine used in
libasan, when address sanitizer is used with more recent versions
of gcc and clang.
* Minor bugfixes to "git add -i" that has recently been rewritten in C.
* "git fetch --refmap=" option has got a better documentation.
* "git checkout X" did not correctly fail when X is not a local
branch but could name more than one remote-tracking branches
(i.e. to be dwimmed as the starting point to create a corresponding
local branch), which has been corrected.
(merge fa74180d08 am/checkout-file-and-ref-ref-ambiguity later to maint).
* Corner case bugs in "git clean" that stems from a (necessarily for
performance reasons) awkward calling convention in the directory
enumeration API has been corrected.
* A fetch that is told to recursively fetch updates in submodules
inevitably produces reams of output, and it becomes hard to spot
error messages. The command has been taught to enumerate
submodules that had errors at the end of the operation.
(merge 0222540827 es/fetch-show-failed-submodules-atend later to maint).
* The "--recurse-submodules" option of various subcommands did not
work well when run in an alternate worktree, which has been
corrected.
* Futureproofing a test not to depend on the current implementation
detail.
* Running "git rm" on a submodule failed unnecessarily when
.gitmodules is only cache-dirty, which has been corrected.
* C pedantry ;-) fix.
* "git grep --no-index" should not get affected by the contents of
the .gitmodules file but when "--recurse-submodules" is given or
the "submodule.recurse" variable is set, it did. Now these
settings are ignored in the "--no-index" mode.
* Technical details of the bundle format has been documented.
* Unhelpful warning messages during documentation build have been squelched.
* "git rebase -i" identifies existing commits in its todo file with
their abbreviated object name, which could become ambiguous as it
goes to create new commits, and has a mechanism to avoid ambiguity
in the main part of its execution. A few other cases however were
not covered by the protection against ambiguity, which has been
corrected.
* Allow the rebase.missingCommitsCheck configuration to kick in when
"rebase --edit-todo" and "rebase --continue" restarts the procedure.
(merge 5a5445d878 ag/edit-todo-drop-check later to maint).
* The way "git submodule status" reports an initialized but not yet
populated submodule has not been reimplemented correctly when a
part of the "git submodule" command was rewritten in C, which has
been corrected.
(merge f38c92452d pk/status-of-uncloned-submodule later to maint).
* The code to automatically shrink the fan-out in the notes tree had
an off-by-one bug, which has been killed.
* The index-pack code now diagnoses a bad input packstream that
records the same object twice when it is used as delta base; the
code used to declare a software bug when encountering such an
input, but it is an input error.
* The code to compute the commit-graph has been taught to use a more
robust way to tell if two object directories refer to the same
thing.
(merge a7df60cac8 tb/commit-graph-object-dir later to maint).
* "git remote rename X Y" needs to adjust configuration variables
(e.g. branch.<name>.remote) whose value used to be X to Y.
branch.<name>.pushRemote is now also updated.
* Update to doc-diff.
* Doc markup fix.
* "git check-ignore" did not work when the given path is explicitly
marked as not ignored with a negative entry in the .gitignore file.
* The merge-recursive machinery failed to refresh the cache entry for
a merge result in a couple of places, resulting in an unnecessary
merge failure, which has been fixed.
* Fix for a bug revealed by a recent change to make the protocol v2
the default.
* In rare cases "git worktree add <path>" could think that <path>
was already a registered worktree even when it wasn't and refuse
to add the new worktree. This has been corrected.
(merge bb69b3b009 es/worktree-avoid-duplication-fix later to maint).
* "git push" should stop from updating a branch that is checked out
when receive.denyCurrentBranch configuration is set, but it failed
to pay attention to checkouts in secondary worktrees. This has
been corrected.
(merge 4d864895a2 hv/receive-denycurrent-everywhere later to maint).
* "git rebase BASE BRANCH" rebased/updated the tip of BRANCH and
checked it out, even when the BRANCH is checked out in a different
worktree. This has been corrected.
(merge b5cabb4a96 es/do-not-let-rebase-switch-to-protected-branch later to maint).
* "git describe" in a repository with multiple root commits sometimes
gave up looking for the best tag to describe a given commit with
too early, which has been adjusted.
* "git merge signed-tag" while lacking the public key started to say
"No signature", which was utterly wrong. This regression has been
reverted.
* MinGW's poll() emulation has been improved.
* "git show" and others gave an object name in raw format in its
error output, which has been corrected to give it in hex.
* "git fetch" over HTTP walker protocol did not show any progress
output. We inherently do not know how much work remains, but still
we can show something not to bore users.
(merge 7655b4119d rs/show-progress-in-dumb-http-fetch later to maint).
* Both "git ls-remote -h" and "git grep -h" give short usage help,
like any other Git subcommand, but it is not unreasonable to expect
that the former would behave the same as "git ls-remote --head"
(there is no other sensible behaviour for the latter). The
documentation has been updated in an attempt to clarify this.
New features
Emscripten (emcc) now supports threads
Introduce dataonly for the pkgconfig module
Consistently report file locations relative to cwd
dependency() consistency
Override dependency()
Simplified dependency() fallback
Backend agnostic compile command
Native (build machine) compilers not always required
Summary improvements
Add a system type dependency for zlib
Added 'name' method
New option --quiet to meson install
Property support emscripten's wasm-ld
Skip sanity tests when cross compiling
Support for overiding the linker with ldc and gdc
Native file properties
Changed the signal used to terminate a test process (group)
Dynamic Linker environment variables actually match docs
Per subproject default_library and werror options
Environment Variables with Cross Builds
Added 'pkg_config_libdir' property
More new sample Meson templates for (Java, Cuda, and more)
Ninja version requirement bumped to 1.7
Added -C argument to meson init command
More than one argument to message() and warning()
Added has_tools method to qt module
The MSI installer is only available in 64 bit version
Uninstalled pkg-config files
CMake find_package COMPONENTS support
Added Microchip XC16 C compiler support
Added Texas Instruments C2000 C/C++ compiler support
Unity file block size is configurable
More details:
https://mesonbuild.com/Release-notes-for-0-54-0.html
New in 1.16.2:
* New features added
- add zstd support and the automake option, dist-zstd.
* Miscellaneous changes
- automake no longer requires a @setfilename in each .texi file
* Bugs fixed
- When cleaning the compiled python files, '\n' is not used anymore in the
substitution text of 'sed' transformations. This is done to preserve
compatibility with the 'sed' implementation provided by macOS which
considers '\n' as the 'n' character instead of a newline.
(automake bug#31222)
- For make tags, lisp_LISP is followed by the necessary space when
used with CONFIG_HEADERS.
(automake bug#38139)
- The automake test txinfo-vtexi4.sh no longer fails when localtime
and UTC cross a day boundary.
- Emacsen older than version 25, which require use of
byte-compile-dest-file, are supported again.
ccache 3.7.9
Bug fixes
Fixed replacing of /dev/null when building as root with hard link mode enabled and using -o /dev/null.
Removed incorrect assertion resulting in “ccache: error: Internal error in format” when using -fdebug-prefix-map=X= with X equal to $PWD.
Other
Improved CUDA/NVCC support: Recognize -dc and -x cu options.
Improved name of temporary file used in NFS-safe unlink.
Range library for C++14/17/20. This code was the basis of a formal proposal
to add range support to the C++ standard library. That proposal evolved
through a Technical Specification, and finally into P0896R4 "The One Ranges
Proposal" which was merged into the C++20 working drafts in November 2018.
Ranges are an extension of the Standard Template Library that makes its
iterators and algorithms more powerful by making them composable. Unlike
other range-like solutions which seek to do away with iterators, in range-v3
ranges are an abstration layer on top of iterators.
Single header implementation of std::expected with functional-style extensions.
std::expected is proposed as the preferred way to represent object which
will either have an expected value, or an unexpected value giving information
about why something failed. Unfortunately, chaining together many computations
which may fail can be verbose, as error-checking code will be mixed in with
the actual programming logic. This implementation provides a number of
utilities to make coding with expected cleaner.
* err_* functions:
Fix segfault caused by "ap" is used twice. Solution is to va_copy
it and use copied "ap" for printing to stderr.
Improve formatting (no empty lines in log files)
* err_set_program_name: handle correctly NULL argument
* log_mkpath function: avoid use of alloca(3)
* hsh_pointer_compare function now follows -1/0/1 logic
* Add more tests for log_*, err_*, hsh_* and set_* function
GTK3 expects wayland and EGL to come together. EGL isn't a requirement
for wayland, but not claiming support will possibly make life easier
on lesser-used platforms, and is certainly a good idea for the freeze.
"good for now" - nia
PR pkg/55117: gtk3 does not compile w/o EGL
PyXDG 0.26; February 2018
The primary source of release files is now PyXDG on PyPI
IconTheme: Add support for Scale and ScaledDirectories keys.
DesktopEntry: New method findTryExec()
Menu: More efficient processing of filter rules by building a Python AST
Mime: Prefer the first mimetype found for a file extension, instead of the last
Mime: Allow unknown magic-matching rule formats
Mime: GlobDB has new methods first_match and all_matches for matching paths
Mime: New function get_extensions to get extensions for a given mime type
Mime: Fix MagicDB.match_data crashing with an unknown 'possible' mimetype
Mime: Correctly handle __NOMAGIC__ rule removing previous magic matches
Menu: XML parsing reworked
BaseDirectory: More secure creation of a fallback runtime directory with get_runtime_dir(strict=False)
Various miscellaneous improvements to testing.
## 2020 01 10
- This release adds a flag to control the feature RT#130394 (allow short nested blocks)
introduced in the previous release. Unfortunately that feature breaks
RPerl installations, so a control flag has been introduced and that feature is now
off by default. The flag is:
--one-line-block-nesting=n, or -olbn=n, where n is an integer as follows:
-olbn=0 break nested one-line blocks into multiple lines [new DEFAULT]
-olbn=1 stable; keep existing nested-one line blocks intact [previous DEFAULT]
For example, consider this input line:
foreach (@list) { if ($_ eq $asked_for) { last } ++$found }
The new default behavior (-olbn=0), and behavior prior to version 20191203, is to break it into multiple lines:
foreach (@list) {
if ( $_ eq $asked_for ) { last }
++$found;
}
To keep nested one-line blocks such as this on a single line you can add the parameter -olbn=1.
- Fixed issue RT#131288: parse error for un-prototyped constant function without parenthesized
call parameters followed by ternary.
- Fixed issue RT#131360, installation documentation. Added a note that the binary
'perltidy' comes with the Perl::Tidy module. They can both normally be installed with
'cpanm Perl::Tidy'
Update ruby-thor to 1.0.1.
# 1.0.1
* Fix thor when `thor/base` and `thor/group` are required without `thor.rb`.
* Handle relative source path in `create_link`.
# 1.0.0
* Drop support to Ruby 1.8 and 1.9.
* Deprecate relying on default `exit_on_failure?`.
In preparation to make Thor commands exit when there is a failure we are deprecating
defining a command without defining what behavior is expected when there is a failure.
To fix the deprecation you need to define a class method called `exit_on_failure?` returning
`false` if you want the current behavior or `true` if you want the new behavior.
* Deprecate defining an option with the default value using a different type as defined in the option.
* Allow options to be repeatable. See #674.
Update ruby-mixlib-shellout to 3.0.9.
3.0.9 (2019-12-30)
* Add Ruby 2.6/2.7 and Windows testing #198 (tas50)
* Substitute require for require_relative #199 (tas50)
3.0.7 (2019-07-31)
* Add the actual BK pipeline config #185 (tas50)
* Blinding applying chefstyle -a. #191 (zenspider)
* Fix return type of Process.create to be a ProcessInfo instance again. #190
(zenspider)
3.0.4 (2019-06-07)
* update travis/appveyor, drop ruby 2.2 support, test on 2.6 #176
(lamont-granquist)
* Misnamed parameter in README #178 (martinisoft)
* Add new github templates and codeowners file #179 (tas50)
* Add BuildKite pipeline #184 (tas50)
* Support array args on windows WIP #182 (lamont-granquist)
* Load and unload user profile as required #177 (dayglojesus)
2.4.4 (2018-12-12)
* Have expeditor promote the windows gem as well #172 (tas50)
* Don't ship the readme in the gem artifact #173 (tas50)
2.4.2 (2018-12-06)
* Test on ruby-head and Ruby 2.6 in Travis #170 (tas50)
* Remove dev deps from the gemspec #171 (tas50)
Update ruby-mixlib-log to 3.0.8.
3.0.8 (2019-12-30)
* Expand testing / Update GitHub templates #51 (tas50)
* Add Build Kite PR Testing #52 (tas50)
* Remove Travis PR Testing #53 (tas50)
* Resolve all warnings emitted during testing #54 (zenspider)
* Add windows testing in Buildkite #56 (tas50)
* Test on Ruby 2.7 + random testing improvements #58 (tas50)
* Substitute require for require_relative #59 (tas50)
3.0.1 (2019-01-05)
* reverting back to ruby 2.3 support #48 (lamont-granquist)
3.0.0 (2019-01-04)
* update travis, drop ruby < 2.5, major version bump #47 (lamont-granquist)
2.0.9 (2018-12-18)
* remove hashrocket syntax #41 (lamont-granquist)
* Remove the changelog generator gem #42 (tas50)
* Test on all the Ruby versions we support #43 (tas50)
* Test on Ruby 2.6 in Travis + test on Xenial #46 (tas50)
* Only ship the required library files in the gem artifact #45 (tas50)
Update ruby-mixlib-config to 3.0.6.
pkgsrc change: add "USE_LANGUAGES= # none".
3.0.6 (2019-12-29)
* Substitute require for require_relative #80 (tas50)
3.0.5 (2019-11-14)
* Add BuildKite PR Testing #75 (tas50)
* Remove Travis PR testing + add foundation team as the project owner #76
(tas50)
* Test on Windows and use the smaller containers #77 (tas50)
* Do not crash when loading undefined context from hash #79 (marcparadise)
3.0.1 (2019-04-23)
* update travis, drop ruby < 2.5, major version bump #73 (lamont-granquist)
* Allow Ruby 2.4 / Update github templates #74 (tas50)
2.2.18 (2018-12-17)
* Add github issue and PR templates #68 (tas50)
* Resolve chefstyle and expeditor issues #69 (tas50)
* Expand ruby testing in Travis #70 (tas50)
* Standardize the gemfile and rakefile #71 (tas50)
* Only ship the required library files in the gem artifact #72 (tas50)
libstatgrab 0.92 (16 July 2019)
* Fix various file descriptor leaks.
* On Linux, read process thread name from comm where available (fixes
FreeScale ARM BSP).
* Add more process stat information on MacOS/Darwin.
* Fix build on Alpine Linux and NetBSD 8.
* Fix build on FreeBSD 12 without COMPAT_FREEBSD11.
* Improve collection of data for non-standard Solaris interfaces.
* Improve detection of interface link status on Solaris.
* Various configure and build fixes.
* Ensure modern log4cplus is used correctly.
New in 1.4 - 2017-08-07
-----------------------
* New ftdi_usb_open_bus_addr() open function
* Use BM/R series baud rate computation for FT230X
* ftdi_get_error_string() now returns const char*
* C++ API: Ability to open devices with empty descriptor strings
* C++ API: Fix enumerations for buffer purge and modem controls
* small build fixes and improvements in the python examples
* ftdi_eeprom / eeprom handling:
* New API function: ftdi_eeprom_get_strings()
* Fix USE_SERIAL handling for 230X type chips
* Make ftdi_read_eeprom_location() endianness independent
* Fix flashing of FT245R
New in 1.3 - 2016-05-20
-----------------------
* Added ftdi_usb_get_strings2() to prevent automatic device close (Fahrzin Hemmati)
* Added ftdi_transfer_data_cancel() for cancellation of a submitted transfer,
avoided resubmittion of a canceled transfer in the callbacks,
replaced calls to libusb_handle_events with
libusb_handle_events_timeout_completed (Eugene Hutorny)
* ftdi_eeprom / eeprom handling:
* Add support for arbitrary user data (Salvador Eduardo Tropea)
* Add --build-eeprom support (Salvador Eduardo Tropea)
* Fix use_usb_version config file option (Thilo Schulz)
* Ability to include other config files in EEPROM config file (Thilo Schulz)
* Add external oscillator enable bit (Raphael Assenat)
* Support channel configuration (Stephan Linz)
* Added --device option to ftdi_eeprom to specify FTDI device (Robin Haberkorn)
* Fixed EEPROM user-area space checks for FT232R and FT245R chips (Robin Haberkorn)
* Various improvements to CBUS handling, including the EEPROM (Robin Haberkorn)
* swig wrapper: Fix handling of binary strings in ftdi_write_data()
for python 3 (xantares09)
* cbus python example code (Rodney Sinclair)
* ftdi_stream: fix timeout setting (Ларионов Даниил)
* Fixed typo in CBUS defines: CBUSG_DRIVE1 -> CBUSH_DRIVE1
New in 1.2 - 2014-11-21
-----------------------
* Support for FT230X devices (Uwe Bonnes)
* ftdi_usb_get_strings(): Don't try to open an already open device (Denis Sirotkin)
* Support for finding devices bricked by the Windows driver (Forest Crossman)
* cmake build system: New LibFTDI1ConfigVersion.cmake file (xantares09)
* Fix a typo in the MPSSE command CLK_BYTES_OR_LOW (Benjamin Vanheuverzwijn)
* Various small code improvements (Florian Preinstorfer, Jochen Sprickerhof, xantares09)
Version 0.1.11 2018-10-30
- portability: remove issues associated with AC_FUNC_MALLOC
This configure.ac macro is known to cause issues and not provide real
benefit. Thus many projects have removed it, as we have for most of
the rsyslog projects. libestr seemed to have overlooked.
This came up when troubleshooting issues on IBM AIX.
- make build on AIX
Thanks to github user purnimam1 for the patch
- bugfix: es_str2num mishandling empty strings
If es_str2num() receives an empty string, misadressing happens.
Under extreme conditions, this theoretically can lead to a segfault.
Thanks to Jan Gerhards for the patch.
closes https://github.com/rsyslog/libestr/issues/10
- CI/Travis: now also test on osX
Update ruby-zeitwerk to 2.3.0.
2.3.0 (3 March 2020)
* Adds support for collapsing directories.
For example, if booking/actions/create.rb is meant to define
Booking::Create because the subdirectory actions is there only for
organizational purposes, you can tell Zeitwerk with collapse:
loader.collapse("booking/actions")
The method also accepts glob patterns to support standardized project
structures:
loader.collapse("*/actions")
Please check the documentation for more details.
* Eager loading is idempotent, but now you can eager load again after
reloading.
Update php-xdebug to 2.9.3.
2.9.3 Fri, Mar 13, 2020
= Fixed bugs:
- Fixed issue #1753: Resolved breakpoints use information from wrong files
- Fixed issue #1758: Xdebug changes error_get_last results inside a try catch
- Fixed issue #1759: User registered opcode handlers should call ones already
set by other extensions
2.9.2 Fri, Jan 31, 2020
= Fixed bugs:
- Fixed issue #1735: DBGp eval warning promoted to Exception can cause
out-of-sync responses
- Fixed issue #1736: Segmentation fault when other extensions run PHP in
RINIT
- Fixed issue #1739: Tracing footer not written
2.9.1 Thu, Jan 16, 2020
= Fixed bugs:
- Fixed issue #1721: Header may not contain NUL bytes in Unknown on line 0
- Fixed issue #1727: Debugger stops more often than expected due to
resolving breakpoints
- Fixed issue #1728: INIT_STATIC_METHOD_CALL is not overloaded
- Fixed issue #1731: var_dump with DateTime does not output properties
(Ryan Mauger)
- Fixed issue #1733: SEND_VAR_NO_REF_EX opcode, used for require(), is not
overloaded
- Fixed issue #1734: Segfault with DBGp "source" with a out-of-range start
line number
1.54 -- 2020-02-02 15:47
[CHANGES]
* Added List::Util::reductions (RT128237)
* Added List::Util::sample (RT131535)
* Recognise $List::Util::RAND as a source of randomness for sampling
functions (RT131536)
[BUGFIXES]
* Document the difference between ref() and reftype() on precompiled
qr// regexps (RT127963)
* Various improvements to List::Util::uniqnum() to handle stringified
Inf and NaN, negative zero
* Detect platform NV size and number of digits required to calculate
uniqueness
2020-01-18 Todd Rinaldo <toddr@cpan.org> 1.14
* Add strict/warnings to Tty.pm
* Fix pod errors
* Typo: s/dependend/dependent/
* Prevent spurious warning from get_winsize()
* Fix usage of setsid
* Github actions testing. Windows is off of course.
* Make README.md
2014-12-14 Todd Rinaldo <toddr@cpan.org> 1.13_01
* RT 91590 - Remove MAP_TARGET from Makefile.PL
* RT 88271 - Fix for Solaris setuid when root running as other user
3.36.0 - 2020-03-08
-------------------
This will be the last release supporting Python 2.
* pygobject-object: Avoid checking whether NULL is floating :mr:`135` (:user:`Alexandru Băluț <aleb>`)
* Avoid various new glib deprecation warnings
* Port to g_object_new_with_properties()
* Drop Python 2 support on Windows
* gtk overrides: Drop Menu, MenuItem for Gtk 4 (:user:`Marinus Schraal <mschraal>`)
* Docs:
* Update openSUSE instructions (:user:`sharkwouter`)
* Add Gaphor to Who is Using PyGObject (:user:`Dan Yeaw <danyeaw>`)
* Remove reference to a fixed bug (:user:`Christian Stadelmann <genodeftest>`)
2020-02-14 version 3.11.4 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript)
C#
* Fix latest ArgumentException for C# extensions (#7188)
* Enforce recursion depth checking for unknown fields (#7210)
Ruby
* Fix wrappers with a zero value (#7195)
* Fix JSON serialization of 0/empty-valued wrapper types (#7198)
## 2.11.3
### Fixes
* Fixed compilation error caused by lambdas in assertions under MSVC
## 2.11.2
### Improvements
* GCC and Clang now issue warnings for suspicious code in assertions (#1880)
* E.g. `REQUIRE( int != unsigned int )` will now issue mixed signedness comparison warning
* This has always worked on MSVC, but it now also works for GCC and current Clang versions
* Colorization of "Test filters" output should be more robust now
* `--wait-for-keypress` now also accepts `never` as an option (#1866)
* Reporters no longer round-off nanoseconds when reporting benchmarking results (#1876)
* Catch2's debug break now supports iOS while using Thumb instruction set (#1862)
* It is now possible to customize benchmark's warm-up time when running the test binary (#1844)
* `--benchmark-warmup-time {ms}`
* User can now specify how Catch2 should break into debugger (#1846)
### Fixes
* Fixes missing `<random>` include in benchmarking (#1831)
* Fixed missing `<iterator>` include in benchmarking (#1874)
* Hidden test cases are now also tagged with `[!hide]` as per documentation (#1847)
* Detection of whether libc provides `std::nextafter` has been improved (#1854)
* Detection of `wmain` no longer incorrectly looks for `WIN32` macro (#1849)
* Now it just detects Windows platform
* Composing already-composed matchers no longer modifies the partially-composed matcher expression
* This bug has been present for the last ~2 years and nobody reported it
4.33 Wed Mar 18 13:22:29 CET 2020
- no changes w.r.t. 4.32.
4.32 (EV only)
- the 4.31 timerfd code wrongly changed the priority of the signal
fd watcher, which is usually harmless unless signal fds are
also used (found via cpan tester service).
- the documentation wrongly claimed that user may modify fd and events
members in io watchers when the watcher was stopped
(found by b_jonas).
- new ev_io_modify mutator which changes only the events member,
which can be faster. also added ev::io::set (int events) method
to ev++.h.
- officially allow a zero events mask for io watchers. this should
work with older libev versions as well but was not officially
allowed before.
- do not wake up every minute when timerfd is used to detect timejumps.
- do not wake up every minute when periodics are disabled and we have
a monotonic clock.
- support a lot more "uncommon" compile time configurations,
such as ev_embed enabled but ev_timer disabled.
- use a start/stop wrapper class to reduce code duplication in
ev++.h and make it needlessly more c++-y.
- the linux aio backend is no longer compiled in by default.
- update to libecb version 0x00010008.