added unicode trait and case functions.

fixed some code for os2
This commit is contained in:
hyung-hwan 2012-12-06 13:02:46 +00:00
parent d0dd9a3347
commit 4ccc843e6b
34 changed files with 29503 additions and 691 deletions

View File

@ -1,2 +1,2 @@
SUBDIRS = awk sed SUBDIRS = awk sed net
DIST_SUBDIRS = $(SUBDIRS) DIST_SUBDIRS = $(SUBDIRS)

View File

@ -261,7 +261,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
SUBDIRS = awk sed SUBDIRS = awk sed net
DIST_SUBDIRS = $(SUBDIRS) DIST_SUBDIRS = $(SUBDIRS)
all: all-recursive all: all-recursive

18
qse/cmd/net/Makefile.am Normal file
View File

@ -0,0 +1,18 @@
AUTOMAKE_OPTIONS = nostdinc
AM_CPPFLAGS = \
-I$(top_builddir)/include \
-I$(top_srcdir)/include \
-I$(includedir)
bin_PROGRAMS = qsehttpd
qsehttpd_SOURCES = httpd.c
qsehttpd_LDFLAGS = -L../../lib/net -L../../lib/cmn -L$(libdir)
qsehttpd_LDADD = -lqsenet -lqsecmn
if WIN32
if WCHAR
qsehttpd_LDADD += $(UNICOWS_LIBS)
endif
endif

586
qse/cmd/net/Makefile.in Normal file
View File

@ -0,0 +1,586 @@
# Makefile.in generated by automake 1.11.3 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
# Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
bin_PROGRAMS = qsehttpd$(EXEEXT)
@WCHAR_TRUE@@WIN32_TRUE@am__append_1 = $(UNICOWS_LIBS)
subdir = cmd/net
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/argz.m4 \
$(top_srcdir)/m4/ax_numval.m4 $(top_srcdir)/m4/ax_pthread.m4 \
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltdl.m4 \
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
$(top_srcdir)/m4/lx_find_mpi.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/include/qse/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)"
PROGRAMS = $(bin_PROGRAMS)
am_qsehttpd_OBJECTS = httpd.$(OBJEXT)
qsehttpd_OBJECTS = $(am_qsehttpd_OBJECTS)
am__DEPENDENCIES_1 =
@WCHAR_TRUE@@WIN32_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
qsehttpd_DEPENDENCIES = $(am__DEPENDENCIES_2)
qsehttpd_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(qsehttpd_LDFLAGS) \
$(LDFLAGS) -o $@
DEFAULT_INCLUDES =
depcomp = $(SHELL) $(top_srcdir)/ac/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
SOURCES = $(qsehttpd_SOURCES)
DIST_SOURCES = $(qsehttpd_SOURCES)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AR = @AR@
ARGZ_H = @ARGZ_H@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BUILD_MODE = @BUILD_MODE@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CHAR_MODE = @CHAR_MODE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO = @ECHO@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
GREP = @GREP@
HAVE_CXX = @HAVE_CXX@
INCLTDL = @INCLTDL@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBADD_DL = @LIBADD_DL@
LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
LIBADD_DLOPEN = @LIBADD_DLOPEN@
LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
LIBLTDL = @LIBLTDL@
LIBM = @LIBM@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIBTOOL_DEPS = @LIBTOOL_DEPS@
LIPO = @LIPO@
LN_S = @LN_S@
LTDLDEPS = @LTDLDEPS@
LTDLINCL = @LTDLINCL@
LTDLOPEN = @LTDLOPEN@
LTLIBOBJS = @LTLIBOBJS@
LT_CONFIG_H = @LT_CONFIG_H@
LT_DLLOADERS = @LT_DLLOADERS@
LT_DLPREOPEN = @LT_DLPREOPEN@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MPICC = @MPICC@
MPI_CFLAGS = @MPI_CFLAGS@
MPI_CLDFLAGS = @MPI_CLDFLAGS@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PACKAGE_VERSION_MAJOR = @PACKAGE_VERSION_MAJOR@
PACKAGE_VERSION_MINOR = @PACKAGE_VERSION_MINOR@
PACKAGE_VERSION_PATCH = @PACKAGE_VERSION_PATCH@
PATH_SEPARATOR = @PATH_SEPARATOR@
PTHREAD_CC = @PTHREAD_CC@
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
PTHREAD_LIBS = @PTHREAD_LIBS@
QSE_PROJECT_AUTHOR = @QSE_PROJECT_AUTHOR@
QSE_PROJECT_URL = @QSE_PROJECT_URL@
QSE_SIZEOF_CHAR = @QSE_SIZEOF_CHAR@
QSE_SIZEOF_DOUBLE = @QSE_SIZEOF_DOUBLE@
QSE_SIZEOF_FLOAT = @QSE_SIZEOF_FLOAT@
QSE_SIZEOF_INT = @QSE_SIZEOF_INT@
QSE_SIZEOF_LONG = @QSE_SIZEOF_LONG@
QSE_SIZEOF_LONG_DOUBLE = @QSE_SIZEOF_LONG_DOUBLE@
QSE_SIZEOF_LONG_LONG = @QSE_SIZEOF_LONG_LONG@
QSE_SIZEOF_SHORT = @QSE_SIZEOF_SHORT@
QSE_SIZEOF_VOID_P = @QSE_SIZEOF_VOID_P@
QSE_SIZEOF_WCHAR_T = @QSE_SIZEOF_WCHAR_T@
RANLIB = @RANLIB@
RM = @RM@
RMDIR = @RMDIR@
SED = @SED@
SENDFILE_LIBS = @SENDFILE_LIBS@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SOCKET_LIBS = @SOCKET_LIBS@
SSL_LIBS = @SSL_LIBS@
STRIP = @STRIP@
TRUE = @TRUE@
UCI_LIBS = @UCI_LIBS@
UNICOWS_LIBS = @UNICOWS_LIBS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
ax_pthread_config = @ax_pthread_config@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
ltdl_LIBOBJS = @ltdl_LIBOBJS@
ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
subdirs = @subdirs@
sys_symbol_underscore = @sys_symbol_underscore@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = nostdinc
AM_CPPFLAGS = \
-I$(top_builddir)/include \
-I$(top_srcdir)/include \
-I$(includedir)
qsehttpd_SOURCES = httpd.c
qsehttpd_LDFLAGS = -L../../lib/net -L../../lib/cmn -L$(libdir)
qsehttpd_LDADD = -lqsenet -lqsecmn $(am__append_1)
all: all-am
.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign cmd/net/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign cmd/net/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
while read p p1; do if test -f $$p || test -f $$p1; \
then echo "$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) files[d] = files[d] " " $$1; \
else { print "f", $$3 "/" $$4, $$1; } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-e 's/$$/$(EXEEXT)/' `; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
echo " rm -f" $$list; \
rm -f $$list || exit $$?; \
test -n "$(EXEEXT)" || exit 0; \
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
qsehttpd$(EXEEXT): $(qsehttpd_OBJECTS) $(qsehttpd_DEPENDENCIES) $(EXTRA_qsehttpd_DEPENDENCIES)
@rm -f qsehttpd$(EXEEXT)
$(qsehttpd_LINK) $(qsehttpd_OBJECTS) $(qsehttpd_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/httpd.Po@am__quote@
.c.o:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
.c.obj:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
.c.lo:
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
set x; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS)
installdirs:
for dir in "$(DESTDIR)$(bindir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am:
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-binPROGRAMS
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -rf ./$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-binPROGRAMS
.MAKE: install-am install-strip
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-libtool ctags distclean distclean-compile \
distclean-generic distclean-libtool distclean-tags distdir dvi \
dvi-am html html-am info info-am install install-am \
install-binPROGRAMS install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
pdf pdf-am ps ps-am tags uninstall uninstall-am \
uninstall-binPROGRAMS
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

296
qse/cmd/net/httpd.c Normal file
View File

@ -0,0 +1,296 @@
#include <qse/net/httpd.h>
#include <qse/cmn/stdio.h>
#include <qse/cmn/main.h>
#include <qse/cmn/str.h>
#include <qse/cmn/mem.h>
#include <qse/cmn/mbwc.h>
#include <qse/cmn/time.h>
#include <signal.h>
#include <locale.h>
#if defined(_WIN32)
# include <windows.h>
# include <tchar.h>
# include <process.h>
#elif defined(__OS2__)
# define INCL_DOSPROCESS
# define INCL_DOSEXCEPTIONS
# define INCL_ERRORS
# include <os2.h>
#elif defined(__DOS__)
# include <dos.h>
#else
# include <unistd.h>
# include <errno.h>
#endif
#if defined(HAVE_SSL)
# include <openssl/ssl.h>
# include <openssl/err.h>
# include <openssl/engine.h>
#endif
/* --------------------------------------------------------------------- */
static qse_httpd_t* g_httpd = QSE_NULL;
static void sigint (int sig)
{
if (g_httpd) qse_httpd_stop (g_httpd);
}
/* --------------------------------------------------------------------- */
typedef struct server_xtn_t server_xtn_t;
struct server_xtn_t
{
int tproxy;
qse_httpd_server_cbstd_t* orgcbstd;
};
static int makersrc (
qse_httpd_t* httpd, qse_httpd_client_t* client,
qse_htre_t* req, qse_httpd_rsrc_t* rsrc)
{
server_xtn_t* server_xtn;
server_xtn = qse_httpd_getserverxtnstd (httpd, client->server);
if (server_xtn->tproxy)
{
if (qse_nwadequal(&client->orgdst_addr, &client->local_addr)) /* both equal and error */
{
/* TODO: implement a better check that the
* destination is not one of the local addresses */
rsrc->type = QSE_HTTPD_RSRC_ERR;
rsrc->u.err.code = 500;
}
else
{
rsrc->type = QSE_HTTPD_RSRC_PROXY;
rsrc->u.proxy.dst = client->orgdst_addr;
rsrc->u.proxy.src = client->remote_addr;
if (rsrc->u.proxy.src.type == QSE_NWAD_IN4)
rsrc->u.proxy.src.u.in4.port = 0; /* reset the port to 0. */
else if (rsrc->u.proxy.src.type == QSE_NWAD_IN6)
rsrc->u.proxy.src.u.in6.port = 0; /* reset the port to 0. */
}
return 0;
}
else
{
#if 0
if (server_xtn->orgcbstd->makersrc (httpd, client, req, rsrc) <= -1) return -1;
if (rsrc->type == QSE_HTTPD_RSRC_DIR)
{
/* no directory listing - */
if (server_xtn->orgcbstd->freersrc)
server_xtn->orgcbstd->freersrc (httpd, client, req, rsrc);
rsrc->type = QSE_HTTPD_RSRC_ERROR;
rsrc->u.error.code = 403;
}
return 0;
#endif
return server_xtn->orgcbstd->makersrc (httpd, client, req, rsrc);
}
}
static void freersrc (
qse_httpd_t* httpd, qse_httpd_client_t* client,
qse_htre_t* req, qse_httpd_rsrc_t* rsrc)
{
server_xtn_t* server_xtn;
server_xtn = qse_httpd_getserverxtnstd (httpd, client->server);
if (server_xtn->tproxy)
{
/* nothing to do */
}
else
{
if (server_xtn->orgcbstd->freersrc)
server_xtn->orgcbstd->freersrc (httpd, client, req, rsrc);
}
}
/* --------------------------------------------------------------------- */
static qse_httpd_server_t* attach_server (
qse_httpd_t* httpd, qse_char_t* uri, qse_httpd_server_cbstd_t* cbstd)
{
qse_httpd_server_t* server;
server_xtn_t* server_xtn;
int tproxy = 0;
static qse_httpd_server_idxstd_t idxstd[] =
{
{ QSE_MT("index.cgi") },
{ QSE_MT("index.html") },
{ QSE_NULL }
};
if (qse_strzcasecmp (uri, QSE_T("http-tproxy://"), 14) == 0)
{
tproxy = 1;
qse_strcpy (&uri[4], &uri[11]);
}
server = qse_httpd_attachserverstd (
httpd, uri, QSE_NULL, QSE_SIZEOF(server_xtn_t));
if (server == QSE_NULL) return QSE_NULL;
/* qse_httpd_getserverxtnstd() returns the pointer to
* the extension space requested above, of the size
* QSE_SIZEOF(server_xtn_t) */
server_xtn = qse_httpd_getserverxtnstd (httpd, server);
server_xtn->tproxy = tproxy;
/* qse_httpd_getserverxtn() returns the pointer to the
* extension space created by qse_httpd_attachserverstd()
* internally.
*/
/* remember the callback set in qse_httpd_attachserverstd() */
qse_httpd_getserveroptstd (
httpd, server,
QSE_HTTPD_SERVER_CBSTD, (void**)&server_xtn->orgcbstd);
/* override it with a new callback for chaining */
qse_httpd_setserveroptstd (
httpd, server,
QSE_HTTPD_SERVER_CBSTD, cbstd);
/* totally override idxstd without remembering the old idxstd */
qse_httpd_setserveroptstd (
httpd, server,
QSE_HTTPD_SERVER_IDXSTD, idxstd);
qse_httpd_setserveroptstd (
httpd, server, QSE_HTTPD_SERVER_DIRCSS,
QSE_MT("<style type='text/css'>body { background-color:#d0e4fe; font-size: 0.9em; } div.header { font-weight: bold; margin-bottom: 5px; } div.footer { border-top: 1px solid #99AABB; text-align: right; } table { font-size: 0.9em; } td { white-space: nowrap; } td.size { text-align: right; }</style>"));
qse_httpd_setserveroptstd (
httpd, server, QSE_HTTPD_SERVER_ERRCSS,
QSE_MT("<style type='text/css'>body { background-color:#d0e4fe; font-size: 0.9em; } div.header { font-weight: bold; margin-bottom: 5px; } div.footer { border-top: 1px solid #99AABB; text-align: right; }</style>"));
return server;
}
/* --------------------------------------------------------------------- */
static int httpd_main (int argc, qse_char_t* argv[])
{
qse_httpd_t* httpd = QSE_NULL;
qse_ntime_t tmout;
int ret = -1, i;
static qse_httpd_server_cbstd_t cbstd = { makersrc, freersrc };
if (argc <= 1)
{
qse_fprintf (QSE_STDERR, QSE_T("Usage: %s <listener_uri> ...\n"), argv[0]);
goto oops;
}
httpd = qse_httpd_openstd (QSE_SIZEOF(server_xtn_t));
if (httpd == QSE_NULL)
{
qse_fprintf (QSE_STDERR, QSE_T("Cannot open httpd\n"));
goto oops;
}
for (i = 1; i < argc; i++)
{
if (attach_server (httpd, argv[i], &cbstd) == QSE_NULL)
{
qse_fprintf (QSE_STDERR,
QSE_T("Failed to add httpd listener - %s\n"), argv[i]);
goto oops;
}
}
g_httpd = httpd;
signal (SIGINT, sigint);
#if defined(SIGPIPE)
signal (SIGPIPE, SIG_IGN);
#endif
qse_httpd_setname (httpd, QSE_MT("httpd02/qse 1.0"));
qse_httpd_setoption (httpd, QSE_HTTPD_CGIERRTONUL);
tmout.sec = 10;
tmout.nsec = 0;
ret = qse_httpd_loopstd (httpd, &tmout);
signal (SIGINT, SIG_DFL);
#if defined(SIGPIPE)
signal (SIGPIPE, SIG_DFL);
#endif
g_httpd = QSE_NULL;
if (ret <= -1) qse_fprintf (QSE_STDERR, QSE_T("Httpd error\n"));
oops:
if (httpd) qse_httpd_close (httpd);
return ret;
}
int qse_main (int argc, qse_achar_t* argv[])
{
int ret;
#if defined(_WIN32)
char locale[100];
UINT codepage;
WSADATA wsadata;
codepage = GetConsoleOutputCP();
if (codepage == CP_UTF8)
{
/*SetConsoleOUtputCP (CP_UTF8);*/
qse_setdflcmgrbyid (QSE_CMGR_UTF8);
}
else
{
sprintf (locale, ".%u", (unsigned int)codepage);
setlocale (LC_ALL, locale);
qse_setdflcmgrbyid (QSE_CMGR_SLMB);
}
if (WSAStartup (MAKEWORD(2,0), &wsadata) != 0)
{
qse_fprintf (QSE_STDERR, QSE_T("Failed to start up winsock\n"));
return -1;
}
#else
setlocale (LC_ALL, "");
qse_setdflcmgrbyid (QSE_CMGR_SLMB);
#endif
#if defined(HAVE_SSL)
SSL_load_error_strings ();
SSL_library_init ();
#endif
ret = qse_runmain (argc, argv, httpd_main);
#if defined(HAVE_SSL)
/*ERR_remove_state ();*/
ENGINE_cleanup ();
ERR_free_strings ();
EVP_cleanup ();
CRYPTO_cleanup_all_ex_data ();
#endif
#if defined(_WIN32)
WSACleanup ();
#endif
return ret;
}

37
qse/configure vendored
View File

@ -643,6 +643,8 @@ ENABLE_CXX_TRUE
BUILD_MODE BUILD_MODE
INCLUDE_MORE_CMGRS_FALSE INCLUDE_MORE_CMGRS_FALSE
INCLUDE_MORE_CMGRS_TRUE INCLUDE_MORE_CMGRS_TRUE
ENABLE_BUNDLED_UNICODE_FALSE
ENABLE_BUNDLED_UNICODE_TRUE
WCHAR_FALSE WCHAR_FALSE
WCHAR_TRUE WCHAR_TRUE
CHAR_MODE CHAR_MODE
@ -820,6 +822,7 @@ with_ltdl_include
with_ltdl_lib with_ltdl_lib
enable_ltdl_install enable_ltdl_install
enable_wchar enable_wchar
enable_bundled_unicode
enable_more_cmgrs enable_more_cmgrs
enable_syscall enable_syscall
enable_debug enable_debug
@ -1470,6 +1473,8 @@ Optional Features:
--enable-ltdl-install install libltdl --enable-ltdl-install install libltdl
--enable-wchar use wchar_t a default charater type when enabled --enable-wchar use wchar_t a default charater type when enabled
(default. yes) (default. yes)
--enable-bundled-unicode
use thn bundled unicode routines (default. no)
--enable-more-cmgrs include more built-in cmgrs like cp949 and cp950 --enable-more-cmgrs include more built-in cmgrs like cp949 and cp950
when enabled (default. yes) when enabled (default. yes)
--enable-syscall use the syscall() function to call system calls --enable-syscall use the syscall() function to call system calls
@ -20136,7 +20141,7 @@ $as_echo "#define QSE_CHAR_IS_MCHAR /**/" >>confdefs.h
CHAR_MODE="QSE_CHAR_IS_MCHAR" CHAR_MODE="QSE_CHAR_IS_MCHAR"
fi fi
if test "${enable_wchar_is}" = "yes" ; then if test "${enable_wchar_is}" = "yes"; then
WCHAR_TRUE= WCHAR_TRUE=
WCHAR_FALSE='#' WCHAR_FALSE='#'
else else
@ -20145,6 +20150,29 @@ else
fi fi
# Check whether --enable-bundled-unicode was given.
if test "${enable_bundled_unicode+set}" = set; then :
enableval=$enable_bundled_unicode; enable_bundled_unicode_is=$enableval
else
enable_bundled_unicode_is=yes
fi
if test "${ac_cv_header_wctype_h}" = "no" -o "${ac_cv_func_wctrans}" = "no" -o "${ac_cv_func_wctype}" = "no"
then
$as_echo "#define QSE_ENABLE_BUNDLED_UNICODE /**/" >>confdefs.h
enable_bundled_unicode_is=yes
fi
if test "${enable_bundled_unicode_is}" = "yes"; then
ENABLE_BUNDLED_UNICODE_TRUE=
ENABLE_BUNDLED_UNICODE_FALSE='#'
else
ENABLE_BUNDLED_UNICODE_TRUE='#'
ENABLE_BUNDLED_UNICODE_FALSE=
fi
# Check whether --enable-more-cmgrs was given. # Check whether --enable-more-cmgrs was given.
if test "${enable_more_cmgrs+set}" = set; then : if test "${enable_more_cmgrs+set}" = set; then :
enableval=$enable_more_cmgrs; enable_more_cmgrs_is=$enableval enableval=$enable_more_cmgrs; enable_more_cmgrs_is=$enableval
@ -20695,7 +20723,7 @@ QSE_PROJECT_AUTHOR="${PACKAGE_BUGREPORT}"
QSE_PROJECT_URL="${PACKAGE_URL}" QSE_PROJECT_URL="${PACKAGE_URL}"
ac_config_files="$ac_config_files Makefile README include/Makefile include/qse/Makefile include/qse/cmn/Makefile include/qse/awk/Makefile include/qse/sed/Makefile include/qse/net/Makefile lib/Makefile lib/cmn/Makefile lib/awk/Makefile lib/sed/Makefile lib/net/Makefile cmd/Makefile cmd/awk/Makefile cmd/sed/Makefile mod/Makefile mod/awk/Makefile samples/Makefile samples/cmn/Makefile samples/awk/Makefile samples/sed/Makefile samples/net/Makefile regress/Makefile regress/awk/Makefile regress/awk/regress.sh regress/sed/Makefile regress/sed/regress.sh doc/Makefile doc/page/Makefile doc/image/Makefile doc/Doxyfile tools/Makefile" ac_config_files="$ac_config_files Makefile README include/Makefile include/qse/Makefile include/qse/cmn/Makefile include/qse/awk/Makefile include/qse/sed/Makefile include/qse/net/Makefile lib/Makefile lib/cmn/Makefile lib/awk/Makefile lib/sed/Makefile lib/net/Makefile cmd/Makefile cmd/awk/Makefile cmd/sed/Makefile cmd/net/Makefile mod/Makefile mod/awk/Makefile samples/Makefile samples/cmn/Makefile samples/awk/Makefile samples/sed/Makefile samples/net/Makefile regress/Makefile regress/awk/Makefile regress/awk/regress.sh regress/sed/Makefile regress/sed/regress.sh doc/Makefile doc/page/Makefile doc/image/Makefile doc/Doxyfile tools/Makefile"
cat >confcache <<\_ACEOF cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure # This file is a shell script that caches the results of configure
@ -20868,6 +20896,10 @@ if test -z "${WCHAR_TRUE}" && test -z "${WCHAR_FALSE}"; then
as_fn_error $? "conditional \"WCHAR\" was never defined. as_fn_error $? "conditional \"WCHAR\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi fi
if test -z "${ENABLE_BUNDLED_UNICODE_TRUE}" && test -z "${ENABLE_BUNDLED_UNICODE_FALSE}"; then
as_fn_error $? "conditional \"ENABLE_BUNDLED_UNICODE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${INCLUDE_MORE_CMGRS_TRUE}" && test -z "${INCLUDE_MORE_CMGRS_FALSE}"; then if test -z "${INCLUDE_MORE_CMGRS_TRUE}" && test -z "${INCLUDE_MORE_CMGRS_FALSE}"; then
as_fn_error $? "conditional \"INCLUDE_MORE_CMGRS\" was never defined. as_fn_error $? "conditional \"INCLUDE_MORE_CMGRS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5 Usually this means the macro was only invoked conditionally." "$LINENO" 5
@ -21875,6 +21907,7 @@ do
"cmd/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/Makefile" ;; "cmd/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/Makefile" ;;
"cmd/awk/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/awk/Makefile" ;; "cmd/awk/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/awk/Makefile" ;;
"cmd/sed/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/sed/Makefile" ;; "cmd/sed/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/sed/Makefile" ;;
"cmd/net/Makefile") CONFIG_FILES="$CONFIG_FILES cmd/net/Makefile" ;;
"mod/Makefile") CONFIG_FILES="$CONFIG_FILES mod/Makefile" ;; "mod/Makefile") CONFIG_FILES="$CONFIG_FILES mod/Makefile" ;;
"mod/awk/Makefile") CONFIG_FILES="$CONFIG_FILES mod/awk/Makefile" ;; "mod/awk/Makefile") CONFIG_FILES="$CONFIG_FILES mod/awk/Makefile" ;;
"samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;; "samples/Makefile") CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;

View File

@ -398,7 +398,16 @@ else
AC_DEFINE([QSE_CHAR_IS_MCHAR],[],[char is mchar]) AC_DEFINE([QSE_CHAR_IS_MCHAR],[],[char is mchar])
AC_SUBST(CHAR_MODE, "QSE_CHAR_IS_MCHAR") AC_SUBST(CHAR_MODE, "QSE_CHAR_IS_MCHAR")
fi fi
AM_CONDITIONAL(WCHAR, test "${enable_wchar_is}" = "yes" ) AM_CONDITIONAL(WCHAR, test "${enable_wchar_is}" = "yes")
AC_ARG_ENABLE([bundled-unicode], [AS_HELP_STRING([--enable-bundled-unicode],[use thn bundled unicode routines (default. no)])],
enable_bundled_unicode_is=$enableval,enable_bundled_unicode_is=yes)
if test "${ac_cv_header_wctype_h}" = "no" -o "${ac_cv_func_wctrans}" = "no" -o "${ac_cv_func_wctype}" = "no"
then
AC_DEFINE([QSE_ENABLE_BUNDLED_UNICODE],[],[use the bundled unicode routines])
enable_bundled_unicode_is=yes
fi
AM_CONDITIONAL(ENABLE_BUNDLED_UNICODE, test "${enable_bundled_unicode_is}" = "yes")
AC_ARG_ENABLE([more-cmgrs], [AS_HELP_STRING([--enable-more-cmgrs],[include more built-in cmgrs like cp949 and cp950 when enabled (default. yes)])], AC_ARG_ENABLE([more-cmgrs], [AS_HELP_STRING([--enable-more-cmgrs],[include more built-in cmgrs like cp949 and cp950 when enabled (default. yes)])],
enable_more_cmgrs_is=$enableval,enable_more_cmgrs_is=yes) enable_more_cmgrs_is=$enableval,enable_more_cmgrs_is=yes)
@ -489,6 +498,7 @@ AC_CONFIG_FILES([
cmd/Makefile cmd/Makefile
cmd/awk/Makefile cmd/awk/Makefile
cmd/sed/Makefile cmd/sed/Makefile
cmd/net/Makefile
mod/Makefile mod/Makefile
mod/awk/Makefile mod/awk/Makefile
samples/Makefile samples/Makefile

View File

@ -42,6 +42,7 @@ pkginclude_HEADERS = \
time.h \ time.h \
tio.h \ tio.h \
tre.h \ tre.h \
uni.h \
uri.h \ uri.h \
utf8.h \ utf8.h \
xma.h xma.h

View File

@ -56,8 +56,8 @@ am__pkginclude_HEADERS_DIST = alg.h chr.h cp949.h cp950.h dir.h dll.h \
env.h fio.h fma.h fmt.h fs.h gdl.h glob.h htb.h hton.h ipad.h \ env.h fio.h fma.h fmt.h fs.h gdl.h glob.h htb.h hton.h ipad.h \
lda.h main.h map.h mbwc.h mem.h mux.h nwad.h nwif.h nwio.h \ lda.h main.h map.h mbwc.h mem.h mux.h nwad.h nwif.h nwio.h \
oht.h opt.h path.h pio.h pma.h rbt.h rex.h sio.h sll.h slmb.h \ oht.h opt.h path.h pio.h pma.h rbt.h rex.h sio.h sll.h slmb.h \
stdio.h str.h task.h time.h tio.h tre.h uri.h utf8.h xma.h \ stdio.h str.h task.h time.h tio.h tre.h uni.h uri.h utf8.h \
Mmgr.hpp StdMmgr.hpp Mmged.hpp xma.h Mmgr.hpp StdMmgr.hpp Mmged.hpp
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \ am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
@ -266,8 +266,8 @@ pkginclude_HEADERS = alg.h chr.h cp949.h cp950.h dir.h dll.h env.h \
fio.h fma.h fmt.h fs.h gdl.h glob.h htb.h hton.h ipad.h lda.h \ fio.h fma.h fmt.h fs.h gdl.h glob.h htb.h hton.h ipad.h lda.h \
main.h map.h mbwc.h mem.h mux.h nwad.h nwif.h nwio.h oht.h \ main.h map.h mbwc.h mem.h mux.h nwad.h nwif.h nwio.h oht.h \
opt.h path.h pio.h pma.h rbt.h rex.h sio.h sll.h slmb.h \ opt.h path.h pio.h pma.h rbt.h rex.h sio.h sll.h slmb.h \
stdio.h str.h task.h time.h tio.h tre.h uri.h utf8.h xma.h \ stdio.h str.h task.h time.h tio.h tre.h uni.h uri.h utf8.h \
$(am__append_1) xma.h $(am__append_1)
all: all-am all: all-am
.SUFFIXES: .SUFFIXES:

56
qse/include/qse/cmn/uni.h Normal file
View File

@ -0,0 +1,56 @@
/*
* $Id$
*
Copyright 2006-2012 Chung, Hyung-Hwan.
This file is part of QSE.
QSE is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
QSE is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with QSE. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _QSE_CMN_UNI_H_
#define _QSE_CMN_UNI_H_
/** @file
* This file provides functions, types, macros for unicode handling.
*/
#include <qse/types.h>
#include <qse/macros.h>
#ifdef __cplusplus
extern "C" {
#endif
QSE_EXPORT int qse_isunitype (qse_wcint_t c, int type);
QSE_EXPORT int qse_isuniupper (qse_wcint_t c);
QSE_EXPORT int qse_isunilower (qse_wcint_t c);
QSE_EXPORT int qse_isunialpha (qse_wcint_t c);
QSE_EXPORT int qse_isunidigit (qse_wcint_t c);
QSE_EXPORT int qse_isunixdigit (qse_wcint_t c);
QSE_EXPORT int qse_isunialnum (qse_wcint_t c);
QSE_EXPORT int qse_isunispace (qse_wcint_t c);
QSE_EXPORT int qse_isuniprint (qse_wcint_t c);
QSE_EXPORT int qse_isunigraph (qse_wcint_t c);
QSE_EXPORT int qse_isunicntrl (qse_wcint_t c);
QSE_EXPORT int qse_isunipunct (qse_wcint_t c);
QSE_EXPORT qse_wcint_t qse_touniupper (qse_wcint_t c);
QSE_EXPORT qse_wcint_t qse_tounilower (qse_wcint_t c);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -36,56 +36,64 @@
# define QSE_SIZEOF_INT 4 # define QSE_SIZEOF_INT 4
# define QSE_SIZEOF_LONG 4 # define QSE_SIZEOF_LONG 4
# define QSE_SIZEOF_LONG_LONG 8 # define QSE_SIZEOF_LONG_LONG 8
#
# define QSE_SIZEOF_VOID_P 4 # define QSE_SIZEOF_VOID_P 4
# define QSE_SIZEOF_FLOAT 4 # define QSE_SIZEOF_FLOAT 4
# define QSE_SIZEOF_DOUBLE 8 # define QSE_SIZEOF_DOUBLE 8
# define QSE_SIZEOF_LONG_DOUBLE 8 # define QSE_SIZEOF_LONG_DOUBLE 8
# define QSE_SIZEOF_WCHAR_T 2 # define QSE_SIZEOF_WCHAR_T 2
#
# define QSE_SIZEOF___INT8 1 # define QSE_SIZEOF___INT8 1
# define QSE_SIZEOF___INT16 2 # define QSE_SIZEOF___INT16 2
# define QSE_SIZEOF___INT32 4 # define QSE_SIZEOF___INT32 4
# define QSE_SIZEOF___INT64 8 # define QSE_SIZEOF___INT64 8
# define QSE_SIZEOF___INT128 0 # define QSE_SIZEOF___INT128 0
#
# define QSE_SIZEOF_OFF64_T 0 # define QSE_SIZEOF_OFF64_T 0
# define QSE_SIZEOF_OFF_T 4 # define QSE_SIZEOF_OFF_T 4
#
# define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG # define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG
# define QSE_MBLEN_MAX 8 # define QSE_MBLEN_MAX 8
#
# define QSE_CHAR_IS_WCHAR /* these two have only to be large enough */
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64
# define QSE_CHAR_IS_WCHAR 1
# undef QSE_ENABLE_BUNDLED_UNICODE
#elif defined(__WATCOMC__) && !defined(__386__) #elif defined(__WATCOMC__) && !defined(__386__)
# define QSE_SIZEOF_CHAR 1 # define QSE_SIZEOF_CHAR 1
# define QSE_SIZEOF_SHORT 2 # define QSE_SIZEOF_SHORT 2
# define QSE_SIZEOF_INT 2 # define QSE_SIZEOF_INT 2
# define QSE_SIZEOF_LONG 4 # define QSE_SIZEOF_LONG 4
# define QSE_SIZEOF_LONG_LONG 8 # define QSE_SIZEOF_LONG_LONG 8
#
# define QSE_SIZEOF_VOID_P 4 # define QSE_SIZEOF_VOID_P 4
# define QSE_SIZEOF_FLOAT 4 # define QSE_SIZEOF_FLOAT 4
# define QSE_SIZEOF_DOUBLE 8 # define QSE_SIZEOF_DOUBLE 8
# define QSE_SIZEOF_LONG_DOUBLE 8 # define QSE_SIZEOF_LONG_DOUBLE 8
# define QSE_SIZEOF_WCHAR_T 2 # define QSE_SIZEOF_WCHAR_T 2
#
# define QSE_SIZEOF___INT8 1 # define QSE_SIZEOF___INT8 1
# define QSE_SIZEOF___INT16 2 # define QSE_SIZEOF___INT16 2
# define QSE_SIZEOF___INT32 4 # define QSE_SIZEOF___INT32 4
# define QSE_SIZEOF___INT64 8 # define QSE_SIZEOF___INT64 8
# define QSE_SIZEOF___INT128 0 # define QSE_SIZEOF___INT128 0
#
# define QSE_SIZEOF_OFF64_T 0 # define QSE_SIZEOF_OFF64_T 0
# define QSE_SIZEOF_OFF_T 4 # define QSE_SIZEOF_OFF_T 4
#
# define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG # define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG
# define QSE_MBLEN_MAX 8 # define QSE_MBLEN_MAX 8
#
# define QSE_CHAR_IS_WCHAR /* these two have only to be large enough */
#
# /* these two have only to be large enough */
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32 # define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64 # define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64
# define QSE_CHAR_IS_WCHAR 1
# undef QSE_ENABLE_BUNDLED_UNICODE
#else #else
# error Define the size of various data types. # error Define the size of various data types.
#endif #endif

View File

@ -50,7 +50,7 @@ _M_X64 x64 platform
# define QSE_SIZEOF_INT 4 # define QSE_SIZEOF_INT 4
# define QSE_SIZEOF_LONG 4 # define QSE_SIZEOF_LONG 4
# define QSE_SIZEOF_LONG_LONG 8 # define QSE_SIZEOF_LONG_LONG 8
#
# if defined(_WIN64) # if defined(_WIN64)
# define QSE_SIZEOF_VOID_P 8 # define QSE_SIZEOF_VOID_P 8
# else # else
@ -60,27 +60,33 @@ _M_X64 x64 platform
# define QSE_SIZEOF_DOUBLE 8 # define QSE_SIZEOF_DOUBLE 8
# define QSE_SIZEOF_LONG_DOUBLE 8 # define QSE_SIZEOF_LONG_DOUBLE 8
# define QSE_SIZEOF_WCHAR_T 2 # define QSE_SIZEOF_WCHAR_T 2
#
# define QSE_SIZEOF___INT8 1 # define QSE_SIZEOF___INT8 1
# define QSE_SIZEOF___INT16 2 # define QSE_SIZEOF___INT16 2
# define QSE_SIZEOF___INT32 4 # define QSE_SIZEOF___INT32 4
# define QSE_SIZEOF___INT64 8 # define QSE_SIZEOF___INT64 8
# define QSE_SIZEOF___INT128 0 # define QSE_SIZEOF___INT128 0
#
# define QSE_SIZEOF_OFF64_T 0 # define QSE_SIZEOF_OFF64_T 0
# define QSE_SIZEOF_OFF_T 8 # define QSE_SIZEOF_OFF_T 8
#
# define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG # define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG
# define QSE_MBLEN_MAX 16 # define QSE_MBLEN_MAX 16
#
# define QSE_CHAR_IS_WCHAR /* these two have only to be large enough */
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64
# define QSE_CHAR_IS_WCHAR 1
# undef QSE_ENABLE_BUNDLED_UNICODE
#elif defined(__GNUC__) || defined(__DMC__) || defined(__POCC__) #elif defined(__GNUC__) || defined(__DMC__) || defined(__POCC__)
# define QSE_SIZEOF_CHAR 1 # define QSE_SIZEOF_CHAR 1
# define QSE_SIZEOF_SHORT 2 # define QSE_SIZEOF_SHORT 2
# define QSE_SIZEOF_INT 4 # define QSE_SIZEOF_INT 4
# define QSE_SIZEOF_LONG 4 # define QSE_SIZEOF_LONG 4
# define QSE_SIZEOF_LONG_LONG 8 # define QSE_SIZEOF_LONG_LONG 8
#
# if defined(_WIN64) # if defined(_WIN64)
# define QSE_SIZEOF_VOID_P 8 # define QSE_SIZEOF_VOID_P 8
# else # else
@ -90,20 +96,26 @@ _M_X64 x64 platform
# define QSE_SIZEOF_DOUBLE 8 # define QSE_SIZEOF_DOUBLE 8
# define QSE_SIZEOF_LONG_DOUBLE 16 # define QSE_SIZEOF_LONG_DOUBLE 16
# define QSE_SIZEOF_WCHAR_T 2 # define QSE_SIZEOF_WCHAR_T 2
#
# define QSE_SIZEOF___INT8 0 # define QSE_SIZEOF___INT8 0
# define QSE_SIZEOF___INT16 0 # define QSE_SIZEOF___INT16 0
# define QSE_SIZEOF___INT32 0 # define QSE_SIZEOF___INT32 0
# define QSE_SIZEOF___INT64 0 # define QSE_SIZEOF___INT64 0
# define QSE_SIZEOF___INT128 0 # define QSE_SIZEOF___INT128 0
#
# define QSE_SIZEOF_OFF64_T 0 # define QSE_SIZEOF_OFF64_T 0
# define QSE_SIZEOF_OFF_T 8 # define QSE_SIZEOF_OFF_T 8
#
# define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG # define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG
# define QSE_MBLEN_MAX 16 # define QSE_MBLEN_MAX 16
#
# define QSE_CHAR_IS_WCHAR /* these two have only to be large enough */
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64
# define QSE_CHAR_IS_WCHAR 1
# undef QSE_ENABLE_BUNDLED_UNICODE
#elif defined(_MSC_VER) #elif defined(_MSC_VER)
# define QSE_SIZEOF_CHAR 1 # define QSE_SIZEOF_CHAR 1
# define QSE_SIZEOF_SHORT 2 # define QSE_SIZEOF_SHORT 2
@ -114,7 +126,7 @@ _M_X64 x64 platform
# else # else
# define QSE_SIZEOF_LONG_LONG 0 # define QSE_SIZEOF_LONG_LONG 0
# endif # endif
#
# if defined(_WIN64) # if defined(_WIN64)
# define QSE_SIZEOF_VOID_P 8 # define QSE_SIZEOF_VOID_P 8
# else # else
@ -124,24 +136,25 @@ _M_X64 x64 platform
# define QSE_SIZEOF_DOUBLE 8 # define QSE_SIZEOF_DOUBLE 8
# define QSE_SIZEOF_LONG_DOUBLE 8 # define QSE_SIZEOF_LONG_DOUBLE 8
# define QSE_SIZEOF_WCHAR_T 2 # define QSE_SIZEOF_WCHAR_T 2
#
# define QSE_SIZEOF___INT8 1 # define QSE_SIZEOF___INT8 1
# define QSE_SIZEOF___INT16 2 # define QSE_SIZEOF___INT16 2
# define QSE_SIZEOF___INT32 4 # define QSE_SIZEOF___INT32 4
# define QSE_SIZEOF___INT64 8 # define QSE_SIZEOF___INT64 8
# define QSE_SIZEOF___INT128 0 # define QSE_SIZEOF___INT128 0
#
# define QSE_SIZEOF_OFF64_T 0 # define QSE_SIZEOF_OFF64_T 0
# define QSE_SIZEOF_OFF_T 8 # define QSE_SIZEOF_OFF_T 8
#
# define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG # define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG
# define QSE_MBLEN_MAX 8 # define QSE_MBLEN_MAX 8
#
# define QSE_CHAR_IS_WCHAR /* these two have only to be large enough */
#
# /* these two have only to be large enough */
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32 # define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64 # define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64
# define QSE_CHAR_IS_WCHAR 1
# undef QSE_ENABLE_BUNDLED_UNICODE
#else #else
# error Define the size of various data types. # error Define the size of various data types.
#endif #endif

View File

@ -36,35 +36,66 @@
# define QSE_SIZEOF_INT 4 # define QSE_SIZEOF_INT 4
# define QSE_SIZEOF_LONG 4 # define QSE_SIZEOF_LONG 4
# define QSE_SIZEOF_LONG_LONG 8 # define QSE_SIZEOF_LONG_LONG 8
#
# define QSE_SIZEOF_VOID_P 4 # define QSE_SIZEOF_VOID_P 4
# define QSE_SIZEOF_FLOAT 4 # define QSE_SIZEOF_FLOAT 4
# define QSE_SIZEOF_DOUBLE 8 # define QSE_SIZEOF_DOUBLE 8
# define QSE_SIZEOF_LONG_DOUBLE 8 # define QSE_SIZEOF_LONG_DOUBLE 8
# define QSE_SIZEOF_WCHAR_T 2 # define QSE_SIZEOF_WCHAR_T 2
#
# define QSE_SIZEOF___INT8 1 # define QSE_SIZEOF___INT8 1
# define QSE_SIZEOF___INT16 2 # define QSE_SIZEOF___INT16 2
# define QSE_SIZEOF___INT32 4 # define QSE_SIZEOF___INT32 4
# define QSE_SIZEOF___INT64 8 # define QSE_SIZEOF___INT64 8
# define QSE_SIZEOF___INT128 0 # define QSE_SIZEOF___INT128 0
#
# define QSE_SIZEOF_OFF64_T 0 # define QSE_SIZEOF_OFF64_T 0
# define QSE_SIZEOF_OFF_T 8 # define QSE_SIZEOF_OFF_T 8
#
/* I don't know the exact mbstate size. /* I don't know the exact mbstate size.
* but this should be large enough */ * but this should be large enough */
# define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG # define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG
/* TODO: check the exact value */ /* TODO: check the exact value */
# define QSE_MBLEN_MAX 8 # define QSE_MBLEN_MAX 8
#
# define QSE_CHAR_IS_WCHAR /* these two have only to be large enough */
#
# /* these two have only to be large enough */
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32 # define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64 # define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64
# define QSE_CHAR_IS_WCHAR 1
# undef QSE_ENABLE_BUNDLED_UNICODE
#elif defined(__BORLANDC__)
# define QSE_SIZEOF_CHAR 1
# define QSE_SIZEOF_SHORT 2
# define QSE_SIZEOF_INT 4
# define QSE_SIZEOF_LONG 4
# define QSE_SIZEOF_LONG_LONG 0
# define QSE_SIZEOF_VOID_P 4
# define QSE_SIZEOF_FLOAT 4
# define QSE_SIZEOF_DOUBLE 8
# define QSE_SIZEOF_LONG_DOUBLE 8
# define QSE_SIZEOF_WCHAR_T 2
# define QSE_SIZEOF___INT8 0
# define QSE_SIZEOF___INT16 0
# define QSE_SIZEOF___INT32 0
# define QSE_SIZEOF___INT64 0
# define QSE_SIZEOF___INT128 0
# define QSE_SIZEOF_OFF64_T 0
# define QSE_SIZEOF_OFF_T 4
# define QSE_SIZEOF_MBSTATE_T QSE_SIZEOF_LONG
# define QSE_MBLEN_MAX 8
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN 32
# define QSE_SIZEOF_STRUCT_SOCKADDR_IN6 64
# define QSE_CHAR_IS_WCHAR 1
# define QSE_ENABLE_BUNDLED_UNICODE 1
#else #else
# error Define the size of various data types. # error Define the size of various data types.
#endif #endif
#include "conf-inf.h" #include <qse/conf-inf.h>

View File

@ -616,6 +616,9 @@
/* char is wchar */ /* char is wchar */
#undef QSE_CHAR_IS_WCHAR #undef QSE_CHAR_IS_WCHAR
/* use the bundled unicode routines */
#undef QSE_ENABLE_BUNDLED_UNICODE
/* enable qse_sed_setexectracer() */ /* enable qse_sed_setexectracer() */
#undef QSE_ENABLE_SEDTRACER #undef QSE_ENABLE_SEDTRACER

View File

@ -22,7 +22,7 @@
# pragma pack(1) # pragma pack(1)
#elif defined(__HP_aCC) || defined(__HP_cc) #elif defined(__HP_aCC) || defined(__HP_cc)
# pragma PACK 1 # pragma PACK 1
#elif defined(_MSC_VER) || defined(__BORLANDC__) #elif defined(_MSC_VER) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x0500))
# pragma pack(push,1) # pragma pack(push,1)
#elif defined(__DECC) #elif defined(__DECC)
# pragma pack(push,1) # pragma pack(push,1)

View File

@ -22,7 +22,7 @@
# pragma pack(2) # pragma pack(2)
#elif defined(__HP_aCC) || defined(__HP_cc) #elif defined(__HP_aCC) || defined(__HP_cc)
# pragma PACK 2 # pragma PACK 2
#elif defined(_MSC_VER) || defined(__BORLANDC__) #elif defined(_MSC_VER) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x0500))
# pragma pack(push,2) # pragma pack(push,2)
#elif defined(__DECC) #elif defined(__DECC)
# pragma pack(push,2) # pragma pack(push,2)

View File

@ -22,7 +22,7 @@
# pragma pack() # pragma pack()
#elif defined(__HP_aCC) || defined(__HP_cc) #elif defined(__HP_aCC) || defined(__HP_cc)
# pragma PACK # pragma PACK
#elif defined(_MSC_VER) || defined(__BORLANDC__) #elif defined(_MSC_VER) || (defined(__BORLANDC__) && (__BORLANDC__ >= 0x0500))
# pragma pack(pop) # pragma pack(pop)
#elif defined(__DECC) #elif defined(__DECC)
# pragma pack(pop) # pragma pack(pop)

View File

@ -108,13 +108,15 @@ libqsecmn_la_SOURCES = \
utf8.c \ utf8.c \
xma.c xma.c
if ENABLE_BUNDLED_UNICODE
libqsecmn_la_SOURCES += uni.c
endif
if INCLUDE_MORE_CMGRS if INCLUDE_MORE_CMGRS
libqsecmn_la_SOURCES += \ libqsecmn_la_SOURCES += cp949.c cp950.c
cp949.c \
cp950.c
endif endif
libqsecmn_la_LDFLAGS = -L$(libdir) -version-info 1:0:0 -no-undefined libqsecmn_la_LDFLAGS = -L$(libdir) -version-info 1:0:0 -no-undefined
libqsecmn_la_LIBADD = $(SOCKET_LIBS) libqsecmn_la_LIBADD = $(SOCKET_LIBS)

View File

@ -35,11 +35,9 @@ PRE_UNINSTALL = :
POST_UNINSTALL = : POST_UNINSTALL = :
build_triplet = @build@ build_triplet = @build@
host_triplet = @host@ host_triplet = @host@
@INCLUDE_MORE_CMGRS_TRUE@am__append_1 = \ @ENABLE_BUNDLED_UNICODE_TRUE@am__append_1 = uni.c
@INCLUDE_MORE_CMGRS_TRUE@ cp949.c \ @INCLUDE_MORE_CMGRS_TRUE@am__append_2 = cp949.c cp950.c
@INCLUDE_MORE_CMGRS_TRUE@ cp950.c @ENABLE_CXX_TRUE@am__append_3 = libqsecmnxx.la
@ENABLE_CXX_TRUE@am__append_2 = libqsecmnxx.la
subdir = lib/cmn subdir = lib/cmn
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/Makefile.in
@ -100,8 +98,9 @@ am__libqsecmn_la_SOURCES_DIST = alg-base64.c alg-rand.c alg-search.c \
str-spn.c str-str.c str-subst.c str-tok.c str-trm.c str-word.c \ str-spn.c str-str.c str-subst.c str-tok.c str-trm.c str-word.c \
task.c time.c tio.c tre.c tre-ast.c tre-compile.c \ task.c time.c tio.c tre.c tre-ast.c tre-compile.c \
tre-match-backtrack.c tre-match-parallel.c tre-parse.c \ tre-match-backtrack.c tre-match-parallel.c tre-parse.c \
tre-stack.c uri.c utf8.c xma.c cp949.c cp950.c tre-stack.c uri.c utf8.c xma.c uni.c cp949.c cp950.c
@INCLUDE_MORE_CMGRS_TRUE@am__objects_1 = cp949.lo cp950.lo @ENABLE_BUNDLED_UNICODE_TRUE@am__objects_1 = uni.lo
@INCLUDE_MORE_CMGRS_TRUE@am__objects_2 = cp949.lo cp950.lo
am_libqsecmn_la_OBJECTS = alg-base64.lo alg-rand.lo alg-search.lo \ am_libqsecmn_la_OBJECTS = alg-base64.lo alg-rand.lo alg-search.lo \
alg-sort.lo assert.lo chr.lo dir.lo dll.lo env.lo gdl.lo \ alg-sort.lo assert.lo chr.lo dir.lo dll.lo env.lo gdl.lo \
htb.lo fio.lo fma.lo fmt.lo fs.lo fs-err.lo fs-move.lo glob.lo \ htb.lo fio.lo fma.lo fmt.lo fs.lo fs-err.lo fs-move.lo glob.lo \
@ -117,7 +116,7 @@ am_libqsecmn_la_OBJECTS = alg-base64.lo alg-rand.lo alg-search.lo \
str-trm.lo str-word.lo task.lo time.lo tio.lo tre.lo \ str-trm.lo str-word.lo task.lo time.lo tio.lo tre.lo \
tre-ast.lo tre-compile.lo tre-match-backtrack.lo \ tre-ast.lo tre-compile.lo tre-match-backtrack.lo \
tre-match-parallel.lo tre-parse.lo tre-stack.lo uri.lo utf8.lo \ tre-match-parallel.lo tre-parse.lo tre-stack.lo uri.lo utf8.lo \
xma.lo $(am__objects_1) xma.lo $(am__objects_1) $(am__objects_2)
libqsecmn_la_OBJECTS = $(am_libqsecmn_la_OBJECTS) libqsecmn_la_OBJECTS = $(am_libqsecmn_la_OBJECTS)
libqsecmn_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ libqsecmn_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
@ -336,7 +335,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/include \ -I$(top_srcdir)/include \
-I$(includedir) -I$(includedir)
lib_LTLIBRARIES = libqsecmn.la $(am__append_2) lib_LTLIBRARIES = libqsecmn.la $(am__append_3)
noinst_HEADERS = \ noinst_HEADERS = \
cp949.h \ cp949.h \
cp950.h \ cp950.h \
@ -363,7 +362,7 @@ libqsecmn_la_SOURCES = alg-base64.c alg-rand.c alg-search.c alg-sort.c \
str-spn.c str-str.c str-subst.c str-tok.c str-trm.c str-word.c \ str-spn.c str-str.c str-subst.c str-tok.c str-trm.c str-word.c \
task.c time.c tio.c tre.c tre-ast.c tre-compile.c \ task.c time.c tio.c tre.c tre-ast.c tre-compile.c \
tre-match-backtrack.c tre-match-parallel.c tre-parse.c \ tre-match-backtrack.c tre-match-parallel.c tre-parse.c \
tre-stack.c uri.c utf8.c xma.c $(am__append_1) tre-stack.c uri.c utf8.c xma.c $(am__append_1) $(am__append_2)
libqsecmn_la_LDFLAGS = -L$(libdir) -version-info 1:0:0 -no-undefined libqsecmn_la_LDFLAGS = -L$(libdir) -version-info 1:0:0 -no-undefined
libqsecmn_la_LIBADD = $(SOCKET_LIBS) libqsecmn_la_LIBADD = $(SOCKET_LIBS)
@ENABLE_CXX_TRUE@libqsecmnxx_la_SOURCES = \ @ENABLE_CXX_TRUE@libqsecmnxx_la_SOURCES = \
@ -533,6 +532,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tre-parse.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tre-parse.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tre-stack.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tre-stack.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tre.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tre.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uni.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uri.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uri.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf8.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utf8.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xma.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xma.Plo@am__quote@

View File

@ -21,12 +21,12 @@
#include <qse/types.h> #include <qse/types.h>
#include <qse/macros.h> #include <qse/macros.h>
#ifndef NDEBUG #if !defined(NDEBUG)
#include <qse/cmn/sio.h> #include <qse/cmn/sio.h>
#include "mem.h" #include "mem.h"
#ifdef HAVE_EXECINFO_H #if defined(HAVE_EXECINFO_H)
# include <execinfo.h> # include <execinfo.h>
# include <stdlib.h> # include <stdlib.h>
# include <qse/cmn/str.h> # include <qse/cmn/str.h>
@ -91,7 +91,7 @@ void qse_assert_failed (
const qse_char_t* expr, const qse_char_t* desc, const qse_char_t* expr, const qse_char_t* desc,
const qse_char_t* file, qse_size_t line) const qse_char_t* file, qse_size_t line)
{ {
#ifdef HAVE_BACKTRACE #if defined(HAVE_BACKTRACE)
void *btarray[128]; void *btarray[128];
qse_size_t btsize, i; qse_size_t btsize, i;
char **btsyms; char **btsyms;
@ -138,7 +138,7 @@ void qse_assert_failed (
qse_sio_putmbs (sio, QSE_MT("\n")); qse_sio_putmbs (sio, QSE_MT("\n"));
} }
#ifdef HAVE_BACKTRACE #if defined(HAVE_BACKTRACE)
btsize = backtrace (btarray, QSE_COUNTOF(btarray)); btsize = backtrace (btarray, QSE_COUNTOF(btarray));
btsyms = backtrace_symbols (btarray, btsize); btsyms = backtrace_symbols (btarray, btsize);
if (btsyms != QSE_NULL) if (btsyms != QSE_NULL)

View File

@ -22,13 +22,18 @@
#include <qse/cmn/str.h> #include <qse/cmn/str.h>
#include <ctype.h> #include <ctype.h>
#include <wctype.h>
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
# include <qse/cmn/uni.h>
#else
# include <wctype.h>
#endif
static QSE_INLINE int is_malpha (qse_mcint_t c) { return isalpha(c); } static QSE_INLINE int is_malpha (qse_mcint_t c) { return isalpha(c); }
static QSE_INLINE int is_malnum (qse_mcint_t c) { return isalnum(c); } static QSE_INLINE int is_malnum (qse_mcint_t c) { return isalnum(c); }
static QSE_INLINE int is_mblank (qse_mcint_t c) static QSE_INLINE int is_mblank (qse_mcint_t c)
{ {
#ifdef HAVE_ISBLANK #if defined(HAVE_ISBLANK)
return isblank(c); return isblank(c);
#else #else
return c == QSE_MT(' ') || c == QSE_MT('\t'); return c == QSE_MT(' ') || c == QSE_MT('\t');
@ -45,25 +50,105 @@ static QSE_INLINE int is_mupper (qse_mcint_t c) { return isupper(c); }
static QSE_INLINE int is_mxdigit (qse_mcint_t c) { return isxdigit(c); } static QSE_INLINE int is_mxdigit (qse_mcint_t c) { return isxdigit(c); }
static QSE_INLINE int is_walpha (qse_wcint_t c) { return iswalpha(c); } static QSE_INLINE int is_walpha (qse_wcint_t c)
static QSE_INLINE int is_walnum (qse_wcint_t c) { return iswalnum(c); } {
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isunialpha (c);
#else
return iswalpha(c);
#endif
}
static QSE_INLINE int is_walnum (qse_wcint_t c)
{
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isunialnum (c);
#else
return iswalnum(c);
#endif
}
static QSE_INLINE int is_wblank (qse_wcint_t c) static QSE_INLINE int is_wblank (qse_wcint_t c)
{ {
#ifdef HAVE_ISWBLANK #if defined(HAVE_ISWBLANK)
return iswblank(c); return iswblank(c);
#else #else
return c == QSE_WT(' ') || c == QSE_WT('\t'); return c == QSE_WT(' ') || c == QSE_WT('\t');
#endif #endif
} }
static QSE_INLINE int is_wcntrl (qse_wcint_t c) { return iswcntrl(c); } static QSE_INLINE int is_wcntrl (qse_wcint_t c)
static QSE_INLINE int is_wdigit (qse_wcint_t c) { return iswdigit(c); } {
static QSE_INLINE int is_wgraph (qse_wcint_t c) { return iswgraph(c); } #if defined(QSE_ENABLE_BUNDLED_UNICODE)
static QSE_INLINE int is_wlower (qse_wcint_t c) { return iswlower(c); } return qse_isunicntrl (c);
static QSE_INLINE int is_wprint (qse_wcint_t c) { return iswprint(c); } #else
static QSE_INLINE int is_wpunct (qse_wcint_t c) { return iswpunct(c); } return iswcntrl(c);
static QSE_INLINE int is_wspace (qse_wcint_t c) { return iswspace(c); } #endif
static QSE_INLINE int is_wupper (qse_wcint_t c) { return iswupper(c); } }
static QSE_INLINE int is_wxdigit (qse_wcint_t c) { return iswxdigit(c); } static QSE_INLINE int is_wdigit (qse_wcint_t c)
{
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isunidigit (c);
#else
return iswdigit(c);
#endif
}
static QSE_INLINE int is_wgraph (qse_wcint_t c)
{
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isunigraph (c);
#else
return iswgraph(c);
#endif
}
static QSE_INLINE int is_wlower (qse_wcint_t c)
{
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isunilower (c);
#else
return iswlower(c);
#endif
}
static QSE_INLINE int is_wprint (qse_wcint_t c)
{
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isuniprint (c);
#else
return iswprint(c);
#endif
}
static QSE_INLINE int is_wpunct (qse_wcint_t c)
{
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isunipunct (c);
#else
return iswpunct(c);
#endif
}
static QSE_INLINE int is_wspace (qse_wcint_t c)
{
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isunispace (c);
#else
return iswspace(c);
#endif
}
static QSE_INLINE int is_wupper (qse_wcint_t c)
{
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isuniupper (c);
#else
return iswupper(c);
#endif
}
static QSE_INLINE int is_wxdigit (qse_wcint_t c)
{
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
return qse_isunixdigit (c);
#else
return iswxdigit(c);
#endif
}
int qse_ismctype (qse_mcint_t c, qse_mctype_t type) int qse_ismctype (qse_mcint_t c, qse_mctype_t type)
{ {
@ -172,6 +257,21 @@ int qse_iswctype (qse_wcint_t c, qse_wctype_t type)
is_wupper, is_wupper,
is_wxdigit is_wxdigit
#endif #endif
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
qse_isunialnum,
qse_isunialpha,
is_wblank,
qse_isunicntrl,
qse_isunidigit,
qse_isunigraph,
qse_isunilower,
qse_isuniprint,
qse_isunipunct,
qse_isunispace,
qse_isuniupper,
qse_isunixdigit
#else
iswalnum, iswalnum,
iswalpha, iswalpha,
is_wblank, is_wblank,
@ -184,6 +284,7 @@ int qse_iswctype (qse_wcint_t c, qse_wctype_t type)
iswspace, iswspace,
iswupper, iswupper,
iswxdigit iswxdigit
#endif
}; };
QSE_ASSERTX (type >= QSE_WCTYPE_ALNUM && type <= QSE_WCTYPE_XDIGIT, QSE_ASSERTX (type >= QSE_WCTYPE_ALNUM && type <= QSE_WCTYPE_XDIGIT,
@ -219,8 +320,13 @@ qse_wcint_t qse_towctype (qse_wcint_t c, qse_wctype_t type)
*/ */
QSE_ASSERTX (type == QSE_WCTYPE_UPPER || type == QSE_WCTYPE_LOWER, QSE_ASSERTX (type == QSE_WCTYPE_UPPER || type == QSE_WCTYPE_LOWER,
"The type should be one of QSE_WCTYPE_UPPER and QSE_WCTYPE_LOWER"); "The type should be one of QSE_WCTYPE_UPPER and QSE_WCTYPE_LOWER");
#if defined(QSE_ENABLE_BUNDLED_UNICODE)
if (type == QSE_WCTYPE_UPPER) return qse_touniupper(c);
if (type == QSE_WCTYPE_LOWER) return qse_tounilower(c);
#else
if (type == QSE_WCTYPE_UPPER) return towupper(c); if (type == QSE_WCTYPE_UPPER) return towupper(c);
if (type == QSE_WCTYPE_LOWER) return towlower(c); if (type == QSE_WCTYPE_LOWER) return towlower(c);
#endif
return c; return c;
/* /*
#endif #endif

View File

@ -51,7 +51,11 @@ struct qse_dir_t
int done; int done;
#elif defined(__OS2__) #elif defined(__OS2__)
HDIR h; HDIR h;
#if defined(FIL_STANDARDL)
FILEFINDBUF3L ffb; FILEFINDBUF3L ffb;
#else
FILEFINDBUF3 ffb;
#endif
ULONG count; ULONG count;
int opened; int opened;
#elif defined(__DOS__) #elif defined(__DOS__)
@ -326,7 +330,12 @@ static int reset_to_path (qse_dir_t* dir, const qse_char_t* path)
&dir->ffb, &dir->ffb,
QSE_SIZEOF(dir->ffb), QSE_SIZEOF(dir->ffb),
&dir->count, &dir->count,
FIL_STANDARDL); #if defined(FIL_STANDARDL)
FIL_STANDARDL
#else
FIL_STANDARD
#endif
);
if (rc != NO_ERROR) return -1; if (rc != NO_ERROR) return -1;

View File

@ -455,7 +455,11 @@ int qse_fio_init (
APIRET ret; APIRET ret;
ULONG action_taken = 0; ULONG action_taken = 0;
ULONG open_action, open_mode, open_attr; ULONG open_action, open_mode, open_attr;
#if defined(FIL_STANDARDL)
LONGLONG zero; LONGLONG zero;
#else
ULONG zero;
#endif
#if defined(QSE_CHAR_IS_MCHAR) #if defined(QSE_CHAR_IS_MCHAR)
const qse_mchar_t* path_mb = path; const qse_mchar_t* path_mb = path;
@ -493,8 +497,12 @@ int qse_fio_init (
} }
#endif #endif
#if defined(FIL_STANDARDL)
zero.ulLo = 0; zero.ulLo = 0;
zero.ulHi = 0; zero.ulHi = 0;
#else
zero = 0;
#endif
if (flags & QSE_FIO_APPEND) if (flags & QSE_FIO_APPEND)
fio->status |= STATUS_APPEND; fio->status |= STATUS_APPEND;
@ -549,7 +557,11 @@ int qse_fio_init (
open_attr = (mode & QSE_FIO_WUSR)? FILE_NORMAL: FILE_READONLY; open_attr = (mode & QSE_FIO_WUSR)? FILE_NORMAL: FILE_READONLY;
#if defined(FIL_STANDARDL)
ret = DosOpenL ( ret = DosOpenL (
#else
ret = DosOpen (
#endif
path_mb, /* file name */ path_mb, /* file name */
&handle, /* file handle */ &handle, /* file handle */
&action_taken, /* store action taken */ &action_taken, /* store action taken */
@ -1015,6 +1027,8 @@ qse_fio_off_t qse_fio_seek (
FILE_END FILE_END
}; };
#if defined(FIL_STANDARDL)
LONGLONG pos, newpos; LONGLONG pos, newpos;
APIRET ret; APIRET ret;
@ -1030,7 +1044,22 @@ qse_fio_off_t qse_fio_seek (
return (qse_fio_off_t)-1; return (qse_fio_off_t)-1;
} }
return ((qse_fio_off_t)pos.ulHi << 32) | pos.ulLo; return ((qse_fio_off_t)newpos.ulHi << 32) | newpos.ulLo;
#else
ULONG newpos;
APIRET ret;
ret = DosSetFilePtr (fio->handle, offset, seek_map[origin], &newpos);
if (ret != NO_ERROR)
{
fio->errnum = syserr_to_errnum (ret);
return (qse_fio_off_t)-1;
}
return newpos;
#endif
#elif defined(__DOS__) #elif defined(__DOS__)
static int seek_map[] = static int seek_map[] =
{ {
@ -1093,7 +1122,10 @@ int qse_fio_truncate (qse_fio_t* fio, qse_fio_off_t size)
return 0; return 0;
#elif defined(__OS2__) #elif defined(__OS2__)
APIRET ret; APIRET ret;
#if defined(FIL_STANDARDL)
LONGLONG sz; LONGLONG sz;
/* the file must have the write access for it to succeed */ /* the file must have the write access for it to succeed */
@ -1101,11 +1133,14 @@ int qse_fio_truncate (qse_fio_t* fio, qse_fio_off_t size)
sz.ulHi = (ULONG)(size>>32); sz.ulHi = (ULONG)(size>>32);
ret = DosSetFileSizeL (fio->handle, sz); ret = DosSetFileSizeL (fio->handle, sz);
#else
ret = DosSetFileSize (fio->handle, size);
#endif
if (ret != NO_ERROR) if (ret != NO_ERROR)
{ {
fio->errnum = syserr_to_errnum (ret); fio->errnum = syserr_to_errnum (ret);
return -1; return -1;
} }
return 0; return 0;
@ -1235,10 +1270,15 @@ qse_ssize_t qse_fio_write (qse_fio_t* fio, const void* data, qse_size_t size)
if (fio->status & STATUS_APPEND) if (fio->status & STATUS_APPEND)
{ {
/* i do this on a best-effort basis */ /* i do this on a best-effort basis */
#if defined(FIL_STANDARDL)
LONGLONG pos, newpos; LONGLONG pos, newpos;
pos.ulLo = (ULONG)0; pos.ulLo = (ULONG)0;
pos.ulHi = (ULONG)0; pos.ulHi = (ULONG)0;
DosSetFilePtrL (fio->handle, pos, FILE_END, &newpos); DosSetFilePtrL (fio->handle, pos, FILE_END, &newpos);
#else
ULONG newpos;
DosSetFilePtr (fio->handle, 0, FILE_END, &newpos);
#endif
} }
if (size > (QSE_TYPE_MAX(qse_ssize_t) & QSE_TYPE_MAX(ULONG))) if (size > (QSE_TYPE_MAX(qse_ssize_t) & QSE_TYPE_MAX(ULONG)))
@ -1452,10 +1492,18 @@ int qse_fio_chmod (qse_fio_t* fio, int mode)
APIRET n; APIRET n;
int flags = FILE_NORMAL; int flags = FILE_NORMAL;
#if defined(FIL_STANDARDL)
FILESTATUS3L stat; FILESTATUS3L stat;
#else
FILESTATUS3 stat;
#endif
ULONG size = QSE_SIZEOF(stat); ULONG size = QSE_SIZEOF(stat);
#if defined(FIL_STANDARDL)
n = DosQueryFileInfo (fio->handle, FIL_STANDARDL, &stat, size); n = DosQueryFileInfo (fio->handle, FIL_STANDARDL, &stat, size);
#else
n = DosQueryFileInfo (fio->handle, FIL_STANDARD, &stat, size);
#endif
if (n != NO_ERROR) if (n != NO_ERROR)
{ {
fio->errnum = syserr_to_errnum (n); fio->errnum = syserr_to_errnum (n);
@ -1465,7 +1513,11 @@ int qse_fio_chmod (qse_fio_t* fio, int mode)
if (!(mode & QSE_FIO_WUSR)) flags = FILE_READONLY; if (!(mode & QSE_FIO_WUSR)) flags = FILE_READONLY;
stat.attrFile = flags; stat.attrFile = flags;
#if defined(FIL_STANDARDL)
n = DosSetFileInfo (fio->handle, FIL_STANDARDL, &stat, size); n = DosSetFileInfo (fio->handle, FIL_STANDARDL, &stat, size);
#else
n = DosSetFileInfo (fio->handle, FIL_STANDARD, &stat, size);
#endif
if (n != NO_ERROR) if (n != NO_ERROR)
{ {
fio->errnum = syserr_to_errnum (n); fio->errnum = syserr_to_errnum (n);

View File

@ -89,6 +89,16 @@ struct qse_mux_t
qse_size_t capa; qse_size_t capa;
} ee; } ee;
struct
{
qse_mux_evt_t** ptr;
int ubound;
} me;
#elif defined(__OS2__)
int fdarr;
int rsize;
int wsize;
struct struct
{ {
qse_mux_evt_t** ptr; qse_mux_evt_t** ptr;
@ -131,27 +141,27 @@ static qse_mux_errnum_t syserr_to_errnum (DWORD e)
} }
} }
#elif defined(__OS2__) #elif defined(__OS2__)
static qse_mux_errnum_t syserr_to_errnum (APIRET e) static qse_mux_errnum_t syserr_to_errnum (int e)
{ {
switch (e) switch (e)
{ {
case ERROR_NOT_ENOUGH_MEMORY: case SOCENOMEM:
return QSE_MUX_ENOMEM; return QSE_MUX_ENOMEM;
case ERROR_INVALID_PARAMETER: case SOCEINVAL:
case ERROR_INVALID_HANDLE:
case ERROR_INVALID_NAME:
return QSE_MUX_EINVAL; return QSE_MUX_EINVAL;
case ERROR_ACCESS_DENIED: case SOCEACCES:
return QSE_MUX_EACCES; return QSE_MUX_EACCES;
case ERROR_FILE_NOT_FOUND: case SOCENOENT:
case ERROR_PATH_NOT_FOUND:
return QSE_MUX_ENOENT; return QSE_MUX_ENOENT;
case ERROR_ALREADY_EXISTS: case SOCEEXIST:
return QSE_MUX_EEXIST; return QSE_MUX_EEXIST;
case SOCEINTR:
return QSE_MUX_EINTR;
default: default:
return QSE_MUX_ESYSERR; return QSE_MUX_ESYSERR;
@ -272,6 +282,11 @@ int qse_mux_init (qse_mux_t* mux, qse_mmgr_t* mmgr, qse_mux_evtfun_t evtfun, qse
if (flag >= 0) fcntl (mux->fd, F_SETFD, flag | FD_CLOEXEC); if (flag >= 0) fcntl (mux->fd, F_SETFD, flag | FD_CLOEXEC);
} }
#endif #endif
#elif defined(__OS2__)
mux->errnum = QSE_MUX_ENOIMPL;
return -1;
#else #else
/* TODO: */ /* TODO: */
mux->errnum = QSE_MUX_ENOIMPL; mux->errnum = QSE_MUX_ENOIMPL;
@ -458,6 +473,9 @@ int qse_mux_insert (qse_mux_t* mux, const qse_mux_evt_t* evt)
*mux->me.ptr[evt->hnd] = *evt; *mux->me.ptr[evt->hnd] = *evt;
mux->ee.len++; mux->ee.len++;
return 0; return 0;
#elif defined(__OS2__)
mux->errnum = QSE_MUX_ENOIMPL;
return -1;
#else #else
/* TODO: */ /* TODO: */
mux->errnum = QSE_MUX_ENOIMPL; mux->errnum = QSE_MUX_ENOIMPL;
@ -526,6 +544,12 @@ done:
mux->ee.len--; mux->ee.len--;
return 0; return 0;
#elif defined(__OS2__)
/* TODO */
mux->errnum = QSE_MUX_ENOIMPL;
return -1;
#else #else
/* TODO */ /* TODO */
mux->errnum = QSE_MUX_ENOIMPL; mux->errnum = QSE_MUX_ENOIMPL;
@ -550,6 +574,8 @@ int qse_mux_poll (qse_mux_t* mux, const qse_ntime_t* tmout)
{ {
#if defined(_WIN32) #if defined(_WIN32)
mux->errnum = syserr_to_errnum(WSAGetLastError()); mux->errnum = syserr_to_errnum(WSAGetLastError());
#elif defined(__OS2__)
mux->errnum = syserr_to_errnum(sock_errno());
#else #else
mux->errnum = syserr_to_errnum(errno); mux->errnum = syserr_to_errnum(errno);
#endif #endif
@ -614,6 +640,27 @@ int qse_mux_poll (qse_mux_t* mux, const qse_ntime_t* tmout)
return nfds; return nfds;
#elif defined(__OS2__)
/*
long tv;
int n;
tv = QSE_SEC_TO_MSEC(nwio->tmout.r.sec) + QSE_NSEC_TO_MSEC (nwio->tmout.r.nsec);
n = os2_select (handle_array, read_count, write_count, 0, &tv);
if (n < = 1)
{
mux->errnum = syserr_to_errnum(sock_errno());
return -1;
}
return n;
*/
mux->errnum = QSE_MUX_ENOIMPL;
return -1;
#else #else
/* TODO */ /* TODO */
mux->errnum = QSE_MUX_ENOIMPL; mux->errnum = QSE_MUX_ENOIMPL;

View File

@ -307,13 +307,15 @@ static int preset_tmout (qse_nwio_t* nwio)
#if defined(SO_RCVTIMEO) && defined(SO_SNDTIMEO) #if defined(SO_RCVTIMEO) && defined(SO_SNDTIMEO)
#if defined(_WIN32) #if defined(_WIN32)
DWORD tv; DWORD tv;
#elif defined(__OS2__)
long tv;
#else #else
struct timeval tv; struct timeval tv;
#endif #endif
if (TMOUT_ENABLED(nwio->tmout.r)) if (TMOUT_ENABLED(nwio->tmout.r))
{ {
#if defined(_WIN32) #if defined(_WIN32) || defined(__OS2__)
tv = QSE_SEC_TO_MSEC(nwio->tmout.r.sec) + QSE_NSEC_TO_MSEC (nwio->tmout.r.nsec); tv = QSE_SEC_TO_MSEC(nwio->tmout.r.sec) + QSE_NSEC_TO_MSEC (nwio->tmout.r.nsec);
#else #else
tv.tv_sec = nwio->tmout.r.sec; tv.tv_sec = nwio->tmout.r.sec;
@ -322,6 +324,13 @@ static int preset_tmout (qse_nwio_t* nwio)
if (setsockopt (nwio->handle, SOL_SOCKET, SO_RCVTIMEO, (void*)&tv, QSE_SIZEOF(tv)) <= -1) if (setsockopt (nwio->handle, SOL_SOCKET, SO_RCVTIMEO, (void*)&tv, QSE_SIZEOF(tv)) <= -1)
{ {
#if defined(_WIN32)
nwio->errnum = syserr_to_errnum (WSAGetLastError());
#elif defined(__OS2__)
nwio->errnum = syserr_to_errnum (sock_errno());
#else
nwio->errnum = syserr_to_errnum (errno);
#endif
return -1; /* tried to set but failed */ return -1; /* tried to set but failed */
} }
@ -330,7 +339,7 @@ static int preset_tmout (qse_nwio_t* nwio)
if (TMOUT_ENABLED(nwio->tmout.w)) if (TMOUT_ENABLED(nwio->tmout.w))
{ {
#if defined(_WIN32) #if defined(_WIN32) || defined(__OS2__)
tv = QSE_SEC_TO_MSEC(nwio->tmout.w.sec) + QSE_NSEC_TO_MSEC (nwio->tmout.w.nsec); tv = QSE_SEC_TO_MSEC(nwio->tmout.w.sec) + QSE_NSEC_TO_MSEC (nwio->tmout.w.nsec);
#else #else
tv.tv_sec = nwio->tmout.w.sec; tv.tv_sec = nwio->tmout.w.sec;
@ -338,6 +347,13 @@ static int preset_tmout (qse_nwio_t* nwio)
#endif #endif
if (setsockopt (nwio->handle, SOL_SOCKET, SO_SNDTIMEO, (void*)&tv, QSE_SIZEOF(tv)) <= -1) if (setsockopt (nwio->handle, SOL_SOCKET, SO_SNDTIMEO, (void*)&tv, QSE_SIZEOF(tv)) <= -1)
{ {
#if defined(_WIN32)
nwio->errnum = syserr_to_errnum (WSAGetLastError());
#elif defined(__OS2__)
nwio->errnum = syserr_to_errnum (sock_errno());
#else
nwio->errnum = syserr_to_errnum (errno);
#endif
return -1; /* tried to set but failed */ return -1; /* tried to set but failed */
} }

27188
qse/lib/cmn/uni.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -41,7 +41,16 @@
# define EPOCH_DIFF_SECS ((qse_long_t)EPOCH_DIFF_DAYS*24*60*60) # define EPOCH_DIFF_SECS ((qse_long_t)EPOCH_DIFF_DAYS*24*60*60)
#elif defined(__OS2__) #elif defined(__OS2__)
/* TODO */ # define INCL_DOSERRORS
# define INCL_DOSFILEMGR
# include <os2.h>
# include <types.h>
# include <sys/socket.h>
# include <netinet/in.h>
# include <tcpustd.h>
# include <sys/ioctl.h>
# include <nerrno.h>
# pragma library("tcpip32.lib")
#elif defined(__DOS__) #elif defined(__DOS__)
/* TODO */ /* TODO */
@ -236,7 +245,7 @@ static qse_httpd_errnum_t syserr_to_errnum (int e)
#define MAX_SEND_SIZE 4096 #define MAX_SEND_SIZE 4096
static qse_ssize_t send_file ( static qse_ssize_t __send_file (
int out_fd, qse_ubi_t in_fd, qse_foff_t* offset, qse_size_t count) int out_fd, qse_ubi_t in_fd, qse_foff_t* offset, qse_size_t count)
{ {
#if defined(HAVE_SENDFILE) && defined(HAVE_SENDFILE64) #if defined(HAVE_SENDFILE) && defined(HAVE_SENDFILE64)
@ -325,7 +334,7 @@ on failure xfer != n.
/* ------------------------------------------------------------------- */ /* ------------------------------------------------------------------- */
#if defined(HAVE_SSL) #if defined(HAVE_SSL)
static qse_ssize_t send_file_ssl ( static qse_ssize_t __send_file_ssl (
SSL* out, qse_ubi_t in_fd, qse_foff_t* offset, qse_size_t count) SSL* out, qse_ubi_t in_fd, qse_foff_t* offset, qse_size_t count)
{ {
qse_mchar_t buf[MAX_SEND_SIZE]; qse_mchar_t buf[MAX_SEND_SIZE];
@ -950,28 +959,43 @@ static int mux_poll (qse_httpd_t* httpd, void* vmux, const qse_ntime_t* tmout)
static int mux_readable (qse_httpd_t* httpd, qse_ubi_t handle, const qse_ntime_t* tmout) static int mux_readable (qse_httpd_t* httpd, qse_ubi_t handle, const qse_ntime_t* tmout)
{ {
#if defined(__OS2__)
long tv;
tv = tmout? QSE_SECNSEC_TO_MSEC (tmout->sec, tmout->nsec): -1;
return os2_select (&handle.i, 1, 0, 0, tv);
#else
fd_set r; fd_set r;
struct timeval tv, * tvp; struct timeval tv, * tvp;
if (tmout)
{
tv.tv_sec = tmout->sec;
tv.tv_usec = tmout->nsec;
tvp = &tv;
}
else tvp = QSE_NULL;
FD_ZERO (&r); FD_ZERO (&r);
FD_SET (handle.i, &r); FD_SET (handle.i, &r);
if (tmout)
{
tv.tv_sec = tmout->sec;
tv.tv_usec = tmout->nsec;
tvp = &tv;
}
else tvp = QSE_NULL;
return select (handle.i + 1, &r, QSE_NULL, QSE_NULL, tvp); return select (handle.i + 1, &r, QSE_NULL, QSE_NULL, tvp);
#endif
} }
static int mux_writable (qse_httpd_t* httpd, qse_ubi_t handle, const qse_ntime_t* tmout) static int mux_writable (qse_httpd_t* httpd, qse_ubi_t handle, const qse_ntime_t* tmout)
{ {
#if defined(__OS2__)
long tv;
tv = tmout? QSE_SECNSEC_TO_MSEC (tmout->sec, tmout->nsec): -1;
return os2_select (&handle.i, 0, 1, 0, tv);
#else
fd_set w; fd_set w;
struct timeval tv, * tvp; struct timeval tv, * tvp;
FD_ZERO (&w);
FD_SET (handle.i, &w);
if (tmout) if (tmout)
{ {
tv.tv_sec = tmout->sec; tv.tv_sec = tmout->sec;
@ -980,10 +1004,8 @@ static int mux_writable (qse_httpd_t* httpd, qse_ubi_t handle, const qse_ntime_t
} }
else tvp = QSE_NULL; else tvp = QSE_NULL;
FD_ZERO (&w);
FD_SET (handle.i, &w);
return select (handle.i + 1, QSE_NULL, &w, QSE_NULL, tvp); return select (handle.i + 1, QSE_NULL, &w, QSE_NULL, tvp);
#endif
} }
/* ------------------------------------------------------------------- */ /* ------------------------------------------------------------------- */
@ -1034,17 +1056,19 @@ static int stat_file (
#elif defined(__OS2__) #elif defined(__OS2__)
APIRET rc; APIRET rc;
HDIR h;
FILEFINDBUF3L ffb; FILEFINDBUF3L ffb;
ULONG count;
qse_btime_t bt; qse_btime_t bt;
qse_ntime_t nt; qse_ntime_t nt;
#if 0
HDIR h;
ULONG count;
/* fail if the path name contains a wilecard letter */ /* fail if the path name contains a wilecard letter */
if (qse_mbspbrk (path, QSE_MT("?*")) != QSE_NULL) return -1; if (qse_mbspbrk (path, QSE_MT("?*")) != QSE_NULL) return -1;
rc = DosFindFirst ( rc = DosFindFirst (
mptr, path,
&h, &h,
FILE_DIRECTORY | FILE_READONLY, FILE_DIRECTORY | FILE_READONLY,
&ffb, &ffb,
@ -1053,7 +1077,10 @@ static int stat_file (
FIL_STANDARDL); FIL_STANDARDL);
if (rc != NO_ERROR) return -1; if (rc != NO_ERROR) return -1;
DosFindClose (&h); DosFindClose (h);
#endif
rc = DosQueryPathInfo (path, FIL_STANDARDL, &ffb, QSE_SIZEOF(ffb));
if (rc != NO_ERROR) return -1;
QSE_MEMSET (&bt, 0, QSE_SIZEOF(bt)); QSE_MEMSET (&bt, 0, QSE_SIZEOF(bt));
bt.mday = ffb.fdateLastWrite.day; bt.mday = ffb.fdateLastWrite.day;
@ -1067,9 +1094,22 @@ static int stat_file (
QSE_MEMSET (hst, 0, QSE_SIZEOF(*hst)); QSE_MEMSET (hst, 0, QSE_SIZEOF(*hst));
if (ffb.attrFile & FILE_DIRECTORY) hst->isdir = 1; if (ffb.attrFile & FILE_DIRECTORY) hst->isdir = 1;
hst->size = ffb.cbFile; hst->size = ((qse_foff_t)ffb.cbFile.ulHi << 32) | ffb.cbFile.ulLo;
hst->mtime = nt; hst->mtime = nt;
if (path[0] != QSE_MT('\0') && path[1] == QSE_MT(':'))
{
if (path[0] >= QSE_MT('a') && path[0] <= QSE_MT('z'))
hst->dev = path[0] - QSE_MT('a');
else if (path[0] >= QSE_MT('A') && path[0] <= QSE_MT('Z'))
hst->dev = path[0] - QSE_MT('A');
}
else
{
ULONG num, map;
if (DosQueryCurrentDisk (&num, &map) == NO_ERROR) hst->dev = num - 1;
}
return 0; return 0;
#elif defined(__DOS__) #elif defined(__DOS__)
@ -1372,14 +1412,14 @@ static qse_ssize_t client_sendfile (
if (client->status & CLIENT_SECURE) if (client->status & CLIENT_SECURE)
{ {
#if defined(HAVE_SSL) #if defined(HAVE_SSL)
return send_file_ssl (client->handle2.ptr, handle, offset, count); return __send_file_ssl (client->handle2.ptr, handle, offset, count);
#else #else
return -1; return -1;
#endif #endif
} }
else else
{ {
return send_file (client->handle.i, handle, offset, count); return __send_file (client->handle.i, handle, offset, count);
} }
} }

View File

@ -223,19 +223,23 @@ static qse_httpd_task_t* entask_status (
const qse_mchar_t* extrapst = QSE_MT(""); const qse_mchar_t* extrapst = QSE_MT("");
const qse_mchar_t* extraval = QSE_MT(""); const qse_mchar_t* extraval = QSE_MT("");
qse_mchar_t text[1024] = QSE_MT(""); /* TODO: make this buffer dynamic or scalable */ qse_mchar_t text[1024]; /* TODO: make this buffer dynamic or scalable */
msg = qse_httpstatustombs (code); msg = qse_httpstatustombs (code);
if (code == 301 || code == 307) if (code == 301 || code == 307)
{ {
status_reloc_t* reloc = (status_reloc_t*)extra; status_reloc_t* reloc;
reloc = (status_reloc_t*)extra;
extrapre = QSE_MT("Location: "); extrapre = QSE_MT("Location: ");
extrapst = reloc->redir? QSE_MT("/\r\n"): QSE_MT("\r\n"); extrapst = reloc->redir? QSE_MT("/\r\n"): QSE_MT("\r\n");
extraval = reloc->dst; extraval = reloc->dst;
text[0] = QSE_MT('\0');
} }
else if (code == 304) else if (code == 304)
{ {
/* nothing to do */ text[0] = QSE_MT('\0');
} }
else else
{ {

View File

@ -277,7 +277,7 @@ int qse_main (int argc, qse_achar_t* argv[])
SSL_library_init (); SSL_library_init ();
#endif #endif
ret = qse_runmain (argc, argv, httpd_main); ret = qse_runmain (argc, argv, httpd_main);
#if defined(HAVE_SSL) #if defined(HAVE_SSL)
/*ERR_remove_state ();*/ /*ERR_remove_state ();*/

View File

@ -42,7 +42,7 @@ WVList
0 0
10 10
WPickList WPickList
89 91
11 11
MItem MItem
3 3
@ -95,8 +95,8 @@ WVList
0 0
23 23
MItem MItem
33 35
../../../../../lib/cmn/alg-rand.c ../../../../../lib/cmn/alg-base64.c
24 24
WString WString
4 4
@ -113,8 +113,8 @@ WVList
0 0
27 27
MItem MItem
35 33
../../../../../lib/cmn/alg-search.c ../../../../../lib/cmn/alg-rand.c
28 28
WString WString
4 4
@ -131,8 +131,8 @@ WVList
0 0
31 31
MItem MItem
33 35
../../../../../lib/cmn/alg-sort.c ../../../../../lib/cmn/alg-search.c
32 32
WString WString
4 4
@ -149,8 +149,8 @@ WVList
0 0
35 35
MItem MItem
31 33
../../../../../lib/cmn/assert.c ../../../../../lib/cmn/alg-sort.c
36 36
WString WString
4 4
@ -167,8 +167,8 @@ WVList
0 0
39 39
MItem MItem
28 31
../../../../../lib/cmn/chr.c ../../../../../lib/cmn/assert.c
40 40
WString WString
4 4
@ -185,8 +185,8 @@ WVList
0 0
43 43
MItem MItem
30 28
../../../../../lib/cmn/cp949.c ../../../../../lib/cmn/chr.c
44 44
WString WString
4 4
@ -204,7 +204,7 @@ WVList
47 47
MItem MItem
30 30
../../../../../lib/cmn/cp950.c ../../../../../lib/cmn/cp949.c
48 48
WString WString
4 4
@ -221,8 +221,8 @@ WVList
0 0
51 51
MItem MItem
28 30
../../../../../lib/cmn/dir.c ../../../../../lib/cmn/cp950.c
52 52
WString WString
4 4
@ -240,7 +240,7 @@ WVList
55 55
MItem MItem
28 28
../../../../../lib/cmn/dll.c ../../../../../lib/cmn/dir.c
56 56
WString WString
4 4
@ -258,7 +258,7 @@ WVList
59 59
MItem MItem
28 28
../../../../../lib/cmn/env.c ../../../../../lib/cmn/dll.c
60 60
WString WString
4 4
@ -276,7 +276,7 @@ WVList
63 63
MItem MItem
28 28
../../../../../lib/cmn/fio.c ../../../../../lib/cmn/env.c
64 64
WString WString
4 4
@ -294,7 +294,7 @@ WVList
67 67
MItem MItem
28 28
../../../../../lib/cmn/fma.c ../../../../../lib/cmn/fio.c
68 68
WString WString
4 4
@ -312,7 +312,7 @@ WVList
71 71
MItem MItem
28 28
../../../../../lib/cmn/fmt.c ../../../../../lib/cmn/fma.c
72 72
WString WString
4 4
@ -329,8 +329,8 @@ WVList
0 0
75 75
MItem MItem
31 28
../../../../../lib/cmn/fs-err.c ../../../../../lib/cmn/fmt.c
76 76
WString WString
4 4
@ -347,8 +347,8 @@ WVList
0 0
79 79
MItem MItem
32 31
../../../../../lib/cmn/fs-move.c ../../../../../lib/cmn/fs-err.c
80 80
WString WString
4 4
@ -365,8 +365,8 @@ WVList
0 0
83 83
MItem MItem
27 32
../../../../../lib/cmn/fs.c ../../../../../lib/cmn/fs-move.c
84 84
WString WString
4 4
@ -383,8 +383,8 @@ WVList
0 0
87 87
MItem MItem
28 27
../../../../../lib/cmn/gdl.c ../../../../../lib/cmn/fs.c
88 88
WString WString
4 4
@ -401,8 +401,8 @@ WVList
0 0
91 91
MItem MItem
29 28
../../../../../lib/cmn/glob.c ../../../../../lib/cmn/gdl.c
92 92
WString WString
4 4
@ -419,8 +419,8 @@ WVList
0 0
95 95
MItem MItem
28 29
../../../../../lib/cmn/htb.c ../../../../../lib/cmn/glob.c
96 96
WString WString
4 4
@ -437,8 +437,8 @@ WVList
0 0
99 99
MItem MItem
29 28
../../../../../lib/cmn/hton.c ../../../../../lib/cmn/htb.c
100 100
WString WString
4 4
@ -456,7 +456,7 @@ WVList
103 103
MItem MItem
29 29
../../../../../lib/cmn/ipad.c ../../../../../lib/cmn/hton.c
104 104
WString WString
4 4
@ -473,8 +473,8 @@ WVList
0 0
107 107
MItem MItem
28 29
../../../../../lib/cmn/lda.c ../../../../../lib/cmn/ipad.c
108 108
WString WString
4 4
@ -491,8 +491,8 @@ WVList
0 0
111 111
MItem MItem
29 28
../../../../../lib/cmn/main.c ../../../../../lib/cmn/lda.c
112 112
WString WString
4 4
@ -509,8 +509,8 @@ WVList
0 0
115 115
MItem MItem
33 29
../../../../../lib/cmn/mbwc-str.c ../../../../../lib/cmn/main.c
116 116
WString WString
4 4
@ -527,8 +527,8 @@ WVList
0 0
119 119
MItem MItem
29 33
../../../../../lib/cmn/mbwc.c ../../../../../lib/cmn/mbwc-str.c
120 120
WString WString
4 4
@ -545,8 +545,8 @@ WVList
0 0
123 123
MItem MItem
28 29
../../../../../lib/cmn/mem.c ../../../../../lib/cmn/mbwc.c
124 124
WString WString
4 4
@ -564,7 +564,7 @@ WVList
127 127
MItem MItem
28 28
../../../../../lib/cmn/mux.c ../../../../../lib/cmn/mem.c
128 128
WString WString
4 4
@ -581,8 +581,8 @@ WVList
0 0
131 131
MItem MItem
34 28
../../../../../lib/cmn/nwad-skad.c ../../../../../lib/cmn/mux.c
132 132
WString WString
4 4
@ -599,8 +599,8 @@ WVList
0 0
135 135
MItem MItem
29 34
../../../../../lib/cmn/nwad.c ../../../../../lib/cmn/nwad-skad.c
136 136
WString WString
4 4
@ -617,8 +617,8 @@ WVList
0 0
139 139
MItem MItem
33 29
../../../../../lib/cmn/nwif-cfg.c ../../../../../lib/cmn/nwad.c
140 140
WString WString
4 4
@ -635,8 +635,8 @@ WVList
0 0
143 143
MItem MItem
29 33
../../../../../lib/cmn/nwif.c ../../../../../lib/cmn/nwif-cfg.c
144 144
WString WString
4 4
@ -654,7 +654,7 @@ WVList
147 147
MItem MItem
29 29
../../../../../lib/cmn/nwio.c ../../../../../lib/cmn/nwif.c
148 148
WString WString
4 4
@ -671,8 +671,8 @@ WVList
0 0
151 151
MItem MItem
28 29
../../../../../lib/cmn/oht.c ../../../../../lib/cmn/nwio.c
152 152
WString WString
4 4
@ -690,7 +690,7 @@ WVList
155 155
MItem MItem
28 28
../../../../../lib/cmn/opt.c ../../../../../lib/cmn/oht.c
156 156
WString WString
4 4
@ -707,8 +707,8 @@ WVList
0 0
159 159
MItem MItem
38 28
../../../../../lib/cmn/path-basename.c ../../../../../lib/cmn/opt.c
160 160
WString WString
4 4
@ -725,8 +725,8 @@ WVList
0 0
163 163
MItem MItem
35 38
../../../../../lib/cmn/path-canon.c ../../../../../lib/cmn/path-basename.c
164 164
WString WString
4 4
@ -743,8 +743,8 @@ WVList
0 0
167 167
MItem MItem
28 35
../../../../../lib/cmn/pio.c ../../../../../lib/cmn/path-canon.c
168 168
WString WString
4 4
@ -762,7 +762,7 @@ WVList
171 171
MItem MItem
28 28
../../../../../lib/cmn/pma.c ../../../../../lib/cmn/pio.c
172 172
WString WString
4 4
@ -780,7 +780,7 @@ WVList
175 175
MItem MItem
28 28
../../../../../lib/cmn/rbt.c ../../../../../lib/cmn/pma.c
176 176
WString WString
4 4
@ -798,7 +798,7 @@ WVList
179 179
MItem MItem
28 28
../../../../../lib/cmn/rex.c ../../../../../lib/cmn/rbt.c
180 180
WString WString
4 4
@ -816,7 +816,7 @@ WVList
183 183
MItem MItem
28 28
../../../../../lib/cmn/sio.c ../../../../../lib/cmn/rex.c
184 184
WString WString
4 4
@ -834,7 +834,7 @@ WVList
187 187
MItem MItem
28 28
../../../../../lib/cmn/sll.c ../../../../../lib/cmn/sio.c
188 188
WString WString
4 4
@ -851,8 +851,8 @@ WVList
0 0
191 191
MItem MItem
29 28
../../../../../lib/cmn/slmb.c ../../../../../lib/cmn/sll.c
192 192
WString WString
4 4
@ -869,8 +869,8 @@ WVList
0 0
195 195
MItem MItem
30 29
../../../../../lib/cmn/stdio.c ../../../../../lib/cmn/slmb.c
196 196
WString WString
4 4
@ -887,8 +887,8 @@ WVList
0 0
199 199
MItem MItem
32 30
../../../../../lib/cmn/str-beg.c ../../../../../lib/cmn/stdio.c
200 200
WString WString
4 4
@ -906,7 +906,7 @@ WVList
203 203
MItem MItem
32 32
../../../../../lib/cmn/str-cat.c ../../../../../lib/cmn/str-beg.c
204 204
WString WString
4 4
@ -924,7 +924,7 @@ WVList
207 207
MItem MItem
32 32
../../../../../lib/cmn/str-chr.c ../../../../../lib/cmn/str-cat.c
208 208
WString WString
4 4
@ -942,7 +942,7 @@ WVList
211 211
MItem MItem
32 32
../../../../../lib/cmn/str-cmp.c ../../../../../lib/cmn/str-chr.c
212 212
WString WString
4 4
@ -960,7 +960,7 @@ WVList
215 215
MItem MItem
32 32
../../../../../lib/cmn/str-cnv.c ../../../../../lib/cmn/str-cmp.c
216 216
WString WString
4 4
@ -978,7 +978,7 @@ WVList
219 219
MItem MItem
32 32
../../../../../lib/cmn/str-cpy.c ../../../../../lib/cmn/str-cnv.c
220 220
WString WString
4 4
@ -996,7 +996,7 @@ WVList
223 223
MItem MItem
32 32
../../../../../lib/cmn/str-del.c ../../../../../lib/cmn/str-cpy.c
224 224
WString WString
4 4
@ -1014,7 +1014,7 @@ WVList
227 227
MItem MItem
32 32
../../../../../lib/cmn/str-dup.c ../../../../../lib/cmn/str-del.c
228 228
WString WString
4 4
@ -1031,8 +1031,8 @@ WVList
0 0
231 231
MItem MItem
33 32
../../../../../lib/cmn/str-dynm.c ../../../../../lib/cmn/str-dup.c
232 232
WString WString
4 4
@ -1050,7 +1050,7 @@ WVList
235 235
MItem MItem
33 33
../../../../../lib/cmn/str-dynw.c ../../../../../lib/cmn/str-dynm.c
236 236
WString WString
4 4
@ -1067,8 +1067,8 @@ WVList
0 0
239 239
MItem MItem
32 33
../../../../../lib/cmn/str-end.c ../../../../../lib/cmn/str-dynw.c
240 240
WString WString
4 4
@ -1085,8 +1085,8 @@ WVList
0 0
243 243
MItem MItem
33 32
../../../../../lib/cmn/str-excl.c ../../../../../lib/cmn/str-end.c
244 244
WString WString
4 4
@ -1104,7 +1104,7 @@ WVList
247 247
MItem MItem
33 33
../../../../../lib/cmn/str-fcpy.c ../../../../../lib/cmn/str-excl.c
248 248
WString WString
4 4
@ -1121,8 +1121,8 @@ WVList
0 0
251 251
MItem MItem
34 33
../../../../../lib/cmn/str-fnmat.c ../../../../../lib/cmn/str-fcpy.c
252 252
WString WString
4 4
@ -1139,8 +1139,8 @@ WVList
0 0
255 255
MItem MItem
33 34
../../../../../lib/cmn/str-incl.c ../../../../../lib/cmn/str-fnmat.c
256 256
WString WString
4 4
@ -1157,8 +1157,8 @@ WVList
0 0
259 259
MItem MItem
32 33
../../../../../lib/cmn/str-len.c ../../../../../lib/cmn/str-incl.c
260 260
WString WString
4 4
@ -1176,7 +1176,7 @@ WVList
263 263
MItem MItem
32 32
../../../../../lib/cmn/str-pac.c ../../../../../lib/cmn/str-len.c
264 264
WString WString
4 4
@ -1193,8 +1193,8 @@ WVList
0 0
267 267
MItem MItem
33 32
../../../../../lib/cmn/str-pbrk.c ../../../../../lib/cmn/str-pac.c
268 268
WString WString
4 4
@ -1211,8 +1211,8 @@ WVList
0 0
271 271
MItem MItem
32 33
../../../../../lib/cmn/str-put.c ../../../../../lib/cmn/str-pbrk.c
272 272
WString WString
4 4
@ -1230,7 +1230,7 @@ WVList
275 275
MItem MItem
32 32
../../../../../lib/cmn/str-rev.c ../../../../../lib/cmn/str-put.c
276 276
WString WString
4 4
@ -1248,7 +1248,7 @@ WVList
279 279
MItem MItem
32 32
../../../../../lib/cmn/str-rot.c ../../../../../lib/cmn/str-rev.c
280 280
WString WString
4 4
@ -1266,7 +1266,7 @@ WVList
283 283
MItem MItem
32 32
../../../../../lib/cmn/str-set.c ../../../../../lib/cmn/str-rot.c
284 284
WString WString
4 4
@ -1284,7 +1284,7 @@ WVList
287 287
MItem MItem
32 32
../../../../../lib/cmn/str-spl.c ../../../../../lib/cmn/str-set.c
288 288
WString WString
4 4
@ -1302,7 +1302,7 @@ WVList
291 291
MItem MItem
32 32
../../../../../lib/cmn/str-spn.c ../../../../../lib/cmn/str-spl.c
292 292
WString WString
4 4
@ -1320,7 +1320,7 @@ WVList
295 295
MItem MItem
32 32
../../../../../lib/cmn/str-str.c ../../../../../lib/cmn/str-spn.c
296 296
WString WString
4 4
@ -1337,8 +1337,8 @@ WVList
0 0
299 299
MItem MItem
34 32
../../../../../lib/cmn/str-subst.c ../../../../../lib/cmn/str-str.c
300 300
WString WString
4 4
@ -1355,8 +1355,8 @@ WVList
0 0
303 303
MItem MItem
32 34
../../../../../lib/cmn/str-tok.c ../../../../../lib/cmn/str-subst.c
304 304
WString WString
4 4
@ -1374,7 +1374,7 @@ WVList
307 307
MItem MItem
32 32
../../../../../lib/cmn/str-trm.c ../../../../../lib/cmn/str-tok.c
308 308
WString WString
4 4
@ -1391,8 +1391,8 @@ WVList
0 0
311 311
MItem MItem
33 32
../../../../../lib/cmn/str-word.c ../../../../../lib/cmn/str-trm.c
312 312
WString WString
4 4
@ -1409,8 +1409,8 @@ WVList
0 0
315 315
MItem MItem
29 33
../../../../../lib/cmn/task.c ../../../../../lib/cmn/str-word.c
316 316
WString WString
4 4
@ -1428,7 +1428,7 @@ WVList
319 319
MItem MItem
29 29
../../../../../lib/cmn/time.c ../../../../../lib/cmn/task.c
320 320
WString WString
4 4
@ -1445,8 +1445,8 @@ WVList
0 0
323 323
MItem MItem
28 29
../../../../../lib/cmn/tio.c ../../../../../lib/cmn/time.c
324 324
WString WString
4 4
@ -1463,8 +1463,8 @@ WVList
0 0
327 327
MItem MItem
32 28
../../../../../lib/cmn/tre-ast.c ../../../../../lib/cmn/tio.c
328 328
WString WString
4 4
@ -1481,8 +1481,8 @@ WVList
0 0
331 331
MItem MItem
36 32
../../../../../lib/cmn/tre-compile.c ../../../../../lib/cmn/tre-ast.c
332 332
WString WString
4 4
@ -1499,8 +1499,8 @@ WVList
0 0
335 335
MItem MItem
44 36
../../../../../lib/cmn/tre-match-backtrack.c ../../../../../lib/cmn/tre-compile.c
336 336
WString WString
4 4
@ -1517,8 +1517,8 @@ WVList
0 0
339 339
MItem MItem
43 44
../../../../../lib/cmn/tre-match-parallel.c ../../../../../lib/cmn/tre-match-backtrack.c
340 340
WString WString
4 4
@ -1535,8 +1535,8 @@ WVList
0 0
343 343
MItem MItem
34 43
../../../../../lib/cmn/tre-parse.c ../../../../../lib/cmn/tre-match-parallel.c
344 344
WString WString
4 4
@ -1554,7 +1554,7 @@ WVList
347 347
MItem MItem
34 34
../../../../../lib/cmn/tre-stack.c ../../../../../lib/cmn/tre-parse.c
348 348
WString WString
4 4
@ -1571,8 +1571,8 @@ WVList
0 0
351 351
MItem MItem
28 34
../../../../../lib/cmn/tre.c ../../../../../lib/cmn/tre-stack.c
352 352
WString WString
4 4
@ -1589,8 +1589,8 @@ WVList
0 0
355 355
MItem MItem
29 28
../../../../../lib/cmn/utf8.c ../../../../../lib/cmn/tre.c
356 356
WString WString
4 4
@ -1608,7 +1608,7 @@ WVList
359 359
MItem MItem
28 28
../../../../../lib/cmn/xma.c ../../../../../lib/cmn/uri.c
360 360
WString WString
4 4
@ -1625,44 +1625,44 @@ WVList
0 0
363 363
MItem MItem
3 29
*.h ../../../../../lib/cmn/utf8.c
364 364
WString WString
3 4
NIL COBJ
365 365
WVList WVList
0 0
366 366
WVList WVList
0 0
-1 11
1 1
1 1
0 0
367 367
MItem MItem
28 28
../../../../../lib/cmn/mem.h ../../../../../lib/cmn/xma.c
368 368
WString WString
3 4
NIL COBJ
369 369
WVList WVList
0 0
370 370
WVList WVList
0 0
363 11
1 1
1 1
0 0
371 371
MItem MItem
32 3
../../../../../lib/cmn/syscall.h *.h
372 372
WString WString
3 3
@ -1673,7 +1673,43 @@ WVList
374 374
WVList WVList
0 0
363 -1
1
1
0
375
MItem
28
../../../../../lib/cmn/mem.h
376
WString
3
NIL
377
WVList
0
378
WVList
0
371
1
1
0
379
MItem
32
../../../../../lib/cmn/syscall.h
380
WString
3
NIL
381
WVList
0
382
WVList
0
371
1 1
1 1
0 0

View File

@ -0,0 +1,145 @@
40
targetIdent
0
MProject
1
MComponent
0
2
WString
4
OEXE
3
WString
5
oc2eo
1
0
1
4
MCommand
0
5
MCommand
0
6
MItem
12
qsehttpd.exe
7
WString
4
OEXE
8
WVList
2
9
MVState
10
WString
7
OS2LINK
11
WString
28
?????Library directories(;):
1
12
WString
27
../../lib/cmn ../../lib/net
0
13
MVState
14
WString
7
OS2LINK
15
WString
18
?????Libraries(,):
1
16
WString
13
qsecmn qsenet
0
17
WVList
0
-1
1
1
0
18
WPickList
2
19
MItem
3
*.c
20
WString
4
COBJ
21
WVList
2
22
MVState
23
WString
3
WCC
24
WString
25
o?2??Include directories:
1
25
WString
54
"$(%watcom)/h;$(%watcom)/h/os2;../../../../../include"
0
26
MVState
27
WString
3
WCC
28
WString
23
?????Macro definitions:
1
29
WString
15
QSE_BUILD_DEBUG
0
30
WVList
0
-1
1
1
0
31
MItem
30
../../../../../cmd/net/httpd.c
32
WString
4
COBJ
33
WVList
0
34
WVList
0
19
1
1
0

View File

@ -42,7 +42,7 @@ WVList
0 0
10 10
WPickList WPickList
89 91
11 11
MItem MItem
3 3
@ -107,8 +107,8 @@ WVList
0 0
26 26
MItem MItem
33 35
../../../../../lib/cmn/alg-rand.c ../../../../../lib/cmn/alg-base64.c
27 27
WString WString
4 4
@ -125,8 +125,8 @@ WVList
0 0
30 30
MItem MItem
35 33
../../../../../lib/cmn/alg-search.c ../../../../../lib/cmn/alg-rand.c
31 31
WString WString
4 4
@ -143,8 +143,8 @@ WVList
0 0
34 34
MItem MItem
33 35
../../../../../lib/cmn/alg-sort.c ../../../../../lib/cmn/alg-search.c
35 35
WString WString
4 4
@ -161,8 +161,8 @@ WVList
0 0
38 38
MItem MItem
31 33
../../../../../lib/cmn/assert.c ../../../../../lib/cmn/alg-sort.c
39 39
WString WString
4 4
@ -179,8 +179,8 @@ WVList
0 0
42 42
MItem MItem
28 31
../../../../../lib/cmn/chr.c ../../../../../lib/cmn/assert.c
43 43
WString WString
4 4
@ -197,8 +197,8 @@ WVList
0 0
46 46
MItem MItem
30 28
../../../../../lib/cmn/cp949.c ../../../../../lib/cmn/chr.c
47 47
WString WString
4 4
@ -216,7 +216,7 @@ WVList
50 50
MItem MItem
30 30
../../../../../lib/cmn/cp950.c ../../../../../lib/cmn/cp949.c
51 51
WString WString
4 4
@ -233,8 +233,8 @@ WVList
0 0
54 54
MItem MItem
28 30
../../../../../lib/cmn/dir.c ../../../../../lib/cmn/cp950.c
55 55
WString WString
4 4
@ -252,7 +252,7 @@ WVList
58 58
MItem MItem
28 28
../../../../../lib/cmn/dll.c ../../../../../lib/cmn/dir.c
59 59
WString WString
4 4
@ -270,7 +270,7 @@ WVList
62 62
MItem MItem
28 28
../../../../../lib/cmn/env.c ../../../../../lib/cmn/dll.c
63 63
WString WString
4 4
@ -288,7 +288,7 @@ WVList
66 66
MItem MItem
28 28
../../../../../lib/cmn/fio.c ../../../../../lib/cmn/env.c
67 67
WString WString
4 4
@ -306,7 +306,7 @@ WVList
70 70
MItem MItem
28 28
../../../../../lib/cmn/fma.c ../../../../../lib/cmn/fio.c
71 71
WString WString
4 4
@ -324,7 +324,7 @@ WVList
74 74
MItem MItem
28 28
../../../../../lib/cmn/fmt.c ../../../../../lib/cmn/fma.c
75 75
WString WString
4 4
@ -341,8 +341,8 @@ WVList
0 0
78 78
MItem MItem
31 28
../../../../../lib/cmn/fs-err.c ../../../../../lib/cmn/fmt.c
79 79
WString WString
4 4
@ -359,8 +359,8 @@ WVList
0 0
82 82
MItem MItem
32 31
../../../../../lib/cmn/fs-move.c ../../../../../lib/cmn/fs-err.c
83 83
WString WString
4 4
@ -377,8 +377,8 @@ WVList
0 0
86 86
MItem MItem
27 32
../../../../../lib/cmn/fs.c ../../../../../lib/cmn/fs-move.c
87 87
WString WString
4 4
@ -395,8 +395,8 @@ WVList
0 0
90 90
MItem MItem
28 27
../../../../../lib/cmn/gdl.c ../../../../../lib/cmn/fs.c
91 91
WString WString
4 4
@ -413,8 +413,8 @@ WVList
0 0
94 94
MItem MItem
29 28
../../../../../lib/cmn/glob.c ../../../../../lib/cmn/gdl.c
95 95
WString WString
4 4
@ -431,8 +431,8 @@ WVList
0 0
98 98
MItem MItem
28 29
../../../../../lib/cmn/htb.c ../../../../../lib/cmn/glob.c
99 99
WString WString
4 4
@ -449,8 +449,8 @@ WVList
0 0
102 102
MItem MItem
29 28
../../../../../lib/cmn/hton.c ../../../../../lib/cmn/htb.c
103 103
WString WString
4 4
@ -468,7 +468,7 @@ WVList
106 106
MItem MItem
29 29
../../../../../lib/cmn/ipad.c ../../../../../lib/cmn/hton.c
107 107
WString WString
4 4
@ -485,8 +485,8 @@ WVList
0 0
110 110
MItem MItem
28 29
../../../../../lib/cmn/lda.c ../../../../../lib/cmn/ipad.c
111 111
WString WString
4 4
@ -503,8 +503,8 @@ WVList
0 0
114 114
MItem MItem
29 28
../../../../../lib/cmn/main.c ../../../../../lib/cmn/lda.c
115 115
WString WString
4 4
@ -521,8 +521,8 @@ WVList
0 0
118 118
MItem MItem
33 29
../../../../../lib/cmn/mbwc-str.c ../../../../../lib/cmn/main.c
119 119
WString WString
4 4
@ -539,8 +539,8 @@ WVList
0 0
122 122
MItem MItem
29 33
../../../../../lib/cmn/mbwc.c ../../../../../lib/cmn/mbwc-str.c
123 123
WString WString
4 4
@ -557,8 +557,8 @@ WVList
0 0
126 126
MItem MItem
28 29
../../../../../lib/cmn/mem.c ../../../../../lib/cmn/mbwc.c
127 127
WString WString
4 4
@ -576,7 +576,7 @@ WVList
130 130
MItem MItem
28 28
../../../../../lib/cmn/mux.c ../../../../../lib/cmn/mem.c
131 131
WString WString
4 4
@ -593,8 +593,8 @@ WVList
0 0
134 134
MItem MItem
34 28
../../../../../lib/cmn/nwad-skad.c ../../../../../lib/cmn/mux.c
135 135
WString WString
4 4
@ -611,8 +611,8 @@ WVList
0 0
138 138
MItem MItem
29 34
../../../../../lib/cmn/nwad.c ../../../../../lib/cmn/nwad-skad.c
139 139
WString WString
4 4
@ -629,8 +629,8 @@ WVList
0 0
142 142
MItem MItem
33 29
../../../../../lib/cmn/nwif-cfg.c ../../../../../lib/cmn/nwad.c
143 143
WString WString
4 4
@ -647,8 +647,8 @@ WVList
0 0
146 146
MItem MItem
29 33
../../../../../lib/cmn/nwif.c ../../../../../lib/cmn/nwif-cfg.c
147 147
WString WString
4 4
@ -666,7 +666,7 @@ WVList
150 150
MItem MItem
29 29
../../../../../lib/cmn/nwio.c ../../../../../lib/cmn/nwif.c
151 151
WString WString
4 4
@ -683,8 +683,8 @@ WVList
0 0
154 154
MItem MItem
28 29
../../../../../lib/cmn/oht.c ../../../../../lib/cmn/nwio.c
155 155
WString WString
4 4
@ -702,7 +702,7 @@ WVList
158 158
MItem MItem
28 28
../../../../../lib/cmn/opt.c ../../../../../lib/cmn/oht.c
159 159
WString WString
4 4
@ -719,8 +719,8 @@ WVList
0 0
162 162
MItem MItem
38 28
../../../../../lib/cmn/path-basename.c ../../../../../lib/cmn/opt.c
163 163
WString WString
4 4
@ -737,8 +737,8 @@ WVList
0 0
166 166
MItem MItem
35 38
../../../../../lib/cmn/path-canon.c ../../../../../lib/cmn/path-basename.c
167 167
WString WString
4 4
@ -755,8 +755,8 @@ WVList
0 0
170 170
MItem MItem
28 35
../../../../../lib/cmn/pio.c ../../../../../lib/cmn/path-canon.c
171 171
WString WString
4 4
@ -774,7 +774,7 @@ WVList
174 174
MItem MItem
28 28
../../../../../lib/cmn/pma.c ../../../../../lib/cmn/pio.c
175 175
WString WString
4 4
@ -792,7 +792,7 @@ WVList
178 178
MItem MItem
28 28
../../../../../lib/cmn/rbt.c ../../../../../lib/cmn/pma.c
179 179
WString WString
4 4
@ -810,7 +810,7 @@ WVList
182 182
MItem MItem
28 28
../../../../../lib/cmn/rex.c ../../../../../lib/cmn/rbt.c
183 183
WString WString
4 4
@ -828,7 +828,7 @@ WVList
186 186
MItem MItem
28 28
../../../../../lib/cmn/sio.c ../../../../../lib/cmn/rex.c
187 187
WString WString
4 4
@ -846,7 +846,7 @@ WVList
190 190
MItem MItem
28 28
../../../../../lib/cmn/sll.c ../../../../../lib/cmn/sio.c
191 191
WString WString
4 4
@ -863,8 +863,8 @@ WVList
0 0
194 194
MItem MItem
29 28
../../../../../lib/cmn/slmb.c ../../../../../lib/cmn/sll.c
195 195
WString WString
4 4
@ -881,8 +881,8 @@ WVList
0 0
198 198
MItem MItem
30 29
../../../../../lib/cmn/stdio.c ../../../../../lib/cmn/slmb.c
199 199
WString WString
4 4
@ -899,8 +899,8 @@ WVList
0 0
202 202
MItem MItem
32 30
../../../../../lib/cmn/str-beg.c ../../../../../lib/cmn/stdio.c
203 203
WString WString
4 4
@ -918,7 +918,7 @@ WVList
206 206
MItem MItem
32 32
../../../../../lib/cmn/str-cat.c ../../../../../lib/cmn/str-beg.c
207 207
WString WString
4 4
@ -936,7 +936,7 @@ WVList
210 210
MItem MItem
32 32
../../../../../lib/cmn/str-chr.c ../../../../../lib/cmn/str-cat.c
211 211
WString WString
4 4
@ -954,7 +954,7 @@ WVList
214 214
MItem MItem
32 32
../../../../../lib/cmn/str-cmp.c ../../../../../lib/cmn/str-chr.c
215 215
WString WString
4 4
@ -972,7 +972,7 @@ WVList
218 218
MItem MItem
32 32
../../../../../lib/cmn/str-cnv.c ../../../../../lib/cmn/str-cmp.c
219 219
WString WString
4 4
@ -990,7 +990,7 @@ WVList
222 222
MItem MItem
32 32
../../../../../lib/cmn/str-cpy.c ../../../../../lib/cmn/str-cnv.c
223 223
WString WString
4 4
@ -1008,7 +1008,7 @@ WVList
226 226
MItem MItem
32 32
../../../../../lib/cmn/str-del.c ../../../../../lib/cmn/str-cpy.c
227 227
WString WString
4 4
@ -1026,7 +1026,7 @@ WVList
230 230
MItem MItem
32 32
../../../../../lib/cmn/str-dup.c ../../../../../lib/cmn/str-del.c
231 231
WString WString
4 4
@ -1043,8 +1043,8 @@ WVList
0 0
234 234
MItem MItem
33 32
../../../../../lib/cmn/str-dynm.c ../../../../../lib/cmn/str-dup.c
235 235
WString WString
4 4
@ -1062,7 +1062,7 @@ WVList
238 238
MItem MItem
33 33
../../../../../lib/cmn/str-dynw.c ../../../../../lib/cmn/str-dynm.c
239 239
WString WString
4 4
@ -1079,8 +1079,8 @@ WVList
0 0
242 242
MItem MItem
32 33
../../../../../lib/cmn/str-end.c ../../../../../lib/cmn/str-dynw.c
243 243
WString WString
4 4
@ -1097,8 +1097,8 @@ WVList
0 0
246 246
MItem MItem
33 32
../../../../../lib/cmn/str-excl.c ../../../../../lib/cmn/str-end.c
247 247
WString WString
4 4
@ -1116,7 +1116,7 @@ WVList
250 250
MItem MItem
33 33
../../../../../lib/cmn/str-fcpy.c ../../../../../lib/cmn/str-excl.c
251 251
WString WString
4 4
@ -1133,8 +1133,8 @@ WVList
0 0
254 254
MItem MItem
34 33
../../../../../lib/cmn/str-fnmat.c ../../../../../lib/cmn/str-fcpy.c
255 255
WString WString
4 4
@ -1151,8 +1151,8 @@ WVList
0 0
258 258
MItem MItem
33 34
../../../../../lib/cmn/str-incl.c ../../../../../lib/cmn/str-fnmat.c
259 259
WString WString
4 4
@ -1169,8 +1169,8 @@ WVList
0 0
262 262
MItem MItem
32 33
../../../../../lib/cmn/str-len.c ../../../../../lib/cmn/str-incl.c
263 263
WString WString
4 4
@ -1188,7 +1188,7 @@ WVList
266 266
MItem MItem
32 32
../../../../../lib/cmn/str-pac.c ../../../../../lib/cmn/str-len.c
267 267
WString WString
4 4
@ -1205,8 +1205,8 @@ WVList
0 0
270 270
MItem MItem
33 32
../../../../../lib/cmn/str-pbrk.c ../../../../../lib/cmn/str-pac.c
271 271
WString WString
4 4
@ -1223,8 +1223,8 @@ WVList
0 0
274 274
MItem MItem
32 33
../../../../../lib/cmn/str-put.c ../../../../../lib/cmn/str-pbrk.c
275 275
WString WString
4 4
@ -1242,7 +1242,7 @@ WVList
278 278
MItem MItem
32 32
../../../../../lib/cmn/str-rev.c ../../../../../lib/cmn/str-put.c
279 279
WString WString
4 4
@ -1260,7 +1260,7 @@ WVList
282 282
MItem MItem
32 32
../../../../../lib/cmn/str-rot.c ../../../../../lib/cmn/str-rev.c
283 283
WString WString
4 4
@ -1278,7 +1278,7 @@ WVList
286 286
MItem MItem
32 32
../../../../../lib/cmn/str-set.c ../../../../../lib/cmn/str-rot.c
287 287
WString WString
4 4
@ -1296,7 +1296,7 @@ WVList
290 290
MItem MItem
32 32
../../../../../lib/cmn/str-spl.c ../../../../../lib/cmn/str-set.c
291 291
WString WString
4 4
@ -1314,7 +1314,7 @@ WVList
294 294
MItem MItem
32 32
../../../../../lib/cmn/str-spn.c ../../../../../lib/cmn/str-spl.c
295 295
WString WString
4 4
@ -1332,7 +1332,7 @@ WVList
298 298
MItem MItem
32 32
../../../../../lib/cmn/str-str.c ../../../../../lib/cmn/str-spn.c
299 299
WString WString
4 4
@ -1349,8 +1349,8 @@ WVList
0 0
302 302
MItem MItem
34 32
../../../../../lib/cmn/str-subst.c ../../../../../lib/cmn/str-str.c
303 303
WString WString
4 4
@ -1367,8 +1367,8 @@ WVList
0 0
306 306
MItem MItem
32 34
../../../../../lib/cmn/str-tok.c ../../../../../lib/cmn/str-subst.c
307 307
WString WString
4 4
@ -1386,7 +1386,7 @@ WVList
310 310
MItem MItem
32 32
../../../../../lib/cmn/str-trm.c ../../../../../lib/cmn/str-tok.c
311 311
WString WString
4 4
@ -1403,8 +1403,8 @@ WVList
0 0
314 314
MItem MItem
33 32
../../../../../lib/cmn/str-word.c ../../../../../lib/cmn/str-trm.c
315 315
WString WString
4 4
@ -1421,8 +1421,8 @@ WVList
0 0
318 318
MItem MItem
29 33
../../../../../lib/cmn/task.c ../../../../../lib/cmn/str-word.c
319 319
WString WString
4 4
@ -1440,7 +1440,7 @@ WVList
322 322
MItem MItem
29 29
../../../../../lib/cmn/time.c ../../../../../lib/cmn/task.c
323 323
WString WString
4 4
@ -1457,8 +1457,8 @@ WVList
0 0
326 326
MItem MItem
28 29
../../../../../lib/cmn/tio.c ../../../../../lib/cmn/time.c
327 327
WString WString
4 4
@ -1475,8 +1475,8 @@ WVList
0 0
330 330
MItem MItem
32 28
../../../../../lib/cmn/tre-ast.c ../../../../../lib/cmn/tio.c
331 331
WString WString
4 4
@ -1493,8 +1493,8 @@ WVList
0 0
334 334
MItem MItem
36 32
../../../../../lib/cmn/tre-compile.c ../../../../../lib/cmn/tre-ast.c
335 335
WString WString
4 4
@ -1511,8 +1511,8 @@ WVList
0 0
338 338
MItem MItem
44 36
../../../../../lib/cmn/tre-match-backtrack.c ../../../../../lib/cmn/tre-compile.c
339 339
WString WString
4 4
@ -1529,8 +1529,8 @@ WVList
0 0
342 342
MItem MItem
43 44
../../../../../lib/cmn/tre-match-parallel.c ../../../../../lib/cmn/tre-match-backtrack.c
343 343
WString WString
4 4
@ -1547,8 +1547,8 @@ WVList
0 0
346 346
MItem MItem
34 43
../../../../../lib/cmn/tre-parse.c ../../../../../lib/cmn/tre-match-parallel.c
347 347
WString WString
4 4
@ -1566,7 +1566,7 @@ WVList
350 350
MItem MItem
34 34
../../../../../lib/cmn/tre-stack.c ../../../../../lib/cmn/tre-parse.c
351 351
WString WString
4 4
@ -1583,8 +1583,8 @@ WVList
0 0
354 354
MItem MItem
28 34
../../../../../lib/cmn/tre.c ../../../../../lib/cmn/tre-stack.c
355 355
WString WString
4 4
@ -1601,8 +1601,8 @@ WVList
0 0
358 358
MItem MItem
29 28
../../../../../lib/cmn/utf8.c ../../../../../lib/cmn/tre.c
359 359
WString WString
4 4
@ -1620,7 +1620,7 @@ WVList
362 362
MItem MItem
28 28
../../../../../lib/cmn/xma.c ../../../../../lib/cmn/uri.c
363 363
WString WString
4 4
@ -1637,44 +1637,44 @@ WVList
0 0
366 366
MItem MItem
3 29
*.h ../../../../../lib/cmn/utf8.c
367 367
WString WString
3 4
NIL COBJ
368 368
WVList WVList
0 0
369 369
WVList WVList
0 0
-1 11
1 1
1 1
0 0
370 370
MItem MItem
28 28
../../../../../lib/cmn/mem.h ../../../../../lib/cmn/xma.c
371 371
WString WString
3 4
NIL COBJ
372 372
WVList WVList
0 0
373 373
WVList WVList
0 0
366 11
1 1
1 1
0 0
374 374
MItem MItem
32 3
../../../../../lib/cmn/syscall.h *.h
375 375
WString WString
3 3
@ -1685,7 +1685,43 @@ WVList
377 377
WVList WVList
0 0
366 -1
1
1
0
378
MItem
28
../../../../../lib/cmn/mem.h
379
WString
3
NIL
380
WVList
0
381
WVList
0
374
1
1
0
382
MItem
32
../../../../../lib/cmn/syscall.h
383
WString
3
NIL
384
WVList
0
385
WVList
0
374
1 1
1 1
0 0

View File

@ -4,10 +4,10 @@ projectIdent
VpeMain VpeMain
1 1
WRect WRect
117 530
273 80
9311 9310
9664 9640
2 2
MProject MProject
3 3
@ -16,7 +16,7 @@ MCommand
4 4
MCommand MCommand
0 0
19 21
5 5
WFileName WFileName
30 30
@ -94,310 +94,350 @@ WFileName
29 29
debug/os2/mod/awk/awk-str.tgt debug/os2/mod/awk/awk-str.tgt
24 24
WVList WFileName
19 28
debug/os2/lib/net/qsenet.tgt
25 25
VComponent WFileName
30
debug/os2/cmd/net/qsehttpd.tgt
26 26
WVList
21
27
VComponent
28
WRect WRect
1060 1060
2506 2480
5690 5690
4222 4200
1 1
0 0
27 29
WFileName WFileName
30 30
release/os2/lib/cmn/qsecmn.tgt release/os2/lib/cmn/qsecmn.tgt
0 0
5 1
28 30
VComponent VComponent
29 31
WRect WRect
80 80
1228 1213
5690 5690
4222 4200
1 1
0 0
30 32
WFileName WFileName
30 30
release/os2/lib/sed/qsesed.tgt release/os2/lib/sed/qsesed.tgt
0 0
0 0
31 33
VComponent VComponent
32 34
WRect WRect
2091 2090
1384 1360
5690 5690
4222 4200
1 1
0 0
33 35
WFileName WFileName
30 30
release/os2/cmd/sed/qsesed.tgt release/os2/cmd/sed/qsesed.tgt
0 0
1 1
34 36
VComponent VComponent
35 37
WRect WRect
2816 2810
331 320
5690 5690
4222 4200
1 1
0 0
36 38
WFileName WFileName
28 28
debug/os2/lib/cmn/qsecmn.tgt debug/os2/lib/cmn/qsecmn.tgt
0 0
0 0
37 39
VComponent VComponent
38 40
WRect WRect
1038 1030
2340 2320
5690 5690
4222 4200
1 1
0 0
39 41
WFileName WFileName
28 28
debug/os2/lib/sed/qsesed.tgt debug/os2/lib/sed/qsesed.tgt
0 0
3 3
40
VComponent
41
WRect
409
302
5690
4222
0
0
42 42
VComponent
43
WRect
400
280
5690
4200
1
0
44
WFileName WFileName
28 28
debug/os2/lib/awk/qseawk.tgt debug/os2/lib/awk/qseawk.tgt
0 0
0 0
43 45
VComponent VComponent
44 46
WRect WRect
321 320
390 373
5690 5690
4222 4200
1 1
0 0
45 47
WFileName WFileName
28 28
debug/os2/cmd/awk/qseawk.tgt debug/os2/cmd/awk/qseawk.tgt
0 0
1 1
46 48
VComponent VComponent
47 49
WRect WRect
2662 2660
0 0
5690 5690
4222 4200
1 1
0 0
48 50
WFileName WFileName
30 30
debug/dos32/lib/cmn/qsecmn.tgt debug/dos32/lib/cmn/qsecmn.tgt
0 0
2 2
49
VComponent
50
WRect
2925
1277
5690
4222
0
0
51 51
VComponent
52
WRect
2920
1253
5690
4200
1
0
53
WFileName WFileName
30 30
debug/dos32/lib/awk/qseawk.tgt debug/dos32/lib/awk/qseawk.tgt
0 0
0 0
52 54
VComponent VComponent
53 55
WRect WRect
0 0
185 160
5690 5690
4222 4200
1 1
0 0
54 56
WFileName WFileName
30 30
debug/dos32/cmd/awk/qseawk.tgt debug/dos32/cmd/awk/qseawk.tgt
0 0
0 0
55 57
VComponent VComponent
56 58
WRect WRect
0 0
0 0
5690 5690
4222 4200
1 1
0 0
57 59
WFileName WFileName
30 30
debug/dos32/lib/sed/qsesed.tgt debug/dos32/lib/sed/qsesed.tgt
0 0
5 5
58 60
VComponent VComponent
59 61
WRect WRect
570 570
546 520
5690 5690
4222 4200
1 1
0 0
60 62
WFileName WFileName
30 30
debug/dos32/cmd/sed/qsesed.tgt debug/dos32/cmd/sed/qsesed.tgt
0 0
1 1
61 63
VComponent VComponent
62 64
WRect WRect
0 0
0 0
5690 5690
4222 4200
1
0 0
63 0
65
WFileName WFileName
28 28
debug/os2/cmd/sed/qsesed.tgt debug/os2/cmd/sed/qsesed.tgt
0 0
1
64
VComponent
65
WRect
2596
1063
5690
4222
1
0 0
66 66
VComponent
67
WRect
2590
1040
5690
4200
1
0
68
WFileName WFileName
31 31
debug/dos32/mod/awk/awk-sys.tgt debug/dos32/mod/awk/awk-sys.tgt
0 0
0 0
67 69
VComponent VComponent
68 70
WRect WRect
1126 1120
214 200
5690 5690
4222 4200
1 1
0 0
69 71
WFileName WFileName
29 29
debug/os2/mod/awk/awk-sys.tgt debug/os2/mod/awk/awk-sys.tgt
0 0
0 0
70 72
VComponent VComponent
71 73
WRect WRect
460 460
3052 3040
5690 5690
4242 4240
1 1
0 0
72 74
WFileName WFileName
29 29
debug/os2/mod/awk/awk-dir.tgt debug/os2/mod/awk/awk-dir.tgt
0 0
0 0
73 75
VComponent VComponent
74 76
WRect WRect
570 570
555 533
5690 5690
4242 4240
1 1
0 0
75 77
WFileName WFileName
31 31
debug/dos32/mod/awk/awk-dir.tgt debug/dos32/mod/awk/awk-dir.tgt
0 0
0 0
76 78
VComponent VComponent
77 79
WRect WRect
204 200
195 173
5705 5700
4320 4320
1 1
0 0
78 80
WFileName WFileName
31 31
debug/dos32/mod/awk/awk-str.tgt debug/dos32/mod/awk/awk-str.tgt
0 0
0 0
79 81
VComponent VComponent
80 82
WRect WRect
416 410
1384 1360
5705 5700
4320 4320
1 1
0 0
81 83
WFileName WFileName
29 29
debug/os2/mod/awk/awk-str.tgt debug/os2/mod/awk/awk-str.tgt
0 0
0 0
49 84
VComponent
85
WRect
3050
120
5700
4240
1
0
86
WFileName
28
debug/os2/lib/net/qsenet.tgt
0
0
87
VComponent
88
WRect
290
280
5700
4253
0
0
89
WFileName
30
debug/os2/cmd/net/qsehttpd.tgt
0
0
87

View File

@ -42,7 +42,7 @@ WVList
0 0
10 10
WPickList WPickList
87 89
11 11
MItem MItem
3 3
@ -143,8 +143,8 @@ WVList
0 0
35 35
MItem MItem
33 35
../../../../../lib/cmn/alg-rand.c ../../../../../lib/cmn/alg-base64.c
36 36
WString WString
4 4
@ -161,8 +161,8 @@ WVList
0 0
39 39
MItem MItem
35 33
../../../../../lib/cmn/alg-search.c ../../../../../lib/cmn/alg-rand.c
40 40
WString WString
4 4
@ -179,8 +179,8 @@ WVList
0 0
43 43
MItem MItem
33 35
../../../../../lib/cmn/alg-sort.c ../../../../../lib/cmn/alg-search.c
44 44
WString WString
4 4
@ -197,8 +197,8 @@ WVList
0 0
47 47
MItem MItem
31 33
../../../../../lib/cmn/assert.c ../../../../../lib/cmn/alg-sort.c
48 48
WString WString
4 4
@ -215,8 +215,8 @@ WVList
0 0
51 51
MItem MItem
28 31
../../../../../lib/cmn/chr.c ../../../../../lib/cmn/assert.c
52 52
WString WString
4 4
@ -233,8 +233,8 @@ WVList
0 0
55 55
MItem MItem
30 28
../../../../../lib/cmn/cp949.c ../../../../../lib/cmn/chr.c
56 56
WString WString
4 4
@ -252,7 +252,7 @@ WVList
59 59
MItem MItem
30 30
../../../../../lib/cmn/cp950.c ../../../../../lib/cmn/cp949.c
60 60
WString WString
4 4
@ -269,8 +269,8 @@ WVList
0 0
63 63
MItem MItem
28 30
../../../../../lib/cmn/dir.c ../../../../../lib/cmn/cp950.c
64 64
WString WString
4 4
@ -288,7 +288,7 @@ WVList
67 67
MItem MItem
28 28
../../../../../lib/cmn/dll.c ../../../../../lib/cmn/dir.c
68 68
WString WString
4 4
@ -306,7 +306,7 @@ WVList
71 71
MItem MItem
28 28
../../../../../lib/cmn/fio.c ../../../../../lib/cmn/dll.c
72 72
WString WString
4 4
@ -324,7 +324,7 @@ WVList
75 75
MItem MItem
28 28
../../../../../lib/cmn/fma.c ../../../../../lib/cmn/fio.c
76 76
WString WString
4 4
@ -342,7 +342,7 @@ WVList
79 79
MItem MItem
28 28
../../../../../lib/cmn/fmt.c ../../../../../lib/cmn/fma.c
80 80
WString WString
4 4
@ -359,8 +359,8 @@ WVList
0 0
83 83
MItem MItem
31 28
../../../../../lib/cmn/fs-err.c ../../../../../lib/cmn/fmt.c
84 84
WString WString
4 4
@ -377,8 +377,8 @@ WVList
0 0
87 87
MItem MItem
32 31
../../../../../lib/cmn/fs-move.c ../../../../../lib/cmn/fs-err.c
88 88
WString WString
4 4
@ -395,8 +395,8 @@ WVList
0 0
91 91
MItem MItem
27 32
../../../../../lib/cmn/fs.c ../../../../../lib/cmn/fs-move.c
92 92
WString WString
4 4
@ -413,8 +413,8 @@ WVList
0 0
95 95
MItem MItem
28 27
../../../../../lib/cmn/gdl.c ../../../../../lib/cmn/fs.c
96 96
WString WString
4 4
@ -431,8 +431,8 @@ WVList
0 0
99 99
MItem MItem
29 28
../../../../../lib/cmn/glob.c ../../../../../lib/cmn/gdl.c
100 100
WString WString
4 4
@ -449,8 +449,8 @@ WVList
0 0
103 103
MItem MItem
28 29
../../../../../lib/cmn/htb.c ../../../../../lib/cmn/glob.c
104 104
WString WString
4 4
@ -467,8 +467,8 @@ WVList
0 0
107 107
MItem MItem
29 28
../../../../../lib/cmn/ipad.c ../../../../../lib/cmn/htb.c
108 108
WString WString
4 4
@ -485,8 +485,8 @@ WVList
0 0
111 111
MItem MItem
28 29
../../../../../lib/cmn/lda.c ../../../../../lib/cmn/ipad.c
112 112
WString WString
4 4
@ -503,8 +503,8 @@ WVList
0 0
115 115
MItem MItem
29 28
../../../../../lib/cmn/main.c ../../../../../lib/cmn/lda.c
116 116
WString WString
4 4
@ -521,8 +521,8 @@ WVList
0 0
119 119
MItem MItem
33 29
../../../../../lib/cmn/mbwc-str.c ../../../../../lib/cmn/main.c
120 120
WString WString
4 4
@ -539,8 +539,8 @@ WVList
0 0
123 123
MItem MItem
29 33
../../../../../lib/cmn/mbwc.c ../../../../../lib/cmn/mbwc-str.c
124 124
WString WString
4 4
@ -557,8 +557,8 @@ WVList
0 0
127 127
MItem MItem
28 29
../../../../../lib/cmn/mem.c ../../../../../lib/cmn/mbwc.c
128 128
WString WString
4 4
@ -576,7 +576,7 @@ WVList
131 131
MItem MItem
28 28
../../../../../lib/cmn/mux.c ../../../../../lib/cmn/mem.c
132 132
WString WString
4 4
@ -593,8 +593,8 @@ WVList
0 0
135 135
MItem MItem
34 28
../../../../../lib/cmn/nwad-skad.c ../../../../../lib/cmn/mux.c
136 136
WString WString
4 4
@ -611,8 +611,8 @@ WVList
0 0
139 139
MItem MItem
29 34
../../../../../lib/cmn/nwad.c ../../../../../lib/cmn/nwad-skad.c
140 140
WString WString
4 4
@ -629,8 +629,8 @@ WVList
0 0
143 143
MItem MItem
33 29
../../../../../lib/cmn/nwif-cfg.c ../../../../../lib/cmn/nwad.c
144 144
WString WString
4 4
@ -647,8 +647,8 @@ WVList
0 0
147 147
MItem MItem
29 33
../../../../../lib/cmn/nwif.c ../../../../../lib/cmn/nwif-cfg.c
148 148
WString WString
4 4
@ -666,7 +666,7 @@ WVList
151 151
MItem MItem
29 29
../../../../../lib/cmn/nwio.c ../../../../../lib/cmn/nwif.c
152 152
WString WString
4 4
@ -683,8 +683,8 @@ WVList
0 0
155 155
MItem MItem
28 29
../../../../../lib/cmn/oht.c ../../../../../lib/cmn/nwio.c
156 156
WString WString
4 4
@ -702,7 +702,7 @@ WVList
159 159
MItem MItem
28 28
../../../../../lib/cmn/opt.c ../../../../../lib/cmn/oht.c
160 160
WString WString
4 4
@ -719,8 +719,8 @@ WVList
0 0
163 163
MItem MItem
38 28
../../../../../lib/cmn/path-basename.c ../../../../../lib/cmn/opt.c
164 164
WString WString
4 4
@ -737,8 +737,8 @@ WVList
0 0
167 167
MItem MItem
35 38
../../../../../lib/cmn/path-canon.c ../../../../../lib/cmn/path-basename.c
168 168
WString WString
4 4
@ -755,8 +755,8 @@ WVList
0 0
171 171
MItem MItem
28 35
../../../../../lib/cmn/pio.c ../../../../../lib/cmn/path-canon.c
172 172
WString WString
4 4
@ -774,7 +774,7 @@ WVList
175 175
MItem MItem
28 28
../../../../../lib/cmn/pma.c ../../../../../lib/cmn/pio.c
176 176
WString WString
4 4
@ -792,7 +792,7 @@ WVList
179 179
MItem MItem
28 28
../../../../../lib/cmn/rbt.c ../../../../../lib/cmn/pma.c
180 180
WString WString
4 4
@ -810,7 +810,7 @@ WVList
183 183
MItem MItem
28 28
../../../../../lib/cmn/rex.c ../../../../../lib/cmn/rbt.c
184 184
WString WString
4 4
@ -828,7 +828,7 @@ WVList
187 187
MItem MItem
28 28
../../../../../lib/cmn/sio.c ../../../../../lib/cmn/rex.c
188 188
WString WString
4 4
@ -846,7 +846,7 @@ WVList
191 191
MItem MItem
28 28
../../../../../lib/cmn/sll.c ../../../../../lib/cmn/sio.c
192 192
WString WString
4 4
@ -863,8 +863,8 @@ WVList
0 0
195 195
MItem MItem
29 28
../../../../../lib/cmn/slmb.c ../../../../../lib/cmn/sll.c
196 196
WString WString
4 4
@ -881,8 +881,8 @@ WVList
0 0
199 199
MItem MItem
30 29
../../../../../lib/cmn/stdio.c ../../../../../lib/cmn/slmb.c
200 200
WString WString
4 4
@ -899,8 +899,8 @@ WVList
0 0
203 203
MItem MItem
32 30
../../../../../lib/cmn/str-beg.c ../../../../../lib/cmn/stdio.c
204 204
WString WString
4 4
@ -918,7 +918,7 @@ WVList
207 207
MItem MItem
32 32
../../../../../lib/cmn/str-cat.c ../../../../../lib/cmn/str-beg.c
208 208
WString WString
4 4
@ -936,7 +936,7 @@ WVList
211 211
MItem MItem
32 32
../../../../../lib/cmn/str-chr.c ../../../../../lib/cmn/str-cat.c
212 212
WString WString
4 4
@ -954,7 +954,7 @@ WVList
215 215
MItem MItem
32 32
../../../../../lib/cmn/str-cmp.c ../../../../../lib/cmn/str-chr.c
216 216
WString WString
4 4
@ -972,7 +972,7 @@ WVList
219 219
MItem MItem
32 32
../../../../../lib/cmn/str-cnv.c ../../../../../lib/cmn/str-cmp.c
220 220
WString WString
4 4
@ -990,7 +990,7 @@ WVList
223 223
MItem MItem
32 32
../../../../../lib/cmn/str-cpy.c ../../../../../lib/cmn/str-cnv.c
224 224
WString WString
4 4
@ -1008,7 +1008,7 @@ WVList
227 227
MItem MItem
32 32
../../../../../lib/cmn/str-del.c ../../../../../lib/cmn/str-cpy.c
228 228
WString WString
4 4
@ -1026,7 +1026,7 @@ WVList
231 231
MItem MItem
32 32
../../../../../lib/cmn/str-dup.c ../../../../../lib/cmn/str-del.c
232 232
WString WString
4 4
@ -1043,8 +1043,8 @@ WVList
0 0
235 235
MItem MItem
33 32
../../../../../lib/cmn/str-dynm.c ../../../../../lib/cmn/str-dup.c
236 236
WString WString
4 4
@ -1062,7 +1062,7 @@ WVList
239 239
MItem MItem
33 33
../../../../../lib/cmn/str-dynw.c ../../../../../lib/cmn/str-dynm.c
240 240
WString WString
4 4
@ -1079,8 +1079,8 @@ WVList
0 0
243 243
MItem MItem
32 33
../../../../../lib/cmn/str-end.c ../../../../../lib/cmn/str-dynw.c
244 244
WString WString
4 4
@ -1097,8 +1097,8 @@ WVList
0 0
247 247
MItem MItem
33 32
../../../../../lib/cmn/str-excl.c ../../../../../lib/cmn/str-end.c
248 248
WString WString
4 4
@ -1116,7 +1116,7 @@ WVList
251 251
MItem MItem
33 33
../../../../../lib/cmn/str-fcpy.c ../../../../../lib/cmn/str-excl.c
252 252
WString WString
4 4
@ -1133,8 +1133,8 @@ WVList
0 0
255 255
MItem MItem
34 33
../../../../../lib/cmn/str-fnmat.c ../../../../../lib/cmn/str-fcpy.c
256 256
WString WString
4 4
@ -1151,8 +1151,8 @@ WVList
0 0
259 259
MItem MItem
33 34
../../../../../lib/cmn/str-incl.c ../../../../../lib/cmn/str-fnmat.c
260 260
WString WString
4 4
@ -1169,8 +1169,8 @@ WVList
0 0
263 263
MItem MItem
32 33
../../../../../lib/cmn/str-len.c ../../../../../lib/cmn/str-incl.c
264 264
WString WString
4 4
@ -1188,7 +1188,7 @@ WVList
267 267
MItem MItem
32 32
../../../../../lib/cmn/str-pac.c ../../../../../lib/cmn/str-len.c
268 268
WString WString
4 4
@ -1205,8 +1205,8 @@ WVList
0 0
271 271
MItem MItem
33 32
../../../../../lib/cmn/str-pbrk.c ../../../../../lib/cmn/str-pac.c
272 272
WString WString
4 4
@ -1223,8 +1223,8 @@ WVList
0 0
275 275
MItem MItem
32 33
../../../../../lib/cmn/str-put.c ../../../../../lib/cmn/str-pbrk.c
276 276
WString WString
4 4
@ -1242,7 +1242,7 @@ WVList
279 279
MItem MItem
32 32
../../../../../lib/cmn/str-rev.c ../../../../../lib/cmn/str-put.c
280 280
WString WString
4 4
@ -1260,7 +1260,7 @@ WVList
283 283
MItem MItem
32 32
../../../../../lib/cmn/str-rot.c ../../../../../lib/cmn/str-rev.c
284 284
WString WString
4 4
@ -1278,7 +1278,7 @@ WVList
287 287
MItem MItem
32 32
../../../../../lib/cmn/str-set.c ../../../../../lib/cmn/str-rot.c
288 288
WString WString
4 4
@ -1296,7 +1296,7 @@ WVList
291 291
MItem MItem
32 32
../../../../../lib/cmn/str-spl.c ../../../../../lib/cmn/str-set.c
292 292
WString WString
4 4
@ -1314,7 +1314,7 @@ WVList
295 295
MItem MItem
32 32
../../../../../lib/cmn/str-spn.c ../../../../../lib/cmn/str-spl.c
296 296
WString WString
4 4
@ -1332,7 +1332,7 @@ WVList
299 299
MItem MItem
32 32
../../../../../lib/cmn/str-str.c ../../../../../lib/cmn/str-spn.c
300 300
WString WString
4 4
@ -1349,8 +1349,8 @@ WVList
0 0
303 303
MItem MItem
34 32
../../../../../lib/cmn/str-subst.c ../../../../../lib/cmn/str-str.c
304 304
WString WString
4 4
@ -1367,8 +1367,8 @@ WVList
0 0
307 307
MItem MItem
32 34
../../../../../lib/cmn/str-tok.c ../../../../../lib/cmn/str-subst.c
308 308
WString WString
4 4
@ -1386,7 +1386,7 @@ WVList
311 311
MItem MItem
32 32
../../../../../lib/cmn/str-trm.c ../../../../../lib/cmn/str-tok.c
312 312
WString WString
4 4
@ -1403,8 +1403,8 @@ WVList
0 0
315 315
MItem MItem
33 32
../../../../../lib/cmn/str-word.c ../../../../../lib/cmn/str-trm.c
316 316
WString WString
4 4
@ -1421,8 +1421,8 @@ WVList
0 0
319 319
MItem MItem
29 33
../../../../../lib/cmn/task.c ../../../../../lib/cmn/str-word.c
320 320
WString WString
4 4
@ -1440,7 +1440,7 @@ WVList
323 323
MItem MItem
29 29
../../../../../lib/cmn/time.c ../../../../../lib/cmn/task.c
324 324
WString WString
4 4
@ -1457,8 +1457,8 @@ WVList
0 0
327 327
MItem MItem
28 29
../../../../../lib/cmn/tio.c ../../../../../lib/cmn/time.c
328 328
WString WString
4 4
@ -1475,8 +1475,8 @@ WVList
0 0
331 331
MItem MItem
32 28
../../../../../lib/cmn/tre-ast.c ../../../../../lib/cmn/tio.c
332 332
WString WString
4 4
@ -1493,8 +1493,8 @@ WVList
0 0
335 335
MItem MItem
36 32
../../../../../lib/cmn/tre-compile.c ../../../../../lib/cmn/tre-ast.c
336 336
WString WString
4 4
@ -1511,8 +1511,8 @@ WVList
0 0
339 339
MItem MItem
44 36
../../../../../lib/cmn/tre-match-backtrack.c ../../../../../lib/cmn/tre-compile.c
340 340
WString WString
4 4
@ -1529,8 +1529,8 @@ WVList
0 0
343 343
MItem MItem
43 44
../../../../../lib/cmn/tre-match-parallel.c ../../../../../lib/cmn/tre-match-backtrack.c
344 344
WString WString
4 4
@ -1547,8 +1547,8 @@ WVList
0 0
347 347
MItem MItem
34 43
../../../../../lib/cmn/tre-parse.c ../../../../../lib/cmn/tre-match-parallel.c
348 348
WString WString
4 4
@ -1566,7 +1566,7 @@ WVList
351 351
MItem MItem
34 34
../../../../../lib/cmn/tre-stack.c ../../../../../lib/cmn/tre-parse.c
352 352
WString WString
4 4
@ -1583,8 +1583,8 @@ WVList
0 0
355 355
MItem MItem
28 34
../../../../../lib/cmn/tre.c ../../../../../lib/cmn/tre-stack.c
356 356
WString WString
4 4
@ -1601,8 +1601,8 @@ WVList
0 0
359 359
MItem MItem
29 28
../../../../../lib/cmn/utf8.c ../../../../../lib/cmn/tre.c
360 360
WString WString
4 4
@ -1620,7 +1620,7 @@ WVList
363 363
MItem MItem
28 28
../../../../../lib/cmn/xma.c ../../../../../lib/cmn/uri.c
364 364
WString WString
4 4
@ -1637,44 +1637,44 @@ WVList
0 0
367 367
MItem MItem
3 29
*.h ../../../../../lib/cmn/utf8.c
368 368
WString WString
3 4
NIL COBJ
369 369
WVList WVList
0 0
370 370
WVList WVList
0 0
-1 11
1 1
1 1
0 0
371 371
MItem MItem
28 28
../../../../../lib/cmn/mem.h ../../../../../lib/cmn/xma.c
372 372
WString WString
3 4
NIL COBJ
373 373
WVList WVList
0 0
374 374
WVList WVList
0 0
367 11
1 1
1 1
0 0
375 375
MItem MItem
32 3
../../../../../lib/cmn/syscall.h *.h
376 376
WString WString
3 3
@ -1685,7 +1685,43 @@ WVList
378 378
WVList WVList
0 0
367 -1
1
1
0
379
MItem
28
../../../../../lib/cmn/mem.h
380
WString
3
NIL
381
WVList
0
382
WVList
0
375
1
1
0
383
MItem
32
../../../../../lib/cmn/syscall.h
384
WString
3
NIL
385
WVList
0
386
WVList
0
375
1 1
1 1
0 0