Jeroen van Rijn
bcccc8338f
Merge pull request #1937 from IanLilleyT/rc_fix
...
Find rc.exe in Windows SDK
2022-08-09 16:03:17 +02:00
gingerBill
838554460b
Add basic "lock" around Log_Allocator to minimize errors with allocation logging loops
2022-08-08 15:25:11 +01:00
gingerBill
659c3c528d
Update delete to pass size in bytes to free when possible
2022-08-08 15:16:18 +01:00
gingerBill
60aeab3c38
Update fmt.odin
2022-08-08 15:07:19 +01:00
gingerBill
5e3cf45df3
Add #soa pointer type to aid with refactoring to #soa data types
...
a: #soa[16]Foo
p := &a[6]
#assert(type_of(p) == #soa^#soa[16]Foo)
p^.x = 123
p.x = 123
2022-08-08 15:07:00 +01:00
gingerBill
4633591918
Remove unnecessary pointer
2022-08-08 14:28:36 +01:00
gingerBill
0e6a8b7c72
Make Growing_Arena reserve memory first and then commit as needed
...
It just committed all at once to begin with
2022-08-08 12:43:18 +01:00
gingerBill
147848ca20
Clean up naming conventions
2022-08-08 12:30:58 +01:00
gingerBill
cde002c579
Fix i18n
2022-08-08 12:27:23 +01:00
gingerBill
f23d93ba89
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-08-08 12:23:48 +01:00
gingerBill
c97a8418dc
Clean-up and unification for the allocation procedures
2022-08-08 12:23:19 +01:00
gingerBill
4aca9372a6
Improve resize call
2022-08-08 12:11:30 +01:00
gingerBill
4912ecc3ea
Add log.Log_Allocator
2022-08-08 11:57:51 +01:00
Ian Lilley
c1c8ceafc2
find windows sdk bin path for rc.exe
2022-08-07 17:52:29 -04:00
Jeroen van Rijn
7b539e3025
Merge pull request #1932 from blakeb211/fixed_math_log2
...
fixed math.log2
2022-08-06 14:55:23 +02:00
blake
b2b0043875
fixed math.log2
2022-08-06 06:19:47 -04:00
Jeroen van Rijn
edba99d636
Revert "Use sync.Mutex rather than a spin lock for the threading example"
...
This reverts commit 8d1f46d837 .
2022-08-05 15:03:09 +02:00
gingerBill
35674959f2
Merge pull request #1931 from cuishuang/master
...
fix some typos
2022-08-05 13:16:48 +01:00
cui fliter
dc8b7a0eb8
fix some typos
...
Signed-off-by: cui fliter <imcusg@gmail.com >
2022-08-05 20:10:20 +08:00
gingerBill
8d1f46d837
Use sync.Mutex rather than a spin lock for the threading example
2022-08-05 12:45:26 +01:00
gingerBill
a2117d23b2
Change unreachable with panic
2022-08-05 12:41:25 +01:00
gingerBill
a58e4d0359
Allow for foo() or_else unreachable() and other diverging procedures
2022-08-05 12:19:57 +01:00
gingerBill
576914aee1
Make unreachable() a built-in compiler-level procedure
2022-08-05 11:57:33 +01:00
gingerBill
8171f8209a
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-08-05 11:37:28 +01:00
gingerBill
64ff05303c
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-08-05 11:36:20 +01:00
gingerBill
6caab6225d
Fix #1930
2022-08-05 11:36:12 +01:00
gingerBill
326411498a
Merge pull request #1925 from neNasko1/fix-incorrect-behaviour-of-string-ordering
...
Fix incorrect behaviour of string ordering
2022-08-03 19:43:55 +01:00
gingerBill
d50fcf0020
Merge pull request #1926 from IanLilleyT/env_leak
...
Memory leak in os2 user_config_dir and user_home_dir
2022-08-03 19:02:05 +01:00
Ian Lilley
dbec4b0d0e
fixed memory leak from calling get_env
2022-08-03 11:49:42 -04:00
Atanas Dimitrov
4cb489b9e4
Fix sort.compare_strings for prefixes
2022-08-03 16:22:54 +03:00
Atanas Dimitrov
28ec50d567
Fix string orderings to account for prefix-equal strings
2022-08-03 16:09:36 +03:00
gingerBill
73beed0477
Merge pull request #1921 from Hyp-X/master
...
Update user32.odin
dev-2022-08
2022-08-02 12:15:44 +01:00
gingerBill
e0ecdd4b24
Simplify logic of append of zero sized elements
2022-08-02 11:13:53 +01:00
gingerBill
5168cf03a9
Remove dead #maybe code
2022-08-01 15:38:50 +01:00
gingerBill
b886ae6515
Simplify parser logic for field prefixes
2022-08-01 15:32:17 +01:00
gingerBill
277a973b98
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-08-01 15:24:23 +01:00
gingerBill
0ec4d97bfd
Correct parser logic for is_token_field_prefix
2022-08-01 15:24:17 +01:00
Hyp-X
e6236e5c3e
Update user32.odin
...
Added UnregisterClassW procedure to windows\user32.odin
2022-08-01 15:59:00 +02:00
gingerBill
e201280844
Merge pull request #1920 from Hyp-X/master
...
Update dxgi.odin
2022-08-01 14:40:39 +01:00
gingerBill
8e50a6c61b
Merge pull request #1876 from mohd-akram/build-config-opts
...
Allow passing config options to build script
2022-08-01 14:33:35 +01:00
Hyp-X
7e6f5f89d0
Merge branch 'odin-lang:master' into master
2022-08-01 14:44:57 +02:00
gingerBill
97acc57649
Simplify field prefix handling
2022-08-01 13:17:10 +01:00
gingerBill
83c8c48ed7
Simplify ast parsing for prefixes
2022-08-01 13:07:49 +01:00
Hyp-X
0815b4d59f
Update dxgi.odin
...
Fixed CreateDXGIFactory* last parameter to be ^rawptr instead of rawptr
2022-08-01 14:04:12 +02:00
gingerBill
a0135080b3
Merge pull request #1917 from lerno/added_virtuals_macos
...
Added virtual memory headers for Darwin.
2022-07-30 19:38:37 +01:00
Christoffer Lerno
f45e8e5d47
Added virtual memory headers for Darwin.
2022-07-29 20:01:26 +02:00
Jeroen van Rijn
98ba4beede
Merge pull request #1916 from wjlroe/glfw-3-3-8-darwin-universal-static-libs
...
GLFW 3.3.8 Darwin universal and Windows static libs
2022-07-28 16:55:42 +02:00
William Roe
a9304f2fef
Update Windows GLFW libraries to 3.3.8
...
This matches the latest libraries committed for macOS/Darwin
2022-07-28 15:38:14 +01:00
William Roe
a0697ab057
Fix build on Apple Silicon when linking to GLFW
...
This also updates the library to GLFW 3.3.8
This includes the lib-universal static library, rather than just the
Intel one (lib-x86_64), so software building with GLFW on Apple Silicon
will work again.
2022-07-28 15:29:30 +01:00
Jeroen van Rijn
2e895c72d3
Merge pull request #1447 from phillvancejr/master
...
Added vendor glfw support for Mac OS
2022-07-28 16:05:59 +02:00