Commit Graph

3213 Commits

Author SHA1 Message Date
CuriousTommy
be9227b9ae
Merge pull request #29 from CKegel/TextEdit_patches
AppKit Improvements (Getting TextEdit to compile and Run)
2024-08-17 09:41:09 -07:00
CuriousTommy
0baee1d669
Merge pull request #39 from sirnacnud/iterm2
Stubs and symbols for iTerm2
2024-06-19 09:12:18 -07:00
Duncan Cunningham
a199647362 Add CGWindow strings 2024-06-19 09:22:17 +02:00
Duncan Cunningham
9eee5ab344 Add NSSQLiteManualVacuumOption 2024-06-19 09:22:17 +02:00
Duncan Cunningham
9cf905288c Add stubs for NSScrubberTextItemView 2024-06-19 09:22:17 +02:00
Duncan Cunningham
ab3f1f7803 Add NSScrubberSelectionStyle 2024-06-19 09:22:17 +02:00
Duncan Cunningham
4bb6117f35 Add stub for NSCandidateListTouchBarItem 2024-06-19 09:22:17 +02:00
Duncan Cunningham
e9ece9d6cf Add NSPasteboard constants 2024-06-16 16:37:37 +02:00
Duncan Cunningham
3721b4f874 Add stub for NSFontCollection 2024-06-16 16:37:37 +02:00
CuriousTommy
4dac644abc
Merge pull request #38 from sirnacnud/nssysteminfopanel-name-fix
Use localized CFBundleName for NSSystemInfoPanel
2024-03-16 12:58:29 -07:00
Duncan Cunningham
b74def59bd Use localized CFBundleName for NSSystemInfoPanel 2024-03-16 17:14:37 +01:00
CuriousTommy
ad281f226c
Merge pull request #36 from sirnacnud/nsscreen
Stub out NSScreen deviceDescription
2024-02-16 09:35:13 -08:00
ckegel
317e0778fc Align implementation of documentClassForType: with Apple's developer reference. 2024-02-09 16:24:40 -05:00
ckegel
bce2767698 Correct leak in internal NSTextView method. 2024-02-09 16:14:34 -05:00
Duncan Cunningham
41a67f02bb Stub out NSScreen deviceDescription 2024-02-09 22:00:25 +01:00
Luboš Doležel
7ea8bb5c26
Merge pull request #20 from TheBrokenRail/focus-segfault
Fix Segfault When The FocusIn/Out Events Are Received And The Window Is Closed
2024-02-03 16:15:08 +01:00
ckegel
d6c5c1c8b3 Convert hexadecimal color values to CGFloat literals. 2024-02-02 16:19:25 -05:00
ckegel
a72e58188c Remove redundant declaration of translatesAutoResizingMaskIntoConstraints 2024-02-02 16:19:25 -05:00
ckegel
b3c2e2dea3 Implement NSParagraph TabStops properly
Implement NSTextTab handling based on the GNUStep implementation,
with formatting and other adjustments.
2024-02-02 16:19:25 -05:00
ckegel
a4bc3feb11 Add framework for size and magnification methods
Add stubs for content size, frame size, and magnification size,
and add basic implementations where feasible.
2024-02-02 16:19:25 -05:00
ckegel
7fcfc33365 Implement readFromURL: in NSMutableAttributedString 2024-02-02 16:19:25 -05:00
ckegel
2f6272f476 Align documentClassForType: implementation with Apple's developer documentation 2024-02-02 16:19:25 -05:00
ckegel
e086fe9f33 Add document format inference in NSAttributedString
Adds code in `initWithData` to infer document format for RTF, HTML, and plaintext documents.
Additionally refactors NSAttributedString to use the correct attribute types as described in Apple's documentation.
2024-02-02 16:19:25 -05:00
ckegel
5300f80f18 Fix handling of NSTextContainer and NSTextStorage in NSTextView.subproj
Fix issue where a layout manager's NSTextStorage could be `nil` at initialization
but later set by introducing the `_setTextStorage:` method to NSTextView.

Add stubs a for missing properties in NSTextView.

Refactor `firstTextView` to properly find and return the first text view,
or `nil` if there are no text views.

Use 64-bit ready types where applicable.

Relocate unrelated code from _setTextStorage
2024-02-02 16:19:25 -05:00
ckegel
fd68ee23c7 Implement NSUserInterfaceItemIdentifcation protocol 2024-02-02 16:19:25 -05:00
ckegel
81d2422c67 add NSDocumentController type discovery 2024-02-02 16:19:25 -05:00
ckegel
bb0c134428 Add missing methods and stubs for TextEdit 2024-02-02 16:19:25 -05:00
CuriousTommy
e348862349
Merge pull request #33 from sirnacnud/add-NSApplicationLaunchUserNotificationKey
Add symbol for NSApplicationLaunchUserNotificationKey
2024-01-06 19:57:46 -08:00
Duncan Cunningham
8271f7e5ec Add symbol for NSApplicationLaunchUserNotificationKey 2024-01-06 21:32:31 +01:00
Ariel Abreu
e01bcde594
Merge pull request #32 from CKegel/warning_fixes
Correct NSInteger warnings
2023-10-17 00:05:27 -04:00
ckegel
8283bdabbe Implement correct formatting for NSInteger values 2023-10-16 23:41:29 -04:00
Ariel Abreu
9a223835e7
Merge pull request #31 from CKegel/master
Patch NSMenuItem implementation
2023-10-16 14:26:26 -04:00
ckegel
410d10de2a Use correct key values in NSMenuItem encodeWithCoder: implementation 2023-10-16 11:00:32 -04:00
Ariel Abreu
80e61187d4
Many encodeWithCoder: implementations for Interface Builder
These are all the implementations needed for my sample app, but more
will have to be added later for XIBs with other objects, of course.
2023-10-13 10:33:13 -04:00
Ariel Abreu
86a42fbbf9
NSIBObjectData: Add some properties for Xcode; use NSMapTables
The refactoring to use NSMapTables isn't arbitrary, it's required for
Xcode: Xcode accesses these map tables via the `*Table` properties and
inserts and removes objects in them at its discretion.

Note this means the map tables also have to use the same key and value
options that Apple uses in order to remain compatible,
so don't change these without a good reason.
2023-10-13 10:31:12 -04:00
Ariel Abreu
491b0b0418
NSWindowTemplate: Add a lot more properties
These are required by Xcode. TODO: actually use them.
2023-10-13 10:22:23 -04:00
Ariel Abreu
bd843143fb
Misc. stubs, fixes, and implementations for Xcode 2023-10-13 10:18:19 -04:00
Ariel Abreu
1efc3b97de
Implement NSUserInterfaceItemIdentification 2023-10-13 10:08:54 -04:00
Ariel Abreu
6f9958fd46
Add performSynchronousFileAccessUsingBlock stub 2023-10-07 23:50:19 -04:00
Ariel Abreu
22e542f69d
Correct IBCocoaFramework value 2023-10-07 23:50:03 -04:00
Ariel Abreu
d7fc1ce4b7
More fixes and stubs for Xcode 2023-10-07 11:00:59 -04:00
Ariel Abreu
ac4514c596
More stubs and fixes for Xcode 2023-09-25 16:17:44 -04:00
CuriousTommy
a23a4bab20
Merge pull request #30 from darlinghq/fedora_38_fix
Fix Building For Fedora 38
2023-06-28 10:29:56 -07:00
Thomas A
6b006c021b Fix implicit-function-declaration 2023-06-19 11:30:55 -07:00
Thomas A
b30c2be791 Change include from CoreServices to CarbonCore 2023-04-16 13:47:48 -07:00
Ariel Abreu
3c656d84f5
[mtl] Only require texture memory to be host-visible if it's not framebuffer-only 2023-04-11 08:16:16 -04:00
Ariel Abreu
c449e7608e
Make Metal an optional part of the build
See the corresponding commit in the main repo
2023-04-06 10:04:50 -04:00
Ariel Abreu
96122cff43
Use Indium's DynamicVK to load Vulkan functions dynamically
This allows us to link to Vulkan dynamically at runtime (via Indium).
2023-04-06 10:04:50 -04:00
Ariel Abreu
6afea83f6c
[mtl-layer] Fix some lock issues with queued drawables 2023-04-06 10:04:49 -04:00
Ariel Abreu
ccf32c6281
Ensure objc presented handlers are invoked
Previously, they would only be invoked if the `present` method was
invoked directly on the objc drawable object.
2023-04-06 10:04:49 -04:00