Sébastien Marie
ae5cb09041
internal_odin_root_dir: readlink could fail
2022-02-25 17:59:57 +00:00
Sébastien Marie
83523badb7
pass -ldl only on Darwin and Linux
2022-02-25 13:02:12 +00:00
Sébastien Marie
0a90994403
provide a simple gb_file_copy() implementation
...
permit to not require sendfile(2) syscall for gb_file_copy()
2022-02-25 12:32:34 +00:00
Sébastien Marie
00c138ce9f
add RAM information inside report
2022-02-25 09:28:04 +00:00
Sébastien Marie
5676c9e7eb
initial OpenBSD support
2022-02-25 08:49:25 +00:00
Jeroen van Rijn
3a469dc13e
Merge pull request #1549 from semarie/clone_to_cstring-leak
...
delete allocated memory with clone_to_cstring
2022-02-24 12:42:15 +01:00
Sébastien Marie
d3c70f2206
remove the optional ; in os_freebsd.odin
2022-02-24 11:30:33 +00:00
Sébastien Marie
14f1793b3e
use context.temp_allocator instead of general allocation + delete()
...
where clone_to_cstring is used with foreign code, it is prefered to use `context.temp_allocator` instead of using the general allocator and manually delete the memory after use.
2022-02-24 11:28:42 +00:00
Jeroen van Rijn
8cecb6b9f5
Merge pull request #1548 from colrdavidson/darwin_docs
...
Add make_directory so darwin can build html docs
2022-02-24 11:51:20 +01:00
Jeroen van Rijn
4a66c3c420
Merge pull request #1546 from zacharycarter/patch-2
...
adding `is_16_bit_from_memory` to stbi
2022-02-24 11:49:08 +01:00
gingerBill
c3c88633a5
Merge pull request #1545 from AquaGeneral/master
...
Added options to help, and improved wording
2022-02-24 10:15:13 +00:00
Colin Davidson
aeaf1199ec
Add make_directory so darwin can build html docs
2022-02-24 01:13:51 -08:00
Tail Wag Games
d4f62f52db
adding is_16_bit_from_memory to stbi
2022-02-24 00:20:15 -06:00
Jesse Stiller
384fb76a1b
Added options to help, and improved wording
2022-02-24 12:59:06 +10:00
Jeroen van Rijn
dd0d61e97c
Merge pull request #1528 from Tetralux/split-docs
...
Add doc comments to strings.split() and strings.split_n()
2022-02-23 12:13:29 +01:00
gingerBill
e81ed9a960
Add "Did you mean" to Objective-C fields
2022-02-22 23:19:49 +00:00
gingerBill
83f7a887b7
Move comment
2022-02-22 23:03:04 +00:00
gingerBill
ad2f1ac24e
Improve union_tag_size
2022-02-22 23:01:28 +00:00
gingerBill
62d232d798
Correct ExactValue_Pointer
2022-02-22 22:59:00 +00:00
gingerBill
8906a0120c
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-02-22 22:53:19 +00:00
gingerBill
cad753e398
Simplify parse_binary_expr
2022-02-22 22:53:13 +00:00
Jeroen van Rijn
fd627dc13b
Merge pull request #1535 from zhibog/add-siphash
...
Added SipHash + tests and fixed remaining semicolons in vendor/botan
2022-02-22 20:34:50 +01:00
zhibog
70e8d97ee1
Fix procedure
2022-02-22 20:13:49 +01:00
zhibog
cdecb0ccc3
Fix Odin_OS_Type
2022-02-22 20:10:35 +01:00
zhibog
460b5149af
Added missing constants
2022-02-22 20:06:52 +01:00
zhibog
b6dc253d8b
Add generic procedure for default SipHash 2-4
2022-02-22 20:02:34 +01:00
zhibog
e7be9493ba
Added SipHash + tests and fixed remaining semicolons in vendor/botan
2022-02-22 19:56:07 +01:00
Jeroen van Rijn
ea34f321ed
Merge pull request #1533 from odin-lang/bug_report
...
[report] Fix `odin report` crash if `/usr/lib/os-release` doesn't exist.
2022-02-22 17:14:24 +01:00
Jeroen van Rijn
2b5bc1d558
[report] Fix odin report crash if /usr/lib/os-release doesn't exist.
2022-02-22 17:08:57 +01:00
gingerBill
e6a7b85da4
Correct types
2022-02-21 20:49:59 +00:00
gingerBill
6145185478
Add missing return types
2022-02-21 16:04:56 +00:00
Tetralux
2abba6e057
Don't use leading asterisks
2022-02-21 09:51:03 +00:00
Tetralux
db5a1b0c78
Add doc comments to strings.split() and strings.split_n()
2022-02-21 09:23:45 +00:00
gingerBill
14cb19c2df
Update fmt to record the bytes written in the fmt.Info
2022-02-20 22:31:13 +00:00
gingerBill
46bcd18946
Merge pull request #1519 from colrdavidson/hyperspeed_file_size
...
Maintain a running count printed, so fprintf returns correct sizes for non-files
2022-02-20 22:16:27 +00:00
gingerBill
ba61d911da
Remove dead code
2022-02-20 13:26:27 +00:00
Jeroen van Rijn
3b69c6b204
Merge pull request #1521 from SrMordred/patch-3
...
Memory Leak
2022-02-20 11:54:31 +01:00
Patric Dexheimer
d7eabf571c
Memory Leak
...
`dir` will leak memory if u use it with allocators that don´t care in freeing the memory at the end ( like arenas or the temp_allocator ) , because `strings.clone` and `strings.concatenate` are not using the passed allocator.
2022-02-20 02:10:34 -03:00
Colin Davidson
ddf9c4a65b
switch to passing total_size to the io.writers
2022-02-19 16:38:33 -08:00
Colin Davidson
b3d797598e
fprintf tweaked to avoid calling file_size
2022-02-19 15:51:11 -08:00
gingerBill
31c7945444
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-02-19 15:45:08 +00:00
gingerBill
276e014d18
Update comment in demo.odin
2022-02-19 15:45:01 +00:00
Jeroen van Rijn
27f206784c
Merge pull request #1514 from colrdavidson/fast_file_size
...
Use the _unix_fstat pointer to avoid 144B copies on fileIO
2022-02-19 12:17:03 +01:00
Colin Davidson
54a6637d38
Use the _unix_fstat pointer to avoid 144B copies on fileIO
2022-02-18 20:50:49 -08:00
gingerBill
23be56af59
Remove prefixes from D3D12 constants
2022-02-18 21:45:20 +00:00
gingerBill
71df46456a
Minimize memory usage by having an arena per thread rather than an arena per file
2022-02-18 21:30:25 +00:00
gingerBill
cd89d8a3c4
Add better error message for compiler when OOM happens
2022-02-18 16:24:08 +00:00
gingerBill
4c62a32b04
Keep -vet happy
2022-02-18 16:13:52 +00:00
gingerBill
5f8137025d
Use try_to_add_package_dependency
2022-02-18 16:12:21 +00:00
gingerBill
1843d52217
Fix typo
2022-02-18 16:07:06 +00:00