Skip to content

Conversation

ThomasH99
Copy link
Owner

No description provided.

shannah and others added 30 commits December 10, 2019 09:27
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.
… 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.
shannah and others added 29 commits January 20, 2020 08:41
…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.
…ixed topOnlyMode/bottomOnlyMode not being loaded form XML for RoundRectBorder.
…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
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.
@ThomasH99 ThomasH99 merged commit 839f5fb into ThomasH99:master Feb 1, 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