Wykres commitów

251 Commity (75c1774b8fdeb63cd988717c79c20569c24d76a5)

Autor SHA1 Wiadomość Data
jmoenig c4968843e4 fixed #508 (don’t popup empty menus)
thanks, @cycomached!
2014-07-11 17:59:16 +02:00
jmoenig 92c5c8bedf add keyboard shortcut for “new project”: ctr-n
note: some browsers (actually, most ^^) override this before Snap gets
a chance to do its thing :-(
2014-07-08 15:27:25 +02:00
jmoenig ff513ba439 updated version of objects.js
fixed scrolling glitch in the palette, thanks, Kunal!
2014-07-08 13:33:58 +02:00
Kunal Marwaha ed5eccccae reason for scroll issue: only non-cached palettes needed to be scrolled 2014-06-25 04:15:58 -07:00
jmoenig 7f1b542e73 more relabelling options for SAY, THINK, ASK 2014-06-06 11:58:17 +02:00
jmoenig 9bbe9b2e0a enable relabelling blocks with C-Slots 2014-06-06 11:45:41 +02:00
jmoenig 3f04b5b474 more relabelling options for SAY and THINK variants 2014-06-06 10:34:15 +02:00
jmoenig 76f6ad4c23 add hide and show blocks for the stage 2014-06-06 09:15:16 +02:00
jmoenig 4e2ce9a4ee gracefully hide & show the stage, fixed #281 2014-06-06 09:07:42 +02:00
jmoenig fdfd74f79e fixes a but in setHeading()
thanks, Brian!
2014-06-05 22:29:16 +02:00
jmoenig d7f30820b5 fixed #457 2014-06-05 17:56:19 +02:00
jmoenig ccdce5da74 fixed #465 2014-06-05 17:42:36 +02:00
jmoenig f80235ee43 stop replacing the empty string with the number zero in watchers
fixed #473
2014-06-05 17:13:27 +02:00
jmoenig ac39877b9c German translation update, tweaks 2014-06-04 13:48:43 +02:00
Jens Mönig 81d3657feb Merge pull request #469 from nathan/shift-keyboard-shortcuts
Fixed ctrl/cmd+shift+s saving the project in place
2014-06-04 12:44:56 +02:00
Nathan Dinsmore ee695213cf Fixed ctrl/cmd+shift+s saving the project in place 2014-06-02 15:56:16 -04:00
yuan e7f9ff5dcb JSLinted 2014-06-02 00:07:00 -07:00
Viraj Mahesh 7daaf1252a Do nothing when blank action passed 2014-05-30 09:51:30 +04:00
Viraj Mahesh 209f05dfff Made updates to StageMorph functions 2014-05-30 09:47:22 +04:00
Viraj Mahesh 159b4b2605 Fixed naming issue and removed extra function 2014-05-30 09:46:16 +04:00
Viraj Mahesh c8bb7ce225 Fixed indentation issue 2014-05-30 09:38:54 +04:00
yuan 8971d29adc cleaned up my comments 2014-05-28 23:45:43 -07:00
yuan 94ad721bfe good to go for stagemorph 2014-05-28 23:17:04 -07:00
yuan ab218322f3 changed graphicsChanged boolean to a function 2014-05-28 02:38:04 -07:00
yuan e1b97b98df added graphics effects that work for all redraws; incorporated most recent updates to Snap! 2014-05-27 00:57:19 -07:00
jmoenig 8125861f80 Fixed #445 (minor search + zoom issues) 2014-05-26 09:40:55 +02:00
jmoenig a1b9d3e396 Search Blocks feature, keyboard shortcuts
Thanks, Kyle, for designing and architecting the search blocks feature!!
2014-05-20 09:43:31 +02:00
Viraj Mahesh a8baea7df9 Localization support 2014-05-10 16:44:42 -07:00
Viraj Mahesh 094b5120e4 Moved the screenshot block to looks 2014-05-08 12:06:16 -07:00
jmoenig 7edecf8255 integrate #394 2014-05-02 08:40:17 +02:00
Jens Mönig fb2d22ca6b Merge pull request #394 from xtitter/varimport
better error message when importing (into a variable)
2014-05-02 07:57:22 +02:00
jmoenig 51e17d2ce9 enable storage of first-class costumes 2014-04-30 12:18:06 +02:00
Jens Mönig 8424ba72fd Merge pull request #400 from blob8108/utf8-data
Specify an encoding for variable export
2014-04-30 07:33:27 +02:00
Viraj Mahesh cdecbf86ae Revert f56dc8e..d3ec80f
This rolls back to commit f56dc8ecf5.
2014-04-28 01:11:35 -07:00
Viraj Mahesh d3ec80f374 Commented out popup 2014-04-28 01:11:23 -07:00
blob8108 d2c4760844 Add charset to variable export 2014-04-26 01:10:57 +01:00
Viraj Mahesh f56dc8ecf5 Fixed an error where stage could not take screenshots 2014-04-21 16:12:28 -07:00
Nathaniel Titterton 442265ba5f give error message when attempting to import (into a variable) with a non-text file; don't read every file in multifile import 2014-04-17 12:21:31 -07:00
jmoenig ce3340e623 let “switch to costume” block accept actual costume objects (in addition to names and numbers) 2014-03-31 13:19:39 +02:00
jmoenig 6fd93533ec display costume thumbnails in speech/thought/value bubbles and watcher cells 2014-03-31 13:09:31 +02:00
jmoenig ca9445c245 experimental “wardrobe” and “jukebox” reporters in dev mode
tentative preparations for first-class costumes and sounds
2014-03-31 12:01:03 +02:00
Viraj Mahesh dbb5a8e0f5 Made reg-exp static 2014-03-12 20:04:16 -07:00
Viraj Mahesh fa02caef5d Implemented both ways of Screenshot naming 2014-03-12 16:36:14 -07:00
Viraj Mahesh e1c74e75f3 Put back the accidentally deleted words
Added comment explaining why copy is necessary
Copy is only created for pen trails
2014-03-11 13:20:19 -07:00
Viraj Mahesh 7f42be8585 pen trails is in an array 2014-03-11 10:30:19 -07:00
Viraj Mahesh a7a1b54244 Option of switching between pen trails and stage image has been implemented
Stage saves pen trails too
2014-03-11 02:38:11 -07:00
Viraj Mahesh 0795c1f44c Fixed error where penTrail of sprite was being used instead of penTrail of stage 2014-03-10 22:42:42 -07:00
Viraj Mahesh 85ebc2369b Added ability to save pen trails
Added dropdown menu to choose what to save
2014-03-10 22:21:20 -07:00
Viraj Mahesh 9f00665852 Added the screenshot block for the Stage 2014-03-08 15:56:02 -08:00
Viraj Mahesh a0c076b6fa Renamed block 2014-03-07 15:15:05 -08:00
Viraj Mahesh 6715784dec Removed extra variables 2014-03-07 15:07:41 -08:00
Viraj Mahesh 4888ecb9ec Use this.addCostume instead of IDE 2014-03-07 15:05:50 -08:00
Viraj Mahesh 8a74747cd7 Screenshot names are now correctly tracked 2014-03-07 15:02:30 -08:00
Viraj Mahesh 6c357a5ed1 Removed Canvas2Image error 2014-03-06 13:27:11 -08:00
Viraj Mahesh f6afb9d08d Final commit:
-Removed an accidental change
-Removed commented log statement
2014-03-04 16:04:57 -08:00
Viraj Mahesh 04bb141462 Removed dibyo's test push 2014-02-28 17:28:50 -08:00
Dibyo Majumdar 93dcdee53e Random change 2014-02-28 17:27:23 -08:00
Viraj Mahesh 0a7a186b2c Screenshot counter correctly implemented 2014-02-28 17:23:46 -08:00
Viraj Mahesh d591b743e4 Screenshot block now mentions that it saves the screenshot as a costume
Screenshot block now accepts a string
2014-02-28 16:54:00 -08:00
Viraj Mahesh e889dc224e Fixed errors that arose from not using fullImageClassic() 2014-02-25 17:34:31 -08:00
Viraj Mahesh 341d27092e Fixed incomplete code 2014-02-25 17:01:09 -08:00
Viraj Mahesh dc4e9a5c1c Screenshts are saved as costumes of the current sprite 2014-02-25 16:18:20 -08:00
Jens Mönig 3e7891b5a6 Merge pull request #288 from cycomachead/dateblock
Create a "Date" Block for Snap
2014-02-11 17:55:19 +01:00
jmoenig 4e2bfdec20 New Feature: Set stage dimensions arbitrarily
new entries to set stage width and height in the settings menu when
holding the shift key
2014-02-11 17:38:35 +01:00
Michael Ball 434392a879 remove lang file and incorporate fixes in blocks, opbjects 2014-02-06 20:26:32 -08:00
jmoenig 38bdc86b55 One-stop-shopping for stage dimensions
changing the stage dimensions in line 3720 of objects.js takes care of
everything
2014-02-05 11:46:55 +01:00
Michael Ball 817f4c5420 resolve merge conflicts; date problems only 2014-02-04 11:59:45 -08:00
jmoenig 0322b6e3db integrate Dean's sound fix
so JSLint doesn’t complain (no functionality changes). Thanks, Dean!
2014-02-04 16:14:16 +01:00
Jens Mönig 268ece6103 Merge pull request #311 from brettle/master
Fixes issue #310 - play note block fails on Firefox
2014-02-04 06:55:25 -08:00
jmoenig 1fb0b77998 Flat line end option in the settings menu, saved with the project 2014-02-04 15:29:14 +01:00
Dean Brettle b4eb1d1864 Fixes issue #310 - play note block fails on Firefox due to use of deprecated
WebAudio names. The fix uses the correct names and monkey-patches browsers that
use the old ones.
2014-01-25 22:17:12 -08:00
jmoenig fa88fdc761 validated all source files against the latest JSLint version
and pushed to this date
2014-01-09 18:50:38 +01:00
jmoenig 8a1ca3116b Collapse STOP primitives into a single block with a dropdown of options 2014-01-09 15:36:16 +01:00
jmoenig 1e959b8891 fixed StopOthers blocks and added another option
also updated the German translation
2014-01-08 17:51:34 +01:00
Jens Mönig 1da3ae32aa Merge pull request #283 from Hardmath123/master
Initial stop others block
2014-01-08 06:49:31 -08:00
jmoenig 71c458e7e8 Only shrink-wrap sprite costumes
thanks, Kartik, for this fix!
2014-01-08 15:23:09 +01:00
jmoenig 8646dfc35e support for TELL and ASK
The FOR reporter’s first input now also accepts blocks and scripts
(„rings“), and reports a copy that is bound to the sprite indicated by
the second input. This lets you „zombify“ (or remote-control) sprites
(and create custom TELL and ASK blocks)
2014-01-08 12:18:04 +01:00
Michael Ball 9f0f9dde37 Add style tweaks per Nathan's comments. 2013-12-28 15:01:24 -08:00
Michael Ball faa8b4fe22 Add a 'get current DATE' block with various options, add some translations to FR and DE 2013-12-27 18:49:56 -08:00
Hardmath123 d8d1810e43 Initial stop others block 2013-12-22 16:28:11 -08:00
jmoenig e9020b4ed3 fixed saving/loading of new mouse coordinate watchers 2013-12-19 17:54:40 +01:00
Michael Ball 21a29e3706 fix #275 #237; implements watchers for mouse x and mouse y 2013-12-18 03:54:27 -08:00
jmoenig f48460fc25 null-canvas blitting bug follow-up 2013-12-12 15:27:49 +01:00
jmoenig 59a39077b8 fixed #277, #279 (blitting null-canvasses fails)
Thanks, Nathan, for the pointer to this!
2013-12-12 14:55:40 +01:00
jmoenig 0e27d975c6 fixed #264 (mapped <ctrl-enter> to green-flag instead of <enter>) 2013-12-05 10:01:25 +01:00
jmoenig 6cc86fa751 fixed #231 (watcher-display of Booleans) 2013-11-15 14:57:14 +01:00
jmoenig 5d5fc20a6d fixed wrong NaN display for variable watchers
Thanks, Brian, for catching this glitch!
2013-11-12 12:01:26 +01:00
jmoenig 93960bc4fb Increase maximum clone count from 128 to 300 2013-10-14 17:03:56 +02:00
jmoenig 4d5dad807b experimental MAP primitive reporter
in lists category, visible in dev mode for now
2013-10-08 16:59:55 +02:00
jmoenig 4e501e00ad Keep watchers onstage when hiding/showing them, fixes #195 2013-10-04 11:08:39 +02:00
jmoenig b32ed8ef23 Prevent watcher cells from growing wider as their contents becomes taller 2013-10-04 10:53:17 +02:00
jmoenig 9a0881b96a smooth numerical values displayed in watchers 2013-10-01 15:50:53 +02:00
jmoenig 6394ebc24a fixed #146
filter out empty costumes
2013-09-19 16:09:47 +02:00
jmoenig 9450ed0511 fixed #169 2013-09-19 12:26:09 +02:00
jmoenig e9afcc9ec3 prevent costumes with imported CORS-tainted canvases
expected to fix #155, #154, #151, #148, #147, #127 for future projects
2013-09-18 15:34:59 +02:00
jmoenig c0a0c1f4a7 fixed part of #154 - prevent costumes from being drawn while they are loading
prevents an occasional DOM error saying "an attempt was made to use an
object that is not, or is no longer, usable" when loading a project
that has costumes
2013-09-17 17:25:42 +02:00
jmoenig ee30d63201 New SPLIT primitive reporter activated
this should come in handy when importing text files that should be
converted to lists, as in the hangman lab
2013-09-16 12:06:38 +02:00
jmoenig fe50029b1c Nestable Sprites Collision Detection & fixes 2013-08-12 13:05:42 +02:00
jmoenig 0bd0303a87 Nestable Sprites fixes 2013-08-10 08:11:51 +02:00
jmoenig 147674631c Nested Sprite saving / loading 2013-08-09 16:07:02 +02:00
jmoenig 91f52228f2 Nested Sprites - Stage scaling adjustment 2013-08-09 12:17:27 +02:00
jmoenig 8a0efbd8da Nested Sprite Rotation style buttons on corral icons 2013-08-09 10:20:34 +02:00
jmoenig 08110770b0 Nested Sprite synchronous / independent rotation 2013-08-08 19:30:17 +02:00
jmoenig 289dd6b2e6 Nested Sprite Rotation 2013-08-08 13:59:59 +02:00
jmoenig 9bbd379528 Nested Sprite Scaling
first rough pass
2013-08-08 12:52:33 +02:00
jmoenig b4db57dc94 Nested Sprite Motion 2013-08-07 18:00:23 +02:00
jmoenig 325ad2297b Sprite Nesting GUI
(still hidden and disabled at this time)
2013-08-07 16:32:21 +02:00
jmoenig f557ddeb2a Fixed stage costume scaling & misplacing bug
Thanks, Josh, for the report!
2013-08-07 11:32:58 +02:00
jmoenig e2320cae3d Sprite Nesting preliminaries
not yet functional and disabled
2013-08-07 10:33:39 +02:00
jmoenig ade3c6ab48 Polish translation, thanks, Witek Kranas! 2013-08-06 07:59:29 +02:00
jmoenig 6fa1fcd876 experimental text SPLIT primitive in the operators category
(currently only accessible in dev mode)
2013-07-31 15:15:27 +02:00
jmoenig 1591466317 PAUSE primitive command block 2013-07-30 13:48:12 +02:00
jmoenig 4c9150d7e7 experimental text-function primitive
(hidden, shown only in dev mode in the operators category)
2013-07-15 15:45:11 +02:00
jmoenig 6dbfe66420 increased palette's vertical growth by scrollBarSize 2013-07-15 10:59:42 +02:00
jmoenig 167a175d18 Codification changes, Boolean slot bug fix
* Collapsed codification primitives (code, header) into a single block
* Added isEmptySlot() to BooleanArgMorph (thanks, Brian, for the bug
report!)
2013-07-09 21:10:16 +02:00
jmoenig b59f7f3e27 Codification (blocks to text) support complete
text code mapping and block header support, both via GUI and
primitives, for built-in blocks and for custom ones.
2013-07-04 15:31:05 +02:00
jmoenig 78f416be9a removed tolerance margin in Costume's shrinkWrap()
Chrome no longer needs this kludge. Removing it also fixes an "empty
costume" bug when drawing over the edges of the paint editor
2013-07-02 13:50:14 +02:00
jmoenig b8c48040a2 fixed speech bubble scaling when sprite is not onstage
(reported in the Scratch forums)
2013-06-27 08:18:51 +02:00
jmoenig 416d92d78b pretty printing support for mapped code
better formatting capabilites now support Python mappings
2013-06-24 17:49:47 +02:00
jmoenig 1f8f6e0192 %code input slot
multi-line, monospaced, type-in slot for code mappings
2013-06-21 09:53:16 +02:00
jmoenig bed3e03e65 "flat" design: No rounded corners for watchers 2013-06-20 18:29:16 +02:00
jmoenig d3ff1965fc Objects: doMapCode() primitive now uses a multi-line input slot 2013-06-20 18:15:53 +02:00
jmoenig ff75d76472 "flat" design enhancements for cells 2013-06-20 14:32:23 +02:00
jmoenig 7af5ab575d "flat" design enhancements for blocks and watchers 2013-06-20 13:24:15 +02:00
jmoenig acc40a6d2a Code mapping
generating text code from blocks, first experimental iteration
2013-06-18 18:43:15 +02:00
jmoenig 12ba9b7703 Objects: fix for hiding 'getLastAnswer' and 'getTimer' primitives 2013-06-05 18:37:44 +02:00
jmoenig e1a3092713 "Flat" GUI design preference
in the IDE's settings menu
2013-05-16 14:38:37 +02:00
jmoenig a1ff3bfec5 Costume shrinkWrapping adjustments 2013-05-15 13:04:55 +02:00
jmoenig d267b696af Broadcast & Message enhancements, fixed #93
* When I receive <any msg> option
* getLastMessage reporter + watcher
2013-05-14 16:16:21 +02:00
jmoenig 4c44efdc1e Paint editor fixes 2013-05-14 14:18:46 +02:00
jmoenig b250bb2683 Paint editor integration 2013-05-14 13:47:13 +02:00
jmoenig 0c4779f028 Costume shrink-wrapping 2013-04-30 11:49:26 +02:00
jmoenig 4580aa1e0d Hide Primitives feature
Primitive blocks in the palette can now be hidden in the project via
their context menu. Each palette's context menu further lets you hide
or show all its primitives depending on whether any primitives are left
to hide or show.
Hidden primitives are stored in the project data. This lets instructors
create "simplified" examples and problem sets.
2013-04-25 16:52:59 +02:00
Jens Mönig 49998bb0de Merge pull request #74 from queryselector/issue-23
Fixed #23
2013-04-23 08:27:46 -07:00
Jens Mönig 4fc82b7f06 Merge pull request #57 from queryselector/issue-55
Fixed #55
2013-04-23 08:03:32 -07:00
jmoenig d098dbb4ba Fixed #44
Circularity no longer breaks watchers
2013-04-23 16:55:11 +02:00
Nathan Dinsmore cad54f7433 Fixed #23
Only one of each kind of dialog can now be open at any given time.

You can still open multiple dialogs for editing a costume and editing a block.
2013-04-21 14:45:51 -04:00
Nathan Dinsmore 9661cc781e Fixed #55
Creating a variable which already exists no longer performs any action.
2013-04-19 10:51:43 -04:00
jmoenig 7681525cc2 German translation update
for new "scripts pic..." feature on the scripting area's context menu.

Also pushed up version dates for new beta release, and added
SnapManual.pdf to the help folder
2013-04-19 08:09:35 +02:00
Nathan Dinsmore 4d694e6bfc Fixed #22
Added a "help..." item to the context menus of the "Make a variable," "Delete a variable," and "Make a block" buttons which displays the appropriate help screen
2013-04-13 10:16:15 -04:00
jmoenig cb41576e5a Load shared projects from different formats
cloud data and plain project format
2013-04-10 08:33:50 +02:00
Nathan Dinsmore 276ff05ed5 Fixed #7
Passing non-numeric values to blocks no longer causes unpredictable behavior.
2013-04-09 10:13:14 -04:00
Nathan Dinsmore f3bd991f07 Switched to UTF-8
This fixes some encoding issues
2013-04-08 22:18:32 -04:00
Nathan Dinsmore ec434a3376 Revert "Fixed an encoding issue"
This reverts commit 4d37845b2e.
2013-04-08 22:13:16 -04:00
Nathan Dinsmore 4d37845b2e Fixed an encoding issue 2013-04-08 22:10:18 -04:00
Nathan Dinsmore 4c9fee58ee Fixed a number of whitespace inconsistencies 2013-04-08 21:49:31 -04:00
jmoenig 0c4cedad05 Turn pen trails into new costume
currently still hidden in the stage's context menu, visible when
shift-clicked
2013-04-08 17:19:10 +02:00
jmoenig fcc161ad10 Boolean value representation translation fix
Boolean value block representations in evaluation bubbles, speech
bubbles and stage watchers, are now translated. Thanks, Victor, for the
bug report!
2013-03-25 08:48:44 +01:00
jmoenig 2c54645400 Stage screenshots
the stage's context menu, and likewise the stage icon's context menu in
the corral, now let you export a screenshot of the stage including all
pen trails, sprites, watchers and speech bubbles
2013-03-22 11:33:34 +01:00
jmoenig ef170e9a28 Zoom Blocks
in the settings menu.
also: Optional slider for numeric prompter,
numberic prompters for watchers' sliderMin/Max
2013-03-22 10:36:19 +01:00