src/hb-wasm-api.hh


Log

Author Commit Date CI Message
Behdad Esfahbod 4260de12 2023-02-25T10:43:27 [wasm] Add HB_ARRAY_APP2NATIVE
Behdad Esfahbod 099a0150 2023-02-23T15:15:06 [wasm] Add HB_STRUCT_TYPE
Behdad Esfahbod 3b88bd97 2023-02-23T13:27:46 [wasm-api] Make ptr_t a pointer on the wasm side
Behdad Esfahbod 69b1707d 2023-02-23T13:00:06 [wasm] Return empty object when ref2obj fails
Behdad Esfahbod e87b1b3e 2023-02-23T12:23:52 [wasm-api] Try to add face_reference_table
Behdad Esfahbod 747dcf56 2023-02-23T11:53:08 [wasm] Strong typing for object references Such that wasm cannot crash us by passing wrong object refs. https://github.com/bytecodealliance/wasm-micro-runtime/discussions/1987 It still is unsafe if some code in the process other than HarfBuzz registers refs with wasm-micro-runtime, since wasm_externref_ref2obj() takes no context variable and looks up refs globally :(. Maybe I fix that later by keeping a hash table of ref->obj-type instead.
Behdad Esfahbod 42d121ae 2023-02-23T11:05:19 [wasm] Add hb-wasm-api.cc
Behdad Esfahbod 98070644 2023-02-23T10:58:22 [wasm] Add hb-wasm-api-list.hh
Behdad Esfahbod 65efad6b 2023-02-23T10:49:02 [wasm] Make debugprint use debug API
Simon Cozens 36dd27bf 2023-02-23T17:33:50 Just printf, don't take length
Behdad Esfahbod 62f3c7cf 2023-02-23T10:29:04 [wasm-api] Add macros for ref handling
Behdad Esfahbod 4c8a414a 2023-02-23T10:22:12 [wasm-api] Clean up debugprint
Behdad Esfahbod 63904538 2023-02-23T10:11:22 [wasm-api] Use i32 instead of externref in API spec Oh well...
Simon Cozens ed1a70c7 2023-02-23T16:41:17 Only export debugprint when HB_DEBUG_WASM
Simon Cozens 89c50b0c 2023-02-23T16:41:04 Fix debugprint format string
Behdad Esfahbod fd1f7f46 2023-02-23T09:25:05 [wasm-api] Implement font_get_face
Behdad Esfahbod 9f4dc2e1 2023-02-23T09:18:25 [wasm] Bind native API
Behdad Esfahbod e79a7318 2023-02-23T09:03:06 [wasm] Start adding wasm-api
Behdad Esfahbod 9f8ad392 2023-02-24T14:16:11 [wasm-api] Bind shaper features
Behdad Esfahbod 39f8703d 2023-02-24T12:42:22 [wasm-api] Match interface and implementation signatures
Behdad Esfahbod fea3ffe0 2023-02-24T12:31:32 [wasm-api] Beautify internal API
Behdad Esfahbod a5c844a1 2023-02-24T09:52:38 [wasm] Rename macro
Behdad Esfahbod 23b58b56 2023-02-24T09:50:34 [wasm-api] Bind font_get_scale