Commit Graph

8222 Commits

Author SHA1 Message Date
Jeroen van Rijn
fa42a788c8 Preserve port when calling net.resolve with hostname:port. 2023-04-18 18:24:27 +02:00
gingerBill
843eaf8893 Fix race condition with -use-separate-modules due to type determination 2023-04-18 17:20:50 +01:00
gingerBill
30fa8f8ac2 Add missing enum 2023-04-18 16:08:54 +01:00
gingerBill
0ec4e8d5d4 Inline static map calls for map get, and improve readability of the LLVM IR 2023-04-18 15:17:16 +01:00
Jeroen van Rijn
b5d2dd617d Merge pull request #2462 from lefp/master
Fix: header directories in Unix build script
2023-04-16 10:45:04 +02:00
Peter Lef
8d951ab7f1 Fix: header directories in Unix build script 2023-04-16 04:16:31 -04:00
gingerBill
e24315eed8 Improve grammar 2023-04-15 16:16:16 +01:00
gingerBill
dc55e88588 Add @(deferred_*_by_ptr=<proc>) 2023-04-15 16:04:04 +01:00
gingerBill
7abaf77292 Add struct #no_copy 2023-04-15 15:47:18 +01:00
gingerBill
e79883e4fd Add #no_copy to sync primitives 2023-04-15 15:41:30 +01:00
gingerBill
5da76ae34b Add struct #no_copy 2023-04-15 15:37:32 +01:00
Jeroen van Rijn
b7b5043aea Merge pull request #2455 from nektro/patch-1
build_odin.sh: fix typo introduced in detection of llvm-config-11-64
2023-04-12 21:19:12 +02:00
Meghan
1bf4a6f711 build_odin.sh: fix typo introduced in detection of llvm-config-11-64
appeared in b22d71a74e
2023-04-12 12:18:11 -07:00
Jeroen van Rijn
073f51e284 Merge pull request #2453 from TriedAngle/patch-1
Fix: `Unable to find LLVM-config` on Ubuntu
2023-04-12 20:04:19 +02:00
TryAngle
b5784bc2ef Fix: Unable to find LLVM-config on Ubuntu
appends a check for llvm-config-14 on linux
2023-04-11 15:08:31 +02:00
Jeroen van Rijn
b42bb5be26 Only try to parse git hash if .git is present
Closes 2451
2023-04-11 11:55:29 +02:00
Jeroen van Rijn
b052da1065 Merge pull request #2446 from RestartFU/master
fix SendInput procedure in core:sys/windows/user32.odin
2023-04-09 09:34:05 +02:00
RestartFU
586e85281e fix SendInput function in user32 2023-04-08 23:13:37 +00:00
Jeroen van Rijn
ec3ea3752f Add Vulkan-Wayland to wrapper generator
Closes #2442
2023-04-08 13:26:38 +02:00
Jeroen van Rijn
8294480cb4 Merge pull request #2443 from limaak/fix/darwin-arm64-build-sh
build_odin.sh - fix build on darwin arm64
2023-04-08 10:21:17 +02:00
Jeroen van Rijn
6fe8692b98 Merge pull request #2445 from Lperlind/documentation/strings_returns
Document return values of strings and add allocator errors where possible
2023-04-08 10:05:39 +02:00
Jeroen van Rijn
d8e0a86600 Revert "Add VK Wayland"
This reverts commit 8b29b07f5a.
2023-04-08 09:54:02 +02:00
Jeroen van Rijn
8b29b07f5a Add VK Wayland
Closes #2442
2023-04-08 09:51:34 +02:00
Jeroen van Rijn
1d6936fafc Merge pull request #2444 from Yawning/fix/modern-crypto-cleanups
core/crypto: Cleanups/fixes
2023-04-08 09:34:28 +02:00
kamil-beker
b22d71a74e build_odin.sh - fix build on darwin arm64
Done:
- use ARCH variable properly
- refactor have_which() to use POSIX compliant command - ref
- use command instead of which for the same reason as above.
- run shfmt for consistency.
2023-04-08 08:54:53 +02:00
Yawning Angel
7fc2081543 core/crypto: Add private attributes for internals
These constants and internal routines are not intended for use outside
the actual implementations themselves.
2023-04-08 10:15:00 +09:00
Yawning Angel
b8c2b0105b core/crypto: Disable optimization for the ct byte compare
Hedge against the possibility of a compiler getting clever enough to
optimize this pattern as well.
2023-04-08 10:11:04 +09:00
Yawning Angel
d72db2698b core/crypto/_fiat: Hedge against LLVM cleverness
Recent LLVM is getting smart to the point where the optimizer can change
a traditional constant-time conditional swap into a pointer swap.

Ensure that this does not happen by force-disabling optimization.
Additionally, disable inlining the relevant routines such that manual
inspection in optimized builds is still reasonably easy to do.
2023-04-08 09:57:47 +09:00
Lucas Perlind
e0d9092df8 Document return values of strings and add allocator errors where
possible
2023-04-07 20:39:01 +10:00
Jeroen van Rijn
f863264af6 Merge pull request #2441 from Lperlind/doc/fixup
Re-enable documentation CI and improve error messages
2023-04-07 07:30:38 +02:00
Jeroen van Rijn
14736c2a8b Merge pull request #2440 from jon-lipstate/doc_fixed
resolve doc-test issues
2023-04-07 07:24:16 +02:00
Lucas Perlind
0af1b75a02 Re-enable documentation CI and improve error messages 2023-04-07 09:16:50 +10:00
Jon Lipstate
7a8aa03e54 doc tests verified 2023-04-06 14:58:57 -07:00
Jon Lipstate
846c0f7cfc add decimal subpackage ref 2023-04-06 09:56:27 -07:00
Jon Lipstate
1886193c6c resolve doc-test issues 2023-04-06 09:44:57 -07:00
Jeroen van Rijn
100e907890 Temporarily disable doc tests. 2023-04-06 16:09:44 +02:00
Jeroen van Rijn
383c222553 Merge pull request #2421 from jon-lipstate/strconv_docs
Code Docs for strconv
2023-04-06 15:38:32 +02:00
gingerBill
ae6e76bbb3 Merge pull request #2435 from Lperlind/master
Fix type comparison not accounting for parapoly params
2023-04-06 12:56:25 +01:00
Jon Lipstate
ed7284add2 parens 2023-04-06 00:14:46 -07:00
Jon Lipstate
9ecbd70daa parens 2023-04-06 00:02:57 -07:00
Jon Lipstate
b8989d9bf9 strconv docs 2023-04-05 23:52:11 -07:00
Jon Lipstate
0f1c5b3891 correct errors 2023-04-05 22:22:16 -07:00
Jon Lipstate
41ff7a6010 Merge branch 'master' into strconv_docs 2023-04-05 22:20:21 -07:00
gingerBill
0234f50da1 Merge pull request #2439 from karl-zylinski/master
SJSON parser: Fix for broken single letter keys
2023-04-05 21:49:06 +01:00
Karl Zylinski
d7cc166eab Fix for skip_alphanum in JSON tokenizer not checking if first character is non-alphanum. This broke any single-character key when using SJSON specification in combination with not using quoted strings. 2023-04-05 22:37:05 +02:00
gingerBill
eef44425c3 Default zlib foreign import 2023-04-05 17:39:56 +01:00
gingerBill
167b320cdd Remove cmark from all_vendor.odin 2023-04-05 17:35:53 +01:00
gingerBill
dcf53236ff Generalize the foreign import for unsupported platforms 2023-04-05 17:31:43 +01:00
gingerBill
5b1a531755 Merge branch 'master' of https://github.com/odin-lang/Odin 2023-04-05 17:26:56 +01:00
gingerBill
97b2d1fe5c Update README.md 2023-04-05 17:26:48 +01:00