Jeroen van Rijn
968a07ed7a
Merge pull request #2531 from jasonKercher/fix2530
...
add nil check to heap_alloc calls (issue 2530)
2023-05-11 20:20:03 +02:00
jason
f9c600a760
add nil check to heap_alloc calls (issue 2530)
2023-05-11 14:04:09 -04:00
Jeroen van Rijn
82561cfbac
Merge pull request #2528 from matias-eduardo/patch-1
...
Patch "no_copy" typo in parser.cpp
2023-05-10 09:11:46 +02:00
matias
277ae4e2b0
Patch "no_copy" typo in parser.cpp
2023-05-10 02:58:17 -04:00
Jeroen van Rijn
0f9e747583
Merge pull request #2520 from matias-eduardo/master
...
Allow for custom sleep duration in tsc frequency fallback
2023-05-09 23:03:47 +02:00
Matias Fernandez
4e146a75b6
Allow user to pass in scale directly in spall.context_create
2023-05-09 16:43:26 -04:00
Jeroen van Rijn
33d0e2037b
Merge pull request #2524 from laytan/fix-url-parse-leak
...
fix leak in url_parse
2023-05-09 21:46:51 +02:00
Laytan Laats
f2d5e4b995
fix leak in url_parse
2023-05-09 21:05:16 +02:00
Jeroen van Rijn
29e4762011
Merge pull request #2519 from colrdavidson/revert-2462-master
...
Revert "Fix: header directories in Unix build script"
2023-05-09 08:27:47 +02:00
Matias Fernandez
9867037aa2
Revert "Add the waits that support I/O completion routines in kernel32.odin"
...
This reverts commit 46da53ba15 .
2023-05-09 00:16:17 -04:00
Matias Fernandez
57c14f6a9b
Allow custom sleep on tsc fallback.
...
This gives the user more control over the spectrum of precision vs. load time on Windows. Spall's output with much lower sleep times is still useful in my experience.
NOTE: A better API might be to allow the user to pass the freq as a param to "create_context" in case they already paid for it beforehand, but this seems fine for now.
2023-05-09 00:03:58 -04:00
Matias Fernandez
1ed105205c
Merge branch 'master' of https://github.com/matias-eduardo/Odin
2023-05-08 23:52:21 -04:00
Colin Davidson
8233f49beb
Revert "Fix: header directories in Unix build script"
2023-05-08 20:13:33 -07:00
Jeroen van Rijn
2c01a4613c
Merge pull request #2516 from colrdavidson/read_at_fix
...
Make read_at and write_at more consistent between platforms
2023-05-07 08:52:37 +02:00
Colin Davidson
b0eda47b26
prevent infinite-loop on EOF
2023-05-06 17:52:08 -07:00
Colin Davidson
291111e626
oops. define e
2023-05-06 17:23:44 -07:00
Colin Davidson
47693da4aa
Make read_at and write_at more consistent between platforms
2023-05-06 17:14:11 -07:00
Jeroen van Rijn
9f39209712
Merge pull request #2513 from laytan/add-time-weekday
...
add time.weekday proc
2023-05-06 20:20:13 +02:00
Laytan Laats
c47dcbbe2f
fix spacing
2023-05-06 19:39:39 +02:00
Laytan Laats
956ffdf654
add time.weekday proc
2023-05-05 20:55:59 +02:00
gingerBill
182b269e46
Merge pull request #2511 from zhibog/botan3
...
Add Botan3 libraries and use VS 2022 for Windows builds
2023-05-03 22:14:17 +01:00
zhibog
05856ac93e
Change nightly to VS 2022 too
2023-05-03 21:51:40 +02:00
zhibog
60c29e195a
Windows requires the botan-3 naming due to the new release
2023-05-03 21:35:06 +02:00
zhibog
6b23662ce6
Fix typo
2023-05-03 21:15:50 +02:00
zhibog
77d6364405
Try Windows 2022, since the windows tests failed. Likely because I compiled them on a newer version of VS. Also added another when statement to make sure Linux still uses botan-2, because they haven't updated
2023-05-03 21:12:27 +02:00
zhibog
077a611a5e
Add Botan 3.0, comment some tests, due to removed algorithms
2023-05-03 20:55:11 +02:00
gingerBill
0c3522133d
Fix indentation
dev-2023-05
2023-05-03 14:22:38 +01:00
Jeroen van Rijn
1223e8cf7f
Merge pull request #2502 from jon-lipstate/ba-cleanup
...
Bit_Array: Update docs, add unsafe_get/set, round up on Create
2023-05-03 08:52:22 +02:00
Jon Lipstate
bcb01bdc52
added set overload, made make explicit
2023-05-02 18:21:52 -07:00
gingerBill
dfb5f8ea2c
Merge pull request #2507 from powerc9000/patch-5
...
Fix check for continuation byte in core/text/text_edit
2023-05-02 22:04:44 +01:00
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
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