Skip to content

Commit

Permalink
APPL
Browse files Browse the repository at this point in the history
  • Loading branch information
miyako committed Oct 11, 2019
1 parent 9fb6f4e commit f14c3c6
Show file tree
Hide file tree
Showing 18 changed files with 83 additions and 50 deletions.
2 changes: 1 addition & 1 deletion zip/English.lproj/InfoPlist.strings
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/* Localized versions of Info.plist keys */CFBundleName = "Zip";CFBundleShortVersionString = "3.4";CFBundleGetInfoString = "Zip version 3.4, Copyright 2019 miyako.";
/* Localized versions of Info.plist keys */CFBundleName = "Zip";CFBundleShortVersionString = "3.5";CFBundleGetInfoString = "Zip version 3.5, Copyright 2019 miyako.";
Expand Down
4 changes: 2 additions & 2 deletions zip/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>4DCB</string>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.4</string>
<string>3.5</string>
<key>CFBundleSignature</key>
<string>4D06</string>
<key>CSResourcesFileMapped</key>
Expand Down
36 changes: 24 additions & 12 deletions zip/Zip.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D149AF882318FB9700533F0D /* libiconv.a in Frameworks */,
D149AF862318FB5900533F0D /* libz.tbd in Frameworks */,
D149AF842318FB4600533F0D /* libbz2.tbd in Frameworks */,
D149AF882318FB9700533F0D /* libiconv.a in Frameworks */,
D149AF822318FB3800533F0D /* Security.framework in Frameworks */,
D149AF802318F3FD00533F0D /* libjsoncpp.a in Frameworks */,
D149AF7E2318F3F500533F0D /* libminizip.a in Frameworks */,
Expand Down Expand Up @@ -239,7 +239,7 @@
TargetAttributes = {
8D01CCC60486CAD60068D4B7 = {
DevelopmentTeam = Y69CWUC25B;
ProvisioningStyle = Automatic;
ProvisioningStyle = Manual;
};
};
};
Expand Down Expand Up @@ -296,7 +296,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#DEVELOPER_ID_APPLICATION_CODE_SIGN_IDENTITY_NAME=`security find-identity -p codesigning -v | egrep 'Developer ID Application[^\"]+' -o`\ncodesign -f -s \"$EXPANDED_CODE_SIGN_IDENTITY_NAME\" \"$CODESIGNING_FOLDER_PATH/Contents/manifest.json\"";
shellScript = "#DEVELOPER_ID_APPLICATION_CODE_SIGN_IDENTITY_NAME=`security find-identity -p codesigning -v | egrep 'Developer ID Application[^\"]+' -o`\ncodesign --force --verbose --sign \"$EXPANDED_CODE_SIGN_IDENTITY_NAME\" \"$CODESIGNING_FOLDER_PATH/Contents/manifest.json\"\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down Expand Up @@ -334,13 +334,14 @@
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_LINK_OBJC_RUNTIME = NO;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
DEBUGGING_SYMBOLS = YES;
DEPLOYMENT_LOCATION = NO;
DEVELOPMENT_TEAM = Y69CWUC25B;
ENABLE_HARDENED_RUNTIME = NO;
FRAMEWORK_SEARCH_PATHS = "";
GCC_C_LANGUAGE_STANDARD = "compiler-default";
GCC_DYNAMIC_NO_PIC = NO;
Expand Down Expand Up @@ -387,12 +388,13 @@
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_LINK_OBJC_RUNTIME = NO;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = YES;
DEPLOYMENT_LOCATION = NO;
DEVELOPMENT_TEAM = Y69CWUC25B;
ENABLE_HARDENED_RUNTIME = NO;
FRAMEWORK_SEARCH_PATHS = "";
GCC_C_LANGUAGE_STANDARD = "compiler-default";
GCC_ENABLE_FIX_AND_CONTINUE = NO;
Expand Down Expand Up @@ -437,11 +439,12 @@
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_LINK_OBJC_RUNTIME = NO;
CODE_SIGN_IDENTITY = "Mac Developer";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
DEPLOYMENT_LOCATION = NO;
DEVELOPMENT_TEAM = Y69CWUC25B;
ENABLE_HARDENED_RUNTIME = NO;
FRAMEWORK_SEARCH_PATHS = "";
GCC_C_LANGUAGE_STANDARD = "compiler-default";
GCC_ENABLE_TRIGRAPHS = NO;
Expand Down Expand Up @@ -500,7 +503,10 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)";
DEVELOPMENT_TEAM = Y69CWUC25B;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -512,7 +518,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MACOSX_DEPLOYMENT_TARGET = 10.14;
OBJROOT = "$(SRCROOT)/build";
SDKROOT = macosx;
SYMROOT = "$(SRCROOT)/test/Plugins";
Expand Down Expand Up @@ -542,7 +548,10 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)";
DEVELOPMENT_TEAM = Y69CWUC25B;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -554,7 +563,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MACOSX_DEPLOYMENT_TARGET = 10.14;
OBJROOT = "$(SRCROOT)/build";
SDKROOT = macosx;
SYMROOT = "$(SRCROOT)/test/Plugins";
Expand Down Expand Up @@ -584,6 +593,9 @@
CLANG_WARN_SUSPICIOUS_MOVE = YES;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
DEVELOPMENT_TEAM = Y69CWUC25B;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_INLINES_ARE_PRIVATE_EXTERN = YES;
GCC_NO_COMMON_BLOCKS = YES;
Expand All @@ -595,7 +607,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.9;
MACOSX_DEPLOYMENT_TARGET = 10.14;
SDKROOT = macosx;
SYMROOT = "$(SRCROOT)/test/Plugins";
};
Expand Down
Binary file not shown.
Binary file modified zip/test/Data/data.4DD
Binary file not shown.
Empty file modified zip/test/Data/data.Match
100755 → 100644
Empty file.
Binary file modified zip/test/Data/data.journal
Binary file not shown.
4 changes: 2 additions & 2 deletions zip/test/Plugins/Zip.bundle/Contents/Info.plist
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>4DCB</string>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.4</string>
<string>3.5</string>
<key>CFBundleSignature</key>
<string>4D06</string>
<key>CFBundleSupportedPlatforms</key>
Expand Down
Binary file modified zip/test/Plugins/Zip.bundle/Contents/MacOS/Zip
Binary file not shown.
Binary file not shown.
28 changes: 4 additions & 24 deletions zip/test/Plugins/Zip.bundle/Contents/_CodeSignature/CodeResources
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<dict>
<key>hash</key>
<data>
Dt44stemEQ2sPio4jupNBdHXiYg=
NBFRt86muy5MYR7HMXVHjB49r+4=
</data>
<key>optional</key>
<true/>
Expand All @@ -22,56 +22,36 @@
<dict>
<key>QuickLook/Thumbnail.png</key>
<dict>
<key>hash</key>
<data>
hC+U8EqvyIRM1lLakHLfvl4V9Tc=
</data>
<key>hash2</key>
<data>
nGfrvibB5KlzvZgF4Bra+l0HpRloxismgTLePnOwCdk=
</data>
</dict>
<key>Resources/English.lproj/InfoPlist.strings</key>
<dict>
<key>hash</key>
<data>
Dt44stemEQ2sPio4jupNBdHXiYg=
</data>
<key>hash2</key>
<data>
HiE64Ezx9sRT6bFohvFpHJIlKMukgRqYEGNYo4k6Occ=
xUuF0FGRpDiM3Jjg7ys8ILxnBSRaCIpva0nevn2B+yI=
</data>
<key>optional</key>
<true/>
</dict>
<key>Resources/constants.xlf</key>
<dict>
<key>hash</key>
<data>
G5gy0iNNwzsg6uWWuO/lxW/Zl10=
</data>
<key>hash2</key>
<data>
Y00lKpVlu7f4mRQnewX310WOJZL9usLCts6uJeznhkg=
</data>
</dict>
<key>Windows/Zip.4DX</key>
<dict>
<key>hash</key>
<data>
+YuwzBv8CMBqwz3dZnn9KZeUqSE=
</data>
<key>hash2</key>
<data>
O/OFpr9us9+sckKhqATgsI/Ipu+fFIrhgzm/a5LJQ1I=
</data>
</dict>
<key>Windows64/Zip.4DX</key>
<dict>
<key>hash</key>
<data>
B7d2OPXHdWlndd3JlDBCZQBA/VU=
</data>
<key>hash2</key>
<data>
ApizZrp9Bm4RBv1NftBz+VL8DAYNz2+TsQSnyJ4FDjQ=
Expand All @@ -81,10 +61,10 @@
<dict>
<key>cdhash</key>
<data>
NNVMiR8IUhjYqpVb3A0Qz7UNN0Y=
/gzEXKlB8Kvz/XPQvzCizoZ+PJI=
</data>
<key>requirement</key>
<string>identifier manifest and anchor apple generic and certificate leaf[subject.CN] = "Mac Developer: keisuke miyako (4W9UT59D3B)" and certificate 1[field.1.2.840.113635.100.6.2.1] /* exists */</string>
<string>identifier manifest and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = Y69CWUC25B</string>
</dict>
</dict>
<key>rules</key>
Expand Down
5 changes: 4 additions & 1 deletion zip/test/Project/DerivedData/methodAttributes.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"methods": {
"test_zip": {
"timeStamp": "2019-09-11T17:25:46.204Z"
"timeStamp": "2019-09-11T17:25:46.000Z"
},
"test_password": {
"timeStamp": "2019-08-30T06:50:59.000Z"
Expand Down Expand Up @@ -34,6 +34,9 @@
"preemptive": "capable"
}
},
"Method11": {
"timeStamp": "2019-09-27T15:03:59.970Z"
},
"generate_project": {
"timeStamp": "2019-08-30T05:38:56.000Z"
},
Expand Down
13 changes: 13 additions & 0 deletions zip/test/Project/Sources/Methods/Method11.4dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//%attributes = {}
C_TEXT:C284($src;$ZipFile)
C_LONGINT:C283($Ok)
ARRAY TEXT:C222($MonTab;2)
$MonTab{1}:=System folder:C487(Desktop:K41:16)+"木暮理太郎 白馬岳.pdf"
$MonTab{2}:=""

$ZipFile:=System folder:C487(Desktop:K41:16)+"木暮理太郎 白馬岳.zip"


$src:=JSON Stringify array:C1228($MonTab)

$Ok:=Zip ($src;$ZipFile;"";0)
7 changes: 7 additions & 0 deletions zip/test/userPreferences.miyako/breakpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,12 @@
"type": 1,
"methodName": "test_zip"
}
},
{
"line": 11,
"method": {
"type": 1,
"methodName": "Method11"
}
}
]
19 changes: 14 additions & 5 deletions zip/test/userPreferences.miyako/methodPreferences.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@
"stamp": "2019-07-07T00:13:49.000Z"
},
"Sources/Methods/test_zip.4dm": {
"startSelection": 44,
"endSelection": 44,
"firstSelectedLine": 21,
"lastSelectedLine": 21,
"startSelection": 0,
"endSelection": 0,
"firstSelectedLine": 0,
"lastSelectedLine": 0,
"folding": [],
"bookmarks": [],
"stamp": "2019-09-11T17:25:46.204Z"
"stamp": "2019-09-11T17:25:46.000Z"
},
"Sources/Methods/test_password.4dm": {
"startSelection": 40,
Expand All @@ -205,5 +205,14 @@
"folding": [],
"bookmarks": [],
"stamp": "2019-08-30T06:50:59.334Z"
},
"Sources/Methods/Method11.4dm": {
"startSelection": 29,
"endSelection": 29,
"firstSelectedLine": 11,
"lastSelectedLine": 11,
"folding": [],
"bookmarks": [],
"stamp": "2019-09-27T15:03:59.970Z"
}
}
6 changes: 6 additions & 0 deletions zip/test/userPreferences.miyako/methodWindowPositions.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,11 @@
"top": 355,
"width": 1129,
"height": 787
},
"Sources/Methods/Method11.4dm": {
"left": 306,
"top": 437,
"width": 1186,
"height": 764
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?><preferences stamp="174">
<?xml version="1.0" encoding="UTF-8"?><preferences stamp="178">
<com.4d>
<database>
<data_storage data_path=":Data:data.4DD"/>
Expand Down
7 changes: 5 additions & 2 deletions zip/test/userPreferences.miyako/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
"editors": [
{
"type": "method",
"id": 2147483647,
"id": 2147483641,
"codeDescriptor": {
"type": 1,
"methodName": "test_zip"
"methodName": "Method11"
}
},
{
"type": "explorer"
}
]
}

0 comments on commit f14c3c6

Please sign in to comment.