gingerBill
251a3a690e
Add optional sep parameter to fmt.*print and fmt.*println procedures
2020-06-25 15:00:50 +01:00
gingerBill
f22b014db0
Revert build.bat
2020-06-23 09:20:13 +01:00
gingerBill
a6edcf4f18
Fix ABI typo bug; Add pop_safe and pop_front_safe
2020-06-22 21:03:57 +01:00
gingerBill
2a598aa061
Update sync.Channel
2020-06-22 17:45:01 +01:00
gingerBill
910ab7b3d4
Fix typo
2020-06-22 17:00:35 +01:00
gingerBill
2b27300387
Fix LLVM code gen bug
2020-06-22 16:57:21 +01:00
gingerBill
0db1ebb4e5
-vet sync/channel.odin
2020-06-22 16:01:26 +01:00
gingerBill
0013033f9a
Revert build.bat
2020-06-22 15:58:48 +01:00
gingerBill
f00123742c
Add experimental sync.Channel
2020-06-22 15:54:35 +01:00
gingerBill
509e8b512f
Add time.read_cycle_counter
2020-06-22 15:54:19 +01:00
gingerBill
2562df5387
Remove unused imports in thread.odin
2020-06-22 13:35:44 +01:00
gingerBill
0ab356aa4e
Fix sync and thread on *nix
2020-06-22 13:32:58 +01:00
gingerBill
b3c51a8b44
Add thread.run* shorthand procedures; Thread.init_context use new Maybe concept
2020-06-22 13:28:37 +01:00
gingerBill
fb3aeccd36
Add built-in Maybe
2020-06-22 13:25:19 +01:00
gingerBill
9495e3d10c
Update sync.Condition to require a ^sync.Mutex on init
2020-06-22 13:24:51 +01:00
gingerBill
0f711b8719
Remove old llvm-demo
2020-06-21 20:04:29 +01:00
gingerBill
2a6130b7e1
Reorder log.do_location_header order
2020-06-19 15:24:42 +01:00
gingerBill
34384cc2f1
Clean up some of the log code
2020-06-19 15:18:23 +01:00
gingerBill
aeafed0218
Add fmt.DEFAULT_BUFFER_SIZE to be configurable with #config(FMT_DEFAULT_BUFFER_SIZE, 1<<12)
2020-06-19 15:08:54 +01:00
gingerBill
3a4bbfcfae
Change fmt.*print behaviour to match fmt.*println behaviour
2020-06-19 15:01:39 +01:00
gingerBill
01c84b32a6
Add log.panic and log.panicf
2020-06-19 12:23:06 +01:00
gingerBill
240fc65d4d
Add multi_logger.odin; Fix os_windows.odin
2020-06-19 11:49:08 +01:00
gingerBill
c9d3b95b0d
Fix time.now
2020-06-19 11:35:43 +01:00
gingerBill
9f596d6f34
Clean up package log code
2020-06-19 11:18:23 +01:00
gingerBill
2a684830f9
Fix using pointers bug with addressing struct fields
2020-06-18 17:50:54 +01:00
gingerBill
c4ba3f1c83
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-06-17 23:28:46 +01:00
gingerBill
724c776dbe
Fix enumerated array type information creation bug
2020-06-17 23:28:39 +01:00
Mikkel Hjortshoej
ad8048b615
[CI] Use powershell to download LLVM on windows, split macOS and linux.
2020-06-16 18:12:43 +02:00
gingerBill
781395ada1
Add deferred_in_out attribute
2020-06-16 16:21:44 +01:00
gingerBill
9635ea8706
Revert demo.odin
2020-06-16 16:08:51 +01:00
gingerBill
413188bab2
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-06-16 16:07:53 +01:00
gingerBill
5fa54fd2cc
Commit fix
2020-06-16 16:07:44 +01:00
gingerBill
b79e1b6b5c
Cleanup package encoding/json
2020-06-16 16:05:15 +01:00
gingerBill
8dff0f7ef5
-vet code
2020-06-16 12:57:06 +01:00
gingerBill
f85f3dce12
Revert demo.odin
2020-06-16 12:55:09 +01:00
gingerBill
5edb1e8a28
Add hash.djb2 hash.jenkins; Add container.Bloom_Filter; Add container.Ring
2020-06-16 12:53:57 +01:00
gingerBill
f70939ab4f
Use windows specific exception traps
2020-06-15 12:39:29 +01:00
gingerBill
08e271720a
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-06-15 11:54:28 +01:00
gingerBill
c3ebc49ad2
Fix @static slice for LLVM C API backend
2020-06-15 11:54:18 +01:00
vassvik
9cccb20f49
Add some tests to test utf16_to_utf8 and wstring_to_utf8
2020-06-13 18:04:19 +02:00
vassvik
6985d72fda
Make os.get_current_directory no longer strip the zero at the end of the resulting string, as it no longer should occur.
2020-06-13 15:20:39 +02:00
vassvik
0056cdffa7
Reworked win32.utf16_to_utf8 and win32.wstring_to_utf8 to scan for zeros from the start of the string instead of from the end.
...
This is useful to correctly convert strings from a buffer possibly containing multiple multiple substrings.
The resulting utf8 string is not null terminated, even if the backing memory might be null terminated.
2020-06-13 15:19:41 +02:00
gingerBill
a229f9825b
Fix -vet warning for fmt.printf("%10s")
2020-06-12 23:13:26 +01:00
gingerBill
a6ff48a5de
Merge pull request #681 from ralph-the-mighty/stringwidth
...
Control %s width in fmt.print* functions
2020-06-12 23:10:28 +01:00
Josh
6648dc9ed1
use width in when printing formatted string to control padding added after the string
2020-06-12 18:05:40 -04:00
vassvik
bbbf7168f1
Add wstring_to_utf8 to sys/win32
2020-06-12 21:06:21 +02:00
vassvik
c15ed44f82
Fix off by one bug introduced in the previous commit.
2020-06-12 18:19:46 +02:00
gingerBill
58466a6f3b
Add extra NUL termination check for string length in win32 general string convertors
2020-06-12 15:01:43 +01:00
gingerBill
be76c860a5
mem.simple_equal
2020-06-12 14:52:31 +01:00
gingerBill
4533c02cc7
Improve intrinsics.type_is_simple_compare
2020-06-12 14:37:27 +01:00