src/hb-wasm-shape.cc


Log

Author Commit Date CI Message
Behdad Esfahbod cc67579c 2024-03-22T12:35:29 [wasm] Update to latest wasm-micro-runtime API
Bruce Mitchener f380a328 2023-08-25T14:01:01 Fix some typos.
Khaled Hosny 0ed946c3 2023-07-09T03:01:47 [wasm] Fix warning In file included from src/harfbuzz.cc:62: src/hb-wasm-shape.cc:27:9: warning: 'HB_DEBUG_WASM' macro redefined [-Wmacro-redefined] ^ src/hb-debug.hh:393:9: note: previous definition is here ^ 1 warning generated.
Behdad Esfahbod 1fc128f6 2023-06-26T18:34:27 Replace a few memset/memcpy's with hb_ equivalents
Simon Cozens 0bfad127 2023-03-26T17:44:55 [wasm] Make _hb_wasm_module_reader conditional Or else uharfbuzz doesn't build.
Behdad Esfahbod 74a2f338 2023-03-02T10:29:01 [wasm-shape] Don't crash if font is bad
Behdad Esfahbod f5a0bd22 2023-02-26T14:05:26 [wasm-shape] Comment re thread-safety
Behdad Esfahbod 7e5064ac 2023-02-26T14:01:56 [wasm-shape] Comment re thread-safety
Behdad Esfahbod 5235ee68 2023-02-26T13:15:39 [wasm-shape] Remove explicit running-mode setting It does it automatically.
Behdad Esfahbod e89415b5 2023-02-26T13:14:37 [wasm-shape] Print another error message
Behdad Esfahbod 6aea77c6 2023-02-26T12:28:25 [wasm-shape] Add (disabled) module support
Behdad Esfahbod 142ceaf2 2023-02-26T12:18:31 [wasm-shape] Print module instantiation error
Behdad Esfahbod 2482bb12 2023-02-25T15:14:25 [wasm-shape] Add XXX item
Behdad Esfahbod a53690a9 2023-02-25T15:10:10 [wasm-shape] Minor rename
Behdad Esfahbod 3226b434 2023-02-25T15:03:03 [wasm-shape] Use hb allocators
Behdad Esfahbod 7b1c5e86 2023-02-25T14:18:09 [wasm-shape] Minor conditionalize allocation
Behdad Esfahbod 6311b72f 2023-02-25T12:57:57 [wasm-shape] Shuffle code around
Behdad Esfahbod faaae043 2023-02-25T12:36:57 [wasm-shape] Minor
Behdad Esfahbod 65f7bac7 2023-02-25T11:07:31 Revert "[wasm-shape] No need to set default runnint mode" This reverts commit fa484fac08a868e885b3252522668824f0f0fe71.
Behdad Esfahbod d894a106 2023-02-25T10:48:41 [wasm-shape] Debug message
Behdad Esfahbod 0d237d06 2023-02-25T08:32:35 [wasm-shape] No need to set default runnint mode It's detected automatically apparently.
Behdad Esfahbod 4bdfaeec 2023-02-24T20:05:35 [wasm-shape] Set glyph flags
Behdad Esfahbod 77f0f3c1 2023-02-24T20:01:22 [wasm-api] Make buffer_copy_contents return zero length on mem fail
Behdad Esfahbod 2568890d 2023-02-24T19:04:39 [wasm-shape] Retry shaping if out-of-memory
Behdad Esfahbod cb382e48 2023-02-24T17:56:14 [wasm-shape] Cache wasm-shape-plan
Behdad Esfahbod 73de7d4d 2023-02-24T17:44:33 [wasm-api] Add shape_plan
Behdad Esfahbod a2672499 2023-02-24T17:22:22 [wasm] Typo
Behdad Esfahbod aa8f9eed 2023-02-24T15:20:37 [wasm-shape] Use JIT running-modes if available Build wasm-micro-runtime with: $ cmake . -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_FAST_JIT=1 or: $ cmake . -DWAMR_BUILD_REF_TYPES=1 -DWAMR_BUILD_JIT=1 The latter needs llvm and is harder to get working. Still trying.
Behdad Esfahbod 1c6d640e 2023-02-24T15:01:36 [wasm-shaper] Whitespace
Behdad Esfahbod 9f8ad392 2023-02-24T14:16:11 [wasm-api] Bind shaper features
Behdad Esfahbod 2327fe9d 2023-02-24T13:35:47 [hb-wasm] Remove TODO
Behdad Esfahbod 863ec70e 2023-02-24T12:00:29 [wasm-shape] Add TODO items
Behdad Esfahbod 07ece174 2023-02-24T08:08:18 [wasm-graphite] Initial code
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 bb8a04cb 2023-02-23T10:37:44 [wasm] Remove the print(returnval) and use it to fail shaper
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 11c6d460 2023-02-23T08:16:49 [wasm] Pass font & buff to shape() function
Simon Cozens 05bf9842 2023-02-23T14:55:49 Add a simple callback native function
Behdad Esfahbod bdbc1568 2023-02-22T23:30:28 [wasm] Port from c_api to wasm-micro-runtime wasm_runtime API
Behdad Esfahbod db8e51e0 2023-02-22T13:33:34 [wasm] More boilerplate
Behdad Esfahbod fcc8be40 2023-02-22T12:57:19 [wasm] Add meson build option Autotools support missing.
Behdad Esfahbod 425fc7f3 2023-02-22T12:19:06 [wasm] Add wasm shaper skeleton