improve the Space text convertion methods
Read the whole character from a multibyte string (as int/char32_t) and then check if it needs to be escaped. Also don't use a tmp stream object when serializing between wide/char strings. while here: - add try_esc_to_space(...) global function - add wide_to_output_function(const wchar_t * str, size_t len, OutputFunction output_function, int mode) - add wide_to_output_function(const wchar_t * str, OutputFunction output_function, int mode)
This commit is contained in:
@@ -5,39 +5,42 @@
|
||||
./convert/text.o: ./convert/text.h ./convert/text_private.h
|
||||
./convert/double.o: ./convert/double.h textstream/textstream.h
|
||||
./convert/double.o: textstream/stream.h space/space.h convert/inttostr.h
|
||||
./convert/double.o: utf8/utf8.h textstream/stream.h date/date.h
|
||||
./convert/double.o: membuffer/membuffer.h textstream/types.h
|
||||
./convert/double.o: convert/misc.h textstream/stream.h utf8/utf8.h
|
||||
./convert/double.o: date/date.h membuffer/membuffer.h textstream/types.h
|
||||
./convert/double.o: textstream/stream_private.h
|
||||
./convert/baseparser.o: ./convert/baseparser.h textstream/textstream.h
|
||||
./convert/baseparser.o: textstream/stream.h space/space.h convert/inttostr.h
|
||||
./convert/baseparser.o: utf8/utf8.h textstream/stream.h date/date.h
|
||||
./convert/baseparser.o: membuffer/membuffer.h textstream/types.h
|
||||
./convert/baseparser.o: convert/misc.h textstream/stream.h utf8/utf8.h
|
||||
./convert/baseparser.o: date/date.h membuffer/membuffer.h textstream/types.h
|
||||
./convert/baseparser.o: textstream/stream_private.h
|
||||
./date/date.o: ./date/date.h convert/inttostr.h
|
||||
./log/filelog.o: ./log/filelog.h textstream/textstream.h textstream/stream.h
|
||||
./log/filelog.o: space/space.h convert/inttostr.h utf8/utf8.h
|
||||
./log/filelog.o: textstream/stream.h date/date.h membuffer/membuffer.h
|
||||
./log/filelog.o: textstream/types.h textstream/stream_private.h
|
||||
./log/filelog.o: space/space.h convert/inttostr.h convert/misc.h
|
||||
./log/filelog.o: textstream/stream.h utf8/utf8.h date/date.h
|
||||
./log/filelog.o: membuffer/membuffer.h textstream/types.h
|
||||
./log/filelog.o: textstream/stream_private.h
|
||||
./log/log.o: ./log/log.h textstream/textstream.h textstream/stream.h
|
||||
./log/log.o: space/space.h convert/inttostr.h utf8/utf8.h textstream/stream.h
|
||||
./log/log.o: date/date.h membuffer/membuffer.h textstream/types.h
|
||||
./log/log.o: space/space.h convert/inttostr.h convert/misc.h
|
||||
./log/log.o: textstream/stream.h utf8/utf8.h date/date.h
|
||||
./log/log.o: membuffer/membuffer.h textstream/types.h
|
||||
./log/log.o: textstream/stream_private.h ./log/filelog.h
|
||||
./space/space.o: ./space/space.h convert/inttostr.h utf8/utf8.h
|
||||
./space/space.o: textstream/stream.h convert/convert.h ./convert/inttostr.h
|
||||
./space/space.o: convert/patternreplacer.h textstream/textstream.h
|
||||
./space/space.o: textstream/stream.h space/space.h date/date.h
|
||||
./space/space.o: membuffer/membuffer.h textstream/types.h
|
||||
./space/space.o: ./space/space.h convert/inttostr.h convert/misc.h
|
||||
./space/space.o: textstream/stream.h utf8/utf8.h convert/convert.h
|
||||
./space/space.o: ./convert/inttostr.h convert/patternreplacer.h
|
||||
./space/space.o: textstream/textstream.h textstream/stream.h space/space.h
|
||||
./space/space.o: date/date.h membuffer/membuffer.h textstream/types.h
|
||||
./space/space.o: textstream/stream_private.h convert/strtoint.h
|
||||
./space/space.o: ./convert/text.h ./convert/misc.h ./convert/double.h
|
||||
./space/spaceparser.o: ./space/spaceparser.h ./space/space.h
|
||||
./space/spaceparser.o: convert/inttostr.h utf8/utf8.h textstream/stream.h
|
||||
./space/spaceparser.o: convert/baseparser.h textstream/textstream.h
|
||||
./space/spaceparser.o: textstream/stream.h space/space.h date/date.h
|
||||
./space/spaceparser.o: membuffer/membuffer.h textstream/types.h
|
||||
./space/spaceparser.o: textstream/stream_private.h convert/strtoint.h
|
||||
./space/spaceparser.o: ./convert/text.h ./convert/misc.h
|
||||
./space/spaceparser.o: convert/inttostr.h convert/misc.h textstream/stream.h
|
||||
./space/spaceparser.o: utf8/utf8.h convert/baseparser.h
|
||||
./space/spaceparser.o: textstream/textstream.h textstream/stream.h
|
||||
./space/spaceparser.o: space/space.h date/date.h membuffer/membuffer.h
|
||||
./space/spaceparser.o: textstream/types.h textstream/stream_private.h
|
||||
./space/spaceparser.o: convert/strtoint.h ./convert/text.h ./convert/misc.h
|
||||
./space/keyvalueparser.o: ./space/keyvalueparser.h ./space/space.h
|
||||
./space/keyvalueparser.o: convert/inttostr.h utf8/utf8.h textstream/stream.h
|
||||
./space/keyvalueparser.o: convert/inttostr.h convert/misc.h
|
||||
./space/keyvalueparser.o: textstream/stream.h utf8/utf8.h
|
||||
./space/keyvalueparser.o: convert/baseparser.h textstream/textstream.h
|
||||
./space/keyvalueparser.o: textstream/stream.h space/space.h date/date.h
|
||||
./space/keyvalueparser.o: membuffer/membuffer.h textstream/types.h
|
||||
@@ -46,22 +49,23 @@
|
||||
./textstream/stream_private.o: textstream/stream_private.h
|
||||
./utf8/utf8.o: ./utf8/utf8.h textstream/stream.h
|
||||
./csv/csvparser.o: ./csv/csvparser.h space/space.h convert/inttostr.h
|
||||
./csv/csvparser.o: utf8/utf8.h textstream/stream.h convert/baseparser.h
|
||||
./csv/csvparser.o: textstream/textstream.h textstream/stream.h date/date.h
|
||||
./csv/csvparser.o: membuffer/membuffer.h textstream/types.h
|
||||
./csv/csvparser.o: textstream/stream_private.h
|
||||
./csv/csvparser.o: convert/misc.h textstream/stream.h utf8/utf8.h
|
||||
./csv/csvparser.o: convert/baseparser.h textstream/textstream.h
|
||||
./csv/csvparser.o: textstream/stream.h date/date.h membuffer/membuffer.h
|
||||
./csv/csvparser.o: textstream/types.h textstream/stream_private.h
|
||||
./mainoptions/mainoptionsparser.o: ./mainoptions/mainoptionsparser.h
|
||||
./mainoptions/mainoptionsparser.o: space/space.h convert/inttostr.h
|
||||
./mainoptions/mainoptionsparser.o: utf8/utf8.h textstream/stream.h
|
||||
./mainoptions/mainoptionsparser.o: convert/misc.h textstream/stream.h
|
||||
./mainoptions/mainoptionsparser.o: utf8/utf8.h
|
||||
./html/bbcodeparser.o: ./html/bbcodeparser.h ./html/htmlparser.h
|
||||
./html/bbcodeparser.o: convert/baseparser.h textstream/textstream.h
|
||||
./html/bbcodeparser.o: textstream/stream.h space/space.h convert/inttostr.h
|
||||
./html/bbcodeparser.o: utf8/utf8.h textstream/stream.h date/date.h
|
||||
./html/bbcodeparser.o: membuffer/membuffer.h textstream/types.h
|
||||
./html/bbcodeparser.o: convert/misc.h textstream/stream.h utf8/utf8.h
|
||||
./html/bbcodeparser.o: date/date.h membuffer/membuffer.h textstream/types.h
|
||||
./html/bbcodeparser.o: textstream/stream_private.h
|
||||
./html/htmlparser.o: ./html/htmlparser.h convert/baseparser.h
|
||||
./html/htmlparser.o: textstream/textstream.h textstream/stream.h
|
||||
./html/htmlparser.o: space/space.h convert/inttostr.h utf8/utf8.h
|
||||
./html/htmlparser.o: textstream/stream.h date/date.h membuffer/membuffer.h
|
||||
./html/htmlparser.o: textstream/types.h textstream/stream_private.h
|
||||
./html/htmlparser.o: convert/text.h
|
||||
./html/htmlparser.o: space/space.h convert/inttostr.h convert/misc.h
|
||||
./html/htmlparser.o: textstream/stream.h utf8/utf8.h date/date.h
|
||||
./html/htmlparser.o: membuffer/membuffer.h textstream/types.h
|
||||
./html/htmlparser.o: textstream/stream_private.h convert/text.h
|
||||
|
Reference in New Issue
Block a user