Commit Graph

8674 Commits

Author SHA1 Message Date
hchac
cb5c821989 Matching C++ parser changes from commit 67ca9166d3.
Without these changes the core library parser fails to parse:

 - core/fmt/fmt.odin:

     Line 126 (and others):
       sbprint(&str, ..args, sep=sep)

 - core/fmt/fmt_os.odin:

     Line 17 (and others):
       return wprint(w, ..args, sep=sep)

 - core/log/log.odin:

     Line 79 (and others):
       logf(.Debug,   fmt_str, ..args, location=location)

 - core/runtime/core_builtin.odin:

     Line 475 (and others):
       return append_elems(array, ..args, loc=loc)
2023-07-13 15:38:10 -04:00
Jeroen van Rijn
204c0fa4d8 Merge pull request #2650 from hchac/remove-core-odin-from-gitignore
Don't gitignore folders named odin.
2023-07-11 22:58:56 +02:00
gingerBill
3a0b66d5df Merge pull request #2625 from laytan/exit-code-1-on-test-failure
exit with code 1 on `odin test` failure
2023-07-11 21:50:18 +01:00
gingerBill
07d3122c14 Merge pull request #2651 from erjohnson/arena-static-bootstrap-doc-fix
Fix small doc mistakes in arena.odin
2023-07-11 21:49:06 +01:00
Eric Johnson
c6957e4e31 Fix small doc mistakes in arena.odin 2023-07-11 13:41:12 -07:00
hchac
8068a3899d Don't gitignore folders named odin. 2023-07-11 16:23:54 -04:00
Laytan Laats
3cce972125 fix indentation 2023-07-11 19:34:59 +02:00
Laytan Laats
52700d6a84 use lb_emit_select instead of lb_emit_if for exit check 2023-07-11 19:30:44 +02:00
Jeroen van Rijn
0c80a4b836 Merge pull request #2640 from z64/z64/mutex
Improve Mutex struct documentation
2023-07-11 14:01:02 +02:00
Zac Nowicki
46f408cc9f Fixup link format 2023-07-11 07:43:36 -04:00
Jeroen van Rijn
5c068a9062 Merge pull request #2647 from ryuukk/patch-6
core:sys/windows: Deprecate htons, htonl, ntohl, ntohs in favor of endian specific integers
2023-07-11 08:11:50 +02:00
ryuukk
e1fae5b902 Fix attribute 2023-07-11 03:51:28 +02:00
ryuukk
20e5e95ff8 Deprecate htons, htonl, ntohl, ntohs 2023-07-11 03:45:08 +02:00
Jeroen van Rijn
a238f78855 Merge pull request #2645 from Pix-xiP/fix-raylib-gesture
GetGestureDetected proc returns a Gesture not a Gestures bit_set
2023-07-10 17:25:02 +02:00
Jeroen van Rijn
5b96712ed0 Merge pull request #2642 from ryuukk/patch-4
core:sys/windows: Add definitions for network byte order conversion procs
2023-07-10 17:04:09 +02:00
Pix
f141078073 GetGestureDetecetd should return a Gestures bit_set not a Gesture. 2023-07-10 22:24:16 +08:00
Jeroen van Rijn
d47fed16a9 Merge pull request #2643 from ryuukk/patch-5
core:sys/windows: Add CopyFileW proc
2023-07-10 11:21:37 +02:00
ryuukk
bc43a8d38d Add CopyFileW 2023-07-10 06:02:38 +02:00
ryuukk
ccd5685cee Fix doc links 2023-07-10 05:57:12 +02:00
ryuukk
f0f8177a19 Add definitions for network byte order conversion procs 2023-07-10 05:56:26 +02:00
Zac Nowicki
363b701925 Improve Mutex struct documentation 2023-07-09 08:30:16 -04:00
Jeroen van Rijn
0a897e2fae Merge pull request #2638 from ramn/handle_nils_in_expect_value
Fix #2637
2023-07-09 00:28:02 +02:00
ramn
5f53d815d1 fix: make -vet not complain 2023-07-09 00:15:01 +02:00
ramn
7b89f25818 Fix #2637
where testing.expect_value can't compare nils
2023-07-08 23:46:51 +02:00
gingerBill
3072479c3c Generalize name mangling rule to have a singular definition for a name separator dev-2023-07 2023-07-07 23:52:56 +01:00
gingerBill
62031c24a2 Add extra mutex guards around module value access 2023-07-07 23:35:16 +01:00
gingerBill
aa38889704 Fix issue with pointer casting internal llvm intrinsics 2023-07-07 23:23:47 +01:00
gingerBill
17562e476f Remove math usage of raw LLVM intrinsic prototypes 2023-07-07 23:13:37 +01:00
gingerBill
6495f2cf98 Fix #2593 2023-07-07 23:09:46 +01:00
gingerBill
ea20b644cc Fix #2624 2023-07-07 23:07:41 +01:00
gingerBill
bf848637aa Fix #2629 2023-07-07 23:06:15 +01:00
gingerBill
759f846b2b Fix [2]union{T} comparison against nil 2023-07-07 23:03:46 +01:00
gingerBill
3758be55f5 Fix #2630 2023-07-07 22:56:20 +01:00
gingerBill
8f4c59b080 Add core:math/cmpl to all_main.odin 2023-07-07 22:29:53 +01:00
gingerBill
1ff6212ffa Always call lb_run_remove_dead_instruction_pass to fix -debug issues 2023-07-07 22:28:31 +01:00
Jeroen van Rijn
b60d29ae9a Merge pull request #2627 from laytan/add-address-family-type-definition
add `ADDRESS_FAMILY` to darwin (currently only available in linux)
2023-07-03 22:45:28 +02:00
Laytan Laats
38d71e668d add ADDRESS_FAMILY to darwin (currently only available in linux) 2023-07-03 19:56:56 +02:00
Laytan Laats
7cdf37eaf6 exit with code 1 on odin test failure 2023-07-03 01:22:36 +02:00
Jeroen van Rijn
8d9adfd548 Merge pull request #2623 from laytan/fix-2615-cant-iterate-untyped-string
Fix #2615: can't iterate untyped string
2023-07-02 23:06:35 +02:00
Laytan Laats
a3e2d90f4c add test 2023-07-02 23:00:37 +02:00
Laytan Laats
fc81008ab5 Fix #2615: can't iterate untyped string 2023-07-02 22:18:25 +02:00
Jeroen van Rijn
a1eae6304f Merge pull request #2622 from laytan/detect-unix-colors-support
detect unix color support
2023-07-02 21:34:34 +02:00
Laytan Laats
49058620f0 fix spacing 2023-07-02 21:25:48 +02:00
Laytan Laats
f68a3639b4 use more common detection method and add FORCE_COLOR and NO_COLOR support 2023-07-02 21:11:19 +02:00
Laytan Laats
f4e87c9720 ignore stderr in tput call 2023-07-02 20:20:10 +02:00
Laytan Laats
23bf7973fa detect unix color support 2023-07-02 19:56:46 +02:00
Jeroen van Rijn
67e0751124 Merge pull request #2621 from DanielGavin/vulkan-flags2
Add support for vulkan FlagBits2
2023-07-02 19:34:20 +02:00
DanielGavin
f76559daf6 Remove whitespaces 2023-07-02 18:28:37 +02:00
DanielGavin
5e99ff6769 Add support FlagBits2 2023-07-02 18:24:37 +02:00
gingerBill
1ecb4aa9aa Begin work on core:math/cmplx
`complex*` types only at the moment, `quaternion*` types coming later
2023-06-28 13:20:23 +01:00