Commit graph

6716 commits

Author SHA1 Message Date
rfm
cc57597918 fix typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37582 72102866-910b-0410-8b05-ffd578937521
2014-01-12 15:23:33 +00:00
rfm
a4a750c42b improve code to find path to developer area (root of msys system) on windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37581 72102866-910b-0410-8b05-ffd578937521
2014-01-12 15:19:39 +00:00
znek
dfae939ab6 Windows compile fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37574 72102866-910b-0410-8b05-ffd578937521
2014-01-11 18:03:15 +00:00
rfm
102131a5b4 alter NSDeveloperDirectory to give the path to the installed development system (the gnustep package on windows)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37573 72102866-910b-0410-8b05-ffd578937521
2014-01-11 08:58:57 +00:00
rfm
5496e2e3ae fix for NT/windows detection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37572 72102866-910b-0410-8b05-ffd578937521
2014-01-11 08:09:39 +00:00
rfm
522c711778 when looking for executables in windows path, try all executable file extensions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37571 72102866-910b-0410-8b05-ffd578937521
2014-01-10 21:03:25 +00:00
rfm
08ecbf5d0c mingw fixup by Riccardo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37568 72102866-910b-0410-8b05-ffd578937521
2014-01-10 15:41:28 +00:00
rfm
bc6da4ddc2 mingw fixup for executable files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37567 72102866-910b-0410-8b05-ffd578937521
2014-01-10 15:33:36 +00:00
qmathe
74210c8f6a Fixed +[NSValueTransformer valueTransformerForName:] 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37565 72102866-910b-0410-8b05-ffd578937521
2014-01-09 10:21:55 +00:00
rfm
58d38a26b9 safety tweak suggested by Quentin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37564 72102866-910b-0410-8b05-ffd578937521
2014-01-09 09:55:36 +00:00
rfm
521df718a9 Don't set mutations pointer to on-stack value which could randomly get set
to contain garbage ... use self instead.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37563 72102866-910b-0410-8b05-ffd578937521
2014-01-09 09:00:24 +00:00
rfm
78fe5fb40f move random data generation out to category for easier use
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37558 72102866-910b-0410-8b05-ffd578937521
2014-01-08 11:14:53 +00:00
qmathe
16fc05ced5 Fixed double number JSON 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.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37556 72102866-910b-0410-8b05-ffd578937521
2014-01-07 19:20:00 +00:00
rfm
1050967fe5 avoid needing to initialise main operation queue in main thread
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37555 72102866-910b-0410-8b05-ffd578937521
2014-01-07 16:15:33 +00:00
rfm
84425c4a30 Fix zombie creation for new runtime with hidden class for associated objects
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37553 72102866-910b-0410-8b05-ffd578937521
2014-01-07 11:09:05 +00:00
rfm
54c7ddf7ee Fix for bug #41111
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37551 72102866-910b-0410-8b05-ffd578937521
2014-01-07 10:41:49 +00:00
rfm
0809ec6608 tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37546 72102866-910b-0410-8b05-ffd578937521
2014-01-06 22:27:34 +00:00
rfm
955bf169c2 avoid possible problem with replacement when there's nothing to do ... we could be unnecessarily checking that a buffer exists when we don't actually need to
move anything in it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37537 72102866-910b-0410-8b05-ffd578937521
2014-01-05 17:30:11 +00:00
rfm
96b757f0d2 fix error in method name used in exception format string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37536 72102866-910b-0410-8b05-ffd578937521
2014-01-05 17:22:45 +00:00
znek
2011f25eff several macros added to properly support protocols containing @optional
also on GCC >= 4.6


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37525 72102866-910b-0410-8b05-ffd578937521
2013-12-30 13:37:40 +00:00
znek
27e3e2f3f5 NSNetServiceListenForConnections option implemented for GSAvahiNetService
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37521 72102866-910b-0410-8b05-ffd578937521
2013-12-26 23:16:36 +00:00
rfm
0c46b4715a buffer overrun fix by Sergei Golovin <golovin.sv@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37489 72102866-910b-0410-8b05-ffd578937521
2013-12-21 07:56:33 +00:00
rfm
1c5249ce95 get random value on mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37486 72102866-910b-0410-8b05-ffd578937521
2013-12-20 17:06:30 +00:00
rfm
23abb52aa3 fixes for task notification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37484 72102866-910b-0410-8b05-ffd578937521
2013-12-20 13:32:29 +00:00
rfm
3363ab4282 improve build on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37483 72102866-910b-0410-8b05-ffd578937521
2013-12-20 13:28:45 +00:00
rfm
76154c4797 tweaks to build on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37482 72102866-910b-0410-8b05-ffd578937521
2013-12-20 12:51:52 +00:00
rfm
fe5528ec35 iUUID for unix by leeg
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37480 72102866-910b-0410-8b05-ffd578937521
2013-12-20 12:26:22 +00:00
rfm
19bee40b91 attempt to fix #39125
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37479 72102866-910b-0410-8b05-ffd578937521
2013-12-20 10:45:52 +00:00
rfm
15e7c8f897 changes from bug #40930
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37478 72102866-910b-0410-8b05-ffd578937521
2013-12-20 10:18:12 +00:00
fredkiefer
1c6738c660 * Headers/Foundation/NSArray.h,
* Source/NSArray.m: Move -setValue:forKey: from NSMutableArray
  to NSArray.
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37464 72102866-910b-0410-8b05-ffd578937521
2013-12-13 21:01:22 +00:00
wlux
d770d1eeae Use correct feature test for presence of ucnv functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37437 72102866-910b-0410-8b05-ffd578937521
2013-12-07 17:48:10 +00:00
qmathe
cf71a18895 Changed keys argument type to (const id <NSCopying>[]) in
-[NSDictionary initWithObjects:forKeys:count:] and 
+dictionaryWithObjects:forKeys:count:, to follow the current Cocoa API.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37431 72102866-910b-0410-8b05-ffd578937521
2013-12-05 13:16:36 +00:00
rfm
027b437d5a fixup credential equality check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37430 72102866-910b-0410-8b05-ffd578937521
2013-12-04 15:06:24 +00:00
rfm
c7afe49254 avoid dereferencing nul pointer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37420 72102866-910b-0410-8b05-ffd578937521
2013-11-30 08:57:20 +00:00
rfm
e4c8d18e60 New option to control delay between shutdown and fianl close
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37418 72102866-910b-0410-8b05-ffd578937521
2013-11-27 17:05:32 +00:00
rfm
73a23ba709 Try to cope with failure of remote end to respond to tls shutdown.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37417 72102866-910b-0410-8b05-ffd578937521
2013-11-27 12:26:33 +00:00
rfm
ce3811fd7a try to ensure all data is written on socket shutdown
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37402 72102866-910b-0410-8b05-ffd578937521
2013-11-23 14:46:48 +00:00
rfm
0ace917077 fix memory leak reauthenticating
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37401 72102866-910b-0410-8b05-ffd578937521
2013-11-23 06:10:16 +00:00
rfm
299469bbf0 fix for delay in tls write
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37397 72102866-910b-0410-8b05-ffd578937521
2013-11-22 16:33:46 +00:00
rfm
8c09d03d19 fix leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37395 72102866-910b-0410-8b05-ffd578937521
2013-11-22 15:24:26 +00:00
rfm
b8275dc446 fixed missing arg
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37394 72102866-910b-0410-8b05-ffd578937521
2013-11-22 13:00:55 +00:00
rfm
7e23b19f32 improve tls diagnostics
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37393 72102866-910b-0410-8b05-ffd578937521
2013-11-22 12:58:46 +00:00
rfm
3165d13853 make sslDisconnect use blocking I/O
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37392 72102866-910b-0410-8b05-ffd578937521
2013-11-21 17:01:15 +00:00
rfm
0e8eff792c revert
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37391 72102866-910b-0410-8b05-ffd578937521
2013-11-21 16:45:01 +00:00
rfm
971a8374a8 Reorganise a bit to ensure that TLS is properly shut down before the network
connection it relies on is closed.  Needed in case information is buffered
in the TLS layer and needs flushing to the remote end before shutdown.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37390 72102866-910b-0410-8b05-ffd578937521
2013-11-21 15:13:14 +00:00
rfm
f368388449 fix for bug 40620
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37385 72102866-910b-0410-8b05-ffd578937521
2013-11-20 06:12:29 +00:00
rfm
91a8f013d9 fix for segfault by Saso Kiselkov
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37384 72102866-910b-0410-8b05-ffd578937521
2013-11-19 22:36:08 +00:00
rfm
6781e92ac5 add -isoYear
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37377 72102866-910b-0410-8b05-ffd578937521
2013-11-18 15:19:23 +00:00
rmottola
ae9f830228 Openbsd malloc.h warning fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37368 72102866-910b-0410-8b05-ffd578937521
2013-11-07 14:41:58 +00:00
espectador
169daabc3b Return the name of last action in NSUndoManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37365 72102866-910b-0410-8b05-ffd578937521
2013-11-06 01:52:54 +00:00