Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merging test #1

Open
wants to merge 102 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
5ec747b
construindo pacote blockly
GilmarCorreia Sep 16, 2022
be0474a
buildando a versão final
GilmarCorreia Sep 16, 2022
42d46a5
salvando readme
GilmarCorreia Sep 19, 2022
e2e941c
Modificando call_variables
lucaslbmp Sep 19, 2022
4ead54d
arg0 = jsonCodeInfo.code
lucaslbmp Sep 19, 2022
ebb871d
Modificando variables_call
lucaslbmp Sep 20, 2022
5537ab7
Modificando variables_call (2)
lucaslbmp Sep 20, 2022
f8ac2f8
Modificando variables_call (3)
lucaslbmp Sep 20, 2022
261744d
call method recebendo json do bloco encaixado
lucaslbmp Sep 20, 2022
cc1346f
call method recebendo json do bloco encaixado (2)
lucaslbmp Sep 20, 2022
6a4d7f5
Adicionando setup e loop
lucaslbmp Sep 21, 2022
c5efb15
Adicionando setup e loop (2)
lucaslbmp Sep 21, 2022
7619ffc
Modificando connections do call method
lucaslbmp Sep 22, 2022
a35e581
Modificando connections do call method (2)
lucaslbmp Sep 22, 2022
141db9c
Modificando connections do call method (3)
lucaslbmp Sep 22, 2022
7dec59c
Modificando quebra de linha do call method
lucaslbmp Sep 22, 2022
627d69f
Merge
lucaslbmp Sep 22, 2022
df9a966
Arrumando nome das variaveis (self)
lucaslbmp Sep 22, 2022
6ece244
Merge
lucaslbmp Sep 22, 2022
c6d93e6
Novo build
lucaslbmp Sep 22, 2022
7d0355a
Adicionando self. às inicializaçoes de variaveis
lucaslbmp Sep 26, 2022
765c825
removendo troca do output
lucaslbmp Sep 27, 2022
9edea2f
removendo troca do output (2)
lucaslbmp Sep 27, 2022
88ff2ea
Setando output do call method no core
lucaslbmp Sep 27, 2022
d4ea904
Setando output como null no definitions
lucaslbmp Sep 27, 2022
c7bd82c
Eliminando funcionalidade de mudar output
lucaslbmp Sep 27, 2022
bde6fd3
Eliminando funcionalidade de mudar output
lucaslbmp Sep 27, 2022
84b96fc
adicionando os blocos de funcs e vars
GilmarCorreia Sep 28, 2022
200571e
buildando o blockly
GilmarCorreia Sep 28, 2022
606d301
Adicionando tooltip dos blocos de setup e run aos dicionarios de trad…
lucaslbmp Sep 29, 2022
7476655
arrumando o procedures para serem do tipo class
GilmarCorreia Sep 29, 2022
6fdacfe
arrumando o procedures para class
GilmarCorreia Sep 29, 2022
3ed8b23
arrumando o procedures para class
GilmarCorreia Sep 29, 2022
c693ded
arrumando o procedures para class
GilmarCorreia Sep 29, 2022
4e67d16
arrumando o procedures para class
GilmarCorreia Sep 29, 2022
9dfd960
arrumando o jsonCode
GilmarCorreia Sep 29, 2022
013ac3f
arrumando o procedures
GilmarCorreia Sep 29, 2022
aa01202
novo build blockly
GilmarCorreia Sep 29, 2022
eb0bc6c
arrumando o build do node
GilmarCorreia Sep 30, 2022
2c7f60d
Arrumando o call procedures com self
GilmarCorreia Oct 3, 2022
f36ab70
arrumando os procedures
GilmarCorreia Oct 3, 2022
ce0392b
arrumando o blockly para inicializar as variáveis na funções
GilmarCorreia Oct 4, 2022
53a5f40
Variables call recebendo argumento sem json
lucaslbmp Oct 5, 2022
fb601d6
Removendo imports de bibliotecas
lucaslbmp Oct 5, 2022
71851d6
Merge
lucaslbmp Oct 5, 2022
145e1a7
Merge
lucaslbmp Oct 6, 2022
158e6c5
correção
lucaslbmp Oct 6, 2022
7effc79
Removendo return dos setups
lucaslbmp Oct 6, 2022
e20d1be
Merge
lucaslbmp Oct 7, 2022
43f4384
arrumando o while para cancelar durante thread
GilmarCorreia Oct 19, 2022
5b5a82a
Adicionando sleep ao print
lucaslbmp Nov 8, 2022
8a29455
Merge branch 'dev' of https://github.com/NTU-AI/ntu-blockly into dev
lucaslbmp Nov 8, 2022
4721c45
Readicionando sleep ao print
lucaslbmp Nov 8, 2022
0377679
arrumando os loops para pegar variables externas
GilmarCorreia Nov 8, 2022
c8a4cfc
Adding pt translation to call and return blocks
lucaslbmp Nov 17, 2022
b551c08
Merge branch 'dev' of https://github.com/NTU-AI/ntu-blockly into dev
lucaslbmp Nov 17, 2022
0194016
Revert "Adding pt translation to call and return blocks"
KevinYuki Nov 18, 2022
97ef137
Revert "Revert "Adding pt translation to call and return blocks""
KevinYuki Nov 18, 2022
1f42ca9
testing pt
KevinYuki Nov 18, 2022
9a072bd
Passando textos para pt
lucaslbmp Nov 18, 2022
587e2a9
merge
lucaslbmp Nov 18, 2022
8403c92
fixing texts in pt for custom blocks
lucaslbmp Nov 18, 2022
6bd6c78
correcting translations
lucaslbmp Nov 21, 2022
95de82a
correcting translations(2)
lucaslbmp Nov 21, 2022
31e786e
correcting translations for setup and loop titles
lucaslbmp Nov 21, 2022
d5ddf99
correcting translations for setup and loop titles
lucaslbmp Nov 21, 2022
e7a08f6
correcting translations for setup and loop titles(2)
lucaslbmp Nov 21, 2022
0691b14
correcting translations for setup and loop titles(3)
lucaslbmp Nov 21, 2022
545847a
changing 'setup' to 'inicialização' in pt-br.json
lucaslbmp Nov 22, 2022
5118bec
adding translations for some toolbox labels
lucaslbmp Dec 13, 2022
a4120ad
adding translations for some labels (2)
lucaslbmp Dec 13, 2022
063c264
changing python print code
GilmarCorreia Jan 13, 2023
27c1408
adding text in call and return
GilmarCorreia Feb 1, 2023
1353a76
adding text in call and return
GilmarCorreia Feb 1, 2023
2932274
adding text in call and return
GilmarCorreia Feb 1, 2023
58b448b
changing color for call blocks
GilmarCorreia Feb 2, 2023
e35b493
changing color for call blocks
GilmarCorreia Feb 2, 2023
044b0c2
decreasing trash bin size
lucaslbmp Feb 6, 2023
b623859
adjusting trash bin position
lucaslbmp Feb 6, 2023
d0f67b9
fixing lid leaving ghost part
lucaslbmp Feb 6, 2023
12b8a54
Adding custom js dialog
lucaslbmp Feb 10, 2023
adb8216
Adding custom js dialog (2)
lucaslbmp Feb 11, 2023
2eb3990
Adding css styling to custom dialog box
lucaslbmp Feb 11, 2023
339e71f
Changing dialog box styling
lucaslbmp Feb 12, 2023
5516be6
Changing dialog box styling
lucaslbmp Feb 13, 2023
b06ff9f
Changing dialog box css to match Drops style
lucaslbmp Feb 13, 2023
aac7d06
Changing dialog box styling to match Drops style (2)
lucaslbmp Feb 13, 2023
7b49f53
Changing dialog box styling to match Drops style (3)
lucaslbmp Feb 13, 2023
0aa2d42
merge
lucaslbmp Feb 13, 2023
dc0ce2e
Changing the order of the buttons in the custom dialog box
lucaslbmp Feb 14, 2023
43c51e9
count block fix
GilmarCorreia Mar 2, 2023
c8c65e0
Adding spanish translations for main function blocks
lucaslbmp Jun 23, 2023
7ed8e2a
Merge branch 'dev' of https://github.com/NTU-AI/ntu-blockly into dev
lucaslbmp Jun 23, 2023
0fc5b08
Modifying connect_ (connection.js) and checkAndDelete (block_svg.js) …
lucaslbmp Dec 5, 2023
09878db
Changing color for undo/redo
lucaslbmp Dec 6, 2023
79652ab
Changing call/return blocks color when insertion marker is created
lucaslbmp Dec 11, 2023
98fd2cd
Fixing call/return color behaviour when insertion marker is created/d…
lucaslbmp Dec 12, 2023
866bff6
Fixing call/return blocks mistakenly getting parent scope block or ne…
lucaslbmp Dec 14, 2023
151c701
Fixing error in getRenderer() when performing undo
lucaslbmp Dec 14, 2023
66f0eb9
Building and packaging changes
lucaslbmp Dec 14, 2023
31117f6
Fixing call/return block connected in sequence of another call/return…
lucaslbmp Dec 14, 2023
4d372ae
Removing undo/redo changes
lucaslbmp Dec 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Language: JavaScript
BasedOnStyle: Google
ColumnLimit: 80
Language: JavaScript
BasedOnStyle: Google
ColumnLimit: 80
38 changes: 19 additions & 19 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
*_compressed*.js
/msg/*
/build/*
/dist/*
/tests/blocks/*
/tests/themes/*
/tests/compile/*
/tests/jsunit/*
/tests/generators/*
/tests/mocha/run_mocha_tests_in_browser.js
/tests/screenshot/*
/tests/test_runner.js
/tests/workspace_svg/*
/generators/*
/demos/*
/appengine/*
/externs/*
/closure/*
/scripts/gulpfiles/*
*_compressed*.js
/msg/*
/build/*
/dist/*
/tests/blocks/*
/tests/themes/*
/tests/compile/*
/tests/jsunit/*
/tests/generators/*
/tests/mocha/run_mocha_tests_in_browser.js
/tests/screenshot/*
/tests/test_runner.js
/tests/workspace_svg/*
/generators/*
/demos/*
/appengine/*
/externs/*
/closure/*
/scripts/gulpfiles/*
176 changes: 88 additions & 88 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
{
"rules": {
"curly": ["error"],
"eol-last": ["error"],
"keyword-spacing": ["error"],
"linebreak-style": ["error", "unix"],
"max-len": [
"error",
{
"code": 100,
"tabWidth": 4,
"ignoreStrings": true,
"ignoreRegExpLiterals": true,
"ignoreUrls": true
}
],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-unused-vars": [
"warn",
{
"args": "after-used",
// Ignore vars starting with an underscore.
"varsIgnorePattern": "^_",
// Ignore arguments starting with an underscore.
"argsIgnorePattern": "^_"
}
],
// Blockly uses for exporting symbols. no-self-assign added in eslint 5.
"no-self-assign": ["off"],
// Blockly uses single quotes except for JSON blobs, which must use double quotes.
"quotes": ["off"],
"semi": ["error", "always"],
// Blockly doesn't have space before function paren when defining functions.
"space-before-function-paren": ["error", "never"],
// Blockly doesn't have space before function paren when calling functions.
"func-call-spacing": ["error", "never"],
"space-infix-ops": ["error"],
// Blockly uses 'use strict' in files.
"strict": ["off"],
// Closure style allows redeclarations.
"no-redeclare": ["off"],
"valid-jsdoc": ["error", {"requireReturn": false}],
"no-console": ["off"],
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"operator-linebreak": ["error", "after"],
"spaced-comment": ["error", "always", {
"block": {
"balanced": true
},
"exceptions": ["*"]
}],
// Blockly uses prefixes for optional arguments and test-only functions.
"camelcase": ["error", {
"properties": "never",
"allow": ["^opt_", "^_opt_", "^testOnly_"]
}],
// Use clang-format for indentation by running `npm run format`.
"indent": ["off"],
// Blockly uses capital letters for some non-constructor namespaces.
// Keep them for legacy reasons.
"new-cap": ["off"],
// Mostly use default rules for brace style, but allow single-line blocks.
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
// Blockly uses objects as maps, but uses Object.create(null) to
// instantiate them.
"guard-for-in": ["off"],
"prefer-spread": ["off"],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}]
},
"env": {
"es2020": true,
"browser": true
},
"globals": {
"Blockly": true,
"goog": true,
"exports": true
},
"extends": [
"eslint:recommended", "google"
]
}
{
"rules": {
"curly": ["error"],
"eol-last": ["error"],
"keyword-spacing": ["error"],
"linebreak-style": ["error", "unix"],
"max-len": [
"error",
{
"code": 100,
"tabWidth": 4,
"ignoreStrings": true,
"ignoreRegExpLiterals": true,
"ignoreUrls": true
}
],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-unused-vars": [
"warn",
{
"args": "after-used",
// Ignore vars starting with an underscore.
"varsIgnorePattern": "^_",
// Ignore arguments starting with an underscore.
"argsIgnorePattern": "^_"
}
],
// Blockly uses for exporting symbols. no-self-assign added in eslint 5.
"no-self-assign": ["off"],
// Blockly uses single quotes except for JSON blobs, which must use double quotes.
"quotes": ["off"],
"semi": ["error", "always"],
// Blockly doesn't have space before function paren when defining functions.
"space-before-function-paren": ["error", "never"],
// Blockly doesn't have space before function paren when calling functions.
"func-call-spacing": ["error", "never"],
"space-infix-ops": ["error"],
// Blockly uses 'use strict' in files.
"strict": ["off"],
// Closure style allows redeclarations.
"no-redeclare": ["off"],
"valid-jsdoc": ["error", {"requireReturn": false}],
"no-console": ["off"],
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"operator-linebreak": ["error", "after"],
"spaced-comment": ["error", "always", {
"block": {
"balanced": true
},
"exceptions": ["*"]
}],
// Blockly uses prefixes for optional arguments and test-only functions.
"camelcase": ["error", {
"properties": "never",
"allow": ["^opt_", "^_opt_", "^testOnly_"]
}],
// Use clang-format for indentation by running `npm run format`.
"indent": ["off"],
// Blockly uses capital letters for some non-constructor namespaces.
// Keep them for legacy reasons.
"new-cap": ["off"],
// Mostly use default rules for brace style, but allow single-line blocks.
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
// Blockly uses objects as maps, but uses Object.create(null) to
// instantiate them.
"guard-for-in": ["off"],
"prefer-spread": ["off"],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}]
},
"env": {
"es2020": true,
"browser": true
},
"globals": {
"Blockly": true,
"goog": true,
"exports": true
},
"extends": [
"eslint:recommended", "google"
]
}
80 changes: 40 additions & 40 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
# Contributing to Blockly

Want to contribute? Great!
- First, read this page (including the small print at the end).
- Second, please make pull requests against develop, not master. If your patch
needs to go into master immediately, include a note in your PR.

For more information on style guide and other details, head over to the [Blockly Developers site](https://developers.google.com/blockly/guides/modify/contributing).

### Before you contribute
Before we can use your code, you must sign the
[Google Individual Contributor License Agreement](https://cla.developers.google.com/about/google-individual)
(CLA), which you can do online. The CLA is necessary mainly because you own the
copyright to your changes, even after your contribution becomes part of our
codebase, so we need your permission to use and distribute your code. We also
need to be sure of various other things—for instance that you'll tell us if you
know that your code infringes on other people's patents. You don't have to sign
the CLA until after you've submitted your code for review and a member has
approved it, but you must do it before we can put your code into our codebase.

### Larger changes
Before you start working on a larger contribution, you should get in touch with
us first through the issue tracker with your idea so that we can help out and
possibly guide you. Coordinating up front makes it much easier to avoid
frustration later on.

### Code reviews
All submissions, including submissions by project members, require review. We
use Github pull requests for this purpose.

### Browser compatibility
We care strongly about making Blockly work on all browsers. As of 2017 we
support IE 10 and 11, Edge, Chrome, Safari, and Firefox. We will not accept
changes that only work on a subset of those browsers. You can check [caniuse.com](https://caniuse.com/)
for compatibility information.

### The small print
Contributions made by corporations are covered by a different agreement than
the one above, the
[Software Grant and Corporate Contributor License Agreement](https://cla.developers.google.com/about/google-corporate).
# Contributing to Blockly
Want to contribute? Great!
- First, read this page (including the small print at the end).
- Second, please make pull requests against develop, not master. If your patch
needs to go into master immediately, include a note in your PR.
For more information on style guide and other details, head over to the [Blockly Developers site](https://developers.google.com/blockly/guides/modify/contributing).
### Before you contribute
Before we can use your code, you must sign the
[Google Individual Contributor License Agreement](https://cla.developers.google.com/about/google-individual)
(CLA), which you can do online. The CLA is necessary mainly because you own the
copyright to your changes, even after your contribution becomes part of our
codebase, so we need your permission to use and distribute your code. We also
need to be sure of various other things—for instance that you'll tell us if you
know that your code infringes on other people's patents. You don't have to sign
the CLA until after you've submitted your code for review and a member has
approved it, but you must do it before we can put your code into our codebase.
### Larger changes
Before you start working on a larger contribution, you should get in touch with
us first through the issue tracker with your idea so that we can help out and
possibly guide you. Coordinating up front makes it much easier to avoid
frustration later on.
### Code reviews
All submissions, including submissions by project members, require review. We
use Github pull requests for this purpose.
### Browser compatibility
We care strongly about making Blockly work on all browsers. As of 2017 we
support IE 10 and 11, Edge, Chrome, Safari, and Firefox. We will not accept
changes that only work on a subset of those browsers. You can check [caniuse.com](https://caniuse.com/)
for compatibility information.
### The small print
Contributions made by corporations are covered by a different agreement than
the one above, the
[Software Grant and Corporate Contributor License Agreement](https://cla.developers.google.com/about/google-corporate).
Loading