1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00
Commit graph

418 commits

Author SHA1 Message Date
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
Brian Fiete
74f3ef4e43 Removed debug line 2020-05-25 15:55:11 -07: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
Brian Fiete
c69150e3bb Linux font fix 2020-05-25 14:14:04 -07:00
Brian Fiete
c43212c38a Linux font fix 2020-05-25 13:38:57 -07:00
Brian Fiete
1010e8ac83 Added font failovers for missing fonts 2020-05-25 11:02:09 -07: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
84aecbca81 Smoother mouse wheel scrolling 2020-05-25 00:10:35 -07: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
cce45dbc15 Fixed issues with multi-window editing 2020-05-20 06:44:21 -07:00
Brian Fiete
9a2d200b70 Fixed a few read-only modifications 2020-05-20 06:42:38 -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
81f8a95cd8 Avoiding closing of main frame when last tab is closed 2020-05-17 07:05:07 -07:00
Brian Fiete
6976de31af Fixed issues closing tabs 2020-05-17 06:44:23 -07:00
Brian Fiete
79ae4e3eb2 SDL_GL_CreateContext name fix 2020-05-17 06:19:25 -07:00
Brian Fiete
9499c727ab Fixed title in release mode 2020-05-17 05:05:34 -07:00
Brian Fiete
50244bf400 Triple-click to select line 2020-05-16 10:11:04 -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
e8fd27fb0c Added IsEmpty property 2020-05-15 08:50:27 -07:00
Brian Fiete
7211381672 Added a windows-only error 2020-05-15 06:28:32 -07:00
Brian Fiete
e18b35df7a
Merge pull request #258 from qzole/sdl_handle_events
Added virtual HandleEvent to SDLApp
2020-05-14 15:17:06 -07:00
Zoltán Kurucz
10ad3514a4 Made malloc and free public in SDL binding (used for freeing up clipboard text data in imgui binding) 2020-05-14 23:52:18 +02:00
Zoltán Kurucz
cae19b3363 Added virtual HandleEvent to SDLApp for ease in case it's needed (imgui binding for example handles all events like this.
Removed duplicated Quit event type handling.
2020-05-14 23:39:25 +02:00
Brian Fiete
21e2269d43 Fixed FieldInfo.SetValue for objects 2020-05-13 15:07:03 -07:00
Brian Fiete
f96b1a5d7a Moved into MiniZ namespace 2020-05-13 07:40:06 -07:00
Brian Fiete
740b00629a Fixed error string 2020-05-13 07:39:56 -07:00
Brian Fiete
962ebba6e9 Disabled Alt+Enter 2020-05-11 10:31:12 -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