Jarred SUmner
0815c83974
Improve event loop reliability on Linux
2022-08-13 06:07:18 -07:00
Jarred Sumner
780b919e26
delete this
2022-07-05 13:03:02 -07:00
Jarred Sumner
74f4c8bcab
query_string_map -> url
2022-03-17 01:27:35 -07:00
Jarred Sumner
701d6ec45d
rename _global -> bun
2022-03-08 18:54:54 -08:00
Jarred Sumner
427c39b858
Update analytics_thread.zig
2022-03-04 00:20:59 -08:00
Jarred Sumner
946404a365
[bun dev] Implement open in editor for transpiled files
2022-02-20 16:21:45 -08:00
Jarred Sumner
32733210dc
[bunfig] Implement config file format
2022-01-27 01:25:09 -08:00
Jarred SUmner
ecea12d206
No io_uring for Ubuntu 20.04
2022-01-24 19:12:58 -08:00
Jarred Sumner
28f77b9823
Update analytics_thread.zig
2022-01-23 21:14:38 -08:00
Jarred Sumner
4b717fe554
Fix crash that sometimes happens after 30 seconds
2022-01-05 16:41:58 -08:00
Jarred Sumner
0edf6fd1e4
Improve error handling when out of file handles
2022-01-04 18:29:21 -08:00
Jarred Sumner
0960f3d6d1
Implement a crash reporter and improve some error handling in bun install
2022-01-03 22:17:34 -08:00
luke miles
7f33846005
copy: replace Bun with bun ( #99 )
...
Most CLI tools have the style convention of referring to themselves in
lowercase. It is, after all, the name that users type in when using
the tool. This PR maintains that convention in bun.
"Drop the uppercase B, it's cleaner"
2022-01-02 03:09:51 -08:00
Jarred Sumner
7f1b5c09de
💅
2022-01-01 19:35:05 -08:00
Jarred SUmner
a17088363f
[bun dev] Improve filesystem watcher & HMR reliability (Linux + a little macOS)
...
Text editors like Replit save through atomic file updates. In an inotify filesystem watcher (Linux), that appears to be a delete followed by moving the file to the directory. Now when known files are moved into a directory, the watcher sends the file change notification to the browser(s). From there, the browser looks at it's files to determine whether or not
Additionally, if an existing HMR connection does not know about a file ID passed to it, it asks the browser to reply with the file path and then starts watching that file. This improves HMR reliabiality if Bun had been restarted but the page hadn't been restarted.
2022-01-01 01:53:50 -08:00
Jarred Sumner
b1c3fce49b
[internal] Move network_thread into http package
2021-12-30 21:27:27 -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
143973e031
Fix rare crash when new thread is created, possibly only on musl
2021-12-24 20:44:25 -08:00
Jarred Sumner
39d8b0c8c1
cleanup
2021-12-18 21:03:26 -08:00
Jarred Sumner
430fe09d6d
Delete synchronous HTTP client!
2021-12-18 20:23:10 -08:00
Jarred Sumner
b126392a8e
Fix missing symbol error for pre-macOS 11
2021-11-09 14:13:58 -08:00
Jarred Sumner
4ee2fdf1c6
uname
2021-10-06 19:32:32 -07:00
Jarred Sumner
cd273daa1b
Missing @TypeOf
2021-10-06 19:31:19 -07:00
Jarred Sumner
3b10cfae80
analytics is good enough for now
2021-10-05 23:08:06 -07:00
Jarred Sumner
bd14ad9e6e
Async analytics works now
...
Requests are ~60 bytes and the thread mostly sleeps, so it should be pretty low overhead overall.
2021-10-05 17:50:05 -07:00
Jarred Sumner
dfe74cb5c4
Add BUN_DISABLE_ANALYTICS flag to disable analytics and automatically disable analytics when running inside hyperfine
2021-10-05 03:11:35 -07:00
Jarred Sumner
00e7b7c3d5
Simple analytics
2021-10-05 02:27:49 -07:00