Clay Murray
02eab95dd1
Fix check for continuation byte in core/text/text_edit
2023-05-02 14:14:24 -06:00
gingerBill
67a1e6e46a
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-05-02 14:45:12 +01:00
gingerBill
fda1e4409c
When using -debug, default to -o:none unless explicitly specified
2023-05-02 14:44:56 +01:00
Jeroen van Rijn
703c1b0fcf
Merge branch 'master' of github.com:odin-lang/Odin
2023-05-02 14:16:21 +02:00
Jeroen van Rijn
e1654e9dd3
Don't test Botan on MacOS for now
...
Homebrew decided to update the formula for Botan to support version 3.0 of the package only.
Until we update the bindings and the Windows library to match, we can't test on Mac.
2023-05-02 14:16:07 +02:00
gingerBill
f8bdd42027
Revert "Unify foreign import for vendor:sdl2"
...
This reverts commit b2b88f1d99 .
2023-05-02 12:06:41 +01:00
Jon Lipstate
075193af1d
update docs, add unsafe_get/set, add round up to create
2023-04-30 16:56:05 -07:00
Ahsan-Sarbaz
808e7ed4ae
Fixed Bug in DXGI
2023-05-01 00:16:20 +05:00
gingerBill
f0ba5d3821
Merge pull request #2490 from eltociear/patch-1
...
Fix typo in marshal.odin
2023-04-28 12:17:35 +01:00
gingerBill
88f6b5f16b
Merge pull request #2492 from GiveMeFox/patch-1
...
Update README.md
2023-04-27 14:33:26 +01:00
gingerBill
68e6e1b779
Merge pull request #2496 from AquaGeneral/master
...
linalg/extended radians and degrees fixed
2023-04-27 14:33:00 +01:00
Jesse Stiller
9528325777
linalg/extended radians and degrees fixed
...
Renamed them to `to_degrees` and `to_radians` to match the same scalar functions in math--plus it helps clarify exactly what they do. And fixed a bug where the array overloads weren't being indexed.
2023-04-27 20:49:59 +10:00
gingerBill
b3aa6afba9
Fix #2481
2023-04-27 11:35:14 +01:00
gingerBill
716fe2f427
Fix typo #2485
2023-04-27 11:32:19 +01:00
gingerBill
7df1cc075c
Fix #2487
2023-04-27 11:31:05 +01:00
gingerBill
b0f0a02d3c
Make !x be an untyped boolean
2023-04-27 11:26:15 +01:00
gingerBill
7cda64e52d
Add parentheses around or_return uses in an unary expression
2023-04-27 11:17:23 +01:00
gingerBill
d6d34bd62f
Add extra nullptr check
2023-04-27 11:16:02 +01:00
gingerBill
68dde07d5d
Require parentheses around certain uses of or_return expressions
2023-04-27 11:13:05 +01:00
gingerBill
fad4ae8eb2
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-04-27 10:58:22 +01:00
gingerBill
acd8a4bc95
Unify check_constant_parameter_value logic
2023-04-27 10:58:17 +01:00
Jeroen van Rijn
6714e05183
Merge pull request #2494 from jon-lipstate/strings_docfix
...
Strings docfix
2023-04-27 10:01:01 +02:00
Jon Lipstate
f9b5f2b7b1
update builder sample
2023-04-26 18:04:24 -07:00
Jon Lipstate
67fa5df89c
fix typo, add builder sample
2023-04-26 18:00:14 -07:00
gingerBill
023cc9ca54
Partially buffer fmt.fprint* related calls using a bufio.Writer
2023-04-27 00:24:00 +01:00
GiveMeFox
b7924de5c6
Update README.md
...
updated the discord link
2023-04-26 22:49:31 +02:00
Mark Naughton
4b4481ea27
Simplify extension addition logic
2023-04-26 16:39:47 +01:00
Ikko Eltociear Ashimine
47be46ae60
Fix typo in marshal.odin
...
seperation -> separation
2023-04-27 00:03:36 +09:00
Mark Naughton
e84802468b
Use buildpath instead of init_filename
2023-04-26 15:48:59 +01:00
gingerBill
623d789529
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-04-26 15:28:37 +01:00
gingerBill
827f36e2c0
Update to Metal 3
2023-04-26 15:28:30 +01:00
Mark Naughton
1a5ed4eb7f
Fix .bin not being applied for relative directory
2023-04-26 14:10:22 +01:00
Mark Naughton
5151403aaa
Fix Windows version of get_current_directory
2023-04-25 12:08:15 +01:00
Jeroen van Rijn
d5772c939a
Merge pull request #2483 from jprukner/fix-alias-which-check
...
Fix which command check
2023-04-25 08:32:45 +02:00
Jan Prukner
19097bc5bc
add redirect to /dev/null
2023-04-25 07:06:36 +02:00
Jan Prukner
dbebe9e92c
Fix which command check
...
The function have_witch failed because which is an alias in my environment.
This change makes the function work even if which command is an alias.
2023-04-24 21:47:27 +02:00
gingerBill
be0a543077
Merge pull request #2480 from jakubtomsu/soa-ptr-formatting-fix
...
Fix panic during fixed-size #soa array pointer formatting in `core:fmt`
2023-04-24 16:43:41 +01:00
Mark Naughton
67b6a8ee89
Add Windows equivalent of get_current_directory
2023-04-24 14:26:53 +01:00
Mark Naughton
780375d865
Add .bin extension in extra case
2023-04-24 12:57:59 +01:00
Mark Naughton
cbcf94669e
Add get_current_directory()
2023-04-24 12:57:34 +01:00
Matias Fernandez
46da53ba15
Add the waits that support I/O completion routines in kernel32.odin
2023-04-23 22:08:12 -04:00
Mark Naughton
06e8d03fba
Use last element for directory collision check
2023-04-23 21:15:08 +01:00
jakubtomsu
65bf7f6653
Remove typo
2023-04-23 20:00:25 +02:00
Mark Naughton
a6b9341593
Add .bin extension the case of a collision
...
The directory name is used to determine the executable name. In the case
that the directory and output executable are in conflict, a .bin
extension is added.
2023-04-23 18:53:00 +01:00
Mark Naughton
47610725ea
Change default executable extension
...
Putting a program into your path on a UNIX system with a
file extension means that you have to type the extension out for every
invocation of the program. A better default is to have no extension at
all since most people will end up removing it anyway.
This change does not affect Windows since the .exe extension is set
after the default extension if compiling on Windows.
2023-04-23 17:02:56 +01:00
Jeroen van Rijn
341ba34773
Merge pull request #2478 from matias-eduardo/master
...
Add IsWindow to user32.odin
2023-04-23 09:59:36 +02:00
Matias Fernandez
3b2864d8a6
Add IsWindow to user32.odin
...
This is useful for checking if window has been closed without going through the WindowProc.
2023-04-22 17:49:16 -04:00
Charlie Shenton
c7d4af5c79
Add Dynamic Resource Root Signature flags
...
Add flag values associated with dynamics resources (ResourceDescriptorHeap and SamplerDescriptorHeap) see https://microsoft.github.io/DirectX-Specs/d3d/HLSL_SM_6_6_DynamicResources.html for details
2023-04-22 16:39:01 +10:00
gingerBill
f2ec438166
Add ifdef block
2023-04-21 12:50:36 +01:00
gingerBill
a95b064d6d
Fix memory leak caused by awful realloc usage on Linux
2023-04-21 13:29:38 +01:00