Jarred Sumner
|
c7874ed3fe
|
Fix issue with loading bundled entry points
|
2022-09-07 00:18:25 -07:00 |
|
Jarred Sumner
|
bac93e14ad
|
Fix bug with macros
|
2022-09-06 17:24:45 -07:00 |
|
Jarred Sumner
|
1c1346dfa9
|
Add node:assert to list of hardcoded modules to fix ESM compat issue
|
2022-09-06 07:21:49 -07:00 |
|
Jarred Sumner
|
e9cc9ae816
|
Make the plugins a little more resilient
|
2022-09-06 03:37:58 -07:00 |
|
Jarred Sumner
|
11aa17a57c
|
Support async onLoad callbacks in Bun.plugin
|
2022-09-05 23:05:22 -07:00 |
|
Jarred Sumner
|
62fa5d59cb
|
Rename is_macro_mode -> use_alternate_source_cache
|
2022-09-04 21:43:53 -07:00 |
|
Jarred Sumner
|
15b7f9793f
|
[Node API] Fix napi_module_register
|
2022-09-03 22:47:00 -07:00 |
|
Jarred Sumner
|
04cc1968db
|
Fix createRequire() in node:module
Fixes https://github.com/oven-sh/bun/issues/831
Fixes https://github.com/oven-sh/bun/issues/453
|
2022-09-03 21:48:06 -07:00 |
|
Jarred Sumner
|
0ca42e81f3
|
Plugin API (#1199)
* Plugin API
* Fix the bugs
* Implement `"object"` loader
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
|
2022-09-03 03:57:43 -07:00 |
|
Jarred Sumner
|
4e73726bee
|
Delete some dead code
|
2022-09-01 20:34:41 -07:00 |
|
Zilin Zhu
|
700c31dd13
|
Add native StringDecoder (#1188)
* Add native StringDecoder
* fix upon reviews
* add Constructor and use LazyClassStructure
|
2022-09-01 12:56:41 -07:00 |
|
Hyro
|
7a734e0a28
|
feat: implement native os module (#1115)
* feat: implement os module
* revert(bun-error): package-lock.json
* feat: implement EOL
* feat: implement EOL
* feat: implement arch function
* feat: implement homedir function
* add comptime to homedir if
* feat: add platform function
* feat: implement type function
* feat: add hostname (not sure iff works on all platforms)
* chore: make requested changes
* fix: change toValueGC into toValue in arch function
* add EOL, devNull constant variables
* fix: store only string
* feat: add tests
* feat: add endianness
* ususe toValue for devNull & EOL
* feat: implement endianness & fix release
* revert javascript.zig fix
* feat: implement tmpdir
* feat: implement totalmem, freemem, uptime
* feat: loadavg
* feat: implement version
* feat: add userInfo
* feat: implement totalmem for macos
* feat: add getPriority (not finished, waiting for dc response)
* feat: finish userInfo implementation
* feat: implement cpus, not done
* feat: finish getPriority implementation & stats cpus()
* feat: implement setPriority
* reemove test.c
* feat: implement constants.dlope.xn, constants.priority.x, constants.UV_UDP_REUSEADDR
* feat: implement signals, errno
* updated cpus function, stilldoesnt work
* increase object length
* feat: add t more ests
* feat: add cpus()
* remov some files
* fix: handle empty array
* started working on interface addresses (in C)
ill use C++ after it work
* fix interface_addresses
* Improved getCpuInfo code, decreased ram usage, increased speed
* getCpuTime optimizations
* started working on networkInterfaces
* feat: networkInterfaces implementation
* delete unnecessary files
* add benchs & fix code
* add tests
* add missing benchs
* Increased buffer of getCpuInfo to 2048, it should skip few iterations
* remove hardcoded constants
* feat: implement errno constants
* fix getWindowsErrorConstant
* feat: add signal constants
* feat: implement priority constants
* remove duplications
* fix: change value to ?i16
* fix(__defineConstant): make some parameters comptime, change value to ?i32
* fix: add E to ERRNO constants, add SIG to SIG constants
* feat: add dlopen constants
* change functions to private
* feat: add UV_UDP_REUSEADDR
* fix typo
* simplify functions
* rename functions in bindings
* feat: implement loadavg for darwin
* feat: implement system uptime
* feat: implement get free memory for darwin
* fix system memory bindings
* feat: implement network interfaces for darwin
* code cleanup
* feat: support for macos version & release
* some fixes
* MacOS support for CpuInfo
* Fixed minor mistake in getCpuInfo_B
* Delete test.zig
* Update c_cpp_properties.json
* Update tasks.json
* feat: implement scopeid
* feat: implement cidr 🚀
* remove unnecesarry changes
* remove unnecesarry changes
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
* chore: requested changes
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
* fix: import string
* fix: change IPV6 to IPv6
* fix some things
* chore: make requested changes
* revert: launch.json
* fix test
* Fixed few memory leaks
* testing
* again
* added len
* another test
* improved parsing
* added small check
* Bonk
* FINISH 🚀🚀🚀🚀🚀🚀
* Update tasks.json
* NetworkInterface test
* FINISH 🚀🚀🚀
Co-authored-by: Fire-The-Fox <gajdos.jan77@gmail.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
2022-08-25 19:38:28 -07:00 |
|
Jarred Sumner
|
75a76fb836
|
Remove response pool
|
2022-08-22 10:59:49 -07:00 |
|
Jarred Sumner
|
6897372258
|
[misc] Reload internal JS modules in development without compiling
|
2022-08-22 00:04:27 -07:00 |
|
Zilin Zhu
|
3d8bc140aa
|
Add native EventEmitter (#1123)
* Add native EventEmitter
* add listeners, listenerCount and eventNames
* add global functions
* add Object to EventEmitter conversion
* fix upon review
|
2022-08-21 05:34:31 -07:00 |
|
Jarred Sumner
|
ca5b996299
|
Support loading JavaScript files without extensions
|
2022-08-21 00:51:57 -07:00 |
|
Hyro
|
8901d23685
|
fix(ReferenceError): expected type in getCode (#1120)
|
2022-08-20 16:40:28 -07:00 |
|
Jarred Sumner
|
07e1a158e9
|
Add code to ResolveError
|
2022-08-20 04:43:12 -07:00 |
|
Jarred Sumner
|
e3c2a95e5f
|
Faster TextDecoder
|
2022-08-18 19:06:29 -07:00 |
|
Zilin Zhu
|
4fe8b8e5b7
|
Add native process module (#1095)
|
2022-08-17 20:14:31 -07:00 |
|
Jarred Sumner
|
93b663e43d
|
New Zig <> C++ bindings generator. +20% faster HTTP server
|
2022-08-17 07:37:14 -07:00 |
|
Jarred Sumner
|
6a65631cbd
|
[bun:ffi] Improve ptr() performance and implement code generation for DOMJIT
|
2022-08-17 07:36:35 -07:00 |
|
Zilin Zhu
|
afe34df3cc
|
Add synthetic buffer module (#1076)
* Add synthetic buffer module
* rename Buffer.h to BufferModule.h
|
2022-08-14 18:08:25 -07:00 |
|
Jarred Sumner
|
f90c09d715
|
wip SyntheticModule
|
2022-08-13 18:18:05 -07:00 |
|
Zilin Zhu
|
02644ab65a
|
Raise error on unhandled rejected promises (#1010)
* deal with unhandled rejected promise
* use Vector<Strong<JSPromise>> to store rejected promises
|
2022-08-08 10:58:00 -07:00 |
|
Jarred Sumner
|
f524c72095
|
Make errors always print error: unless the name of the error is Error
|
2022-07-24 01:22:33 -07:00 |
|
Alexander Kuznetsov
|
e79ed4f738
|
fix printing message for thrown non-error objects (#764)
* fix printing message for thrown non-error objects
* fine tuning error formatting
* more fine tuning error formatting
|
2022-07-17 13:24:35 -07:00 |
|
evan
|
bf19759188
|
add node:http Server polyfill (#572)
* node:http polyfill
* remove @ts-ignore
* reuse emitter instance
* requested changes
* cleanup
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
|
2022-07-13 07:08:57 -07:00 |
|
Jarred Sumner
|
9bd8e6e604
|
Update javascript.zig
|
2022-07-11 11:06:59 -07:00 |
|
Carter Snook
|
5fc353797f
|
feat(core): implement web interaction APIs (#528)
* feat(core): implement web interaction APIs
* fix(core): adjust web prompt code and add types
|
2022-07-11 08:11:02 -07:00 |
|
Jarred Sumner
|
6190130626
|
[resolver] Stripe file:// from import paths
|
2022-07-11 08:04:55 -07:00 |
|
Jarred Sumner
|
1091ee2318
|
Fix broken build
|
2022-07-11 02:10:23 -07:00 |
|
evan
|
3abfc3566b
|
add depd browser polyfill (#517)
|
2022-07-11 01:53:45 -07:00 |
|
Jarred Sumner
|
18290dee8b
|
[jsc] More careful code in dynamic require
|
2022-07-05 00:55:43 -07:00 |
|
Jarred Sumner
|
cf5939c425
|
[jsc] Make JSC own the memory for source code strings
|
2022-07-04 08:42:29 -07:00 |
|
Jarred Sumner
|
fb48557154
|
Export Bun__readOriginTimer
|
2022-07-04 08:04:54 -07:00 |
|
Jarred Sumner
|
500e5ed949
|
[streams] Rename drain() -> flush()
|
2022-07-02 01:36:04 -07:00 |
|
Jarred Sumner
|
77a0f335cb
|
wip ReadableStream for HTTP(s) Server
|
2022-06-26 06:01:22 -07:00 |
|
Jarred Sumner
|
31cfcf2c9f
|
Better node:url polyfill
|
2022-06-25 04:59:49 -07:00 |
|
Jarred Sumner
|
7bb75f5553
|
Add dynamic require support
|
2022-06-24 06:59:47 -07:00 |
|
Jarred Sumner
|
729d445b68
|
change the directory structure
|
2022-06-22 23:21:48 -07:00 |
|