Fold LIBC_UNICODE into LIBC_STR

This commit is contained in:
Justine Tunney 2022-08-13 08:42:32 -07:00
parent 17aea99bb3
commit 367d06d9e4
173 changed files with 170 additions and 355 deletions

View file

@ -72,7 +72,7 @@
#include "libc/sysv/consts/termios.h"
#include "libc/sysv/errfuns.h"
#include "libc/time/time.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "libc/x/x.h"
#include "third_party/gdtoa/gdtoa.h"
#include "third_party/getopt/getopt.h"

View file

@ -58,7 +58,6 @@ TOOL_BUILD_DIRECTDEPS = \
LIBC_THREAD \
LIBC_TIME \
LIBC_TINYMATH \
LIBC_UNICODE \
LIBC_X \
LIBC_ZIPOS \
NET_HTTPS \

View file

@ -48,7 +48,6 @@ TOOL_BUILD_LIB_A_DIRECTDEPS = \
LIBC_SYSV_CALLS \
LIBC_TIME \
LIBC_TINYMATH \
LIBC_UNICODE \
LIBC_X \
NET_HTTPS \
THIRD_PARTY_COMPILER_RT \

View file

@ -21,7 +21,7 @@
#include "libc/math.h"
#include "libc/mem/mem.h"
#include "libc/str/str.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "tool/build/lib/buffer.h"
#include "tool/build/lib/lines.h"
#include "tool/build/lib/panel.h"

View file

@ -21,7 +21,7 @@
#include "libc/mem/mem.h"
#include "libc/str/str.h"
#include "libc/str/tpdecode.internal.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "tool/build/lib/buffer.h"
#include "tool/build/lib/panel.h"

View file

@ -32,7 +32,7 @@
#include "libc/str/thompike.h"
#include "libc/str/tpenc.h"
#include "libc/sysv/errfuns.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "libc/x/x.h"
#include "tool/build/lib/pty.h"

View file

@ -36,7 +36,6 @@ TOOL_DECODE_DIRECTDEPS = \
LIBC_SYSV_CALLS \
LIBC_TIME \
LIBC_TINYMATH \
LIBC_UNICODE \
LIBC_X \
THIRD_PARTY_GDTOA \
THIRD_PARTY_GETOPT \

View file

@ -29,8 +29,7 @@ TOOL_DECODE_LIB_A_DIRECTDEPS = \
LIBC_STDIO \
LIBC_STR \
LIBC_STUBS \
LIBC_SYSV \
LIBC_UNICODE
LIBC_SYSV
TOOL_DECODE_LIB_A_DEPS := \
$(call uniq,$(foreach x,$(TOOL_DECODE_LIB_A_DIRECTDEPS),$($(x))))

View file

@ -76,7 +76,7 @@
#include "libc/runtime/gc.internal.h"
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "libc/x/x.h"
#define IsSpace(C) ((C) == ' ')

View file

@ -22,7 +22,6 @@ TOOL_HASH_DIRECTDEPS = \
LIBC_RUNTIME \
LIBC_STDIO \
LIBC_STR \
LIBC_UNICODE \
LIBC_STUBS
TOOL_HASH_DEPS := \

View file

@ -20,7 +20,7 @@
#include "libc/calls/struct/rlimit.h"
#include "libc/runtime/runtime.h"
#include "libc/sysv/consts/rlimit.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/getopt/getopt.h"
#include "tool/lambda/lib/blc.h"

View file

@ -22,7 +22,7 @@
#include "libc/runtime/runtime.h"
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/getopt/getopt.h"
#define USAGE \

View file

@ -22,7 +22,7 @@
#include "libc/runtime/runtime.h"
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/getopt/getopt.h"
#define USAGE \

View file

@ -27,7 +27,7 @@
#include "libc/sysv/consts/prot.h"
#include "libc/sysv/consts/rlimit.h"
#include "libc/sysv/consts/sig.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/getopt/getopt.h"
#include "tool/lambda/lib/blc.h"

View file

@ -21,7 +21,6 @@ TOOL_LAMBDA_DIRECTDEPS = \
LIBC_MEM \
LIBC_CALLS \
LIBC_RUNTIME \
LIBC_UNICODE \
LIBC_FMT \
LIBC_STR \
LIBC_SYSV \

View file

@ -29,7 +29,6 @@ TOOL_LAMBDA_LIB_A_DIRECTDEPS = \
LIBC_LOG \
LIBC_NEXGEN32E \
LIBC_RUNTIME \
LIBC_UNICODE \
LIBC_MEM \
LIBC_FMT \
LIBC_SOCK \

View file

@ -48,7 +48,6 @@ TOOL_NET_DIRECTDEPS = \
LIBC_TIME \
LIBC_THREAD \
LIBC_TINYMATH \
LIBC_UNICODE \
LIBC_X \
LIBC_ZIPOS \
NET_FINGER \

View file

@ -21,7 +21,6 @@ TOOL_PLINKO_DIRECTDEPS = \
LIBC_MEM \
LIBC_CALLS \
LIBC_RUNTIME \
LIBC_UNICODE \
LIBC_SYSV \
LIBC_STDIO \
LIBC_X \

View file

@ -32,7 +32,7 @@
#include "libc/sysv/consts/o.h"
#include "libc/sysv/consts/prot.h"
#include "libc/sysv/consts/termios.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/stb/stb_image.h"
#define SQR(X) ((X) * (X))

View file

@ -21,7 +21,7 @@
#include "libc/fmt/itoa.h"
#include "libc/runtime/gc.internal.h"
#include "libc/str/str.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "libc/x/x.h"
#include "tool/viz/lib/formatstringtable.h"

View file

@ -17,7 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/intrin/safemacros.internal.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "tool/viz/lib/formatstringtable.h"
void *FreeStringTableCells(long yn, long xn, char *T[yn][xn]) {

View file

@ -41,7 +41,6 @@ TOOL_VIZ_LIB_A_DIRECTDEPS = \
LIBC_TESTLIB \
LIBC_TIME \
LIBC_TINYMATH \
LIBC_UNICODE \
LIBC_X \
THIRD_PARTY_DLMALLOC \
THIRD_PARTY_GDTOA

View file

@ -80,7 +80,7 @@
#include "libc/sysv/consts/prot.h"
#include "libc/sysv/consts/termios.h"
#include "libc/time/time.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "libc/x/x.h"
#include "third_party/getopt/getopt.h"

View file

@ -50,7 +50,7 @@
#include "libc/sysv/consts/sig.h"
#include "libc/sysv/consts/termios.h"
#include "libc/time/time.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "third_party/getopt/getopt.h"
#define USAGE \

View file

@ -89,7 +89,7 @@
#include "libc/sysv/consts/w.h"
#include "libc/sysv/errfuns.h"
#include "libc/time/time.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "libc/x/x.h"
#include "third_party/getopt/getopt.h"
#include "third_party/stb/stb_image_resize.h"

View file

@ -28,7 +28,7 @@
#include "libc/str/str.h"
#include "libc/sysv/consts/ex.h"
#include "libc/sysv/consts/exit.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "third_party/getopt/getopt.h"
#define kOneTrueTabWidth 8

View file

@ -21,7 +21,7 @@
#include "libc/runtime/gc.internal.h"
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/unicode/unicode.h"
#include "libc/str/unicode.h"
#include "libc/x/x.h"
int a, b, w, i;
@ -77,7 +77,7 @@ int main(int argc, char *argv[]) {
char *line;
size_t linesize;
printf("\n\n\n\n\n UNICODE PLANES\n\n\n\n");
f = fopen("libc/unicode/blocks.txt", "r");
f = fopen("libc/str/blocks.txt", "r");
line = NULL;
linesize = 0;
while (!feof(f)) {

View file

@ -41,7 +41,6 @@ TOOL_VIZ_DIRECTDEPS = \
LIBC_TESTLIB \
LIBC_TIME \
LIBC_TINYMATH \
LIBC_UNICODE \
LIBC_X \
LIBC_ZIPOS \
NET_HTTP \