- 23 Mar, 2019 8 commits
-
-
Ankriti Sachan authored
The value of this variable can be changed if any class other than Activity is used as base class for Form.
-
Jeffrey I. Schiller authored
Changed the extension from PNG to png (because case matters!) Fixes #1620 Change-Id: I6a334cfb18caa5b2a50ac4ea34109a6325a3586f
-
Jeffrey Schiller authored
Eliminate the single threaded executor because it is not needed. Instead use Timer.scheduleAtFixedRate() to trigger the Poller once per second. This approach is more correct and simpler. Also, ignore an empty response from the Rendezvous server (which means that it hasn’t received any ICE Candidates from the browser yet). Previously we attempted to JSON parse it and threw an exception (which was logged and ignored). Change-Id: If0bc95c754a3fd052ac32cfa966fcbcfe658f55d
-
Susan Rati Lane authored
This is a toggle switch component. Functionally, it behaves the same as a checkbox: the ON state is equivalent to checked. Since iOS does not have a checkbox and only offers toggle switches, this component paves the way for an on/off component that is shared by both Android and iOS. The toggle switch is a 2-color control, which means that there are 4 configurable colors, 2 for on and 2 for off.
-
Colin Yang authored
Allow drawing shapes (made up with lines) and arcs (or sectors)
-
Jeffrey I. Schiller authored
De-Bounce the “Connect with Code” Button in the MIT AI2 Companion The Companion's design is to setup communications with the user's browser and get to work. Once this process starts, enough things are in motion that it is best to quit the Companion and start a fresh copy if a different code is needed. If the same code is entered more then once, we just ignore the second attempt. This often happens when someone scans a QR Code and then presses the "Connect" Button because they do not know that they don't have to do that. Effectively we are "de-bouncing" Change-Id: I06b20c5d9cdb07999a380d9f877edd111e0357c5
-
jerry73204 authored
The original method, uniform integer modulo 100000, is biased in distribution. Now it's replaced by built-in sampling method. Java 7 API has comments on random.nextInt(int n): https://docs.oracle.com/javase/7/docs/api/java/util/Random.html#nextInt(int)
-
Evaldas Latoškinas authored
-
- 07 Mar, 2019 4 commits
-
-
Evan W. Patton authored
It is often the case that people will want to construct a list of components or store some information about a copmonent so that it can be restored later. this currently requires putting all of the initialization into the Screen's Initialize event handler. However, many people intuitively expect that they can construct a list of components as part of the global declaration. This changes allows for component blocks and property getters to be used in a blocks tree with a global declaration root node. Change-Id: I69d26716ebf4bfcdd52465f15eaf75af1c4170cf
-
Evan W. Patton authored
Change-Id: I62ae3fed73342a5f6cb7652903a09e4dd9c6d620
-
皮皮蟹 authored
Change-Id: I1925eb15feb0e5f6b51e409538491fb0b5257928
-
Evaldas Latoškinas authored
Change-Id: I6d7899a36e7e2ee4dd748948a98ce6693af18650
-
- 06 Mar, 2019 2 commits
-
-
Steven Ye authored
Change-Id: I09bec5aca529b51746d3b56a5f2c4c9a4bcf5eea
-
Evan W. Patton authored
Change-Id: I18e9d3f605b329dc8a307b5d799755f3c6c9ccd0
-
- 05 Mar, 2019 2 commits
-
-
Xueyuan(Sherry) Wang authored
-
ZhengCornell authored
-
- 04 Mar, 2019 2 commits
-
-
Steven Ye authored
This commit introduces a new block to list operations that reverses the order of input list and outputs the result as new list. Change-Id: If22a6641a2586ecc6586ead9ea046cc119a2a9fc
-
Xueyuan(Sherry) Wang authored
Change-Id: Ibe249c4de10d8d8213c009728771062eabba9630
-
- 03 Mar, 2019 1 commit
-
-
Evan W. Patton authored
Change-Id: I32f1bba6e7f1db17321665612a8ff2c2236446fb
-
- 01 Mar, 2019 3 commits
-
-
Evan W. Patton authored
Change-Id: I9409f6f3f503d467b6014461d51c6f213dcb76ff
-
Evan W. Patton authored
Change-Id: I4a4b0af5365581cf4663f66181991ca3c747146e
-
Colin Yang authored
-
- 26 Feb, 2019 3 commits
-
-
ZhengCornell authored
-
Susan Rati Lane authored
Change-Id: I7d3f5864bd65c3607a0f7083e8df44aef79c8cb9
-
ramiAbdou authored
Fixed Issue #1352: 1. Cursor changes to pointer when hovering over the backpack and zoom elements on the right side of screen. 2. Zoom elements and trashcan are now black to increase their visibility on the screen, especially when the grey sidebar is extended over them. 3. Shifted the positioning of the zoom control images from the sprites.png image so that no more ugly lines display around the controls.
-
- 22 Feb, 2019 2 commits
-
-
Steven Ye authored
Closes #1431
-
ZhengCornell authored
-
- 21 Feb, 2019 1 commit
-
-
hsun1316 authored
Change-Id: I07d684643df2f5ceaa63be8c2f45c39c8a3c0099
-
- 19 Feb, 2019 1 commit
-
-
Susan Rati Lane authored
Change-Id: Ib180d8e18b6056e9f75e882c4bd9b8faf49f5548
-
- 15 Feb, 2019 4 commits
-
-
nicholec authored
-
Susan Rati Lane authored
Fixes #1449 Screen1 Documentation Fixes #1450 Screen Development Guidance Fixes #1452 Procedure Blocks Change-Id: I572cc17f088ae443a45c6126298f3fdcb46ba46a
-
ZhengCornell authored
Resolves #1428
-
Steven Ye authored
-
- 08 Feb, 2019 1 commit
-
-
Jeffrey I. Schiller authored
Google has defined a set of permissions that they consider “dangerous” and can only be used in an application under certain specific circumstances and then only with special permission from Google. This is enforced when an application is submitted to the Google Play Store, not on a device. This change causes these permissions to not be included in the MIT AI2 Companion. However it is controlled by the “limitPermissions()” flag in the AppInventor features module. Change the return value to “false” to give the Companion these permissions. Change-Id: I0fa3b2e928e7aa53c70cd339f50ed11008fe1876
-
- 07 Feb, 2019 2 commits
-
-
Jeffrey I. Schiller authored
Change-Id: Ib22f2b97c0bdec3a8f24f9c60b3f5cfcc8287d7c
-
Jeffrey I. Schiller authored
Change-Id: I85a11627c9d118822f91710495942def4fcd5e7d
-
- 04 Feb, 2019 1 commit
-
-
Evan W. Patton authored
Change-Id: Ia3b29e30091e88e1db0fb5ec02c6b0d270c17f15
-
- 28 Jan, 2019 1 commit
-
-
Evan W. Patton authored
Change-Id: Id03a84c068f1fbf698f968dc0b7f1b48c5e1888a
-
- 25 Jan, 2019 2 commits
-
-
Evan W. Patton authored
Until now, app developers needed to define event handlers for GotFeatures and LoadError to process map features being loaded dynamically onto a map. This is not intuitive for beginners. This change makes it so that if an event handler isn't defined, we will do basic handling of these events. App developers may still override the default behavior by defining their own event handling. Change-Id: Iaeb972e28aee51abc5957c84e8d499710b343b41
-
Evan W. Patton authored
* Implement conditional permissions for Texting and PhoneCall Change-Id: Id4b526eb0ebd83d9b811c137f6628e503333db84
-