forked from codenameone/CodenameOne
-
Notifications
You must be signed in to change notification settings - Fork 0
Update #24
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
Merged
Merged
Update #24
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Improved BrowserComponent initialization to remove blocking of EDT. Added methods to AsyncResource for adding listeners to be notified when the resource completes.
…t use of UIWebView entirely. Also used ifdefs to strip out use of AVKit stuff if AVKit is not enabled. This may be necessary if deployment target is less than 8.0 - but not sure.
…h spaces correctly, and will throw an error if the url is later converted to a URI. File.toURI().toURL() was required. Should fix #2960
…if it is called off the EDT. Previously it was listening for the ConnectionRequest's progress events to know when the request is complete, but if the EDT is locked for some reason, it may not receive this event. Added unit test for this.
…e peer. Fixed issue in invokeWithoutBlocking also that caused it to be unnecessarily turned off inside processSerialCalls.
…s in the native/javase and lib/impl/native/javase directories) to the classpath at runtime.
…fine in previous commit.
… 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.
…closing the VKB as a result of a tap gesture. #2976
Fixed issue with video continuing to play in simulator after back button is pressed in native player mode.
…de enabled. Resolves #2972
…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
…iously it was not respecting this.
…erify that this doesn't break again. Fixes #2980
…test. Also fixed -stopOnFail CLI flag in test runner, which previously was documented but did not work.
…actions due to CI machines running slower.
…Corners. Updated unit test.
…ith differnt topLeft,topRight,bottomLeft,bottomRight modes as being unequal. This fixes issues where you change the border of a style but it has no effect, because the style does an equality test inside setBorder() to only change the border if it isn't the same as the existing border.
…d by the notch on iPhoneX
…ixed topOnlyMode/bottomOnlyMode not being loaded form XML for RoundRectBorder.
… to/from container during an animation.
…ethods can be used safely. The default implementation of setPreferredW() will implicitly set the preferred height of the component as well, and will prevent calcPreferredHeight from being called. With SpanLabel we may want to specify a desired width and have the height automatically calculated based on that width. Now we are able to do that via the setPreferredW() method.
…e when the user clicks outside of its bounds. Setting allowClose=false will also cause the close button to not appear. If you navigate to sub-sheets, the back buttons will still appear - just not the top-level close button. This allows you to create semi-modal dialogs using Sheet.
…orm.getSafeArea(Rectangle). Also added flag to force a container to render its children inside the safe area. Container.setSafeArea(boolean). Also set the tabs container of the Tabs component to be a safe area so that the tab buttons don't get covered by the iPhone X task bar.. Content pane of Sheet is also set as safe area. Added SafeAreaSample to demonstrate how this works. Also fixed some issues related to recent change to setAllowEnableLayoutOnPaint() that caused form to not be laid out sometimes. #2946
…ulator when resizing the window. #2946
TextArea was not painting while editing. It would just show blank while user editiing, but would start showing again when editing completed on the field. The problem was that sizing was being applied to the TextArea itself rather than the wrapping JScrollPane. When resizing (to match cn1 text area size and position) was instead applied to the JScrollPane, the problem was fixed. 2nd regression: Painting was not being performed while editing *any* text fields if they were tabbed into. It would work if clicking in. Did some refactoring of resizing behaviour on native text fields to reduce code duplication between textfields, password fields, and textareas. This should make it easier to maintain going forward.
…() can be defined in a parent class rather than directly in the app's main class? This will make it easier to create reusable main classes that be be reused from project to project.
…feature. Merged layout unit tests into a single class. So far just BoxLayout, FlowLayout, and LayeredLayout. Future tests for other Layout managers will be added to this test class.
… the onStart event properly. #3010
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.