Skip to content

Commit

Permalink
fix enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Matvii-Jarosh committed Nov 19, 2024
1 parent aa4a062 commit 055cb70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 48 deletions.
35 changes: 1 addition & 34 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<<<<<<< HEAD
2024-11-19 Matvii Jarosh <matviijarosh@gmail.com>

* Header/Foundation/NSGeometry.h: fixed NSRectEdge and
NSAlignmentOptions enums.
NSAlignmentOptions enums.

=======
>>>>>>> e0b37c4a1b60bd93877d40d814ebb99944635478
2024-11-18 Matvii Jarosh <matviijarosh@gmail.com>

* Source/NSGeometry.m: added NSIntegralRectWithOptions function.
Expand All @@ -15,36 +12,6 @@
NSSizeFromCGSize and NSSizeToCGSizea functions.
* MISSING:

<<<<<<< HEAD
=======
2024-11-19 Richard Frith-Macdonald <rfm@gnu.org>

* GSMime: fixed buffer overrun in rare circumstances when decoding
an encoded word in a header.
fix to cope with dealloc of uninitialised instances of GSMimeSMTPClient
* GSTLS: clean up used resources on exit
* NSCharacterSet: Fix retain count of cached character sets
* NSDateFormatter: fix to cope with dealloc of uninitialised instances
* NSFileManager: fix leak of enumerator when enumerating files at
a directory specified by URL
* NSHTTPCookie: fix buffer overrun parsing cookie header fields
* NSInvocation: fix leak of type information memory when passing
general struct argument/return values
* NSNumberFormatter: fix to cope with dealloc of uninitialised instances
* NSOperation: fix to cope with dealloc of uninitialised instances
* NSPredicate: fix leaks of keypath and set expressions
also fix leak of objects if exception occurs while scanning predicate
string
* NSPropertyList: fix leaks if exception occurs while parsing
* NSRegularExpression: fix leaks if exception occurs while parsing
* NSString: fix lead in dataUsingEncoding:allowLossyConversion:
* NSTimeZone: fix retain cycle in absolute time zones
fix leak of ICU calendar in -localizedName:locale:
* NSURL: fix leaks when initialising with unparseable string etc
* Testcases: fix many leaks so that most tests run to completion
without any leaked memory.

>>>>>>> e0b37c4a1b60bd93877d40d814ebb99944635478
2024-11-14 Richard Frith-Macdonald <rfm@gnu.org>

* Source/NSBundle.m: Restructure a bit to expose resource lookup
Expand Down
16 changes: 2 additions & 14 deletions Headers/Foundation/NSGeometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,13 @@ typedef NSRect *NSRectArray;
typedef NSRect *NSRectPointer;
#endif

<<<<<<< HEAD
typedef NS_ENUM(NSUInteger, NSRectEdge)
=======
typedef enum
>>>>>>> e0b37c4a1b60bd93877d40d814ebb99944635478
{
NSMinXEdge = 0,
NSMinYEdge = 1,
NSMaxXEdge = 2,
NSMaxYEdge = 3
} NSRectEdge;
};
/** Sides of a rectangle.
<example>
{
Expand Down Expand Up @@ -148,11 +144,7 @@ typedef enum
</example>
<p>NSAlignmentOptions</p>*/
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7, GS_API_LATEST)
<<<<<<< HEAD
typedef NS_ENUM(unsigned long long, NSAlignmentOptions)
=======
typedef enum
>>>>>>> e0b37c4a1b60bd93877d40d814ebb99944635478
typedef NS_ENUM(unsigned long long, NSAlignmentOptions)
{
NSAlignMinXInward = 1ULL << 0,
NSAlignMinYInward = 1ULL << 1,
Expand Down Expand Up @@ -185,11 +177,7 @@ typedef enum
| NSAlignMaxXNearest
| NSAlignMinYNearest
| NSAlignMaxYNearest
<<<<<<< HEAD
};
=======
} NSAlignmentOptions;
>>>>>>> e0b37c4a1b60bd93877d40d814ebb99944635478
#endif

/**
Expand Down

0 comments on commit 055cb70

Please sign in to comment.