update more 8bit encoding usages

db4
Doug Coleman 2009-11-12 18:36:47 -06:00
parent 1ff1e3f4bc
commit b71d86a1dc
16 changed files with 31 additions and 30 deletions

View File

@ -3,13 +3,13 @@
USING: accessors assocs byte-arrays calendar classes USING: accessors assocs byte-arrays calendar classes
combinators combinators.short-circuit concurrency.promises combinators combinators.short-circuit concurrency.promises
continuations destructors ftp io io.backend io.directories continuations destructors ftp io io.backend io.directories
io.encodings io.encodings.8-bit io.encodings.binary io.encodings io.encodings.binary
tools.files io.encodings.utf8 io.files io.files.info tools.files io.encodings.utf8 io.files io.files.info
io.pathnames io.launcher.unix.parser io.servers.connection io.pathnames io.launcher.unix.parser io.servers.connection
io.sockets io.streams.duplex io.streams.string io.timeouts io.sockets io.streams.duplex io.streams.string io.timeouts
kernel make math math.bitwise math.parser namespaces sequences kernel make math math.bitwise math.parser namespaces sequences
splitting threads unicode.case logging calendar.format splitting threads unicode.case logging calendar.format
strings io.files.links io.files.types ; strings io.files.links io.files.types io.encodings.8-bit.latin1 ;
IN: ftp.server IN: ftp.server
SYMBOL: server SYMBOL: server

View File

@ -1,7 +1,7 @@
USING: http help.markup help.syntax io.pathnames io.streams.string USING: http help.markup help.syntax io.pathnames io.streams.string
io.encodings.8-bit io.encodings.binary kernel urls io.encodings.binary kernel urls
urls.encoding byte-arrays strings assocs sequences destructors urls.encoding byte-arrays strings assocs sequences destructors
http.client.post-data.private ; http.client.post-data.private io.encodings.8-bit.latin1 ;
IN: http.client IN: http.client
HELP: download-failed HELP: download-failed

View File

@ -5,7 +5,7 @@ sequences strings splitting calendar continuations accessors vectors
math.order hashtables byte-arrays destructors math.order hashtables byte-arrays destructors
io io.sockets io.streams.string io.files io.timeouts io io.sockets io.streams.string io.files io.timeouts
io.pathnames io.encodings io.encodings.string io.encodings.ascii io.pathnames io.encodings io.encodings.string io.encodings.ascii
io.encodings.utf8 io.encodings.8-bit io.encodings.binary io.crlf io.encodings.utf8 io.encodings.binary io.crlf
io.streams.duplex fry ascii urls urls.encoding present locals io.streams.duplex fry ascii urls urls.encoding present locals
http http.parsers http.client.post-data ; http http.parsers http.client.post-data ;
IN: http.client IN: http.client

View File

@ -2,7 +2,8 @@ USING: http http.server http.client http.client.private tools.test
multiline io.streams.string io.encodings.utf8 io.encodings.8-bit multiline io.streams.string io.encodings.utf8 io.encodings.8-bit
io.encodings.binary io.encodings.string io.encodings.ascii kernel io.encodings.binary io.encodings.string io.encodings.ascii kernel
arrays splitting sequences assocs io.sockets db db.sqlite arrays splitting sequences assocs io.sockets db db.sqlite
continuations urls hashtables accessors namespaces xml.data ; continuations urls hashtables accessors namespaces xml.data
io.encodings.8-bit.latin1 ;
IN: http.tests IN: http.tests
[ "text/plain" latin1 ] [ "text/plain" parse-content-type ] unit-test [ "text/plain" latin1 ] [ "text/plain" parse-content-type ] unit-test

View File

@ -5,9 +5,7 @@ sequences splitting sorting sets strings vectors hashtables
quotations arrays byte-arrays math.parser calendar quotations arrays byte-arrays math.parser calendar
calendar.format present urls fry calendar.format present urls fry
io io.encodings io.encodings.iana io.encodings.binary io io.encodings io.encodings.iana io.encodings.binary
io.encodings.8-bit io.crlf ascii io.crlf ascii io.encodings.8-bit.latin1 http.parsers base64 ;
http.parsers
base64 ;
IN: http IN: http
CONSTANT: max-redirects 10 CONSTANT: max-redirects 10

View File

@ -2,9 +2,9 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types arrays byte-arrays combinators USING: accessors alien.c-types arrays byte-arrays combinators
compression.run-length fry grouping images images.loader io compression.run-length fry grouping images images.loader io
io.binary io.encodings.8-bit io.encodings.binary io.binary io.encodings.binary
io.encodings.string io.streams.limited kernel math math.bitwise io.encodings.string io.streams.limited kernel math math.bitwise
sequences specialized-arrays summary images.bitmap ; io.encodings.8-bit.latin1 sequences specialized-arrays summary images.bitmap ;
QUALIFIED-WITH: bitstreams b QUALIFIED-WITH: bitstreams b
SPECIALIZED-ARRAY: ushort SPECIALIZED-ARRAY: ushort
IN: images.bitmap.loading IN: images.bitmap.loading

View File

@ -1,7 +1,7 @@
! Copyright (C) 2009 Daniel Ehrenberg ! Copyright (C) 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: tools.test quoted-printable io.encodings.string USING: tools.test quoted-printable io.encodings.string
sequences io.encodings.8-bit splitting kernel ; sequences splitting kernel ;
IN: quoted-printable.tests IN: quoted-printable.tests
[ """José was the [ """José was the

View File

@ -1,5 +1,5 @@
USING: io.encodings.string kernel ;
IN: tools.deploy.test.4 IN: tools.deploy.test.4
USING: io.encodings.8-bit io.encodings.string kernel ;
: deploy-test-4 ( -- ) : deploy-test-4 ( -- )
"xyzthg" \ latin7 encode drop ; "xyzthg" \ latin7 encode drop ;

View File

@ -1,5 +1,4 @@
USING: xml xml.data xml.traversal tools.test accessors kernel USING: xml xml.data xml.traversal tools.test accessors kernel ;
io.encodings.8-bit ;
[ "\u000131" ] [ "vocab:xml/tests/latin5.xml" file>xml children>string ] unit-test [ "\u000131" ] [ "vocab:xml/tests/latin5.xml" file>xml children>string ] unit-test
[ "\u0000e9" ] [ "vocab:xml/tests/latin1.xml" file>xml children>string ] unit-test [ "\u0000e9" ] [ "vocab:xml/tests/latin1.xml" file>xml children>string ] unit-test

View File

@ -1,6 +1,6 @@
USING: alien.strings alien.c-types alien.data tools.test kernel libc USING: alien.strings alien.c-types alien.data tools.test
io.encodings.8-bit io.encodings.utf8 io.encodings.utf16 kernel libc io.encodings.utf8 io.encodings.utf16 io.encodings.utf16n
io.encodings.utf16n io.encodings.ascii alien io.encodings.string ; io.encodings.ascii alien io.encodings.string io.encodings.8-bit.latin1 ;
IN: alien.strings.tests IN: alien.strings.tests
[ "\u0000ff" ] [ "\u0000ff" ]

View File

@ -1,7 +1,8 @@
USING: arrays debugger.threads destructors io io.directories USING: arrays debugger.threads destructors io io.directories
io.encodings.8-bit io.encodings.ascii io.encodings.binary io.encodings.ascii io.encodings.binary
io.files io.files.private io.files.temp io.files.unique kernel io.files io.files.private io.files.temp io.files.unique kernel
make math sequences system threads tools.test generic.single ; make math sequences system threads tools.test generic.single
io.encodings.8-bit.latin1 ;
IN: io.files.tests IN: io.files.tests
[ ] [ "append-test" temp-file dup exists? [ delete-file ] [ drop ] if ] unit-test [ ] [ "append-test" temp-file dup exists? [ delete-file ] [ drop ] if ] unit-test
@ -158,4 +159,4 @@ USE: debugger.threads
[ ] [ [ ] [
"closing-twice" unique-file ascii <file-writer> "closing-twice" unique-file ascii <file-writer>
[ dispose ] [ dispose ] bi [ dispose ] [ dispose ] bi
] unit-test ] unit-test

View File

@ -1,7 +1,8 @@
! Copyright (C) 2009 Doug Coleman. ! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: combinators combinators.smart csv io.encodings.8-bit USING: combinators combinators.smart csv io.encodings.8-bit
math.parser memoize sequences kernel unicode.categories money ; math.parser memoize sequences kernel unicode.categories money
io.encodings.8-bit.latin1 ;
IN: geobytes IN: geobytes
! GeoBytes is not free software. ! GeoBytes is not free software.

View File

@ -1,7 +1,7 @@
! Copyright (C) 2009 Bruno Deferrari ! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors concurrency.mailboxes kernel calendar io.sockets io.encodings.8-bit USING: accessors concurrency.mailboxes kernel calendar io.sockets
destructors arrays sequences ; destructors arrays sequences io.encodings.8-bit.latin1 ;
IN: irc.client.chats IN: irc.client.chats
CONSTANT: irc-port 6667 ! Default irc port CONSTANT: irc-port 6667 ! Default irc port

View File

@ -1,8 +1,9 @@
! Copyright (C) 2008 Slava Pestov. ! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: fry irc.client irc.client.chats kernel namespaces USING: fry irc.client irc.client.chats kernel namespaces
sequences threads io.encodings.8-bit io.launcher io splitting sequences threads io.launcher io splitting
make mason.common mason.updates calendar math alarms ; make mason.common mason.updates calendar math alarms
io.encodings.8-bit.latin1 ;
IN: irc.gitbot IN: irc.gitbot
: bot-profile ( -- obj ) : bot-profile ( -- obj )

View File

@ -3,7 +3,7 @@
USING: accessors calendar calendar.format destructors fry io io.encodings.8-bit USING: accessors calendar calendar.format destructors fry io io.encodings.8-bit
io.files io.pathnames irc.client irc.client.chats irc.messages io.files io.pathnames irc.client irc.client.chats irc.messages
irc.messages.base kernel make namespaces sequences threads irc.messages.base kernel make namespaces sequences threads
irc.logbot.log-line ; irc.logbot.log-line io.encodings.8-bit.latin1 ;
IN: irc.logbot IN: irc.logbot
CONSTANT: bot-channel "#concatenative" CONSTANT: bot-channel "#concatenative"

View File

@ -1,8 +1,8 @@
! Copyright (C) 2009 Bruno Deferrari ! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors io io.encodings.8-bit io.sockets USING: accessors io io.sockets io.streams.duplex kernel
io.streams.duplex kernel redis.command-writer redis.command-writer redis.response-parser splitting
redis.response-parser splitting ; io.encodings.8-bit.latin1 ;
IN: redis IN: redis
#! Connection #! Connection