]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix conflict
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 23 Feb 2009 02:02:13 +0000 (20:02 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 23 Feb 2009 02:02:13 +0000 (20:02 -0600)
13 files changed:
1  2 
basis/cocoa/enumeration/enumeration.factor
basis/colors/colors.factor
basis/core-foundation/run-loop/run-loop.factor
basis/help/topics/topics.factor
basis/math/functions/functions.factor
basis/stack-checker/transforms/transforms.factor
core/assocs/assocs.factor
core/checksums/crc32/crc32.factor
core/io/encodings/encodings.factor
core/words/words.factor
extra/iokit/hid/hid.factor
extra/iokit/iokit.factor
extra/opengl/demo-support/demo-support.factor

index 004d52ef09316abcfe6d8d01f77751e4fadce8e1,919e8f86c5ff097b23faaecfad22abfc8daade58..1f9430e443e1f4f522005cdfdb58912b4dd39a67
@@@ -5,14 -5,15 +5,14 @@@ sequences vectors fry libc destructor
  specialized-arrays.direct.alien ;
  IN: cocoa.enumeration
  
- : NS-EACH-BUFFER-SIZE 16 ; inline
+ CONSTANT: NS-EACH-BUFFER-SIZE 16
  
  : with-enumeration-buffers ( quot -- )
 -    [
 -        [
 -            "NSFastEnumerationState" malloc-object &free
 -            NS-EACH-BUFFER-SIZE "id" heap-size * malloc-object &free
 -            NS-EACH-BUFFER-SIZE
 -        ] dip call
 +    '[
 +        "NSFastEnumerationState" malloc-object &free
 +        NS-EACH-BUFFER-SIZE "id" malloc-array &free
 +        NS-EACH-BUFFER-SIZE
 +        @
      ] with-destructors ; inline
  
  :: (NSFastEnumeration-each) ( object quot: ( elt -- ) state stackbuf count -- )
index bb91aeeba361fd2e8844a410542e4ffb6d285b5e,9c55b1f29a20ce1eedda1f542d6ef3f31e0d089c..0cd743fa5fd8a1e57a7f6cf8f76c6d361af69f6e
@@@ -6,7 -6,7 +6,11 @@@ IN: color
  
  TUPLE: color ;
  
- TUPLE: rgba < color { red read-only } { green read-only } { blue read-only } { alpha read-only } ;
 -TUPLE: rgba < color red green blue alpha ;
++TUPLE: rgba < color
++{ red read-only }
++{ green read-only }
++{ blue read-only }
++{ alpha read-only } ;
  
  C: <rgba> rgba
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index ba3ca21fcbf633fcfe72544657833928c42ffc7e,cd9eea140937d3112b9ab39c0450178ad39544aa..63f91ffc78d236c7bafd187a74c0da23a1dd0dbd
@@@ -1,58 -1,57 +1,58 @@@
  USING: iokit alien alien.syntax alien.c-types kernel
 -system core-foundation ;
 +system core-foundation core-foundation.data
 +core-foundation.dictionaries ;
  IN: iokit.hid
  
- : kIOHIDDeviceKey "IOHIDDevice" ; inline
- : kIOHIDTransportKey                  "Transport" ; inline
- : kIOHIDVendorIDKey                   "VendorID" ; inline
- : kIOHIDVendorIDSourceKey             "VendorIDSource" ; inline
- : kIOHIDProductIDKey                  "ProductID" ; inline
- : kIOHIDVersionNumberKey              "VersionNumber" ; inline
- : kIOHIDManufacturerKey               "Manufacturer" ; inline
- : kIOHIDProductKey                    "Product" ; inline
- : kIOHIDSerialNumberKey               "SerialNumber" ; inline
- : kIOHIDCountryCodeKey                "CountryCode" ; inline
- : kIOHIDLocationIDKey                 "LocationID" ; inline
- : kIOHIDDeviceUsageKey                "DeviceUsage" ; inline
- : kIOHIDDeviceUsagePageKey            "DeviceUsagePage" ; inline
- : kIOHIDDeviceUsagePairsKey           "DeviceUsagePairs" ; inline
- : kIOHIDPrimaryUsageKey               "PrimaryUsage" ; inline
- : kIOHIDPrimaryUsagePageKey           "PrimaryUsagePage" ; inline
- : kIOHIDMaxInputReportSizeKey         "MaxInputReportSize" ; inline
- : kIOHIDMaxOutputReportSizeKey       "MaxOutputReportSize" ; inline
- : kIOHIDMaxFeatureReportSizeKey       "MaxFeatureReportSize" ; inline
- : kIOHIDReportIntervalKey             "ReportInterval" ; inline
- : kIOHIDElementKey                    "Elements" ; inline
- : kIOHIDElementCookieKey                      "ElementCookie" ; inline
- : kIOHIDElementTypeKey                        "Type" ; inline
- : kIOHIDElementCollectionTypeKey              "CollectionType" ; inline
- : kIOHIDElementUsageKey                       "Usage" ; inline
- : kIOHIDElementUsagePageKey                   "UsagePage" ; inline
- : kIOHIDElementMinKey                         "Min" ; inline
- : kIOHIDElementMaxKey                         "Max" ; inline
- : kIOHIDElementScaledMinKey                   "ScaledMin" ; inline
- : kIOHIDElementScaledMaxKey                   "ScaledMax" ; inline
- : kIOHIDElementSizeKey                        "Size" ; inline
- : kIOHIDElementReportSizeKey                  "ReportSize" ; inline
- : kIOHIDElementReportCountKey                 "ReportCount" ; inline
- : kIOHIDElementReportIDKey                    "ReportID" ; inline
- : kIOHIDElementIsArrayKey                     "IsArray" ; inline
- : kIOHIDElementIsRelativeKey                  "IsRelative" ; inline
- : kIOHIDElementIsWrappingKey                  "IsWrapping" ; inline
- : kIOHIDElementIsNonLinearKey                 "IsNonLinear" ; inline
- : kIOHIDElementHasPreferredStateKey           "HasPreferredState" ; inline
- : kIOHIDElementHasNullStateKey                "HasNullState" ; inline
- : kIOHIDElementFlagsKey                       "Flags" ; inline
- : kIOHIDElementUnitKey                        "Unit" ; inline
- : kIOHIDElementUnitExponentKey                "UnitExponent" ; inline
- : kIOHIDElementNameKey                        "Name" ; inline
- : kIOHIDElementValueLocationKey               "ValueLocation" ; inline
- : kIOHIDElementDuplicateIndexKey              "DuplicateIndex" ; inline
- : kIOHIDElementParentCollectionKey            "ParentCollection" ; inline
+ CONSTANT: kIOHIDDeviceKey "IOHIDDevice"
+ CONSTANT: kIOHIDTransportKey                  "Transport"
+ CONSTANT: kIOHIDVendorIDKey                   "VendorID"
+ CONSTANT: kIOHIDVendorIDSourceKey             "VendorIDSource"
+ CONSTANT: kIOHIDProductIDKey                  "ProductID"
+ CONSTANT: kIOHIDVersionNumberKey              "VersionNumber"
+ CONSTANT: kIOHIDManufacturerKey               "Manufacturer"
+ CONSTANT: kIOHIDProductKey                    "Product"
+ CONSTANT: kIOHIDSerialNumberKey               "SerialNumber"
+ CONSTANT: kIOHIDCountryCodeKey                "CountryCode"
+ CONSTANT: kIOHIDLocationIDKey                 "LocationID"
+ CONSTANT: kIOHIDDeviceUsageKey                "DeviceUsage"
+ CONSTANT: kIOHIDDeviceUsagePageKey            "DeviceUsagePage"
+ CONSTANT: kIOHIDDeviceUsagePairsKey           "DeviceUsagePairs"
+ CONSTANT: kIOHIDPrimaryUsageKey               "PrimaryUsage"
+ CONSTANT: kIOHIDPrimaryUsagePageKey           "PrimaryUsagePage"
+ CONSTANT: kIOHIDMaxInputReportSizeKey         "MaxInputReportSize"
+ CONSTANT: kIOHIDMaxOutputReportSizeKey       "MaxOutputReportSize"
+ CONSTANT: kIOHIDMaxFeatureReportSizeKey       "MaxFeatureReportSize"
+ CONSTANT: kIOHIDReportIntervalKey             "ReportInterval"
+ CONSTANT: kIOHIDElementKey                    "Elements"
+ CONSTANT: kIOHIDElementCookieKey                      "ElementCookie"
+ CONSTANT: kIOHIDElementTypeKey                        "Type"
+ CONSTANT: kIOHIDElementCollectionTypeKey              "CollectionType"
+ CONSTANT: kIOHIDElementUsageKey                       "Usage"
+ CONSTANT: kIOHIDElementUsagePageKey                   "UsagePage"
+ CONSTANT: kIOHIDElementMinKey                         "Min"
+ CONSTANT: kIOHIDElementMaxKey                         "Max"
+ CONSTANT: kIOHIDElementScaledMinKey                   "ScaledMin"
+ CONSTANT: kIOHIDElementScaledMaxKey                   "ScaledMax"
+ CONSTANT: kIOHIDElementSizeKey                        "Size"
+ CONSTANT: kIOHIDElementReportSizeKey                  "ReportSize"
+ CONSTANT: kIOHIDElementReportCountKey                 "ReportCount"
+ CONSTANT: kIOHIDElementReportIDKey                    "ReportID"
+ CONSTANT: kIOHIDElementIsArrayKey                     "IsArray"
+ CONSTANT: kIOHIDElementIsRelativeKey                  "IsRelative"
+ CONSTANT: kIOHIDElementIsWrappingKey                  "IsWrapping"
+ CONSTANT: kIOHIDElementIsNonLinearKey                 "IsNonLinear"
+ CONSTANT: kIOHIDElementHasPreferredStateKey           "HasPreferredState"
+ CONSTANT: kIOHIDElementHasNullStateKey                "HasNullState"
+ CONSTANT: kIOHIDElementFlagsKey                       "Flags"
+ CONSTANT: kIOHIDElementUnitKey                        "Unit"
+ CONSTANT: kIOHIDElementUnitExponentKey                "UnitExponent"
+ CONSTANT: kIOHIDElementNameKey                        "Name"
+ CONSTANT: kIOHIDElementValueLocationKey               "ValueLocation"
+ CONSTANT: kIOHIDElementDuplicateIndexKey              "DuplicateIndex"
+ CONSTANT: kIOHIDElementParentCollectionKey            "ParentCollection"
  
  : kIOHIDElementVendorSpecificKey ( -- str )
      cpu ppc? "VendorSpecifc" "VendorSpecific" ? ; inline
Simple merge