1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 06:44:10 +02:00
Commit graph

449 commits

Author SHA1 Message Date
Brian Fiete
49a470e154 Extending CopyTo 2020-05-28 09:57:04 -07:00
Brian Fiete
dfde0c6dda
Merge pull request #292 from HydrogenC/patch-1
Deprecate [Stdcall]
2020-05-28 09:06:41 -07:00
Brian Fiete
0c6100476d
Merge pull request #303 from pmysl/master
Correct int64.MinValue
2020-05-28 09:03:05 -07:00
Brian Fiete
4d949d55ce
Merge pull request #302 from damianday/Array.CopyTo
Array CopyTo for spans
2020-05-28 09:02:39 -07:00
Brian Fiete
be6a132fb5 Reflection support for methods and types 2020-05-28 07:36:34 -07:00
Damian Day
d9c277389e Third time lucky
This is my test code.

var sourceArr = scope int[10] (1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
var destArr = scope int[10];
var detSpan = Span<int>(destArr, 0, 5);

sourceArr.CopyTo(detSpan, 2);
// destArr holds 3, 4, 5
2020-05-27 23:33:00 +01:00
Piotr Myśliński
f5bbc4b6c6
Correct int64.MinValue 2020-05-27 20:15:28 +02:00
Damian Day
dd33da0d7c Update Array.bf
Remove length parameter.
2020-05-27 17:26:35 +01:00
Damian Day
8ee09f278f Array CopyTo for spans
CopyTo, allows copying memory from an array to a span.
2020-05-27 15:36:51 +01:00
Damian Day
e9a7625d8b Array Copy
Added copying without specifying offsets.
2020-05-27 14:53:02 +01:00
Brian Fiete
bff1d657cc
Merge pull request #300 from damianday/bool
Bool Parse
2020-05-26 13:40:31 -07:00
Brian Fiete
3c4a319250
Merge pull request #299 from damianday/QueueFixes
Minor updates to Queue
2020-05-26 13:39:27 -07:00
Brian Fiete
e3739d28de
Merge pull request #298 from RogueMacro/master
Fixed Type.GetMethod
2020-05-26 13:38:51 -07:00
Damian Day
3ac6af88a3 Bool Parse
Implemented parsing boolean strings.

This implementation does not trim whitespace and nulls and check strings if the string does not match at first like C#.
2020-05-26 20:56:19 +01:00
Damian Day
a0210f1d85 Minor updates to Queue 2020-05-26 20:29:15 +01:00
RogueMacro
6d3ac2052b
Update TypeInstance.bf 2020-05-26 21:05:40 +02:00
Damian Day
d17b016397 IndexOfAny
Implemented IndexOfAny for String and StringView.
2020-05-26 20:04:06 +01:00
Piotr Myśliński
81168d631b
Fix formatting of Int32.bf and Int64.bf 2020-05-25 23:58:52 +02:00
Piotr Myśliński
bec7dff380
Fix ToString() for int32.MinValue and int64.MinValue 2020-05-25 23:58:43 +02:00
LZMPDev
ad0dab0d4c Revamp Stdcall 2020-05-25 20:46:28 +08:00
Brian Fiete
33286fb804 Fixed missing length in SV target 2020-05-25 05:37:56 -07:00
ExMatics HydrogenC
7b4239d08e
stdcall deprecation 2020-05-25 19:54:39 +08:00
Brian Fiete
4b965a440d Console fix 2020-05-22 06:05:33 -07:00
RogueMacro
fc229c9835
Update Console.bf 2020-05-22 11:06:20 +02:00
Brian Fiete
f8b27c13a2 Enhanced var capabilities for scripts and building 2020-05-21 11:47:15 -07:00
Brian Fiete
952e3aec58 Nullable fixes with != 2020-05-19 12:27:26 -07:00
Brian Fiete
693334bdc8 Fixes to SetDeleted 2020-05-18 08:30:42 -07:00
Brian Fiete
76dfe97d78 Another pass at marking scoped raw arrays as deleted 2020-05-18 06:58:02 -07:00
Brian Fiete
9499c727ab Fixed title in release mode 2020-05-17 05:05:34 -07:00
Brian Fiete
121e5b9b06 Added type enumeration 2020-05-15 15:42:44 -07:00
Brian Fiete
f3e9224a45 Made hashing better 2020-05-15 12:39:07 -07:00
Brian Fiete
63c6421413 Fixed issues using object flags on on-debug default alloc 2020-05-15 10:33:56 -07:00
Brian Fiete
7211381672 Added a windows-only error 2020-05-15 06:28:32 -07:00
Brian Fiete
21e2269d43 Fixed FieldInfo.SetValue for objects 2020-05-13 15:07:03 -07:00
Brian Fiete
740b00629a Fixed error string 2020-05-13 07:39:56 -07:00
Brian Fiete
a30ad3d9d2 When resizing, insured we didn't release old memory until after insert 2020-05-11 10:17:45 -07:00
Brian Fiete
40fe76d903 Added missing ()'s for allocations 2020-05-11 10:16:24 -07:00
Brian Fiete
36b6d63dbb Properly using error message argument for Assert 2020-05-09 07:26:00 -07:00
Brian Fiete
b52db47d55 Got rid of Action<T>/Func<T> 2020-05-08 07:10:35 -07:00
Brian Fiete
7f0a81b5b3 Renaming params with 'own' prefix to denote ownership transfer 2020-05-07 05:47:18 -07:00
Brian Fiete
0a6949a7d0 Made 'not found' not be an error on directory deletion 2020-05-07 05:40:16 -07:00
Brian Fiete
0b73451502 Linux color fix 2020-05-06 17:41:08 -07:00
Brian Fiete
b62ac83155 Delete fix 2020-05-06 05:58:34 -07:00
Brian Fiete
caf1ea54a4 Other minor refactoring 2020-05-06 05:47:37 -07:00
Brian Fiete
31214fcbaf Minor changes to bring into standard style 2020-05-06 05:31:05 -07:00
Brian Fiete
7b337a98f4 StdCall fix for Win32 2020-05-06 05:30:29 -07:00
Brian Fiete
7e74273a26 Fixed colors 2020-05-06 05:09:35 -07:00
Brian Fiete
2fa076bff9
Merge pull request #224 from thibmo/contrib-os-version
Add Windows version retrieval functionality to corelib
2020-05-06 05:08:01 -07:00
Thimo Braker
e43d7bf4a9 Add Windows version retrieval to OperatingSystem.bf 2020-05-05 18:28:38 +02:00
Thimo Braker
5a6257f135 Change Version.bf fields to uint32 for compat 2020-05-05 18:27:24 +02:00