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
250319_535PM_addingChangesFromCn1Repository #20
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
…rotation if Peer components are present.
…tic(), isInterface(), isAnonymousClass(), isPrimitive(), and isAnnotation(). #2608
If the remote end closed the inputstream while the local thread is in getSomeData, the local end hasn't been closed, and the thread hangs forever.
…ehow the input type flags were being resetwhen reusing existing editor. This is an attempt to respond to user reports that caps is not working textfields with singleline set to false. This may or may not fix that issue, but it seems to make sense nonetheless.
Fixed a bug in icon gap command and side menu
…ich allow you to work with sets of boolean toggles as single entities, using a ListModel to track the values. In order to support multiple selection in the CheckBoxList and SwitchList, I added a new interface MultipleSelectionListModel which extends ListModel with necessary plumbing to support multiple selection. Also changed DefaultListModel to implement MultiSelectionListModel, and added a flag to enable/disable this feature: setMultiSelectionMode(boolean). Also added change listener support to RadioButton and CheckBox to allow them to stay synchronized with a list model more easily.
escape from getSomeData if there will never be data
…ple of such a font is the HyundiaB.ttf font used in https://stackoverflow.com/questions/53465390/only-half-of-the-letters-of-the-component-are-seen-cn1
…ng dates outside of default min/max range in picker. Fixes #2633
…leasant to use. If there is a problem parsing the XML or JSON, it will wrap the exception in a RuntimeException.
…2730 Note: I couldn't reproduce the problem myself, and this fix should be redundant (manually destroying RenderScript context and resources when done with it), but it is still possible that this will solve the issue since destroying the contexts manually avoids the need to do it during GC, which adds a layer of complexity that could be resulting in this issue.
… form not being set to correct size in fullscreen mode. Fixes #2712
…the beginning, unless it has focus. Fixes #2722
…entally scrolls off the list. #2737
…), and destroy() when the user quits the simulator with Command-Q on mac. Added some exceptions in the Simulator's classloader so that BridJ classes will just load with the default classloader. This was necessary for the CameraKit library so that the java webcam libs would run correctly.
…empty request body being sent on iOS. Had to change the flow for SSL pinning on iOS so that the check occurs in the native callback, rather than as an explicitl call to getCertificates() inside the ConnectionRequest logic. Introduced an implementation method checkSSLCertificatesRequiresCallbackFromNative() which returns false by default, but true on iOS, signifying this flow difference. If other platforms require a similar flow, they can override this method also. All existing code that performs certificate pinning should continue to work unchanged - this is purely an implementation fix. No public API changes.
…s to the Component name to make it easier to inspect the UIs in the Simulator's component inspector. Also changed so that UIFragment.set(name, cmp) will set the name on cmp if it doesn't already have a name set. This will also assist in UI inspection in the simulator. #2743
…The border tag now supports a 'behavior' attribute which accepts values 'scaled', 'absolute', or 'totalBelow'. Also added alias tags for 'border' to automatically set a given behavior. E.g. borderScaled, borderAbsolute, and borderTotalBelow. Also added 'noGrow' attribute to 'x' tag, and variant tags 'xNoGrow' and 'xng' which imply a 'true' value for the 'noGrow' attribute. Also added 'bottomLast' attribute to 'y' tag with values 'true' or 'false'. And provided tag variants 'yBottomLast', and 'ybl'. JSON notation supports these new tags either by providing the new attributes directly, ousng the new short forms. E.g. 'centerAbs', 'centerAbsolute', or 'ca' can be used instead of 'center' - and this will casue behavior of border to be 'absolute'. 'centerScaled', and 'cs', will cause border behaviour to be 'scaled'. 'centerTotalBelow', 'ctb' will cause behavior to be totalBelow. xNoGrow or xng instead of x. yBottomLast or ybl instead of y. #2744
…asily find, browse, and launch existing samples, and create new samples. This should assist both in preventing regressions (by building up a set of shared samples that can be easily tested) and in documenting usage of our APIs.
…bout new samples runner.
…encies get installed before trying to run
… in the GUI builder. Importing directly into the resource file is problematic because the CSS compiler may, on occasion, choose to delete and regenerate the .res file from scratch, which would cause imported images to be lost. In fact, this would happen on the next run because the CSS compiler would detect that the resource file had been changed since it had last compiled it so it would deep it 'dirty'. With this chance, the -img and -mimg command-line options for the Designer, which are used by the GUI Builder, will first check if the project is a CSS project. If it is a CSS project, it will add the image to the CSS file, then regenerate the .res file, rather than just importing directly into the .res file.
…s before initialization is complete. Hoping this addresses a report of freezing on iOS splash screen
Added ability to specify global build hints in samples, and specific per-sample build hints. These build hints are stored in the Samples/config directory which is in .gitignore so they won't be committed.. they are your own. Fixed NPE when creating a new sample and pressing Cancel. Added SSLCertificatePinning sample.
…hints for samples
and Javascript CapturePhotoSample, related to #2702
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.