| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | escape only on val | Cloud Wu | 2025-10-17 | 1 | -1/+1 |
| | | |||||
| * | Revert "Restore raw key if value is empty, See #1353" | Cloud Wu | 2025-10-17 | 1 | -11/+0 |
| | | | | | This reverts commit 02a55ae28f602218f6920905912f928f4b3b0bdd. | ||||
| * | Restore raw key if value is empty, See #1353 | Cloud Wu | 2025-10-17 | 1 | -0/+11 |
| | | |||||
| * | sokol_args: Fix Emscripten extra semi-colon | Rob Loach | 2025-01-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | In Emscripten, the `EM_JS` function should not end with a `;`. This change fixes that for both instances. This is the error that you get when using the `;`... ``` sokol_args.h:688:63: error: extra ';' outside of a function [-Werror,-Wextra-semi] 688 | EM_JS_DEPS(sokol_audio, "$withStackSave,$stringToUTF8OnStack"); | ^ sokol_args.h:732:3: error: extra ';' outside of a function [-Werror,-Wextra-semi] 732 | }); | ^ 2 errors generated. ``` | ||||
| * | sokol_args.h: coding style fixes | Andre Weissflog | 2025-01-13 | 1 | -75/+62 |
| | | |||||
| * | sokol_app.h, sokol_args.h emsc: replace deprecated allocateUTF8OnStack with ↵ | Andre Weissflog | 2024-03-01 | 1 | -3/+3 |
| | | | | | stringToUTF8OnStack | ||||
| * | Fix typos. | Bruce Mitchener | 2023-12-09 | 1 | -1/+1 |
| | | |||||
| * | rename custom allocator callbacks to alloc_fn/free_fn | Andre Weissflog | 2023-09-25 | 1 | -13/+11 |
| | | |||||
| * | sokol_args.h: support key-only args (see documentation for details) fixes #876 | Andre Weissflog | 2023-09-18 | 1 | -40/+64 |
| | | |||||
| * | simplify logging preprocessor macros | Andre Weissflog | 2022-10-22 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'log-callback' of github.com:Manuzor/sokol into ↵ | Andre Weissflog | 2022-10-22 | 1 | -11/+1 |
| |\ | | | | | | | Manuzor-log-callback | ||||
| | * | Replace SOKOL_LOG with runtime callbacks. | Manuel Floruß | 2022-10-03 | 1 | -11/+1 |
| | | | | | | | | | Also removes SOKOL_LOG from sokol_fontstash.h and sokol_args.h because it's not used there. | ||||
| * | | sokoL_app/args/audio/fetch.h emsc: suppress closure analysis false ↵ | Andre Weissflog | 2022-10-19 | 1 | -6/+6 |
| | | | | | | | | | positives, modernize embedded Javascript | ||||
| * | | emscripten: use new EM_JS_DEPS() macro to declare JS function dependencies | Andre Weissflog | 2022-10-15 | 1 | -0/+5 |
| |/ | |||||
| * | sokol_args.h: fixes for Emscripten 3.2.21 (ccall is now a 'legacy function') | Andre Weissflog | 2022-09-10 | 1 | -1/+5 |
| | | |||||
| * | Language bindings: fix new allocator callbacks (#671) | Andre Weissflog | 2022-05-30 | 1 | -5/+2 |
| | | | | | | | | * remove typedef indirection for allocator callback functions * language bindings: fix allocator bindings * language bindings: replace FIXMEs and ??? with actual errors | ||||
| * | Add memory allocator callbacks to sokol headers. (#662) | Andre Weissflog | 2022-05-15 | 1 | -17/+96 |
| | | |||||
| * | Language-binding-friendly API changes. (#458) | Andre Weissflog | 2021-02-10 | 1 | -2/+2 |
| | | | | See: https://floooh.github.io/2021/02/07/sokol-api-overhaul.html | ||||
| * | move SOKOL_IMPL vs SOKOL_xxx_IMPL outside the include guard | Andre Weissflog | 2020-11-28 | 1 | -3/+3 |
| | | |||||
| * | make SOKOL_IMPL vs SOKOL_xxx_IMPL consistent across all headers (both are ↵ | Andre Weissflog | 2020-11-28 | 1 | -6/+9 |
| | | | | | supported) | ||||
| * | document SOKOL_API_DECL (these macros are still valid) | Andre Weissflog | 2020-11-28 | 1 | -0/+1 |
| | | |||||
| * | Auto-generated distinct macros per lib. Resolves #428 | Borislav Stanimirov | 2020-11-19 | 1 | -18/+22 |
| | | |||||
| * | sokol_args.h: fix tabs and whitespace | Andre Weissflog | 2020-11-04 | 1 | -4/+2 |
| | | |||||
| * | Parse argc/argv in emscripten | Thehink | 2020-10-29 | 1 | -13/+8 |
| | | |||||
| * | more minor sokol_args.h documentation fixes | Andre Weissflog | 2020-08-17 | 1 | -1/+4 |
| | | |||||
| * | sokol_args.h: fix documentation | Andre Weissflog | 2020-08-17 | 1 | -10/+8 |
| | | | | | | | | The doc section about getting UTF-8 encoded command line arguments on Windows was misleading (using __argc/__argv doesn't actually work in an application that's not compiled with UNICODE. This has been fixed with the proper procedure. | ||||
| * | fix warnings in D3D11 code path and clang-msvc | Eduardo Bart | 2020-06-01 | 1 | -1/+1 |
| | | |||||
| * | reference-based equivalents for c++ | Garett Bass | 2020-05-06 | 1 | -0/+4 |
| | | |||||
| * | sokol_args.h: fix misfiring assert in WASM code path (fixes #273) | Andre Weissflog | 2020-03-03 | 1 | -1/+1 |
| | | |||||
| * | more MSVC /W4 fixes | Andre Weissflog | 2019-12-05 | 1 | -4/+0 |
| | | |||||
| * | ifdef guards | martincohen | 2019-09-02 | 1 | -1/+2 |
| | | |||||
| * | Add SOKOL_DLL support to all headers. (#163) | Andre Weissflog | 2019-06-04 | 1 | -1/+15 |
| | | | | | | On Windows, this adds __declspec(dllexport) or __declspec(dllimport) to all function declarations so that the sokol headers can be compiled into a DLL. Fixes #160 . | ||||
| * | added a project URL to the docs-comment block of all headers | Andre Weissflog | 2019-05-15 | 1 | -0/+2 |
| | | |||||
| * | add 'included' defines to all sokol headers for better error messages when ↵ | Andre Weissflog | 2019-03-09 | 1 | -0/+2 |
| | | | | | included are missing | ||||
| * | sokol_args.h: fix emscripten warning when compiling in debug mode | Andre Weissflog | 2019-02-22 | 1 | -1/+1 |
| | | |||||
| * | Emscripten platform updates (#116) | Andre Weissflog | 2019-02-16 | 1 | -1/+1 |
| | | | | | | * preparations for MINIMAL_RUNTIME * better closure compiler compatibility * replace deprecated functions with 'modern' equivalents | ||||
| * | sokol_args.h: fix typenames | Andre Weissflog | 2019-01-28 | 1 | -2/+2 |
| | | |||||
| * | sokol_args.h: minor style fixes | Andre Weissflog | 2019-01-28 | 1 | -4/+4 |
| | | |||||
| * | detect debug mode via NDEBUG, not _DEBUG, raise Android log level to INFO | Andre Weissflog | 2019-01-27 | 1 | -1/+1 |
| | | |||||
| * | sokol_app.h, sokol_args.h: surround EMSCRIPTEN_KEEPALIVE funcs with extern 'C' | Andre Weissflog | 2019-01-23 | 1 | -0/+6 |
| | | |||||
| * | added names to public structs and enums so they can be forward declared | Borislav Stanimirov | 2018-11-30 | 1 | -1/+1 |
| | | |||||
| * | removed trailing spaces | Borislav Stanimirov | 2018-11-30 | 1 | -9/+9 |
| | | |||||
| * | minor comment typos | Andre Weissflog | 2018-11-07 | 1 | -1/+1 |
| | | |||||
| * | sokol_args.h: SOKOL_API_DECL and SOKOL_API_IMPL macros | Andre Weissflog | 2018-10-18 | 1 | -24/+33 |
| | | |||||
| * | sokol_audio.h: minor docs fix | Andre Weissflog | 2018-10-17 | 1 | -1/+1 |
| | | |||||
| * | sokol_args.h: doc typo | Andre Weissflog | 2018-10-17 | 1 | -1/+1 |
| | | |||||
| * | sokol_args.h: some header-doc fixes | Andre Weissflog | 2018-10-17 | 1 | -8/+10 |
| | | |||||
| * | sokol_args.h: add note about Windows __argc, __argv | Andre Weissflog | 2018-10-17 | 1 | -0/+15 |
| | | |||||
| * | sokol_args.h: header documentation | Andre Weissflog | 2018-10-17 | 1 | -28/+132 |
| | | |||||
| * | sokol_args.h: emscripten support | Andre Weissflog | 2018-10-17 | 1 | -6/+90 |
| | | |||||