Legacy 1.x version of PlayN library.

Overview

PlayN is a cross-platform Java game development library written in Java that targets HTML5 browsers (via GWT), desktop JVMs, Android and iOS devices.

NOTE

This is the legacy 1.x version of the PlayN library which is no longer actively developed. Active development is happening on PlayN 2.x which is hosted at playn/playn.

Unless you mean to be using the legacy 1.x version of PlayN (and potentially submitting bug fix or other maintenance patches), you should immediately proceed to the 2.x site.

Licensing

Unless otherwise stated, all source files are licensed under the Apache License, Version 2.0:

Copyright 2011-2014 The PlayN Authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language governing permissions and
limitations under the License.
Comments
  • GPU/driver lacks sufficient vertex uniform vectors for QuadShader.

    GPU/driver lacks sufficient vertex uniform vectors for QuadShader.

    I just receive this error on the java backend after upgrading my game to a 1.5-SNAPSHOT, it was working fine with 1.4.

    Is this error a result of my hardware, wich is kind of dated, or there was some change that could be triggering this?

    opened by foobraco 9
  • Problems with onPause onAndroid

    Problems with onPause onAndroid

    There is a problem when running a PlayN application on Android and onPause getting called due to visibility changed to invisible, for example when pressing the power button to lock the screen or if another app takes focus.

    When this happens platform.graphics().ctx.onSurfaceLost(); will get called from GameViewGL.onPause(), which will clear all textures. When we resume after this the game looks ok, but as soon as the garbage collector runs the screen will turn black.

    We have tried this with a blank project and it still occurs, though a bit harder to reproduce due to the garbage collector not being so interested in running when we use so little memory.

    A temporary solution for us has been to add platform.graphics().ctx.onSurfaceCreated(); to GameViewGL.onResume(), don't know if this could create other problems though, if so we haven't seen them yet.

    We have traced the adding of the platform.graphics().ctx.onSurfaceLost() call in GameViewGL to the following commit https://github.com/threerings/playn/commit/c4310a801d4b96a8cf35b11a03869b4881d1ead6#L2R142

    opened by goleegrees 9
  • Allow java implementation to load assets from filesystem

    Allow java implementation to load assets from filesystem

    A simple patch to let java version to load assets from one or multiple directories using a new Assets implementation when "assetsDirectories" new setting is set.

    opened by ghost 7
  • Able to manually control the activation and termination of IOSPlatform

    Able to manually control the activation and termination of IOSPlatform

    As a part of application, the platform lifecyle is inconsistent with the app. We have to manually bring the platform active and terminate it in the main app. I added two methods activate() and terminate() in IOSPlatform and also nixed some imports.

    I'd been trying not to add additional services on IOSPlatform. It seems that we have to do that for now. Thanks the Android architecture, it makes our integration much easier.

    opened by tomfisher 4
  • Fix ByteBuffer position when it used as IntBuffer

    Fix ByteBuffer position when it used as IntBuffer

    From asIntBuffer() description: "Changes to this buffer's content will be visible in the new buffer, and vice versa; the two buffers' position, limit, and mark values will be independent."

    opened by ruslansennov 4
  • Patch for mvn eclipse:eclipse to work

    Patch for mvn eclipse:eclipse to work

    Hi guys,

    I know this is a very trivial patch, but it really helps me to get mvn eclipse:eclipse to work. Currently without the following mvn eclipse:eclipse failed with the following nasty error

             Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse (default-cli) on project playn-archetype
    

    Guessing that it got some internal conflict when no maven eclipse plugin is specified. The fix is pretty simple, just add specify a version of maven eclipse plugin in playn/pom.xml would fix it.

             <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-eclipse-plugin</artifactId>
            <version>2.6</version>
            <configuration>
              <ajdtVersion>1.6</ajdtVersion>
            </configuration>
          </plugin>
    

    If someone could help patch this in that'd be great, else people would have to manually put this in everything they do a git pull which could be rather annoying at times. Cheers

    opened by tmjee 4
  • Make playn maven archetype generate GWT pom that's version specific

    Make playn maven archetype generate GWT pom that's version specific

    What steps will reproduce the problem? html module generated by playn maven archetype replies on gwt-maven-plugin to decide on the GWT version which will causes compilation error if more 1 version of gwt is in the classpath

    What is the expected output? What do you see instead? maven playn skeleton to be generated successfully without errors (eg. ClassNotFoundException)

    What version of the product are you using? On what operating system? PlayN from trunk, Windows, Linux

    Please provide any additional information below.

    Attached is a patch that will generate pom for html module with gwt version configured as maven property default to 2.4.0, and force gwt-maven-plugin to use the specific version as indicated by maven property.

    Following are traces from maven log when using the -X parameters

    [INFO] --- gwt-maven-plugin:2.3.0-2-playn:compile (default) @ mplyn1-html --- [DEBUG] org.codehaus.mojo:gwt-maven-plugin:jar:2.3.0-2-playn: [DEBUG] com.google.gwt:gwt-user:jar:2.3.0:runtime [DEBUG] com.google.gwt:gwt-dev:jar:2.3.0:runtime [DEBUG] org.apache.maven:maven-project:jar:2.0.9:compile [DEBUG] org.apache.maven:maven-settings:jar:2.0.9:compile

    gwt-maven-plugin decided to use gwt 2.3.0

    [DEBUG] GWT SDK execution classpath : ... [DEBUG] D:\maven_repo\com\googlecode\playn\playn-html\1.1-SNAPSHOT\playn-html-1.1-SNAPSHOT.jar [DEBUG] D:\maven_repo\com\googlecode\playn\playn-core\1.1-SNAPSHOT\playn-core-1.1-SNAPSHOT.jar [DEBUG] D:\maven_repo\com\googlecode\playn\playn-webgl\1.1-SNAPSHOT\playn-webgl-1.1-SNAPSHOT.jar [DEBUG] D:\maven_repo\com\google\gwt\gwt-user\2.4.0\gwt-user-2.4.0.jar [DEBUG] D:\maven_repo\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar [DEBUG] D:\maven_repo\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources.jar [DEBUG] D:\maven_repo\com\allen-sauer\gwt\voices\gwt-voices\2.1.3\gwt-voices-2.1.3.jar ...

    but then for some reason it decided to include gwt 2.4.0 in the classpath too

    This patch will force gwt-maven-plugin to always use the version specified in gwt.version property

    diff --git a/archetype/src/main/resources/archetype-resources/html/pom.xml b/archetype/src/main/resources/archetype-resources/html/pom.xml index 3261267..13b9331 100644 --- a/archetype/src/main/resources/archetype-resources/html/pom.xml +++ b/archetype/src/main/resources/archetype-resources/html/pom.xml @@ -16,6 +16,7 @@ <gwt.module>${package}.${gameName}</gwt.module> <gwt.name>${rootArtifactId}</gwt.name>

    • <gwt.version>2.4.0</gwt.version>
    @@ -37,6 +38,19 @@ org.codehaus.mojo gwt-maven-plugin - ${gwt.version} - - - com.google.gwt - gwt-user - ${gwt.version} - - - com.google.gwt - gwt-dev - ${gwt.version} - - maven-eclipse-plugin

    Created one issue with PlayN site as well, but guess i should be cancelling that one.

    opened by tmjee 4
  • Integrate PlayN as a part of application

    Integrate PlayN as a part of application

    For the first submission, I'v tested it with my application integrating a game and everything works fine now.

    Just ignore the second submission if you think it's a little bit rushed. But it seems that the method naming becomes more Java alike after RoboVM alpha-04.

    opened by tomfisher 3
  • Resizable window on java version?

    Resizable window on java version?

    What is the best way to have a resizable window with Java version? A lot of gamers like to play with maximized windon instead of fullscreen.

    I tried to overrides Game.Default methods, it work more or less, but it does not play well with layers other than ImmediateLayer:

            @Override
            public void init() {
                Display.setResizable(true);
                super.init();
            }
    
            @Override
            public void paint(float alpha) {
                PlayN.graphics().ctx().setSize(Display.getWidth(), Display.getHeight());
                super.paint(alpha);
            }
    
    opened by ghost 3
  • Discrepancy in leading space rendering of layoutText

    Discrepancy in leading space rendering of layoutText

    This is pretty easy to observe in the demo. Choose "Text Test" and click to enter a string with leading and trailing spaces, like " A ". Under java, just the "A" is rendered. Under ios, the " A" is rendered. Is it possible to make this consistent? It's causing problems for me in a styled text renderer in my app.

    I'd prefer to include spaces in all rendering since that would allow the best control. Otherwise, I'd need to somehow measure a space and do special extra stuff during laying out each chunk, not pretty.

    opened by jamie-threerings 3
  • Support for GIF Animations

    Support for GIF Animations

    Hey wondering if there would be a way to load a GIF image and animate it? It makes sense that this could be possible with Java, but to have this work on HTML is probably not as straight forward? Anyway appreciate any help I can get!

    opened by BenDol 2
  • Bump junit from 4.11 to 4.13.1

    Bump junit from 4.11 to 4.13.1

    Bumps junit from 4.11 to 4.13.1.

    Release notes

    Sourced from junit's releases.

    JUnit 4.13.1

    Please refer to the release notes for details.

    JUnit 4.13

    Please refer to the release notes for details.

    JUnit 4.13 RC 2

    Please refer to the release notes for details.

    JUnit 4.13 RC 1

    Please refer to the release notes for details.

    JUnit 4.13 Beta 3

    Please refer to the release notes for details.

    JUnit 4.13 Beta 2

    Please refer to the release notes for details.

    JUnit 4.13 Beta 1

    Please refer to the release notes for details.

    JUnit 4.12

    Please refer to the release notes for details.

    JUnit 4.12 Beta 3

    Please refer to the release notes for details.

    JUnit 4.12 Beta 2

    No release notes provided.

    JUnit 4.12 Beta 1

    No release notes provided.

    Commits
    • 1b683f4 [maven-release-plugin] prepare release r4.13.1
    • ce6ce3a Draft 4.13.1 release notes
    • c29dd82 Change version to 4.13.1-SNAPSHOT
    • 1d17486 Add a link to assertThrows in exception testing
    • 543905d Use separate line for annotation in Javadoc
    • 510e906 Add sub headlines to class Javadoc
    • 610155b Merge pull request from GHSA-269g-pwp5-87pp
    • b6cfd1e Explicitly wrap float parameter for consistency (#1671)
    • a5d205c Fix GitHub link in FAQ (#1672)
    • 3a5c6b4 Deprecated since jdk9 replacing constructor instance of Double and Float (#1660)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump Java-WebSocket from 1.3.0 to 1.5.0 in /robovm

    Bump Java-WebSocket from 1.3.0 to 1.5.0 in /robovm

    Bumps Java-WebSocket from 1.3.0 to 1.5.0.

    Release notes

    Sourced from Java-WebSocket's releases.

    Release 1.5.0

    Breaking Changes

    This release requires API Level 1.7.

    Security

    This release contains a security fix for CVE-2020-11050.

    Take a look at the advisory here for more information.

    Notable changes:

    • Issue 574 - Implementation of per message deflate extension (PR 866)
    • Issue 997 - Access to SSLParameters used by the WebSocketClient (PR 1000)
    • PR 1001 - Allow user to specify max number of pending connections to a server

    Check out the changelog and the milestone for more information.

    A special thanks to all the contributors of this release: @haruntuncay @PhilipRoman

    Release 1.4.1

    Notable changes:

    • PR 906 - Implemented a custom DNS resolver, see #859
    • PR 893 - Provide a way to access the SSLSession of a websocket instance
    • PR 944 - Add ability to customize ping messages with custom data
    • PR 868 - Add a way to put additional headers to handshake for connecting/reconnecting, see #865
    • PR 971 - Enabled OSGi metadata in MANIFST-MF for created JAR

    Check out the changelog and the milestone for more information.

    A special thanks to all the contributors of this release:

    Release 1.4.0

    Breaking changes:

    • Issue 753 - Breaking changes in 1.4
    • Issue 670 - Use a logging framework such as as SLF4J instead of System.out.println (PR 754)
    ... (truncated)
    Changelog

    Sourced from Java-WebSocket's changelog.

    Version Release 1.5.0 (2020/05/06)

    Breaking Changes

    This release requires API Level 1.7.

    Security

    This release contains a security fix for CVE-2020-11050.

    Take a look at the advisory here for more information.

    New Features

    • Issue 574 - Implementation of per message deflate extension (PR 866)
    • PR 866 - Add PerMessageDeflate Extension support, see #574
    • Issue 997 - Access to SSLParameters used by the WebSocketClient (PR 1000)
    • Issue 574 - Implementation of per message deflate extension (PR 866)
    • PR 1001 - Allow user to specify max number of pending connections to a server
    • PR 1000 - SSLParameters for WebSocketClient
    • PR 866 - Add PerMessageDeflate Extension support, see #574

    In this release 3 issues and 4 pull requests were closed.

    ###############################################################################

    Version Release 1.4.1 (2020/03/12)

    Bugs Fixed

    • Issue 940 - WebSocket handshake fails over WSS, if client uses TLS False Start (PR 943)
    • Issue 921 - ConcurrentModificationException when looping connections
    • Issue 905 - IOException wrapped in InternalError not handled properly (PR 901)
    • Issue 900 - OnClose is not called when client disconnect (PR 914)
    • Issue 869 - Lost connection detection is sensitive to changes in system time (PR 878)
    • Issue 665 - Data read with end of SSL handshake is discarded (PR 943)
    • PR 943 - Merge pull request #943 from da-als/master
    • PR 922 - Fix ConcurrentModificationException when iterating through connection
    • PR 914 - Merge pull request #914 from marci4/Issue900
    • PR 902 - ConcurrentModificationException when using broadcast
    • PR 901 - fix when proxy tunneling failed (IOException is hidden) JDK-8173
    • PR 878 - Replace TimerTask with ScheduledExecutorService

    New Features

    • Issue 969 - Loggers should be declared non-static (PR 970)
    • Issue 962 - Improvements in socket connect to server (PR 964)
    • Issue 941 - How to send customized ping message on connectionLostTimeout interval (PR 944)
    • Issue 890 - Would like to get SSLSession from WebSocket on server to examine client certificates (PR 893)
    • Issue 865 - Append new headers to the client when reconnecting
    ... (truncated)
    Commits
    • 54ca4f4 Merge pull request #1009 from marci4/UpdateChangelog1.5.0
    • 046f24b Update CHANGELOG.md
    • 63222d1 Merge pull request #1006 from marci4/FixTestPerMessageDeflate
    • 1e2e890 Update PerMessageDeflateExtensionTest.java
    • 9d890db Merge pull request #1001 from TooTallNate/issue-991
    • cab3fda Merge pull request #1000 from marci4/Issue997
    • ca38a4b Add "since 1.5.0" tag to new methods
    • 3ebbe21 Allow user to specify max number of pending connections to a server
    • 0670985 Rework after review
    • 2dbe2d3 API for SSLParameters
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump Java-WebSocket from 1.3.0 to 1.5.0 in /java

    Bump Java-WebSocket from 1.3.0 to 1.5.0 in /java

    Bumps Java-WebSocket from 1.3.0 to 1.5.0.

    Release notes

    Sourced from Java-WebSocket's releases.

    Release 1.5.0

    Breaking Changes

    This release requires API Level 1.7.

    Security

    This release contains a security fix for CVE-2020-11050.

    Take a look at the advisory here for more information.

    Notable changes:

    • Issue 574 - Implementation of per message deflate extension (PR 866)
    • Issue 997 - Access to SSLParameters used by the WebSocketClient (PR 1000)
    • PR 1001 - Allow user to specify max number of pending connections to a server

    Check out the changelog and the milestone for more information.

    A special thanks to all the contributors of this release: @haruntuncay @PhilipRoman

    Release 1.4.1

    Notable changes:

    • PR 906 - Implemented a custom DNS resolver, see #859
    • PR 893 - Provide a way to access the SSLSession of a websocket instance
    • PR 944 - Add ability to customize ping messages with custom data
    • PR 868 - Add a way to put additional headers to handshake for connecting/reconnecting, see #865
    • PR 971 - Enabled OSGi metadata in MANIFST-MF for created JAR

    Check out the changelog and the milestone for more information.

    A special thanks to all the contributors of this release:

    Release 1.4.0

    Breaking changes:

    • Issue 753 - Breaking changes in 1.4
    • Issue 670 - Use a logging framework such as as SLF4J instead of System.out.println (PR 754)
    ... (truncated)
    Changelog

    Sourced from Java-WebSocket's changelog.

    Version Release 1.5.0 (2020/05/06)

    Breaking Changes

    This release requires API Level 1.7.

    Security

    This release contains a security fix for CVE-2020-11050.

    Take a look at the advisory here for more information.

    New Features

    • Issue 574 - Implementation of per message deflate extension (PR 866)
    • PR 866 - Add PerMessageDeflate Extension support, see #574
    • Issue 997 - Access to SSLParameters used by the WebSocketClient (PR 1000)
    • Issue 574 - Implementation of per message deflate extension (PR 866)
    • PR 1001 - Allow user to specify max number of pending connections to a server
    • PR 1000 - SSLParameters for WebSocketClient
    • PR 866 - Add PerMessageDeflate Extension support, see #574

    In this release 3 issues and 4 pull requests were closed.

    ###############################################################################

    Version Release 1.4.1 (2020/03/12)

    Bugs Fixed

    • Issue 940 - WebSocket handshake fails over WSS, if client uses TLS False Start (PR 943)
    • Issue 921 - ConcurrentModificationException when looping connections
    • Issue 905 - IOException wrapped in InternalError not handled properly (PR 901)
    • Issue 900 - OnClose is not called when client disconnect (PR 914)
    • Issue 869 - Lost connection detection is sensitive to changes in system time (PR 878)
    • Issue 665 - Data read with end of SSL handshake is discarded (PR 943)
    • PR 943 - Merge pull request #943 from da-als/master
    • PR 922 - Fix ConcurrentModificationException when iterating through connection
    • PR 914 - Merge pull request #914 from marci4/Issue900
    • PR 902 - ConcurrentModificationException when using broadcast
    • PR 901 - fix when proxy tunneling failed (IOException is hidden) JDK-8173
    • PR 878 - Replace TimerTask with ScheduledExecutorService

    New Features

    • Issue 969 - Loggers should be declared non-static (PR 970)
    • Issue 962 - Improvements in socket connect to server (PR 964)
    • Issue 941 - How to send customized ping message on connectionLostTimeout interval (PR 944)
    • Issue 890 - Would like to get SSLSession from WebSocket on server to examine client certificates (PR 893)
    • Issue 865 - Append new headers to the client when reconnecting
    ... (truncated)
    Commits
    • 54ca4f4 Merge pull request #1009 from marci4/UpdateChangelog1.5.0
    • 046f24b Update CHANGELOG.md
    • 63222d1 Merge pull request #1006 from marci4/FixTestPerMessageDeflate
    • 1e2e890 Update PerMessageDeflateExtensionTest.java
    • 9d890db Merge pull request #1001 from TooTallNate/issue-991
    • cab3fda Merge pull request #1000 from marci4/Issue997
    • ca38a4b Add "since 1.5.0" tag to new methods
    • 3ebbe21 Allow user to specify max number of pending connections to a server
    • 0670985 Rework after review
    • 2dbe2d3 API for SSLParameters
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump Java-WebSocket from 1.3.0 to 1.5.0 in /android

    Bump Java-WebSocket from 1.3.0 to 1.5.0 in /android

    Bumps Java-WebSocket from 1.3.0 to 1.5.0.

    Release notes

    Sourced from Java-WebSocket's releases.

    Release 1.5.0

    Breaking Changes

    This release requires API Level 1.7.

    Security

    This release contains a security fix for CVE-2020-11050.

    Take a look at the advisory here for more information.

    Notable changes:

    • Issue 574 - Implementation of per message deflate extension (PR 866)
    • Issue 997 - Access to SSLParameters used by the WebSocketClient (PR 1000)
    • PR 1001 - Allow user to specify max number of pending connections to a server

    Check out the changelog and the milestone for more information.

    A special thanks to all the contributors of this release: @haruntuncay @PhilipRoman

    Release 1.4.1

    Notable changes:

    • PR 906 - Implemented a custom DNS resolver, see #859
    • PR 893 - Provide a way to access the SSLSession of a websocket instance
    • PR 944 - Add ability to customize ping messages with custom data
    • PR 868 - Add a way to put additional headers to handshake for connecting/reconnecting, see #865
    • PR 971 - Enabled OSGi metadata in MANIFST-MF for created JAR

    Check out the changelog and the milestone for more information.

    A special thanks to all the contributors of this release:

    Release 1.4.0

    Breaking changes:

    • Issue 753 - Breaking changes in 1.4
    • Issue 670 - Use a logging framework such as as SLF4J instead of System.out.println (PR 754)
    ... (truncated)
    Changelog

    Sourced from Java-WebSocket's changelog.

    Version Release 1.5.0 (2020/05/06)

    Breaking Changes

    This release requires API Level 1.7.

    Security

    This release contains a security fix for CVE-2020-11050.

    Take a look at the advisory here for more information.

    New Features

    • Issue 574 - Implementation of per message deflate extension (PR 866)
    • PR 866 - Add PerMessageDeflate Extension support, see #574
    • Issue 997 - Access to SSLParameters used by the WebSocketClient (PR 1000)
    • Issue 574 - Implementation of per message deflate extension (PR 866)
    • PR 1001 - Allow user to specify max number of pending connections to a server
    • PR 1000 - SSLParameters for WebSocketClient
    • PR 866 - Add PerMessageDeflate Extension support, see #574

    In this release 3 issues and 4 pull requests were closed.

    ###############################################################################

    Version Release 1.4.1 (2020/03/12)

    Bugs Fixed

    • Issue 940 - WebSocket handshake fails over WSS, if client uses TLS False Start (PR 943)
    • Issue 921 - ConcurrentModificationException when looping connections
    • Issue 905 - IOException wrapped in InternalError not handled properly (PR 901)
    • Issue 900 - OnClose is not called when client disconnect (PR 914)
    • Issue 869 - Lost connection detection is sensitive to changes in system time (PR 878)
    • Issue 665 - Data read with end of SSL handshake is discarded (PR 943)
    • PR 943 - Merge pull request #943 from da-als/master
    • PR 922 - Fix ConcurrentModificationException when iterating through connection
    • PR 914 - Merge pull request #914 from marci4/Issue900
    • PR 902 - ConcurrentModificationException when using broadcast
    • PR 901 - fix when proxy tunneling failed (IOException is hidden) JDK-8173
    • PR 878 - Replace TimerTask with ScheduledExecutorService

    New Features

    • Issue 969 - Loggers should be declared non-static (PR 970)
    • Issue 962 - Improvements in socket connect to server (PR 964)
    • Issue 941 - How to send customized ping message on connectionLostTimeout interval (PR 944)
    • Issue 890 - Would like to get SSLSession from WebSocket on server to examine client certificates (PR 893)
    • Issue 865 - Append new headers to the client when reconnecting
    ... (truncated)
    Commits
    • 54ca4f4 Merge pull request #1009 from marci4/UpdateChangelog1.5.0
    • 046f24b Update CHANGELOG.md
    • 63222d1 Merge pull request #1006 from marci4/FixTestPerMessageDeflate
    • 1e2e890 Update PerMessageDeflateExtensionTest.java
    • 9d890db Merge pull request #1001 from TooTallNate/issue-991
    • cab3fda Merge pull request #1000 from marci4/Issue997
    • ca38a4b Add "since 1.5.0" tag to new methods
    • 3ebbe21 Allow user to specify max number of pending connections to a server
    • 0670985 Rework after review
    • 2dbe2d3 API for SSLParameters
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Can no longer build using Maven

    Can no longer build using Maven

    There are now missing dependencies that this version requires to build. I understand that this is legacy, but I'm sure some people are still using this version and need to be able to build it. The now missing dependencies and dependency changes are found here:

    https://github.com/BenDol/playn/commit/29c69ac1dfd479cea9214669fd67cfd7731db9a8

    I commited the dependencies from my location maven repo there.

    opened by BenDol 1
  • addBarrier behaves different in Java and HTML

    addBarrier behaves different in Java and HTML

    I have this snippet of code:

      float DUR = 600;
    
      fanim.tweenScale(photo).to(0.25F).in(DUR).easeInOut();
      fanim.tweenXY(photo).to(-10, 370).in(DUR).easeInOut();
      fanim.tweenRotation(photo).to(-FloatMath.PI / 8).in(DUR);
    
      fanim.addBarrier(333); // wait for the current animations to finish and then wait another 333 ms
    
      fanim.tweenXY(photo).to(-300, 270).in(DUR).easeOutBack();
      fanim.tweenRotation(photo).to(-3 * FloatMath.PI).in(DUR);
    

    The desired behaviour is to scale, move and rotate the photo (an ImageLayer) all three at the same time, then afterwards wait 333 ms, then again move and rotate it out of the screen.

    In Java this works ok, but when I export to HTML, it doesn't wait the 333 ms between the two sets of animations

    I set up a minimal project in github that showcases the problem: https://github.com/tulsidas/tripleplay-barrier-demo

    The code is extracted from the game that originated the problem.

    There is a standard animation moving a circle, and if you click anywhere, it will take a snapshot of the screen and animate it.

    On the java version it works properly, the snapshot goes to the corner, waits ~3 seconds, then goes away, but on the HTML backend it goes to the corner and immediatly goes away (not waiting the ~3 seconds)

    I tried it both in Chromium 37 and Firefox 31, same wrong behaviour in both.

    Looking and debugging into the JS generated code (attached) it seems (I'm mostly guessing) that the noActiveAnims flag (line 7878) is being wrongfully set to true when the "main" anim finishes, hence removing the secondary anim (the snapshot one) from the queue, and that's why it never finishes the waiting

    opened by tulsidas 0
Owner
Three Rings
Three Rings
Provenance-eventstream-legacy-kotlin - A legacy Kotlin library for reading from the Provenance event stream

provenance-eventstream-legacy-kotlin A legacy Kotlin library for reading from th

Figure Technologies Inc. 1 Jan 13, 2022
Object-streams - An experimental library for dealing with legacy code

Object Streams Super experimental! no guarantees to the public API surface. At t

Ragunath Jawahar 5 Jan 18, 2022
An experimental library for dealing with legacy code

All Super experimental! no guarantees to the public API surface. At the moment, this project is the outcome of the limitations of my search skills. Bu

Ragunath Jawahar 5 Jan 18, 2022
Kotlin Multiplatform Mobile version of Tisdagsgolfen... yet another version.

TheCube in Kotlin Multiplatform Experimenting with KMM, and Kotlin, Jetpack, SwiftUI, and all the other new stuff... https://kotlinlang.org/docs/kmm-g

Kim Fransman 0 Dec 25, 2022
Irineu A. Silva 2 Feb 17, 2022
Notify users when a new version of your Android app is available, and prompt them with the Play Store link. A port of the iOS library of the same name.

Siren for Android Notify users when a new version of your Android app is available, and prompt them with the Play Store link. This is a port of the iO

Quality Mobile Puzzle Apps 133 Nov 22, 2022
🔓 Kotlin version of the popular google/easypermissions wrapper library to simplify basic system permissions logic on Android M or higher.

EasyPermissions-ktx Kotlin version of the popular googlesample/easypermissions wrapper library to simplify basic system permissions logic on Android M

Madalin Valceleanu 326 Dec 23, 2022
An library to help android developers working easly with activities and fragments (Kotlin version)

AFM An library to help android developer working easly with activities and fragments (Kotlin) Motivation Accelerate the process and abstract the logic

Massive Disaster 12 Oct 3, 2022
Library for Android In-App Billing (Version 3+)

Checkout (Android In-App Billing Library) Description Checkout is an implementation of Android In-App Billing API (v3+). Its main goal is to make inte

Sergey Solovyev 1k Nov 26, 2022
An library to help android developers working easly with activities and fragments (Kotlin version)

AFM An library to help android developer working easly with activities and fragments (Kotlin) Motivation Accelerate the process and abstract the logic

Massive Disaster 12 Oct 3, 2022
A simple customised version of the TextInputLayout from the Android Design Support Library ⌨️

Buffer Text Input Layout (Coming to maven central soon!) This is a simple customisation of the TextInputLayout found in the Design Support Library. Wh

Buffer 988 Nov 24, 2022
🔓 Kotlin version of the popular google/easypermissions wrapper library to simplify basic system permissions logic on Android M or higher.

?? Kotlin version of the popular google/easypermissions wrapper library to simplify basic system permissions logic on Android M or higher.

Madalin Valceleanu 327 Dec 30, 2022
EasyVersion is a Gradle plugin that manage your app or library version.

EasyVersion EasyVersion is a Gradle plugin that manage your app or library version. Before Downloading Create easy_version.json in your root project d

Kosh Sergani 8 Nov 26, 2022
An unofficial version of the Android library for the Muse EEG headset

libmuse NOTE: This is an unofficial version of the Android library for interfacing with the Muse EEG headset. The Muse headset is a research-grade, lo

Siddhant Attavar 2 Dec 19, 2022
An Android library for scanning documents based on CameraX API and a tiny version of OpenCV

Document Scanner with tiny OpenCV example1.mp4 Document Scanner is an Android library (kotlin based) for scanning documents based on CameraX API and a

null 8 May 12, 2022
Google Guice on Android, version 3.0 [RETIRED]

As of August 2016, RoboGuice is no longer supported. For nearly 5 years it was the #1 dependency injection framework on Android due to its ease-of-use

null 3.8k Dec 26, 2022
An Android helper class to manage database creation and version management using an application's raw asset files

THIS PROJECT IS NO LONGER MAINTAINED Android SQLiteAssetHelper An Android helper class to manage database creation and version management using an app

Jeff Gilfelt 2.2k Jan 7, 2023
Freegemas libGDX is an Android and Java desktop port of Freegemas, which in turn is an open source version of the well known Bejeweled.

freegemas-gdx Freegemas libGDX is an Android, HTML 5 and Java desktop port of Freegemas, which in turn is an open source version of the well known Bej

David Saltares 144 Jun 21, 2022