Skip to content

Commit

Permalink
Merge branch 'develop' into 8.3.0-Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Jan 10, 2025
2 parents 8bc9a11 + 6a5908b commit ff3ccf1
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 11 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MIT License
===========

Copyright (c) 2013-2024 Joshua Granick and other Lime contributors
Copyright (c) 2013-2025 Joshua Granick and other Lime contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Notices
=======

### Lime
Copyright (c) 2013-2024 Joshua Granick and other Lime contributors
Copyright (c) 2013-2025 Joshua Granick and other Lime contributors

This product bundles cairo 1.15.2, which is available under an
"MPL 1.1" license. For details, see [project/lib/cairo/](project/lib).
Expand Down
6 changes: 3 additions & 3 deletions project/lib/custom/jpeg/jconfigint.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
#define VERSION "2.0.7"

/* The size of `size_t', as computed by sizeof. */
#if defined(RASPBERRYPI)
#define SIZEOF_SIZE_T 4
#else
#if (__WORDSIZE == 64) || defined(_WIN64)
#define SIZEOF_SIZE_T 8
#else
#define SIZEOF_SIZE_T 4
#endif

/* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */
Expand Down
4 changes: 2 additions & 2 deletions src/lime/tools/FlashHelper.hx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class FlashHelper

var frameData = frameDataWriter.getBytes();

var snd:format.swf.Sound =
var snd:format.swf.Data.Sound =
{
sid: cid,
format: SFMP3,
Expand Down Expand Up @@ -255,7 +255,7 @@ class FlashHelper
{
var sampleCount = Std.int(wav.data.length / (hdr.bitsPerSample / 8));

var snd:format.swf.Sound =
var snd:format.swf.Data.Sound =
{
sid: cid,
format: SFLittleEndianUncompressed,
Expand Down
6 changes: 3 additions & 3 deletions src/lime/tools/Keystore.hx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class Keystore
if (keystore != null)
{
if (keystore.path != null && keystore.path != "") path = keystore.path;
if (keystore.password != null) path = keystore.password;
if (keystore.alias != null) path = keystore.alias;
if (keystore.aliasPassword != null) path = keystore.aliasPassword;
if (keystore.password != null) password = keystore.password;
if (keystore.alias != null) alias = keystore.alias;
if (keystore.aliasPassword != null) aliasPassword = keystore.aliasPassword;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.AssetManager;
import android.net.Uri;
import android.os.Build;
Expand All @@ -16,6 +17,7 @@
import android.view.KeyEvent;
import android.view.View;
import android.webkit.MimeTypeMap;
import android.Manifest;
import org.haxe.extension.Extension;
import org.libsdl.app.SDLActivity;

Expand Down Expand Up @@ -110,7 +112,13 @@ protected void onCreate (Bundle state) {
super.onCreate (state);

assetManager = getAssets ();
vibrator = (Vibrator)mSingleton.getSystemService (Context.VIBRATOR_SERVICE);

if (checkSelfPermission(Manifest.permission.VIBRATE) == PackageManager.PERMISSION_GRANTED) {

vibrator = (Vibrator)mSingleton.getSystemService (Context.VIBRATOR_SERVICE);

}

handler = new Handler ();

Extension.assetManager = assetManager;
Expand Down
5 changes: 5 additions & 0 deletions tools/CommandLineTools.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1514,6 +1514,11 @@ class CommandLineTools
target = System.hostPlatform;
targetFlags.set("cpp", "");

if (target == Platform.MAC)
{
overrides.haxedefs.set("macos", "");
}

case "neko":
target = System.hostPlatform;
targetFlags.set("neko", "");
Expand Down

0 comments on commit ff3ccf1

Please sign in to comment.