Commit graph

26 commits

Author SHA1 Message Date
098c3e84b1 Add common directories to file dialog 2023-01-05 19:30:00 +03:00
7d55b374e4 Add util::open_url 2022-12-18 18:14:43 +03:00
36123f0a7d Move profiler to a separate library to break io <- util dependence 2022-06-09 11:23:53 +03:00
50e2ebd362 Fix utf8 parsing 2022-04-01 17:36:27 +03:00
fca22c93e2 Add util::type_name 2021-07-21 22:08:13 +03:00
17722a1990 Report profiler children in order of first call 2021-06-04 18:10:43 +03:00
31c27ccfd3 Support adding externally-measured profiling data to util::profiler 2021-06-04 18:01:32 +03:00
f327cc4315 Add special case for single-call functions in profiler::dump 2021-06-04 14:26:16 +03:00
0a367b8ab4 Change profiler time reporting format 2021-03-12 14:43:30 +03:00
e266bb476e Fix unused function warning for release build 2021-03-03 19:46:24 +03:00
7520901f30 Add utf8 iterator & range 2021-02-23 20:13:33 +03:00
50cc785998 Get elapsed time before locking mutex in profiler 2020-12-16 11:05:29 +03:00
eff7be5653 Redesign profiler: hierarchical, thread-aware, dump into log::info upon request 2020-12-16 11:05:29 +03:00
abd40bfa4d Make util::profiler use the logging system 2020-11-29 12:30:02 +03:00
a1cf646633 Rename movable_function -> function & better SSO 2020-11-22 12:40:26 +03:00
0d64e86ffe Add async library & move stuff from util to async 2020-11-21 16:27:38 +03:00
fb9f1d8f30 Fix threadpool name use-after-free bug 2020-11-21 15:31:25 +03:00
240d26663b Add deferred event support to executors 2020-11-21 15:16:47 +03:00
9fa32c2dd1 Add util::event_loop executor 2020-11-19 23:50:28 +03:00
daf1a3c5f4 Make threadpool implement executor interface 2020-11-19 23:50:23 +03:00
7b9e042842 Fix threadpool::wait - wait for finished tasks as well, not just empty task queue 2020-09-30 16:20:48 +03:00
1ab980f0d2 Threadpool requires having a name 2020-09-21 20:22:22 +03:00
c7dba5eef2 Add pedantic warnings to CMake & fix all warnings 2020-09-13 13:03:31 +03:00
2d6b947809 Move pixmap from util to gfx 2020-08-30 08:44:53 +03:00
6225f89f88 Uniformize code style & do a few code rearrangements 2020-08-27 16:49:46 +03:00
549f2ada41 Add util, geom, cg, pcg & gfx libs 2020-08-27 13:36:16 +03:00