Skip to content

Commit

Permalink
Update UniversalDetector.framework and XADMaster.framework for Univer…
Browse files Browse the repository at this point in the history
…sal Binary
  • Loading branch information
kanjitalk755 committed Sep 5, 2021
1 parent 855ecb5 commit 92f74f4
Show file tree
Hide file tree
Showing 39 changed files with 1,238 additions and 76 deletions.
20 changes: 20 additions & 0 deletions UniversalDetector.framework/Versions/A/Headers/UniversalDetector.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
* UniversalDetector.h
*
* Copyright (c) 2017-present, MacPaw Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
#import <Foundation/Foundation.h>

@interface UniversalDetector:NSObject
Expand Down
18 changes: 11 additions & 7 deletions UniversalDetector.framework/Versions/A/Resources/Info.plist
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>15B42</string>
<string>20A5299w</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
Expand All @@ -27,16 +27,20 @@
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>7B91b</string>
<string>12A8158a</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<string>11.0</string>
<key>DTSDKBuild</key>
<string>15A278</string>
<string>20A5299v</string>
<key>DTSDKName</key>
<string>macosx10.11</string>
<string>macosx11.0</string>
<key>DTXcode</key>
<string>0710</string>
<string>1200</string>
<key>DTXcodeBuild</key>
<string>7B91b</string>
<string>12A8158a</string>
<key>LSMinimumSystemVersion</key>
<string>10.7</string>
</dict>
</plist>
Binary file modified UniversalDetector.framework/Versions/A/UniversalDetector
Binary file not shown.
135 changes: 135 additions & 0 deletions UniversalDetector.framework/Versions/A/_CodeSignature/CodeResources
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Resources/Info.plist</key>
<data>
EVxNq8CKJ6j1s1lauLLuM88zTn4=
</data>
</dict>
<key>files2</key>
<dict>
<key>Headers/UniversalDetector.h</key>
<dict>
<key>hash2</key>
<data>
t5mMN3jSv1EJFo2w9GslWHJQc2PTms0+zENoYkmXpWI=
</data>
</dict>
<key>Resources/Info.plist</key>
<dict>
<key>hash2</key>
<data>
ppcOzD/mFSdFpBcrKVVoM66UmQsjjiXodK6jB96yIWk=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^Resources/</key>
<true/>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>
25 changes: 25 additions & 0 deletions XADMaster.framework/Versions/A/Headers/CRC.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,14 +1,39 @@
/*
* CRC.h
*
* Copyright (c) 2017-present, MacPaw Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
#import <Foundation/Foundation.h>

uint32_t XADCRC(uint32_t prevcrc,uint8_t byte,const uint32_t *table);
uint32_t XADCalculateCRC(uint32_t prevcrc,const uint8_t *buffer,int length,const uint32_t *table);

// Version approximately 2x (up to 6x times) faster
// This one expects 16x256 tables passed in at the moment only XADCRCTable_sliced16_edb88320 is pregenerated
uint32_t XADCalculateCRCFast(uint32_t prevcrc,const uint8_t *buffer,int length, const uint32_t (*table)[256]);

uint64_t XADCRC64(uint64_t prevcrc,uint8_t byte,const uint64_t *table);
uint64_t XADCalculateCRC64(uint64_t prevcrc,const uint8_t *buffer,int length,const uint64_t *table);

int XADUnReverseCRC16(int val);

extern const uint32_t XADCRCTable_a001[256];
extern const uint32_t XADCRCTable_sliced16_edb88320[16][256];
extern const uint32_t XADCRCReverseTable_1021[256];
extern const uint32_t XADCRCTable_edb88320[256];
extern const uint64_t XADCRCTable_c96c5795d7870f42[256];
25 changes: 23 additions & 2 deletions XADMaster.framework/Versions/A/Headers/CSBlockStreamHandle.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@

/*
* CSBlockStreamHandle.h
*
* Copyright (c) 2017-present, MacPaw Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
#import "CSStreamHandle.h"

#define CSBlockStreamHandle XADBlockStreamHandle
Expand All @@ -11,8 +32,8 @@
}

// Intializers
-(id)initWithName:(NSString *)descname length:(off_t)length;
-(id)initWithHandle:(CSHandle *)handle length:(off_t)length bufferSize:(int)buffersize;
//-(id)initWithName:(NSString *)descname length:(off_t)length;
-(id)initWithInputBufferForHandle:(CSHandle *)handle length:(off_t)length bufferSize:(int)buffersize;
-(id)initAsCopyOf:(CSBlockStreamHandle *)other;

// Implemented by this class
Expand Down
24 changes: 22 additions & 2 deletions XADMaster.framework/Versions/A/Headers/CSByteStreamHandle.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
* CSByteStreamHandle.h
*
* Copyright (c) 2017-present, MacPaw Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
#import "CSStreamHandle.h"

#import <setjmp.h>
Expand All @@ -13,8 +33,8 @@
}

// Intializers
-(id)initWithName:(NSString *)descname length:(off_t)length;
-(id)initWithHandle:(CSHandle *)handle length:(off_t)length bufferSize:(int)buffersize;
//-(id)initWithName:(NSString *)descname length:(off_t)length;
-(id)initWithInputBufferForHandle:(CSHandle *)handle length:(off_t)length bufferSize:(int)buffersize;
-(id)initAsCopyOf:(CSByteStreamHandle *)other;

// Implemented by this class
Expand Down
23 changes: 21 additions & 2 deletions XADMaster.framework/Versions/A/Headers/CSBzip2Handle.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
* CSBzip2Handle.h
*
* Copyright (c) 2017-present, MacPaw Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
#import "CSStreamHandle.h"

#include <bzlib.h>
Expand All @@ -8,7 +28,6 @@ extern NSString *CSBzip2Exception;

@interface CSBzip2Handle:CSStreamHandle
{
CSHandle *parent;
off_t startoffs;
bz_stream bzs;
BOOL inited,checksumcorrect;
Expand All @@ -20,7 +39,7 @@ extern NSString *CSBzip2Exception;
+(CSBzip2Handle *)bzip2HandleWithHandle:(CSHandle *)handle length:(off_t)length;

// Initializers.
-(id)initWithHandle:(CSHandle *)handle length:(off_t)length name:(NSString *)descname;
-(id)initWithHandle:(CSHandle *)handle length:(off_t)length;
-(void)dealloc;

// Implemented by this class.
Expand Down
Loading

0 comments on commit 92f74f4

Please sign in to comment.