Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

220120_1159AM_addingChangesFromCn1 #35

Merged
merged 91 commits into from
Jan 22, 2020
Merged

Conversation

DurankGts
Copy link
Owner

No description provided.

shannah and others added 30 commits December 13, 2019 13:19
…s in the native/javase and lib/impl/native/javase directories) to the classpath at runtime.
… retried (e.g. a redirect). Last fix may have prematurely reported the request being complete if the response was a 301 redirect.
Added support for html directories in samples.
Added SetPageURLHierarchyTest to samples.
Fixed issue with video continuing to play in simulator after back button is pressed in native player mode.
…sent. This fixes issues with CSS not being loaded properly in eclipse. #2974
Added test case for MediaPlayer.setLoop() issue.  Found that this test case failed even in the simulator, but this commit fixes it.  Haven't tested on iOS yet.  #2969
…test.

Also fixed -stopOnFail CLI flag in test runner, which previously was documented but did not work.
…f Sheet.

Added support for different position on Tablet and Phone for sheet.  E.g. On phone the sheet would be in SOUTH position, but on tablet, it would be center.  Default is still SOUTH on both for backward compatibility.
…m previous commit. Added test case to Samples for RoundRectBorder to easily verify that border radiuses are correct.
…etAllowEnableLayoutOnPaint(boolean) to enable this behaviour on a form-by-form basis. It seems that this behaviour has significant performance penalties and it isn't clear why it is necessary at all. It has been a part of the codebase since the initial commit to Google code in 2012, and all modifications to it since then have been to selectively disable it in performance-sensitive sections. It is possible that it was only necessary to deal with an edge case that is no longer relevant.
…some reason JavaFX is difficult/impossible to load via URLClassLoader. The only way I could get it working was to actually restart the JVM, adding the javafx jars to the classpath if JavaFX isn't already there. This still doesn't address the case where users are using a JDK8 without JavaFX. Perhaps need to bundle OpenJFX8 as a fallback in this case.
… tests will correctly return error exit code.
shannah and others added 29 commits January 16, 2020 10:21
…t tests work on Windows. Tests work now, one is failing. Need to improve debug output for unit tests.
… in DatabaseTest - suspect that this was causing test failure on Windows.
Also added jdk8-nofx build for windows.
Can't build the sources without FX.  But it should work with 11, because it knows to use the ones in cn1-binaries as compile dependencies.
To test runtime on jdk8-nofx, we either need to update the compile dependencies so we can build on jdk8-nofx - or we need to build with jdk+fx, and then run tests on just jdk8.
…contextual information about the form's creation via the UIBuilder. The UIBuilder will set the source command of a form when showForm(formName, sourceCommand) is called.
This morning I was reading again the blog post https://www.codenameone.com/blog/invoke-without-blocking.html to add `CN.invokeWithoutBlocking` to my code. It's very interesting, but I'm not sure if it's applicable to the critical code of my app, because that code has to return an object. That's why I'm adding the method `invokeWithoutBlockingWithResultSync`.
Wrapper for `Display.invokeWithoutBlockingWithResultSync` added in the PR #2998
@DurankGts DurankGts merged commit 95717e2 into DurankGts:master Jan 22, 2020
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.

6 participants