Thomas A
af452c781e
If FLATPAK_BUILD
is Set, Check /usr/lib/x86_64-linux-gnu/include
Directory
2022-03-12 14:00:05 -08:00
Ariel Abreu
7edb4834c7
Linking with libelfloader is no longer necessary
2021-12-16 11:40:59 -05:00
Ariel Abreu
d7cc4e3ff1
Partially implement orderFrontRegardless
...
"Partially" because I'm almost certain that it needs more than just what `orderFront:` does. But this is good enough for now (certainly better than doing nothing).
2021-07-04 18:04:15 -04:00
Ariel Abreu
16206c19e0
Add/fix lots of protocols and type definitions
2021-06-28 23:30:34 -04:00
Ariel Abreu
daaca1710c
Fix out-of-bounds access in -[O2Font_freetype initWIthFace:]
2021-06-13 09:17:36 -04:00
Andrew Hyatt
455320e98a
Merge pull request #17 from TheBrokenRail/add-more-nscolor
...
Add ``+[NSColor colorWithSRGBRed]`` And ``+[NSColor colorWithRed]``
2021-06-05 17:30:07 -04:00
Andrew Hyatt
b657fbb7f1
Merge pull request #18 from TheBrokenRail/stub-nstabview
...
Stub ``-[NSTabView tabPosition]``
2021-06-05 17:29:27 -04:00
Andrew Hyatt
3e3683f47b
Merge pull request #21 from TheBrokenRail/fix-nsdocumentcontroller
...
Fix Occasional Segfaults And Add Fallback Error Message To NSDocumentController
2021-06-05 17:29:09 -04:00
Andrew Hyatt
0d5be97671
Merge pull request #16 from TheBrokenRail/fix-nsalert
...
Fix ``NSAlert`` Sheet Opening And Closing
2021-06-05 17:27:26 -04:00
Andrew Hyatt
f844b0df51
Merge pull request #14 from TheBrokenRail/patch-5
...
Add More CoreText Constants
2021-06-05 17:26:14 -04:00
Ariel Abreu
bfef2fdab3
Merge pull request #9 from TheBrokenRail/remove-unused-code
...
Removed Unused Code
2021-05-29 16:31:34 -04:00
TheBrokenRail
7bdbaafb1c
Fix Occasional Segfaults And Add Fallback Error Message To NSDocumentController
2021-05-27 22:32:29 -04:00
TheBrokenRail
a2b422b399
Stub -[NSTabView tabPosition]
2021-05-26 18:01:26 -04:00
TheBrokenRail
fa01855933
Add +[NSColor colorWithRed]
2021-05-26 17:28:47 -04:00
TheBrokenRail
b21618f5d2
Add +[NSColor colorWithSRGBRed]
2021-05-26 17:19:29 -04:00
TheBrokenRail
6d21bda33b
Fix NSAlert Sheet Opening And Closing
2021-05-26 16:35:05 -04:00
TheBrokenRail
b7aead0f1d
Add More CoreText Constants
2021-05-26 11:32:20 -04:00
TheBrokenRail
9700bac810
Removed Unused Code
2021-05-24 21:11:48 -04:00
Ariel Abreu
c9b4a96280
More stubs for Xcode
2021-03-04 22:00:28 -05:00
Lubos Dolezel
479dd38a77
XIM working, users can now type composed letters
2021-03-02 19:39:25 +01:00
Lubos Dolezel
879571df82
Indicate repeated keypresses in NSEvent
2021-03-02 00:02:06 +01:00
Lubos Dolezel
eff8a629d0
Make DELETE and HOME keys work too
2021-03-01 23:50:30 +01:00
Lubos Dolezel
81938db4fe
Fix an over-release in previous commit
2021-03-01 23:45:33 +01:00
Lubos Dolezel
3ea2095226
Make function keys work in AppKit
2021-03-01 23:42:54 +01:00
Lubos Dolezel
a15b07ca55
Fix NSTextView's cursor movement with mouse
2021-03-01 22:40:53 +01:00
Lubos Dolezel
6a048b60cf
Fix glyph advance calculation in CoreText's FT backend
2021-03-01 20:23:05 +01:00
Ariel Abreu
bedacf6515
Add a bunch of class/constant stubs
2021-02-26 12:42:00 -05:00
Ariel Abreu
8aff016e7a
Define/stub some constants
2021-02-22 23:07:15 -05:00
Ariel Abreu
a2fe3674f3
Stub a couple things and define some constants
2021-02-17 13:22:59 -05:00
Ariel Abreu
f585c80808
Workaround freezing bug on window close requests
...
I'm not entirely sure what was wrong with the old approach of calling it directly, but scheduling the call onto the run loop fixes the freezing.
This commit also fixes a segfault when accessing an invalid window via `lastFocusedWindow`. The issue is that we sometimes don't get FocusOut before a window dies, so we have to set it to nil when it tells us that it's dying.
2021-01-25 23:22:30 -05:00
Ariel Abreu
94994590ac
Fix segfault when not saving new document
2021-01-25 23:17:54 -05:00
Ariel Abreu
98e7f1a359
Make sure to set _viewsNeedDisplay
when we're told NO
...
This fixes rendering in the OpenGL sample app.
What was happening was that on the initial call to `setViewsNeedDisplay` with `YES`, we setup a performer and set `_viewsNeedDisplay`. When the performer fires, it redraws and then calls `setViewsNeedDisplay` with `NO`. However, because our conditional was checking if the argument was `NO` and would return early in that case, we never set `_viewsNeedDisplay` to `NO`, and thus future calls to `setViewsNeedDisplay` saw `_viewsNeedDisplay` was still `YES` and returned early without setting up a performer.
2020-12-14 12:48:08 -05:00
Ariel Abreu
75d6ef46a7
Fix for Clang 11+
2020-12-01 23:45:54 -05:00
Ariel Abreu
e3915265a8
Merge remote-tracking branch 'origin/master' into update-sources
2020-11-10 11:01:54 -05:00
Ariel Abreu
f8a67fbd96
Enable OBJC_OLD_DISPATCH_PROTOTYPES
2020-09-01 10:02:36 -04:00
Thomas A
00fd3b9741
Fix Black Window Bug
...
cda40d9947
Introduces the bug
6453711d11
Partially fixes the bug, but didn't change _cglWindow to _cglContext
2020-08-08 12:59:12 -07:00
Ariel Abreu
f7ebb81c44
Fix glMultiDrawElements and glShaderSource declarations in gl.h
...
My compiler was complaining about conflicting declarations between gl.h and glext.h
Honestly, I'm not sure why those functions are in both headers, but 🤷
2020-08-01 22:08:23 -04:00
Ariel Abreu
cbed56b6d6
Merge remote-tracking branch 'origin/master' into update-sources
2020-07-18 16:42:33 -04:00
Thomas A
1a430280c1
Print missing methods for empty stubs
2020-07-18 08:41:35 -07:00
Thomas A
0f4622a8f9
Add stubs for WeChat
2020-07-18 08:40:47 -07:00
Thomas A
dd03d4d769
Add NSFullScreenModeApplicationPresentationOptions, NSAllRomanInputSourcesLocaleIdentifier, and NSImageHintInterpolation
2020-07-06 22:04:05 -07:00
Thomas A
2c7099f66b
Implement allowsEditingTextAttributes
2020-07-05 13:49:34 -07:00
Ariel Abreu
228a30a672
Merge remote-tracking branch 'origin/master' into update-sources
2020-06-15 14:30:17 -04:00
Sergey Bugaev
bd740e4feb
Merge pull request #12 from TheBrokenRail/add-missing-apis
...
Add Some Missing APIs
2020-05-23 18:14:01 +03:00
TheBrokenRail
03024249b6
Add Some Missing APIs
...
Fix Syntax
Fix Memory Leak
Fix Block Syntax
You would think this would be consistent.
Co-authored-by: Sergey Bugaev <bugaevc@gmail.com>
2020-05-18 14:34:09 -04:00
Lubos Dolezel
6453711d11
Fix the build and review comments
2020-05-15 12:38:22 +02:00
Lubos Dolezel
b26bedb31c
CGS work progress
2020-05-15 10:47:23 +02:00
Sergey Bugaev
9c53557e4c
Merge pull request #10 from TheBrokenRail/code-formatting
...
Code Formatting Using Patched ClangFormat
2020-05-14 22:27:30 +03:00
Ariel Abreu
e44fa3e280
Initial update to clean up include directories
...
"initial" because there might some additional modifications necessary later on
2020-05-14 12:57:38 -04:00
TheBrokenRail
e84bc784cd
Improve Patch and Format New Code
2020-05-13 11:33:22 -04:00