summaryrefslogtreecommitdiff
path: root/contrib/file/Magdir/apple
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/file/Magdir/apple')
-rw-r--r--contrib/file/Magdir/apple97
1 files changed, 11 insertions, 86 deletions
diff --git a/contrib/file/Magdir/apple b/contrib/file/Magdir/apple
index 6d2a07b7b1e36..35dd435727d8b 100644
--- a/contrib/file/Magdir/apple
+++ b/contrib/file/Magdir/apple
@@ -12,7 +12,9 @@
# magic for Newton PDA package formats
# from Ruda Moura <ruda@helllabs.org>
-0 string package0 Newton package, NOS 1.x,
+0 string package Newton package,
+>7 byte 48 NOS 1.x,
+>7 byte 49 NOS 2.x,
>12 belong &0x80000000 AutoRemove,
>12 belong &0x40000000 CopyProtect,
>12 belong &0x10000000 NoCompression,
@@ -20,21 +22,6 @@
>12 belong &0x02000000 UseFasterCompression,
>16 belong x version %d
-0 string package1 Newton package, NOS 2.x,
->12 belong &0x80000000 AutoRemove,
->12 belong &0x40000000 CopyProtect,
->12 belong &0x10000000 NoCompression,
->12 belong &0x04000000 Relocation,
->12 belong &0x02000000 UseFasterCompression,
->16 belong x version %d
-
-0 string package4 Newton package,
->8 byte 8 NOS 1.x,
->8 byte 9 NOS 2.x,
->12 belong &0x80000000 AutoRemove,
->12 belong &0x40000000 CopyProtect,
->12 belong &0x10000000 NoCompression,
-
# The following entries for the Apple II are for files that have
# been transferred as raw binary data from an Apple, without having
# been encapsulated by any of the above archivers.
@@ -67,10 +54,10 @@
# categories" and "left to right, top to bottom," respectively; the D and R
# mean that the cursor should move either down or right when you press Return.
-#30 string \x01D AppleWorks database data
-#30 string \x02D AppleWorks database data
-#30 string \x01R AppleWorks database data
-#30 string \x02R AppleWorks database data
+30 string \x01D AppleWorks database data
+30 string \x02D AppleWorks database data
+30 string \x01R AppleWorks database data
+30 string \x02R AppleWorks database data
# AppleWorks spreadsheet:
#
@@ -78,10 +65,10 @@
# row- or column-order recalculation; the A or M means automatic or manual
# recalculation.
-#131 string RA AppleWorks spreadsheet data
-#131 string RM AppleWorks spreadsheet data
-#131 string CA AppleWorks spreadsheet data
-#131 string CM AppleWorks spreadsheet data
+131 string RA AppleWorks spreadsheet data
+131 string RM AppleWorks spreadsheet data
+131 string CA AppleWorks spreadsheet data
+131 string CM AppleWorks spreadsheet data
# Applesoft BASIC:
#
@@ -127,65 +114,3 @@
# Beagle Bros. Apple Mechanic fonts
0 belong&0xFF00FFFF 0x6400D000 Apple Mechanic font
-
-# Apple Universal Disk Image Format (UDIF) - dmg files.
-# From Johan Gade.
-# These entries are disabled for now until we fix the following issues.
-#
-# Note there might be some problems with the "VAX COFF executable"
-# entry. Note this entry should be placed before the mac filesystem section,
-# particularly the "Apple Partition data" entry.
-#
-# The intended meaning of these tests is, that the file is only of the
-# specified type if both of the lines are correct - i.e. if the first
-# line matches and the second doesn't then it is not of that type.
-#
-#0 long 0x7801730d
-#>4 long 0x62626060 UDIF read-only zlib-compressed image (UDZO)
-#
-# Note that this entry is recognized correctly by the "Apple Partition
-# data" entry - however since this entry is more specific - this
-# information seems to be more useful.
-#0 long 0x45520200
-#>0x410 string disk\ image UDIF read/write image (UDRW)
-
-# From: Toby Peterson <toby@apple.com>
-0 string bplist00 Apple binary property list
-
-# Apple binary property list (bplist)
-# Assumes version bytes are hex.
-# Provides content hints for version 0 files. Assumes that the root
-# object is the first object (true for CoreFoundation implementation).
-# From: David Remahl <dremahl@apple.com>
-0 string bplist
->6 byte x \bCoreFoundation binary property list data, version 0x%c
->>7 byte x \b%c
->6 string 00 \b
->>8 byte&0xF0 0x00 \b
->>>8 byte&0x0F 0x00 \b, root type: null
->>>8 byte&0x0F 0x08 \b, root type: false boolean
->>>8 byte&0x0F 0x09 \b, root type: true boolean
->>8 byte&0xF0 0x10 \b, root type: integer
->>8 byte&0xF0 0x20 \b, root type: real
->>8 byte&0xF0 0x30 \b, root type: date
->>8 byte&0xF0 0x40 \b, root type: data
->>8 byte&0xF0 0x50 \b, root type: ascii string
->>8 byte&0xF0 0x60 \b, root type: unicode string
->>8 byte&0xF0 0x80 \b, root type: uid (CORRUPT)
->>8 byte&0xF0 0xa0 \b, root type: array
->>8 byte&0xF0 0xd0 \b, root type: dictionary
-
-# Apple/NeXT typedstream data
-# Serialization format used by NeXT and Apple for various
-# purposes in YellowStep/Cocoa, including some nib files.
-# From: David Remahl <dremahl@apple.com>
-2 string typedstream NeXT/Apple typedstream data, big endian
->0 byte x \b, version %hhd
->0 byte <5 \b
->>13 byte 0x81 \b
->>>14 ubeshort x \b, system %hd
-2 string streamtyped NeXT/Apple typedstream data, little endian
->0 byte x \b, version %hhd
->0 byte <5 \b
->>13 byte 0x81 \b
->>>14 uleshort x \b, system %hd