Commit graph

207 commits

Author SHA1 Message Date
rfm
bc3d2508ee Avoid use of NSDeallocateObject() as it dooesn't work properly with new runtime. 2025-01-02 17:43:28 +00:00
rfm
eec5adb655 Add missing import 2024-12-05 12:39:46 +00:00
rfm
932eb5e1c3 Use bundle identifier for dedaults domain if possible 2024-12-04 14:49:16 +00:00
rfm
6667842dd5 Update FSF address as requested by Gregory 2024-11-07 13:37:59 +00:00
Hugo Melder
81b3c721bc
NSUserDefaults: Retrieve native UI languages from Windows and Android System APIs (#426)
* Create NSString Win32Additions Category

* NSUserDefaults: Fetch Windows UI language information

* NSUserDefaults: Add winnls include

* Android Native UI Language

* NSUserDefaults: Replace incorrect separator on Windows

* NSProcessInfo: BCP-47 Note

* GSConfig: Bump MinGW WINVER to Vista

* NSString+Win32Additions: Do not add array to arp twice

* NSUserDefaults: Increase default length
2024-08-07 16:26:16 +02:00
rfm
cfc158b4ce Remove obslete code 2024-05-30 11:28:49 +01:00
rfm
58ae7db59a fixup headers for deletion of obsolete lock code 2024-05-30 11:06:23 +01:00
rfm
2df0df5450 move tcp tune code to be shared between windows and unix 2024-01-30 15:26:34 +00:00
Riccardo Mottola
08858caf29 cleanup biolerplate comments, enable autogsdoc comments, cleanup some old RCS/CVS tags, fix emails 2023-12-23 02:44:50 +01:00
Richard Frith-Macdonald
cc90b2d5a8 Add missing code to create IPV6 streams 2023-08-19 14:25:30 +01:00
rfm
21d630ba95
Revert "Initial commit of updated IPv6" 2023-08-18 12:06:26 +01:00
Royal Stewart
337ebbea0b Initial commit of updated IPv6 2023-07-25 10:06:20 -06:00
Hugo Melder
32eb5d2acd
win32: Support overlapped (asynchronous) I/O on standard streams in GSFileHandle
* win32: Support overlapped I/O on standard streams in GSFileHandle

* Add isStandardInput instance variable

* Restrict PeekConsoleInput on stdin

* Update ChangeLog
2022-08-23 18:43:14 +02:00
Frederik Seiffert
6657796e15 Use GSNativeChar where applicable 2022-01-26 10:33:33 +01:00
Frederik Seiffert
acde7b062a Fix release method signature to match NSObject 2021-08-11 19:32:21 +02:00
Frederik Seiffert
27c06a9209 Fix various incorrect format string types 2021-08-11 19:32:21 +02:00
Frederik Seiffert
87dc8ab70c Fix incorrect method signature in win32/NSMessagePort 2021-08-11 19:32:21 +02:00
Frederik Seiffert
2d45396de0 Fix various incorrect log statements 2021-08-11 19:32:21 +02:00
Richard Frith-Macdonald
391c00b058 Added some debug logging 2021-05-19 11:15:29 +01:00
Richard Frith-Macdonald
8b8fe60070 break out of loop if write fails 2021-05-15 17:53:44 +01:00
Richard Frith-Macdonald
ed9bb899a7 Support writing large chunks of data over tls on windows 2021-05-15 16:10:23 +01:00
Frederik Seiffert
5fb5fb46c4 Win MSVC: add NSFileManager support
Also unifies _CHAR in NSFileManager with GSNativeChar, as they are internally required to be the same.
2021-03-17 17:42:15 +01:00
Frederik Seiffert
61709e6101 Support building on Windows with Clang MSVC target 2021-02-03 15:02:27 +01:00
Riccardo Mottola
5bbe378a79 remove unneeded window headers include, since common.h will include GSConfig.h 2020-06-05 13:46:34 +02:00
Frederik Seiffert
a0fe037077 Include winsock2.h before windows.h, as required by MSYS2/MinGW-w64. 2020-05-29 10:40:03 +02:00
Frederik Seiffert
9f0d8d7720 Fix building Win32 classes with nonfragile ABI. 2020-05-13 18:08:35 +02:00
Richard Frith-Macdonald
4ce7a25541 Changes to avoid possible hang in connection reply mode due to race condition. 2017-12-21 13:51:01 +00:00
Richard Frith-MacDonald
71d1d5c42b implement methods to create a stream to read from a URL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40420 72102866-910b-0410-8b05-ffd578937521
2017-03-27 09:44:13 +00:00
Richard Frith-MacDonald
173079f8f5 fix swapped arguments (spotted by Fred in testplant changes)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40419 72102866-910b-0410-8b05-ffd578937521
2017-03-27 09:27:12 +00:00
Richard Frith-MacDonald
57c16fcd8a Fix a few places to use NSUInteger
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40153 72102866-910b-0410-8b05-ffd578937521
2016-10-18 08:45:26 +00:00
Richard Frith-MacDonald
33ed35331b Various configure/build tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40062 72102866-910b-0410-8b05-ffd578937521
2016-08-19 12:20:24 +00:00
Richard Frith-MacDonald
945ca4abfb use fairStart to get a fairer distribution of I/O across multiple handles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40045 72102866-910b-0410-8b05-ffd578937521
2016-08-01 07:40:36 +00:00
Richard Frith-MacDonald
f8f4bb51e3 fix bad return value when polling for windows messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40000 72102866-910b-0410-8b05-ffd578937521
2016-07-16 08:25:24 +00:00
Richard Frith-MacDonald
89c92b4f4e avoid compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39941 72102866-910b-0410-8b05-ffd578937521
2016-06-28 13:30:04 +00:00
Richard Frith-MacDonald
7f0fc86fc7 more msys2/64bit tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39934 72102866-910b-0410-8b05-ffd578937521
2016-06-27 19:31:02 +00:00
Richard Frith-MacDonald
066fb2558a msys2 64bit tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39931 72102866-910b-0410-8b05-ffd578937521
2016-06-27 18:04:30 +00:00
Richard Frith-MacDonald
124908fd1d mingw64 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39780 72102866-910b-0410-8b05-ffd578937521
2016-05-19 07:27:26 +00:00
Richard Frith-MacDonald
d40d219015 removal of garbage collection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39608 72102866-910b-0410-8b05-ffd578937521
2016-03-25 11:15:28 +00:00
Richard Frith-MacDonald
b7bfd48166 remove unused code spotted by Fred
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39456 72102866-910b-0410-8b05-ffd578937521
2016-03-05 10:10:23 +00:00
Richard Frith-MacDonald
629e772269 various windows networking fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39455 72102866-910b-0410-8b05-ffd578937521
2016-03-04 18:53:32 +00:00
Richard Frith-MacDonald
d3aab9bc45 win32 standard io fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39454 72102866-910b-0410-8b05-ffd578937521
2016-03-04 18:06:01 +00:00
Richard Frith-MacDonald
276e557f9c tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39433 72102866-910b-0410-8b05-ffd578937521
2016-03-01 11:43:36 +00:00
Richard Frith-MacDonald
8352d4a919 tweaks for win64 by Seong Gu Lee <sgleehd@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39432 72102866-910b-0410-8b05-ffd578937521
2016-03-01 10:41:33 +00:00
Richard Frith-MacDonald
11aa431bd6 need windows.h before winsock2.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38922 72102866-910b-0410-8b05-ffd578937521
2015-08-24 09:25:24 +00:00
Richard Frith-MacDonald
2a108f2235 include winsock2.h earlier
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38921 72102866-910b-0410-8b05-ffd578937521
2015-08-24 09:21:01 +00:00
Richard Frith-MacDonald
2ef7040ac3 Add Yavor's lfs patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38010 72102866-910b-0410-8b05-ffd578937521
2014-07-25 10:38:20 +00:00
Richard Frith-MacDonald
4803d56747 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
Richard Frith-MacDonald
12f935a8e4 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
Richard Frith-MacDonald
ed09c55959 leak detection improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37003 72102866-910b-0410-8b05-ffd578937521
2013-08-22 15:44:54 +00:00
Richard Frith-MacDonald
8398b7e156 fixups to avoid future ABI breakage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36538 72102866-910b-0410-8b05-ffd578937521
2013-04-15 09:07:19 +00:00