Commit Graph

  • 722b638e2c "fix" #4169, looks like llvm 14 bug Laytan 2024-08-31 19:40:05 +02:00
  • c1cb1a3d7e Simplified #assert check Jeroen van Rijn 2024-08-31 19:13:37 +02:00
  • a4ac50a5b4 Check for #assert condition to be a constant bool Jeroen van Rijn 2024-08-31 19:06:17 +02:00
  • 6ba1506aa9 Fix possible leaks in os2.user_* calls gingerBill 2024-08-31 15:12:47 +01:00
  • b4bdb73158 Fix new(sync.Mutex) gingerBill 2024-08-31 15:06:20 +01:00
  • 476030dd28 Fix #4156 gingerBill 2024-08-31 13:51:35 +01:00
  • 186565b0c1 Simplify the implementation of POSIX langinfo for Linux: Isaac Andrade 2024-08-30 20:34:12 -06:00
  • 575aedc3bf Implement POSIX support for Linux for the following facilities: Isaac Andrade 2024-08-30 19:45:56 -06:00
  • e0a2e52601 c/libc: fix time link name Laytan Laats 2024-08-31 02:49:46 +02:00
  • 7f3d8e115f remove comma Laytan Laats 2024-08-31 02:45:17 +02:00
  • 584e8859bf Merge pull request #4168 from laytan/fix-bad-import-name-errors Laytan 2024-08-31 02:44:16 +02:00
  • 8e855155fd fix bad import Laytan Laats 2024-08-31 02:38:07 +02:00
  • 7624ecf4ba fix some issues with the "bad import name" errors Laytan Laats 2024-08-31 02:30:32 +02:00
  • bfedcd7035 encoding/csv: fix examples Laytan Laats 2024-08-30 23:31:31 +02:00
  • 6ef49d4f24 core/odin: support #type_assert and #no_type_assert Laytan Laats 2024-08-30 23:21:35 +02:00
  • 8ad4427a25 Add a few more reflect.bit_field_* helpers. Jeroen van Rijn 2024-08-30 22:40:14 +02:00
  • db3bcd2cea Add reflect.bit_fields_zipped Jeroen van Rijn 2024-08-30 22:04:10 +02:00
  • 3072a02d5d Attempt to account for BuildTools installer's lack of \ Jeroen van Rijn 2024-08-30 18:54:51 +02:00
  • 773703bc83 Merge pull request #4009 from thetarnav/file-tag-parser gingerBill 2024-08-30 11:58:18 +01:00
  • a4e865f90b Fix #4166 gingerBill 2024-08-30 11:01:06 +01:00
  • 9197a126fc Use XOR directly rather than (~x) & mask gingerBill 2024-08-30 10:52:11 +01:00
  • 38ea276231 Make ~some_bit_set work on only the possible bits by doing a mask with the full set gingerBill 2024-08-30 10:48:21 +01:00
  • b020b91df2 Merge pull request #4112 from Feoramund/fix-test-io-issues gingerBill 2024-08-30 09:57:02 +01:00
  • 291048cb3b Merge pull request #4165 from avanspector/master gingerBill 2024-08-30 09:56:36 +01:00
  • 3557955f53 Align the dirent struct for linux Isaac Andrade 2024-08-29 20:17:39 -06:00
  • 2119062a5a add more dyld support Colin Davidson 2024-08-29 17:00:02 -07:00
  • 3135c89a0a Merge branch 'master' of https://github.com/avanspector/Odin avanspector 2024-08-30 01:32:21 +02:00
  • 47f423c123 Set a flag for delayed checking avanspector 2024-08-30 01:32:06 +02:00
  • a7a2611efc Merge branch 'odin-lang:master' into master avanspector 2024-08-29 23:44:14 +02:00
  • 9866c83d61 Add missing checker delaying avanspector 2024-08-29 23:43:01 +02:00
  • 655610ec87 Satisfy vet Damian Tarnawski 2024-08-29 23:06:50 +02:00
  • a28d574272 Add and test match_build_tags Damian Tarnawski 2024-08-29 23:02:49 +02:00
  • 06bc3b2a36 oops, duplicate const Colin Davidson 2024-08-29 13:41:53 -07:00
  • f93779d425 Parse build_project_name as [][]string Damian Tarnawski 2024-08-29 22:08:01 +02:00
  • a10f988020 Move some types to runtime, use reflection instead of lut Damian Tarnawski 2024-08-29 21:12:33 +02:00
  • cc6e1bdcd6 add more dyld info collect Colin Davidson 2024-08-29 12:02:54 -07:00
  • 39bdf4d710 Add missing require_results attr Damian Tarnawski 2024-08-12 15:24:49 +02:00
  • 7862460374 Remove useless code Damian Tarnawski 2024-08-12 15:21:46 +02:00
  • 92821300e4 Add a file tag parser to core:odin/parser Damian Tarnawski 2024-08-12 15:21:46 +02:00
  • d026ac2df2 add thread-info and memmap-info Colin Davidson 2024-08-29 11:41:36 -07:00
  • 94a1a7aed5 Merge pull request #4164 from laytan/virtual-growing-min-block-size-fix Laytan 2024-08-29 18:27:54 +02:00
  • 5a22d49b72 mem/virtual: make sure the given size is used for subsequent blocks Laytan Laats 2024-08-29 14:48:36 +02:00
  • 942017b958 Merge pull request #4163 from laytan/sysconf-pagesize Laytan 2024-08-29 14:44:54 +02:00
  • fd2ad20cd4 mem/virtual: use sysconf for retrieving page size and actually use these init procs Laytan Laats 2024-08-29 14:36:32 +02:00
  • 0e344ae2d6 add ARM thread state Colin Davidson 2024-08-29 01:54:09 -07:00
  • c520f029bb initial posix/spawn Colin Davidson 2024-08-29 00:54:45 -07:00
  • 3209b319e8 more useful pieces Colin Davidson 2024-08-28 23:50:17 -07:00
  • 4577d541ec Add contants RTLD contants on os_linux and posix (dlfcn). Isaac Andrade 2024-08-28 22:15:11 -06:00
  • f0e631cfa3 Use native types on linux POSIX structs. Isaac Andrade 2024-08-28 19:08:48 -06:00
  • cca385209b Remove double close Laytan Laats 2024-08-28 16:56:56 +02:00
  • fe2d256468 Properly close the temporary files in io tests Laytan Laats 2024-08-28 16:50:55 +02:00
  • 0f2ad95014 Fix EOF detection is os2 window read Laytan Laats 2024-08-28 16:42:14 +02:00
  • 7fa2e56cd9 Add io tests for bufio streams Feoramund 2024-08-27 19:17:20 -04:00
  • 24a53c246f Make sure seek succeeds in io.Limited_Reader test setup Feoramund 2024-08-27 18:55:18 -04:00
  • b11fa90ed2 Test empty slice usage in io procs Feoramund 2024-08-27 18:54:12 -04:00
  • f453054aff Return 0, nil in all io cases where an empty slice is provided Feoramund 2024-08-27 18:45:13 -04:00
  • ef99373c31 Fix pread and pwrite on os2 Windows Feoramund 2024-08-26 00:58:32 -04:00
  • 1cd5cbb0e4 Test io unexpected pointer movement Feoramund 2024-08-26 00:36:00 -04:00
  • 56f232e5fc Report invalid whence & offset on os2 Windows Feoramund 2024-08-25 23:52:33 -04:00
  • de1432b315 Fix Windows infinite recursion with os2._flush Feoramund 2024-08-25 23:43:13 -04:00
  • e7d6e2d163 Add documentation to os2.close Feoramund 2024-08-25 21:07:53 -04:00
  • 8b40be50b9 Update core:io tests Feoramund 2024-08-25 21:03:56 -04:00
  • 6798d15ecb Check int(abs) instead to avoid overflows Feoramund 2024-08-22 18:19:55 -04:00
  • 6aedb2695a Report Invalid_Whence on some os platforms Feoramund 2024-08-25 20:53:04 -04:00
  • 0243647e15 Add missing flush functionality to os platforms Feoramund 2024-08-25 21:01:30 -04:00
  • 3ec4db212b Report Invalid_Whence in os2 Linux seek Feoramund 2024-08-22 17:33:14 -04:00
  • 7683c1f4bb Report Invalid_Whence in os2 POSIX seek Feoramund 2024-08-22 17:32:30 -04:00
  • ef2cd9d97f Copy missing errors in os2._get_platform_error from posix to linux Feoramund 2024-08-22 15:42:36 -04:00
  • 5b9e9fb822 Add test suite for core:io Feoramund 2024-08-19 04:50:48 -04:00
  • 741ccd7ff5 Zero n on error in _file_stream_proc Feoramund 2024-08-19 19:39:59 -04:00
  • eb92a2df71 Fix indentation Feoramund 2024-08-19 18:20:43 -04:00
  • d60f404bb4 Fix OpenBSD implementations of read_at and write_at Feoramund 2024-08-19 18:17:42 -04:00
  • 6c4806835c Fix indentation Feoramund 2024-08-19 18:13:50 -04:00
  • e1555e04ad Fix Haiku implementations of read_at and write_at Feoramund 2024-08-19 18:01:33 -04:00
  • 7061032db6 Fix NetBSD implementations of read_at and write_at Feoramund 2024-08-19 17:41:06 -04:00
  • 861d892ffe Make Windows pread and pwrite conform to POSIX Feoramund 2024-08-19 17:29:23 -04:00
  • 5c8c63ae04 Fix FreeBSD implementations of read_at and write_at Feoramund 2024-08-19 17:19:00 -04:00
  • 1ced76cdd1 Fix broken cases of Seek usage in _file_stream_proc Feoramund 2024-08-19 04:35:55 -04:00
  • e83b982afe Measure bytes.Buffer size by length instead of capacity Feoramund 2024-08-19 04:03:40 -04:00
  • 7c6cc81041 Add Seek behavior to bytes.Buffer Feoramund 2024-08-19 03:15:58 -04:00
  • 521e47ffee Don't invalidate prev_rune if Reader seek failed Feoramund 2024-08-19 03:13:50 -04:00
  • 8251f4d7d0 Return .EOF in bytes.buffer_read_at instead Feoramund 2024-08-19 02:05:05 -04:00
  • da49f7eb4e Make bytes.reader_init return an io.Stream Feoramund 2024-08-19 02:03:41 -04:00
  • d66486c17e Make io.Section_Reader set base too Feoramund 2024-08-18 23:39:14 -04:00
  • 981a2e1a00 Add missing io.Stream_Mode responses Feoramund 2024-08-18 23:03:07 -04:00
  • eb6e5ee3a1 Merge pull request #4162 from laytan/os2-disable-custom-heap-allocator Laytan 2024-08-28 19:51:22 +02:00
  • 5e850e24d6 os2: disable custom heap allocator Laytan 2024-08-28 19:42:53 +02:00
  • 17d10b72d5 Merge pull request #4158 from sqrt-negativeone/master Jeroen van Rijn 2024-08-28 19:02:18 +02:00
  • b08c14b710 fix style, ensure we compile with flags -vet -strict-style -disallow-do Fakhri Mouad 2024-08-28 17:52:58 +01:00
  • d3fca60e4d Merge pull request #4160 from Kelimion/vsdd Jeroen van Rijn 2024-08-28 18:49:44 +02:00
  • d602e2cc74 Remove duplicate vet flag. Jeroen van Rijn 2024-08-28 18:43:54 +02:00
  • 831e26cb6f Remove unused import. Jeroen van Rijn 2024-08-28 18:42:54 +02:00
  • 7b276cbc7e -vet -strict-style -disallow-do Jeroen van Rijn 2024-08-28 18:36:49 +02:00
  • 7e4750c303 fix indentation in test file Fakhri Mouad 2024-08-28 17:30:30 +01:00
  • 967b6d46b2 avoid using do statement in odin codebase Fakhri Mouad 2024-08-28 17:27:27 +01:00
  • fcafd83506 Merge pull request #4159 from Kelimion/disallow-do Jeroen van Rijn 2024-08-28 18:20:39 +02:00
  • 21dab9673d More -disallow-do in CI. Jeroen van Rijn 2024-08-28 18:13:53 +02:00
  • 16503c3b91 Add Win32 procs needed to handle clipboard Fakhri Mouad 2024-08-28 16:36:06 +01:00
  • 1e6419b5b7 fix zombie thread leak in thread self cleanup Laytan Laats 2024-08-28 16:22:38 +02:00
  • ef66f96cf2 fix windows bindings where BOOL is not actually a boolean Laytan Laats 2024-08-28 15:45:41 +02:00