lib: Fixed imports throughout standard library
authorLucas Bajolet <r4pass@hotmail.com>
Wed, 27 May 2015 19:19:53 +0000 (15:19 -0400)
committerLucas Bajolet <r4pass@hotmail.com>
Tue, 2 Jun 2015 18:49:26 +0000 (14:49 -0400)
Signed-off-by: Lucas Bajolet <r4pass@hotmail.com>

lib/standard/bytes.nit
lib/standard/environ.nit
lib/standard/error.nit
lib/standard/file.nit
lib/standard/numeric.nit
lib/standard/posix.nit
lib/standard/re.nit
lib/standard/standard.nit
lib/standard/stream.nit
lib/standard/time.nit
src/interpreter/primitive_types.nit

index b9b39fd..c02ff00 100644 (file)
@@ -17,7 +17,7 @@ module bytes
 
 import kernel
 import collection::array
-intrude import string
+intrude import text::flat
 
 # A buffer containing Byte-manipulation facilities
 #
index 0abe7f3..4b2d632 100644 (file)
@@ -14,7 +14,7 @@
 # Access to the environment variables of the process
 module environ
 
-import string
+import text
 import file
 
 # TODO prevoir une structure pour recup tout un environ, le modifier et le passer a process
index f40444d..b1e96e2 100644 (file)
@@ -12,7 +12,7 @@
 #
 module error
 
-import string
+import text
 
 # Standard class for error messages
 class Error
index 46c52ec..01c2d82 100644 (file)
@@ -16,8 +16,8 @@
 module file
 
 intrude import stream
-intrude import ropes
-import string_search
+intrude import text::ropes
+import text
 import time
 import gc
 
index 3452155..1d2e30c 100644 (file)
@@ -18,7 +18,7 @@
 module numeric
 
 import math
-import string
+import text
 
 redef class Text
        # Get the numeric version of `self`
index 7f4b24b..b7122e6 100644 (file)
@@ -17,7 +17,7 @@
 # Services conforming to POSIX
 module posix
 
-import string
+import text
 
 in "C Header" `{
 #include <sys/types.h>
index 24637cb..1f488ad 100644 (file)
@@ -21,7 +21,7 @@
 # The main entities are `Text::to_re` and `Regex`.
 module re
 
-import string_search
+import text
 import gc
 import error
 
index a4ec83a..e675600 100644 (file)
@@ -18,13 +18,12 @@ module standard
 import posix
 import environ 
 import time
-import string_search
 import file
 import exec
 import stream
 import collection
 import math
-import ropes
+import text
 import kernel
 import gc
 import bitset
index b901596..ad31a7d 100644 (file)
@@ -11,7 +11,7 @@
 # Input and output streams of characters
 module stream
 
-intrude import ropes
+intrude import text::ropes
 import error
 intrude import bytes
 
index 99a9f35..2a31fb2 100644 (file)
@@ -14,7 +14,7 @@
 # Management of time and dates
 module time
 
-import string_search
+import text
 import stream
 
 in "C Header" `{
index 122fe4e..8f12c78 100644 (file)
@@ -15,7 +15,7 @@
 module primitive_types
 
 intrude import standard::file
-intrude import standard::string
+intrude import standard::text::flat
 
 # Wrapper for `NativeFile`
 class PrimitiveNativeFile