aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [tests] Skip issues test on Windows for now.dev-2022-10Jeroen van Rijn2022-10-021-5/+0
|
* Add `system:legacy_stdio_definitions.lib` to `.odin` for WindowsgingerBill2022-10-021-1/+4
|
* Merge pull request #2102 from yay/darwin-read-writegingerBill2022-10-021-11/+29
|\ | | | | Darwin: allow reading/writing files larger than max(i32)
| * Fix indentationVitalii Kravchenko2022-10-021-10/+10
| |
| * Darwin: allow reading/writing files larger than max(i32)Vitalii Kravchenko2022-10-021-12/+30
| |
* | Merge pull request #2099 from Skytrias/skytrias-json-unused-fieldgingerBill2022-09-301-9/+7
|\ \ | |/ |/| allow json struct unused fields
| * else statement to allow skipping unused struct fieldsMichael Kutowski2022-09-301-9/+7
|/
* Merge pull request #2096 from flplv/masterJeroen van Rijn2022-09-291-1/+1
|\ | | | | Fix llvm copy on nightly ci
| * Fix llvm copy on nightly ciFelipe Lavratti2022-09-291-1/+1
|/
* Merge pull request #2093 from flplv/masterJeroen van Rijn2022-09-282-2/+6
|\ | | | | Change llvm-copy-to-zip path to use real one, instead of link
| * Change llvm-copy-to-zip path to use real one, instead of linkFelipe Lavratti2022-09-282-2/+6
| |
* | Merge pull request #2092 from Kelimion/strconvJeroen van Rijn2022-09-286-207/+247
|\ \ | |/ |/| [strconv] Add parsing of Inf & NaN
| * [strconv] Add parsing of Inf & NaNJeroen van Rijn2022-09-286-207/+247
|/
* Merge pull request #2085 from matias-eduardo/patch-2gingerBill2022-09-271-0/+1
|\ | | | | Add WSATRY_AGAIN to windows/types.odin
| * Add WSATRY_AGAIN to windows/types.odinmatias2022-09-261-0/+1
| | | | | | Not sure if the intent is to only add the defines that are commonly used in this file in order to keep things lean, rather than the complete list of WSA error codes from winerror.h into winerror.odin. I can close this and redo by adding all the WSA codes into winerror.odin and deleting these instead if preferred.
* | Merge pull request #2090 from ftphikari/mastergingerBill2022-09-272-1084/+1095
|\ \ | | | | | | sys/windows: add a couple of functions and constants, fix formatting
| * \ Merge branch 'odin-lang:master' into masterftphikari2022-09-2773-524/+1852
| |\ \
| * \ \ Merge remote-tracking branch 'origin/master'hikari2022-09-2714-36/+60
| |\ \ \
| * | | | sys/windows: add a couple of functions and constants, fix formattinghikari2022-09-272-1084/+1095
| | | | |
* | | | | Use `uint` instead of `int` to improve code generation for bounds checkinggingerBill2022-09-275-12/+9
| | | | |
* | | | | Add node data for union when using ↵gingerBill2022-09-272-1/+2
| |_|/ / |/| | | | | | | | | | | `intrinsics.type_convert_variants_to_pointers`
* | | | Remove extra pointer indirectiongingerBill2022-09-271-2/+2
| | | |
* | | | Override lbArgKind to be indirect for `#by_ptr` parametersgingerBill2022-09-271-0/+11
| |_|/ |/| |
* | | Fix typo in `map_insert`gingerBill2022-09-231-1/+1
| | |
* | | Merge pull request #2074 from Tetralux/serial-dcbJeroen van Rijn2022-09-221-0/+144
|\ \ \ | | | | | | | | [sys/windows] Add DCB structure, SetCommState, GetCommState
| * | | [sys/windows] Add DCB structure, SetCommState, GetCommStateTetralux2022-09-221-0/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are the procedures for configuring a serial port. You simply open the port with CreateFile (os.open), followed by a call to GetCommState, setting the DCB as desired, followed by a SetCommState call. The DCB structure uses C bitfields, so a configuration struct is provided along with a helper procedure to make it easier to initialize in Odin code. This makes it possible to initialize a DCB structure with one call to the helper: ``` dcb: DCB windows.init_dcb_with_config(&dcb, { BaudRate = 115200, ByteSize = 8, Parity = .None, StopBits = .One, }) ``` (The parity and the stopbits are actually optional in this example, as their zero-values are None and One, respectively.)
* | | | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2022-09-221-2/+5
|\ \ \ \
| * \ \ \ Merge pull request #2071 from colrdavidson/fix-target-featuresJeroen van Rijn2022-09-221-2/+5
| |\ \ \ \ | | | | | | | | | | | | fix target features to make wasm intrinsics happy
| | * | | | fix target features to make wasm intrinsics happyColin Davidson2022-09-211-2/+5
| |/ / / /
* / / / / Make `intrinsics.{count_ones, count_zeros, count_trailing_zeros, ↵gingerBill2022-09-221-1/+85
|/ / / / | | | | | | | | | | | | count_leading_zeros}` work at compile time
* | | | Fix `libc.aligned_alloc` for Windows (thanks Microsoft(!))gingerBill2022-09-221-3/+16
| | | |
* | | | Fix `libc.aligned_alloc` on WindowsgingerBill2022-09-221-0/+13
| | | |
* | | | `cap(Enum)` (equivalent to `max(Enum)-min(Enum)+1`)gingerBill2022-09-221-10/+15
| | | |
* | | | Minor technical improvementgingerBill2022-09-221-2/+5
| | | |
* | | | Add `slice.enumerated_array`gingerBill2022-09-221-0/+7
| | | |
* | | | Improve error message for slicing an enumerated arraygingerBill2022-09-221-1/+14
| | | |
* | | | Improve suggestions for certain assignmentsgingerBill2022-09-221-1/+13
| | | |
* | | | Minor style changegingerBill2022-09-221-3/+2
| | | |
* | | | Improve error message for `check_is_expressible` (Cannot convert X to Y from Z)gingerBill2022-09-221-3/+6
| | | |
* | | | Improve error messages for compile time known bounds checkinggingerBill2022-09-222-7/+8
| | | |
* | | | Clean up private internal constant global handlinggingerBill2022-09-223-21/+21
| | | |
* | | | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2022-09-2234-57/+201
|\ \ \ \
| * | | | Enable libc complex test.Jeroen van Rijn2022-09-221-2/+5
| | | | |
| * | | | Merge pull request #2070 from 13419596/mastergingerBill2022-09-213-2/+130
| |\ \ \ \ | | | | | | | | | | | | Correcting libc pow bindings
| | * | | | Correcting libc pow bindings134195962022-09-213-2/+130
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Adding tests that libc pow(f) functions - have two arguments - behave as expected for simple inputs.
| * | | | Merge pull request #2065 from yay/core-os-indent-fixJeroen van Rijn2022-09-211-1/+1
| |\ \ \ \ | | | | | | | | | | | | Fix indent
| | * | | | Fix indentVitaly Kravchenko2022-09-211-1/+1
| | | | | |
| * | | | | Merge pull request #2063 from odin-lang/map-header-changesgingerBill2022-09-2110-210/+216
| |\ \ \ \ \ | | |_|/ / / | |/| | | | Map header changes
| * | | | | [examples/all] Make OS-specific for zlib, cmarkJeroen van Rijn2022-09-213-4/+10
| | | | | |
| * | | | | Add vendor:zlib to examples/all; prefix vendor packages.Jeroen van Rijn2022-09-2127-49/+56
| | | | | |