Jarred Sumner
574ecfb9c4
Update Makefile
2022-08-27 16:57:43 -07:00
Jarred Sumner
466f9a3eb0
Update Makefile
2022-08-27 16:27:28 -07:00
Dylan Conway
4720270763
added shell to STRIP variable definition ( #1156 )
2022-08-27 00:37:48 -07:00
Jarred Sumner
1580b5fb56
Fix debug build cache
2022-08-26 18:27:52 -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
9eaed7cec7
Fix missing prototype property on generated classes
2022-08-18 00:56:36 -07:00
Jarred Sumner
5de8271181
Handle builds with remote inspector disabled
2022-08-18 00:22:24 -07:00
Jarred Sumner
c720bdc324
Move around some things
2022-08-17 19:26:10 -07:00
Jarred Sumner
93b663e43d
New Zig <> C++ bindings generator. +20% faster HTTP server
2022-08-17 07:37:14 -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
0815c83974
Improve event loop reliability on Linux
2022-08-13 06:07:18 -07:00
Jarred Sumner
c9cd8bd13b
Update WebKit
2022-08-12 01:18:31 -07:00
Jarred Sumner
3ca4bab2d5
Faster debug builds
2022-08-10 17:44:18 -07:00
Jarred Sumner
1eddf254e1
Fix linux build?
2022-08-09 18:43:42 -07:00
Jarred Sumner
6c8ba6c5fc
Fix linux build
2022-08-09 15:38:47 -07:00
Jarred Sumner
f4ab46a8bd
Update Makefile
2022-08-09 05:47:46 -07:00
Jarred Sumner
b274d22205
Simplify building the debug tools
2022-08-09 02:33:04 -07:00
Jarred Sumner
159a1e4bf2
Fix clean-bindings script
2022-08-09 02:32:46 -07:00
Jarred Sumner
7e3fe03fb0
[bun init] Add a test
2022-08-04 23:21:41 -07:00
Jarred Sumner
77bab6c782
[misc] Make name more consistent
2022-08-03 20:52:16 -07:00
Zilin Zhu
de848d4e1c
fix(makefile): mkdir DEBUG_OBJ_DIR before compiling bindings ( #975 )
2022-08-03 20:11:09 -07:00
Jarred Sumner
6ef45c9e33
[misc] Make debug builds faster
2022-08-03 18:35:53 -07:00
Zilin Zhu
a8d499208b
Fix Makefile ( #957 )
2022-08-02 16:45:57 -07:00
Kid
52c962cb5b
chore: migrate deprecated @vscode/dev-container-cli ( #912 )
2022-07-31 15:43:15 -07:00
dave caruso
ccc22bb968
fix(makefile): devcontainer install ( #933 )
2022-07-31 01:09:42 -07:00
Jarred Sumner
90727f305e
Downgrade baseline target to westmere
2022-07-28 00:40:07 -07:00
Jarred Sumner
194a5c896e
[misc] Simplify the commands used to build bun
2022-07-27 21:20:09 -07:00
Jarred Sumner
87746d611b
Upgrade WebKit
2022-07-27 17:46:28 -07:00
Jarred Sumner
ba0657410d
Remove bun-types from repo
2022-07-26 22:10:01 -07:00
Jarred Sumner
45249b4a71
WIP fix workflow run
2022-07-25 21:05:47 -07:00
Jarred Sumner
9f45ec1959
WIP fix workflow run
2022-07-25 19:30:57 -07:00
Jarred Sumner
0769f90301
WIP fix workflow run
2022-07-25 18:49:16 -07:00
Jarred Sumner
2501cb0160
WIP fix workflow run
2022-07-25 17:00:01 -07:00
Jarred Sumner
a2ac1d22af
WIP fix workflow run
2022-07-25 16:57:49 -07:00
Jarred Sumner
fcf77792bc
WIP fix workflow run
2022-07-25 16:55:41 -07:00
Jarred Sumner
552e21c6ab
Update Makefile
2022-07-25 16:40:23 -07:00
Pekka Enberg
6df6dac128
Add 'scripts/nproc' helper script ( #623 )
...
* Add 'scripts/nproc' helper script
There's no 'nproc' on macOS by default so add a helper script that uses
sysctl instead. Simplifies build environment setup on macOS.
* Delete nproc
* Update Makefile
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2022-07-25 00:45:57 -07:00
Jarred Sumner
0a113d7f0c
WIP fix workflow run
2022-07-24 23:30:42 -07:00
Jarred Sumner
dd0dafbeec
[docker] Prepare for macOS releases
2022-07-24 22:21:07 -07:00
Jarred Sumner
25de617c92
[docker] WIP
2022-07-24 18:19:32 -07:00
darker
a61b959491
feat: add .PHONY on makefile targets ( #847 )
2022-07-23 12:38:28 -07:00
Michell Brito
75741d7d44
Merge pull request #804 from Sanix-Darker/doc/Makefile
2022-07-22 20:31:58 -04:00
Jarred Sumner
1e9706d76d
[bun wiptest] This test does not seem to run?
2022-07-22 16:17:13 -07:00
Jarred Sumner
8392a86300
[docker] wip
2022-07-22 15:41:08 -07:00
Jarred Sumner
7914adff1e
Fix link command on macOS
2022-07-22 13:34:28 -07:00
Jarred Sumner
0d4b4c4942
Canary builds (Linux) ( #824 )
...
* wip
* WIP:
* WIP
* WIP
* WIP
* WIP
* WIP
* Update WebKit
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Update WebKit
* WIP
* WIP
* WIP
* WIP
* Workaround missing system calls
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Fix baseline detection
* WIP
* strip debug symbol
* Auto-generate canary build
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2022-07-22 00:58:45 -07:00
Jarred SUmner
588669ea6a
Redo the dockerfile
2022-07-21 16:58:07 -07:00
sanix-darker
8d96b184df
doc: added an helper for the huge Makefile
2022-07-20 13:15:28 +02:00
thislooksfun
24a5f9ba29
test(wiptest): add a way to test wiptest ( #699 )
...
This adds a really basic test runner that will execute test files using
`bun wiptest` and compare the output to make sure it's correct. It could
definitely be improved, especially in the speed department, but it's at
least functional now, which is better than we had before!
2022-07-16 20:36:46 -07:00
Jarred Sumner
f7e9b91701
[parser] Fix symbol collision with require
...
Fixes https://github.com/oven-sh/bun/issues/674
Fixes https://github.com/oven-sh/bun/issues/382
2022-07-15 23:08:25 -07:00