Commit Graph

1214 Commits

Author SHA1 Message Date
gingerBill 842cfee0f3 Change Odin's LICENSE to zlib from BSD 3-clause
This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
2025-10-28 14:38:25 +00:00
Courtney Strachan e724b23aac Fix #5843 2025-10-23 03:18:03 -04:00
Chris Hayen 492653e316 conditional packed for EPoll_Event to match kernel 2025-10-21 12:37:28 -04:00
Jeroen van Rijn e1d8ece408 core:sys/info: iterate over registry nodes to enumerate GPUs 2025-10-10 14:12:59 +02:00
Jeroen van Rijn ece213afca Render examples. 2025-10-10 12:24:28 +02:00
Jeroen van Rijn 7a9ea3ee6d Further overhaul of package line comments. 2025-10-09 23:05:29 +02:00
xenobas 3edf964b55 Fix #5225 wasm odin.js undefined this.mem 2025-10-05 20:18:41 +01:00
Harold Brenes 24daa4427c Fix various foreign signatures 2025-09-29 19:58:14 -04:00
Yuriy Grynevych 36098cec0f [core:sys/info] doc: Remove duplicated line 2025-09-25 15:14:42 +03:00
gingerBill 935d9657a3 Merge pull request #5677 from slowhei/master
Fix Drawin addObserver methods and add support for new Objc_Block
2025-09-12 08:44:45 +01:00
Tohei Ichikawa a454633774 Fix addObserver methods and add support for new Objc_Block 2025-09-11 09:50:31 -04:00
FourteenBrush eb7218eff0 Merge branch 'odin-lang:master' into patch-2 2025-09-09 14:41:28 +02:00
FourteenBrush fb1dd3052d Add RtlNtStatusToDosError ERROR_MR_MID_NOT_FOUND error 2025-09-09 14:11:38 +02:00
FourteenBrush 64e9652776 Add RtlNtStatusToDosError
Maps kernel NTSTATUS to win32 system error
2025-09-09 14:04:36 +02:00
FourteenBrush fe531c1888 Add build tags to posix/spawn.odin 2025-09-07 20:39:27 +02:00
FourteenBrush 9aabe75262 Add ERROR_NOT_FOUND
Returned by `CancelIoEx` when cancelled number or io completions was 0.
Was for some reason defined in `core:os`, but not in win32 pkg.
Ref: https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--1000-1299-
2025-09-05 00:34:44 +02:00
FourteenBrush f6bf88d184 Add CancelIoEx to kernel32.odin 2025-09-04 00:38:51 +02:00
FourteenBrush 10b7bba25d Add LPFN_GETACCEPTEXSOCKADDRS to ws2_32.odin 2025-08-31 23:52:00 +02:00
puugz ba279ec4ea Fix broken wglUseFontBitmaps binding 2025-08-30 18:31:46 +02:00
Jon Lipstate 94e1f30ebb fix typo in CLSIDFromProgIDEx signature 2025-08-29 14:35:34 -07:00
Stanislav Ch. Nikolov ed389c188c Fixed and added obj-c methods for NSWindow 2025-08-28 12:39:15 +03:00
Bailey Gibbons 26d066d369 Add add/remove_document_event_listener() to core:sys/wasm/js 2025-08-22 15:34:50 +10:00
gingerBill d1ce7f8fe6 Merge pull request #5516 from cardboardguru76/darwin-foundation-support-for-handmade-hero-port
Additional obj-c methods for darwin Foundation
2025-08-15 12:13:27 +01:00
diniamo 88dba1194a Fix ITimer_Flags_Bits enum value 2025-08-14 15:01:42 +02:00
Wrath b6a0606c98 Added getaddrinfo flags 2025-08-12 19:59:38 -04:00
gingerBill a0ff05e633 Merge pull request #5558 from odin-lang/bill/init-fini-changes
`@(init)` & `@(finit)` Changes.
2025-08-10 12:47:15 +01:00
Alex Riedl 277c6cac71 Fix some webgl bindings 2025-08-09 10:47:07 -05:00
gingerBill 14ca1c8c89 Add another contextless 2025-08-08 15:41:44 +01:00
gingerBill 7c93a5ae80 Add missing contextless 2025-08-08 13:16:20 +01:00
gingerBill 8ff15eaf69 More contextless fixes 2025-08-08 13:02:37 +01:00
gingerBill aa747a1c10 Add more "contextless" 2025-08-08 12:55:23 +01:00
gingerBill d381d0ece4 Fix more procedure to be contextless 2025-08-08 12:33:34 +01:00
gingerBill 7642e0a0e0 Require @(init) and @(fini) to be proc "contextless" () 2025-08-08 12:10:01 +01:00
gingerBill e049dde582 Fix tests for UTF-16 strings 2025-08-02 13:01:58 +01:00
gingerBill c631a8eff5 os2 internals -> (c)string16 2025-08-02 12:47:03 +01:00
gingerBill bb4bc316a4 for in string16; Support string16 across core 2025-08-02 12:20:35 +01:00
Steve Waddicor 9dfce3da86 Convert leading spaces to tabs 2025-08-01 23:06:04 +01:00
cardboardguru76 44f039a92f Merge branch 'odin-lang:master' into darwin-foundation-support-for-handmade-hero-port 2025-07-30 00:28:31 +01:00
Steve Waddicor 9c5e577792 Additional obj-c methods for darwin Foundation
Added support for NSBitmapImageRep class.
Added ability to set contents to a CALayer.
I needed these to support a port of Handmade Hero, but they are of general use.
2025-07-29 21:01:22 +01:00
Colin Davidson c1b3d035e4 remove spawn from os, comment sys/posix/spawn 2025-07-29 12:12:15 -07:00
Colin Davidson 0a102bd757 shuffle to Kern_Return 2025-07-29 11:52:58 -07:00
Colin Davidson fe2b48dec4 enum pass 2025-07-29 11:48:58 -07:00
Colin Davidson b88f9194d0 Merge remote-tracking branch 'live/master' into macharena 2025-07-28 14:24:46 -07:00
gingerBill 98c2425fe0 Merge pull request #5467 from harold-b/hb.ios-subtarget-rename-iphone
Rename `iOS` subtarget to `iPhone`, add `ODIN_PLATFORM_SUBTARGET_IOS`
2025-07-20 13:22:47 +01:00
connnnal f6993a8205 Add IUnknown UUID 2025-07-17 05:00:20 +01:00
Harold Brenes bab4ce11fc Rename iOS subtarget to iPhone for consistency.
Add `ODIN_PLATFORM_SUBTARGET_IOS` builtin constant which evaluated to
`true` when the platform is `Darwin` and the subtarget it either `iPhone` or `iPhoneSimulator`
2025-07-14 21:55:28 -04:00
Harold Brenes 219b0fe535 Replace system:System.framework imports with system:System
This makes the linker work for both macOS and iOS targets
2025-07-13 15:45:21 -04:00
Jeroen van Rijn e89abd006f Fix #5452 2025-07-11 15:29:27 +02:00
Colin Davidson 2dae1d8a41 fix tabbing 2025-07-07 14:36:31 -07:00
Colin Davidson 389439ccb9 Merge branch 'master' into macharena 2025-07-07 14:34:05 -07:00