Rune - Clean up strings master
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 21 May 2020 18:47:08 +0000 (11:47 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 21 May 2020 18:47:08 +0000 (11:47 -0700)
commit70e27805de8da94286d10a5281b9c435a49a1a03
tree5e1759ea7b9c84507fa67b2faec0afda0c19d81a
parenteeeb308684f7dc184596de8d76be988b9aafb84f
Rune - Clean up strings

* Remove 'char' type, require 'uchar' or 'schar' to remove confusion.
  Note that 'size_t' is still signed in Rune and for now will remain so.

* Add string_p and string_rw_p.  We make 'string_p' basically
  'const uchar *' ... i.e. read-only string pointers.  This will let
  me create a string class for string functions, but I will have to
  add the ability to subclass pointers (not yet in).
139 files changed:
classes/gadgets/button.d
classes/gadgets/input.d
classes/gfx/draw.d
classes/gfx/fill.d
classes/gfx/frame.d
classes/gfx/window.d
classes/stdio/fgets.d
classes/stdio/file.d
classes/stdio/fopen.d
classes/stdio/fputs.d
classes/stdio/fread.d
classes/stdio/fwrite.d
classes/stdio/misc.d
classes/stdio/show.d
classes/sys/class.d
classes/sys/directory.d
classes/sys/fd.d
classes/sys/fstat.d
classes/sys/proc.d
classes/sys/runtime.d
classes/sys/str.d
classes/sys/stream.d
classes/sys/sys.d
docs/grammer.html
docs/overview.html
libgen/run_stmt.c
librune/export.h
librune/sym.c
librune/type.c
libruntime/rt_main.c
libruntime/rt_stubs.c
libruntime/sys_misc.c
tests/README
tests/abort.d
tests/addrinfo.d
tests/align.d
tests/array.d
tests/array2.d
tests/bcopy.d
tests/block.d
tests/bounds.d
tests/build1.d
tests/build2.d
tests/build3.d
tests/cast.d
tests/castf.d
tests/cat.d
tests/cmp1.d
tests/cmp2.d
tests/compound.d
tests/cond.d
tests/const.d
tests/context.d
tests/defaults.d
tests/defaults2.d
tests/defaults3.d
tests/dup.d
tests/exec1.d
tests/fd_append.d
tests/fd_gets.d
tests/fgetc.d
tests/file.d
tests/file2.d
tests/float.d
tests/float2.d
tests/flock.d
tests/format.d
tests/format2.d
tests/format3.d
tests/gfx1.d
tests/gfx2.d
tests/gfxbutton1.d
tests/gfxbutton2.d
tests/gfxinput.d
tests/gfxinput2.d
tests/gfxslider.d
tests/gfxslider2.d
tests/gfxslider3.d
tests/global.d
tests/globary.d
tests/heap.d
tests/heap2.d
tests/heap3.d
tests/hello.d
tests/inline1.d
tests/link.d
tests/lock1.d
tests/lock2.d
tests/lock3.d
tests/loop.d
tests/loop100m.d
tests/loop10m.d
tests/loop1b.d
tests/loop1f.d
tests/loop1m.d
tests/loop2b.d
tests/lvalue.d
tests/lvalue2.d
tests/malloc.d
tests/math.d
tests/method.d
tests/method2.d
tests/mmap.d
tests/new.d
tests/new2.d
tests/new3.d
tests/nozero.d
tests/operator.d
tests/optimize1.d
tests/overload.d
tests/pipe1.d
tests/ptr1.d
tests/ptr2.d
tests/pure.d
tests/read.d
tests/readdir.d
tests/refine.d
tests/reftype.d
tests/return.d
tests/rs1.d
tests/scope.d
tests/shift.d
tests/sizeof.d
tests/sstr.d
tests/stat.d
tests/str1.d
tests/threadov.d
tests/threads.d
tests/threadsync.d
tests/ttest.c
tests/typedef.d
tests/typeof.d
tests/unix.d
tests/unix_tod.d
tests/unserialized.d
tests/unsigned.d
tests/varargs.d
tests/varef.d
tests/varseq.d