Wykres commitów

36 Commity (dev)

Autor SHA1 Wiadomość Data
Jens Mönig cd03fb3028 finalizing v4.0.8 2016-07-14 12:18:23 +02:00
Jens Mönig f1d91d16ad fixed #1251 2016-06-10 10:09:22 +02:00
Jens Mönig ed3b56a610 first-class sprites 2016-05-02 12:53:08 +02:00
Jens Mönig b35bc9907a prepare repo for v4.0.7 2016-04-27 10:39:27 +02:00
Jens Mönig df0269f5cc support for viewing 2D lists as tables 2016-02-24 11:35:18 +01:00
Jens Mönig 50959c9ea0 fixed linked lists identity loss when showing watchers
or then calling toString() on a linked list, which used to mutate the
list to an arrayed one.
2015-11-20 15:56:46 +01:00
Jens Mönig 6061403a89 Prepare for v4.0.3
* fixed occasional horizontal rendering artifacts in block “holes”
(C-shaped slots and Ring holes)
* improved user editing of input slots and fixed cursor behavior (note:
the text cursor inside input slots also blinks again, as it should have)
* always export comments attached to prototype hat blocks in the block
editor along with script pic
* when first opening a block editor on a custom block definition make
it big enough to show everything (as much as fits on the screen)
* remember block editor position and dimensions for each edited custom
block definition when acknowledging (pressing OK or APPLY) for the
session
* speed up stacking of commands and loading of projects by suppressing
redundant block redraws
* introducing a “grab threshold” preference to suppress accidental
grabbing through micro-movements of the hand. This addresses the
“cannot-click-on-drop-downs-in-Chrome-under-Windows” set of bug
reports, and also the issues that arise out of accidentally dragging
off a copy of a parameter blob when trying to just click on it to
rename it
* new hidden (shift-click) option to adjust the grab threshold in the
settings menu for the current session
* expand list watchers inside result bubbles and speech/thought
balloons to show everything (as much of the list’s first level as fist
into either the scripting area for result bubbles or the stage for
speech balloons - note resizing the stage affects the size of the list
watchers inside speech balloons, i.e. making the stage bigger increases
the number of visible elements even while the balloon is showing)
* fixed a bug that make an occasional gray rectangle appear at the
mouse pointer
* added a way to invoke blocks synchronously in JavaScript - under
construction (possibly to be used for generic “When” hat blocks and
user-customizable drop-downs)
* added methods to cache morphs’ fullImage and fullBounds while dragging
* Reporters (also nested reporters) and sprite icons (in the corral)
are now semi-transparent when being dragged, so you can see possible
drop target halos /through/ them
* in “prefer empty slot drops” mode (default) it is now much harder to
drop reporters onto non-static C-slots inside custom blocks (e.g. in
FOR loops) and onto variadic input arrowheads (to replace the whole
input with an input list)
* ScriptsMorphs are now noticing transparent clicks (addresses #997)
* %interaction slots are now static, fixed #982 (it is no longer
possible to drop reporters into the input slot of a “When I am…” hat
block (never was intended that it should be possible)
* fixed ctrl-f for the block editor in all situations (thanks, Brian,
for the bug report)
2015-11-16 12:18:40 +01:00
Jens Mönig 72bf4cfb8c New feature: Remove Unused Global Blocks
* BYOB, Objects, GUI: New “Remove Unused Global Blocks” Feature
* GUI, Lists: “Export Project Summary” improvements:
  - show variable values as watcher pics
  - expand list watcher pics to show their complete contents (1. level)
  - url for shared projects
  - table of contents
  - basic support for sprite nesting and inheritance
  - make the summary “browsable” instead of editable
  - outline around sprite / stage snapshots
  - experimental hidden (shift-click) “drop-shadows” option
* GUI: Rearrange project menu, only show global blocks-related ops if
there are any
* GUI: Remove URL location.hash information when loading a new project
* Store: Fix deserialization support for projects using inheritance
* German translation update
2015-10-07 13:38:19 +02:00
Jens Mönig e8172e83dd update history 2015-07-27 01:12:12 +02:00
Michael Ball aa62a6c7d4 Fix type issue when adding blanks to lists
This is one small change that will need to be tested!
This makes the add function behaves like `in front of` and
uses a call to `isNil()`. Only values that are `nil` will be
added  to the list as `null` (in JS). This is more consistent with
Snap! so that values like the empty string are handled correctly.

This fixes #863. Contains will properly handle empty inputs and
when re-loading a list with blank elements added, they will no
longer be converted to 0's.
2015-07-14 21:33:34 -07:00
jmoenig 4c21c9f187 Revert to "new" for object creation
and prepare for new release
2015-06-25 15:11:51 +02:00
Nathan Dinsmore 995e782147 Fix ListWatcherMorph initialization 2015-06-18 04:29:26 -04:00
Nathan Dinsmore 87c2503571 Use Object.create(…) instead of new …() for inheritance (faster) 2015-06-17 17:11:40 -04:00
jmoenig 89c2835130 Fixed #642, avoid “freezing” when calling CONS on non-list/null
thanks, @brianharvey !
2014-11-20 14:17:06 +01:00
jmoenig d559312b07 fixed "Load Failed Type Error Cannot read property 'isLinked' of null"
you guys need to at least *try* your stuff on a few actual projects,
dammit!
2014-07-28 14:18:44 +02:00
jmoenig e362730a0c JS function tweak, thank, @nathan! 2014-07-27 15:06:50 +02:00
Michael Ball 9151379546 List.toString will show contents of the list 2014-07-26 17:14:34 -07:00
jmoenig 1076694d9c ensure unique names for costumes created by the paint editor 2014-07-18 14:54:29 +02:00
jmoenig c1d5910f33 list op fixes, thanks, Brian! 2014-07-18 07:44:26 +02:00
jmoenig 3dbe001d6f fix List::length to work with stored CS10 projects 2014-07-17 09:51:25 +02:00
jmoenig ff854784c0 format list changes for JSLint
and rename var ‘me’ to ‘myself’ to make it conform to the rest of
Snap’s codebase
2014-07-17 09:12:20 +02:00
jmoenig fe8f15b8c7 change internal list ops to be iterative (bh)
so working with large arrayed lists no longer runs into JS’s maximum
recursion limit. Thanks, Brian, for the quick fix!
2014-07-17 08:45:43 +02:00
jmoenig ac39877b9c German translation update, tweaks 2014-06-04 13:48:43 +02:00
Nathan Dinsmore 2710f5b307 Fixed the equals block when one list is linked and the other is not 2014-06-02 15:56:52 -04: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 24ad14399c harmonize equality testing and List CONTAINS testing 2013-12-04 09:50:27 +01:00
jmoenig 39ea1d542d fixed type-issue for linked list indices
thanks, Nate, for reporting this issue
2013-10-08 16:46:58 +02:00
jmoenig 7af5ab575d "flat" design enhancements for blocks and watchers 2013-06-20 13:24:15 +02:00
jmoenig d098dbb4ba Fixed #44
Circularity no longer breaks watchers
2013-04-23 16:55:11 +02:00
jmoenig 54415a2cfc Lists: fix for typecasting bug in CONTAINS primitive 2013-04-12 10:11:45 +02: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 dbce2753df Adjust list watcher size to blocks' zoom scale 2013-04-08 13:18:47 +02:00
jmoenig 0b510366d2 Creation 2013-03-16 09:02:16 +01:00