Commit Graph

4001 Commits

Author SHA1 Message Date
gingerBill
3165b7cf95 Add rand.exp_float64 2022-01-27 16:09:33 +00:00
gingerBill
5eea23cf76 Fix typo 2022-01-27 16:09:05 +00:00
gingerBill
2aa783179e Update doc_format.odin 2022-01-27 16:08:58 +00:00
Jeroen van Rijn
2fcba25e50 Merge pull request #1458 from Kelimion/zlib_fix
Fix DEFLATE stored block handling.
2022-01-27 15:10:33 +01:00
Jeroen van Rijn
28bc274449 Fix DEFLATE stored block handling. 2022-01-27 14:58:45 +01:00
Daniel Gavin
ff5e036773 Trim whitespaces 2022-01-27 14:27:26 +01:00
Daniel Gavin
4dc29d141f Fix core:odin/parser not setting the inline flag correctly. 2022-01-27 14:24:33 +01:00
Daniel Gavin
8ecee32e1c Merge remote-tracking branch 'upstream/master' into parser-fix 2022-01-27 13:58:41 +01:00
gingerBill
16786aac78 Correct int31_max etc 2022-01-27 12:33:34 +00:00
gingerBill
070b450768 Add ODIN_ERROR_POS_STYLE constant and change runtime.print_caller_location based on that constant 2022-01-26 17:34:39 +00:00
gingerBill
fb86c23dbd Keep -vet happy 2022-01-25 16:41:31 +00:00
gingerBill
cb6a4ebf60 Merge branch 'master' of https://github.com/odin-lang/Odin 2022-01-25 16:40:31 +00:00
gingerBill
1bf8328606 Strip unneeded semicolons 2022-01-25 16:40:25 +00:00
Jeroen van Rijn
515fd2a228 bit_array: Fix initial size. 2022-01-25 17:08:32 +01:00
Jeroen van Rijn
65f8722afc zlib: update Huffman builder. 2022-01-25 12:18:10 +01:00
gingerBill
f20105ddfe Update docs for packages fmt and io 2022-01-24 23:07:06 +00:00
Daniel Gavin
6a7d821fcc Merge remote-tracking branch 'upstream/master' into parser-fix 2022-01-24 16:58:39 +01:00
Platin21
1243b1a58c Fixed cyclic imports which where not needed 2022-01-23 23:16:57 +01:00
Platin21
ab3bae5c02 Fixed package name 2022-01-23 23:14:46 +01:00
Platin21
540c5400a0 Adds several system calls and the beginning of odin wrappers for them
This also adds all systemcall numbers from the xnu kernel / and additional helpers for some of the calls to make it easier to call them from odin
2022-01-23 23:13:32 +01:00
gingerBill
d269dbcd40 Add comment for the internals of assert 2022-01-23 22:01:54 +00:00
gingerBill
18e639f59b Add strings.split_lines* procedures 2022-01-23 21:35:03 +00:00
Dale Weiler
a5e1693774 Fix fread definition 2022-01-23 03:12:59 -05:00
Daniel Gavin
01e29bf27e Merge remote-tracking branch 'upstream/master' into parser-fix 2022-01-23 01:38:15 +01:00
gingerBill
77b91352ae Add Odin_OS_Type and Odin_Arch_Type to core:runtime 2022-01-20 19:58:35 +00:00
gingerBill
3d7d347192 Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings 2022-01-20 19:56:05 +00:00
CiD-
e5868e3205 add zeroing regardless of ODIN_OS 2022-01-20 10:17:47 -05:00
gingerBill
cfbc1a447b Correct inverse and inverse_transpose for 2x2 matrices 2022-01-20 13:18:37 +00:00
gingerBill
2b918ada4b Add .Private information to doc-format 2022-01-19 17:15:10 +00:00
gingerBill
b5754b6ed9 Print examples correctly 2022-01-19 16:35:50 +00:00
gingerBill
28a816ef25 Allow for entity grouping in structs and procedure signatures with the Odin doc-format 2022-01-19 14:57:27 +00:00
gingerBill
fb01dfe048 Improve docs_writer.cpp 2022-01-17 22:17:07 +00:00
gingerBill
c85ac955f7 Simplify docs to hide the copyright 2022-01-17 19:00:47 +00:00
gingerBill
cd6898439e Comment out link_section on procedures 2022-01-17 12:17:13 +00:00
Daniel Gavin
96d7c4ffdf Merge remote-tracking branch 'upstream/master' into parser-fix 2022-01-17 13:15:44 +01:00
gingerBill
1d293749c2 Move core:path to core:path/slashpath
This is to reduce the confusion that occurs between that package and the `core:path/filepath` package
2022-01-17 11:38:15 +00:00
Jesse Stiller
d4ea02a877 Extraneous parameters in hlsl/glsl.saturate removed
This is a breaking change to anyone who used glsl/hlsl.saturate functions prior, but the y and z parameters never were used and do not conform to how the saturate function works in HLSL:  https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-saturate

Note however GLSL does not contain a saturate function, but removing it does not accomplish anything good IMO.
2022-01-17 12:19:06 +10:00
Daniel Gavin
d57ec4a11d Fix return stmt when it's one lined(check for close brace). 2022-01-16 13:20:12 +01:00
gingerBill
f0529535e0 ODIN_ENDIAN changed to an enum constant; ODIN_ENUM_STRING is the new string version of the old constant 2022-01-15 17:53:18 +00:00
gingerBill
29ebe0c3c9 Rename architecture 386 to i386 2022-01-15 17:40:00 +00:00
gingerBill
6c48670819 Make ODIN_BUILD_MODE a enum type 2022-01-15 17:34:35 +00:00
CiD-
6cf5371d7d fix push_back and pop_front 2022-01-14 10:17:49 -05:00
gingerBill
e15f714660 Define wasm _start entry point in Odin code 2022-01-13 15:18:47 +00:00
gingerBill
4f77151ebc Merge pull request #1389 from ap29600/slice_scanner
Add slice/scanner proc
2022-01-13 14:10:17 +00:00
gingerBill
a0816bb581 Merge pull request #1424 from jasonKercher/os_linux
os_linux additions + libc to syscalls
2022-01-13 12:06:40 +00:00
gingerBill
b33ca6651e Rename proc_* to entry_* 2022-01-13 12:05:22 +00:00
gingerBill
315a08f33f Add main to proc_unix.odin 2022-01-13 12:04:42 +00:00
gingerBill
c9bc759624 Correct calling convention 2022-01-12 23:04:31 +00:00
gingerBill
80f175cdb0 Add empty main dynamic builds for *nix systems 2022-01-12 20:40:34 +00:00
gingerBill
8f03811842 Fix typo 2022-01-12 20:30:34 +00:00