Jarred SUmner
168bb1427f
move more things
2023-01-13 11:38:16 -08:00
Jarred SUmner
996ef44c02
Split some things into more files and use bun namespace instead of import more
2023-01-13 11:27:16 -08:00
Jarred Sumner
c0dd284136
Upgrade to latest Zig ( #1610 )
...
* @min and @max
* builtins and some trivial ones
* Most of them
* more
* more!
* More Progress
* wip
* Update tagged_pointer.zig
* Update http_client_async.zig
* Most of the iterable dir changes
* alright
* Remove usages of deprecated formatters
* 📷
* fmt
* Update shimmer.zig
* wip
* wip
* wip
* progress
* more
* Latest
* stuck on error
* latest
* workaround stage2
* wip
* Update string_immutable.zig
* wip
* Migrate `Dirent` and `require("fs')` to use JSC<>Zig bindings
* Fix build errors
* Fixup most of the test failures
* Fix `make headers`
* Fix "outside package path" error
* Fixup aligned alloc
* Add missing file
* linux
* More linux fixes
* use latest peechy
* Fix transpiler test failure
* Forgot about these
* Fixup test failure
* Update node-timers.test.ts
* [node:htt] Fix `undefined is not an object` error
Fixes https://github.com/oven-sh/bun/issues/1618
* Update http.exports.js
* Make this test less flaky
* fix hashes
* Fix hex formatting and zls issues
* Download zig version
* Update Dockerfile
* Update Dockerfile
* Update uws
* Update Dockerfile
* Set llvm version
* Update README.md
* Update uws
* Update Dockerfile
* Update io_linux.zig
* Update bun.zig
* Log output
* workaround strange @cInclude error
* Make ffi tests better
* Don't use cImport
* Update c.zig
* Update c-bindings.cpp
* call setOutputDir
* Update Dockerfile
* Use a longer name
* latest
* Update serve.test.ts
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Veikka Tuominen <git@vexu.eu >
2022-12-28 00:51:22 -08:00
Jarred Sumner
b631ea7d72
import everything from "bun" where possible
2022-11-29 02:42:56 -08:00
Jarred Sumner
729d445b68
change the directory structure
2022-06-22 23:21:48 -07:00
Jarred Sumner
8d28e72e8a
Move some code around + delete dead code
2022-04-16 17:33:16 -07:00
Jarred Sumner
701d6ec45d
rename _global -> bun
2022-03-08 18:54:54 -08:00
Jarred Sumner
3d057950b9
std.os.exit -> Global.exit so stderr is always flushed
2022-02-11 14:56:28 -08:00
Jarred Sumner
14301284af
cleanup
2022-01-29 23:50:38 -08:00
Jarred Sumner
32733210dc
[bunfig] Implement config file format
2022-01-27 01:25:09 -08:00
Jarred Sumner
0d0dd65a6a
[bun bun] Fix error when regenerating node_modules.bun after moving it
...
I think @alii reported this awhile ago
2022-01-04 20:15:05 -08:00
Jarred Sumner
5311219de7
dead code
2022-01-03 22:26:24 -08:00
Jarred Sumner
e75c711c68
Upgrade to latest Zig, remove dependency on patched version of Zig ( #96 )
...
* Prepare to upgrade zig
* zig fmt
* AllocGate
* Update data_url.zig
* wip
* few files
* just headers now?
* I think everything works?
* Update mimalloc
* Update hash_map.zig
* Perf improvements to compensate for Allocgate
* Bump
* 📷
* Update bun.lockb
* Less branching
* [js parser] Slightly reduce memory usage
* Update js_parser.zig
* WIP remove unused
* [JS parser] WIP support for `with` keyword
* Remove more dead code
* Fix all the build errors!
* cleanup
* Move `network_thread` up
* Bump peechy
* Update README.md
2021-12-30 21:12:32 -08:00
Jarred Sumner
336a4b6ac2
Prepare to run unit tests & remove some dead code ( #92 )
...
* Remove some dead code
* 💀 code
* Fix the zig tests
* [JS Printer] Print integers faster & less scientific notation on decimals
* 💀 dead code
* skip
* Run all the unit tests
2021-12-27 18:06:31 -08:00
Jarred Sumner
ff99155f7d
--dump-limits flag to inspect what the max file descriptor & stack size is
2021-12-21 18:48:52 -08:00
Jarred Sumner
204d468ad2
[internal] Global.configureAllocator()
2021-11-02 18:07:11 -07:00
Jarred Sumner
ecb069ac85
[internal] Normalize import filepaths
2021-10-29 23:36:00 -07:00
Jarred Sumner
5691bf385b
[.env loader] Add CLI flag to dump loaded environment variables as JSON
2021-10-25 17:04:32 -07:00
Jarred Sumner
09b7f4c95d
Remove unused feature flag parallel_bun
2021-10-23 22:56:20 -07:00
Jarred Sumner
5370ea71c0
Add support for reading JSX config from tsconfig.json
2021-10-06 16:49:26 -07:00
Jarred Sumner
22837d69b7
Remove cache_files since it's not used and causes slower Bun compilation times
2021-09-24 15:23:55 -07:00
Jarred Sumner
9f7d05bab4
Print how many lines of code was parsed in bun bun
2021-09-22 04:08:40 -07:00
Jarred Sumner
9752ee8819
Always log errors when generating node_modules.server.bun
2021-09-20 17:40:09 -07:00
Jarred Sumner
9511bf94d5
Colorize build/resolve errors and add a ^
2021-09-16 17:37:22 -07:00
Jarred Sumner
125d88bd65
bun:error.js into separate module, ensure we don't include fast refresh in Bun.js, log build errors to browser console, don't warn for node_modules,
2021-09-11 01:48:23 -07:00
Jarred Sumner
6a5f34a6bc
Fallback, fragments, printer compat, better errors
...
Former-commit-id: 486e8c9d460eeebea024e96dbabcb7f2bfaffafb
2021-08-31 15:03:40 -07:00
Jarred Sumner
afb6684782
Fix resolve bug with mixed-case node_modules
...
Former-commit-id: 5bdae0ee491e28b49ceed6136f04e0c1feddc808
2021-08-23 02:30:30 -07:00
Jarred Sumner
8c67007926
Use mimalloc for a 10% boost
...
Former-commit-id: 044e11d720bc6742dc53b30b4e88e8be7e76c419
2021-08-23 02:29:07 -07:00
Jarred Sumner
574be79253
alright thats the rename
...
Former-commit-id: 0faf61249e76382dfb1aa8721249474eae920753
2021-08-17 01:44:30 -07:00