mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-06-08 16:29:27 +00:00
http -> https
This commit is contained in:
parent
bc6719d712
commit
e06620b57d
|
@ -261,7 +261,7 @@ public class Apple2SettingsMenu extends Apple2AbstractMenu {
|
|||
|
||||
@Override
|
||||
public void handleSelection(Apple2Activity activity, final Apple2AbstractMenu settingsMenu, boolean isChecked) {
|
||||
String url = "http://deadc0de.org/apple2ix/android/";
|
||||
String url = "https://deadc0de.org/apple2ix/android/";
|
||||
Intent i = new Intent(Intent.ACTION_VIEW);
|
||||
i.setData(Uri.parse(url));
|
||||
activity.startActivity(i);
|
||||
|
|
|
@ -47,11 +47,11 @@ Mac Package
|
|||
|
||||
![Apple2Mac](https://raw.github.com/mauiaaron/apple2/master/docs/Apple2Mac.png "Apple2Mac")
|
||||
|
||||
A dated binary package for Macintosh is available at [deadc0de.org](http://deadc0de.org/Apple2Mac/Apple2Mac-0.9.dmg)
|
||||
Size : 10240000 (10MB)
|
||||
SHASUM : 81f2d55c2daaa0d3f9b33af9b50f69f6789738bf
|
||||
A dated binary package for Macintosh is available at [deadc0de.org](https://deadc0de.org/Apple2Mac/Apple2Mac-0.9.dmg)
|
||||
Size : 10240000 (10MB)
|
||||
SHASUM : 81f2d55c2daaa0d3f9b33af9b50f69f6789738bf
|
||||
|
||||
Alt Size : 76820480 (75MB)
|
||||
Alt Size : 76820480 (75MB)
|
||||
ALTSUM : 488a40d7f1187bcfd16d0045258f606a95f448cb
|
||||
|
||||
Due to Apple's policy about emulators we are unlikely to ship this in the App Store any time soon.
|
||||
|
|
|
@ -1736,17 +1736,17 @@ TEST test_json_array() {
|
|||
|
||||
TEST test_json_unescaping() {
|
||||
JSON_ref jsonRef = NULL;
|
||||
int errCount = json_createFromString("\"http:\\/\\/deadc0de.org\\/apple2ix\\/android\\/\"", &jsonRef);
|
||||
int errCount = json_createFromString("\"https:\\/\\/deadc0de.org\\/apple2ix\\/android\\/\"", &jsonRef);
|
||||
ASSERT(errCount == 1);
|
||||
ASSERT(jsonRef);
|
||||
|
||||
JSON_s parsedData = *((JSON_s *)jsonRef);
|
||||
ASSERT(strcmp(parsedData.jsonString, "\"http:\\/\\/deadc0de.org\\/apple2ix\\/android\\/\"") == 0);
|
||||
ASSERT(strcmp(parsedData.jsonString, "\"https:\\/\\/deadc0de.org\\/apple2ix\\/android\\/\"") == 0);
|
||||
ASSERT(parsedData.jsonLen == strlen(parsedData.jsonString));
|
||||
|
||||
bool ok = json_unescapeSlashes(&parsedData.jsonString);
|
||||
ASSERT(ok);
|
||||
ASSERT(strcmp(parsedData.jsonString, "\"http://deadc0de.org/apple2ix/android/\"") == 0);
|
||||
ASSERT(strcmp(parsedData.jsonString, "\"https://deadc0de.org/apple2ix/android/\"") == 0);
|
||||
size_t newLen = strlen(parsedData.jsonString);
|
||||
ASSERT(parsedData.jsonLen != newLen);
|
||||
ASSERT(newLen == 39);
|
||||
|
|
Loading…
Reference in New Issue
Block a user