Commit Graph

1319 Commits (2286235786a7b6aea975d7e82f8e8d35c2295fb2)

Author SHA1 Message Date
Daniel Kolesa 2286235786 fix dynamic linking with ostd::build, ostd::fs 2021-05-04 03:21:49 +02:00
Daniel Kolesa 6d53597d9a make slices constructible from matching string_view 2021-03-20 02:23:13 +01:00
Daniel Kolesa 89719ba08a do not use add_global_arguments to allow subproject use 2020-09-21 03:06:34 +02:00
Daniel Kolesa 87038c94b0 update unicode data to 13.0 2020-09-19 04:23:01 +02:00
Daniel Kolesa 4b560b54f4 less bad compiler warnings handling 2020-09-19 04:19:20 +02:00
Daniel Kolesa 2077ff0752 correctly enforce symbol visibility 2020-09-19 04:16:26 +02:00
Daniel Kolesa 78ffcafc00 fix warning 2020-09-11 23:40:56 +02:00
Daniel Kolesa 89e9b8726f libostd: switch to bsd-2-clause 2020-04-27 14:22:35 +02:00
Daniel Kolesa a56966d6cf coroutines: import riscv64 assembly 2019-07-04 01:53:44 +02:00
Daniel Kolesa d729e06212 import https://github.com/boostorg/context/pull/106 (fixes ppc64) 2019-05-04 03:41:11 +02:00
Daniel Kolesa 3cc97f6fab fix some dumb gcc warnings 2019-01-28 02:53:09 +01:00
Daniel Kolesa 1ac481d887 generalized handling of stack freeing, remove coroutine swap
Swap makes no sense because coroutines are not movable.
2019-01-28 02:45:30 +01:00
Daniel Kolesa 6935e62d06 do not store stack allocator in the stack memory itself
Context calls for a page aligned stack pointer, this is problematic
on systems with 64k pages.
2019-01-28 02:13:24 +01:00
Daniel Kolesa db38b9d368 adjustments for platforms with 64k page size 2019-01-28 01:58:13 +01:00
Daniel Kolesa 5728c30da1 fix build for ppc, update context asm 2018-12-09 01:41:05 +01:00
Daniel Kolesa 8a7a4d6914 fix includes 2018-12-02 03:38:02 +01:00
Daniel Kolesa 5091022e4a rename generated tests executables to prevent conflict 2018-12-02 03:32:38 +01:00
Daniel Kolesa 256a35697a move directory range structural details into implementation 2018-12-02 03:24:52 +01:00
Daniel Kolesa 466b80b96b meson: fix build 2018-10-28 02:47:54 +02:00
Daniel Kolesa bcaa2178cf meson: provide a static library dependency for subproject usage 2018-10-28 01:52:12 +02:00
Daniel Kolesa 27ce727eef meson: pkg-config file generation 2018-10-28 01:41:45 +02:00
Daniel Kolesa 54ee8ea9e5 meson: enable building of static library 2018-10-28 01:33:43 +02:00
Daniel Kolesa d4573427d9 meson: do not set global cxxflags
this is so that libostd can work as a subproject
2018-10-28 00:53:58 +02:00
Daniel Kolesa 875172e0d8 meson: build unicode_gen with host compiler 2018-10-28 00:22:49 +02:00
Daniel Kolesa 3906e5f1ee build: add meson as the new buildsystem for libostd 2018-10-27 23:49:49 +02:00
Daniel Kolesa 4a55d315e4 update unicode data to 11.0 2018-07-02 23:49:04 +02:00
Daniel Kolesa 648273747a add path equality checks 2018-05-05 21:58:23 +02:00
Daniel Kolesa 3bdb789b7a predefined API for generating simple depend callbacks 2018-05-04 21:02:55 +02:00
Daniel Kolesa 08e8dc3f19 pass real target to dependency callbacks 2018-05-02 21:00:37 +02:00
Daniel Kolesa 3673438e8c build: dynamic dependencies using dependency callbacks 2018-05-02 20:32:47 +02:00
Daniel Kolesa 6845f5a8d8 add a way to conditionally use rules according to predicate 2018-05-01 20:46:21 +02:00
Daniel Kolesa 0915a9e6b5 prepare for more elaborate build rule matching 2018-04-30 19:51:02 +02:00
Daniel Kolesa c61dcb9597 simplify rule matching 2018-04-29 20:27:32 +02:00
Daniel Kolesa 11a366f469 only mutable ranges are iterable 2018-04-26 00:44:42 +02:00
Daniel Kolesa e0986692ef make body fix 2018-04-26 00:42:48 +02:00
Daniel Kolesa 3506facc61 move make impl bits into a source file 2018-04-24 01:24:48 +02:00
Daniel Kolesa 8c40f335a7 add make_task_simple that does not use coroutines 2018-04-23 22:33:37 +02:00
Daniel Kolesa edd60babdd separate make coroutines into their own header 2018-04-23 21:57:59 +02:00
Daniel Kolesa 621bad7474 forgot to add file 2018-04-23 21:24:46 +02:00
Daniel Kolesa 846b11e4d1 allow flexible make task types via factory funcs 2018-04-23 21:23:56 +02:00
Daniel Kolesa 4fd81d83ef no need to store substring within rule_inst 2018-04-23 00:09:47 +02:00
Daniel Kolesa 4c4c06228e collect all deps during rlist resolution 2018-04-22 23:13:35 +02:00
Daniel Kolesa 568a51c489 subtask registration in make_task 2018-04-22 21:14:18 +02:00
Daniel Kolesa d4037f9c1d split out coroutine stuff into make_task 2018-04-22 21:07:22 +02:00
Daniel Kolesa 097722b1ed add API to get the number of threads in a threadpool 2018-04-22 17:40:37 +02:00
Daniel Kolesa 230ece9fb6 relax add_depend a little 2018-04-22 17:35:15 +02:00
Daniel Kolesa 4b4839acb8 initial impl for ostd::build, an extensible buildsystem framework 2018-04-22 16:52:25 +02:00
Daniel Kolesa 493f31fabf make coroutines immovable (moving invalidates inside pointers)
If you move a coroutine, all references to the coroutine from
inside of it become invalid, including e.g. yielders. Therefore,
make coroutines immovable to prevent weird bugs...

but also, make the guts of coroutine context a bit more move
friendly (like, do not change current status after context switch
and always do it outside), in case a solution is found in the
future.
2018-04-21 22:39:07 +02:00
Daniel Kolesa 77814ca08f fix coroutine resume 2018-04-21 19:06:32 +02:00
Daniel Kolesa bf8657e141 document the rest of path.hh 2018-04-20 02:45:18 +02:00