1
2011-06-26 Richard Frith-Macdonald <rfm@gnu.org>
3
* Documentation/news.texi
4
* Documentation/ReleaseNotes.gsdoc
5
Make 1.22.1 bugfix release.
1
2012-02-03 Adam Fedor <fedor@gnu.org>
6
2012-02-03 Richard Frith-Macdonald <rfm@gnu.org>
8
* Source/NSURL.m: Fixup for bug #35437
10
2012-01-31 Richard Frith-Macdonald <rfm@gnu.org>
12
* Source/NSJSONSerialization.m: bugfix for empty strings.
13
* Tests/base/NSJSONSerialization/json.m: add a few emtpy element
14
tests and fixup to be more readable
16
2012-01-31 Richard Frith-Macdonald <rfm@gnu.org>
18
* Version: revert last change as Fred pointed out I got it wrong and
19
we shoudl be updating version immediately *after* release.
21
2012-01-31 Fred Kiefer <FredKiefer@gmx.de>
23
* Tests/base/NSURLRequest/basic.m: Remove two astray @ characters.
25
2012-01-30 Richard Frith-Macdonald <rfm@gnu.org>
27
* Version: Bump version to 1.24.0 in preparation for release.
28
* NSTimeZones/NSTimeZones.tar: Update timezone information
30
2012-01-30 Richard Frith-Macdonald <rfm@gnu.org>
32
* Source/NSJSONSerialization.m:
33
Fix buffer overrun reported by Lubomir Rintel <lubo.rintel@gooddata.com>
35
2012-01-30 Richard Frith-Macdonald <rfm@gnu.org>
37
* Source/NSKeyValueCoding.m:
38
* Source/NSAffineTransform.m:
39
* Source/NSNotificationCenter.m:
40
* Source/NSConnection.m:
42
Avoid a few static analyser warnings.
44
2012-01-29 Richard Frith-Macdonald <rfm@gnu.org>
47
* Headers/GNUstepBase/config.h.in:
48
* Source/GSFFIInvocation.m:
50
* Source/NSInvocation.m:
51
If modern ffi is available, use ffi_prep_closure_loc and ffi closure
52
memory management so we get the benefit of ffi library code to work
53
around restrictions of selinux etc.
55
2012-01-29 Richard Frith-Macdonald <rfm@gnu.org>
57
* Source/NSUserDefaults.m: Try to deal with the case where a language
58
has been set to the ISO standard name rather than an OpenStep name
59
by converting to an Openstep name as an alternative lookup key.
60
* Source/NSXMLNode.m: Add warning that the DOM classes are not really
61
functional in this release.
63
2012-01-26 Richard Frith-Macdonald <rfm@gnu.org>
65
* Source/NSFileManager.m: Fix copying for large files (issue #35381)
67
2012-01-25 Stefan Bidigaray <stefanbidi@gmail.com>
69
* Source/NSNumberFormatter.m: Call unum_format* only once.
71
2012-01-25 Richard Frith-Macdonald <rfm@gnu.org>
73
* Source/GSSocketStream.m: fix possible nul pointer dereference.
74
* Source/NSHost.m: cache failed lookup by name so that repeated
75
lookups for a band host name do not cause repeated DNS queries.
77
2012-01-24 Richard Frith-Macdonald <rfm@gnu.org>
79
* Source/NSURLRequest.m: be tolerant about missing URL on init.
81
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
83
* Source/GSFFIInvocation.m: Fix selector types comparison to use the
84
correct function for checking equivalent types.
86
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
90
Remove incorrect sed call to tidy flags (as suggested by Felix Geyer
93
2012-01-16 Eric Wasylishen <ewasylishen@gmail.com>
95
* Source/NSBundle.m (addBundlePath): Handle nested subdirectories
97
[NSBundle pathForLibraryResource:
98
@"Generic-PostScript_Printer-Postscript" ofType: @"ppd"
99
inDirectory: @"PostScript/PPD"] was previously failing.)
101
2012-01-12 10:10 theraven
103
* libs/base/trunk/Headers/Foundation/NSException.h: Tweak the
104
exception mismatch handling so that if base is using native exceptions
105
and the user doesn't specify an exception mode then we just don't define
106
the NS_ macros, so code that uses @try etc. compiles without requiring
107
every cc line to specify a long -D flag just to be allowed to #import
110
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
112
* Source/NSBundle.m: Remove cached paths when the owning bundle is
113
deallocated. Use cache to determine which resource directories to
116
2012-01-09 Richard Frith-Macdonald <rfm@gnu.org>
118
* Source/NSBundle.m: Crude/simple caching of directory contents to
119
test impact on theme loading ... needs reverting or improving.
121
2012-01-09 Richard Frith-Macdonald <rfm@gnu.org>
123
* Source/NSConcretePointerFunctions.m:
124
* Source/NSSocketPort.m:
125
* Source/unix/NSStream.m:
126
* Source/NSKeyedUnarchiver.m:
128
* Source/NSMessagePort.m:
129
* Source/win32/GSFileHandle.m:
130
* Source/NSInvocation.m:
131
* Source/NSURLProtocol.m:
132
* Source/Additions/GSMime.m:
133
* Source/Additions/GSXML.m:
135
* Source/GSAvahiNetService.m:
136
* Source/NSTextCheckingResult.m:
137
Use PRIdPTR and PRIuPTR rather than ld and lu for printf formatting
138
of NSInteger and NSUInteger values.
140
2012-01-08 Richard Frith-Macdonald <rfm@gnu.org>
142
* Headers/ObjectiveC2/objc/capabilities.h:
143
* Headers/ObjectiveC2/objc/Availability.h:
144
* Headers/ObjectiveC2/objc/blocks_runtime.h:
145
* Headers/ObjectiveC2/objc/runtime.h:
146
Moved to subdirectory.
147
* Source/Makefile.postamble:
148
* Source/ObjectiveC2/runtime.c:
149
* Source/ObjectiveC2/caps.c:
150
* Source/ObjectiveC2/NSBlocks.m:
151
* Source/ObjectiveC2/blocks_runtime.m:
152
* Headers/GNUstepBase/GSObjCRuntime.h:
155
Move ObjectiveC2 headers to objc subdirectory so that we can refer
156
to them using the same objc/headername path as OSX, and use a -I
157
directive to point to the ObjectiveC2 directory to avoid installing
158
on top of the real objc2 library or vie versa. Should make it easier
159
to figure out how to cleanly swith between raeal/emulated objc2
160
runtimes. This should also mean that old emulated objc2 headers are
161
*not* found at configure time, so configure should be able to tell if
162
a real objc2 runtime has been installed on a system which previously
163
used the old objc runtime.
165
2012-01-05 Richard Frith-Macdonald <rfm@gnu.org>
167
* Source/NSXMLDocument.m:
168
* Source/NSXMLPrivate.h:
169
* Source/NSXMLNode.m:
170
* Source/NSXMLElement.m:
171
Replace missing assertion (needed for OSX compatibility) also fix
172
several other issues in node hierarchy handling ... all rather
173
academic since greg's going to rewrite, but these fixes do mean
174
the current code passes the testsuite. It's a bad idea to leave
175
the code and testsuite in an inconsistent state, and the testsuite
176
represents accumulated information about OSX, so we want our code
177
to pass all tests rather than removing tests.
179
2012-01-06 17:57-EST Gregory John Casamento <greg.casamento@gmail.com>
181
* Source/NSXMLElement.m: Removing assertion that
182
parent must not be nil per Cocoa documentation for
183
-(id)parent method in NSXMLNode.
185
2012-01-05 Richard Frith-Macdonald <rfm@gnu.org>
187
* Source/NSXMLDocument.m:
188
* Source/NSXMLElement.m:
189
* Source/NSXMLNode.m:
190
* Source/NSXMLPrivate.h:
191
Rewrote node hierarchy handling to match OSX documentation and
192
behaviors. Also implemented -hash and -isEqual: to match OSX for
195
2012-01-05 22:20-EST Doug Simons <doug.simons@testplant.com>
197
* Source/NSXMLDocument.m: Modify XMLStringWithOptions: to only include
198
the header when version, encoding, or standalone has been set.
200
2012-01-05 22:20-EST Gregory John Casamento <greg.casamento@gmail.com>
202
* Source/NSXMLElement.m: in setChildren: set the childCount.
204
2012-01-05 22:07-EST Gregory John Casamento <greg.casamento@gmail.com>
206
* Source/NSXMLElement.m: Correct warning in copyWithZone: added
207
return. Correct issue with childCount being out of sync.
209
2012-01-05 21:33-EST Gregory John Casamento <greg.casamento@gmail.com>
212
* Source/NSXMLDocument.m
213
* Source/NSXMLElement.m
214
* Source/NSXMLNode.m: Implement copyWithZone:, correct issues
215
with previous revert.
217
2012-01-05 Richard Frith-Macdonald <rfm@gnu.org>
219
* Source/NSXMLDocument.m:
220
* Source/NSXMLElement.m:
221
Replace a few lines accidentally lost.
223
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
225
* Headers/Foundation/NSXMLDocument.h:
226
* Headers/Foundation/NSXMLNode.h:
227
* Headers/Foundation/NSXMLDTD.h:
228
* Headers/Foundation/NSXMLDTDNode.h:
229
* Headers/Foundation/NSXMLElement.h:
230
* Source/NSXMLDocument.m:
231
* Source/NSXMLPrivate.h:
233
* Source/GSInternal.h:
234
* Source/NSXMLNode.m:
235
* Source/NSXMLDTDNode.m:
236
* Source/NSXMLElement.m:
237
The last revert still left lot's of ABI breakage, but reverting much
238
further would lose a lot of work ... so here's an attempt to fix the
239
ABI breakage by re-hiding instance variables again.
241
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
243
* Source/GSMDNSNetServices.m:
244
* Source/NSJSONSerialization.m:
245
Cosmetic tweaks (whitespace)
247
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
249
* Source/NSXMLDocument.m:
250
* Source/NSXMLNode.m:
251
* Source/NSXMLElement.m:
252
* Headers/Foundation/NSXMLDocument.h:
253
* Headers/Foundation/NSXMLNode.h:
254
* Headers/Foundation/NSXMLDTD.h:
255
* Headers/Foundation/NSXMLElement.h:
256
Revert latest changes to restore scheme for preventing ABI breakage
257
and supporting both fragile and non-fragile ABIs..
259
2012-01-04 Fred Kiefer <FredKiefer@gmx.de>
261
* Headers/Foundation/NSXMLDocument.h,
262
* Headers/Foundation/NSXMLDTD.h: Comment out duplicate declaration of
263
ivars to get base to compile again.
265
2012-01-03 16:33-EST Gregory John Casamento <greg.casamento@gmail.com>
267
* Headers/Foundation/NSXMLDocument.h
268
* Headers/Foundation/NSXMLElement.h
269
* Headers/Foundation/NSXMLNode.h: Move declarations.
270
* Source/NSXMLDocument.m: Correct parsing issues.
271
* Source/NSXMLElement.m: Remove local declaration of _children
272
* Source/NSXMLNode.m: Remove internal. Move all declarations here
275
2012-01-03 14:22-EST Gregory John Casamento <greg.casamento@gmail.com>
277
* Source/NSXMLDocument.m: Implement XMLStringWithOptions:
279
2012-01-03 13:03-EST Gregory John Casamento <greg.casamento@gmail.com>
281
* Headers/Foundation/NSXMLElement.h
282
* Headers/Foundation/NSXMLNode.h
283
* Source/NSXMLElement.m
284
* Source/NSXMLNode.m: Move _URI to NSXMLNode.
285
change dealloc accordingly.
287
2012-01-03 12:42-EST Gregory John Casamento <greg.casamento@gmail.com>
289
* Source/NSXMLNode.m: Implement copyWithZone:
291
2012-01-03 12:17-EST Gregory John Casamento <greg.casamento@gmail.com>
293
* Headers/Foundation/NSXMLNode.h: Add _stringValue
294
* Source/NSXMLNode.m: Change stringValue and setStringValue:
295
resolvingEntities: to assign to _stringValue instead of _objectValue.
297
2012-01-03 12:06-EST Gregory John Casamento <greg.casamento@gmail.com>
299
* Source/NSXMLDocument.m: Change stack implementation to
300
use lastObject/removeLastObject to implement the stack instead
301
of inserting and deleting at index 0.
302
* Source/NSXMLElement.m: Implemented XMLStringWithOptions:
303
* Source/NSXMLNode.m: Implemented XMLStringWithOptions:,
304
skeletal implementation of setStringValue:resolvingEntities:
306
2012-01-03 Fred Kiefer <FredKiefer@gmx.de>
308
* Source/NSException.m (-raise): Only set the stack when the
309
exception gets first raised. This fixes bug #35192
310
Patch by Larry Campbell <lcampbel@akamai.com>
312
2012-01-02 22:26-EST Gregory John Casamento <greg.casamento@gmail.com>
314
* Headers/Foundation/NSXMLElement.h: Change _attributes to be
315
a NSMutableDictionary instead of an NSMutableArray.
316
* Source/NSXMLElement.m: Change implementation of some methods
317
to use an NSMutableDictionary instead of arrays. Initialize
318
ivars in initializer.
319
* Source/NSXMLPrivate.h: Remove redundant method.
321
2012-01-02 Fred Kiefer <FredKiefer@gmx.de>
323
* Source/GSSocketStream.m (-initWithInput:output:): Attempt to
324
replace deprecated GNUTLS functions with newer ones for GNUTLS >= 2.12.
326
2012-01-02 Fred Kiefer <FredKiefer@gmx.de>
328
* Source/NSArray.m (-objectsAtIndexes:): Fix comparision of
329
unsigned variable with NSNotFound.
331
2012-01-02 02:26-EST Gregory John Casamento <greg.casamento@gmail.com>
333
* Source/NSXMLNode.m: Minor correction. Move setName out of
335
* Tests/base/NSXMLNode/children.m: Update test.
337
2012-01-01 Fred Kiefer <FredKiefer@gmx.de>
339
* Headers/Foundation/NSXMLDTDNode.h,
340
* Headers/Foundation/NSXMLDTD.h: Remove duplicate declaration of
341
ivar _name to get base to compile again.
343
2011-12-30 Doug Simons <doug.simons@testplant.com>
345
* Source/NSXMLElement.m: Set Elements to be NSXMLElementKind.
347
2011-12-30 14:22-EST Gregory John Casamento <greg.casamento@gmail.com>
349
* Headers/Foundation/NSXMLDocument.h
350
* Headers/Foundation/NSXMLElement.h
351
* Headers/Foundation/NSXMLNode.h
352
* Source/NSXMLDocument.m
353
* Source/NSXMLElement.m
355
* Source/NSXMLPrivate.h
356
* Tests/base/NSXMLNode/children.m
357
* Tests/base/NSXMLNode/kinds.m: First cut at NSXMLDocument
360
2011-12-29 Doug Simons <doug.simons@testplant.com>
362
* Source/NSCalendarDate.m: Fix -addTimeInterval: to copy calendarFormat
365
2011-12-24 Richard Frith-Macdonald <rfm@gnu.org>
367
* Source/NSConnection.m: Fix retain rount error spotted by
368
<rajendra@teamf1.com> (bug #35164)
370
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
372
* Headers/Foundation/NSTextCheckingResult.h:
373
* Source/NSTextCheckingResult.m (-resultByAdjustingRangesWithOffset:):
376
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
378
* Headers/Foundation/NSTextCheckingResult.h:
379
* Source/NSTextCheckingResult.m: Add copyright notice.
381
* Source/NSTextCheckingResult.m(-result, -range): Raise exception
382
in abstract base class implementation. This is what OS X does.
384
* Source/NSTextCheckingResult.m(-rangeAtIndex): Implement in
385
abstract base class. Raise exception in both method
386
implementations when the index is too big.
388
* Source/NSTextCheckingResult.m(-numberOfRanges): Change incorrect
389
name rangeCount into numberOfRanges.
391
* Source/NSTextCheckingResult.m(-regularExpression): Implement
392
method in the concrete subclass where it was omitted.
394
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
396
* Source/NSRegularExpression.m (-rangeOfFirstMatchInString:...):
397
Return range (NSNotFound, 0) when no match is found.
399
2011-12-22 Wolfgang Lux <wolfgang.lux@gmail.com>
401
* Source/NSRegularExpression.m (-initWithPattern:options:error:,
402
-pattern, setupRegex, -enumerateMatchesInString:options:range:,
403
FAKE_BLOCK_HACK, -replaceMatchesInString:options:range:,
404
-stringByReplacingMatchesInString:options:range:withTemplate:,
405
replacementStringForResult:inString:offset:template:): Introduce
406
support for libicu versions prior to 4.4, which don't provide the
407
UText interface to regular expressions.
409
2011-12-22 Wolfgang Lux <wolfgang.lux@gmail.com>
411
* Source/NSSocketPort.m (+portNumber:onHost:forceAddress:listener):
412
Fix an uninitialized variable bug, which could lead to returning
413
ports with an incorrect port number.
415
2011-12-19 Riccardo Mottola <rm@gnu.org>
418
Fix blocking compiler warning (ggc 4.5.3)
420
2011-12-17 Richard Frith-Macdonald <rfm@gnu.org>
422
* configure.ac: Try to make detection of compilers which don't support
423
locale/characterset handling for string literals somewhat friendly.
424
* configure: regenerate
426
2011-12-17 Fred Kiefer <FredKiefer@gmx.de>
428
* Source/NSPortCoder.m (-versionForClassName:): Use NSInteger for
429
version to avoid compiler warning on 64-bit system.
431
2011-12-17 Richard Frith-Macdonald <rfm@gnu.org>
433
* Source/NSUserDefaults.m:
434
Whenever we synchronize in a state where we have changes to write,
435
but are in read-only mode (no database existed on startup, or we
436
couldn't create the lock file on startup), check to see if the
437
database is now writable (we can create the lock file).
438
Should fix problem where new defaults files were not getting created.
440
2011-12-15 Richard Frith-Macdonald <rfm@gnu.org>
442
* Source/NSProcessInfo.m:
443
* Source/NSSocketPort.m:
444
* Source/NSMessagePortNameServer.m:
446
* Source/NSDistributedLock.m:
447
* Source/GSHTTPURLHandle.m:
448
* Source/NSMessagePort.m:
449
* Source/NSFileManager.m:
454
* Source/GSNetwork.h:
456
* Source/GSFileHandle.m:
464
* Headers/GNUstepBase/config.h.in:
466
Support fcntl.h and signal.h not being in the 'sys' subdirectory
467
(for android and any other systems with that header layout).
469
2011-12-15 Richard Frith-Macdonald <rfm@gnu.org>
471
* Headers/Foundation/NSObject.h:
472
* Headers/Foundation/NSObjCRuntime.h:
473
Move a few declarations between headers to match OSX, and update
474
NSNotFound to be NSIntegerMax for compatibility on 64bit platforms.
476
2011-12-13 Richard Frith-Macdonald <rfm@gnu.org>
478
* SSL/GSSSLHandle.m: Allow cipher list to be set using GSCipherList
481
2011-12-08 Wolfgang Lux <wolfgang.lux@gmail.com>
483
* configure.ac: Fix pkg-config configuration for libffi to make it
484
really work on systems where additional include options are
486
* configure: Regenerated.
488
2011-12-06 Richard Frith-Macdonald <rfm@gnu.org>
490
* Tools/AGSParser.m: Fix suggested by Daniel Santos (ifStack was
491
created with incorrect initial content).
493
2011-12-06 Richard Frith-Macdonald <rfm@gnu.org>
495
* configure.ac: use pkg-config for libffi if/when available.
496
* configure: regenerate
498
2011-12-05 Eric Wasylishen <ewasylishen@gmail.com>
500
* Source/NSFileManager.m:
501
* Headers/Foundation/NSFileManager.h: Add removeItemAtPath:error:
502
method, as a simple wrapper around removeFileAtPath:handler: with
505
2011-12-02 Richard Frith-Macdonald <rfm@gnu.org>
507
* config/config.constant-string-encoding.c: test for string literal
508
encoding behavior ... irrespective of source encoding we need to put
509
utf-8 in the executable. Can't check all cases, so just check the
510
most common one ... that building latin1 source in a latin1 locale
511
produces a utf8 string literal in the executable.
512
* configure.ac: add check for encoding.
513
* config.mak.in: specify charset for string literal in source
514
* base.make.in: specify charset for string literal in executable
515
* configure: regenerate
516
Check compiler behavior ... if well behaved, that's OK, no action to
517
take. If well behaved when given specific options to control input
518
and output encodings, then note the options to be used when building.
519
If neither, then abort with an error message giving the option of
520
disabling unicode string literal checks.
522
2011-11-21 Richard Frith-Macdonald <rfm@gnu.org>
524
* Source/NSUserDefaults.m: rewrite to store defaults in multiple files,
525
one for each persistent domain.
526
Probably needs lots of testing and performance tuning.
528
2011-11-18 Richard Frith-Macdonald <rfm@gnu.org>
530
* Source/NSJSONSerialization.m: Fix errors in BOM handling and tidy.
532
2011-11-17 Richard Frith-Macdonald <rfm@gnu.org>
534
* Source/GSString.m: Fix to compile again (use ifdef to consistently
535
have/not-have tiny strings), and tidy use of whitespace for readability
536
and coding standards.
537
I like the experimental tiny strings idea... will definitely save
538
space, but will need a lot of optimisation (like that of literal
539
strings) to stop it being slow.
540
Until it's about as fast as literal strings, we should probably only
541
enable it on platforms where memory footprint is an issue.
542
Not sure how to do that though.
544
2011-11-16 20:48 theraven
546
* Source/GSString.m: Store tiny strings (up to 8
547
ASCII characters) inside the pointer. Strings of this length are
548
fairly common, and this makes them very cheap to store/copy/compare
549
(pointer comparisons test for equality). 8 characters seems to be
550
enough for quite a lot of common uses, such as path components and
552
There are possibly still some things constructing tiny strings and not
555
2011-11-16 17:29 theraven
557
* Source/NSNumber.m: Implement the double boxing
558
techniques used by Smalltalk/X and Cincom Smalltalk. Now we can
559
conceal most doubles inside a pointer. This is most useful for
560
LanguageKit, but should save some memory / malloc overhead / heap
561
fragmentation in any code that uses a lot of NSNumbers (e.g.
562
anything that deals with big plists). OS X 10.7 employs a similar
565
2011-11-15 Adam Fedor <fedor@gnu.org>
567
* Source/win32/GSFileHandle.m: Fix include location
569
2011-11-04 Richard Frith-Macdonald <rfm@gnu.org>
571
* Source/NSPathUtilities.m: Deal with old FIXME saying that whether
572
we create the GNUstep/Library directory should be configurable.
573
Also, break long lines to confiorm to coding standards and for
576
2011-11-09 Richard Frith-Macdonald <rfm@gnu.org>
578
* Source/NSUserDefaults.m: ([-setObject:forKey:]) replace missing
579
return statement after removing object.
581
2011-11-07 Fred Kiefer <FredKiefer@gmx.de>
583
* Headers/Foundation/NSXMLParser.h: Turn the
584
NSXMLParserDelegateEventAdditions informal protocol into the
585
protocol NSXMLParserDelegate.
587
2011-11-07 Fred Kiefer <FredKiefer@gmx.de>
589
* Source/NSValueTransformer.m
590
([NSUnarchiveFromDataTransformer-reverseTransformedValue])
591
([NSUnarchiveFromDataTransformer-transformedValue]): Use archiver
592
instead of keyed archiver.
594
2011-11-07 Richard Frith-Macdonald <rfm@gnu.org>
596
* Source/Additions/GSMime.m: ([+decodeBase64:]) tolerate missing
597
padding and also use of '-' and '_' rather than '+' and '/' as
598
permitted in the "URL and Filename safe" variation given in RFC 4648
600
2011-11-04 Richard Frith-Macdonald <rfm@gnu.org>
602
* Source/NSDate.m: ([-timeIntervalSinceDate:]) return NaN if other
603
date is nil (OSX compatibility).
605
2011-11-02 Richard Frith-Macdonald <rfm@gnu.org>
607
* Source/NSNumber.m: Fix alignment error when encoding/decoding ...
608
buffer must be aligned so that any datatype can go in it.
609
* Source/cifframe.m: Fix buffer size for small scalar values on
611
* Source/GSFileHandle.m: Modify read/write to cope with interrupts.
613
2011-11-01 Richard Frith-Macdonald <rfm@gnu.org>
615
* Source/GSString.m: Partial restructuring suggested by Fred, plus
616
some more minor optimisation of equality checks for literal strings.
618
2011-10-28 Richard Frith-Macdonald <rfm@gnu.org>
620
* Source/GSString.m: Fix error (spotted by Fred) in check of UTF-8
621
string length against fixed character size string length.
623
2011-10-28 Richard Frith-Macdonald <rfm@gnu.org>
625
* Source/GSString.m: Implement more efficient equality tests for
626
utf-8 literal strings and strings in internal representation.
627
Implement rangeOfComposedCharacterSequenceAtIndex: for utf8 literal
630
2011-10-29 Fred Kiefer <FredKiefer@gmx.de>
632
* Source/GSeq.h: Replace unsigned with NSUInteger.
634
2011-10-28 Richard Frith-Macdonald <rfm@gnu.org>
636
* Source/NSString.m: Fix bug when widening mutable string in
637
replaceOccurrencesOfString:...range:
638
* Source/GSString.m: more efficient check to see if a literal string
639
can be converted to ascii or latin1. Remove unnecessary constraint
640
on when we need to widen strings.
642
2011-10-28 Fred Kiefer <FredKiefer@gmx.de>
644
* Tests/base/NSMutableString/basic.m: Add test for
645
replaceOccurrencesOfString:...range:
647
2011-10-27 Richard Frith-Macdonald <rfm@gnu.org>
649
* configure.ac: Do not redefine GNUSTEP_CONFIG_FILE in case it confuses
650
gnustep-config. Add check that gnustep-config returns something when
651
asked for the objc libraries.
652
* configure: Regenerate
653
* base.make.in: Add flag to tell compiler to use UTF-8 for literal
656
2011-10-25 Richard Frith-Macdonald <rfm@gnu.org>
658
* configure.ac: fix erroneous define of HAVE_GNUTLS to zero, and add
659
check for building with a different compiler from that used by make.
661
2011-10-24 Fred Kiefer <FredKiefer@gmx.de>
663
* Source/NSAffineTransform.m (-initWithCoder:, encodeWithCoder:):
664
Don't do anything for the keyed coding case.
665
* Source/NSDictionary.m (-initWithCoder:): Add another keyed
668
2011-10-22 Fred Kiefer <FredKiefer@gmx.de>
670
* Source/NSProcessInfo.m: Add includes needed for the HAVE_PROCFS
672
* Source/common.h: Correct last commit, the #endif was placed
675
2011-10-20 Richard Frith-Macdonald <rfm@gnu.org>
677
* Source/common.h: Attempt to workaround clang __block problem
679
2011-10-20 Richard Frith-Macdonald <rfm@gnu.org>
681
* Source/NSPathUtilities.m:
684
2011-10-19 Richard Frith-Macdonald <rfm@gnu.org>
686
* configure.ac: fixes for gnutls detection and to use the objc
687
libraries provided by gnustep-config.
689
2011-10-19 Richard Frith-Macdonald <rfm@gnu.org>
691
* Headers/GNUstepBase/GSFileHandle.h: remove
692
* Source/GSFileHandle.h: add
693
* Source/GNUmakefile: Don't install private header
694
* Source/NSFileHandle.m:
695
* Source/GSFileHandle.m:
697
Update to make GSFileHandle.h: private as it should be.
699
2011-10-19 Sebastian Reitenbach
701
* configure.ac: fix typo on gnutls detection.
703
2011-10-19 Richard Frith-Macdonald <rfm@gnu.org>
705
* Source/NSPathUtilities.m:
706
Fix failure to load global defaults when system layout/config is
707
locked down (problem reported by Julian Mayer).
709
2011-10-18 Richard Frith-Macdonald <rfm@gnu.org>
711
* standalone.conf: example configuration file for a standalone
712
package installation.
713
* Documentation/Base.gsdoc:
714
Documentation improvements for packaging
716
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
718
* configure.ac: Make sourcing of default config file more reliable.
719
* configure: regenerate.
721
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
724
* Source/NSPropertyList.m:
725
* Source/NSFileHandle.m:
727
* Source/DocMakefile:
728
* Documentation/Base.gsdoc:
729
* Headers/Foundation/NSString.h:
730
* Headers/Foundation/NSBundle.h:
731
Documentation cleanups.
733
2011-10-17 Quentin Mathe <quentin.mathe@gmail.com>
735
* Headers/Foundation/NSXMLNode.h:
736
* Source/NSXMLNode.m:
737
Fixed NSXMLNode compilation when using the "pure" non-fragile ABI
738
(--disable-mixedabi was passed to Base configure).
740
2011-10-17 Fred Kiefer <FredKiefer@gmx.de>
742
* Source/NSString.m (-initWithCoder:): In keyed coding the key
743
"NS.bytes" may contain either an NSData or an NSString object. Not
744
sure about the encoding, I am using UTF8.
746
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
748
* standalone.conf: First draft at a layout for standalone system
751
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
753
* Source/common.h: Added Quentin's fix to get Clang to compile this
756
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
758
* Source/ObjectiveC2/NSBlocks.m:
759
* Source/Additions/GSObjCRuntime.m:
760
Fixes to build with latest gcc.
762
2011-10-15 Gregory Casamento <greg.casamento@gmail.com>
764
* Documentation/GNUmakefile:
765
* Documentation/README.initialize: Documentation referred to by
768
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
771
Shift the responsibility for setting up macros controlling thread
772
safety to gnustep-make, and use the compiler -pthread option there.
774
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
776
* Source/unix/Makefile.preamble:
777
* Source/win32/Makefile.preamble:
778
* Source/ObjectiveC2/Makefile.preamble:
779
* Source/Additions/Makefile.preamble:
780
* Source/Makefile.preamble:
782
It seems various BSD operating systems have bugs in their _XOPEN_SOURCE
783
implementation, so we can't generally use it. Try _POSIX_C_SOURCE
786
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
788
* Source/unix/Makefile.preamble:
789
* Source/win32/Makefile.preamble:
790
* Source/ObjectiveC2/Makefile.preamble:
791
* Source/Additions/Makefile.preamble:
792
* Source/Makefile.preamble:
793
Define _REENTRANT as well as _XOPEN_SOURCE for maximum portability.
795
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
798
* Source/NSPathUtilities.m:
799
* Source/NSProcessInfo.m:
800
* Source/NSSocketPort.m:
801
* Source/NSRunLoop.m:
802
* Source/NSMessagePortNameServer.m:
803
* Source/unix/GSRunLoopCtxt.m:
804
* Source/unix/NSStream.m:
805
* Source/GSHTTPURLHandle.m:
807
* Source/NSMessagePort.m:
808
* Source/win32/GSFileHandle.m:
809
* Source/NSInvocation.m:
810
* Source/NSFileManager.m:
816
* Source/GSNetwork.h:
820
* Source/GSFileHandle.m:
824
Move/wrap include of unistd.h to work around clang problem.
826
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
828
* Source/Additions/Unicode.m:
829
Fix test for availability of lossy conversion via iconv.
831
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
833
* Source/GSString.m: Implement -hash for literal UTF-8 performance.
834
* Source/NSScanner.m: Fix initialisation bug which could cause
835
scanning to fail on some strings.
836
* Source/inet_pton.m:
837
* Source/NSProcessInfo.m:
838
* Source/NSSocketPort.m:
839
* Source/NSUserDefaults.m:
840
* Source/unix/NSStream.m:
841
* Source/inet_ntop.m:
842
* Source/GSHTTPURLHandle.m:
843
* Source/NSMessagePort.m:
844
* Source/GSPrivate.h:
845
* Source/win32/GSFileHandle.m:
846
* Source/win32/NSMessagePort.m:
847
* Source/win32/NSMessagePortNameServer.m:
848
* Source/NSFileManager.m:
849
* Source/Additions/Unicode.m:
850
* Source/Additions/NSError+GNUstepBase.m:
852
* Source/GSNetwork.h:
853
* Source/GSFileHandle.m:
855
* Source/Makefile.preamble:
856
Fix for thread-safe errno on solaris ... define _XOPEN_SOURCE to 600
858
2011-10-12 Richard Frith-Macdonald <rfm@gnu.org>
860
* Source/GSPrivate.h:
862
* Source/GSString.m: Use UTF-8 literal constant strings now that we
863
require a compiler version which supports them.
864
* Tests/base/NSString/test07.m: Simple test for UTF-8 in literal.
865
* Tests/base/GNUmakefile.super: Ensure all tests are compiled with
866
UTF-8 set as the source code characterset.
869
2011-10-11 Richard Frith-Macdonald <rfm@gnu.org>
871
* Source/NSString.m: Fix boundary error when getting cString into a
872
buffer. Fix floatValue and doubleValue to support arbitrary length
873
of leading white space.
874
* Source/GSNetwork.h: Check for EAGAIN on nonblocking socket.
876
2011-10-08 Niels Grewe <niels.grewe@halbordnung.de>
878
* Source/Additions/GSMime.m (GSMimeParser -scanToken:): Return an empty
879
string instead of nil when parsing an empty quoted string.
881
2011-10-08 Richard Frith-Macdonald <rfm@gnu.org>
883
* Source/GSFileHandle.m:
884
* Source/GSNetwork.h:
885
* Source/GSSocketStream.m:
886
* Source/NSMessagePort.m:
887
* Source/NSSocketPort.m:
888
* Source/NSURLProtocol.m:
889
Check for EALREADY as well as EINPROGRESS as an indicator of an
890
incomplete system call on a non-blocking descriptor.
892
2011-10-07 Richard Frith-Macdonald <rfm@gnu.org>
894
* Source/GSHTTPURLHandle.m:
895
Be aggressive about checking for close n the 'connection' header
896
and shutting down the network connection immediately.
898
2011-10-07 Richard Frith-Macdonald <rfm@gnu.org>
900
* Source/NSURLProtocol.m:
901
* Source/NSURLConnection.m:
902
Ensure that a synchronous load returns the response.
903
* Tests/base/NSURLConnection/basic.m: add test for above change.
905
2011-10-04 Richard Frith-Macdonald <rfm@gnu.org>
907
* Headers/Foundation/NSURL.h: Document that methods creating file URLs
908
raise an exception on being given a nil argument.
909
* Source/NSURL.m: Make file URL initialisers raise on nil argument.
910
* Source/NSBundle.m: Fix to check for nil path when reating file
911
URLs (fix for bug #34468).
913
2011-10-03 Fred Kiefer <FredKiefer@gmx.de>
915
* Source/NSPropertyList.m (GSBinaryPLParser -objectAtIndex:): Use
916
long long for all integer types. Before we used signed types which
917
resulted wrong values for negative integers.
918
* Source/NSKeyedUnarchiver.m (-_decodeObject:): Handle the string
919
"$null" as nil all the times.
921
2011-10-03 Richard Frith-Macdonald <rfm@gnu.org>
923
* Source/NSHost.m: Update to use inet_pton() and inet_ntop() and to
924
understand IPV6 addresses.
925
* Source/GSNetwork.h: New private functions to work with the internals
926
of a sockaddr irrespective of whether it's IP v4 or v6
927
* Source/GSSocketStream.h: Move a declaration to GSNetwork.h
928
* Source/GSSocketStream.m: Use new functions.
929
* Source/NSSocketPort.m: Change to be IP v4/v6 agnostic
930
* Source/NSMessagePort.m: Fix header include order.
931
* Source/GSFileHandle.m: Changes to be IP v4/v6 agnostic
932
* Headers/GNUstepBase/GSFileHandle.h: make setter use sockaddr type
933
rather than sockaddr_in so we can use it for ipv6
935
2011-10-03 Fred Kiefer <FredKiefer@gmx.de>
937
* Source/NSData.m (-initWithCoder:, -encodeWithCoder): Correct
938
keyed encoding/decoding.
940
2011-10-02 Richard Frith-Macdonald <rfm@gnu.org>
942
* Headers/Foundation/NSFileManager.h
943
* Source/NSFileManager.m
944
* Tests/base/NSFileManager/general.m
945
* Headers/Foundation/NSUserDefaults.h
946
* Source/NSUserDefaults.m
947
* Tests/base/NSUserDefaults/basic.m
948
Add a few newer OSX methods for compatibility.
950
2011-10-01 Niels Grewe <niels.grewe@halbordnung.de>
952
* Source/NSXMLNode.m: Properly implement -initWithKind: initializer.
953
Stub out some tree traversal stuff.
954
* Tests/base/NSXMLNode/basic.m: Fix test.
956
Initial work on NSXMLNode.
958
2011-10-01 Niels Grewe <niels.grewe@halbordnung.de>
960
* Tests/base/NSXMLNode/children.m: Test for child de-/re-attachment
963
2011-09-29 julian <julian@corecode.at>
965
* Source/NSBundle.m: ([objectForInfoDictionaryKey:])
966
Add missing one-line implementation.
968
2011-09-29 Richard Frith-Macdonald <rfm@gnu.org>
970
* Source/NSNumberFormatter.m: Check for _C_BOOL definition.
972
2011-09-07 Eric Wasylishen <ewasylishen@gmail.com>
974
* Source/NSUserDefaults.m:
975
- Refactoring of the code to read the system language list
976
into a separate function, systemLanguages().
977
- Add support for the LANGUAGE environment variable, a GNU extension.
978
It holds a colon-separated list of locales, and is intended to let
979
the user specify a list of their preferred languages in order.
980
For example, the language settings GUI in Ubuntu modifies the
984
http://www.gnu.org/software/gettext/manual/gettext.html#The-LANGUAGE-variable
985
- When populating NSLanguages, "expand" locales into a list of
986
related variants, formed by stripping off region suffixes. This
987
ensures that if a user's environment is set to a regional version
988
of a language (say CanadaFrench) but an application is only
989
traslated into French, the plain French translation will still be used.
991
e.g. if the system locales are {fr_CA, en_CA}, expand the list to
992
{fr_CA, fr, en_CA, en}.
993
* Headers/GNUstepBase/GSLocale.h:
995
New functions GSLocaleVariants and GSLanguagesFromLocale
997
2011-09-28 Niels Grewe <niels.grewe@halbordnung.de>
999
* Tests/base/NSXMLNode/*: Some initial tests for NSXMLNode. Passes on
1000
Mac OS X, marked as hopes until GNUstep implements this.
1002
2011-09-19 Richard Frith-Macdonald <rfm@gnu.org>
1004
* Version: Bump version and set required gcc to 4.0.0
1006
2011-09-18 Richard Frith-Macdonald <rfm@gnu.org>
1008
* Documentation/news.texi:
1009
* Documentation/ReleaseNotes.gsdoc:
1010
Update release notes for ...
1013
2011-09-12 Richard Frith-Macdonald <rfm@gnu.org>
1015
* Source/NSConnection.m: When getting the local type information for
1016
comparison with that supplied by the remote system, do so by sending
1017
-methodSignatureForSelector: to the receiver of the message.
1019
2011-09-07 Richard Frith-Macdonald <rfm@gnu.org>
1021
* Source/GSFFIInvocation.m: Check that we have a typed selector
1022
during invocation (copy types from method signature if necessary)
1023
so that forwarding won't fail if the runtime does a callback to
1024
us without providing the receiver for us to check ... workaround
1025
for proxying issues with very old runtimes.
1027
2011-08-27 Richard Frith-Macdonald <rfm@gnu.org>
1029
* Source/NSLock.m: Fix bug #34154 ... logic error locking before date.
1031
2011-08-26 Richard Frith-Macdonald <rfm@gnu.org>
1033
* libs/base/trunk/config/config.objc.m: If we don't assume Object
1034
exists in libobjc, we must implement +initialize so that the runtime
1035
won't crash when it tries to initialize our class.
1037
2011-08-25 Fred Kiefer <FredKiefer@gmx.de>
1039
* Tests/base/NSObject/test01.m: Only test for -isClass on GNUstep base.
1040
* Tests/base/NSObject/initialize.m: Make test compile on MinGW.
1042
2011-08-22 Fred Kiefer <FredKiefer@gmx.de>
1044
* Source/NSObject.m (__builtin_offsetof): Add
1045
workaround for build in missing in old versions of gcc.
1047
2011-08-20 Fred Kiefer <FredKiefer@gmx.de>
1049
* Source/Additions/GSMime.m,
1050
* Source/unix/NSStream.m,
1052
* Source/NSDistantObject.m,
1053
* Source/NSInvocation.m,
1054
* Source/NSMessagePort.m,
1055
* Source/NSNumber.m,
1056
* Source/NSSocketPort.m,
1057
* Source/NSURLProtocol.m,
1058
* Tools/autogsdoc.m:
1059
Temporary revert David's change to use PRIxPTR, PRIuPTR and
1060
PRIdPTR. Old compilers don't handled these well. (That change
1061
didn't have a ChangeLog entry)
1063
2011-08-17 Fred Kiefer <FredKiefer@gmx.de>
1065
* Source/Additions/GSMime.m: Use specific IMP type for method
1066
returning BOOL value.
1068
2011-08-17 Niels Grewe <niels.grewe@halbordnung.de>
1070
* config/objc-common.h: Include stdlib.h for the prototype of calloc().
1072
2011-08-17 Riccardo Mottola <rm@gnu.org>
1075
Additional cast to void* to keep OpenBSD compiler happy.
1077
2011-08-15 Richard Frith-Macdonald <rfm@gnu.org>
1079
* Source/Additions/GSMime.m:
1080
Redo fix for incorrect handling of documents with empty headers.
1082
2011-08-14 Richard Frith-Macdonald <rfm@gnu.org>
1084
* Source/Additions/GSMime.m:
1085
Revert attempted fix for header end parsing error.
1087
2011-08-06 Richard Frith-Macdonald <rfm@gnu.org>
1089
* Source/Additions/GSMime.m:
1090
Attempt fix for recording of excess data in the case where we are
1091
parsing mime headers only and the headers are incomplete.
1093
2011-08-13 15:28 David Chisnall <theraven@gna.org>
1095
* libs/base/trunk/Source/NSBundle.m,
1096
libs/base/trunk/Source/NSDateFormatter.m,
1097
libs/base/trunk/Source/NSLocale.m,
1098
libs/base/trunk/Source/NSNumberFormatter.m,
1099
libs/base/trunk/Source/NSRegularExpression.m: Fix the build with
1100
the pure non-fragile ABI by declaring macros before using them.
1102
2011-08-13 13:28 David Chisnall <theraven@gna.org>
1104
* libs/base/trunk/config/config.objc.m: Don't assume Object exists
1107
2011-08-11 Fred Kiefer <FredKiefer@gmx.de>
1109
* Source/NSAffineTransform.m (-appendTransform:)
1110
(-prependTransform:): Fix bug in optimisation code by using a
1113
2011-08-09 08:43 David Chisnall <theraven@gna.org>
1115
* libs/base/trunk/Source/NSConcreteHashTable.m,
1116
libs/base/trunk/Source/NSConcreteMapTable.m: Replace the
1117
implementations of NSFastEnumeration in NSConcrete{Hash,Map}Table
1118
with ones that work and don't cause people to dereference
1119
pointers that are set to random integer values.
1121
2011-08-07 18:00 David Chisnall <theraven@gna.org>
1123
* libs/base/trunk/Source/NSObject.m: In -finalize, we're pretending
1124
to be the Objective-C runtime, so we need to
1125
actually use isa directly, rather than the safe version. A better
1127
would be to call object_dispose(), but this only works for
1128
objects created with
1129
class_createInstance().
1131
2011-08-07 16:56 David Chisnall <theraven@gna.org>
1133
* libs/base/trunk/Source/NSObject.m: When calling -.cxx_dealloc,
1134
look up the superclass before calling. This method
1135
may destroy the receiver's class, if it's a user-generated one,
1137
guarantee that it is valid after the call.
1139
2011-08-05 17:34 David Chisnall <theraven@gna.org>
1141
* libs/base/trunk/Source/NSNumber.m: Bracket the runtime.h include
1144
2011-08-03 12:04 David Chisnall <theraven@gna.org>
1146
* libs/base/trunk/Headers/Foundation/NSRegularExpression.h,
1147
libs/base/trunk/Source/NSRegularExpression.m,
1148
libs/base/trunk/Source/NSString.m,
1149
libs/base/trunk/Tests/base/NSString/regex.m: Clean up
1150
NSRegularExpression, so that it compiles without warnings with or
1151
without ICU, but we don't pretend that we support things that we
1152
don't and silently return nonsense results to make debugging
1153
difficult for GNUstep users.
1155
2011-08-03 Fred Kiefer <FredKiefer@gmx.de>
1157
* Tests/base/NSMutableData/general.m
1158
* Tests/base/NSData/general.m
1159
* Tests/base/NSFileManager/unrepresentable_filenames.m
1160
* Tests/base/NSDate/create.m
1161
* Tests/base/GSMime/test01.m
1162
* Tests/base/Functions/runtime.m
1163
* Tests/base/NSInvocation/general.m
1164
* Tests/base/KVC/mutable.m
1165
* Tests/base/KVC/path.m
1166
* Tests/base/KVC/array.m
1167
* Tests/base/NSMapTable/create.m
1168
* Tests/base/NSHashTable/create.m
1169
* Tests/base/GenericTests/generic.m
1170
* Tests/base/NSBundle/resources.m: Remove warnings generated by tests.
1172
2011-08-02 Fred Kiefer <FredKiefer@gmx.de>
1174
* Tests/base/NSJSONSerialization/json.m: Get it compile without
1176
* Tests/base/NSString/regex.m: Use an autorelease pool.
1178
2011-08-02 Fred Kiefer <FredKiefer@gmx.de>
1180
* Source/NSThread.m (GSCurrentThread): Use C string in assert, not
1182
* Headers/Foundation/NSRegularExpression.h: Add the pattern as ivar.
1183
* Source/NSRegularExpression.m: Rewrite to compile with less
1184
warnings on systems not supporting ICU.
1186
2011-07-31 16:19 David Chisnall <theraven@gna.org>
1188
* libs/base/trunk/Headers/Foundation/NSObject.h: Remove the
1189
duplicate definition of the NSObject protocol methods in the
1190
NSObject class (redundant since they are implicitly added by the
1192
the protocol, and stupid because there was already one
1193
copy-and-paste error
1194
where they differed slightly). Also replaced all of the
1196
nonexistent documentation with actual documentation.
1198
2011-07-31 15:31 David Chisnall <theraven@gna.org>
1200
* libs/base/trunk/Headers/Foundation/NSAutoreleasePool.h,
1201
libs/base/trunk/Headers/Foundation/NSException.h,
1202
libs/base/trunk/Headers/Foundation/NSObjCRuntime.h,
1203
libs/base/trunk/Headers/Foundation/NSObject.h,
1204
libs/base/trunk/Source/GSArray.m,
1205
libs/base/trunk/Source/GSBlocks.m,
1206
libs/base/trunk/Source/GSString.m,
1207
libs/base/trunk/Source/NSBundle.m,
1208
libs/base/trunk/Source/NSConnection.m,
1209
libs/base/trunk/Source/NSDate.m,
1210
libs/base/trunk/Source/NSIndexPath.m,
1211
libs/base/trunk/Source/NSMessagePort.m,
1212
libs/base/trunk/Source/NSNull.m,
1213
libs/base/trunk/Source/NSNumber.m,
1214
libs/base/trunk/Source/NSPort.m,
1215
libs/base/trunk/Source/NSSocketPort.m,
1216
libs/base/trunk/Source/NSTimeZone.m,
1217
libs/base/trunk/Source/NSURLProtocol.m,
1218
libs/base/trunk/Source/NSValue.m: Cleanup:
1221
- (oneway void)release;
1222
so everything implementing -release actually implements the one
1223
declared in the NSObject protocol.
1225
Start marking things that are unavailable in ARC mode as
1226
unavailable in ARC mode.
1228
2011-07-26 David Chisnall <theraven@gna.org>
1229
* Source/NSObject.m:
1230
Change the order of the retain count and the padding, so the retain count
1231
is always the word before isa.
1233
Switch to using the correct kind of alignof (the ABI alignment in
1234
structures, not the preferred alignment of the type - this stops us from
1235
allocating 4 bytes of padding on x86-32 where there is no need for any)
1237
* Source/NSNumber.m:
1238
Use the small object support in libobjc2 trunk for 31 / 61-bit signed
1239
NSNumbers on 32 / 64-bit platforms respectively. Still to do: add an
1240
NSSmallFloat equivalent for 64-bit platforms, storing a float.
1242
2011-07-26 Quentin Mathe <quentin.mathe@gmail.com>
1244
* Headers/Foundation/NSObject.h:
1245
* Headers/Foundation/NSProxy.h:
1247
Fixed missing oneway qualifier on -release return type. Recent Clang
1248
trunk complains about it.
1250
2011-07-25 Fred Kiefer <FredKiefer@gmx.de>
1252
* Source/NSJSONSerialization.m: Get this file to compile with
1253
standard gcc settings fro GNUstep.
1255
2011-07-25 15:50 David Chisnall <theraven@gna.org>
1257
* libs/base/trunk/Headers/Foundation/Foundation.h,
1258
libs/base/trunk/Headers/Foundation/NSJSONSerialization.h,
1259
libs/base/trunk/Source/GNUmakefile,
1260
libs/base/trunk/Source/NSJSONSerialization.m,
1261
libs/base/trunk/Tests/base/NSJSONSerialization,
1262
libs/base/trunk/Tests/base/NSJSONSerialization/TestInfo,
1263
libs/base/trunk/Tests/base/NSJSONSerialization/json.m: Added
1264
NSJSONSerialization (10.7) implementation. The code path reading
1265
from an NSInputStream is not well tested - please try and break
1268
2011-07-25 Fred Kiefer <FredKiefer@gmx.de>
1270
* libs/base/trunk/Headers/GNUstepBase/GSIMap.h
1271
(GSIMapAddKeyNoRetain): Correct previous change.
1273
2011-07-24 Fred Kiefer <FredKiefer@gmx.de>
1275
* Source/NSAssertionHandler.m,
1276
* Headers/GNUstepBase/GSConfig.h.in: Clean up after last commit.
1277
* Headers/GNUstepBase/preface.h.in: Remove this obsolete file.
1279
2011-07-24 13:09 David Chisnall <theraven@gna.org>
1281
* Headers/Foundation/NSArray.h,
1282
Headers/Foundation/NSDictionary.h,
1283
Headers/Foundation/NSEnumerator.h,
1284
Headers/Foundation/NSInvocation.h,
1285
Headers/GNUstepBase/GSFileHandle.h,
1286
Headers/GNUstepBase/GSIMap.h,
1287
Headers/GNUstepBase/preface.h.in,
1288
Source/Additions/GCDictionary.m,
1289
Source/Additions/GSInsensitiveDictionary.m,
1290
Source/Additions/GSLock.m,
1291
Source/Additions/NSData+GNUstepBase.m,
1293
Source/GSDictionary.m,
1294
Source/GSInvocation.h,
1296
Source/NSAssertionHandler.m,
1297
Source/NSCharacterSet.m,
1298
Source/NSConcreteHashTable.m,
1299
Source/NSConcreteMapTable.m,
1300
Source/NSConcretePointerFunctions.h,
1301
Source/NSConnection.m,
1302
Source/NSCountedSet.m,
1303
Source/NSData.m, libs/base/trunk/Source/NSDate.m,
1305
Source/NSDictionary.m,
1306
Source/NSDistantObject.m,
1308
Source/NSIndexPath.m,
1309
Source/NSInvocation.m,
1310
Source/NSKeyValueObserving.m,
1311
Source/NSPointerArray.m,
1312
Source/NSProcessInfo.m,
1313
Source/NSPropertyList.m,
1314
Source/NSTimeZone.m,
1316
Source/unix/NSStream.m,
1317
Tests/base/NSHashTable/weak.m,
1318
Tests/base/NSPointerArray/weak.m: Lots of little
1319
fixes to make -base compile with -Werror (now builds without
1322
Richard: I'm unsure about three of these, which were fixes in
1324
- NSConcreteMapTable.m
1325
- NSConcreteHashTable.m
1326
- Additions/NSData+GNUstepBase.m
1328
Please can you check them? I think they are intended to zero the
1330
(rather than the first word), but the lack of comments makes me
1333
Most changes were just tweaks to variable types. I've also
1334
removed some dead code from NSInvocation. This was small group of
1335
things that were marked for internal use only, but not actually
1336
referenced in the code anywhere.
1340
- NSArray / NSDictionary fixed up to use the 10.7 (ARC-friendly)
1342
- getObjects:andKeys: implemented for NSDictionary (10.5 method)
1343
- NSPointerArray and NSHashTable now properly support weak
1345
- Tests for weak objects in collections.
1347
2011-07-23 16:16 David Chisnall <theraven@gna.org>
1349
* libs/base/trunk/Headers/GNUstepBase/GSIMap.h,
1350
libs/base/trunk/Source/NSConcreteMapTable.m,
1351
libs/base/trunk/Source/NSConcretePointerFunctions.h,
1352
libs/base/trunk/Tests/base/NSMapTable/weak.m: Add support (and
1353
test) for weak keys and values in NSMapTable. This support should
1354
work in GC mode. It also works if the runtime supports ARC, even
1355
if the compiler does not use this support.
1357
2011-07-23 12:19 David Chisnall <theraven@gna.org>
1359
* libs/base/trunk/Source/NSObject.m: Remove the zone pointer from
1360
objects. Now we always query the zones to find the relevant
1361
pointer. Zones are still supported, but we now optimise for the
1362
case where they are not used.
1364
To disable zone support completely, NSAllocateObject() should
1365
ignore the zone and NSDeallocateObject() should skip the zone
1368
2011-07-22 16:07 David Chisnall <theraven@gna.org>
1370
* libs/base/trunk/Headers/Foundation/NSArray.h,
1371
libs/base/trunk/Source/GSArray.m,
1372
libs/base/trunk/Source/NSArray.m: Change id* -> id[] for OS X
1373
10.7 compatibility in NSArray. This change is required for ARC:
1374
now, id* means pointer to a single object, id[] means array.
1376
2011-07-22 14:38 David Chisnall <theraven@gna.org>
1378
* Source/NSRegularExpression.m:
1379
Added stub implementation for when GNUstep is built without ICU.
1381
2011-07-20 Eric Wasylishen <ewasylishen@gmail.com>
1383
* Source/NSNumberFormatter.m
1384
(-attributedStringForObjectValue:withDefaultAttributes:):
1385
Guard against initializing an NSAttributedString with a nil string.
1387
2011-07-20 Eric Wasylishen <ewasylishen@gmail.com>
1389
* Source/GSAttributedString.m: Throw an exception if the string object
1390
passed to -initWithString:attributes: doesn't respond to -length, or if
1391
it is nil. This is the same behaviour as OS X.
1392
* Source/NSAttributedString.m (-init): Call -initWithString:attributes:
1393
with @"" instead of nil, since passing nil now causes an exception
1396
2011-07-19 Richard Frith-Macdonald <rfm@gnu.org>
1398
* Source/Makefile.postamble:
1399
Install ObjectiveC2 compatibility headers only if that is built (which
1400
should be only if no 'real' objc2 library is available).
1401
Also generate an objc/runtime.h header to include objectiveC2/runtime.h
1402
so that people can just include objc/runtime.h to use the new runtime
1403
API irrespective of whether the API is provided by the actual runtime
1404
library or by the compatibility library.
1406
2011-07-15 Richard Frith-Macdonald <rfm@gnu.org>
1408
* Source/GNUmakefile:
1409
* Source/GSRunLoopWatcher.h:
1410
* Source/NSXMLPrivate.h:
1411
* Source/unix/GSRunLoopCtxt.m:
1412
* Source/win32/GSFileHandle.m:
1413
* Source/win32/NSMessagePort.m:
1414
* Source/win32/GSRunLoopCtxt.m:
1415
* Source/win32/NSStream.m:
1417
* Source/Additions/GSXML.m:
1418
* Source/Additions/GSFunctions.m:
1419
* Source/Additions/GSObjCRuntime.m:
1420
* Source/GSURLPrivate.h:
1421
* SSL/GSSSLHandle.m:
1422
* Makefile.postamble:
1424
* Headers/GNUstepBase/GSConfig.h.in:
1425
* Headers/GNUstepBase/GSFunctions.h:
1426
* Headers/GNUstepBase/GSObjCRuntime.h:
1427
* Headers/Foundation/NSZone.h:
1428
* Tools/make_strings/make_strings.m:
1429
* configure: regenerate
1430
Remove references to obsolete header.
1432
2011-07-15 Richard Frith-Macdonald <rfm@gnu.org>
1434
* Source/NSThread.m: Fix faulty assert.
1436
2011-07-12 Richard Frith-Macdonald <rfm@gnu.org>
1438
* Source/NSFileHandle.m:
1439
* SSL/GSSSLHandle.m:
1440
* Headers/Foundation/NSFileHandle.h:
1441
Fixup to let certificate information contain a chaing with intermediate
1442
certificate authorities. Simplify handshake using common routine for
1443
non-blocking handshake attempt.
1445
2011-07-11 14:31 David Chisnall <theraven@gna.org>
1447
* Source/NSAutoreleasePool.m,
1448
Source/NSThread.m: Lazily initialize POSIX
1449
threads, matching OS X behaviour and stopping us from crashing
1450
when calling autorelease from a thread that was not previously
1451
registered explicitly (yuck!)
1453
Also do some quite hacky (and not totally correct) things to try
1454
to make sure that we aren't confused into thinking that the first
1455
NSThread is the main thread, if it's created on a separate
1456
thread. Currently only supported on FreeBSD and OpenBSD.
1458
2011-07-11 12:36 David Chisnall <theraven@gna.org>
1460
* Source/NSNumber.m: [NSNumber -init] should not
1461
destroy itself when called as [super init]. This behaviour was
1462
breaking anything that subclassed NSNumber in user code (e.g.
1465
2011-07-11 Fred Kiefer <FredKiefer@gmx.de>
1467
* Source/GSLocale.m (GSLanguageFromLocale): Handle local "C.UTF-8"
1468
correctly. Needed for Cygwin.
1470
2011-07-11 Fred Kiefer <FredKiefer@gmx.de>
1472
* config/config.ffi.c: Move declaration of g_dbl to begin of
1474
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
1476
2011-07-11 Fred Kiefer <FredKiefer@gmx.de>
1478
* Source/NSTimeZone.m (+systemTimeZone): Support the OpenSuse key
1479
TIMEZONE in /etc/sysconfig/clock.
1481
2011-07-10 Wolfgang Lux <wolfgang.lux@gmail.com>
1483
* Source/NSObject.m (+zone): Override to ensure that -zone returns
1484
a valid zone pointer when it is called on a class object.
1486
2011-07-05 Fred Kiefer <FredKiefer@gmx.de>
1488
* macosx/gnustep.pbproj/project.pbxproj,
1489
* Tools/make_strings/GNUmakefile.preamble: Remove references to
1490
obsolete directory Headers/Additions.
1492
2011-07-05 Fred Kiefer <FredKiefer@gmx.de>
1494
* Headers/GNUstepBase/GNUstep.h: Define the __has_feature macro,
1495
as this file may be used without preface.h being included first.
1496
Fixes bug #33708. Patch by Tim Kack <timkack@gmail.com>.
1498
2011-07-04 11:31 David Chisnall <theraven@gna.org>
1500
* Source/NSObject.m:
1501
Switch the order of the reference count and the zone so that the
1502
reference count (in reference counted mode) is always immediately in
1503
front of the object. Please test this!!
1505
Opt NSObject into the fast path for ARC. ARC will now not call
1506
the retain / release / autorelease methods on NSObject or any
1507
classes that inherit their implementation of these methods from
1508
NSObject. In quick and dirty testing, this gives about a 10-20%
1511
2011-06-30 14:44 David Chisnall <theraven@gna.org>
1513
* Headers/Foundation/NSArray.h,
1514
Headers/Foundation/NSProxy.h,
1515
Headers/GNUstepBase/GSVersionMacros.h,
1516
Headers/GNUstepBase/preface.h.in,
1517
Source/NSProxy.m: Rewrote NSProxy's -retain /
1518
-release to be the same as NSObject, not its own ad-hoc thing.
1520
Added declaration of __bridge for use in non-ARC mode.
1522
Tweaked arrayWithObjects:count: to take a const id* parameter, to
1524
treating it as a write-back parameter.
1526
2011-06-29 15:21 David Chisnall <theraven@gna.org>
1528
* Headers/Foundation/NSNotification.h,
1529
Headers/Foundation/NSZone.h,
1530
Headers/GNUstepBase/preface.h.in,
1531
Tools/make_strings/make_strings.m: More ARC
1532
fixes. We don't want to be using __strong void* in ARC mode (it
1533
only makes sense in GC mode and is invalid in ARC mode).
1535
2011-06-29 13:13 David Chisnall <theraven@gna.org>
1537
* Source/NSObject.m: Add support to NSObject for
1538
automatically zeroing __weak references when using ARC.
1540
2011-06-29 11:50 David Chisnall <theraven@gna.org>
1542
* Headers/Foundation/NSAutoreleasePool.h,
1543
Headers/Foundation/NSEnumerator.h,
1544
Headers/Foundation/NSException.h,
1545
Headers/Foundation/NSZone.h,
1546
Headers/GNUstepBase/preface.h.in:
1547
ARC-compatibility tweaks in the headers. ARC will not track
1548
objects inside structures and rejects code that uses object types
1549
that are not __unsafe_unretained qualified inside structures.
1551
This quick fix just added this type qualifier on all such
1552
structures. Several of these should probably not be in headers at
7
1555
2011-06-26 Wolfgang Lux <wolfgang.lux@gmail.com>