Feoramund
e17fc8272b
Document rationale behind RegEx shorthand classes
2024-08-04 19:12:46 -04:00
Feoramund
dde42f0ebc
Add more documentation for core:text/regex API
2024-08-04 18:56:29 -04:00
Feoramund
1ccb0b2558
Remove unused code
2024-08-04 18:56:29 -04:00
Feoramund
babdc432e9
Move Flag_To_Letter to core:text/regex/common
2024-08-04 18:56:25 -04:00
Feoramund
d3a51e208d
Hide Regular_Expression values
...
We don't directly support printing these.
To prevent future issues being raised about the pattern being missing if
someone tries to print one, hide everything.
2024-08-04 18:40:27 -04:00
Feoramund
6252712363
Add missing features to regex package documentation
2024-08-04 13:21:13 -04:00
Feoramund
90f1f7fbdf
Use unaligned_store in regex too
2024-07-24 16:48:49 -04:00
Feoramund
ff492e615c
Use unaligned_load for regex virtual machine
...
This should hopefully avoid any issues with loading operands greater
than 8 bits on alignment-sensitive platforms.
2024-07-24 16:27:20 -04:00
Feoramund
042f6de478
Remove printing facilities for Regular_Expression
...
The `original_pattern` introduced a tenuous dependency to the expression
value as a whole, and after some consideration, I decided that it would
be better for the developer to manage their own pattern strings.
In the event you need to print the text representation of a pattern,
it's usually better that you manage the memory of it as well.
2024-07-24 16:27:20 -04:00
Feoramund
c52a8a5f86
Allow configuring of MAX_CAPTURE_GROUPS for n > 10
2024-07-24 16:27:08 -04:00
Feoramund
16b644ad79
Use slice.zero instead
2024-07-24 15:23:20 -04:00
Feoramund
e642be8550
Fix handling of unclosed regex classes and repetitions
2024-07-24 15:17:37 -04:00
Feoramund
730e10bd6f
Support printing Regular_Expression in fmt
2024-07-22 14:25:12 -04:00
Feoramund
cb0704d51c
Add core:text/regex
2024-07-22 14:25:12 -04:00
Laytan
73a9a97413
Merge pull request #3476 from PucklaJ/syscall-fix
...
[sys/linux] Fix fork and execve syscalls on arm64
2024-07-22 13:58:17 +02:00
PucklaJ
1873f7215d
[sys/linux]: Change execveat flags type to Execveat_Flags
2024-07-22 11:03:25 +02:00
Laytan Laats
3e618bed40
fix reflect.any_base and reflect.any_core with any's containing nil
2024-07-22 00:51:38 +02:00
Jeroen van Rijn
51733fce68
Merge pull request #3952 from Ronaldr1985/master
...
Ensure that values in ini map are unquoted
2024-07-21 14:58:15 +02:00
Jeroen van Rijn
a056e9da81
Merge pull request #3954 from flysand7/docs-thread
...
[thread]: Document all functions in core:thread
2024-07-21 14:10:49 +02:00
flysand7
b84b4c47d7
[thread]: Document all functions in core:thread
2024-07-21 14:34:36 +11:00
Ronald
1a6885c2a3
Tidy up code
2024-07-21 00:08:20 +01:00
Ronald
c3a57853e2
Ensure that values in ini map are unquoted
2024-07-21 00:00:47 +01:00
Jeroen van Rijn
fc5ce30f34
Allow json to unmarshal empty struct.
2024-07-21 00:37:11 +02:00
Jeroen van Rijn
cdd2c98b8d
Merge pull request #3948 from flysand7/docs-time
...
[time]: Document all functions
2024-07-20 16:06:07 +02:00
flysand7
b3ca2d5e0a
[time]: Document all functions
2024-07-20 18:48:50 +11:00
flysand7
0c78cab336
[time/datetime]: Document package datetime
2024-07-20 12:49:40 +11:00
gingerBill
ba3d7ba5d3
Add core:encoding/ini to examples/all
2024-07-19 12:03:34 +01:00
gingerBill
f226eba342
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-07-19 12:00:54 +01:00
gingerBill
393ca40c23
Minor clean ups
2024-07-19 12:00:49 +01:00
gingerBill
62f455f47b
Merge branch 'master' into syscall-fix
2024-07-19 11:43:56 +01:00
gingerBill
163287d9ce
Merge pull request #3938 from Ronaldr1985/master
...
Fix memory leak in encoding/ini
2024-07-19 11:42:35 +01:00
gingerBill
2f8399fe20
Merge pull request #3940 from flysand7/os2-handle-inheritance
...
[os2] Make all handles non-inheritable by default
2024-07-19 11:38:03 +01:00
gingerBill
685dbddcb5
Merge pull request #3939 from flysand7/os2-file-type
...
[os2]: Split file type from mode bits et other small fixes
2024-07-19 11:37:54 +01:00
Laytan Laats
27f9f0ba17
fix OLS #431 , #393
2024-07-18 21:06:37 +02:00
Laytan Laats
2b6a926bb6
fix OLS #52
2024-07-18 21:06:37 +02:00
flysand7
7b501b22bb
[os2]: Split file type from mode bits
2024-07-18 23:09:27 +11:00
flysand7
75605a47e7
[os2]: Make anonymous pipes always inheritable
2024-07-18 22:57:30 +11:00
flysand7
4dcb75af6d
Make all handles non-inheritable by default
...
The sockets are left as non-inheritable because they
never should be inherited.
2024-07-18 22:50:47 +11:00
Ronald
c768d0719a
Remove unnecessary change
...
This was accidentally added, it was a change I made whilst testing.
2024-07-17 21:57:35 +01:00
Ronald
f04db7145c
Fix memory leak in encoding/ini
...
A simple change that fixes a memory leak caused by not deleting all the
values in the map
2024-07-17 21:19:14 +01:00
IllusionMan1212
07121f81ff
core/sys/windows: added drag and drop procedures
2024-07-17 00:32:25 +02:00
gingerBill
0d881e1561
Improve rand.shuffle further by splitting into 64-bit and 32-bit parts
2024-07-16 18:36:31 +01:00
gingerBill
ba49950454
Improve rand.shuffle
2024-07-16 18:33:01 +01:00
gingerBill
f66133959f
Merge pull request #3933 from laytan/fix-some-bugs-with-disable-assert
...
fix some bugs with -disable-assert
2024-07-16 17:54:21 +01:00
Laytan Laats
28fac62a02
fix some bugs with -disable-assert
2024-07-16 18:44:18 +02:00
gingerBill
a3fe5754d9
Make complex32 use higher precision where possible for calculations
2024-07-16 15:31:00 +01:00
gingerBill
03e90bf924
Use RTTI to get the error_string for Windows
2024-07-16 12:26:24 +01:00
gingerBill
8d70a264ab
Check for specific error directly
2024-07-16 12:21:55 +01:00
gingerBill
fe718460c6
Clean up bit_set usage
2024-07-16 12:17:48 +01:00
gingerBill
1afb10109e
Remove the need for temporary variables where possible
2024-07-16 12:13:39 +01:00