]> gitweb.factorcode.org Git - factor.git/commitdiff
factor: fix breakage with word renamings.
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 20 Jul 2015 12:51:16 +0000 (05:51 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Mon, 20 Jul 2015 12:51:16 +0000 (05:51 -0700)
basis/alien/remote-control/remote-control-tests.factor
basis/checksums/openssl/openssl-tests.factor
basis/io/backend/unix/unix-tests.factor
core/classes/mixin/mixin-tests.factor
core/classes/predicate/predicate-tests.factor
core/classes/tuple/parser/parser-tests.factor
extra/tools/image-analyzer/vm/32/32.factor
extra/tools/image-analyzer/vm/64/64.factor
extra/tools/image-analyzer/vm/vm.factor
extra/variants/variants.factor

index 87a015a59fb51d4cfaf49a808dfb8ae13bacd6de..599cf62d4ba2100cd92f762e2a1601f4ef6f08bb 100644 (file)
@@ -15,7 +15,7 @@ IN: alien.remote-control.tests
     ascii [ readln ] with-process-reader ;
 
 :: test-embedding ( code -- line )
-    image :> image
+    image-path :> image
 
     [
         I[
index 3fb223caecca609e366445bcca2237f2b11385ee..a751728fc6b6fd32ce29c2b3215a45b9436e9480 100644 (file)
@@ -25,4 +25,4 @@ IN: checksums.openssl.tests
 ] [ { [ unknown-digest? ] [ name>> "no such checksum" = ] } 1&& ]
 must-fail-with
 
-{ } [ image openssl-sha1 checksum-file drop ] unit-test
+{ } [ image-path openssl-sha1 checksum-file drop ] unit-test
index 6fb5ece7eb68168fc23c09d09d158e351ab466df..4d05360443a6a443e415cd5d7c7570a839bc69b9 100644 (file)
@@ -123,15 +123,15 @@ datagram-client delete-file
 ! Invalid parameter tests
 
 [
-    image binary [ input-stream get accept ] with-file-reader
+    image-path binary [ input-stream get accept ] with-file-reader
 ] must-fail
 
 [
-    image binary [ input-stream get receive ] with-file-reader
+    image-path binary [ input-stream get receive ] with-file-reader
 ] must-fail
 
 [
-    image binary [
+    image-path binary [
         B{ 1 2 } datagram-server <local>
         input-stream get send
     ] with-file-reader
@@ -141,7 +141,7 @@ datagram-client delete-file
 { } [
     [
         vm-path ,
-        "-i=" image append ,
+        "-i=" image-path append ,
         "-run=none" ,
         "-e=USING: destructors namespaces io calendar threads ; input-stream get dispose 1 seconds sleep" ,
     ] { } make try-process
index e62dca4c6d285e6ed632a9b1e8b325fff7ca8022..fafab942ae3a7b9deb17a664fc6a7e25eb47051c 100644 (file)
@@ -117,7 +117,7 @@ MIXIN: move-instance-declaration-mixin
 
 { } [ "IN: classes.mixin.tests.a" <string-reader> "move-mixin-test-1" parse-stream drop ] unit-test
 
-{ { string } } [ move-instance-declaration-mixin members ] unit-test
+{ { string } } [ move-instance-declaration-mixin class-members ] unit-test
 
 MIXIN: silly-mixin
 SYMBOL: not-a-class
@@ -147,4 +147,4 @@ M: metaclass-change-mixin metaclass-change-generic ;
 ! Forgetting a mixin member class should remove it from the mixin
 { } [ [ metaclass-change forget-class ] with-compilation-unit ] unit-test
 
-{ t } [ metaclass-change-mixin members empty? ] unit-test
+{ t } [ metaclass-change-mixin class-members empty? ] unit-test
index 46ab84d0d954df240fc2c05c933598e9718ae60e..bcd7751f9dffb18f1df73cae7430d064e6559106 100644 (file)
@@ -78,7 +78,7 @@ M: change-meta-test-predicate change-meta-test length>> ;
 { } [ "IN: classes.predicate.tests USE: arrays UNION: change-meta-test-class array ;" eval( -- ) ] unit-test
 
 ! Should not have changed
-{ change-meta-test-class } [ change-meta-test-predicate superclass ] unit-test
+{ change-meta-test-class } [ change-meta-test-predicate superclass-of ] unit-test
 [ { } change-meta-test ] [ no-method? ] must-fail-with
 { 4 } [ { 1 2 3 4 } change-meta-test ] unit-test
 
index 8e43909c66bf78e690899793f7f7a3c3aaf92898..2f410c221b25c8a8e45e0cdc03b079e7c7943bd6 100644 (file)
@@ -10,7 +10,7 @@ TUPLE: test-1 ;
 TUPLE: test-2 < test-1 ;
 
 { t } [ test-2 "slots" word-prop empty? ] unit-test
-{ test-1 } [ test-2 superclass ] unit-test
+{ test-1 } [ test-2 superclass-of ] unit-test
 
 TUPLE: test-3 a ;
 
index 184e9ab657c6e3ec005daba2787e96d9161956a4..251a9c5617a9818a00641d9a194c2158ea6bb552 100644 (file)
@@ -2,12 +2,12 @@ USING: alien.c-types classes.struct vm ;
 IN: tools.image-analyzer.vm.32
 
 STRUCT: boxed-float
-    { header cell }
-    { padding cell }
+    { header cell_t }
+    { padding cell_t }
     { n double } ;
 
 STRUCT: byte-array
-    { header cell }
-    { capacity cell }
-    { padding0 cell }
-    { padding1 cell } ;
+    { header cell_t }
+    { capacity cell_t }
+    { padding0 cell_t }
+    { padding1 cell_t } ;
index ffd25f56569a4593dd9bcf5c092854fa2ac723de..48be7673b21320d2b8b71ed5323dea69d8448825 100644 (file)
@@ -2,9 +2,9 @@ USING: alien.c-types classes.struct vm ;
 IN: tools.image-analyzer.vm.64
 
 STRUCT: boxed-float
-    { header cell }
+    { header cell_t }
     { n double } ;
 
 STRUCT: byte-array
-    { header cell }
-    { capacity cell } ;
+    { header cell_t }
+    { capacity cell_t } ;
index d6ce7299f428a0bf9faba6dbff233aa753c36b7c..6f05668a3e9e34633828ca0a425d07501449f2ab 100644 (file)
@@ -3,90 +3,90 @@ IN: tools.image-analyzer.vm
 
 ! These structs and words correspond to vm/image.hpp
 STRUCT: image-header
-    { magic cell }
-    { version cell }
-    { data-relocation-base cell }
-    { data-size cell }
-    { code-relocation-base cell }
-    { code-size cell }
-    { true-object cell }
-    { bignum-zero cell }
-    { bignum-pos-one cell }
-    { bignum-neg-one cell }
-    { special-objects cell[special-object-count] } ;
+    { magic cell_t }
+    { version cell_t }
+    { data-relocation-base cell_t }
+    { data-size cell_t }
+    { code-relocation-base cell_t }
+    { code-size cell_t }
+    { true-object cell_t }
+    { bignum-zero cell_t }
+    { bignum-pos-one cell_t }
+    { bignum-neg-one cell_t }
+    { special-objects cell_t[special-object-count] } ;
 
 ! These structs and words correspond to vm/layouts.hpp
 STRUCT: object
-    { header cell } ;
+    { header cell_t } ;
 
 STRUCT: alien
-    { header cell }
-    { base cell }
-    { expired cell }
-    { displacement cell }
-    { address cell } ;
+    { header cell_t }
+    { base cell_t }
+    { expired cell_t }
+    { displacement cell_t }
+    { address cell_t } ;
 
 STRUCT: array
-    { header cell }
-    { capacity cell } ;
+    { header cell_t }
+    { capacity cell_t } ;
 
 STRUCT: bignum
-    { header cell }
-    { capacity cell } ;
+    { header cell_t }
+    { capacity cell_t } ;
 
 
 STRUCT: callstack
-    { header cell }
-    { length cell } ;
+    { header cell_t }
+    { length cell_t } ;
 
 STRUCT: dll
-    { header cell }
-    { path cell }
+    { header cell_t }
+    { path cell_t }
     { handle void* } ;
 
 STRUCT: quotation
-    { header cell }
-    { array cell }
-    { cached_effect cell }
-    { cache_counter cell }
-    { entry_point cell } ;
+    { header cell_t }
+    { array cell_t }
+    { cached_effect cell_t }
+    { cache_counter cell_t }
+    { entry_point cell_t } ;
 
 STRUCT: string
-    { header cell }
-    { length cell }
-    { aux cell }
-    { hashcode cell } ;
+    { header cell_t }
+    { length cell_t }
+    { aux cell_t }
+    { hashcode cell_t } ;
 
 STRUCT: tuple
-    { header cell }
-    { layout cell } ;
+    { header cell_t }
+    { layout cell_t } ;
 
 STRUCT: tuple-layout
-    { header cell }
-    { capacity cell }
-    { klass cell }
-    { size cell }
-    { echelon cell } ;
+    { header cell_t }
+    { capacity cell_t }
+    { klass cell_t }
+    { size cell_t }
+    { echelon cell_t } ;
 
 STRUCT: word
-    { header cell }
-    { hashcode cell }
-    { name cell }
-    { vocabulary cell }
-    { def cell }
-    { props cell }
-    { pic_def cell }
-    { pic_tail_def cell }
-    { subprimitive cell }
-    { entry_point cell } ;
+    { header cell_t }
+    { hashcode cell_t }
+    { name cell_t }
+    { vocabulary cell_t }
+    { def cell_t }
+    { props cell_t }
+    { pic_def cell_t }
+    { pic_tail_def cell_t }
+    { subprimitive cell_t }
+    { entry_point cell_t } ;
 
 STRUCT: wrapper
-    { header cell }
-    { object cell } ;
+    { header cell_t }
+    { object cell_t } ;
 
 ! These structs and words correspond to vm/code_blocks.hpp
 STRUCT: code-block
-    { header cell }
-    { owner cell }
-    { parameters cell }
-    { relocation cell } ;
+    { header cell_t }
+    { owner cell_t }
+    { parameters cell_t }
+    { relocation cell_t } ;
index 48da55cd25631a09cacb657691d9ba8e06d9224b..2b753bc4e60759e08670f65e6c20704967e7c1e0 100644 (file)
@@ -8,7 +8,7 @@ IN: variants
 PREDICATE: variant-class < mixin-class "variant?" word-prop ;
 
 M: variant-class initial-value*
-    members [ f f ] [
+    class-members [ f f ] [
         first dup word? [ t ] [ initial-value* ] if
     ] if-empty ;