]> gitweb.factorcode.org Git - factor.git/commitdiff
basis: use lint.vocabs tool to trim using lists
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 11 Sep 2022 03:52:10 +0000 (22:52 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 11 Sep 2022 03:52:10 +0000 (22:52 -0500)
compiler.cfg.builder.alien in `compiler` is not reported as being used
but it must appear in the USING: list where it does or else smart combinators
will fail on bootstrap in classes.struct

also false positives reported in urls

26 files changed:
basis/cocoa/cocoa.factor
basis/core-text/core-text.factor
basis/environment/environment.factor
basis/eval/eval.factor
basis/globs/globs.factor
basis/heaps/heaps.factor
basis/hints/hints.factor
basis/images/images.factor
basis/interpolate/interpolate.factor
basis/interval-maps/interval-maps.factor
basis/interval-sets/interval-sets.factor
basis/listener/listener.factor
basis/lists/lists.factor
basis/literals/literals.factor
basis/multiline/multiline.factor
basis/opengl/opengl.factor
basis/openssl/openssl.factor
basis/peg/peg.factor
basis/random/random.factor
basis/threads/threads.factor
basis/tr/tr.factor
basis/typed/typed.factor
basis/ui/ui.factor
basis/unix/unix.factor
basis/urls/urls.factor
basis/wrap/wrap.factor

index 01ee91007f1c28bc1a6fcbb71afbc9c80d9fcbeb..d3ac8522993930d5f1cc6d17a8286cb66d3bed95 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2006, 2009 Slava Pestov
 ! See http://factorcode.org/license.txt for BSD license.
 USING: assocs cocoa.messages compiler.units core-foundation.bundles
-hashtables init io kernel lexer namespaces sequences vocabs ;
+io kernel lexer namespaces sequences vocabs ;
 IN: cocoa
 
 SYMBOL: sent-messages
index fc5b9c7d6f4ff61a0368766311bf66940a1e2155..d50f69040b9fc78cd2d1f9ea0b1263027fdadd2f 100644 (file)
@@ -4,9 +4,9 @@ USING: accessors alien.c-types alien.data alien.syntax arrays
 assocs cache classes colors combinators core-foundation
 core-foundation.attributed-strings core-foundation.strings
 core-graphics core-graphics.types core-text.fonts destructors
-fonts init io.encodings.string io.encodings.utf16 kernel make
-math math.functions math.order math.vectors namespaces opengl
-sequences strings ;
+fonts io.encodings.string io.encodings.utf16 kernel make
+math math.functions math.vectors namespaces opengl sequences
+strings ;
 IN: core-text
 
 TYPEDEF: void* CTLineRef
index 4647fb45787346539beca577197865680321fd4f..ee3071acbea9a67be0690c5b5d9c84a605c85e58 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2008 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: assocs combinators continuations init kernel sequences
+USING: assocs combinators continuations kernel sequences
 splitting system vocabs vocabs.loader ;
 IN: environment
 
index 1accb66c994c0ff0b6e65e180270095a3c27c8dc..a4efaa366f6a3782d6c89a815b64175e2780c3f6 100644 (file)
@@ -1,9 +1,8 @@
 ! Copyright (C) 2008, 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: combinators combinators.smart compiler.units
-continuations debugger effects.parser io io.streams.string
-kernel namespaces parser parser.notes prettyprint sequences
-splitting ;
+continuations debugger effects.parser io.streams.string
+kernel namespaces parser parser.notes prettyprint splitting ;
 IN: eval
 
 : parse-string ( str -- quot )
index 21cc9eab7546acca32fd320a1c160d7810c19c22..3cb4ed094e0bbe0c608710b448063ef324b374bf 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2007, 2009 Slava Pestov, Daniel Ehrenberg.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors arrays combinators combinators.short-circuit
-io.directories io.files io.files.info io.pathnames kernel locals
+io.directories io.files io.files.info io.pathnames kernel
 make peg.ebnf regexp regexp.combinators sequences strings system
 unicode multiline ;
 IN: globs
index 69940c614d606c9d7b58f17f5d414cb1507f5530..2c6d4c8102b06ebf247a540cdfb92b7d2ba6a31d 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2007, 2008 Ryan Murphy, Doug Coleman,
 ! Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs fry kernel kernel.private locals
+USING: accessors arrays assocs fry kernel kernel.private
 math math.order math.private sequences sequences.private summary
 vectors ;
 IN: heaps
index 9d7bff44221920f94da5858053abf8a2f8b23031..403bb4e12e3c7dd05da1cfd437a6f221d1591760 100644 (file)
@@ -3,8 +3,8 @@
 USING: accessors arrays assocs byte-arrays byte-vectors classes
 combinators definitions fry generic generic.single
 generic.standard hashtables kernel kernel.private math
-math.parser parser sbufs sequences sequences.private splitting
-strings vectors words ;
+math.parser parser sbufs sequences splitting strings vectors
+words ;
 IN: hints
 
 GENERIC: specializer-predicate ( spec -- quot )
index 95b77e756e4e9b732d65170f2b81b7fdcee85599..4c392b84d1415ff3b8e270f9e030f153627b0bee 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2009 Doug Coleman, Daniel Ehrenberg.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators kernel locals math sequences ;
+USING: accessors combinators kernel math sequences ;
 IN: images
 
 SINGLETONS:
index fd00b1fdd1de51fb9d4de1772a145b67fbdaeffe..cd300a585c73791bc08121fa464a880f61418cfe 100644 (file)
@@ -1,8 +1,8 @@
 ! Copyright (C) 2008, 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors fry generalizations io io.streams.string kernel
-locals macros make math math.order math.parser multiline
-namespaces present sequences splitting strings vocabs.parser ;
+make math math.order math.parser multiline namespaces present
+sequences splitting strings vocabs.parser ;
 IN: interpolate
 
 <PRIVATE
index 8d289bd9332d3a3b20de9fa56a28dc2e9ca32049..b22b347640400cd2cadbf2e55c255dbc81698b14 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2008 Daniel Ehrenberg.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors arrays assocs binary-search classes grouping
-kernel locals make math math.order sequences sequences.private
+kernel make math math.order sequences sequences.private
 sorting ;
 IN: interval-maps
 
index b444ad7e6d355261fddd28b4f732caa44caf719d..593ad17fd30ef64ae80270eccb3ba51207ce11e8 100644 (file)
@@ -1,9 +1,8 @@
 ! Copyright (C) 2009 Daniel Ehrenberg.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors alien.c-types arrays assocs binary-search
-classes combinators grouping kernel locals make math
-math.order sequences sequences.private sorting
-specialized-arrays ;
+classes combinators kernel make math math.order sequences
+sequences.private sorting specialized-arrays ;
 SPECIALIZED-ARRAY: uint
 IN: interval-sets
 ! Sets of positive integers
index 8d89e3ddd4c0a8ad2289a59d54a8993de949492a..73f87028934fa3b98a4959f3bc22e09b1c7a8b39 100644 (file)
@@ -2,7 +2,7 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors colors combinators.short-circuit
 compiler.units continuations debugger fry io io.styles kernel lexer
-locals math math.parser namespaces parser parser.notes prettyprint
+math math.parser namespaces parser parser.notes prettyprint
 sequences sets source-files.errors system vocabs vocabs.loader
 vocabs.parser ;
 IN: listener
index 260eb856c0d0eec5045cde762aaaaff9bebb00c1..be50f8eeedff8e07dbee6b7fa64cb371a739753c 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2008 James Cash, Daniel Ehrenberg, Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors combinators combinators.short-circuit kernel
-lexer locals make math namespaces parser sequences words ;
+lexer make math namespaces parser sequences words ;
 IN: lists
 
 ! List Protocol
index 59fca6d90379ef229c5424e980ea6029f772bac8..4813f0d15cd1e860ddb0a999570bb1ff79b57e21 100644 (file)
@@ -1,6 +1,6 @@
 ! (c) Joe Groff, see license for details
-USING: accessors combinators continuations fry kernel lexer
-math parser quotations sequences vectors words words.alias ;
+USING: accessors continuations fry kernel lexer math parser
+sequences vectors words words.alias ;
 IN: literals
 
 <PRIVATE
index 975d88493ffbedfda2b83b0db661b455bb4733b5..2a563ddfccc2a5f5ea7f9245420e4f423b5b80f3 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2007 Daniel Ehrenberg
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators kernel lexer locals make math
-namespaces parser quotations sequences strings.parser
-strings.parser.private words ;
+USING: accessors kernel lexer make math namespaces parser
+quotations sequences strings.parser.private words ;
 IN: multiline
 
 <PRIVATE
index bb63cab67834b5792ed66d68cbe42a7a0b2082d2..4f1910eee5a3c24fac278278e253cb7271010a86 100644 (file)
@@ -3,7 +3,7 @@
 ! Portions copyright (C) 2008 Joe Groff.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: alien alien.c-types alien.data assocs colors
-combinators.smart continuations init io kernel math
+combinators.smart continuations io kernel math
 math.functions math.parser namespaces opengl.gl sequences
 sequences.generalizations specialized-arrays system words ;
 FROM: alien.c-types => float ;
index 977f8d0f3004cc526477d73e229279a2509e16a4..28890bedd9f1d07dcdc8a80fa98caba5f061b757 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2007, 2008, Slava Pestov, Elie CHAFTARI.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.libraries init kernel math namespaces openssl.libcrypto
+USING: alien.libraries kernel math namespaces openssl.libcrypto
 openssl.libssl sequences ;
 IN: openssl
 
index a73df1c004267a7959750894f17a631ea90b3604..eb8dd16b33173ab609f98242748e945a7ed0e5fd 100644 (file)
@@ -3,9 +3,8 @@
 
 USING: accessors arrays assocs classes combinators
 combinators.short-circuit compiler.units effects.parser fry
-generalizations kernel locals make math math.order namespaces
-quotations sequences sets splitting unicode vectors
-vocabs.loader words ;
+kernel make math math.order namespaces quotations sequences
+sets splitting unicode vectors vocabs.loader words ;
 
 IN: peg
 
index 4c91bf3af97997e54dfa592ef8d5621c1673ebe0..e21a7f4d74b12bc70a406467757dd19840671b3b 100644 (file)
@@ -1,11 +1,10 @@
 ! Copyright (C) 2008 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors alien.data arrays assocs byte-arrays
-byte-vectors combinators combinators.short-circuit endian fry
-hashtables hashtables.private hash-sets hints io.backend kernel
-locals math math.bitwise math.constants math.functions
-math.order ranges namespaces sequences sequences.private
-sets summary system typed vocabs ;
+combinators combinators.short-circuit hash-sets hashtables
+hashtables.private kernel math math.bitwise math.constants
+math.functions math.order namespaces sequences sequences.private
+sets summary system vocabs ;
 QUALIFIED-WITH: alien.c-types c
 QUALIFIED-WITH: sets sets
 IN: random
index c4ce4387fad4914eb3968038a204484f8c677a80..d56a7928ad3bb98037a875a1980999e74489b4e9 100644 (file)
@@ -3,7 +3,7 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: accessors alien.private arrays assocs boxes combinators
 continuations continuations.private deques dlists hashtables
-heaps init kernel kernel.private math math.order namespaces
+heaps kernel kernel.private math math.order namespaces
 quotations sequences strings system ;
 IN: threads
 
index 2de706bb14fec64aa27a2bfc77d7058b40d7c6d2..8244a26da62552ae2214aa52e5e7dcbed188d57c 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2008, 2010 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: ascii assocs byte-arrays fry hints kernel lexer math
-math.order parser sequences sequences.private strings summary
-words ;
+parser sequences sequences.private strings summary words ;
 IN: tr
 
 ERROR: bad-tr ;
index 9ec7b87c3b33fbf3188b34980e4b32f546fbb457..a87037717a420dec01d3476ae96608a236e4aa38 100644 (file)
@@ -3,8 +3,8 @@
 USING: accessors arrays classes classes.algebra classes.tuple
 classes.struct combinators combinators.short-circuit definitions
 effects effects.parser fry generalizations kernel kernel.private
-locals locals.parser macros quotations sequences slots
-stack-checker.dependencies words ;
+locals.parser quotations sequences slots stack-checker.dependencies
+words ;
 FROM: classes.tuple.private => tuple-layout ;
 IN: typed
 
index 93abb0ba96af51786949ce8c49f29a9a11f38e1a..b2b556a42635f108fb64d89004876d68653b15b6 100644 (file)
@@ -3,7 +3,7 @@
 USING: accessors arrays assocs boxes classes.tuple
 classes.tuple.parser combinators combinators.short-circuit
 concurrency.flags concurrency.promises continuations deques
-destructors dlists init kernel lexer make math math.functions
+destructors dlists kernel lexer make math math.functions
 namespaces parser sequences sets strings threads ui.backend
 ui.gadgets ui.gadgets.private ui.gadgets.worlds ui.gestures
 ui.render vectors vocabs.parser words ;
index da7b8a1594ca1c613a50a015dcd3f97b904eec33..2d09096451db447bb591a23b054cbf03a57afda0 100644 (file)
@@ -1,9 +1,9 @@
 ! Copyright (C) 2005, 2010 Slava Pestov.
 ! Copyright (C) 2008 Eduardo Cavazos.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types alien.syntax byte-arrays classes.struct
+USING: accessors alien.c-types alien.syntax byte-arrays
 combinators.short-circuit combinators.smart generalizations kernel
-libc locals math sequences sequences.generalizations strings system
+libc math sequences sequences.generalizations strings system
 unix.ffi vocabs.loader ;
 IN: unix
 
index c78a44bd4eaeccaa02156db1aaa50bf5f25f9019..c3aa3a93ec32273840e6755bb6fb192687f7f714 100644 (file)
@@ -2,11 +2,11 @@
 ! See http://factorcode.org/license.txt for BSD license.
 
 USING: accessors ascii assocs combinators
-combinators.short-circuit fry io.encodings.string
-io.encodings.utf8 io.pathnames io.sockets io.sockets.secure
-kernel lexer linked-assocs make math math.parser multiline
-namespaces peg.ebnf present sequences sequences.generalizations
-splitting strings strings.parser urls.encoding vocabs.loader ;
+combinators.short-circuit io.pathnames io.sockets
+io.sockets.secure kernel lexer linked-assocs make math.parser
+multiline namespaces peg.ebnf present sequences
+sequences.generalizations splitting strings strings.parser
+urls.encoding vocabs.loader ;
 
 IN: urls
 
index 0cab09d33183f4cfc4ecb60222c2b36a36569dac..4fe6247d991938c49d2ca43336ac465e808ab0e1 100644 (file)
@@ -1,8 +1,7 @@
 ! Copyright (C) 2009 Daniel Ehrenberg
 ! Copyright (C) 2017 John Benediktsson
 ! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays kernel locals math sequences
-sequences.private ;
+USING: accessors arrays kernel math sequences sequences.private ;
 IN: wrap
 
 TUPLE: element contents black white ;