Fork of the Cocotron for Darling
Go to file
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
AppKit Workaround freezing bug on window close requests 2021-01-25 23:22:30 -05:00
CFNetwork Fix Continuation Indent 2020-05-12 17:04:16 -04:00
CFSSLHandler_openssl Fix Continuation Indent 2020-05-12 17:04:16 -04:00
Cocoa Code Formatting Using Patched ClangFormat 2020-05-12 17:04:15 -04:00
Cocotron/Cocotron.xcodeproj in the *.xcodeproj files, set indent and tab width to 4 and use tabs to 0, so file editing within the respective projects will honour these settings instead of any custom user settings 2015-10-05 08:11:19 -03:00
CommonCrypto Proper Braces 2020-05-12 17:04:16 -04:00
CoreData Merge remote-tracking branch 'origin/master' into update-sources 2020-06-15 14:30:17 -04:00
CoreGraphics Merge remote-tracking branch 'origin/master' into update-sources 2020-06-15 14:30:17 -04:00
CoreServices in the *.xcodeproj files, set indent and tab width to 4 and use tabs to 0, so file editing within the respective projects will honour these settings instead of any custom user settings 2015-10-05 08:11:19 -03:00
CoreText Fix Continuation Indent 2020-05-12 17:04:16 -04:00
Examples Fix Continuation Indent 2020-05-12 17:04:16 -04:00
formatting Improve Patch and Format New Code 2020-05-13 11:33:22 -04:00
Foundation Fix Continuation Indent 2020-05-12 17:04:16 -04:00
ImageKit Fix Continuation Indent 2020-05-12 17:04:16 -04:00
InstallCDT Fix Continuation Indent 2020-05-12 17:04:16 -04:00
IOKit Fix Continuation Indent 2020-05-12 17:04:16 -04:00
makefiles Fix Continuation Indent 2020-05-12 17:04:16 -04:00
NSSpellEngine_hunspell Fix Continuation Indent 2020-05-12 17:04:16 -04:00
O2Context_AntiGrain Fix Continuation Indent 2020-05-12 17:04:16 -04:00
objc Fix Continuation Indent 2020-05-12 17:04:16 -04:00
Onyx2D Fix for Clang 11+ 2020-12-01 23:45:54 -05:00
OpenGL Fix glMultiDrawElements and glShaderSource declarations in gl.h 2020-08-01 22:08:23 -04:00
PDFKit Fix Continuation Indent 2020-05-12 17:04:16 -04:00
pthread Fix Continuation Indent 2020-05-12 17:04:16 -04:00
QuartzCore Merge remote-tracking branch 'origin/master' into update-sources 2020-06-15 14:30:17 -04:00
ScriptingBridge Code Formatting Using Patched ClangFormat 2020-05-12 17:04:15 -04:00
Security Fix Continuation Indent 2020-05-12 17:04:16 -04:00
testing Add Some Missing APIs 2020-05-18 14:34:09 -04:00
xcconfig changes for building cocotron-master on Mac OS X 10.0.4 + Xcode 6.4 2015-08-09 22:53:36 -03:00
.clang-format Fix Continuation Indent 2020-05-12 17:04:16 -04:00
.gitignore Code Formatting Using Patched ClangFormat 2020-05-12 17:04:15 -04:00
.hgignore fiddle build directories and install OpenSSL and Hunspell local to working copy 2013-04-05 23:18:12 -04:00
LICENSE.txt A test commit 2013-04-09 17:12:27 -04:00
README.md Code Formatting Using Patched ClangFormat 2020-05-12 17:04:15 -04:00

The Cocotron

Darling's fork of the Cocotron

Code Formatting

clang-format requires a patch to correctly format ObjC code

Patch Instructions

Run cd formatting; ./build.sh to compile the patched clang-format from source

Formatting Instrcutions

Run cd formatting; ./format.sh to format the code