04ed0275ae
- Improve build logic. * fixes version string output * no need to run ./scripts/version * set our own cflags and ldflags
Soc Virnyl Estela
2024-08-10 01:05:03 +00:00
a0c53548a9
Accepting request 1188270 from devel:tools:compiler
Ana Guerrero2024-07-19 13:26:48 +00:00
566eab795a
- Remove riscv64-correct-comments.patch - Update to version 0.24.2: This release introduces a lot of breaking changes * time::date now accepts a zone offset (zoff) parameter in time::date::reckon and time::date::truncate. * time::date::calculus has been renamed to time::date::rflag. * time::date::realize requires .vloc to be set, and no longer defaults to UTC. * time::date::now() is renamed to time::date::localnow() and time::date::nowutc() is renamed to time::date::now() * time::date::EPOCHAL_JULIAN and EPOCHAL_GREGORIAN have been renamed to EPOCHDAY_JULIAN and EPOCHDAY_GREGORIAN respectively * time::chrono::eq has been removed and replaced with time::chrono::simultaneous and time::chrono::coincident * time::chrono::mzone has been renamed to time::chrono::ozone * The type of time::date::parsefail has been chnaged from rune (storing the offending format specifier) to (size, rune), which adds the index of the position where the parsing failure occured. * Several constants for format layouts in time::date have been renamed: [[EMAILZ]] => [[EMAILZONE]] [[STAMP_NANO]] => [[STAMPNANO]] [[STAMP_ZOFF]] => [[STAMPZOFF]] [[STAMP_ZONE]] => [[STAMPZONE]] [[STAMP_NOZL]] => [[STAMPLOC]] * unix::hosts * unix::passwd * "done" is now a reserved word and cannot be used in user-defined names * The following standard library symbols have been updated to use done types in their API: * bytes::next_token/bytes::prev_token * encoding::utf8 * fs::next * glob::next * io::EOF * mime * path::nextiter * strings::next/strings::prev * strings::next_token/strings::prev_token * In short, if your program matches on a function using the iterator pattern with "void" and this causes an error from 0.24.2, the correct solution is likely to rewrite it to use a for-each loop, or replace "void" with "done" in the relevant match case. * for-each loops and the "done" type * Optional parameters for functions * Support for shared memory and memfds on supported platforms * Revised and improved APIs for unix::* * Improved performance for bufio and related APIs * regex:: now supports multiple alternation (i.e. (x|y|z)) * New cryptography APIs: * crypto::ec * crypto::ecdh * crypto::ecdsa
Soc Virnyl Estela
2024-07-17 06:49:34 +00:00
b2f5c4e3a7
Accepting request 1173663 from devel:tools:compiler
Ana Guerrero2024-05-13 15:58:39 +00:00
b5a19d9994
- Update to version 1705636831.933763ed: * OpenBSD: rt add kqueue(2) wrappers * OpenBSD: rt fix termios structures * .builds/freebsd.yml drop CC=cc workaround again * Fix typo in crypto::chachapoly * strings: Simplify fromutf8 * Makefile: more quoting * remove harec2 from the makefile all target * cmd/haredoc: close read end of pipe after passing it to command * cmd/hare: fix cross-compiling qbe arch * Advance after zero-length regex matches * .builds/*: exit on non-master builds * make bootstrap * strings: rename pad functions per convention * strings: improve docs and params for pad functions * strings: readd pad functions * time: change signature of *_to_timespec funcs * notify hare-dev on ci failure * encoding::utf8: Return invalid from utf8sz on invalid starting byte * *BSD: fsflags_to_bsd return unsupported instead of abort() * rt: BPF socket structs & option levels for Linux * configs/*.mk: don't always assume cross-compilation * fmt: Fix fmt::mods documentation * unix::signal: fix typo in docs * encoding::utf8: Rename valid() to validate() and change return type * update ci for harec config.mk
Soc Virnyl Estela
2024-01-20 07:27:42 +00:00
0fd475fd3e
- Update to version 1703745713.f01c8eed: * OpenBSD: rt fix munmap system call * OpenBSD: fix CI
Soc Virnyl Estela
2023-12-28 12:13:28 +00:00
61e02bc02d
- Update to version 1703237889.6c1a836c: * correct inotify_event to use [*]u8 * make rt/+{arch}/restore.s platform-specific to +linux * rt/: prepare for IBT support * strings: Further simplify sub * os: handle errors on file system iteration * strconv::stof32 fix doc - Update specfile * Always be specific with harec versions. Some hare versions won't work if harec version is not specified.
Soc Virnyl Estela
2023-12-23 02:22:28 +00:00
3e1d128850
Accepting request 1134149 from devel:tools:compiler
Ana Guerrero2023-12-20 20:02:27 +00:00
b376fae8b9
- Move SRCDIR and HAREPATHs to /usr/src instead from /usr/lib or /usr/lib64. Respect defaults if possible. - Update to version 1702417101.ce67adb5: * +libc: Avoid overriding the default linker script on other platforms * FreeBSD: Fix build with +libc * os fs.ha: s/errors::errno/fs_to_errno/ * OpenBSD: implement os::mkfifo and os::mkfile * math: Accept types::signed instead of integer in absi * cmd/{hare,haredoc}: remove unused imports * cmd/{hare,haredoc}: Don't allocate tags * haretype: use system architecture * os: add arch type and functions * cmd/haredoc: replace split with rtokenize * io: improve seek and whence docs * test: display special msg when no tests are run * hare deps: print more intuitive msg when no deps * os+linux: add mkfile * os+linux: s/Unix/Unix-like/ * haredoc: submodules newline fixes * hare build: fix order of flags * getopt: improve docs * all: always use tabs for indentation * hare::parse::doc: add docs * haredoc: error out when more than one arg supplied * docs: rename hare-doc(5) to haredoc(5) * os+openbsd: remove extra License: header * rt+linux: fix some types * hare::parse: improve assign expr error message * strings: use type assertion in iter tests * strings: test contains with no variadic arguments
Soc Virnyl Estela
2023-12-16 01:08:08 +00:00
4168c05f18
Accepting request 1132330 from devel:tools:compiler
Ana Guerrero2023-12-11 20:50:08 +00:00
2f8689cd0d
- Update to version 1701969360.dbd2d7a5: * remove the fs::flag::TRUNC argument from os::create in cmd::hare * crypto::aes check for AVX before using the native interface * cmd::hare::build: separate tmpfile from lockfile * FreeBSD: truncate files on creation by default * scripts/moddirs: ignore configs/ * OpenBSD: add rt::unveil() * OpenBSD: add rt::pledge() * OpenBSD: rt:: sycalls introduce pathbuf1 * OpenBSD: truncate files on creation by default * OpenBSD: arm64 is called aarch64 in hare * OpenBSD: rt:: fix readlinkat, renameat * strconv: Remove base restrictions from doc comment of integertosb * OpenBSD: os::cpucount: Return the number of online CPUs
Soc Virnyl Estela
2023-12-08 13:21:09 +00:00