forked from codenameone/CodenameOne
-
Notifications
You must be signed in to change notification settings - Fork 0
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
280518_1116AM_addingChangeFromCn1 #16
Merged
Merged
Conversation
This file contains 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
Bound picker change events correctly to the UI Fixed a bug where picker value was extracted as String because of a missing return statement
…cker class which causes it to prefer lightweight widgets rather than native widgets. It includes a new set of Spinner3D widgets (which aren't yet publicly exposed) for the lightweight pickers. These Spinner3D classes are built on top of a new scene graph implementation (in the com.codename1.ui.scene package) which is currently marked deprecated for internal use only. The scene graph allows us to create advanced 3D widgets. While the Spinner3D classes will ultimately support full perspective (like the native iOS picker), they are currently juse emulating perspective using 2D transforms. The code is mostly complete for full perspective support, but debugging on iOS has been difficult, so I have left it turned off for now. In lightweight mode, all of the picker types are supported except the duration pickers. Those will be implemented soon as well. There are still things that need to be done to make this a full viable replacement for native pickers. For example, we need to add the ability to make the various competing input forms cooperate. E.g. If the picker is opened, and the user starts editing a text field, then the picker should close automatically as the keboard opens. And vice-versa. Another rough edge that needs to be smoothed out is the case where the picker covers dialog covers up the field that opened the picker. It should automaticlaly scroll the forum so that the field is visible, but it doesn't do this yet. Tablet support is still todo also. Most of these todo items will be committed in the next few days.
…ter the simulator has been killed in a debugging session. Previously we only relide on a shutdown hook to destroy child CSS watching processes, but this isn't run if the simulator is killed via the IDE or with a kill signal. To handle this case, we have the simulator start up a ServerSocket which the CSS compiler connects to. If the socket disconnects for any reason, the CSS compiler will exit.
…eyboards and picker widgets. Now, when a Picker is opened (in lightweight mode), it will first stop any text editing and close any existing picker that is being displayed. This is implemented in a generic way. If other classes wish to register an input device (i.e. a widget that should be the only form of user input at a given time), it can register a VirtualInputDevice object with the form which allows the form to dispose of it when a new input device requests focus.
…tor, iOS, and Android.
…dOpenCloseIconInAccordion 210518 1006 pm custom back ground open close icon in accordion
…densities system (i.e. the DENSITY_xxx constants)
…ectory to make it easier to ignore them from git.
Change the way CN1 handle device resolution to use device PPI
…cludes the Camera permission in the manifest file. #2409 (comment)
…se getLightweightMode() conflicted with Component.setLightweightMode().
This reverts commit 206bbe1.
…diting flow between components of a form. This follows similar conventions to HTML with its tabIndex attribute. This work is only partially complete at this point. JavaSE and Android implemented so far. Still need to implement iOS, Javascript, and UWP. This commit also has some flickering when focusing the Picker. Will clean this up on Monday.
Moved the type validation code up the hierarchy so it can be reused by map, list & set Made this code work for primitive types too as those would make sense in a set/list
DurankGts
pushed a commit
that referenced
this pull request
May 31, 2019
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.