Skip to content

Commit

Permalink
Initial commit of moved and reformatted files, should be rebased on t…
Browse files Browse the repository at this point in the history
…op of old history for these files
  • Loading branch information
niloc132 committed Dec 10, 2019
1 parent 4ab727b commit b84986d
Show file tree
Hide file tree
Showing 424 changed files with 783 additions and 47,939 deletions.
4 changes: 0 additions & 4 deletions .dir-locals.el

This file was deleted.

172 changes: 169 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,170 @@
target
# Created by https://www.gitignore.io/api/java,maven,eclipse,intellij
# Edit at https://www.gitignore.io/?templates=java,maven,eclipse,intellij

# /tests/
/tests/robovm/resources/assets
### Eclipse ###
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# CDT- autotools
.autotools

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

# Annotation Processing
.apt_generated/

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet

### Eclipse Patch ###
# Eclipse Core
.project

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Annotation Processing
.apt_generated

.sts4-cache/

### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

.idea/
*.iml
*.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

*.iml
modules.xml
.idea/misc.xml
*.ipr

# Sonarlint plugin
.idea/**/sonarlint/

# SonarQube Plugin
.idea/**/sonarIssues.xml

# Markdown Navigator plugin
.idea/**/markdown-navigator.xml
.idea/**/markdown-navigator/

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Maven ###
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar
.flattened-pom.xml

# End of https://www.gitignore.io/api/java,maven,eclipse,intellij
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

48 changes: 0 additions & 48 deletions AUTHORS.md

This file was deleted.

71 changes: 17 additions & 54 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,22 @@
PlayN
=====
# GWT/J2CL emulation for `java.nio` packages

PlayN is a cross-platform Java game development library written in [Java] that targets HTML5
browsers (via [GWT]), desktop JVMs, [Android] and [iOS] devices.
This project provides emulation for the `java.nio` packages, forked
from the [PlayN](https://github.com/playn/playn) project. There is
also a utility class included to allow wrapping and unwrapping JS
Typed Arrays.

Information on PlayN can be found in this README and on the [PlayN project website].
To use in GWT2, depend on this Jar in your project, and add this to
your `.gwt.xml` module file:

PlayN developers, contributors, and users regularly communicate on the [PlayN Google Group].
<inherits name="org.gwtproject.nio.GwtNioSupport" />

Building and Running
--------------------
The `org.gwtproject.nio.TypedArrayHelper` class contains to helper
methods, to turn `java.nio.ByteBuffer`s into JavaScript `ArrayBuffer`
(technically `ArrayBufferView`, but you can get an `ArrayBuffer` from
there) and back again. For legacy reasons, `HasArrayBufferView` also
still exists from the original PlayN project, and `ByteBuffer` still
implements it, but using the `TypedArrayHelper` is encouraged for both
directions of wrapping and unwrapping.

It is not necessary to build PlayN to use it. PlayN is shipped to [Maven Central] from where it
will be automatically downloaded by projects that use it. However, you still may find it useful to
build a local copy of PlayN in case you need to modify it when debugging your own game, to add new
features, or to fix bugs you find in the PlayN code.

Building PlayN locally is very easy using [Maven]:

```
cd playn
mvn clean install
```

This will install the latest snapshot version of PlayN into your local Maven repository. You can
then modify the `playn.version` property of your game to reference that snapshot version and your
game will use your local copy of PlayN instead of a version downloaded from [Maven Central].

Instructions for building and running the PlayN sample games can be found in the [Documentation].

Licensing
---------

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

```
Copyright 2011-2015 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.
```

[Android]: http://www.android.com/
[Documentation]: http://playn.github.io/docs/
[GWT]: http://code.google.com/webtoolkit/
[Java]: http://www.java.com/
[Maven Central]: http://search.maven.org/
[Maven]: http://maven.apache.org/
[PlayN Google Group]: http://groups.google.com/group/playn
[PlayN project website]: http://playn.github.io/
[iOS]: https://developer.apple.com/devcenter/ios/index.action
The interface `TypedArrayHelper.Wrapper` still exists, but its use
is discouraged.
39 changes: 0 additions & 39 deletions android/pom.xml

This file was deleted.

Binary file removed android/res/drawable-hdpi/icon.png
Binary file not shown.
Binary file removed android/res/drawable-ldpi/icon.png
Binary file not shown.
Binary file removed android/res/drawable-mdpi/icon.png
Binary file not shown.
5 changes: 0 additions & 5 deletions android/res/values/strings.xml

This file was deleted.

Loading

0 comments on commit b84986d

Please sign in to comment.