Commit Graph

15965 Commits

Author SHA1 Message Date
Behdad Esfahbod 6ff994f31d [wasm-api-shape] Avoid a couple of crashes 2023-03-31 17:33:45 -06:00
Behdad Esfahbod b6c1814410 [wasm] Comment 2023-03-31 17:33:45 -06:00
Simon Cozens e78d8653ce [wasm-rust] panic if buffer_set_contents fails 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 74a2f338c6 [wasm-shape] Don't crash if font is bad 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 7df9b3dd89 [wasm-api-list] Add TODO 2023-03-31 17:33:45 -06:00
Behdad Esfahbod f5a0bd223b [wasm-shape] Comment re thread-safety 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 7e5064ac1b [wasm-shape] Comment re thread-safety 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 5235ee68ad [wasm-shape] Remove explicit running-mode setting
It does it automatically.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod e89415b5b9 [wasm-shape] Print another error message 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 6aea77c643 [wasm-shape] Add (disabled) module support 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 142ceaf246 [wasm-shape] Print module instantiation error 2023-03-31 17:33:45 -06:00
Simon Cozens 7e397d8695 [wasm-rust] Fix shape parameters 2023-03-31 17:33:45 -06:00
Simon Cozens d942f72c2a [wasm-rust] Fix path 2023-03-31 17:33:45 -06:00
Simon Cozens 52b11546c8 [wasm-rust] Optional kurbo dependency 2023-03-31 17:33:45 -06:00
Simon Cozens 0c90555e59 [wasm] Fix Rust docs 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 4f537df67d [wasm] Disable check-libstdc++ test
Since libiwasm.so links to it.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod 2482bb120b [wasm-shape] Add XXX item 2023-03-31 17:33:45 -06:00
Behdad Esfahbod a53690a937 [wasm-shape] Minor rename 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 3226b4342b [wasm-shape] Use hb allocators 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 4096115b48 [wasm-graphite] Export malloc/free
Makes the wasm-micro-runtime use these instead of internal heap.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod 7b1c5e86ae [wasm-shape] Minor conditionalize allocation 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 196c6b6c1f [wasm-buffer] Fix buffer_contents_realloc 2023-03-31 17:33:45 -06:00
Behdad Esfahbod b9d4758bf9 [wasm/graphite] Add commented out allocator export 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 3c59943433 [wasm/graphite] Remove stale comment 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 6311b72fcc [wasm-shape] Shuffle code around 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 9b66e45481 [wasm/graphite] Remove unused variable
Wasm cannot export those?
2023-03-31 17:33:45 -06:00
Behdad Esfahbod c5a88a068b [wasm-api] Minor cleanup 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 8215e70632 [wasm-graphite] Memory hygiene 2023-03-31 17:33:45 -06:00
Behdad Esfahbod faaae04359 [wasm-shape] Minor 2023-03-31 17:33:45 -06:00
Behdad Esfahbod d5d8fc046f [wasm/graphite] Include standard headers
Since we use emcc here.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod 1f86890b75 [wasm/graphite] Typo 2023-03-31 17:33:45 -06:00
Behdad Esfahbod f95c2cc6d5 [wasm] Infra for iwasm llvm build 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 65f7bac73c Revert "[wasm-shape] No need to set default runnint mode"
This reverts commit fa484fac08a868e885b3252522668824f0f0fe71.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod d894a10699 [wasm-shape] Debug message 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 91eb2f49db [wasm-api-buffer] Minor variable 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 4260de12c1 [wasm] Add HB_ARRAY_APP2NATIVE 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 1537e252ba [wasm] Minor blob validation 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 918df8ccaf [wasm-api] Add glyph_outline_free 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 7fff4a19ad [wasm-api] Reuse allocation in font_copy_glyph_outline 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 41362cc339 [wasm] Simplify memory cleaning 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 6746ca4ae2 [wasm] Minor remove undefine function 2023-03-31 17:33:45 -06:00
Behdad Esfahbod b08026187a [wasm-api] Memory house-keeping 2023-03-31 17:33:45 -06:00
Behdad Esfahbod f2d227ad9f [wasm-api] Respect existing blob allocation in face_copy_blob 2023-03-31 17:33:45 -06:00
Behdad Esfahbod e7540043de [wasm-api] Make buffer_copy_contents reuse contents 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 65966e0c3d [wasm-api] Add font_copy_glyph_outline 2023-03-31 17:33:45 -06:00
Simon Cozens 92a57b4b4a [wasm-rust] update font_copy_table API 2023-03-31 17:33:45 -06:00
Simon Cozens db789eacb4 [wasm-rust] Docs and API update 2023-03-31 17:33:45 -06:00
Behdad Esfahbod 0d237d062e [wasm-shape] No need to set default runnint mode
It's detected automatically apparently.
2023-03-31 17:33:45 -06:00
Behdad Esfahbod 2004528cf8 [wasm-api] Change face_copy_table to return success 2023-03-31 17:33:45 -06:00
Simon Cozens 83b9c34f0b [wasm] Add rust example 2023-03-31 17:33:45 -06:00