dbc0c0e124Split runtime abort/asserts and app abort/assert. Always log and abort normally from native code. Display a dialog and exit silently when aborting/asserting from wasm code or bindings bound checks
split_abort_dialog
martinfouilleul2023-10-12 20:17:22 +0200
revert const changes to oc_font_create_from_* * Martin has said the orca style is to avoid const, so we will avoid adding it where it isn't already present * Zig bindings doesn't need the corresponding C function to have const-decorated typesReuben Dunnington2023-09-29 23:14:43 -0400
d74f67f9a8Embiggen stack
Ben Visness
2023-09-28 20:29:13 -0500
caed72856eInclude empty strings in oc_str8_split
Ben Visness
2023-09-28 20:28:51 -0500
549e640102making binding generator output explicit void for functions with no parameters. Fix oc_surface_canvas/oc_surface_gles to take explicit voidMartin Fouilleul2023-09-28 21:29:03 +0200
d5bd7ea2bbfix order of file vs function in logging function argumentsMartin Fouilleul2023-09-28 21:28:18 +0200
win32: separate building orca core from samplesReuben Dunnington2023-09-20 23:15:19 -0700
4f0738fe64Check for Xcode command-line tools
#143
Ben Visness
2023-09-23 17:15:08 -0500
1cc8778982Do clang checks on Mac
Ben Visness
2023-09-23 17:04:13 -0500
75c4f6f94dRevamp Clang checks for Windows; still need to do the same for Mac
Ben Visness
2023-09-23 16:46:52 -0500
fb18d3240aFix handling of wasm memory growing. Properly account for wasm3 header size, align on page boundary and return the previous size, asserting that there's enough memory for the requested chunk size.Martin Fouilleul2023-09-25 11:59:11 +0200
94ce88e272[macos] use libtool instead of ar when building wasm3 lib, and pass -no_warning_for_no_symbols because translation units in wasm3 don't have symbols
#135
Martin Fouilleul2023-09-19 11:48:42 +0200
647565e285Put offset curve sample check count in an enum to silence -Wgnu-folding-constantMartin Fouilleul2023-09-19 11:47:27 +0200
ecf89fa6b2[macos build] - Remove the need for -maes, silence warning about ignored option on ARM macs - Set -mmacos-version-min when building wasm3 to match that of the platform layer and runtimeMartin Fouilleul2023-09-19 09:56:46 +0200
715ab0f6e3put mtl renderer constants in an enum to silence -Wgnu-folding-constant warningsMartin Fouilleul2023-09-19 09:24:23 +0200
370482a3e0remove wrong alignment attribute of IM3Operation wasm3Martin Fouilleul2023-09-19 09:15:36 +0200
827db17e14update image atlas alloc functions to match image/font create functionsMartin Fouilleul2023-09-19 09:10:06 +0200
34303edd4eexpose malloc/free to apps through libc-shim stdlib.hMartin Fouilleul2023-09-18 20:12:44 +0200
e85d774245Bring over more math functions from musl * asin * asinf * acosf * tan * tanf * atan * atan2 * atan2f * atanf * cbrt * cbrtf * log * logf * log2 * log2f
#128
Reuben Dunnington2023-09-17 22:46:17 -0700
116e614ab6Keep log format as "function() in file:line: msg", but pass the arguments in consistent order between the host and guest app.
#126
Martin Fouilleul2023-09-18 12:17:36 +0200
a77d6a07cdUse the HTTPS URL in the docs
#120
Ben Visness
2023-09-17 10:41:40 -0500
0b273f1e43Fix links in quick start
#112
Ben Visness
2023-09-16 17:53:36 -0500
bd780b20f3Print help when running `orca source`
#111
Ben Visness
2023-09-16 15:46:00 -0500
073c94d948[Windows, vsync] quick workaround for gles stutters on Windows: revert to doing a single blocking present on debug overlay
fix_win_gles_vsync
Martin Fouilleul2023-09-16 19:47:05 +0200
4865e2142dscripts/bundle.py: fix ext path in windows_make_appmartinfouilleul2023-09-16 18:05:18 +0200
f05adac120Update the README and quick start for launch
#107
Ben Visness
2023-09-16 09:51:50 -0500
29cb9f50e4Add commands to deal with Orca source code: - Add a vendor commands - Add a command that helps you set up a C compiler - Move ext into the src folder - Update Mac build scripts for consistency - Update Windows batch scripts
#79
Ben Visness
2023-08-28 22:15:16 -0500
731b1c7334Add uninstall command
#89
Ben Visness
2023-09-10 15:50:19 -0500
7d3f29e43b[ui layout] - implement ui box min size, + small fixes in layout code of ui sample - quick workaround for background showing on resize: clear to current theme's bg0 color - precompute minsize based on children to avoid upward fixup step - fix scrollable panel - Simplify color overrides, override more things to counteract the light theme - Change dragging to active for after #106 is merged - when clamping box to minsize during shrinking, redistribute excess to siblings that still have some slack - wrap demo in a scrollable panel
#105
Martin Fouilleul2023-09-15 12:41:23 +0200
33078fd9dcUI demo with styling
Ilia Demianenko
2023-09-14 23:26:38 -0700
300d5aeab4add a OC_UI_HOT style selector and use that to style radio buttons when the button's label is hovered
#106
Martin Fouilleul2023-09-16 16:33:08 +0200
d58643eb52fix button & checkbox to return to normal styling when active but _not_ hoveredMartin Fouilleul2023-09-16 16:18:23 +0200
efeac65a96Only highlight the widgets on mouse down when they are also hovered
Ilia Demianenko
2023-09-15 15:00:33 -0700
fe69cedd45Remove OC_UI_FLAG_OVERFLOW_FIT. Now OC_UI_FLAG_OVERFLOW_ALLOW controls both shrinking children to the parent's size and fitting parent to shrunk children size. We can still emulate all combination of shrink * fit with this single flag (and sometimes a parent box). This also makes fitting the default, which is more practical since fitting a box contents often requires fitting on all children.
fix_layout
Martin Fouilleul2023-09-15 19:45:44 +0200
09cf30cf45Consistency/intent - pass arenas as first parameters (exception being texbox widget, where we always pass tag as first parameter) - pass lists by value when there's no modification (eg oc_list_for etc...) - fix sketches, use oc_arena_scope as value.Martin Fouilleul2023-09-14 11:54:38 +0200
47dc052508Minor consistency things: - oc_window_style could be enum - clikCount in oc_key_event to u8 - return of oc_input_key_press -> u8 - rename oc_key_pressed/released/repeated to oc_key_press/release/repeat_count to reflect meaning of return valueMartin Fouilleul2023-09-14 10:47:10 +0200
0e680c989bconsistency: use _proc everywhere instead of _function or _callback in procedure typedefs. Also remove unused oc_live_resize_callbackMartin Fouilleul2023-09-14 10:31:12 +0200
73717b5dd8Document palette colors
#103
Ilia Demianenko
2023-09-14 00:14:19 -0700