gingerBill
f8964fa6ca
Merge branch 'master' into windows-llvm-13.0.0
2022-09-12 14:44:09 +01:00
gingerBill
663b62e45f
Fix ODIN_BUILD_PROJECT_NAME
2022-09-12 14:43:50 +01:00
gingerBill
6910182011
Fix debug generation for named results
2022-09-12 14:12:31 +01:00
gingerBill
bba47b6f54
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-09-12 13:44:34 +01:00
gingerBill
ef372bd861
Replace #optional_second with #optional_allocator_error
2022-09-12 13:08:32 +01:00
gingerBill
fbbfe438dc
Improve debug info to named return values
2022-09-12 13:08:05 +01:00
Jeroen van Rijn
7e495a5fe5
Merge pull request #2045 from ShimmyShaman/master
...
small doc fix for strings.last_index_any
2022-09-11 21:45:40 +02:00
Adam Rasburn
0f036eebc0
doc fix for strings.last_index_any
2022-09-12 07:37:15 +12:00
gingerBill
e008eeac6a
Simplify package io by removing different unnecessary types and calls
2022-09-11 15:42:08 +01:00
gingerBill
3200e063ec
Merge branch 'master' into windows-llvm-13.0.0
2022-09-11 15:07:39 +01:00
Jeroen van Rijn
25e330500f
Merge pull request #2043 from Kelimion/tga_tests
...
Tga tests
2022-09-10 20:29:47 +02:00
Jeroen van Rijn
fa20988f51
Merge branch 'master' into tga_tests
2022-09-10 20:22:49 +02:00
Jeroen van Rijn
99f4cc3006
[core:image/tga] Add tests.
2022-09-10 20:22:10 +02:00
Jeroen van Rijn
a1487e4814
Merge pull request #2040 from ryancsh/master
...
Add windows.timeGetTime()
2022-09-10 20:16:04 +02:00
Ryan Chan
183a02c584
Add windows.timeGetTime()
...
Here is the windows documentation for it: https://docs.microsoft.com/en-us/windows/win32/api/timeapi/nf-timeapi-timegettime
2022-09-10 16:54:34 +04:00
gingerBill
913e8b2e02
Unify debug parameter code
2022-09-10 10:03:51 +01:00
gingerBill
5800e085e8
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-09-09 23:07:16 +01:00
gingerBill
623d687192
Split debug info generation for direct and indirect parameters
2022-09-09 23:07:09 +01:00
gingerBill
fcb668663b
Merge pull request #2037 from odin-lang/revert-2026-revert-init-window-workaround
...
Revert "Remove the workaround for NSWindow initWithContentFrame"
2022-09-09 10:47:25 +01:00
gingerBill
ad98efe1fd
Revert "Remove the workaround for NSWindow initWithContentFrame"
2022-09-09 10:47:02 +01:00
gingerBill
8c34132f6f
Merge branch 'master' into windows-llvm-13.0.0
2022-09-08 17:28:12 +01:00
gingerBill
3fae8b49db
Fix pointer cast of constant procedure values
2022-09-08 17:27:13 +01:00
gingerBill
8fb9db3deb
Revert build.bat
2022-09-08 17:18:54 +01:00
gingerBill
c1a010c658
Merge branch 'master' into windows-llvm-13.0.0
2022-09-08 17:14:34 +01:00
gingerBill
0859ccc5c0
Disable buggy escape analysis
2022-09-08 17:13:37 +01:00
gingerBill
660aa7d78e
Merge branch 'master' into windows-llvm-13.0.0
2022-09-08 16:56:18 +01:00
gingerBill
0c9ddd51a4
Keep -vet happy
2022-09-08 16:55:40 +01:00
gingerBill
f77709e67e
Add intrinsics.type_convert_variants_to_pointers and reflect.get_union_as_ptr_variants
2022-09-08 16:52:51 +01:00
gingerBill
81e3b64ecd
Add ODIN_BUILD_PROJECT_NAME and //+build-project-name
...
This allows for condition inclusion of files, similar to `+build` or `ODIN_BUILD`, but relies on the directory name of the project to be the same as specified
Example:
odin build foo/bar/baz
ODIN_BUILD_PROJECT_NAME == "baz"
//+build_project_name baz
2022-09-08 16:35:25 +01:00
gingerBill
39728b8bfb
Add the builtin procedures abs, clamp min, max to core:math as aliases
2022-09-08 15:08:53 +01:00
gingerBill
3b5998af12
Fix typo for pow in runtime.js
2022-09-08 14:48:37 +01:00
gingerBill
eea19f8112
Merge pull request #2034 from odin-lang/debug-improvements
...
Debug symbol improvements for procedure parameters
2022-09-08 11:10:43 +01:00
gingerBill
268fb22bca
Use llvm.dbg.declare for procedure parameters rather than llvm.dbg.value
2022-09-07 23:47:33 +01:00
Jeroen van Rijn
37e23a19b5
Merge pull request #2033 from thePHTest/poly-proc
...
fix sort_by_indices_allocate
2022-09-07 19:58:42 +02:00
Phil
7d55bfc120
fix sort_by_indices_allocate
2022-09-07 10:53:56 -07:00
gingerBill
ab1741ab38
Add Windows 32-bit build system error
2022-09-07 12:27:15 +01:00
gingerBill
af76d26771
Simplify win32 resource file linking
2022-09-07 11:22:43 +01:00
gingerBill
d2097e9fdd
Add inline debug generation for assembly target flag ( #2028 )
2022-09-07 11:17:33 +01:00
gingerBill
d325c36eb8
Fix procedure pointer cast
2022-09-07 11:14:59 +01:00
gingerBill
79b55d5e2b
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-09-07 11:09:32 +01:00
gingerBill
0c9aaed9f7
Fix #2029 Eumerated array of procs literal crashes the compiler with an llvm error
2022-09-07 11:09:22 +01:00
gingerBill
82d5f48fa7
Merge pull request #2032 from rasa-silva/fix_strings_justify
...
Fix `strings.*_justify` to take into account the string length
2022-09-07 10:49:09 +01:00
Ricardo Silva
2239e43faf
Fix strings.*_justify
2022-09-07 08:56:23 +01:00
Jeroen van Rijn
70b0ade8c3
Merge pull request #2027 from thePHTest/poly-proc
...
fix polymorphic proc parameters error handling
2022-09-06 20:33:47 +02:00
Phil
86b6d01242
fix polymorphic proc parameters error handling
2022-09-06 11:04:18 -07:00
gingerBill
826a3b3012
Begin work in helgrind calls
2022-09-06 13:50:23 +01:00
gingerBill
35d622c131
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-09-06 12:57:28 +01:00
gingerBill
4bdd2ff93c
Make valgrind calls a no-op on non-supported platforms rather than print an error
2022-09-06 12:57:22 +01:00
gingerBill
6fffed179b
Merge pull request #2026 from hasenj/revert-init-window-workaround
...
Remove the workaround for NSWindow initWithContentFrame
2022-09-06 11:21:47 +01:00
Hasen Judy
e6b91d3d7c
Remove the workaround for NSWindow initWithContentFrame
...
Reverts #1841
Resolves #1825
2022-09-06 16:56:17 +09:00