aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.m
AgeCommit message (Collapse)AuthorFilesLines
2021-05-03MacOS: Make puglGetNativeWorld() return the NSApplicationDavid Robillard1-2/+2
2021-05-03Fix crash when freeing a view that has not been configuredDavid Robillard1-3/+11
2021-05-03Fix questionable event castsDavid Robillard1-24/+55
I don't think there is any UB actually happening here, but some of these were casting to a pointer of a larger type, which is problematic. Unfortunately, it makes for quite a bit of tedious verbosity, but I don't see a decent way around that in C99.
2021-04-21MacOS: Fix memory leaks in puglUpdate()Bjarke Bech1-24/+26
2021-01-02Simplify clang-format configuration and format all codeDavid Robillard1-857/+869
2020-12-01Make puglShow() realize automatically on Windows and MacOSDavid Robillard1-0/+7
2020-11-26Remove file documentationDavid Robillard1-5/+0
These will not be used in the Sphinx documentation, and most were self-explanatory and only there to make the Doxygen index look nice anyway. Where there was actually useful information, it has been preserved as regular comments.
2020-11-25Rename puglShowWindow and puglHideWindow to puglShow an puglHideDavid Robillard1-2/+2
These names were confusing because a view is not necessarily a window. Since there's no room for ambiguity here, simply drop the superfluous word.
2020-10-30Move implementation source files to a conventional src directoryDavid Robillard1-0/+1450
I think this attempt to be optionally header-only was misguided, particularly installing source code to the system include path. Typically anyone vendoring code just includes the repository and builds from there anyway. This commit moves all the implementation code to a typical src directory (Don't Be Weird). I still think there is some value in simple "inline" deployment, but that would be better achieved another way, like producing a single-file amalgamation that builds anywhere, ala sqlite.