path: root/libstd
AgeCommit message (Collapse)Author
2014-11-04Check for exhaustiveness in patterns.Ori Bernstein
2014-10-09Split out parsing of dial strings.Ori Bernstein
2014-10-07Write out all important attrs on decls in usefiles.Ori Bernstein
2014-10-07Start adding support for '$noret' attrOri Bernstein
This flags a function as non-returning.
2014-10-07Rename so that the sys files have the architecture.Ori Bernstein
They are, after all, arch specific.
2014-10-07Update plan9 mkfiles for libstd/libsys split.Ori Bernstein
2014-10-06Add an include for '.' to the bldfile.Ori Bernstein
Doesn't fully solve our interlibrary dependency problem, but hacks around it for now.
2014-10-06Partly fix bldfile.Ori Bernstein
Still missing support for local deps.
2014-10-06'test.myr' is junk.Ori Bernstein
2014-10-06Fix symbol names.Ori Bernstein
2014-10-06Fix osx libsys build.Ori Bernstein
2014-10-06Update other systems for the libstd/libsys split.Ori Bernstein
2014-10-06Split libstd into libstd and libsys.Ori Bernstein
2014-10-06Rename make variables.Ori Bernstein
2014-10-06Delete test.myrOri Bernstein
It's not used.
2014-10-05Add plan9 mkfiles and runtime.Ori Bernstein
2014-10-03Make the makefile copy the files correctly.Ori Bernstein
2014-10-03Asm files are architecture specific.Ori Bernstein
2014-10-03Strip out platform suffixes from compiler output.Ori Bernstein
foo+platformstrig.myr will compile to foo.o for now.
2014-10-03Use '+' as the system separator.Ori Bernstein
2014-10-01Clear memory on deallocation.Ori Bernstein
Helps detect use-after-free.
2014-09-29Fix compilation.Ori Bernstein
We shouldn't jump to a nonexistent label.
2014-09-29Only succeed blatting if we write the whole buffer.Ori Bernstein
Writing without error isn't quite the right condition.
2014-09-25Add strrfind function for reverse string searches.Ori Bernstein
2014-09-25Add chdir() syscall.Ori Bernstein
2014-09-24Fix sysctl args.Ori Bernstein
The kernel seems to check that the newmib is null, not that the length is 0. This means that we need to explicitly check for 0 length mib and pass null.
2014-09-23Add 'getenvv' function.Ori Bernstein
Returns an environment variable, with a default value.
2014-09-23Add unlink() syscall.Ori Bernstein
2014-09-23Add missing implementation.Ori Bernstein
The function was added to sys.myr, so.. oops.
2014-09-22Implement clone.Ori Bernstein
2014-09-20Get rid of extra digit charactersOri Bernstein
We only support base 10 float formatting.
2014-09-18Fix ABI bugs in cstring() and alloca() calls.Ori Bernstein
These calls were clobbering registers. There was also an off by one error in cstring() where it overwrote the top byte of the stack. (This didn't matter before the ABI fixes, since the top byte of the stack was a return address that never got used.)
2014-09-18Save and restore xmm registers correctlyOri Bernstein
Generate instructions with the right mode and all that good stuff.
2014-09-17Add support for 'pkglocal' keyword.Ori Bernstein
pkglocal makes the export only available within the package.
2014-09-17Rename float -> fltOri Bernstein
Matches int, etc.
2014-09-17Add support for relative cutoffs.Ori Bernstein
2014-09-17Add support for absolute cutoffs.Ori Bernstein
2014-09-17Remove prototype file.Ori Bernstein
2014-09-17Add missing file.Ori Bernstein
2014-09-17Fix flipped sign for float32explode.Ori Bernstein
Fixed the flipped sign in float64s, forgot to fix it for float32
2014-09-17Float formatting finally implemented.Ori Bernstein
2014-09-16Preserve sign in division/modOri Bernstein
We were leaving the sign to whatever the arg came in with.
2014-09-16Simplify the float explosion.Ori Bernstein
Don't try to adjust the biases/exponents. (I should probably try to fix the biases/exponents, or at least return the bias.)
2014-09-16Fix up bigint comparisons.Ori Bernstein
This cleans up the code a bit.
2014-09-16Clean up bigint code a bit.Ori Bernstein
2014-09-15Add comparison functionality to bigint.Ori Bernstein
2014-09-15Check for failures in big allocations.Ori Bernstein
We forgot to check for errors in the mmap() return value.
2014-09-15Make the big.*i bigint ops generic.Ori Bernstein
Now you can call them with whatever integer type you want.
2014-09-15Fix execv{e} buffer size.Ori Bernstein
We were allocating enough, but truncating it. Oops.
2014-09-15Fix typo in sort.Ori Bernstein
We were using the wrong array length.