Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/fuse-open/V8.Simple

Cross-platform V8.Simple library suitable for P/Invoke
https://github.com/fuse-open/V8.Simple

Merge pull request #2 from fuse-open/net6

Upgrade to .NET 6.0

e1bb4cf2671651c5a3a438256453d0f4fa6c764d authored over 1 year ago by Morten Daniel Fornes <[email protected]>
Upgrade to .NET 6.0

This adds csproj-files for building using .NET 6.0 and adds assembly
attributes required for loa...

7c3497fe433e4079db48feed27f71eeb79e54033 authored over 1 year ago by Morten Daniel Fornes <[email protected]>
add a license-file

5272bb4afcd5f31f8a89a9d92fb053d57381f9f7 authored over 6 years ago by Erik Faye-Lund <[email protected]>
Marshal bools as I1

66af3a29e0d43bc777d331cc3d186937f14acba9 authored almost 8 years ago by Olle Fredriksson <[email protected]>
Use the localExternal when creating JSExternals

Otherwise we might prematurely free Externals, since the object with the
finalizer has nothing t...

b08b0bd4c60166f277ec59a56b5b0f9914a81482 authored about 8 years ago by Olle Fredriksson <[email protected]>
Merge pull request #1 from fusetools/feature-Cleanup

Cleanup and update to V8 5.5

a36ffbcb561148b407fe16721aa882769f3628ba authored about 8 years ago by Olle Fredriksson <[email protected]>
Add null checks for finalizer callbacks

88a26178eef1074242f8f9311c095c003ab6c040 authored about 8 years ago by Olle Fredriksson <[email protected]>
Use ResettingPersistent instead of Persistent

This ensures that Persistent handles are Reset when destructed, which
they didn't before, leadin...

12602fb9956e32d91fe03302fe680c3b88af9343 authored about 8 years ago by Olle Fredriksson <[email protected]>
Leak objects released after context is destroyed

Otherwise this can lead to crashes.

2d4b190edc5113f9727deeb06211a6f9de6333a9 authored about 8 years ago by Olle Fredriksson <[email protected]>
Add option for null-terminated string writing

74863552c568b1cf769b0a9e0168f3211658e3c8 authored about 8 years ago by Olle Fredriksson <[email protected]>
Add new build scripts for "automatically" building V8

They don't work very well but may help next time.

Requires building for OSX on OSX, for Android...

1c79b82cdf238617ea8a6011d3c639eaf85b3061 authored about 8 years ago by Olle Fredriksson <[email protected]>
Add ToString helper function

So the user of the C# lib doesn't have to use a StringBuilder.

04887ffc70aa9db9240d1ad76a871459ec9f27c7 authored about 8 years ago by Olle Fredriksson <[email protected]>
Fix debugger interface

Plus some callback tweaks.

0adc2dd9b9b8a3510a269222f00ecfe1bea259c8 authored about 8 years ago by Olle Fredriksson <[email protected]>
Fix Windows build

c87b0ef954251bcdee77666792f69bde22e28060 authored about 8 years ago by Olle Fredriksson <[email protected]>
android build amend

08e3cf4d1ce1d375c012230b5b077c6b8dbb96a8 authored about 8 years ago by Olle Fredriksson <[email protected]>
Allow retaining/releasing after context is gone

f57dbbfd9c4657684dce6f9f1cbfe926d5daf9f9 authored about 8 years ago by Olle Fredriksson <[email protected]>
Remove C# constructors

And some minor fixes

973a57f5e44dbd60eeb6a32c580a9b127e7b178a authored about 8 years ago by Olle Fredriksson <[email protected]>
Get the Android build to work

3358d3a248678a3946644cd6a7e1e4a4bf5dbfab authored about 8 years ago by Olle Fredriksson <[email protected]>
Use atomic ints for refcounts

6f7e6be83310a988902a0320cd657b2af78fca96 authored about 8 years ago by Olle Fredriksson <[email protected]>
Don't treat String objects as strings

Etc

be59183334ef9d33ad69766b795f40f36a835d71 authored about 8 years ago by Olle Fredriksson <[email protected]>
Update to V8 5.5

c9a5f0a97119e311b56cbddcfbff642dc4fed119 authored about 8 years ago by Olle Fredriksson <[email protected]>
Use handwritten PInvoke interface

This should remove some layers of indirection created by Swig, and
generally cleans up the inter...

7444dc720bb72428e1453692f7e32360d26f0e5b authored about 8 years ago by Olle Fredriksson <[email protected]>
Use utf16 strings

d5d7f645d2312a1b6927014eee27ef18b38ff013 authored over 8 years ago by Olle Fredriksson <[email protected]>
Store the actual exception in ScriptException

Instead of just the name. For memory the C# memory handling to work out,
it can only be gotten o...

1a75f6d76dd1b877e2b6df8294900ef25af9f757 authored over 8 years ago by Olle Fredriksson <[email protected]>
Rename Wrap to WrapMaybe

a247d44fc3930e5f5d333131273b4ff555be26c3 authored over 8 years ago by Olle Fredriksson <[email protected]>
Use the correct External constructor when wrapping

The void* constructor installs a new finalizer, but at this point we can
assume that it has alre...

9687b704f40021acec3439c1900ab3612500b38a authored over 8 years ago by Olle Fredriksson <[email protected]>
Add test for throwing functions

99f27dd667d64c464ebecaa9303a54d36adc2465 authored over 8 years ago by Olle Fredriksson <[email protected]>
Use Maybe version of Function::Call

27088eb07d2d0002cb2dd765b796ee80657ad31f authored over 8 years ago by Olle Fredriksson <[email protected]>
Add low-level support for ArrayBuffers

5069bd750734609b3ae27eb822cedea7a2a179c6 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add External scripting object

For holding on to pointers from the host language

3c3618cd4dded436ac34943685596d44fc70d702 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Revamp memory handling

This fixes a bug where callbacks weren't properly cleaned-up after.

And re-use isolates when re...

79dfab94569a9c7d460d91e2926d523f5fde0def authored almost 9 years ago by Olle Fredriksson <[email protected]>
Revamp exception handling and add ThrowException

ThrowException should be used when there are exceptions inside
Callbacks.

d65a9f5a7855463744114028238267d76da07ebc authored almost 9 years ago by Olle Fredriksson <[email protected]>
Set soname in android lib

ef193cb0fa46fbf42137561855535347e6c08819 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add String creation helpers to cs file

6a35100b2819841aea94776e85c1f8c85c9ecda6 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Get rid of warning

cf382dba2986509700f869fcb5a00a99c23c4bf0 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Make Object.Keys return its _own_ properties

20cb999069f947b11c103447f873848969a71af2 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Make the interface use byte arrays

And explicitly convert from C# strings to UTF8-encoded byte arrays

830ae52f5961d15a008d23bdd0fca3b43b436bc2 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add simple unicode test

678e4d412d1ebfdfe68420f34be56bd5b0a29daf authored almost 9 years ago by Olle Fredriksson <[email protected]>
Set install_name on OS X

270dd352cd09c3cca575c236a0ba6facea23cecc authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add tests for StrictEquals

5d3b73bda0f056ce4cc3e9d4832322ad4a6a61a4 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add GetVersion()

41bf0c9772ea7e85a10e4f3af90f73b33b915b95 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Update docs

6a0d238d8df7491bcd0b7cc062bdf0c37e213f97 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Rename Equals to StrictEquals

And add Equals and GetHashCode functions that work on the native
reference to the C# interface.

508ecebe124bbe20ad7a136ee9de04bde124eb1d authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add methods for safe memory management

For binary compatibility

c5dac38c707a05814ff6438f045c88a3b7da4d0a authored almost 9 years ago by Olle Fredriksson <[email protected]>
Don't use std::vector in C++ interface

This causes configuration problems on Windows

79d565d9da2b72953a95021c118cfb7df722fd2c authored almost 9 years ago by Olle Fredriksson <[email protected]>
Use delete _methods_ to avoid binary compat issues

96aee56ad96b9888f044363f30a6ff812e72377e authored almost 9 years ago by Olle Fredriksson <[email protected]>
Remove memory methods from exception handlers

36c156cc721df7b028d4f13b10f679fddbe1218f authored almost 9 years ago by Olle Fredriksson <[email protected]>
Use pointers to persistent in interface

to avoid linker problems

e7aa775dc7b2bf62e67e324e83fbd9df65e37431 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Use more defaults in vcproj

27f3aa9d47e4db2d475e3c87ca51b93a10f374f3 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Make some functions take pointer args

For easier interoperability

3d883494cce3b466af8fff56fb95b24391f050f8 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add some tests

49a63ed8c22f8b3e9deb6c6bf66c3a1811579623 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Throw exceptions when given null arguments

when that's not valid

e52b0aba44b5398bb785bd229f2a63d414bbb333 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Use dllexport specs in MSVC

and explicitly delete copy constructors/operators that MSVC otherwise
complains about when using...

d1f012c09c6ba9f307ddcd69e2fe60c9c7474f4e authored almost 9 years ago by Olle Fredriksson <[email protected]>
Remove lies

59ff6458a9d46d992a4a165dd104b7bd094152a1 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Expose debug as v8debug

3c44951901a5b77d58fa2492d622efd73f4a07d9 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Remove stray include

062ef3768c70f535227e331ebd83935ef6d60637 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Fix crash when connected to WebStorm

9a864f405a688552bda567eefee7a85b3240fa61 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Update project dirs for debug builds

cc0dd17c3795de0c4b72b9969e954576e5cd6ed0 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Restructure global context handling

5866f8daf8200fa2d41065fd66114c4bf5c7899f authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add checks for isolate existance to debugger funs

02a4d2b30f6454956575be034450d3c4b772fce2 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add test for debug functions

8d3e63460925277427ce126cd0b45f79e5f638eb authored almost 9 years ago by Olle Fredriksson <[email protected]>
Use Maybe version of NewFromUtf8

e6817b1423fd562163006a21aef5a4ca2c659f47 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Don't lock in finalizers

aaa7578186cb9939ee2bb47e53ed01e279cbcf44 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Fix typo

3df18063f4d59627e310da6e0960b97eeca93b94 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Remove redundant destructor

6c8787b31234c927e8e4bfbe8e984dd71bdc4c8f authored almost 9 years ago by Olle Fredriksson <[email protected]>
Optimise for size

cbb0e271f0da4776ae667cb816bbbf4296f004ee authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add test for context destruction by GC

2c522e73246610118aa439745c50bc89b7bb7634 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Use more scopes

3ca0c52f163869a20ecc392d4dc9d948bc165f2a authored almost 9 years ago by Olle Fredriksson <[email protected]>
Use V8SImple::String for message handler

7a15999078fe02615a32c6a1e2f27060e6955b6a authored almost 9 years ago by Olle Fredriksson <[email protected]>
Retain message handler before release

06694598c0fd50f3ecb52193fc9997e957df9722 authored almost 9 years ago by Olle Fredriksson <[email protected]>
Add short README

68ccf8d173a98ee2ba950f939a0b4bba3bf57401 authored about 9 years ago by Olle Fredriksson <[email protected]>
Make CallMethod throw if not a function

ca6144df66c4a723477bf030f02d84417c659398 authored about 9 years ago by Olle Fredriksson <[email protected]>
Add unit tests

5ca97874a3e4c4bae62d7fa1e6d2d2122064b912 authored about 9 years ago by Olle Fredriksson <[email protected]>
Update dll names

cf87dce27547da629ec68db3576c6a1808ba3000 authored about 9 years ago by Olle Fredriksson <[email protected]>
Remove stray print call

686e87ffcd878a1c665a5efc55eee2775f5f1472 authored about 9 years ago by Olle Fredriksson <[email protected]>
Put SetDllDirectory code in separate file

152b96689434076db43a46d03b59a0a5f5ce320b authored about 9 years ago by Olle Fredriksson <[email protected]>
Set Windows dll directory

b094d399f2a232b6734ad9c5c052deef9fcee5c2 authored about 9 years ago by Olle Fredriksson <[email protected]>
Avoid some implicit conversions

6ff9425632b7942d44481ddc2d02684f41e58118 authored about 9 years ago by Olle Fredriksson <[email protected]>
Use ref instead of ptr in UniqueValueVector

5227cb42aa631c207514b8fa7637ff8da73dfb7f authored about 9 years ago by Olle Fredriksson <[email protected]>
Throw when exceptions have been caught

ff9e762c5e23c10219eee4bad9ffcd4004927c17 authored about 9 years ago by Olle Fredriksson <[email protected]>
Make Callbacks call by reference

a775bf1db9bf7ad40b708f8374b08f6bd0bfcaf1 authored about 9 years ago by Olle Fredriksson <[email protected]>
Remove redundant constructor in Value baseclass

2ea4d3a2a1187b55d2060695ca9300a698fbb1db authored about 9 years ago by Olle Fredriksson <[email protected]>
Create V8Scope with Locker and Context::Scopes

This fixes multithreading problems

ae2095a7785116c289e8b712f669c4b49fa45ec3 authored about 9 years ago by Olle Fredriksson <[email protected]>
Favour size in VS solution

103838be735d8d0197003ae68f2a65b2c27fbe06 authored about 9 years ago by Olle Fredriksson <[email protected]>
Fix crash in exception thrower Throw

f99b2bc4fafad6ee9a9786ff2553a06c98fa4f4f authored about 9 years ago by Olle Fredriksson <[email protected]>
Fix output directories in VS solution

2e54a2613ae42347e1bf64d8729d4506bbdc00a0 authored about 9 years ago by Olle Fredriksson <[email protected]>
No need to static_cast for upcasts

3a0e31730d074911f0cf750a5d5f476b94cb71bd authored about 9 years ago by Olle Fredriksson <[email protected]>
Fix StringVector Swig type

68d3fd9580581666eef490cb42c0e2964479b327 authored about 9 years ago by Olle Fredriksson <[email protected]>
Add 64-bit build target to VS solution

b7b5f0d0587cb438934aa82237f8cce81c7d7fd4 authored about 9 years ago by Olle Fredriksson <[email protected]>
Rename native library {from ,to lib}V8Simple

f31bfe17adcaf1321df62cbf97dda8bd6058442d authored about 9 years ago by Olle Fredriksson <[email protected]>
Add instructions for build 64-bit v8 Windows lib

2b770bee1fef3a90f863f9ea63ea6bdb0d16c5ce authored about 9 years ago by Olle Fredriksson <[email protected]>
Build fat library on OSX

e4615a4a193ad3c05d949aa9434a5fe08d84eaf3 authored about 9 years ago by Olle Fredriksson <[email protected]>
V8: Update output directory in VS

a193f131bca26d3e1fb47de75051d3087084c25f authored about 9 years ago by Olle Fredriksson <[email protected]>
V8: Update Test.cs

070aa936633335055261136c9dbee0f4e8faa45f authored about 9 years ago by Olle Fredriksson <[email protected]>
V8: Check handlers for null before dereferencing

46343e85c65fc5755ac2c17669b1d02cacff021e authored about 9 years ago by Olle Fredriksson <[email protected]>
V8: Build without i18n support on windows

0455e57f254bfa36a08ebea0b26a4811820a7a5b authored about 9 years ago by Olle Fredriksson <[email protected]>
V8: Use libstdc++, cast instead of std::move

a7d8bbd8d9079721d4d0ff553b5290776777439f authored about 9 years ago by Olle Fredriksson <[email protected]>
V8: Create UniqueValueVector for Callback calls

To ease memory management

2a4c3bb39c06f5df4f421533dad220a45a3fb7dc authored about 9 years ago by Olle Fredriksson <[email protected]>
V8: Delete redundant config file

83f815c56a43ee0a09e8a8c4dea2d8571c4eae5f authored about 9 years ago by Olle Fredriksson <[email protected]>
V8: Update version to 4.8.271.9

1ef8c9c61cabcbcca21408d9644b9ffb6cb21db8 authored about 9 years ago by Olle Fredriksson <[email protected]>