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

250319_535PM_addingChangesFromCn1Repository #20

Merged
merged 170 commits into from
Mar 25, 2019

Conversation

DurankGts
Copy link
Owner

No description provided.

shannah and others added 30 commits November 20, 2018 07:14
…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
This reverts commit 29fc171, reversing
changes made to d7a1a90.
…ng dates outside of default min/max range in picker. Fixes #2633
shannah and others added 28 commits March 11, 2019 13:34
…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
…), 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.
… 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.
and
Javascript CapturePhotoSample, related to #2702
@DurankGts DurankGts merged commit 10d7dc7 into DurankGts:master Mar 25, 2019
DurankGts pushed a commit that referenced this pull request Sep 16, 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.

4 participants