gingerBill
45124e4d5c
Merge branch 'master' into freestanding_amd64
2022-02-28 12:32:51 +00:00
gingerBill
e9f901b82d
Keep -vet happy
2022-02-25 15:30:24 +00:00
gingerBill
ed3004f8a0
Correct read_console reading
2022-02-25 15:30:05 +00:00
gingerBill
d97df080f9
Revert change
2022-02-25 15:08:02 +00:00
gingerBill
0e5c7e08fc
Change < to <=
2022-02-25 14:54:35 +00:00
gingerBill
376906e0ae
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-02-25 12:02:49 +00:00
gingerBill
47c79a2f25
Correct os.read on windows for os.stdin
2022-02-25 12:02:41 +00:00
gingerBill
32988b0363
Correct internals for os.read on windows (read_console) for os.stdin ( Fix #1556 )
2022-02-25 12:01:53 +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
Colin Davidson
aeaf1199ec
Add make_directory so darwin can build html docs
2022-02-24 01:13:51 -08: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
4b9324ff76
Merge branch 'master' into freestanding_amd64
2022-02-23 11:03:48 +00: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
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
0fa487f468
Add -foreign-error-procedures
2022-02-20 14:27:44 +00: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
Colin Davidson
54a6637d38
Use the _unix_fstat pointer to avoid 144B copies on fileIO
2022-02-18 20:50:49 -08:00
gingerBill
8f13724a4b
Merge pull request #1504 from odin-lang/directx-packages
...
DirectX Package Support
2022-02-17 23:15:38 +00:00
Tail Wag Games
78eb388110
Adding capture procedures to user32
...
Adding `GetCapture`, `SetCapture` and `ReleaseCapture` functions - https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setcapture
2022-02-17 00:58:38 -06:00
gingerBill
002ac6a1b7
Add vendor:directx packages: dxgi, d3d11, and d3d12
...
TODO: enums marked with `bit_set` may need conversions
2022-02-16 21:26:34 +00:00
Jeroen van Rijn
40e4536887
Merge pull request #1502 from colrdavidson/mainline-fast
...
avoid memset on stats
2022-02-16 17:24:29 +01:00
Colin Davidson
536bf61323
avoid memset on stats
2022-02-16 08:14:11 -08:00
gingerBill
db6bd9b358
Allow sysv and win64 calling conventions to be used on any platform on amd64
2022-02-16 16:03:49 +00:00
gingerBill
1857bc7b02
Improve slice bounds checking runtime error messages
2022-02-16 14:51:54 +00:00
gingerBill
a3bcacee27
Move Objective-C libraries located in core:sys/darwin/* to vendor:darwin/*
2022-02-16 00:06:25 +00:00
Jeroen van Rijn
855e7beab1
Merge pull request #1488 from colrdavidson/master
...
Add fork and personality
2022-02-15 21:04:09 +01:00
gingerBill
edc13c29df
Merge pull request #1331 from DanielGavin/parser-fault-recovery
...
Recover from closing brace not found in field list
2022-02-15 16:26:16 +00:00
gingerBill
21864d8d51
Improve BAD ENUM VALUE message in fmt #1496
2022-02-15 16:25:28 +00:00
gingerBill
d45ff0694d
Merge pull request #1438 from odin-lang/odin-global-constants-as-enums
...
Odin global constants as enums
2022-02-15 16:18:07 +00:00
gingerBill
d695a8a526
Update os_darwin.odin
2022-02-15 16:02:14 +00:00
gingerBill
1d4d0a3e1a
Strip unneeded semicolons
2022-02-15 15:56:11 +00:00
gingerBill
9e98494fff
Merge pull request #1482 from odin-lang/objc-intrinsics
...
Improve support Objective-C code through intrinsics and Metal API
2022-02-15 15:48:56 +00:00
gingerBill
86d334282c
Merge pull request #1445 from Platin21/feature/darwin_systemcalls
...
Feature/darwin svc/syscall wrappers+id's
2022-02-15 15:48:20 +00:00
gingerBill
9cf937fef0
Merge pull request #1430 from DanielGavin/parser-fix
...
Fix return stmt when it's one lined(check for close brace).
2022-02-15 15:47:40 +00:00
gingerBill
f5697dd7f2
Merge branch 'master' into odin-global-constants-as-enums
2022-02-15 15:47:24 +00:00
gingerBill
9dcb5c075a
Merge pull request #1474 from Kelimion/tracking-example
...
mem: Add `doc.odin` with `Tracking_Allocator` example.
2022-02-15 15:46:19 +00:00
gingerBill
803648be89
Minor aesthetic clean ups of Foundation
2022-02-15 15:34:07 +00:00
gingerBill
3ab5db8297
Add README.md
2022-02-15 15:17:21 +00:00
gingerBill
3380ece4a1
Add utility calls for creating buffers from slices
2022-02-15 15:16:48 +00:00
gingerBill
753cceea82
Minor changes to method names on NS.String
2022-02-14 18:34:55 +00:00
gingerBill
32c7e81745
Use objc_allocateClassPair for intrinsics.objc_register_class
2022-02-14 18:32:10 +00:00
gingerBill
03aec70287
Change objc_class_name to objc_name with objc_is_class_method
2022-02-14 17:31:55 +00:00