]> gitweb.factorcode.org Git - factor.git/commitdiff
core-foundation: cleanup usings.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 14 Dec 2014 00:25:59 +0000 (16:25 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 14 Dec 2014 00:25:59 +0000 (16:25 -0800)
basis/core-foundation/arrays/arrays.factor
basis/core-foundation/attributed-strings/attributed-strings.factor
basis/core-foundation/bundles/bundles.factor
basis/core-foundation/data/data.factor
basis/core-foundation/fsevents/fsevents.factor
basis/core-foundation/launch-services/launch-services.factor
basis/core-foundation/timers/timers.factor
basis/core-foundation/urls/urls.factor
basis/core-foundation/utilities/utilities.factor

index 398192643ed81d2f429b6e4c4e52e8db59057739..29eaa689e57b32051ecdca287eb490a913089473 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2008, 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.syntax core-foundation kernel
-sequences fry ;
+USING: alien.c-types alien.syntax core-foundation fry kernel
+sequences ;
 IN: core-foundation.arrays
 
 TYPEDEF: void* CFArrayRef
index cd620bb876cce22654901e56c446960c36a29093..77997e9dd10f542404b7d5743a1afa919f20633b 100644 (file)
@@ -1,9 +1,8 @@
 ! Copyright (C) 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.syntax kernel destructors
-core-foundation core-foundation.dictionaries
-core-foundation.strings
-core-foundation.utilities ;
+USING: alien.c-types alien.syntax core-foundation
+core-foundation.dictionaries core-foundation.strings
+core-foundation.utilities destructors kernel ;
 IN: core-foundation.attributed-strings
 
 TYPEDEF: void* CFAttributedStringRef
index e45e2c52beb0ae1bbaa8b2f7be6ba9bad81991b4..9ce8ed84c5e2ed6cbcc4a8604c584bc1f0f60e42 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2008 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.syntax kernel sequences
-core-foundation core-foundation.urls ;
+USING: alien.c-types alien.syntax core-foundation
+core-foundation.urls kernel sequences ;
 IN: core-foundation.bundles
 
 TYPEDEF: void* CFBundleRef
index bb04431a0e03270a4aa7af2a28196111b862e908..2b73982b782954ba5f69b6aa58dd1ce66b96b780 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2008 Joe Groff.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.syntax core-foundation kernel math
+USING: alien.c-types alien.syntax core-foundation kernel
 sequences ;
 IN: core-foundation.data
 
index da45e0cde2505bc956f8617f9d32c4c48036ef60..ceb38f4ca602d3fc263b760359fe9d34fba8fddc 100644 (file)
@@ -1,11 +1,11 @@
 ! Copyright (C) 2008 Slava Pestov
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types alien.data alien.strings alien.syntax
-kernel math sequences namespaces make assocs init accessors
-continuations combinators io.encodings.utf8 destructors locals
-arrays specialized-arrays classes.struct core-foundation
-core-foundation.arrays core-foundation.run-loop
-core-foundation.strings core-foundation.time unix.types ;
+USING: accessors alien alien.c-types alien.data alien.strings
+alien.syntax arrays assocs classes.struct combinators
+core-foundation core-foundation.arrays core-foundation.run-loop
+core-foundation.strings core-foundation.time destructors init
+io.encodings.utf8 kernel locals namespaces sequences
+specialized-arrays unix.types ;
 FROM: namespaces => change-global ;
 IN: core-foundation.fsevents
 
index c021b3669328ce9e4002f6c10977a95a1a8d56ba..19a40f596f18f6a9568167c51a8ad0ec28886d8d 100644 (file)
@@ -1,10 +1,9 @@
 ! Copyright (C) 2011 Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.data alien.syntax classes.struct
-continuations core-foundation core-foundation.strings
-core-foundation.urls destructors kernel sequences
-specialized-arrays.instances.alien.c-types.char strings
-unix.ffi ;
+USING: alien.syntax classes.struct continuations core-foundation
+core-foundation.strings core-foundation.urls destructors kernel
+sequences specialized-arrays.instances.alien.c-types.char
+strings unix.ffi ;
 IN: core-foundation.launch-services
 
 FUNCTION: OSStatus LSFindApplicationForInfo (
index 595b68df884b110c6bea2ef1ecd7e22849aabb05..95388a620d330430d88e500808f3718c0b693f00 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2008, 2010 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.syntax calendar core-foundation
-core-foundation.time calendar.unix kernel locals math system ;
+USING: alien.c-types alien.syntax calendar.unix core-foundation
+core-foundation.time locals ;
 IN: core-foundation.timers
 
 TYPEDEF: void* CFRunLoopTimerRef
index f22095c3444b73ad50f2d9c958c08a8b80151e52..2f0ba745d3818f8409b101144a580406390ca77d 100644 (file)
@@ -1,7 +1,7 @@
 ! Copyright (C) 2008 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.syntax kernel core-foundation.strings
-core-foundation core-foundation.urls ;
+USING: alien.c-types alien.syntax core-foundation
+core-foundation.strings kernel ;
 IN: core-foundation.urls
 
 CONSTANT: kCFURLPOSIXPathStyle 0
index 3dd760f7c48c905c5accc1c94c90c1e27ff6609c..fc74fc4ffc60a478187970462638f6ae2aff5586 100644 (file)
@@ -1,10 +1,10 @@
 ! Copyright (C) 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: math assocs kernel sequences byte-arrays strings
-hashtables alien destructors
-core-foundation.numbers core-foundation.strings
-core-foundation.arrays core-foundation.dictionaries
-core-foundation.data core-foundation ;
+USING: alien assocs byte-arrays core-foundation
+core-foundation.arrays core-foundation.data
+core-foundation.dictionaries core-foundation.numbers
+core-foundation.strings destructors hashtables kernel math
+sequences strings ;
 IN: core-foundation.utilities
 
 GENERIC: (>cf) ( obj -- cf )
@@ -18,4 +18,4 @@ M: hashtable (>cf) [ [ (>cf) &CFRelease ] bi@ ] assoc-map <CFDictionary> ;
 M: sequence (>cf) [ (>cf) &CFRelease ] map <CFArray> ;
 M: alien (>cf) CFRetain ;
 
-: >cf ( obj -- cf ) [ (>cf) ] with-destructors ;
\ No newline at end of file
+: >cf ( obj -- cf ) [ (>cf) ] with-destructors ;