Commit graph

163 commits

Author SHA1 Message Date
Nathan Dinsmore
0e44a7389a Fixed costume center button being too far to the right 2014-06-11 20:17:51 -04:00
Chris Willis-Ford
904d56ae55 Use GestureHandler as source for bubbles it creates
Shane explained that it would make more sense to use the GestureHandler
as the source for these particular TalkBubble instances.
2014-06-10 14:37:43 -07:00
Chris Willis-Ford
549a9d25a7 Fix hiding the 'say' bubble WRT number formatting
When checking whether to hide the speech bubble, test if this block is the block that originally displayed the bubble rather than testing to see if the text matches. This avoids problems due to differences in text formatting or changes in a reporter's value.
2014-06-10 11:48:26 -07:00
djdolphin
ec1d490517 Fixed
I broke this before I committed it.
2014-06-09 14:37:47 -04:00
djdolphin
872e7ab450 Revert "Use translated default values"
This reverts commit 0c7de21dc3.
2014-06-09 14:03:30 -04:00
djdolphin
77b3788187 Added "record..." to sound menu 2014-06-09 13:42:01 -04:00
djdolphin
0c7de21dc3 Use translated default values 2014-06-09 13:09:33 -04:00
djdolphin
92d77bc6e3 Changed "allowed" to "valid"
I think it makes a little more sense.
2014-06-09 07:04:15 -04:00
djdolphin
8267f24155 Shortened the code a little 2014-06-08 14:05:17 -04:00
djdolphin
e13120da3f Made attribute block update when switching sprite
If the sprite you switch to doesn’t have an attribute or variable, it
will set the attribute to the default one for sprites or the stage.
2014-06-08 13:58:21 -04:00
Shane M. Clements
18172ebf1b Error reports show that sometimes proto is not the child of stagePane 2014-06-06 15:17:41 -06:00
Shane M. Clements
f3539b9d4a Now supporting retina displays 2014-06-06 14:45:07 -06:00
Shane M. Clements
3ee7bd3531 Prevent handing NaN to the BitmapData constructor 2014-06-06 14:45:07 -06:00
Shane M. Clements
82185a53e9 Added null check in case the user denied access to the microphone. 2014-06-06 14:45:07 -06:00
Nathan Dinsmore
e016af6ab2 Fixed allowing terminal block insertions at the top of substacks 2014-06-06 13:51:13 -04:00
Nathan Dinsmore
c3df7dcd5a Allow wrapping C blocks in the middle of a stack 2014-06-06 13:42:15 -04:00
Shane M. Clements
57ffd680df Merge pull request #210 from nathan/import-newlines
Fixed importing files with CRLF or CR line endings
2014-06-03 13:51:49 -06:00
Shane M. Clements
678aac9546 Fixed a duplicate variable definition warning. 2014-06-03 10:20:02 -06:00
Shane M. Clements
3c9f132391 Merge pull request #190 from nathan/gif-decoder
Fixed formatting and dispose handling in GIF decoder
2014-06-03 10:15:55 -06:00
Shane M. Clements
cb1965db67 Merge pull request #167 from nathan/stop-palette-scripts
Fixed scripts in palette running after category is switched
2014-06-03 10:11:14 -06:00
Shane M. Clements
e5eed25566 Merge pull request #163 from nathan/urlencode
Properly urlencode extension block selectors and inputs
2014-06-03 10:10:00 -06:00
Shane M. Clements
f3dd8f4165 Merge pull request #168 from nathan/terminals-in-substacks
Fixed spacing in C blocks whose substacks end with terminals
2014-06-03 10:07:31 -06:00
Shane M. Clements
64b4df3968 Merge pull request #170 from nathan/menu-lines
Fixed variables named "---" not appearing in menus
2014-06-03 10:05:46 -06:00
Shane M. Clements
09b32a2dd6 Merge pull request #193 from nathan/hidden-context-menu
Fixed context menus showing for hidden lists on the stage
2014-06-03 10:03:08 -06:00
Shane M. Clements
aa5592c9ac Merge pull request #219 from nathan/library-import-button
Added button to import costume from library
2014-06-03 10:02:17 -06:00
Shane M. Clements
f64a6bb829 Merge pull request #223 from nathan/bubble-zoom
Fixed bubbles not appearing at right edge of block when zoomed
2014-06-03 10:01:06 -06:00
Shane M. Clements
e41f6e6358 Merge pull request #226 from nathan/list-watcher-checkbox
Fixed watcher checkbox when hiding list from context menu
2014-06-03 10:00:30 -06:00
Shane M. Clements
560d677feb Merge pull request #229 from nathan/min-list-watcher-size
Increased minimum list watcher size
2014-06-03 09:58:56 -06:00
Nathan Dinsmore
542311b1da Switched to a nicer way of computing scaled width
Thanks, Shane.
2014-06-02 19:19:35 -04:00
Shane M. Clements
61ce01e849 Merge pull request #232 from cpseager/master
Fix bug #140
2014-06-02 15:29:21 -06:00
Shane M. Clements
54c325a10c Now updating the bitmap during rotations. 2014-06-02 15:21:11 -06:00
scraxe
1e9af83aa4 Added http success msg
http extensions cannot currently display a meaningful 'green dot' msg
such as 'WeDo connected' as the javascript extensions can. Therefore add
an http ext.success msg in an identical style to the existing 'yellow
dot' ext.failure msg.
2014-06-02 11:04:01 +01:00
scraxe
9b4b1d1f07 Fix bug #140
Allow #376 to process a httpCall for http extensions by not previously
setting firstTime true for 'w' block.
2014-06-02 10:48:31 +01:00
Shane M. Clements
4e0e83b479 Fixed MP3 conversion logic 2014-05-31 23:05:49 -06:00
Shane M. Clements
886e482239 Optimized content update from textfield chnage event. 2014-05-31 22:49:40 -06:00
Nathan Dinsmore
bcc3c5ea2f Updated a comment in Interpreter.as
It was really out of date.
2014-05-30 23:39:16 -04:00
Nathan Dinsmore
b66fd78b20 Fixed a bug with lists that display only two visible items 2014-05-30 14:14:08 -04:00
Nathan Dinsmore
7ea4f248a7 Increased minimum list watcher size 2014-05-30 14:06:52 -04:00
Nathan Dinsmore
dc8b31a751 Fixed watcher checkbox when hiding list from context menu 2014-05-29 13:40:29 -04:00
Nathan Dinsmore
3a6bce1efc Fixed bubbles not appearing at right edge of block when zoomed 2014-05-29 01:53:09 -04:00
Shane M. Clements
8c0a53054a Merge pull request #222 from nathan/list-delete-button
List delete button
2014-05-28 17:05:20 -06:00
Nathan Dinsmore
2f3969bd92 Fixed delete button showing on read-only lists 2014-05-28 18:56:58 -04:00
Nathan Dinsmore
b594f971e3 Better fix for list tabbing 2014-05-28 18:53:12 -04:00
Nathan Dinsmore
bbbd5e5039 Fixed tab skipping items in online player 2014-05-28 18:33:23 -04:00
Nathan Dinsmore
01a711674a Merge branch 'master' into list-delete-button
Conflicts:
	src/watchers/ListCell.as
2014-05-28 18:15:05 -04:00
Nathan Dinsmore
9ad9ffc910 Added a delete button to list cells
This button can only be pressed when the cell is focused. There was an annoying bug in Scratch 1.4 where you could delete cells just by clicking on the empty space on the right side of the cell.
2014-05-28 18:11:11 -04:00
Nathan Dinsmore
c5b1b60ae9 Added button to import costume from library 2014-05-28 17:26:03 -04:00
Shane M. Clements
e63fef2c44 Merge pull request #217 from nathan/nicer-list-highlighting
Made list item highlighting more like 1.4
2014-05-28 15:09:54 -06:00
Nathan Dinsmore
a9366c9821 Made list item highlighting more like 1.4 2014-05-28 16:40:51 -04:00
Shane M. Clements
54d6c275e3 Bumped version to 419 2014-05-28 14:09:50 -06:00
Shane M. Clements
464401fada Now showing (empty) for empty lists. 2014-05-28 13:44:33 -06:00
Shane M. Clements
d3c17cb714 Merge pull request #215 from nathan/bubble
Added speech bubble with value of reporter when clicked
2014-05-28 13:33:07 -06:00
Shane M. Clements
37286d5e76 Added visual indication for list item focus. 2014-05-28 13:31:34 -06:00
Shane M. Clements
bf9f382bc0 Tweaked rounding of numeric values in watchers 2014-05-28 13:18:13 -06:00
Nathan Dinsmore
0902bc072d Switched app.mouseX/Y -> stage.mouseX/Y 2014-05-28 15:17:27 -04:00
Shane M. Clements
ebcd6fe904 Merge pull request #176 from nathan/save-stage-picture
Added screenshot item to Stage's context menu
2014-05-28 12:50:27 -06:00
Shane M. Clements
b54c367e40 Merge pull request #211 from nathan/list-navigation
Improved list navigation
2014-05-28 12:27:41 -06:00
Nathan Dinsmore
bf617185c6 Fixed rounding costume center coordinates in vector mode
This also doubles the resolution of the bitmap costume center tool so that it lines up with the actual pixels of the image.
2014-05-28 14:16:14 -04:00
Nathan Dinsmore
ab09998c46 Fixed display of numbers in list watchers
Numbers are now rounded to three decimal places like they are in variable watchers.
2014-05-27 16:04:10 -04:00
Nathan Dinsmore
093d725039 Improved list navigation
up/shift+tab: select previous item
down/tab: select next item
enter: insert item below selection
shift+enter: insert item above selection
2014-05-26 18:51:17 -04:00
Nathan Dinsmore
ff6be6a5d1 Fixed importing files with CRLF or CR line endings
Also added final LF to exported file. This is the convention.
2014-05-26 16:29:06 -04:00
Shane M. Clements
b858d029dc Made a method for removing the text buttons. 2014-05-23 15:48:24 -06:00
Shane M. Clements
909d541ee9 Now fixing up stopScripts blocks 2014-05-23 09:01:40 -06:00
Shane M. Clements
f651a90556 Bumped version to 418 2014-05-23 08:26:35 -06:00
Shane M. Clements
2e5e2816db Merge pull request #205 from nathan/this-script
Fixed "this script" -> "other scripts in sprite" bug
2014-05-23 08:25:27 -06:00
Nathan Dinsmore
3abb80df1a Fixed "this script" -> "other scripts in sprite" bug 2014-05-23 08:04:51 -04:00
Shane M. Clements
158895baf9 Now loading extension docs in the tips window. 2014-05-22 15:01:16 -06:00
Shane M. Clements
43269ddaf9 Fixed boolean javascript extension reporters. 2014-05-22 14:08:46 -06:00
Shane M. Clements
02622918a8 Now always using Scratch.createMediaInfo() to create MediaInfo instances. 2014-05-22 13:23:05 -06:00
Shane M. Clements
c04d479129 Added a way to override what type of PaletteBuilder is used. 2014-05-20 11:50:28 -06:00
Shane M. Clements
dee48521dc re-enabled blocking argument check 2014-05-20 10:55:27 -06:00
Shane M. Clements
4b517cf8c1 Enabled pico extension 2014-05-16 12:41:25 -06:00
Shane M. Clements
f889a7fceb Merge pull request #194 from nathan/list-tabbing
Fixed tabbing between list cells
2014-05-14 15:28:04 -06:00
Nathan Dinsmore
f2d1fba5d1 Fixed tabbing between list cells 2014-05-14 16:46:28 -04:00
Nathan Dinsmore
c4860a9aef Fixed context menus showing for hidden lists on the stage 2014-05-14 16:23:41 -04:00
Shane M. Clements
2fb909d39e Merge pull request #187 from nathan/stop-stage-sprite
Fixed stop block label for "other scripts in sprite/stage"
2014-05-14 13:30:21 -06:00
Shane M. Clements
2512a14c3d Merge pull request #191 from nathan/save-on-cleanup
Trigger a save when scripts are cleaned up
2014-05-14 13:28:35 -06:00
Shane M. Clements
7217d8c0ca Merge pull request #192 from nathan/transate-self-mouse
Fixed translation of "edge", "myself", "Stage", and "mouse-pointer" in block inputs
2014-05-14 13:28:06 -06:00
Shane M. Clements
206d4dfbf0 Merge pull request #178 from nathan/radial-gradient
Updated bitmap radial gradient fill to match vector radial gradients
2014-05-14 13:27:18 -06:00
Nathan Dinsmore
e99e649571 Fixed translation of "edge", "myself", "Stage", and "mouse-pointer" in block inputs 2014-05-14 15:26:00 -04:00
Shane M. Clements
3a70350043 Merge pull request #171 from nathan/rename-fix
Fixed renaming procedures and variables
2014-05-14 13:25:59 -06:00
Shane M. Clements
27d5ec860d Merge pull request #166 from nathan/duplicate-comment-offset
Fixed duplicated comments being offset from cursor
2014-05-14 13:19:06 -06:00
Shane M. Clements
d8f4724a12 Merge pull request #165 from nathan/palette-spacing
Fixed palette spacing on More Blocks category
2014-05-14 13:15:51 -06:00
Shane M. Clements
84b3843ca1 Merge pull request #164 from nathan/drag-by-title
Made dialogs draggable by their titles
2014-05-14 13:14:43 -06:00
Nathan Dinsmore
7ee13c4fc6 Trigger a save when scripts are cleaned up 2014-05-14 15:05:59 -04:00
Nathan Dinsmore
05e0260780 Merge pull request #172 from nathan/commet-typo
Fixed a typo ("Commet" => "Comment")
2014-05-14 14:45:53 -04:00
Nathan Dinsmore
bd5572656c Fixed a bug 2014-05-14 14:41:23 -04:00
Nathan Dinsmore
452c9672a9 Fixed formatting and dispose handling in GIF decoder 2014-05-14 14:27:51 -04:00
Nathan Dinsmore
93f96a5a92 Fixed not being able to drop block when color picker was under mouse 2014-05-14 12:39:18 -04:00
Nathan Dinsmore
efd46002bf Fixed ask prompting multiple times for the same script 2014-05-14 09:54:51 -04:00
Nathan Dinsmore
e9bfd514c7 Fixed stop block label for "other scripts in sprite/stage" when dragging between a sprite and the stage and between the backpack and a sprite or the stage 2014-05-14 09:40:02 -04:00
Nathan Dinsmore
dae0ebcbcf Fixed dragging "when Stage clicked" into a sprite 2014-05-14 03:21:59 -04:00
Nathan Dinsmore
0556bcfe0d Fixed shadow disappearing when a script runs while being dragged 2014-05-14 03:07:16 -04:00
Nathan Dinsmore
9c7f740b71 Updated bitmap radial gradient fill to match vector radial gradients 2014-05-12 20:13:16 -04:00
Nathan Dinsmore
f68a2fa134 Fixed incorrect caching in primVarSet and primVarChange 2014-05-12 20:11:02 -04:00
Nathan Dinsmore
4aeeda9f43 Added screenshot item to Stage's context menu 2014-05-12 20:05:28 -04:00
Nathan Dinsmore
ca09a56cbb Added speech bubble with value of reporter when clicked 2014-05-12 19:19:30 -04:00
Nathan Dinsmore
159e156d26 Fixed duplication when dragging media into the backpack 2014-05-12 19:09:32 -04:00
Nathan Dinsmore
3af3947ae3 Added "info" menu item to sprite context menu 2014-05-12 19:07:56 -04:00
Nathan Dinsmore
2f38cde712 Fixed a typo ("Commet" => "Comment") 2014-05-12 19:01:29 -04:00