Commit Graph

5420 Commits

Author SHA1 Message Date
player-03
52bc8e40c9 Add explanatory comment. 2022-09-03 15:41:18 -04:00
player-03
f38119d181 Merge branch 'develop' into rootPath-improvements 2022-09-03 15:22:26 -04:00
player-03
312cccfeeb Merge pull request #1577 from player-03/icon_priorities
Don't prioritize SVG icons.
2022-09-03 14:54:20 -04:00
Josh Tynjala
4b04674ea4 JNI: use doc_gen instead of lime_doc_gen to allow OpenFL API docs to build 2022-09-01 18:15:41 -07:00
Chris Speciale
d4bcb31d06 Fix typo 2022-09-01 14:00:42 -04:00
Chris Speciale
31918f61cf NativeHTTPRequest: Fix buffer management for neko 2022-09-01 09:51:49 -04:00
player-03
f177e62edf Don't prioritize SVG icons.
Instead, assume that any icon without a specified size can scale freely. This will typically still include SVGs.
2022-09-01 03:36:22 -04:00
Josh Tynjala
3b985979ac release date 8.0.0 2022-08-30 13:46:16 -07:00
Shahar Marcus
d5bac69ff7 Update FileDialog.hx
FileDialog.browse fixed for OPEN_FILE, OPEN_DIRECTORY. I changed formatting of the null check on SAVE to match the formatting in the file.
2022-08-30 09:28:55 -07:00
Shahar Marcus
7915b595d8 Update FileDialog.hx
FileDialog.browse fixed for OPEN_FILE, OPEN_DIRECTORY. I changed formatting of the null check on SAVE to match the formatting in the file.
2022-08-30 10:08:45 +03:00
player-03
6b2724b147 Use getters and setters for Window.opacity. 2022-08-12 12:41:43 -04:00
player-03
13c33d83f4 Start sorting NativeWindow functions.
There's more to sort, but moving them all at once messes up the diff.
2022-08-12 12:32:54 -04:00
player-03
a6323f323f Sort CFFI functions. 2022-08-12 12:27:51 -04:00
player-03
2903975465 Sort functions. 2022-08-12 12:22:27 -04:00
player-03
7b06d6a38a Sort functions. 2022-08-12 12:19:38 -04:00
player-03
f69c5a5d5c Sort function declarations. 2022-08-12 12:17:30 -04:00
player-03
42e3450614 Sort functions and standardize formatting.
The new version no longer checks the return code of `SDL_GetWindowOpacity`, for consistency with the other getters. In theory this should be fine, because the only documented error condition is if the window is invalid, at which point none of the getters matter. If the platform doesn't support transparency, "opacity will be reported as 1.0f without error."
2022-08-12 12:16:26 -04:00
player-03
af05054ce5 Sort function definitions. 2022-08-12 11:59:28 -04:00
player-03
a3f54aa1d5 Sort function declarations. 2022-08-12 11:57:07 -04:00
player-03
efcbc622bd Change spaces to tabs
Missed this one the first time.
2022-08-12 11:55:19 -04:00
player-03
2e92df9b89 Standardize formatting 2022-08-12 11:53:59 -04:00
Josh Tynjala
770bf0e296 contributors 2022-08-08 13:25:39 -07:00
Josh Tynjala
42b85eb533 releasenote 2022-08-08 13:25:20 -07:00
Josh Tynjala
958d2fd49f preliminary CHANGELOG (needs a release date!) 2022-08-08 13:10:16 -07:00
Apprentice-Alchemist
399c1a3ba7 Missing function bodies. 2022-08-05 15:54:00 +02:00
Apprentice-Alchemist
57ef1223bc Fix typo. 2022-08-05 13:35:27 +02:00
Apprentice-Alchemist
86a7b4e136 C++ is strange. 2022-08-05 13:29:34 +02:00
Apprentice-Alchemist
1c8c6c1a5e Implement window transparency. 2022-08-04 22:00:49 +02:00
Josh Tynjala
88b4fdf888 lime.openfl.org 2022-07-28 16:54:37 -07:00
Chris Speciale
7a9a881b22 Remove TODO
...Unfortunately, after a little bit of testing and a lot more thought and consideration, I've realized there really isn't a way to do this without doubling the allocation. Ouch.
2022-07-28 18:01:10 -04:00
Chris Speciale
4fdaefac23 Add TODO 2022-07-28 17:09:23 -04:00
Chris Speciale
592b3dbb4d Merge pull request #1568 from Stencyl/fix-native-loadtext-request
Fix NativeHTTPRequest.loadText
2022-07-28 16:40:35 -04:00
Josh Tynjala
372f79fd81 NativeMenuItem: fix wrong types on keyEquivalent and keyEquivalentModifiers 2022-07-26 11:30:28 -07:00
Justin Espedal
3644549574 Fix NativeHTTPRequest.loadText
Followup to these two commits:
02617a854d
ad3a632927

In the second commit, the buildBuffer call in HTTPRequest was
found to conflict with the way local requests are made, with the
bytes being set directly. So buildBuffer was moved to NativeHTTPRequest
instead. Upon promise completion, now, the value of bytes should always
be correct, and buildBuffer need not be called.

But buildBuffer is called again in NativeHTTPRequest.loadText. For local
requests, this will lead to the same problem that the second commit
fixed (presumably), and for network requests, this leads to the nulled
out buffer being accessed a second time, resulting in a crash.

So since the received value of bytes is already correct and buildBuffer
is harmful, the buildBuffer call is removed from loadText.
Both local and network requests are happy now!
2022-07-22 23:19:46 +09:00
Josh Tynjala
862fe55b1c Preloader: use ObjectMap instead of Map with bytesLoadedCache so that Dynamic can be a key when disable_preloader_assets flag is set 2022-07-20 11:54:21 -07:00
Josh Tynjala
aa1f305f9d project.xml: add <config:air profile=value/> to optionally support custom AIR profiles on run 2022-07-19 11:10:49 -07:00
Josh Tynjala
5a494a1742 docs-theme: minor color tweak for links 2022-07-18 10:35:53 -07:00
Josh Tynjala
795b2fcace docs-theme: dark mode support 2022-07-18 09:54:51 -07:00
Joseph Cloutier
dada3e3b0a Document JNI constructors. 2022-07-15 12:36:42 -04:00
Josh Tynjala
fd0fc3da48 HashLink: fix the ability to double-click the .app file on macOS to run it
The HashLink executable expects hlboot.dat and libraries to be in the current working directory (it's not enough for them to be in the same directory as the executable). Make the .app file launch a shell script that 1) changes the current working directory 2) launches the HashLink executable
2022-07-13 10:01:57 -07:00
Josh Tynjala
06baca4396 README: use correct file name for installing nightly build 2022-07-11 15:29:28 -07:00
Josh Tynjala
f004b968d0 README: link to development builds shows only successful builds 2022-07-11 14:53:34 -07:00
player-03
2a81e10ba9 Merge pull request #1559 from mgambrell/develop
vorbisfile.cpp - change free(x) to `delete x` (fixes #1556)
2022-07-07 20:47:17 -04:00
Josh Tynjala
8d715cb741 docs website URL
This may change, but this is where it is right now
2022-07-05 08:51:01 -07:00
Josh Tynjala
7e33d52645 docs: logo not required to be served from root of domain 2022-07-05 08:49:08 -07:00
mgambrell
0125e939a9 vorbisfile.cpp - change free(x) to delete x (fixes #1556) 2022-07-04 00:00:38 -05:00
Justin Espedal
b4110480c1 Don't set AL.BYTE_OFFSET immediately after calling AL.sourcePlay
The sourcePlay call in NativeAudioSource.play is removed, since
setCurrentTime will always do that itself. Additionally, within
setCurrentTime, sourcePlay was happening before setting the byte
offset for non-streamed sounds.

This appears to fix the problem of sounds playing the first part
multiple times, described here:
https://community.openfl.org/t/sounds-play-twice-on-ios/12163
2022-07-04 12:17:43 +09:00
player-03
4f83af5848 Merge pull request #1545 from player-03/configChanges
Suppress `uiMode` configuration changes.
2022-06-27 01:49:18 -04:00
player-03
b542d62429 Merge pull request #1552 from player-03/JNI_safety
Rename `ForegroundWorker` → `JNISafety`.
2022-06-18 22:20:08 -04:00
Joseph Cloutier
da5704e263 Rename ForegroundWorkerJNISafety.
This change places the focus on the one known use case, while clearing
up potential confusion caused by similar-sounding classes that function
totally differently.
2022-06-18 21:18:02 -04:00