aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.c
AgeCommit message (Collapse)AuthorFilesLines
2023-10-21Fix potential memory leaks due to realloc() failureDavid Robillard1-5/+13
2023-05-03Fix tautological unsigned comparisonsDavid Robillard1-6/+6
2023-01-14Add general string hint interfaceDavid Robillard1-13/+47
This replaces the window title and class name APIs with a more general one that can be easily extended to other things, like icon names, more detailed application hints, and so on.
2023-01-11MacOS: Avoid calling sendEvent in modulesreuk1-0/+1
2023-01-11Remove cached frame from viewDavid Robillard1-1/+27
This was just a source of ambiguity and bugs, since it represented different things at different times and could become stale. Redundant data is always trouble, so eliminate it, leaving just two positions/sizes: the defaults (used when the view is not yet realized), and the last configuration.
2023-01-08Prepare OpenGL context flags for OpenGL ES supportDavid Robillard1-4/+6
2023-01-08Add PUGL_SAMPLE_BUFFERS hintDavid Robillard1-0/+1
Towards a more direct and explicit mapping to platform hints, and more consistent behaviour across platforms. OpenGL applications are generally expected to be explicit about hints like this.
2023-01-08Add missing default hintDavid Robillard1-0/+1
2023-01-08Gracefully handle out of range hintsDavid Robillard1-3/+11
2023-01-07Replace map/unmap events with more expressive configure eventsDavid Robillard1-1/+1
2023-01-07Add support for special view types and stylesDavid Robillard1-2/+10
2023-01-07Replace visible flag with a more descriptive view "stage"David Robillard1-1/+1
2023-01-04Add puglUnrealize()David Robillard1-5/+1
2022-06-08Consolidate common deprecated API implementationDavid Robillard1-28/+0
2022-06-08Separate platform.h from internal.hDavid Robillard1-0/+3
This makes the internal header structure match the "kinds" of definition inside Pugl: common implementations of public API, things available internally to platform implementations, and things the platform must define.
2022-06-08Separate private and public function implementationsDavid Robillard1-0/+294