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