Sam El-Husseini
63d26dc186
Add extra requires check ( #4677 )
...
* Add extra requires check
2021-03-05 09:50:51 -08:00
Rachel Fenichel
994fc2ce1f
Fix missing requires in dropdown div and widget div
2021-02-09 14:47:14 -08:00
Sam El-Husseini
acfc335870
Type fixes for Dropdown / Widget divs ( #3911 )
...
* Stricter typechecks in dropdown and widget div
2020-05-28 08:42:26 -07:00
Sam El-Husseini
a3dbbfd7ab
Support a custom container element for the dropdowndiv, widgetdiv and tooltip. ( #3772 )
...
* Support a custom container element for the dropdowndiv, widgetdiv and tooltip
2020-03-27 17:13:46 -07:00
alschmiedt
7f9539e64b
Fix inner html ( #3759 )
...
* Fix ie11 bug by switching from innerHtml to innerText
* Change to textContent
2020-03-20 13:46:59 -07:00
Sam El-Husseini
1d3a1655c6
Support multiple renderer / theme combos on the same page. ( #3732 )
...
* Support multiple renderer / theme combos on the same page.
2020-03-11 20:09:00 -07:00
Monica Kozbial
b14bbe7e66
Check if WidgetDiv is visible before hide logic. ( #3716 )
2020-02-27 10:30:14 -08:00
Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
Sam El-Husseini
7ac83a318b
Remove Firefox fix for avoiding dropdown scrollbars as it no longer repros ( #3560 )
2020-01-07 16:05:08 -08:00
Sam El-Husseini
329a21c572
Add theme and renderer classnames onto the widget and dropdown div. ( #3456 )
...
* Add theme and renderer classnames onto the widget and dropdown div.
2019-11-20 11:07:39 -08:00
Sam El-Husseini
cff8e19699
Return focus to the workspace after hiding a widget or dropdown div ( #3447 )
2019-11-15 10:57:29 -08:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Neil Fraser
a03660243e
Code cleanup, drop some CSS.
...
Random improvements to require statements.
Removal of some obviously dead CSS.
.blocklyDropDownDiv no longer supresses text selection (see comment in PR).
This PR drops the compiled size by 4 KB, which is larger than I was expecting.
2019-09-25 10:34:34 -07:00
Sam El-Husseini
f34f2beac7
Remove all calls to goog.style ( #2781 )
...
* Remove dependency on goog.style
2019-08-06 14:54:13 -07:00
Sam El-Husseini
57868e7e83
Remove all calls to goog.math ( #2739 )
...
* Replace calls to goog.math.Size and goog.math.Coordinate with Blockly equivelants
2019-07-30 11:22:08 -07:00
Neil Fraser
9f528922a7
Fix some dependencies
2019-05-24 15:45:05 -07:00
Neil Fraser
d6096accca
Remove Blockly.WidgetDiv.position
...
Nobody appears to call it.
2019-03-29 15:24:37 -07:00
Neil Fraser
50519413d0
Line length
2019-03-29 15:24:37 -07:00
Neil Fraser
405b1e4e78
Lint issues found while debugging.
2019-03-27 15:47:29 -07:00
Ashwin Ramaswami
2cc3a8b3d9
Scroll very long context menus
2018-12-18 08:41:14 -05:00
Neil Fraser
aa09ad9175
Line wrap at 80.
2018-10-16 11:34:10 -07:00
Neil Fraser
dddb94aedd
Fix circular dependency.
2018-10-16 11:34:10 -07:00
Neil Fraser
f802859547
Remove goog.dom.removeChildren
...
HTML can be nullified with innerHTML, SVG needs a loop.
2018-07-11 12:20:02 -07:00
Neil Fraser
eea2794e38
Remove goog.dom.TagName
2018-07-11 12:20:02 -07:00
Rachel Fenichel
1e3450a051
Indentation lint that blocks moving to eslint 4.0
2018-01-23 17:27:35 -08:00
Rachel Fenichel
acd3a00f4a
Unify code for positioning the widget div ( #1334 )
...
* New widget div functions, used in context menu code
* Make all widget div positioning functions use the same argument order
* Use new widget div functions for fields
* share code for measuring menu size
* Get rid of positionMenu
* Update copyright date
* Rebuild blockly_uncompressed because there's a new require in town
2017-09-22 16:07:32 -07:00
Andrew n marshall
e95991cba8
Adding @namespace annotations for JSDoc. ( #900 )
2017-02-01 09:10:35 -08:00
Rodrigo Queiro
88eac2480b
Convert string tag name to goog.dom.TagName ( #515 )
...
in createDom calls only. This improves the type information of the
created objects.
2016-08-19 03:55:45 -07:00
Jean-Michel DECORET
927cabe992
Develop - Modals support ( #512 )
...
* * apply bootstrap3 integration fixes
* Injection subcontainer
Include svg and div into a master container, which allow css better
positioning (overflow scrolling problem)
* * Fix toolbox positioning (rtl and ltr). Because toolbox if relative to injection div, only adjust it to left (ltr) or right (rtl) edge
* * fix style (thanks to @NeilFraser)
* * revert msg files
2016-07-30 20:36:35 -07:00
picklesrus
d215314ffd
Revert "Convert createDom calls to createUntypedDom"
2016-07-20 15:21:45 -07:00
Rodrigo Queiro
d9a3569706
Convert createDom calls to createUntypedDom ( #481 )
...
Unless they could be converted to use goog.dom.TagName, in which case do
that. createDom is going to require goog.dom.TagName member as the
tagName parameter. This change prepares for that.
2016-07-18 07:18:17 -07:00
Neil Fraser
d269f70f95
Don't fire 'click' events when opening bubbles. Fix groups on context menu deletes.
2016-04-07 17:07:02 -07:00
Neil Fraser
2a1ffa11c4
Add undo/redo. Also refactor connections.
...
Bugs in undoing mutators and renaming variables.
2016-03-03 17:48:54 -08:00
Neil Fraser
4c542240e2
Provide default getVars and renameVar functions. Issue 265.
2016-02-27 12:28:32 -08:00
Neil Fraser
2d11522c0e
Stop Firefox from jumping when widget div is displayed. Issue 186.
2015-10-01 20:23:46 -07:00
Neil Fraser
8beffc6c33
Fix dropdowns on scrolled pages. Issue 183.
2015-09-24 14:53:29 -07:00
Neil Fraser
3f8e586fe8
Use prototypes for primitive properties.
2015-09-12 19:31:22 -07:00
Neil Fraser
f601bdc3c7
Fix FF editor location by a pixel.
2015-08-21 14:13:07 -07:00
carlosperate
3cc4c4e141
Contain the height of the field dropdown to the window viewport height.
2015-07-16 22:08:50 +01:00
Neil Fraser
e0f90e6e33
Adding more type documentation.
2015-07-13 15:03:22 -07:00
Neil Fraser
17961f7f58
Support multiple Blockly instances.
2015-04-28 13:51:25 -07:00
Neil Fraser
6539211104
Change official project URL.
2014-10-07 13:09:55 -07:00
Neil Fraser
7122410373
Changing project location from Google Code to GitHub.
2014-09-08 15:18:02 -07:00
Neil Fraser
d998a1c8ec
Update to latest version.
2014-09-08 14:26:52 -07:00
ellen.spertus
6ee38cdec3
Automatic commit Tue Jan 28 03:00:09 PST 2014
2014-01-28 03:00:09 -08:00
ellen.spertus
a8acffd81c
New initial commit with .svn directories and their contents ignored.
2013-10-30 14:46:03 -07:00