mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Merge branch 'master' of ssh://github.com/gnustep/libs-base
This commit is contained in:
commit
e2f6d591b3
3 changed files with 17 additions and 10 deletions
20
ChangeLog
20
ChangeLog
|
@ -1,3 +1,9 @@
|
|||
2021-01-21 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Tools/pl2link.m (main): Set key StartupWMClass and allow file
|
||||
parameters of the Exec key.
|
||||
Idea by: Josh Freeman <gnustep_lists@twilightedge.com>
|
||||
|
||||
2021-01-21 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSScanner.m: Fix scanning of zero values.
|
||||
|
@ -601,7 +607,7 @@
|
|||
* Source/GSDictionary.m:
|
||||
Implement fast enumeration for insensitive dictionary
|
||||
|
||||
2020-09-05 fredkiefer <fredkiefer@gmx.de>
|
||||
2020-09-05 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Source/NSPersonNameComponentsFormatter.m:
|
||||
Add missing break
|
||||
|
@ -617,7 +623,7 @@
|
|||
* Source/Additions/GSXML.m:
|
||||
Avoid coverity warning
|
||||
|
||||
2020-08-30 fredkiefer <fredkiefer@gmx.de>
|
||||
2020-08-30 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Source/NSDateComponentsFormatter.m: Fix use of wrong operator.
|
||||
|
||||
|
@ -1020,13 +1026,13 @@
|
|||
* Source/NSJSONSerialization.m:
|
||||
Fix exponent validation
|
||||
|
||||
2020-05-10 fredkiefer <fredkiefer@gmx.de>
|
||||
2020-05-10 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Source/NSISO8601DateFormatter.m:
|
||||
* Source/NSOrthography.m:
|
||||
Clean up some compiler warnings.
|
||||
|
||||
2020-05-09 fredkiefer <fredkiefer@gmx.de>
|
||||
2020-05-09 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Tests/base/NSLocale/general.m:
|
||||
Mark more tests that depend on locale setting as hopes.
|
||||
|
@ -1035,7 +1041,7 @@
|
|||
* Tests/base/NSXMLParser/parse.m: Mark stream test as hopeful
|
||||
as this isn't implemented at the moment.
|
||||
|
||||
2020-05-08 fredkiefer <fredkiefer@gmx.de>
|
||||
2020-05-08 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Source/NSXMLParser.m: Fix small bug in last commit that broke
|
||||
all gui applications when there was a commented out section in
|
||||
|
@ -1183,7 +1189,7 @@
|
|||
* Source/NSString.m:
|
||||
Fix typo spotted by 'alotrev'
|
||||
|
||||
2020-04-26 fredkiefer <fredkiefer@gmx.de>
|
||||
2020-04-26 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Source/NSLocale.m: Respect NSLocaleCalendarIdentifier if
|
||||
NSLocaleCalendar isn't set.
|
||||
|
@ -1193,7 +1199,7 @@
|
|||
* Tests/base/NSCalendar/features-10-7.m: Add test for different
|
||||
time zone.
|
||||
|
||||
2020-04-25 fredkiefer <fredkiefer@gmx.de>
|
||||
2020-04-25 Fred Kiefer <fredkiefer@gmx.de>
|
||||
|
||||
* Headers/Foundation/NSCalendar.h:
|
||||
* Source/NSCalendar.m:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#import "Testing.h"
|
||||
|
||||
static int
|
||||
strnstr(const uint8_t *buf, unsigned len, const uint8_t *str)
|
||||
find(const char *buf, unsigned len, const char *str)
|
||||
{
|
||||
int l = strlen(str);
|
||||
int max = len - l;
|
||||
|
@ -67,7 +67,7 @@ int main(int argc,char **argv)
|
|||
const char *bytes = "MIME-Version: 1.0\r\n"
|
||||
"Content-Type: text/plain; type=\"my/type\"\r\n"
|
||||
"Subject: =?utf-8?B?4oKs?=\r\n\r\n";
|
||||
PASS(strnstr([data bytes], [data length], "?B?4oKs?=") > 0,
|
||||
PASS(find((char*)[data bytes], (unsigned)[data length], "?B?4oKs?=") > 0,
|
||||
"encodes utf-8 euro in subject");
|
||||
|
||||
[arp release]; arp = nil;
|
||||
|
|
|
@ -119,6 +119,7 @@ main(int argc, char** argv, char **env)
|
|||
{
|
||||
appName = entry;
|
||||
[fileContents appendFormat: @"Name=%@\n", entry];
|
||||
[fileContents appendFormat: @"StartupWMClass=%@\n", entry];
|
||||
if (destName == nil)
|
||||
destName = [entry stringByAppendingString: @".desktop"];
|
||||
}
|
||||
|
@ -215,7 +216,7 @@ main(int argc, char** argv, char **env)
|
|||
// Build the string to execute the application...
|
||||
execPath = [NSString stringWithCString: line
|
||||
encoding: NSASCIIStringEncoding];
|
||||
[fileContents appendFormat: @"Exec=%@ %@\n", execPath, entry];
|
||||
[fileContents appendFormat: @"Exec=%@ %@ %F\n", execPath, entry];
|
||||
}
|
||||
|
||||
list = [plist objectForKey: @"NSTypes"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue