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