Skip to content

Conversation

ThomasH99
Copy link
Owner

No description provided.

shannah and others added 30 commits February 12, 2021 14:58
Added support for generating cn1lib projects from a legacy Ant cn1lib project.
Miscellaneous cleanup of maven plugin to remove unused mojos, and add some javadocs.
… there are no native files for add for a given platform.
…(similar to what already exists for Label, Button etc). (#3372)
… tablets running Android 5 by adding an option to disable caching on RoundRectBorder. It provides two mechanisms to help support low-memory devices:

1. ImageFactory - Apps can implement an ImageFactory to override how mutable images are created.  This would potentially allow app developers to create LRU caches for their mutable images to reuse images and reduce memory thrashing.
2. ComponentImage - A new ComponentImage class is an Image that wraps a Component.  This allows us to essentially use a Component as an Image which, in some cases, saves a lot of memory thrashing.  The RoundRectBorder has a new useCache property (default is true) which, when turned off, will use a ComponentImage for the cached image background rather than a MutableImage.
… This affected cn1libs that are deployed to Maven central - the common module would get the legacy cn1lib rather than the common jar.
…ht textfield location changes during editing.
…p is updated the container root changes. In most places the file paths are fixed seamlessly, but createMedia() uses a different mechanism for fixing paths and it wasn't updating paths after an app update.

Reference: #2551 The original issue when app root was reported as changed on app updates.
Fixes #3362
shai-almog and others added 28 commits March 5, 2021 13:40
Also deprecated the API since it's no longer used
Fixed #3145
… layered pane instead of the layered pane.

Also added some logic to always render the toastbar at the front of whatever layered pane it occupies.
…necessary, and just makes it messier for the CodenameOne settings to auto add/remove cn1libs.
…onger used, and will probably be removed. We use GenerateAppProject instead.
…t was the target of pointerPressed, will receive a pointerReleased event even if the release event falls outside of the component bounds. This improves the usability of components like the imageViewer where swiping may result in the pointer released event being outside the bounds of the viewer, thus the swipe not being processed.
…passed to the active form even if the event is outside the bounds of the CN1 canvas. This improves the behaviour of components like the ImageViewer where a swipe may cause the mouse released event to be outside the bounds of the canvas. Previously this pointer release just wouldn't be delivered.
…rce and target.

Updated retrolambda to 2.5.7 which fixes build errors when running under Java 11.  This affected android-source (local) builds.
…need to be set. It will look in the standard install locations for Android SDK based on platforms, so that as long as the user has installed Android Studio the build should work.

Also revamped so that it will detect the installed SDK and build tool versions and use the latest as defaults.
Also removed deprecated command-line android create project command invocation as it is no longer supported with latest Android build tools.  Instead I use a project template created with Android studio as the project template.
So far only tested on Mac OS.  Will test on Windows and Linux next.
Changed default for Xcode and Android project builds of open parameter so that project opens by default after it is generated.
Changed much of android build logging to debug to reduce noise.
Implemented auto-open in Android studio for android source builds.
…de native interfaces, and cn1lib dependencies that include native interfaces.

Also fixed issue with cn1lib appended and required properties build hints not being merged properly before the build.
…S. Modified generate-app-project so that it deletes the css directory if the source project doesn't have a CSS directory.
@ThomasH99 ThomasH99 merged commit 114c744 into ThomasH99:master Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants