Skip to content

Conversation

ThomasH99
Copy link
Owner

update

shai-almog and others added 30 commits December 28, 2020 13:37
…e native android editor while editing is in progress so that changes to the textarea contents will be reflected during editing. This is an alternative solution to the one presented in #3319 which added a special method to clear the textfield contents without closing the keyboard.

This solution is more generalized (as you can clear the text field, or set its contents to any other string), and it doesn't require any API changes. It improves consistency with iOS since iOS already behaves this way.
…component to try to make it easier to solve issues like #3336
Projects are now multi-module projects with common, javase, android, ios, javascript, and win subprojects for each platform.  Library projects no longer generate compound cn1lib file.  Instead each platform is deployed as a separate artifact.  Cn1libs are added to application projects as regular maven dependencies, and maven uses standard mechanisms to include the correct dependencies based on the -Dcodename1.platform command-line flag.
I have prototype application and library projects which will be converted into archetypes and committed soon.
CEF and Designer are not distributed as regular maven dependencies which will make it much easier to manage updates and tests.
Added new stateless mode to CSS compiler which doesn't try to figure out the project structure or magically identify the location of the theme.res file in the src directory.  It takes the parameters:
-input A common-delimited list of CSS files to compile
-output The path to a .res file to output
-merge The path to an intermediate file where the input CSS files can be merged to.
-watch If present this runs in watch mode.

Using this mode reduces the complexity as there may be many different project formats and the CSS compiler shouldn't need to know about any of these.

The simulator now looks for the following system properties which can be used to affect the CSS compilation when the css file is changed.

1. codename1.css.compiler.args.input - Used for the -input parameter of CSS compiler.
2. codename1.css.compiler.args.output - Used for the -output parameter of CSS compiler.
3. codename1.css.compiler.args.merge - Used for hte -merge parameter of CSS compiler.

4. codename1.designer.jar - The path to the designer jar file used for the CSS compiler.
5. cef.dir - The path to the CEF directory.

All of these properties are used by the Maven plugin when running the simulator so that it can use the correct designer jar, and CEF directory (both managed by maven dependencies), and use the correct CSS and .res files.

Still more to do.  Please don't use this yet, as it is still going through adjustments.
Bumps [jetty-server](https://github.com/eclipse/jetty.project) from 8.0.4.v20111024 to 9.3.27.v20190418.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](jetty/jetty.project@jetty-8.0.4.v20111024...jetty-9.3.27.v20190418)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…e and cn1lib-archetype projects are now working.
…r so that it doesn't pollute the classpath of the codenameone-maven-plugin.

Added script to generate hello-world archetype more easily-- mostly for development purposes, but may be refined to make it a user tool.
create-gui-form goal now works to create a gui form.  Added unit test for this.
helloworld-archetype now executes the compile-gui-sources goal so that guibuilder forms work.
…he helloworld-archetype and can get regenerated using the generate-archetypes project, or enabling the 'generate-archetypes' profile on a build of the maven-archetypes project.
…iles into maven projects so that instead using the cn1libs directory (in the cn1app-archetype root) as a local repository, it is a module in the multi-module project, and cn1libs are installed as sub-projects of that. The root module always includes the cn1libs directory as a module. When you run the install-cn1lib goal, it will create a maven project under cn1libs/LIBNAME which is a submodule of the cn1libs project. The cn1libs pom.xml file is updated automatically by the install-cn1lib goal to add the appropriate <module> tag.

Next commit will include docs and unit tests for the install-cn1lib goal.
…OneBuildClient public API.

Fixed issue in complicance check mojo on windows.  Glob arguments in <java> task were getting expanded before reaching proguard.
Added step to add the iPhoneX.skin to javase jar file.
…id project you can specify -Dcn1.binaries=path/to/cn1-binaries in order to compile the android sources and bundle them as a jar with dependencies that can be used as a dependency when working on android namtive projects.
* Adding support to Command to use an another font than Material for icons defined directly in the Command

* Added support for java Set in Util.readObject/writeObject. Currently Sets get externalized as Collection which is then internalized as ArrayList and therefore cannot be cast to Set.
@ThomasH99 ThomasH99 merged commit 568b21e into ThomasH99:master Feb 13, 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.

3 participants