Commit Graph
100 Commits
Author SHA1 Message Date
gingerBillandGitHub 4d2854f561 Merge pull request #5632 from kalsprite/x386
windows i386 support
2025-09-18 22:01:14 +01:00
gingerBill 9cf69576ab More improvements to minimize code gen size 2025-09-18 20:58:24 +01:00
gingerBill 4b0a07ba27 Minor rearrangement 2025-09-18 17:06:09 +01:00
gingerBill 37e1e00623 Revert global procedure threading 2025-09-18 16:57:21 +01:00
gingerBill 5bc9d79f77 Change mutex usage for missing procedures 2025-09-18 16:56:19 +01:00
gingerBill 111e2f0c1b After global procedures and types are generated, then queue the generation of the procedures for each module 2025-09-18 16:53:00 +01:00
gingerBill 5559916d5c Mulithread startup procedure body generation 2025-09-18 16:35:04 +01:00
gingerBill 3954491393 Type erasure to minimize code generation size 2025-09-18 15:54:05 +01:00
gingerBill 0f307fbc5d Use multiple modules per file in package runtime 2025-09-18 15:34:19 +01:00
gingerBill 738a72943b Try moving parapoly procs into a separate module when doing weak monomorphization 2025-09-18 15:04:16 +01:00
gingerBillandGitHub 5b0510a6bd Merge pull request #5690 from Creativty/master
Fix #5682 segfault involving string_to_string16 on linux
2025-09-17 17:28:24 +01:00
gingerBill 11be0cb4ab Use permanent_allocator() instead of temporary_allocator() temporarily to fix a bug 2025-09-14 17:37:17 +01:00
gingerBill 7db57e2d9c Temporarily disable TEMPORARY_ALLOCATOR_GUARD 2025-09-14 17:24:22 +01:00
gingerBill 22261f9e71 Fix temporary_allocator 2025-09-14 17:21:33 +01:00
gingerBillandGitHub 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
gingerBillandGitHub 72f8bafe6c Merge pull request #5672 from thetarnav/strings-builder-caller-location
Add missing caller location param to append in strings builder
2025-09-11 11:02:35 +01:00
gingerBill cf4262d22c Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 21:41:58 +01:00
gingerBill 5ea2e1fe60 Minimize mutex usage when in single threaded mode. 2025-09-10 21:41:52 +01:00
gingerBillandGitHub 8175c3eaa1 Merge pull request #5651 from FourteenBrush/patch-2
Win32: add `CancelIoEx` to kernel32.odin, among other overlapped IO functions.
2025-09-10 21:36:37 +01:00
gingerBill 992cad101c Minor mutex rearrangement 2025-09-10 21:16:56 +01:00
gingerBill 549edcc0f9 Use a RwMutex instead of BlockingMutex 2025-09-10 21:00:43 +01:00
gingerBill 34e3d30780 More thread contention removal 2025-09-10 20:51:52 +01:00
gingerBill 0476d33a6c Remove global PtrMap<Type *, GenTypesData *> and store on the TypeNamed directly 2025-09-10 20:45:26 +01:00
gingerBill d3602ca634 Removal of some old checks 2025-09-10 20:37:39 +01:00
gingerBill 76c0f89535 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 20:11:42 +01:00
gingerBill bc36ea4170 Use macro instead of a C++ iterator - for speed
C++ iterators are bad.
2025-09-10 20:11:36 +01:00
gingerBill 228ddd6903 Inline some ptr set iterators 2025-09-10 20:02:39 +01:00
gingerBill 1c648126c7 Move more from heap_allocator() to temporary_allocator() 2025-09-10 19:47:29 +01:00
gingerBill 01258d4817 Multithread "check all scope usages" 2025-09-10 19:38:30 +01:00
gingerBill a36a8722dc Minimize more thread contention 2025-09-10 19:30:32 +01:00
gingerBill 21b1173076 Minor clean up of permanent/temporary arena usage 2025-09-10 18:20:20 +01:00
gingerBill af37ba76c1 Use arena in calculate_global_init_order 2025-09-10 18:02:02 +01:00
gingerBill 54df0e1a41 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-09-10 17:29:17 +01:00
gingerBill 1e0902677f Multithread min dep set by removing the set itself 2025-09-10 17:29:11 +01:00
gingerBillandGitHub fef00dda24 Merge pull request #5675 from jfcode4/master
Fix incorrect json encoding for control characters < 32
2025-09-10 16:09:52 +01:00
gingerBillandGitHub 475791476b Merge pull request #5673 from BradLewis/fix/parser-proc-group-trailing-comma
Allow missing trailing comma with proc groups with odin parser
2025-09-10 13:48:13 +01:00
gingerBill 60684ff028 Multithread some of the min dep system 2025-09-10 13:39:06 +01:00
gingerBill 70d396c8ad Split type and inline cycles into separate loops 2025-09-10 13:26:07 +01:00
gingerBill 629777b988 Multithread check_update_dependency_tree_for_procedures 2025-09-10 12:42:36 +01:00
gingerBill 9abc3f67b5 Fix constant procedure parameters when passing literals 2025-09-09 10:36:22 +01:00
gingerBillandGitHub e2c1f86946 Merge pull request #5663 from greenya/master
[core:time] time_js: tick_now(): Use f64 (was f32) as a return type of odin_env.tick_now()
2025-09-08 18:25:08 +01:00
gingerBillandGitHub 0711806c21 Merge pull request #5653 from smoke-y/emptyParen
Fix compiler segfault when trying to use () as type
2025-09-06 12:23:48 +01:00
gingerBillandGitHub a870dd3d69 Merge pull request #5654 from smoke-y/procType
Fix compiler segfault when trying to use proc at type level
2025-09-06 12:23:35 +01:00
gingerBillandGitHub 38f308b348 Merge pull request #5656 from ekliot/vendor-box2d-bindings
`vendor:box2d` fix CreateMotorJoint proc signature
2025-09-06 12:23:21 +01:00
gingerBillandGitHub 3bbf3641a1 Merge pull request #5648 from thetarnav/handle-allocator-error-in-read-entire-file
Handle allocator error when appending in read_entire_file_from_file
2025-09-02 15:49:42 +01:00
gingerBillandGitHub 42cb1add91 Merge pull request #5645 from thetarnav/allocator-proc-require-results
Add require_results attr to procs returning an allocator
2025-09-02 15:47:27 +01:00
gingerBillandGitHub ac93021ec9 Merge pull request #5643 from FourteenBrush/patch-2
Add `LPFN_GETACCEPTEXSOCKADDRS` to ws2_32.odin
2025-09-01 11:36:40 +01:00
gingerBillandGitHub 3ff58e00e4 Merge pull request #5634 from puugz/patch-1
Fix broken wglUseFontBitmaps binding
2025-08-31 11:56:08 +01:00
gingerBillandGitHub b7a9113ac4 Merge pull request #5633 from kalsprite/fix_win_ole_api
fix typo in CLSIDFromProgIDEx signature
2025-08-30 14:47:31 +01:00
gingerBillandGitHub f926c1861f Merge pull request #5627 from A1029384756/master
skip errors on polymorphic procs when in a proc group with other options
2025-08-29 13:53:55 +01:00
gingerBillandGitHub f7936419cd Merge pull request #5625 from StanislavNikolov/master
Fixed and added obj-c methods for NSWindow
2025-08-28 13:51:54 +01:00
gingerBillandGitHub 2f0b018db2 Merge pull request #5612 from Bazzas-Forks/master
Add `add/remove_document_event_listener()` to `core:sys/wasm/js`
2025-08-26 13:28:41 +01:00
gingerBillandGitHub ac71a0aed1 Merge pull request #5617 from thetarnav/soa-resize-zero-memory
Zero existing memory when using resize_soa (fixes #5614)
2025-08-26 13:28:05 +01:00
gingerBillandGitHub 83a78d5d28 Merge branch 'master' into soa-resize-zero-memory 2025-08-26 11:26:15 +01:00
gingerBillandGitHub 0a02f5f076 Merge pull request #5616 from thetarnav/soa-allocator-resize
Support using allocator resize in `_reserve_soa` (fixes #5615)
2025-08-26 11:24:32 +01:00
gingerBillandGitHub 2b6ed996be Merge pull request #5613 from GloriousPtr/queue_fix_caller_location
Propogate `#caller_location` to core:container/queue procs
2025-08-22 16:55:00 +01:00
gingerBillandGitHub fbcd485b7e Merge pull request #5606 from thetarnav/sdl-ttf-require-results
Split SDL_ttf bindings to group with and without require_results
2025-08-22 16:54:25 +01:00
gingerBill 9381040711 Fix parentheses for raddbg expression 2025-08-22 09:32:17 +01:00
gingerBill 46d4f22ef4 Remove debug print 2025-08-22 09:29:44 +01:00
gingerBill 23689d0c01 Improve the raddbg type views generated from fmt-based struct field tags 2025-08-22 09:29:07 +01:00
gingerBill d5b1fc48fb Add @(raddbg_type_view=<optional-string>)
If no string parameter is provided, then one will be generated from the struct field tags.
The attribute must be applied if the automatic struct field tag approach is to be used.
2025-08-21 17:14:33 +01:00
gingerBillandGitHub 06179fc736 Merge pull request #5599 from BradLewis/fix/file-tag-eof
Check for EOF when scanning file tags
2025-08-19 12:58:29 +01:00
gingerBill 409e397566 Fix bug with $fn: proc() when passed with a global variable 2025-08-18 21:47:09 +01:00
gingerBill f8b56ccd88 Update stb_truetype.c again 2025-08-18 15:51:11 +01:00
gingerBill a0f6084b48 Rebuild stb libraries and compile stb_truetype using the stb_rect_pack rects 2025-08-18 14:26:52 +01:00
gingerBillandGitHub ebd26135e8 Merge pull request #5596 from alessio98888/master
Fix buddy allocator assert
2025-08-18 12:38:02 +01:00
gingerBillandGitHub e0a9b23f02 Merge pull request #5597 from connnnal/d3d12-min-precision
Make D3D12_FEATURE_DATA_D3D12_OPTIONS.MinPrecisionSupport a bitset
2025-08-18 12:28:35 +01:00
gingerBillandGitHub fb46413071 Merge pull request #5590 from leecommamichael/master
[vendor:OpenGL] fix misnamed parameter
2025-08-16 09:06:25 +01:00
gingerBillandGitHub 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
gingerBillandGitHub 6d68488a50 Merge pull request #5533 from weskerfoot/add-missing-xlib-proc
add missing xlib functions for getting and setting text properties
2025-08-15 12:12:36 +01:00
gingerBillandGitHub 977e971c8b Merge pull request #5581 from Xotchkass/rand-cleanup
Cleanup in `math/rand` and `runtime/random_generator`
2025-08-15 12:12:17 +01:00
gingerBillandGitHub 7577bfc28b Merge pull request #5582 from diniamo/fix-itimer-flags
Fix ITimer_Flags_Bits enum value
2025-08-15 12:11:28 +01:00
gingerBillandGitHub aff96e7d3f Merge pull request #5583 from slowhei/master
Fix Typo in `Device_newBufferWithSliceNoCopy`
2025-08-14 15:46:22 +01:00
gingerBillandGitHub 71e992d5bf Merge pull request #5579 from wrathdoesthat/master
Added getaddrinfo flags
2025-08-13 17:17:39 +01:00
gingerBill 2648bd8fcd Allow #+feature global-context for @(init) and @(fini) procedures as an interim measure 2025-08-12 09:51:16 +01:00
gingerBill 8df69c95c3 Add -integer-division-by-zero:all-bits 2025-08-10 18:29:08 +01:00
gingerBill b6e0b48481 Rename block names from div to mod. 2025-08-10 17:58:46 +01:00
gingerBill 4cbcb3ace7 Add shortcut for unsigned_x/power_of_two -> unsigned_x >> log2(power_of_two) 2025-08-10 17:53:07 +01:00
gingerBill da76c743e9 Add shortcut for division by a constant 2025-08-10 17:42:49 +01:00
gingerBill ecb6b35da5 Fix name canonicalization for named specialized forms 2025-08-10 15:29:53 +01:00
gingerBill 983f3ec423 Add #+feature global-context
This allows to use of `context` in the global scope on a per file basis.
2025-08-10 15:03:30 +01:00
gingerBillandGitHub 1524b40bc9 Merge pull request #5556 from odin-lang/bill/division-by-zero
Define Integer Division By Zero
2025-08-10 14:48:33 +01:00
gingerBillandGitHub a0ff05e633 Merge pull request #5558 from odin-lang/bill/init-fini-changes
`@(init)` & `@(finit)` Changes.
2025-08-10 12:47:15 +01:00
gingerBillandGitHub dbc338248e Merge pull request #5567 from alexriedl/webgl-binding-fixes
Webgl binding fixes
2025-08-10 12:44:36 +01:00
gingerBill 14ca1c8c89 Add another contextless 2025-08-08 15:41:44 +01:00
gingerBillandGitHub 786d454443 Merge pull request #5559 from Creativty/variable_dereference_suggestion
Improve dereference missing suggestion message
2025-08-08 15:34:45 +01:00
gingerBill 0f5ced52a0 Assign context in scope 2025-08-08 13:42:48 +01:00
gingerBill 804984ed35 contextless fixes for js 2025-08-08 13:29:49 +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 a0462aa8d7 Fix test for global procedure initialization 2025-08-08 12:49:24 +01:00
gingerBill 78290ceef3 Add contextless to another proc 2025-08-08 12:38:20 +01:00
0c7260e701 Update src/main.cpp
Co-authored-by: Itzik Shneorson <35134559+itziksn@users.noreply.github.com>
2025-08-08 12:37:36 +01:00
gingerBill 414b1059a8 Fix typo 2025-08-08 12:36:56 +01:00
gingerBill d381d0ece4 Fix more procedure to be contextless 2025-08-08 12:33:34 +01:00
gingerBill d3f649d244 Make get_args contextless 2025-08-08 12:25:58 +01:00
gingerBill 06e48099ca Improve error message 2025-08-08 12:23:22 +01:00
gingerBill b86932c03c Disallow proc "odin" procedures to be called in the global scope in variable declarations 2025-08-08 12:21:50 +01:00
gingerBill 8b860da2eb Remove unused import 2025-08-08 12:12:08 +01:00