Log

Author Commit Date CI Message
Behdad Esfahbod c5a88a06 2023-02-25T12:43:22 [wasm-api] Minor cleanup
Behdad Esfahbod 8215e706 2023-02-25T12:37:11 [wasm-graphite] Memory hygiene
Behdad Esfahbod d5d8fc04 2023-02-25T12:17:30 [wasm/graphite] Include standard headers Since we use emcc here.
Behdad Esfahbod d894a106 2023-02-25T10:48:41 [wasm-shape] Debug message
Behdad Esfahbod b0802618 2023-02-25T09:34:03 [wasm-api] Memory house-keeping
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 f2d227ad 2023-02-25T09:30:40 [wasm-api] Respect existing blob allocation in face_copy_blob
Behdad Esfahbod 16ecb969 2023-02-24T19:53:47 [wasm-api] Return success from buffer_contents_realloc
Behdad Esfahbod 2568890d 2023-02-24T19:04:39 [wasm-shape] Retry shaping if out-of-memory
Behdad Esfahbod 91eb2f49 2023-02-25T10:44:45 [wasm-api-buffer] Minor variable
Behdad Esfahbod e7540043 2023-02-25T09:18:40 [wasm-api] Make buffer_copy_contents reuse contents
Behdad Esfahbod 65966e0c 2023-02-25T08:59:03 [wasm-api] Add font_copy_glyph_outline
Behdad Esfahbod 1f86890b 2023-02-25T11:55:34 [wasm/graphite] Typo
Behdad Esfahbod 4260de12 2023-02-25T10:43:27 [wasm] Add HB_ARRAY_APP2NATIVE
Simon Cozens 92a57b4b 2023-02-25T15:38:08 [wasm-rust] update font_copy_table API
Simon Cozens db789eac 2023-02-25T15:35:37 [wasm-rust] Docs and API update
Behdad Esfahbod 1537e252 2023-02-25T10:35:15 [wasm] Minor blob validation
Behdad Esfahbod 0d237d06 2023-02-25T08:32:35 [wasm-shape] No need to set default runnint mode It's detected automatically apparently.
Behdad Esfahbod 2004528c 2023-02-25T08:23:14 [wasm-api] Change face_copy_table to return success
Behdad Esfahbod faaae043 2023-02-25T12:36:57 [wasm-shape] Minor
Behdad Esfahbod f95c2cc6 2023-02-25T11:10:28 [wasm] Infra for iwasm llvm build
Behdad Esfahbod 918df8cc 2023-02-25T10:29:03 [wasm-api] Add glyph_outline_free
Simon Cozens 83b9c34f 2023-02-25T15:23:22 [wasm] Add rust example
Simon Cozens 840b5dff 2023-02-25T15:20:39 [wasm] Improve Rust docs, refer to new crate
Behdad Esfahbod 7fff4a19 2023-02-25T10:25:19 [wasm-api] Reuse allocation in font_copy_glyph_outline
Behdad Esfahbod 28a7c1f9 2023-02-25T08:16:31 [wasm-api] Rename face_reference_table to face_copy_table
Behdad Esfahbod b5b577f2 2023-02-25T08:12:16 [wasm-api] Make buffer_copy_contents return success
Behdad Esfahbod 65f7bac7 2023-02-25T11:07:31 Revert "[wasm-shape] No need to set default runnint mode" This reverts commit fa484fac08a868e885b3252522668824f0f0fe71.
Behdad Esfahbod 41362cc3 2023-02-25T10:08:22 [wasm] Simplify memory cleaning
Behdad Esfahbod 1023a80d 2023-02-25T07:57:04 [wasm] Fix up samples
Behdad Esfahbod 4ad659a6 2023-02-25T07:48:35 [wasm] Move wasm-graphite
Behdad Esfahbod 6746ca4a 2023-02-25T09:41:20 [wasm] Minor remove undefine function
Simon Cozens 514a8d58 2023-02-25T14:42:13 [wasm-api] Add ergonomic Rust interface
Simon Cozens 74deaa9e 2023-02-25T13:33:49 [wasm-api] Restructure samples/libraries
Behdad Esfahbod 149199ee 2023-02-24T09:39:25 [wasm-api] Bind face_get_upem
Behdad Esfahbod 2d295183 2023-02-24T09:20:42 [wasm-api] Add buffer_contents_realloc
Behdad Esfahbod 07ece174 2023-02-24T08:08:18 [wasm-graphite] Initial code
Behdad Esfahbod ae981eec 2023-02-23T21:36:17 [graphite] Remove script handling https://github.com/harfbuzz/harfbuzz/issues/3439#issuecomment-1442650148
Behdad Esfahbod 5ab7f7a7 2023-02-23T16:11:54 [wasm-sample] Make addTable take args
Behdad Esfahbod 551528a6 2023-02-23T16:06:39 [wasm-sample] Remove unused prototype
Behdad Esfahbod 926f8a32 2023-02-23T15:52:13 [wasm-sample] Actually shape text!
Behdad Esfahbod c1dc1121 2023-02-23T15:47:56 [wasm-api] Bind buffer_set_contents
Behdad Esfahbod cb382e48 2023-02-24T17:56:14 [wasm-shape] Cache wasm-shape-plan
Simon Cozens e0fec1dd 2023-02-23T22:18:22 [wasm-api] Wrap some of hb-font
Behdad Esfahbod af1f41a4 2023-02-23T15:17:18 [wasm-api] Clear structs in _free()
Behdad Esfahbod 73de7d4d 2023-02-24T17:44:33 [wasm-api] Add shape_plan
Behdad Esfahbod 099a0150 2023-02-23T15:15:06 [wasm] Add HB_STRUCT_TYPE
Behdad Esfahbod 851ef138 2023-02-23T15:06:18 [wasm-api] Add buffer-contents-free
Behdad Esfahbod a2672499 2023-02-24T17:22:22 [wasm] Typo
Behdad Esfahbod d38f02ab 2023-02-23T15:03:03 [wasm-api] Make ref types actual pointers on the wasm side
Behdad Esfahbod cbd5c554 2023-02-23T14:54:46 [wasm-api] Add blob_free
Behdad Esfahbod 99d2dab3 2023-02-24T17:04:05 [wasm] Try at autotools build
Behdad Esfahbod 3bec8dca 2023-02-23T14:35:01 [wasm-sample] Free blob data for now
Behdad Esfahbod d45a13f1 2023-02-23T14:28:16 [wasm] Add wasm-sample/
Behdad Esfahbod ed39e076 2023-02-24T16:20:06 [wasm] Fix docs
Behdad Esfahbod 5cecfe86 2023-02-23T13:58:40 [wasm-api] Bind buffer_copy_contents
Behdad Esfahbod 50b22368 2023-02-23T13:41:41 Revert "Fix function signature" This reverts commit d70ebf98b0c696f3c66a20b1243cb347e3e3abc8. Nope. A struct return is not returned that way.
Behdad Esfahbod c5af08c0 2023-02-24T15:57:10 [wasm] Add to harfbuzz.cc and hb-features
Simon Cozens 743cd2c4 2023-02-23T20:35:16 Fix function signature
Behdad Esfahbod 3b88bd97 2023-02-23T13:27:46 [wasm-api] Make ptr_t a pointer on the wasm side
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 d7a66716 2023-02-23T13:16:49 [wasm-api] Add debugprint1/2/3/4
Behdad Esfahbod 108995bb 2023-02-23T13:04:38 [wasm-api] Finish face_reference_table
Behdad Esfahbod 8d960dfe 2023-02-24T15:07:40 [wasm-sample] Remove Wasm table from test.ttf again Was added by mistake.
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 1c6d640e 2023-02-24T15:01:36 [wasm-shaper] Whitespace
Behdad Esfahbod e03726d2 2023-02-23T12:00:42 [wasm] Ignore API in the docs
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 9f8ad392 2023-02-24T14:16:11 [wasm-api] Bind shaper features
Behdad Esfahbod 6b72a18c 2023-02-23T11:06:48 [wasm-api] Rename file
Behdad Esfahbod 42d121ae 2023-02-23T11:05:19 [wasm] Add hb-wasm-api.cc
Behdad Esfahbod 2327fe9d 2023-02-24T13:35:47 [hb-wasm] Remove TODO
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
Behdad Esfahbod b130b2b3 2023-02-24T13:34:16 [graphite] Simplify direction handling
Behdad Esfahbod bb8a04cb 2023-02-23T10:37:44 [wasm] Remove the print(returnval) and use it to fail shaper
Simon Cozens 11fc83c0 2023-02-23T17:34:02 [Docs] Pass a C string from Rust to HB
Behdad Esfahbod ec3270c7 2023-02-24T13:31:10 [wasm-graphite] Ensure native direction here too Binds buffer_get_script and script_get_horizontal_direction.
Simon Cozens 36dd27bf 2023-02-23T17:33:50 Just printf, don't take length
Behdad Esfahbod 3bc0ecf2 2023-02-23T10:30:35 [wasm-api] Add ref_t
Behdad Esfahbod cbc71c56 2023-02-24T13:15:11 [graphite] Ensure native direction Mirrored characters come out wrong. Oh well. Better than before though.
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 39f8703d 2023-02-24T12:42:22 [wasm-api] Match interface and implementation signatures
Behdad Esfahbod 63904538 2023-02-23T10:11:22 [wasm-api] Use i32 instead of externref in API spec Oh well...
Behdad Esfahbod bd28d01a 2023-02-23T09:49:46 [wasm-api] Add HB_WASM_INTERFACE
Behdad Esfahbod fea3ffe0 2023-02-24T12:31:32 [wasm-api] Beautify internal API
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 fe557e2f 2023-02-24T12:20:31 [wasm-api] Bind font_get_glyph_extents Untested.
Simon Cozens f0200445 2023-02-23T16:38:39 Initial WASM docs and Rust example
Behdad Esfahbod fd1f7f46 2023-02-23T09:25:05 [wasm-api] Implement font_get_face
Behdad Esfahbod b3b6e8da 2023-02-24T12:03:53 [wasm-api] Bind buffer_reverse
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 863ec70e 2023-02-24T12:00:29 [wasm-shape] Add TODO items
Behdad Esfahbod 829ba742 2023-02-23T08:32:14 [wasm] Add hb-wasm-api.h
Behdad Esfahbod 11c6d460 2023-02-23T08:16:49 [wasm] Pass font & buff to shape() function