Skip to content

Fix onload #117

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

Open
wants to merge 240 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
46e34e8
First integration of pyinterp (note: many parts of the codeBoot UI ar…
feeley Aug 1, 2020
516daaa
Add missing changes
feeley Aug 1, 2020
d592cd5
Example makefile for a better development workflow.
belmarca Aug 7, 2020
b4bdde1
Use zipi master branch but allow for user override.
belmarca Aug 10, 2020
fbc38e7
Use envvar to select python version.
belmarca Aug 10, 2020
28a157e
Allow override of zipi repository using envvar.
belmarca Aug 10, 2020
3e96899
Remove --backup flag for compat with macOS.
belmarca Aug 11, 2020
8674d9a
Merge pull request #2 from belmarca/makefile
feeley Aug 11, 2020
33d8459
Support multiple instances
feeley Aug 11, 2020
5075bf1
Upgrade to recent versions of Bootstrap, CodeMirror and tippyjs
feeley Aug 11, 2020
c6ab271
Merge pull request #3 from udem-dlteam/feeley/multiple-instances
feeley Aug 11, 2020
9ada750
Add map files
feeley Aug 11, 2020
a6b8f57
Merge pull request #4 from udem-dlteam/feeley/multiple-instances
feeley Aug 11, 2020
03b8104
Proper handling of Python syntax errors
feeley Aug 11, 2020
159ab37
Merge branch 'master' of github.com:udem-dlteam/codeboot
feeley Aug 11, 2020
defd548
Allow local zipi repo
feeley Aug 12, 2020
06af097
Use codeBoot bundle
feeley Aug 12, 2020
15fb44f
Merge pull request #7 from udem-dlteam/feeley/bundle
feeley Aug 12, 2020
8558b44
Add bundled files
feeley Aug 12, 2020
09c3a13
Merge pull request #8 from udem-dlteam/feeley/bundle
feeley Aug 12, 2020
a4ecb80
New bignum library
feeley Aug 14, 2020
1aa6f43
Use BigInt if available
feeley Aug 15, 2020
fdcb3f1
Add "exact" parameter to bigi_to_float, and add bigi_le and bigi_ge
feeley Aug 15, 2020
03b4108
Rename to int.js and add limit on size of Ints
feeley Aug 16, 2020
96c5991
Added int_ne, int_divmod, int_lshift, int_rshift
feeley Aug 16, 2020
17df811
For consistency use names int_is_zero, int_is_pos, etc
feeley Aug 16, 2020
bab1d44
Add float.js
feeley Aug 16, 2020
98718ab
Use globalThis instead of 'this' check.
belmarca Aug 17, 2020
1f11c83
int_and was defined twice.
belmarca Aug 17, 2020
b4d694d
add vm to rte for printing
omelancon Aug 17, 2020
8ba11cf
Merge pull request #12 from udem-dlteam/omelancon/print-for-python
feeley Aug 17, 2020
26a65df
Better integer check and fixed makefile.
belmarca Aug 17, 2020
a8997b6
num.js is still needed by the JS interpreter, don't remove!
belmarca Aug 17, 2020
a04a0b7
Merge pull request #11 from belmarca/pyinterp-integration
feeley Aug 18, 2020
dad1d81
define codeboot print_stdout
omelancon Aug 18, 2020
0e1d487
Merge branch 'master' of https://github.com/udem-dlteam/codeboot into…
omelancon Aug 18, 2020
b17892b
refactor var names
omelancon Aug 18, 2020
d74e5ff
Merge pull request #18 from udem-dlteam/omelancon/refactor-py-print
feeley Aug 18, 2020
a774a43
add parameter options to 'fresh_rte' call
FredericHamel Aug 19, 2020
d6081fd
Merge pull request #19 from udem-dlteam/FredericHamel/fix-options
feeley Aug 19, 2020
99cd40e
fix display of value containing html character
FredericHamel Aug 19, 2020
8f351fd
Add float.js to bundle
feeley Aug 19, 2020
5537815
Allow runtime check for proper handling of classes in pyinterp box_ob…
belmarca Aug 19, 2020
e5f02b3
Use previous int_instance but modify to use class constructor.
belmarca Aug 19, 2020
98359eb
Merge branch 'master' into FredericHamel/fix-html-representation
FredericHamel Aug 19, 2020
04e46b0
apply requested changes
FredericHamel Aug 19, 2020
a6430c0
Merge pull request #21 from belmarca/fix-ints
belmarca Aug 19, 2020
4b594b8
Merge pull request #20 from udem-dlteam/FredericHamel/fix-html-repres…
feeley Aug 19, 2020
e700cc3
Add beginnings of a help dialog
feeley Aug 19, 2020
001bd95
Add error channel to py.js
FredericHamel Aug 19, 2020
18d743a
Add graphics
feeley Aug 19, 2020
5c2c429
Merge pull request #23 from udem-dlteam/FredericHamel/add-error-channel
belmarca Aug 20, 2020
3f030c8
Merge pull request #22 from udem-dlteam/feeley/graphics
feeley Aug 20, 2020
8b265ea
Add input_stdin to runtime
feeley Aug 20, 2020
6bd7a92
do it
omelancon Aug 20, 2020
c8e516b
Merge pull request #24 from udem-dlteam/omelancon/no-None-display-REPL
omelancon Aug 20, 2020
31e4371
add 'display_result' attribute
omelancon Aug 20, 2020
9d2db13
Merge pull request #25 from udem-dlteam/omelancon/refactor-trampoline
feeley Aug 20, 2020
24a71c6
sync the generated .js code
feeley Aug 20, 2020
b65a904
fix it
omelancon Aug 20, 2020
cc6383e
Merge pull request #26 from udem-dlteam/omelancon/fix-assign
omelancon Aug 20, 2020
c99b5d0
add context to bubble
FredericHamel Aug 20, 2020
3cd4a91
only display context when not empty
FredericHamel Aug 20, 2020
92b8888
Merge pull request #27 from udem-dlteam/FredericHamel/display_context
feeley Aug 20, 2020
32e2f11
pass syntaxError hook to pyinterp.comp
FredericHamel Aug 21, 2020
0f27f94
Merge pull request #28 from udem-dlteam/FredericHamel/syntax_error_hook
feeley Aug 21, 2020
5fc17f7
Added language specific grammar in the help modal along with some oth…
Aug 21, 2020
947371a
Took out an unecessary detail
Aug 21, 2020
fa5ad24
Small fixes following comments on PR : adding codeboot specific class…
Aug 21, 2020
a65ac9e
Forgot to take out the closing "'" in the old <i> converted to <span>
Aug 21, 2020
e8a17e7
Took out the class making the about modal as large as the help modal
Aug 21, 2020
c351992
Properly handle string conversion.
belmarca Aug 21, 2020
588fb70
Merge pull request #30 from belmarca/fix-to-string
belmarca Aug 21, 2020
010f52a
Fixing the example STRINGs for the Python grammar
Aug 21, 2020
a64adf9
Merge pull request #29 from udem-dlteam/roselyne/help-modal
roropincho Aug 21, 2020
de0ce17
Update bundle for release v2020-08-21.
belmarca Aug 21, 2020
d49ee1c
Merge pull request #31 from belmarca/master
belmarca Aug 21, 2020
67f7a29
hide math module
FredericHamel Aug 21, 2020
887f346
Merge pull request #34 from udem-dlteam/FredericHamel/remove-math-fro…
feeley Aug 21, 2020
bac8a10
Corrected some small errors in Python's grammar rules. Added clickabl…
Aug 21, 2020
1cd7800
Took out some unecessary console.log
Aug 21, 2020
e24badb
Merge pull request #51 from udem-dlteam/roselyne/help-modal
feeley Aug 22, 2020
2f0f1a5
Add multiline REPL
feeley Aug 22, 2020
e8ccd5d
improve multiline REPL so it can be edited
feeley Aug 23, 2020
1566297
convert location relative to container
feeley Aug 23, 2020
c5d4880
fix css issues and add file download
feeley Aug 24, 2020
fe6c4d0
Merge pull request #52 from udem-dlteam/feeley/multiline-repl
feeley Aug 24, 2020
808c044
css-fix
feeley Aug 24, 2020
cd89919
Merge pull request #53 from udem-dlteam/feeley/css-fix
feeley Aug 24, 2020
afc01c8
use a nicer font
feeley Aug 24, 2020
036375d
Merge pull request #55 from udem-dlteam/feeley/nicer-font
feeley Aug 24, 2020
ac1721f
open files that are drag-dropped to codeBoot
feeley Aug 24, 2020
8e31629
Merge pull request #56 from udem-dlteam/feeley/drag-drop
feeley Aug 24, 2020
595a64d
Disable drag/drop on editors
feeley Aug 24, 2020
d60f100
Merge pull request #58 from udem-dlteam/feeley/disable-editor-drop
feeley Aug 24, 2020
7d5eb2e
Use nicer code font
feeley Aug 25, 2020
1cc4846
Merge pull request #59 from udem-dlteam/feeley/code-font
feeley Aug 25, 2020
642d95b
refactor
omelancon Aug 26, 2020
0d48a2a
Merge pull request #60 from udem-dlteam/omelancon/refactor-int-naming
omelancon Aug 26, 2020
a8239b9
Follow zipi pyinterp reorganization.
belmarca Aug 27, 2020
4871354
add nb_steps logic
FredericHamel Aug 27, 2020
10cc7a8
Merge pull request #63 from udem-dlteam/FredericHamel/update-trampoline
feeley Aug 27, 2020
e30a601
Merge pull request #62 from belmarca/pyinterp_reorg
belmarca Aug 28, 2020
fff0468
miscellaneous UI changes including multiline REPL
feeley Aug 28, 2020
fa8875f
Merge pull request #64 from udem-dlteam/feeley/misc-ui
feeley Aug 28, 2020
ca57fd5
attach bubble to vm.root
feeley Aug 28, 2020
01b0f79
Small fix so that the variable names in the tippy bubble will better …
Aug 28, 2020
9e381f0
Fix that might be a bit more robust if major css changes occur.
Aug 28, 2020
36d186e
update to new int.js
feeley Aug 28, 2020
db27a46
int_round
omelancon Aug 29, 2020
03f83ea
fix rounding toward even
omelancon Aug 29, 2020
cb74db2
fix round stop condition
omelancon Aug 29, 2020
a9cda31
Merge pull request #66 from udem-dlteam/omelancon/round
feeley Aug 29, 2020
c8d76dc
add alert, confirm, prompt, and random
FredericHamel Aug 29, 2020
e855545
Merge remote-tracking branch 'origin/master' into FredericHamel/add-a…
FredericHamel Aug 29, 2020
511d692
Merge pull request #67 from udem-dlteam/FredericHamel/add-alert-confi…
feeley Aug 29, 2020
d15fee0
implement float round to digits method
omelancon Aug 30, 2020
c685b28
remove Python specific int round method
omelancon Aug 30, 2020
76f9226
Merge pull request #68 from udem-dlteam/omelancon/round
omelancon Aug 30, 2020
7f17393
rename float_from_float to float_from_num
FredericHamel Aug 30, 2020
4e5012f
Merge pull request #69 from udem-dlteam/FredericHamel/float-small-ref…
feeley Aug 30, 2020
888429e
Add miscellaneous fixes
feeley Aug 31, 2020
eea3a82
sync bundles
feeley Aug 31, 2020
d429b47
Avoid program execution when program is empty
feeley Aug 31, 2020
c24bd9c
updating float
leo-ard Aug 31, 2020
1869dbf
Merge pull request #70 from udem-dlteam/lool01/float_mod
feeley Aug 31, 2020
bfbe092
add float_log10
omelancon Sep 2, 2020
d2857fa
Fix portability issues (missing globalThis, cut/paste, file download)
feeley Sep 2, 2020
66f0261
Merge pull request #72 from udem-dlteam/feeley/portability-issues
feeley Sep 2, 2020
d98128e
Merge pull request #65 from udem-dlteam/roselyne/fix-bubble-letters-a…
feeley Sep 2, 2020
a2545af
Add missing download.js file
feeley Sep 2, 2020
0ea6dcd
v3.0.1
feeley Sep 3, 2020
7544fda
fix float_is_neg
omelancon Sep 3, 2020
8b2f096
Merge branch 'master' of https://github.com/udem-dlteam/codeboot into…
omelancon Sep 3, 2020
06d5105
revert float_is_nonneg
omelancon Sep 3, 2020
1adb786
unrevert float_is_nonneg
omelancon Sep 3, 2020
3eb21ae
Merge pull request #73 from udem-dlteam/omelancon/fix-float-is-neg
omelancon Sep 3, 2020
d211961
improve float_is_neg method
omelancon Sep 4, 2020
805674f
Add UI refresh on each print
feeley Sep 5, 2020
4752b5f
Merge pull request #75 from udem-dlteam/feeley/fix-print
feeley Sep 5, 2020
d359202
add float_neg_inf function
omelancon Sep 8, 2020
511d347
fix pow-mod
antoine-doucet Sep 9, 2020
2ebf8c9
allow passing error name
omelancon Sep 9, 2020
bcd2984
rename variable
omelancon Sep 9, 2020
4a4f907
rename syntax error to compilationError
omelancon Sep 9, 2020
ab4d659
temporary revert
omelancon Sep 9, 2020
0680b75
include style in bundle
omelancon Sep 10, 2020
4b0d14d
make exercice2f
omelancon Sep 10, 2020
d65749d
new stuff for quiz
feeley Sep 10, 2020
144be72
Merge branch 'master' of https://github.com/udem-dlteam/codeboot into…
omelancon Sep 10, 2020
3311fbf
Merge pull request #78 from antoine-doucet/fix-pow-mod
feeley Sep 11, 2020
fcb31b8
remove backup file
omelancon Sep 11, 2020
0babe23
Merge pull request #80 from udem-dlteam/omelancon/styleError
omelancon Sep 11, 2020
e84ad9a
add syntaxError
omelancon Sep 11, 2020
4d77773
fix typo
omelancon Sep 11, 2020
f4191cb
Merge pull request #81 from udem-dlteam/omelancon/add-syntax-error
feeley Sep 11, 2020
ea45c90
Fix CSS for quiz
feeley Sep 11, 2020
f1c4a9b
use pyinterp function for displaying bubble
omelancon Sep 16, 2020
d8d2b9b
deactivate pyinterp safe-for-space mode in codeboot
omelancon Sep 17, 2020
f8a41c2
printed environment is now a list
omelancon Sep 18, 2020
89a68b5
Merge pull request #82 from udem-dlteam/omelancon/bubble-env
omelancon Sep 18, 2020
b8689b6
Fix display glitches
feeley Sep 18, 2020
c55519b
Merge pull request #83 from udem-dlteam/feeley/fix-ui-glitches
feeley Sep 18, 2020
0a7a1b0
Add a JavaScript interface between pyinterp and codeboot
FredericHamel Sep 19, 2020
7ae921b
Excludes 'turtle' module from global variables listing
FredericHamel Sep 19, 2020
3a05749
Merge pull request #85 from udem-dlteam/FredericHamel/implement-turtl…
feeley Sep 21, 2020
4fbb0bf
add log2
omelancon Sep 21, 2020
1e786de
Merge pull request #86 from udem-dlteam/omelancon/log2
omelancon Sep 21, 2020
97aee6e
update names printed in bubbles
omelancon Sep 22, 2020
790cd20
defer choice of bubble variables entirely to the interpreter
omelancon Sep 23, 2020
5bf8b90
Merge pull request #87 from udem-dlteam/omelancon/global-env
feeley Sep 23, 2020
dbfd483
breakpoint prototype
omelancon Sep 23, 2020
2f1a58b
correctly implement breakpoint
omelancon Sep 23, 2020
c468cb5
partial sleep implementation (does not preserve mode)
omelancon Sep 24, 2020
d5223c2
preserve previous mode on sleep
omelancon Sep 24, 2020
78e2959
move sleep logic to VM api
omelancon Sep 24, 2020
03dfdb0
cntinue after sleep with same delay
omelancon Sep 24, 2020
a7e8eda
implement sleep bubble
omelancon Sep 24, 2020
04a1a56
Merge pull request #88 from udem-dlteam/omelancon/breakpoint
feeley Sep 24, 2020
0e5f691
remove empty env in sleep bubble
omelancon Sep 24, 2020
566c635
Merge pull request #89 from udem-dlteam/omelancon/fix-sleep-bubble
feeley Sep 24, 2020
ab6cdf6
Add mouse event handling for python and fixing mouse event handling i…
FredericHamel Sep 26, 2020
89627b7
Merge pull request #90 from udem-dlteam/FredericHamel/add-mouse-event
feeley Sep 27, 2020
8e08204
Allow console to be resized, and other UI improvements
feeley Oct 2, 2020
d59e63b
Merge pull request #91 from udem-dlteam/feeley/resizable-console
feeley Oct 2, 2020
4fc5553
Add missing resources
feeley Oct 2, 2020
fca7366
Fix bubble going to upper left corner and bad resizing on paste
feeley Oct 2, 2020
e4e5175
Fix dual scrollbar issue and resizing after closing all editors
feeley Oct 2, 2020
fc5e416
Add pixels graphics bindings to python
FredericHamel Oct 3, 2020
5b8ff51
Merge pull request #92 from udem-dlteam/FredericHamel/pixels-graphics
feeley Oct 3, 2020
9e929bd
update makefile to regenerate venv for zipi in case it contains absol…
omelancon Oct 7, 2020
9c051ba
Add visible tabs, 79 column marker, mouse key status, and persistent …
feeley Oct 8, 2020
2cfa497
Merge pull request #94 from udem-dlteam/feeley/tabs-79cols-mouse-save…
feeley Oct 8, 2020
851d4e4
Add CodeMirror rulers.js
feeley Oct 8, 2020
7426f92
Merge branch 'master' of github.com:udem-dlteam/codeboot
feeley Oct 8, 2020
b8c6725
add builtins for pyinterp interfacing with file system
omelancon Oct 9, 2020
4ab0172
give runtime a way to determine if code being executed is from the repl
omelancon Oct 9, 2020
29e965d
Fix glitches of pixels window
feeley Oct 10, 2020
c38d3ac
Merge pull request #96 from udem-dlteam/feeley/pixels
feeley Oct 10, 2020
33c7b4c
minor changes
omelancon Oct 10, 2020
c632c7a
Merge pull request #95 from udem-dlteam/omelancon/import
omelancon Oct 10, 2020
a166d1c
Change API of getMouse (int coordinates) and color range (4 bits per …
feeley Oct 10, 2020
6eb797f
Merge pull request #97 from udem-dlteam/feeley/api-mouse-pixels-screen
feeley Oct 10, 2020
79728ac
Replace getMouseDown by getMouseButton
feeley Oct 10, 2020
30aa3cb
Merge pull request #98 from udem-dlteam/feeley/mouse-button
feeley Oct 10, 2020
9e01ed3
implement interface to allow interpreter to maniuplate containers
omelancon Oct 10, 2020
a9ccd31
Merge pull request #99 from udem-dlteam/omelancon/import
feeley Oct 10, 2020
5749e41
Release of v3.1.0
feeley Oct 12, 2020
06d5124
Fix mouse event issues and playground refresh
feeley Oct 14, 2020
c5e3453
Merge pull request #100 from udem-dlteam/feeley/fix-mouse-events-and-…
feeley Oct 14, 2020
eb96303
v3.1.2
feeley Oct 14, 2020
51c66d4
version 3.1.5
feeley Nov 11, 2020
9ab6278
add missing css file
feeley Nov 11, 2020
65ce4b2
Add support for Python scripts in .html
feeley Nov 15, 2020
741e605
Preliminary support for DOM event handling
feeley Nov 19, 2020
13bd0ba
Support handling DOM events in Python
feeley Nov 19, 2020
ddcde79
Add support for Python scripts in .html
feeley Nov 21, 2020
fa900f6
add runtime functions to detect domelements from pyinterp
omelancon Nov 22, 2020
75012d2
Merge branch 'master' of https://github.com/udem-dlteam/codeboot
omelancon Nov 22, 2020
d52fead
Add getter/setter for elem.value
feeley Nov 23, 2020
fee4b01
Fix handling of DOM events so that HTML containing event handlers can…
feeley Dec 19, 2020
4c8df0c
Fix codeboot build
FredericHamel Apr 4, 2021
e3be296
Merge pull request #101 from udem-dlteam/FredericHamel/fix-codeboot-b…
feeley Apr 4, 2021
e6c3ef2
include pyinterp
omelancon Jun 22, 2021
8b700c9
stop deleting pyinterp on make clean
omelancon Aug 31, 2021
8cd6871
remove venv from repo
omelancon Sep 20, 2021
a12e346
update gitignore
omelancon Sep 20, 2021
a3247be
fix condition of while loop being printed on last iteration
omelancon Sep 20, 2021
1df4359
add codeboot bundle to repo
omelancon Sep 20, 2021
0ad8626
fix last expression of files being printed in repl
omelancon Sep 27, 2021
6178e1d
bump minor to 3.1.9
omelancon Sep 28, 2021
bfc190b
fix turtle going to the moon when calling pu() multiple times
omelancon Oct 31, 2021
7f617a2
update bundle.js file
omelancon Oct 31, 2021
0b3346d
bump micro
omelancon Oct 31, 2021
0eeb1dc
Merge pull request #102 from udem-dlteam/omelancon/fix-pu-pd
omelancon Oct 31, 2021
4fdd8e7
add hack in makefile to circumvent inliner bug
omelancon Oct 31, 2021
de303b3
Revert "Merge pull request #102 from udem-dlteam/omelancon/fix-pu-pd"
omelancon Oct 31, 2021
37249d9
revert bundles
omelancon Oct 31, 2021
3917b4c
fix input function behavior on clicking cancel button
omelancon Nov 1, 2021
86b8343
fix bug when calling some event handlers
omelancon Nov 25, 2021
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
.project
.settings
pyinterp/venv
1,636 changes: 1,636 additions & 0 deletions codeboot.bundle.css

Large diffs are not rendered by default.

42,159 changes: 42,159 additions & 0 deletions codeboot.bundle.js

Large diffs are not rendered by default.

Loading