| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Big simplification and improvement of the entity collection system, reducing ↵ | gingerBill | 2021-07-27 | 1 | -0/+2 |
| | | | | | unneeded steps for packages | ||||
| * | Allow `core:sys/windows` to build on Windows only | Jeroen van Rijn | 2021-07-15 | 12 | -0/+12 |
| | | |||||
| * | Port core:sys/win32 tests to test runner. | Jeroen van Rijn | 2021-05-02 | 1 | -33/+30 |
| | | |||||
| * | Correct `\n` ignore rules | gingerBill | 2021-04-26 | 1 | -1/+1 |
| | | |||||
| * | Remove `use_llvm_api` related checks and other related things | gingerBill | 2021-04-25 | 1 | -2/+0 |
| | | |||||
| * | Fix style issues; Use new attribute `@(cold)` where appropriate in the new ↵ | gingerBill | 2021-04-14 | 1 | -1/+2 |
| | | | | | sync package | ||||
| * | Placate -vet. | Jeroen van Rijn | 2021-04-13 | 1 | -2/+0 |
| | | |||||
| * | Add support to core:windows to add/delete users. | Jeroen van Rijn | 2021-04-13 | 5 | -2/+943 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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); } | ||||
| * | Minor fixes | gingerBill | 2021-03-18 | 1 | -0/+1 |
| | | |||||
| * | Make trailing comma usage consistent | gingerBill | 2021-03-13 | 2 | -14/+14 |
| | | |||||
| * | Minimize unneeded casts | gingerBill | 2021-03-03 | 3 | -7/+7 |
| | | |||||
| * | update essence API header | nakst | 2021-02-26 | 1 | -522/+650 |
| | | |||||
| * | Replace inline with #force_inline in sys/es/api.odin | gingerBill | 2021-02-23 | 1 | -326/+326 |
| | | |||||
| * | Replace usage of `inline proc` with `#force_inline proc` in the core library | gingerBill | 2021-02-23 | 3 | -4/+4 |
| | | |||||
| * | Remove `#opaque` usage in core library | gingerBill | 2021-02-23 | 3 | -27/+27 |
| | | |||||
| * | Remove `bit_field` type from Odin (keyword and dead runtime code still exists) | gingerBill | 2021-02-19 | 2 | -6/+6 |
| | | |||||
| * | Add kernel32 memory api | gingerBill | 2021-02-11 | 2 | -0/+446 |
| | | |||||
| * | Fix miscorrect type usage | gingerBill | 2021-02-04 | 1 | -2/+2 |
| | | |||||
| * | Correct sys/win32 to match sys/windows | gingerBill | 2021-02-04 | 4 | -20/+66 |
| | | |||||
| * | Merge branch 'master' into parser-experiments | gingerBill | 2020-12-06 | 6 | -29/+131 |
| |\ | |||||
| | * | Deprecate `opaque` in favour of `#opaque` in the core library | gingerBill | 2020-12-04 | 3 | -27/+27 |
| | | | |||||
| | * | Update kernel32.odin | Dan Bechard | 2020-11-20 | 1 | -2/+2 |
| | | | | | | | Fix typo in CreateProcessA/W mappings (https://github.com/odin-lang/Odin/issues/785) | ||||
| | * | Add package sys/cpu - implements processor feature detection | gingerBill | 2020-11-06 | 2 | -0/+102 |
| | | | |||||
| * | | Add experimental `-insert-semicolon` functionality to tokenizer and parser | gingerBill | 2020-11-01 | 2 | -10/+9 |
| |/ | |||||
| * | Fixed package name | zhibog | 2020-10-24 | 1 | -1/+1 |
| | | |||||
| * | Fixed getting windows version. The former function is no longer working on ↵ | zhibog | 2020-10-24 | 2 | -12/+21 |
| | | | | | Windows 10. Also fixed the struct to use correct win32 names | ||||
| * | Improve default temp allocator; Fix filepath.abs behaviour on Windows | gingerBill | 2020-10-13 | 2 | -24/+37 |
| | | |||||
| * | Merge pull request #747 from Platin21/master | gingerBill | 2020-09-28 | 1 | -1/+1 |
| |\ | | | | | Fixes for MacOS 11 / Big Sur | ||||
| | * | Changed foreign imports to now use the System Framework | Platin21 | 2020-09-27 | 1 | -1/+1 |
| | | | |||||
| * | | Add `os.stat`, `os.lstat`, `os.fstat`, `filepath.walk` | gingerBill | 2020-09-28 | 1 | -0/+7 |
| |/ | |||||
| * | Update packages os, path, and filepath | gingerBill | 2020-09-26 | 1 | -0/+4 |
| | | |||||
| * | Add `package path/filepath`; Add `os.stat` for windows (TODO: unix) | gingerBill | 2020-09-25 | 2 | -0/+13 |
| | | |||||
| * | Remove usage of `do` in core library | gingerBill | 2020-09-23 | 1 | -1/+3 |
| | | |||||
| * | update essence platform | nakst | 2020-09-15 | 1 | -0/+2772 |
| | | |||||
| * | Cleanup, check sched_param and SCHED_* constants in pthread_freebsd.odin | Christian Seibold | 2020-09-15 | 1 | -13/+3 |
| | | |||||
| * | Change sizes of pthread types for freebsd | Christian Seibold | 2020-09-14 | 1 | -14/+12 |
| | | |||||
| * | Get Odin compiling and produced exe's running on FreeBSD | Christian Seibold | 2020-09-14 | 1 | -0/+125 |
| | | |||||
| * | [REFLECTION BREAKING] Modify the internals of the `map` type to increase ↵ | gingerBill | 2020-09-07 | 1 | -0/+2 |
| | | | | | performance | ||||
| * | Add sys/windows/synchronization.odin | gingerBill | 2020-08-02 | 1 | -0/+10 |
| | | |||||
| * | Update package sync | gingerBill | 2020-08-02 | 1 | -0/+1 |
| | | |||||
| * | Fix pthread_t on Macos. | Clay Murray | 2020-07-11 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From some testing with directly using C code, pthread_t on macos is 8 bytes. This is my test code: ``` #include <assert.h> #include <stdio.h> #include <pthread.h> void* PosixThreadMainRoutine(void* data) { // Do some work here. for (int i = 0; i < 2000000000; i++) { } return NULL; } pthread_t LaunchThread() { // Create the thread using POSIX routines. pthread_attr_t attr; pthread_t posixThreadID; int returnVal; returnVal = pthread_attr_init(&attr); assert(!returnVal); returnVal = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); assert(!returnVal); int threadError = pthread_create(&posixThreadID, &attr, &PosixThreadMainRoutine, NULL); returnVal = pthread_attr_destroy(&attr); assert(!returnVal); if (threadError != 0) { // Report an error. } return posixThreadID; } int main() { pthread_t t = LaunchThread(); void ** ret; printf("%d, %d\n", sizeof(t), sizeof(pthread_t)); int val = pthread_join(t, ret); printf("%d", val); return 0; } ``` running this on macos reports `8, 8`. Then I made the proposed changes and errors I was having with threads completely went away. | ||||
| * | Fix double declaration | gingerBill | 2020-07-10 | 1 | -1/+0 |
| | | |||||
| * | Fix new `package path` | gingerBill | 2020-07-10 | 1 | -0/+7 |
| | | |||||
| * | Merge pull request #339 from dotbmp/master | gingerBill | 2020-07-10 | 1 | -0/+9 |
| |\ | | | | | "core:path" Path library and "core:strings" `split` Utilities | ||||
| | * | Merge branch 'master' into master | Brendan Punsky | 2019-03-18 | 1 | -7/+17 |
| | |\ | |||||
| | * | | Fix typo | Brendan Punsky | 2019-03-13 | 1 | -1/+1 |
| | | | | |||||
| | * | | Merge branch 'master' into master | Brendan Punsky | 2019-03-13 | 4 | -5/+159 |
| | |\ \ | |||||
| | * | | | Update kernel32.odin | Brendan Punsky | 2019-03-13 | 1 | -0/+9 |
| | | | | | | | | | | | | | Add Win32 path functions | ||||
| * | | | | Update thread_unix logic | gingerBill | 2020-06-27 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Update `sys/unix`; Rename `thread.create_and_start` | gingerBill | 2020-06-27 | 3 | -1/+12 |
| | | | | | |||||