Commit Graph

2465 Commits

Author SHA1 Message Date
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
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
gingerBill
e69738c079 Minor style change 2022-02-14 17:23:14 +00:00
gingerBill
1afa7967f2 Fix method names 2022-02-14 17:09:30 +00:00
gingerBill
643e36b87b Improve Texture method names 2022-02-14 17:07:18 +00:00
gingerBill
3d2405ac2c Correct more method types 2022-02-14 17:02:05 +00:00
gingerBill
7392a3047a Add RenderPipeline missing types and methods 2022-02-14 16:58:56 +00:00
gingerBill
60f4d8f1ec Correct Render Pass types 2022-02-14 16:46:27 +00:00
gingerBill
7b42cbea20 Improve draw method names on RenderCommandEncoder 2022-02-14 16:42:53 +00:00
gingerBill
4cc597f4df RasterizationRate improvements 2022-02-14 16:32:54 +00:00
gingerBill
934e66ab3b More improvements 2022-02-14 16:26:42 +00:00
gingerBill
b755609438 Improve Library related stuff 2022-02-14 16:25:20 +00:00
gingerBill
83d63e572a Improve indirect stuff 2022-02-14 16:21:00 +00:00
gingerBill
5212f62f54 Improve many methods with WithDescriptor suffixes 2022-02-14 16:18:23 +00:00
gingerBill
4d0fd4cf19 Correct device() usage 2022-02-14 15:56:32 +00:00
gingerBill
e47953f7ca Improve procedure signature and names 2022-02-14 15:45:02 +00:00
gingerBill
47f3773146 Correct Depth classes 2022-02-14 15:18:38 +00:00
gingerBill
31c6ecad34 Correct Counter classes 2022-02-14 15:15:32 +00:00
gingerBill
af6e53c05c Improve Compute classes 2022-02-14 15:14:41 +00:00
gingerBill
153140eb8f Improve ComputeCommandEncoder 2022-02-14 14:43:50 +00:00
gingerBill
6fef44c041 Improve CommandEncoder 2022-02-14 14:33:50 +00:00