gingerBill
|
986844a0f0
|
Change elem_counts to i64le from u64
|
2021-04-18 18:48:56 +01:00 |
|
gingerBill
|
7c1f538c02
|
Change u32 to u32le
|
2021-04-18 18:46:29 +01:00 |
|
gingerBill
|
2f1c896290
|
Add -doc-format command for the new .odin-doc file format (to be used to generate documentation tools)
|
2021-04-18 18:33:15 +01:00 |
|
Daniel Gavin
|
5a8c7b4f90
|
support multiline for and if
|
2021-04-16 02:15:29 +02:00 |
|
Daniel Gavin
|
f17fc05ff2
|
format call and binary expression
|
2021-04-16 00:44:16 +02:00 |
|
Daniel Gavin
|
a12db382e0
|
damn, ran the odinfmt with spaces instead of tabs...
|
2021-04-15 00:24:00 +02:00 |
|
Daniel Gavin
|
22daa50374
|
ran the odinfmt - looks good, except for multi line binary operations
|
2021-04-15 00:19:13 +02:00 |
|
Daniel Gavin
|
a09300fb0e
|
more fixes
|
2021-04-15 00:11:10 +02:00 |
|
gingerBill
|
8827818b1d
|
Clean-up fallback io.read_at and io.write_at behaviour
|
2021-04-14 21:25:46 +01:00 |
|
Daniel Gavin
|
bab4e5531a
|
remove print
|
2021-04-14 21:53:11 +02:00 |
|
gingerBill
|
e19958152a
|
Fix floattidf
|
2021-04-14 20:45:05 +01:00 |
|
gingerBill
|
05a181d719
|
Fix style issues; Use new attribute @(cold) where appropriate in the new sync package
|
2021-04-14 20:19:02 +01:00 |
|
gingerBill
|
d24784074c
|
Add extra error to io.Error
|
2021-04-14 20:17:54 +01:00 |
|
gingerBill
|
cd2476e084
|
Add buffer_read_at buffer_write_at
|
2021-04-14 20:13:26 +01:00 |
|
gingerBill
|
ebbc33fdb5
|
Mockup of the new package os interface (incomplete and non-functioning)
|
2021-04-14 19:39:12 +01:00 |
|
Daniel Gavin
|
1de928df78
|
fixed bug in parser on when
|
2021-04-14 18:43:04 +02:00 |
|
Daniel Gavin
|
aded272b33
|
split stmts
|
2021-04-14 18:04:48 +02:00 |
|
Daniel Gavin
|
b0721f1e0c
|
aligning structs now work
|
2021-04-14 16:31:31 +02:00 |
|
Daniel Gavin
|
7e90ece84a
|
more switch alignment work
|
2021-04-14 16:03:36 +02:00 |
|
Daniel Gavin
|
1f563f2810
|
work on switch alignment
|
2021-04-14 15:34:50 +02:00 |
|
gingerBill
|
3e54cddf64
|
Merge pull request #902 from Kelimion/run_as_user
Add support to core:windows to add/delete users.
|
2021-04-14 12:15:30 +01:00 |
|
gingerBill
|
d602709133
|
Fix typo
|
2021-04-14 12:14:44 +01:00 |
|
Daniel Gavin
|
c46317c00b
|
fix os error
|
2021-04-14 02:20:05 +02:00 |
|
Daniel Gavin
|
cb4b7efd3e
|
only align comments in same indentation blocks
|
2021-04-14 01:57:42 +02:00 |
|
Daniel Gavin
|
411beaa3bf
|
work on comments
|
2021-04-14 01:15:46 +02:00 |
|
Daniel Gavin
|
1cb3a31f32
|
have to sort attributes because they are not ordered by position(maybe bug on parser)
|
2021-04-14 00:53:34 +02:00 |
|
Daniel Gavin
|
c99afd04ad
|
work
|
2021-04-14 00:08:09 +02:00 |
|
Daniel Gavin
|
3157467e4b
|
bring over the odinfmt code
|
2021-04-13 23:59:40 +02:00 |
|
Daniel Gavin
|
2001384ae6
|
make sure to print comments at the end of the file
|
2021-04-13 23:52:23 +02:00 |
|
Daniel Gavin
|
b09e53d7fe
|
now aligning comments
|
2021-04-13 23:42:58 +02:00 |
|
gingerBill
|
8e1120bc09
|
Fix typo
|
2021-04-13 19:23:12 +01:00 |
|
Daniel Gavin
|
d046c9c072
|
at the same point as the previous formatter now
|
2021-04-13 20:18:50 +02:00 |
|
gingerBill
|
ebed29fc09
|
Revert *nix thread stuff to old sync
(I was just testing)
|
2021-04-13 19:09:04 +01:00 |
|
gingerBill
|
bee8beb2c9
|
Default to pthreads in sync2 for *nix
|
2021-04-13 19:04:44 +01:00 |
|
Daniel Gavin
|
2e8da35851
|
multiline comments work
|
2021-04-13 15:27:04 +02:00 |
|
Jeroen van Rijn
|
2942e45ff5
|
Placate -vet for unrelated core:thread update.
|
2021-04-13 02:23:14 +02:00 |
|
Jeroen van Rijn
|
aca5c7c1c6
|
Placate -vet.
|
2021-04-13 02:18:47 +02:00 |
|
Jeroen van Rijn
|
a1d871360c
|
Add support to core:windows to add/delete users.
main :: proc() {
using fmt;
using windows;
username := "testuser";
password := "testpass";
ok := add_user("", username, password);
fmt.printf("add_user: %v\n", ok);
pi := windows.PROCESS_INFORMATION{};
ok2, path := windows.add_user_profile(username);
fmt.printf("add_user_profile: %v, %v\n", ok2, path);
ok3 := windows.delete_user_profile(username);
fmt.printf("delete_user_profile: %v\n", ok3);
ok4 := windows.delete_user("", username);
fmt.printf("delete_user: %v\n", ok4);
// Has optional bool to not wait on the process before returning.
b := run_as_user(username, password, "C:\\Repro\\repro.exe", "Hellope!", &pi);
fmt.printf("run_as_user: %v %v\n", b, pi);
}
|
2021-04-13 02:09:44 +02:00 |
|
Daniel Gavin
|
1d3458cadb
|
single line comments work
|
2021-04-12 22:35:26 +02:00 |
|
gingerBill
|
2b36069924
|
Fix typo
|
2021-04-12 17:13:05 +01:00 |
|
Daniel Gavin
|
9139ca4673
|
more work on fmt
|
2021-04-12 17:01:43 +02:00 |
|
gingerBill
|
4fb4ada2c7
|
Update sync2 to just use atomic intrinsics rather than the parapoly wrappers
|
2021-04-12 15:22:40 +01:00 |
|
gingerBill
|
e3ee005404
|
Clean up path_unix.odin to make it not depend on package os
|
2021-04-11 19:05:01 +01:00 |
|
Daniel Gavin
|
e0e6bba865
|
start new prototype
|
2021-04-11 19:47:33 +02:00 |
|
gingerBill
|
1156bd9dd0
|
Remove thread stuff from sync2; Cleanup package thread
|
2021-04-11 18:25:56 +01:00 |
|
gingerBill
|
52c193316b
|
Add Thread stuff to new sync package
|
2021-04-11 15:36:55 +01:00 |
|
gingerBill
|
2db1fe7429
|
New redesign of core:sync (stored under core:sync/sync2 for the time being)
|
2021-04-11 15:18:28 +01:00 |
|
vassvik
|
8169cb4853
|
Fix missing newlines in core:math/linalg/specific.odin
|
2021-04-09 09:21:20 +02:00 |
|
gingerBill
|
394e4fcbad
|
Add __extendhfsf2 for macOS
|
2021-04-05 18:44:08 +01:00 |
|
gingerBill
|
bcda9ddee7
|
Add core:math/fixed
|
2021-04-01 17:09:34 +01:00 |
|