Commit Graph

  • 743480b1a4 Use regex.destroy for test captures Feoramund 2024-08-04 18:51:40 -04:00
  • 1ccb0b2558 Remove unused code Feoramund 2024-08-04 18:45:20 -04:00
  • babdc432e9 Move Flag_To_Letter to core:text/regex/common Feoramund 2024-08-04 18:42:46 -04:00
  • d3a51e208d Hide Regular_Expression values Feoramund 2024-08-04 18:40:27 -04:00
  • cd8272557f Test that a RegEx Capture pos corresponds to its groups Feoramund 2024-08-04 18:33:36 -04:00
  • 7e0fa795e4 Just compare against nil directly if the comparator is known to be nil too gingerBill 2024-08-04 21:17:58 +01:00
  • 6252712363 Add missing features to regex package documentation Feoramund 2024-08-04 13:21:13 -04:00
  • 60bc7f53d2 Comment out open_buffered gingerBill 2024-08-04 17:41:48 +01:00
  • cf3c1a85ec Remove temp parameter gingerBill 2024-08-04 17:36:28 +01:00
  • 046f72befd Mock out open_buffered gingerBill 2024-08-04 17:31:39 +01:00
  • f19436fb4d Only swap if there was an arena gingerBill 2024-08-04 17:17:09 +01:00
  • d0709a7de2 Allow for nested temp_allocator() calls to flip between arenas on TEMP_ALLOCATOR_GUARDs gingerBill 2024-08-04 17:14:24 +01:00
  • 057c35dac3 Try to keep the interface for most of the common procedures the same bill/fix-current-os-package gingerBill 2024-08-04 16:48:10 +01:00
  • f427f040fd Merge pull request #4020 from odin-lang/bill/os-errno gingerBill 2024-08-04 15:53:18 +01:00
  • c078b2dd1b Add @(require_results) gingerBill 2024-08-04 15:24:26 +01:00
  • bf948ab8ae Add stubs for flush on platforms that didn't have it gingerBill 2024-08-04 15:07:24 +01:00
  • acb1ebddf6 Fix err != 0 uses gingerBill 2024-08-04 15:01:04 +01:00
  • 0bedd3357a Disallow err != 0 with os.Error when -strict-style is enabled gingerBill 2024-08-04 14:58:12 +01:00
  • 93fabf8628 Replace err != 0 with err != nil where possible gingerBill 2024-08-04 14:57:25 +01:00
  • fc10b781af Update core/os/os2/process.odin gingerBill 2024-08-04 14:47:44 +01:00
  • 6a6b5061db Update core/os/os_darwin.odin gingerBill 2024-08-04 14:47:35 +01:00
  • b67817517e Fix replace typo gingerBill 2024-08-04 14:46:32 +01:00
  • fff1d509d5 Add read_entire_file_or_err and write_entire_file_or_err gingerBill 2024-08-04 14:41:55 +01:00
  • e8d26c5797 Move errors to where appropriate gingerBill 2024-08-04 13:41:34 +01:00
  • 3d992e2704 Improve _error_string for Linux gingerBill 2024-08-04 13:25:35 +01:00
  • 0c5b645dde Correct EOF value gingerBill 2024-08-04 13:20:33 +01:00
  • cf5ec25873 Add extra cases for flush gingerBill 2024-08-04 13:18:51 +01:00
  • 7663a2036a Add read_at/write_at to missing platforms gingerBill 2024-08-04 13:15:58 +01:00
  • c32f345c68 Move error stuff to errors.odin gingerBill 2024-08-04 12:55:08 +01:00
  • 649b25fba6 Update the demo.odin to use nil instead of os.ERROR_NONE gingerBill 2024-08-04 12:47:49 +01:00
  • bdbbbf5c95 Fix typo; remove unneeded casts gingerBill 2024-08-04 12:39:21 +01:00
  • e8b6d15db9 Fix replace typo gingerBill 2024-08-04 12:31:22 +01:00
  • 5f7fef92fa Update example to use err != nil instead gingerBill 2024-08-04 12:25:50 +01:00
  • 66b86bc7e0 Correct os errors for darwin gingerBill 2024-08-04 12:23:18 +01:00
  • 5187bb68bb Hack: Convert 0 to nil gingerBill 2024-08-04 12:08:52 +01:00
  • 97c499dbb4 Begin mapping os.Error in the rest of the codebase gingerBill 2024-08-04 11:58:04 +01:00
  • 1d75a612d5 os.Errno -> os.Error gingerBill 2024-08-04 11:47:23 +01:00
  • 160048eaee Errno -> Error gingerBill 2024-08-04 11:46:42 +01:00
  • def2e2e271 Try to map to General_Error where possible gingerBill 2024-08-04 11:44:45 +01:00
  • 28666414bc More clean ups of ERROR_NONE and != nil usage gingerBill 2024-08-04 11:37:49 +01:00
  • a241168142 Clean up err != nil usage gingerBill 2024-08-04 11:26:35 +01:00
  • 29b6eebcd5 Clean up error handling gingerBill 2024-08-04 11:21:09 +01:00
  • 7dae38ce89 Begin mocking out for other errors gingerBill 2024-08-04 11:12:45 +01:00
  • 1826b0c700 Fix copy-replace errors gingerBill 2024-08-04 11:10:17 +01:00
  • 9f9abb8fb3 Use union #shared_nil for os.Error gingerBill 2024-08-04 11:05:30 +01:00
  • e60951a902 Begin converting os.Errno to be a nil-able type as a transition period gingerBill 2024-08-04 10:51:08 +01:00
  • 71932628cc Add alias gingerBill 2024-08-04 10:08:48 +01:00
  • c691c7dc68 point stdin, stdout, stderr to /dev/null if unused in os2.process_start jason 2024-08-04 01:47:10 -04:00
  • 2a7db08c20 Remove returned bool from access and faccessat in sys/linux. Switch to using AT_EMPTY_PATH to execve with file descriptors. jason 2024-08-04 00:59:40 -04:00
  • 2b89829b52 minor edits in process_linux.odin jason 2024-08-03 18:08:00 -04:00
  • e77977c8ef fix vet errors in stb truetype Laytan Laats 2024-08-03 23:56:19 +02:00
  • 38b96a7981 change child error behavior to trap instead of exit jason 2024-08-03 17:50:47 -04:00
  • 4dd846fa29 fix readir_r link name for netbsd Laytan Laats 2024-08-03 15:54:29 +02:00
  • 61008232e4 actually fail CI when NetBSD tests fail Laytan Laats 2024-08-03 15:43:03 +02:00
  • 90e573c54a Add image.premultiply_alpha helper. Jeroen van Rijn 2024-08-03 12:58:43 +02:00
  • ac483f72eb Merge pull request #4013 from laytan/fix-os-read-dir-with-symlinks Laytan 2024-08-03 01:08:23 +02:00
  • 99d9e8f8b1 fix os.read_dir with symlinks Laytan Laats 2024-08-03 00:21:06 +02:00
  • 9f5854e24e Update orca bindings and macros to requested changes skytrias 2024-08-02 23:46:02 +02:00
  • 772dce7e42 Merge pull request #3969 from elvodqa/master Laytan 2024-08-02 17:18:34 +02:00
  • e55d09bdfa Update vendor/wgpu/examples/sdl2/main.odin Emir 2024-08-02 18:04:36 +03:00
  • 1a16585b10 Add image.pixels_to_image helper. dev-2024-08 Jeroen van Rijn 2024-08-02 14:54:52 +02:00
  • 500c117312 Merge pull request #4008 from Daxode/wasm-quality-of-life Laytan 2024-08-02 13:51:47 +02:00
  • 723e6d19be right number whoops! daniel-andersen 2024-08-02 13:38:36 +02:00
  • 8e8660fdfc Merge pull request #4007 from marcosantos98/fix-wasm Jeroen van Rijn 2024-08-02 12:31:23 +02:00
  • 3bfccde6f9 Fix: remove extra usage in webgl.odin:250 marcosantos98 2024-08-02 10:50:16 +01:00
  • e7041f785a Quality of life changes to wgpu/wasm stuff daniel-andersen 2024-08-02 11:04:10 +02:00
  • 83599957b1 Merge pull request #3998 from zen3ger/os2-temp_file_linux gingerBill 2024-08-01 20:07:21 +01:00
  • f8e0cda113 Add autogenerated orca bindings and macros from laytan skytrias 2024-08-01 19:19:24 +02:00
  • 0fa62937d5 Fix NetBSD CI Jeroen van Rijn 2024-07-31 20:19:13 +02:00
  • f627a38b4f Update rand.reset() example. Jeroen van Rijn 2024-07-31 20:00:55 +02:00
  • cc8c2f236b Merge pull request #4002 from thetarnav/update-builtin-constants Jeroen van Rijn 2024-07-31 19:47:01 +02:00
  • 953ae32607 Update builtin constants Damian Tarnawski 2024-07-31 18:55:04 +02:00
  • fdfe6b00e0 Improve output path checking Jeroen van Rijn 2024-07-31 15:16:09 +02:00
  • 8a9901aeab Merge pull request #4000 from lxmcf/master Laytan 2024-07-31 12:34:00 +02:00
  • 1f2ab84e82 Use GuiControlProperty instead of c.int Alex Macafee 2024-07-31 19:08:08 +10:00
  • 92831d7ca3 Remove GuiStyleProp Alex Macafee 2024-07-31 18:58:43 +10:00
  • f33b4ecd3e Update Raygui Style set/get functions Alex Macafee 2024-07-31 18:48:16 +10:00
  • 62191f54a0 Merge pull request #3997 from Hyrtwol/reource-fix-windows gingerBill 2024-07-30 21:26:07 +01:00
  • 04c3723985 Merge pull request #3992 from thetarnav/parser-patch gingerBill 2024-07-30 21:25:21 +01:00
  • ac19bb3a8c Merge pull request #3985 from flysand7/docs-sync gingerBill 2024-07-30 21:24:59 +01:00
  • 1913c08b7b [os2] Add missing temp_file implementation for Linux Roland Kovacs 2024-07-30 18:09:51 +02:00
  • 744d7f7ef4 fix for using .rc files Thomas la Cour 2024-07-30 16:53:14 +02:00
  • c7eb2ae6bb use sys/linux dirent instead of manual iteration jason 2024-07-30 10:19:09 -04:00
  • 792640df1f remove File_Impl_Kind from file_linux jason 2024-07-30 09:41:49 -04:00
  • 278a63caaa remove pidfd availability caching jason 2024-07-30 09:28:40 -04:00
  • a03dffcd1a improve error handling; do not report errors from failed execve jason 2024-07-30 08:45:53 -04:00
  • 3aac4b1a3e [sync]: Document all procedures flysand7 2024-07-27 22:15:27 +11:00
  • 478b2d7444 Correct the Array_Type.len comment and assign tok when making Ellipsis node Damian Tarnawski 2024-07-29 22:14:42 +02:00
  • 7f17d4eb7f Merge pull request #3991 from laytan/fix-in-map-with-union-variants Laytan 2024-07-29 02:39:47 +02:00
  • 4d1d754cae fix specific_union_variant in map_keyed_by_union not converting to union type Laytan Laats 2024-07-29 02:21:26 +02:00
  • 24e6f16f4a Clamp dot in angle_between to avoid precision errors. Jeroen van Rijn 2024-07-28 15:00:29 +02:00
  • f852aac0e7 Merge pull request #3989 from colrdavidson/spall_doc Laytan 2024-07-28 12:46:04 +02:00
  • 27f75c40ab make example compile Colin Davidson 2024-07-28 01:29:33 -07:00
  • 1d598f8287 tweak doc a little to reduce onboarding friction for thread-users Colin Davidson 2024-07-28 01:23:47 -07:00
  • cb31df34c1 Merge pull request #3362 from Hyrtwol/sys-windows-2 Jeroen van Rijn 2024-07-26 14:29:56 +02:00
  • 271ec643ed removed some comments Thomas la Cour 2024-07-26 11:30:48 +02:00
  • fe587ee79a try to add sys/windows to the normal core tests Thomas la Cour 2024-07-26 11:04:13 +02:00
  • b149b3d6c6 Merge remote-tracking branch 'upstream/master' into sys-windows-2 Thomas la Cour 2024-07-26 10:45:09 +02:00
  • 03f3ea5a9e removed old test stuff Thomas la Cour 2024-07-26 10:43:26 +02:00
  • 6e6f2a1f6b removed obsolete fiels on WIN32_FIND_DATAW to match the size from the winsdk headers Thomas la Cour 2024-07-26 10:14:13 +02:00