[Snek] [keith-packard/snek] 8328b6: snekde: Add page-up/page-down keystrokes
Keith Packard
noreply at github.com
Sun Jun 9 15:17:49 PDT 2019
Branch: refs/heads/debian
Home: https://github.com/keith-packard/snek
Commit: 8328b6c0020e4aa9dd53343c98ff69e22ee5cefc
https://github.com/keith-packard/snek/commit/8328b6c0020e4aa9dd53343c98ff69e22ee5cefc
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-22 (Wed, 22 May 2019)
Changed paths:
M snekde/snekde.py
Log Message:
-----------
snekde: Add page-up/page-down keystrokes
Use F7 to switch between frames
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: fcf51dff2f5a488a59524e7ad4ccbb598cc4399b
https://github.com/keith-packard/snek/commit/fcf51dff2f5a488a59524e7ad4ccbb598cc4399b
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-22 (Wed, 22 May 2019)
Changed paths:
M snekde/snekde.py
Log Message:
-----------
snekde: un-break esc prefix for function keys
To use 'esc' to get out of dialogs, I removed the esc handling
from my_getch. This adds that code back to run() where it gets
used for all non-modal entry.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 2109b553185e3c4b40ef5dd442990a9dfddeafea
https://github.com/keith-packard/snek/commit/2109b553185e3c4b40ef5dd442990a9dfddeafea
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-22 (Wed, 22 May 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Fix up snekde keyboard usage documentation
Add page-up/page-down
Fix pane-switch
Explain esc usage.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 5797ba834dd1a019f140b3a559f23e130496aba1
https://github.com/keith-packard/snek/commit/5797ba834dd1a019f140b3a559f23e130496aba1
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-22 (Wed, 22 May 2019)
Changed paths:
M examples/neopixels.py
Log Message:
-----------
examples: Use playground buttons to control brightness in neopixels
This demonstrates using the buttons to adjust the overall brightness
of the NeoPixels.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 1a779edcfd707a5b776710d28c8244e3e895d22c
https://github.com/keith-packard/snek/commit/1a779edcfd707a5b776710d28c8244e3e895d22c
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-25 (Sat, 25 May 2019)
Changed paths:
M snek-frame.c
M snek.h
Log Message:
-----------
snek_frame_mark_global value is never used, switch to void
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f5a02e5270d5e68497d305dd5fd5e538736e60c0
https://github.com/keith-packard/snek/commit/f5a02e5270d5e68497d305dd5fd5e538736e60c0
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-25 (Sat, 25 May 2019)
Changed paths:
M snek-frame.c
Log Message:
-----------
Check frame in snek_variable_lookup
Instead of callers. This also catches more cases where this is used,
which might happen if memory allocation fails.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 51d262a0b26a4abde2f7bd595d209e263b06360e
https://github.com/keith-packard/snek/commit/51d262a0b26a4abde2f7bd595d209e263b06360e
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-26 (Sun, 26 May 2019)
Changed paths:
M snek-frame.c
Log Message:
-----------
Create snek_globals in snek_pick_frame instead of snek_frame_lookup
This seems cleaner as it creates the global frame precisely where it
is referenced.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 5db814f4a5f921c6824ebec15f51d3d82b5fd8d1
https://github.com/keith-packard/snek/commit/5db814f4a5f921c6824ebec15f51d3d82b5fd8d1
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-26 (Sun, 26 May 2019)
Changed paths:
M snek-parse.c
Log Message:
-----------
Stop parsing on error in non-interactive mode
This causes non-embedded snek versions to exit at the first error,
instead of continuing.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 014c342011fb6af8bfbb026887978724cea79dd4
https://github.com/keith-packard/snek/commit/014c342011fb6af8bfbb026887978724cea79dd4
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-26 (Sun, 26 May 2019)
Changed paths:
M snek-code.c
Log Message:
-----------
Require in-scope definition of op= targets
When performing an operator assignment (e.g. +=), a variable on the
LHS must have been declared in-scope either by creating a local
variable or defining the name as global.
Fortunately, the 'snek_op_is_local' function does just the check we
need -- this looks for the name in the local frame, which is true
either if the name references a local variable, or if the name is
marked global.
We just need to check for the op= case, and whether there is a local
frame in effect.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: c2c43214406f379d939e63c463e9f6593d7da99e
https://github.com/keith-packard/snek/commit/c2c43214406f379d939e63c463e9f6593d7da99e
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-26 (Sun, 26 May 2019)
Changed paths:
M test/Makefile
A test/scoping-global.py
A test/scoping-local.py
A test/scoping-no-decl.py
Log Message:
-----------
test: Add op= scoping rules tests
These test the special op= scoping rules where a variable on the LHS
must be declared in-scope.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: eb3c050f18c88d914fcbd3333aa7c50d1b21472f
https://github.com/keith-packard/snek/commit/eb3c050f18c88d914fcbd3333aa7c50d1b21472f
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-26 (Sun, 26 May 2019)
Changed paths:
M itsybitsy-snek/ao-snek-itsybitsy.c
Log Message:
-----------
itsybitsy-snek: Initialize port variables after 'reset'
Should still probably set all of the ports to input too, but
we don't have space in the ROM yet.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 3c3c8bafa6e6eebd4c6ddb285370858494e069cd
https://github.com/keith-packard/snek/commit/3c3c8bafa6e6eebd4c6ddb285370858494e069cd
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-26 (Sun, 26 May 2019)
Changed paths:
M samd21/ao-snek.c
Log Message:
-----------
samd21: Don't set 'interactive' before snek_parse
interactive should be controled by the eeprom code alone.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 20b174da71ba4c9afd55ba804f65fe7812e4a737
https://github.com/keith-packard/snek/commit/20b174da71ba4c9afd55ba804f65fe7812e4a737
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-27 (Mon, 27 May 2019)
Changed paths:
A avr/ao-snek-avr.c
M itsybitsy-snek/Makefile
M itsybitsy-snek/ao-pins.h
R itsybitsy-snek/ao-snek-itsybitsy.c
Log Message:
-----------
avr: Make atmega32u4 init code sharable
Move platform-specific definitions to ao-pins.h so that we can build
more atmega 32u4 targets.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: d03561da79c99f00f976cc69bef91e6aea4e6d1a
https://github.com/keith-packard/snek/commit/d03561da79c99f00f976cc69bef91e6aea4e6d1a
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-27 (Mon, 27 May 2019)
Changed paths:
M doc/snek.adoc
M itsybitsy-snek/snek-itsybitsy-install.1
M itsybitsy-snek/snek-itsybitsy-install.in
A itsybitsy3v-snek/.gitignore
A itsybitsy3v-snek/Makefile
A itsybitsy3v-snek/ao-pins.h
A itsybitsy3v-snek/itsybitsy3v.builtin
M snek-install.defs
Log Message:
-----------
itsybitsy3v-snek: Add 3v itsybitsy target
This is the same as the regular 5v itsybitsy, except that it runs at 3V and at 8MHz
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ca601a5aa260bcf817c924be999a2aced6007d17
https://github.com/keith-packard/snek/commit/ca601a5aa260bcf817c924be999a2aced6007d17
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-27 (Mon, 27 May 2019)
Changed paths:
M Makefile
R atmega/snek-atmega-eeprom.c
R atmega/snek-atmega-serial.c
R atmega/snek-atmega.h
R avr/ao-adc-avr.c
R avr/ao-arch-funcs.h
R avr/ao-arch.h
R avr/ao-snek-avr.c
R avr/ao-usb-avr.c
R avr/snek-avr-eeprom.c
R avr/snek-avr.defs
R avr/snek-avr.h
R avr/snek-avr51.x
A chips/atmega/snek-atmega-eeprom.c
A chips/atmega/snek-atmega-serial.c
A chips/atmega/snek-atmega.h
A chips/avr/ao-adc-avr.c
A chips/avr/ao-arch-funcs.h
A chips/avr/ao-arch.h
A chips/avr/ao-snek-avr.c
A chips/avr/ao-usb-avr.c
A chips/avr/snek-avr-eeprom.c
A chips/avr/snek-avr.defs
A chips/avr/snek-avr.h
A chips/avr/snek-avr51.x
A chips/samd21/ao-adc-samd21.c
A chips/samd21/ao-adc-samd21.h
A chips/samd21/ao-arch-funcs.h
A chips/samd21/ao-arch.h
A chips/samd21/ao-dma-samd21.c
A chips/samd21/ao-dma-samd21.h
A chips/samd21/ao-flash-samd21.c
A chips/samd21/ao-flash.h
A chips/samd21/ao-interrupt.c
A chips/samd21/ao-neopixel.c
A chips/samd21/ao-serial-samd21.c
A chips/samd21/ao-serial.h
A chips/samd21/ao-snek.c
A chips/samd21/ao-snek.h
A chips/samd21/ao-stdio.c
A chips/samd21/ao-tc-samd21.c
A chips/samd21/ao-tc-samd21.h
A chips/samd21/ao-tcc-samd21.c
A chips/samd21/ao-tcc-samd21.h
A chips/samd21/ao-timer.c
A chips/samd21/ao-usb-samd21.c
A chips/samd21/registers.ld
A chips/samd21/samd21.h
A chips/samd21/snek-altos.builtin
A chips/samd21/snek-altos.c
A chips/samd21/snek-eeprom.c
A chips/samd21/snek-gpio.c
A chips/samd21/snek-samd21.defs
A chips/samd21/snek-samd21.ld
A chips/samd21/uf2conv.py
R crickit-snek/.gitignore
R crickit-snek/Makefile
R crickit-snek/ao-pins.h
R crickit-snek/crickit-snek.builtin
R feather-snek/.gitignore
R feather-snek/Makefile
R feather-snek/ao-pins.h
R feather-snek/feather-snek.builtin
A hosts/linux/.gitignore
A hosts/linux/Makefile
A hosts/linux/linux-install.sh
A hosts/macosx/.gitignore
A hosts/macosx/Info.plist.in
A hosts/macosx/Makefile
A hosts/macosx/ReadMe-Mac.rtf
A hosts/macosx/build-mac
A hosts/macosx/install-macosx
A hosts/macosx/runsnek
A hosts/macosx/runsnekde
A hosts/macosx/snek-Info.plist.in
A hosts/macosx/snek-script
A hosts/macosx/snekde-Info.plist.in
A hosts/macosx/snekde-script
A hosts/windows/.gitignore
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/Example.nsi
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv-Test.exe
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.c
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsp
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsw
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/Readme.txt
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.inf
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.sys
A hosts/windows/Instdrv/NSIS/Includes/java.nsh
A hosts/windows/Instdrv/NSIS/Includes/refresh-sh.nsh
A hosts/windows/Instdrv/NSIS/Plugins/InstDrv.dll
A hosts/windows/Makefile
A hosts/windows/altusmetrum.cat
A hosts/windows/altusmetrum.inf
A hosts/windows/pyapp_snek.nsi
A hosts/windows/snek-windows.builtin
A hosts/windows/snek-windows.c
A hosts/windows/snek-windows.h
A hosts/windows/snek.cfg.in
R itsybitsy-snek/.gitignore
R itsybitsy-snek/Makefile
R itsybitsy-snek/ao-pins.h
R itsybitsy-snek/itsybitsy.builtin
R itsybitsy-snek/snek-itsybitsy-install.1
R itsybitsy-snek/snek-itsybitsy-install.in
R itsybitsy3v-snek/.gitignore
R itsybitsy3v-snek/Makefile
R itsybitsy3v-snek/ao-pins.h
R itsybitsy3v-snek/itsybitsy3v.builtin
R linux/.gitignore
R linux/Makefile
R linux/linux-install.sh
R macosx/.gitignore
R macosx/Info.plist.in
R macosx/Makefile
R macosx/ReadMe-Mac.rtf
R macosx/build-mac
R macosx/install-macosx
R macosx/runsnek
R macosx/runsnekde
R macosx/snek-Info.plist.in
R macosx/snek-script
R macosx/snekde-Info.plist.in
R macosx/snekde-script
R metro-snek/.gitignore
R metro-snek/Makefile
R metro-snek/ao-pins.h
R metro-snek/metro-snek.builtin
R playground-snek/.gitignore
R playground-snek/Makefile
R playground-snek/ao-pins.h
R playground-snek/playground-snek.builtin
A ports/crickit-snek/.gitignore
A ports/crickit-snek/Makefile
A ports/crickit-snek/ao-pins.h
A ports/crickit-snek/crickit-snek.builtin
A ports/feather-snek/.gitignore
A ports/feather-snek/Makefile
A ports/feather-snek/ao-pins.h
A ports/feather-snek/feather-snek.builtin
A ports/itsybitsy-snek/.gitignore
A ports/itsybitsy-snek/Makefile
A ports/itsybitsy-snek/ao-pins.h
A ports/itsybitsy-snek/itsybitsy.builtin
A ports/itsybitsy-snek/snek-itsybitsy-install.1
A ports/itsybitsy-snek/snek-itsybitsy-install.in
A ports/itsybitsy3v-snek/.gitignore
A ports/itsybitsy3v-snek/Makefile
A ports/itsybitsy3v-snek/ao-pins.h
A ports/itsybitsy3v-snek/itsybitsy3v.builtin
A ports/metro-snek/.gitignore
A ports/metro-snek/Makefile
A ports/metro-snek/ao-pins.h
A ports/metro-snek/metro-snek.builtin
A ports/playground-snek/.gitignore
A ports/playground-snek/Makefile
A ports/playground-snek/ao-pins.h
A ports/playground-snek/playground-snek.builtin
A ports/posix/.gitignore
A ports/posix/Makefile
A ports/posix/snek-curses.c
A ports/posix/snek-main.c
A ports/posix/snek-posix.builtin
A ports/posix/snek-posix.c
A ports/posix/snek-posix.h
A ports/posix/snek.1
A ports/posix/snek.desktop.in
A ports/snek-duino/.gitignore
A ports/snek-duino/Makefile
A ports/snek-duino/snek-duino-install.1
A ports/snek-duino/snek-duino-install.in
A ports/snek-duino/snek-duino.builtin
A ports/snek-duino/snek-duino.c
A ports/snek-mega/.gitignore
A ports/snek-mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
A ports/snek-mega/Makefile
A ports/snek-mega/ef_acosh.c
A ports/snek-mega/ef_atanh.c
A ports/snek-mega/ef_remainder.c
A ports/snek-mega/erf_gamma.c
A ports/snek-mega/erf_lgamma.c
A ports/snek-mega/exp2.c
A ports/snek-mega/fdlibm.h
A ports/snek-mega/kf_cos.c
A ports/snek-mega/kf_sin.c
A ports/snek-mega/machine/ieeefp.h
A ports/snek-mega/math_config.h
A ports/snek-mega/sf_asinh.c
A ports/snek-mega/sf_erf.c
A ports/snek-mega/sf_exp.c
A ports/snek-mega/sf_exp2.c
A ports/snek-mega/sf_log1p.c
A ports/snek-mega/sf_log2.c
A ports/snek-mega/sf_log2_data.c
A ports/snek-mega/snek-mega-install.1
A ports/snek-mega/snek-mega-install.in
A ports/snek-mega/snek-mega-math.builtin
A ports/snek-mega/snek-mega-math.c
A ports/snek-mega/snek-mega-math.h
A ports/snek-mega/snek-mega.builtin
A ports/snek-mega/snek-mega.c
A ports/snek-mega/wf_tgamma.c
R posix/.gitignore
R posix/Makefile
R posix/snek-curses.c
R posix/snek-main.c
R posix/snek-posix.builtin
R posix/snek-posix.c
R posix/snek-posix.h
R posix/snek.1
R posix/snek.desktop.in
R samd21/ao-adc-samd21.c
R samd21/ao-adc-samd21.h
R samd21/ao-arch-funcs.h
R samd21/ao-arch.h
R samd21/ao-dma-samd21.c
R samd21/ao-dma-samd21.h
R samd21/ao-flash-samd21.c
R samd21/ao-flash.h
R samd21/ao-interrupt.c
R samd21/ao-neopixel.c
R samd21/ao-serial-samd21.c
R samd21/ao-serial.h
R samd21/ao-snek.c
R samd21/ao-snek.h
R samd21/ao-stdio.c
R samd21/ao-tc-samd21.c
R samd21/ao-tc-samd21.h
R samd21/ao-tcc-samd21.c
R samd21/ao-tcc-samd21.h
R samd21/ao-timer.c
R samd21/ao-usb-samd21.c
R samd21/registers.ld
R samd21/samd21.h
R samd21/snek-altos.builtin
R samd21/snek-altos.c
R samd21/snek-eeprom.c
R samd21/snek-gpio.c
R samd21/snek-samd21.defs
R samd21/snek-samd21.ld
R samd21/uf2conv.py
R snek-duino/.gitignore
R snek-duino/Makefile
R snek-duino/snek-duino-install.1
R snek-duino/snek-duino-install.in
R snek-duino/snek-duino.builtin
R snek-duino/snek-duino.c
M snek-install.defs
R snek-mega/.gitignore
R snek-mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
R snek-mega/Makefile
R snek-mega/ef_acosh.c
R snek-mega/ef_atanh.c
R snek-mega/ef_remainder.c
R snek-mega/erf_gamma.c
R snek-mega/erf_lgamma.c
R snek-mega/exp2.c
R snek-mega/fdlibm.h
R snek-mega/kf_cos.c
R snek-mega/kf_sin.c
R snek-mega/machine/ieeefp.h
R snek-mega/math_config.h
R snek-mega/sf_asinh.c
R snek-mega/sf_erf.c
R snek-mega/sf_exp.c
R snek-mega/sf_exp2.c
R snek-mega/sf_log1p.c
R snek-mega/sf_log2.c
R snek-mega/sf_log2_data.c
R snek-mega/snek-mega-install.1
R snek-mega/snek-mega-install.in
R snek-mega/snek-mega-math.builtin
R snek-mega/snek-mega-math.c
R snek-mega/snek-mega-math.h
R snek-mega/snek-mega.builtin
R snek-mega/snek-mega.c
R snek-mega/wf_tgamma.c
M snek.defs
R windows/.gitignore
R windows/Instdrv/NSIS/Contrib/InstDrv/Example.nsi
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv-Test.exe
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.c
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsp
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsw
R windows/Instdrv/NSIS/Contrib/InstDrv/Readme.txt
R windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.inf
R windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.sys
R windows/Instdrv/NSIS/Includes/java.nsh
R windows/Instdrv/NSIS/Includes/refresh-sh.nsh
R windows/Instdrv/NSIS/Plugins/InstDrv.dll
R windows/Makefile
R windows/altusmetrum.cat
R windows/altusmetrum.inf
R windows/pyapp_snek.nsi
R windows/snek-windows.builtin
R windows/snek-windows.c
R windows/snek-windows.h
R windows/snek.cfg.in
Log Message:
-----------
Restructure tree
The top-level directory is getting crowded. Make some subdirs:
ports: Snek ports. All of these build snek for some device
chips: SoC-specific code. To be used in building snek for some device
hosts: Snek hosts. Targets for installers and places to run snekde
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f8c88cc9a19837bb128c43a6ce2666e3ef672def
https://github.com/keith-packard/snek/commit/f8c88cc9a19837bb128c43a6ce2666e3ef672def
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-30 (Thu, 30 May 2019)
Changed paths:
M snek.h
Log Message:
-----------
Clean up snek-lex.c references in snek.h
These were split into snek-lex.l and snek-lex.c sections
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 46898724e43d92b3accb3cfa5f3364c5fc02eef3
https://github.com/keith-packard/snek/commit/46898724e43d92b3accb3cfa5f3364c5fc02eef3
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-30 (Thu, 30 May 2019)
Changed paths:
M snek-lex.c
M snek-parse.c
M snek.h
Log Message:
-----------
Clean up parse/lex state variable declarations
Rearrange to clarify which varaiables need to be reset during error
recovery.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: e7ef9e4669a70dfc7ea40a6c8b4bba90b9d34e27
https://github.com/keith-packard/snek/commit/e7ef9e4669a70dfc7ea40a6c8b4bba90b9d34e27
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-30 (Thu, 30 May 2019)
Changed paths:
M snek-lex.c
Log Message:
-----------
Share snek_ignore_nl underflow checks
Avoid duplicating code in all three places using this pattern.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 56be54730df71a017262fb63349d5e857e01421e
https://github.com/keith-packard/snek/commit/56be54730df71a017262fb63349d5e857e01421e
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-30 (Thu, 30 May 2019)
Changed paths:
M snek-code.c
M snek-parse.c
M snek.h
Log Message:
-----------
Reset parser more completely after errors
Clear up lexer and code gen state too.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 67556441326b306a626674535e4acf9acb3c17d4
https://github.com/keith-packard/snek/commit/67556441326b306a626674535e4acf9acb3c17d4
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-30 (Thu, 30 May 2019)
Changed paths:
M ports/posix/snek-main.c
Log Message:
-----------
posix: Add '--file' option
This reads a file before entering the command line loop to allow
pre-loading of code, much like the embedded ports
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 319cae7a0dc414f6581583ccb4cbf83d4cbca8fd
https://github.com/keith-packard/snek/commit/319cae7a0dc414f6581583ccb4cbf83d4cbca8fd
Author: Keith Packard <keithp at keithp.com>
Date: 2019-05-30 (Thu, 30 May 2019)
Changed paths:
M chips/atmega/snek-atmega-eeprom.c
M chips/avr/snek-avr-eeprom.c
M chips/samd21/snek-eeprom.c
Log Message:
-----------
chips/avr, chips/atmega, chips/samd21: Return EOF after finishing EEPROM
This causes the parser to return, which will cause it to completely
reset the parse state, cleaning up after indentation or any potential
errors in the EEPROM.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 7c80abc60d891f1785183311ae97b4c194262d63
https://github.com/keith-packard/snek/commit/7c80abc60d891f1785183311ae97b4c194262d63
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-01 (Sat, 01 Jun 2019)
Changed paths:
M chips/avr/ao-snek-avr.c
Log Message:
-----------
chips/avr: Clear DDR and PORT registers during 'reset' operation
This chip doesn't reboot at reset time so that USB stays active, this
means we need to carefully reset all of the GPIO registers. We
probably need to do more careful resetting of the timer registers too,
but there isn't ROM space available today.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 981377f5e3f357eaae0bad651c5316ad28d4347d
https://github.com/keith-packard/snek/commit/981377f5e3f357eaae0bad651c5316ad28d4347d
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-01 (Sat, 01 Jun 2019)
Changed paths:
M doc/snek.adoc
R ports/itsybitsy-snek/.gitignore
R ports/itsybitsy-snek/Makefile
R ports/itsybitsy-snek/ao-pins.h
R ports/itsybitsy-snek/itsybitsy.builtin
R ports/itsybitsy-snek/snek-itsybitsy-install.1
R ports/itsybitsy-snek/snek-itsybitsy-install.in
A ports/itsybitsy5v-snek/.gitignore
A ports/itsybitsy5v-snek/Makefile
A ports/itsybitsy5v-snek/ao-pins.h
A ports/itsybitsy5v-snek/itsybitsy5v.builtin
A ports/itsybitsy5v-snek/snek-itsybitsy-install.1
A ports/itsybitsy5v-snek/snek-itsybitsy-install.in
M snek-install.defs
Log Message:
-----------
ports: Rename itsybitsy-snek to itsybitsy5v-snek
Makes it easier to know which version to install.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: be179452b4a8eb1a8c6e37cba9bcd31e8de934b0
https://github.com/keith-packard/snek/commit/be179452b4a8eb1a8c6e37cba9bcd31e8de934b0
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-01 (Sat, 01 Jun 2019)
Changed paths:
M ports/itsybitsy3v-snek/Makefile
Log Message:
-----------
ports/itsybitsy3v-snek: Change USB reported name to ItsyBitsy3vSnek
Have the USB information report a more useful name
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ddd306bece561a00a7d0deb6af0126d5e2fa5bf6
https://github.com/keith-packard/snek/commit/ddd306bece561a00a7d0deb6af0126d5e2fa5bf6
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-04 (Tue, 04 Jun 2019)
Changed paths:
M test/Makefile
Log Message:
-----------
test: Get SNEK_PORTS define from snek.defs
Instead of assuming ../posix, use $(SNEK_PORTS)/posix.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 6fe0b0c60a12c334c023a8daa20dee0bac7f2900
https://github.com/keith-packard/snek/commit/6fe0b0c60a12c334c023a8daa20dee0bac7f2900
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-04 (Tue, 04 Jun 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Fix index typo for sys.stdout.flush entry
Missing close paren.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: b93a44195c0f06c50428f0aea4efbe4f09cb3f32
https://github.com/keith-packard/snek/commit/b93a44195c0f06c50428f0aea4efbe4f09cb3f32
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-06 (Thu, 06 Jun 2019)
Changed paths:
M doc/snek.adoc
M hosts/linux/Makefile
R ports/crickit-snek/.gitignore
R ports/crickit-snek/Makefile
R ports/crickit-snek/ao-pins.h
R ports/crickit-snek/crickit-snek.builtin
A ports/crickit/.gitignore
A ports/crickit/Makefile
A ports/crickit/ao-pins.h
A ports/crickit/snek-crickit.builtin
A ports/duemilanove/.gitignore
A ports/duemilanove/Makefile
A ports/duemilanove/snek-duemilanove-install.1
A ports/duemilanove/snek-duemilanove-install.in
A ports/duemilanove/snek-duemilanove.builtin
A ports/duemilanove/snek-duemilanove.c
R ports/feather-snek/.gitignore
R ports/feather-snek/Makefile
R ports/feather-snek/ao-pins.h
R ports/feather-snek/feather-snek.builtin
A ports/feather/.gitignore
A ports/feather/Makefile
A ports/feather/ao-pins.h
A ports/feather/snek-feather.builtin
R ports/itsybitsy3v-snek/.gitignore
R ports/itsybitsy3v-snek/Makefile
R ports/itsybitsy3v-snek/ao-pins.h
R ports/itsybitsy3v-snek/itsybitsy3v.builtin
A ports/itsybitsy3v/.gitignore
A ports/itsybitsy3v/Makefile
A ports/itsybitsy3v/ao-pins.h
A ports/itsybitsy3v/snek-itsybitsy3v.builtin
R ports/itsybitsy5v-snek/.gitignore
R ports/itsybitsy5v-snek/Makefile
R ports/itsybitsy5v-snek/ao-pins.h
R ports/itsybitsy5v-snek/itsybitsy5v.builtin
R ports/itsybitsy5v-snek/snek-itsybitsy-install.1
R ports/itsybitsy5v-snek/snek-itsybitsy-install.in
A ports/itsybitsy5v/.gitignore
A ports/itsybitsy5v/Makefile
A ports/itsybitsy5v/ao-pins.h
A ports/itsybitsy5v/snek-itsybitsy-install.1
A ports/itsybitsy5v/snek-itsybitsy-install.in
A ports/itsybitsy5v/snek-itsybitsy5v.builtin
A ports/mega/.gitignore
A ports/mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
A ports/mega/Makefile
A ports/mega/ef_acosh.c
A ports/mega/ef_atanh.c
A ports/mega/ef_remainder.c
A ports/mega/erf_gamma.c
A ports/mega/erf_lgamma.c
A ports/mega/exp2.c
A ports/mega/fdlibm.h
A ports/mega/kf_cos.c
A ports/mega/kf_sin.c
A ports/mega/machine/ieeefp.h
A ports/mega/math_config.h
A ports/mega/sf_asinh.c
A ports/mega/sf_erf.c
A ports/mega/sf_exp.c
A ports/mega/sf_exp2.c
A ports/mega/sf_log1p.c
A ports/mega/sf_log2.c
A ports/mega/sf_log2_data.c
A ports/mega/snek-mega-install.1
A ports/mega/snek-mega-install.in
A ports/mega/snek-mega-math.builtin
A ports/mega/snek-mega-math.c
A ports/mega/snek-mega-math.h
A ports/mega/snek-mega.builtin
A ports/mega/snek-mega.c
A ports/mega/wf_tgamma.c
R ports/metro-snek/.gitignore
R ports/metro-snek/Makefile
R ports/metro-snek/ao-pins.h
R ports/metro-snek/metro-snek.builtin
A ports/metrom0/.gitignore
A ports/metrom0/Makefile
A ports/metrom0/ao-pins.h
A ports/metrom0/snek-metrom0.builtin
R ports/playground-snek/.gitignore
R ports/playground-snek/Makefile
R ports/playground-snek/ao-pins.h
R ports/playground-snek/playground-snek.builtin
A ports/playground/.gitignore
A ports/playground/Makefile
A ports/playground/ao-pins.h
A ports/playground/snek-playground.builtin
R ports/snek-duino/.gitignore
R ports/snek-duino/Makefile
R ports/snek-duino/snek-duino-install.1
R ports/snek-duino/snek-duino-install.in
R ports/snek-duino/snek-duino.builtin
R ports/snek-duino/snek-duino.c
R ports/snek-mega/.gitignore
R ports/snek-mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
R ports/snek-mega/Makefile
R ports/snek-mega/ef_acosh.c
R ports/snek-mega/ef_atanh.c
R ports/snek-mega/ef_remainder.c
R ports/snek-mega/erf_gamma.c
R ports/snek-mega/erf_lgamma.c
R ports/snek-mega/exp2.c
R ports/snek-mega/fdlibm.h
R ports/snek-mega/kf_cos.c
R ports/snek-mega/kf_sin.c
R ports/snek-mega/machine/ieeefp.h
R ports/snek-mega/math_config.h
R ports/snek-mega/sf_asinh.c
R ports/snek-mega/sf_erf.c
R ports/snek-mega/sf_exp.c
R ports/snek-mega/sf_exp2.c
R ports/snek-mega/sf_log1p.c
R ports/snek-mega/sf_log2.c
R ports/snek-mega/sf_log2_data.c
R ports/snek-mega/snek-mega-install.1
R ports/snek-mega/snek-mega-install.in
R ports/snek-mega/snek-mega-math.builtin
R ports/snek-mega/snek-mega-math.c
R ports/snek-mega/snek-mega-math.h
R ports/snek-mega/snek-mega.builtin
R ports/snek-mega/snek-mega.c
R ports/snek-mega/wf_tgamma.c
M snek-install.defs
Log Message:
-----------
ports: Rename embedded ports to snek-, remove snek from directory name
Makes the source tree simpler while also using consistent names for the binaries.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 287af7fa97982663a9938f8d3735bc70795d3e81
https://github.com/keith-packard/snek/commit/287af7fa97982663a9938f8d3735bc70795d3e81
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
A chips/samd21/ao-apa102.c
M chips/samd21/ao-snek.h
M chips/samd21/snek-gpio.c
M chips/samd21/snek-samd21.defs
Log Message:
-----------
chips/samd21: Add APA102 driver
This is another programmable full-color LED, but uses a two-wire
SPI-ish protocol. I've hooked it into the existing neopixel code and
use it when the user has provide two different pins to the talkto
function, the first is data, the second is clock.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 325c0282eb83c04833f1476b6ee2114c1960dba8
https://github.com/keith-packard/snek/commit/325c0282eb83c04833f1476b6ee2114c1960dba8
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
M ao/ao-led.c
M chips/samd21/ao-snek.c
M chips/samd21/ao-snek.h
Log Message:
-----------
chips/samd21: Make LED run indicator conditional
Disable the running indicator LED when the target doesn't define
AO_LED_TX. Disable the LED support when LEDS_AVAILABLE is not defined.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: ed158dcfbf0781fea49a6ab84b91be0fa050b90b
https://github.com/keith-packard/snek/commit/ed158dcfbf0781fea49a6ab84b91be0fa050b90b
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: anyplace → any place
Two words looks better to me
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 3d70626f3be7881a7f0c72916d198b5261bad914
https://github.com/keith-packard/snek/commit/3d70626f3be7881a7f0c72916d198b5261bad914
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Describe neopixels support for APA102 chips
AP102 chips have two pins for data/clock, so we can overload the
neopixel functionn to talk to them when Power and Direction are
different.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f1e57859636fed9e490a3d7cf312ca08fc4760b4
https://github.com/keith-packard/snek/commit/f1e57859636fed9e490a3d7cf312ca08fc4760b4
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
M doc/snek.adoc
A ports/itsybitsym0/.gitignore
A ports/itsybitsym0/Makefile
A ports/itsybitsym0/ao-pins.h
A ports/itsybitsym0/snek-itsybitsym0.builtin
M snek-install.defs
Log Message:
-----------
ports/itsybitsym0: Add Adafruit ItsyBitsy M0 support
This is another SAMD21 board with an APA102 device instead of a
NeoPixel. It also lacks a 32kHz xtal, so it runs off the internal
RC osc instead. The schematic has D6 and D8 labeled, but I can't see any
place they're available on the circuit board.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: d912f87b567460300babde11df3494da2a63443c
https://github.com/keith-packard/snek/commit/d912f87b567460300babde11df3494da2a63443c
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
M hosts/macosx/Makefile
Log Message:
-----------
ports/macosx: Always remove 'ports/macosx/snek' at 'make clean'
Don't depend on having a mac build machine available for this step
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 5fda63360827c2121921b25d9c705eccc7894921
https://github.com/keith-packard/snek/commit/5fda63360827c2121921b25d9c705eccc7894921
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
M hosts/linux/Makefile
R hosts/linux/linux-install.sh
A hosts/linux/linux-install.sh.in
Log Message:
-----------
hosts/linux: Ship mega and itsybitsy install scripts. Fix SNEK_VERSION in scripts
The scripts all include SNEK_VERSION, which needs to be adjusted to
the current version, so hack the shell script to patch that.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 8e123b84307b630c9d41cb8b79e09c8172acf287
https://github.com/keith-packard/snek/commit/8e123b84307b630c9d41cb8b79e09c8172acf287
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
M hosts/windows/Makefile
Log Message:
-----------
hosts/windows: snek.svg is in $(SNEK_ROOT), not ..
Fix path to locate the icon image file now that windows has been moved
down to the hosts sub-dir.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 16fb172451cfe9c2879ede6b0d1591ac4cbb21f7
https://github.com/keith-packard/snek/commit/16fb172451cfe9c2879ede6b0d1591ac4cbb21f7
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
M Makefile
Log Message:
-----------
Perform host 'make upload' in sub-shell
Otherwise, the 'cd' command won't work right
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 72343c148639dc0d4255c14686c56184468e5734
https://github.com/keith-packard/snek/commit/72343c148639dc0d4255c14686c56184468e5734
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-07 (Fri, 07 Jun 2019)
Changed paths:
M snekde/snekde.py
Log Message:
-----------
snekde: Call stdscr.clear() in screen_repaint
Windows curses doesn't seem to repaint the stdscr contents
if this isn't called.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 121f80cf4a7bae75ae3d5b6c1049b3e6cc7028e9
https://github.com/keith-packard/snek/commit/121f80cf4a7bae75ae3d5b6c1049b3e6cc7028e9
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-08 (Sat, 08 Jun 2019)
Changed paths:
M chips/samd21/ao-arch.h
M chips/samd21/ao-snek.h
M ports/crickit/ao-pins.h
M ports/feather/ao-pins.h
M ports/itsybitsym0/ao-pins.h
M ports/metrom0/ao-pins.h
M ports/playground/ao-pins.h
Log Message:
-----------
chips/samd21: Remove common definitions from ports/*/ao-pins.h
Move these to chips/samd21/ao-arch.h or chips/samd21/ao-snek.h as
appropriate.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 35f39220322d5b5aa306be34b64431aa82d39322
https://github.com/keith-packard/snek/commit/35f39220322d5b5aa306be34b64431aa82d39322
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-08 (Sat, 08 Jun 2019)
Changed paths:
M snek-code.c
Log Message:
-----------
Fix // and % operators to follow python3 spec
a // b is supposed to be floor(a/b)
a % b is supposed to be a - (a // b) * b
This also saves a few bytes compared with the broken int casting code on
8-bit targets, a nice bonus!
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f708cf504650bff7cc2e95df76ec1e418458de80
https://github.com/keith-packard/snek/commit/f708cf504650bff7cc2e95df76ec1e418458de80
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-08 (Sat, 08 Jun 2019)
Changed paths:
M test/op.py
Log Message:
-----------
test: Validate // and % operators
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 8fb94bde643c575a665e18ca42b64768b8635d45
https://github.com/keith-packard/snek/commit/8fb94bde643c575a665e18ca42b64768b8635d45
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M chips/avr/snek-avr-eeprom.c
Log Message:
-----------
chips/avr: Share functions in EEPROM code
This doesn't change what the code does, it just creates some shared
helper functions to reduce code size.
eeprom_showc -- send a character to stdout (avoids fetching stdout multiple times)
eeprom_getc -- fetch an eeprom byte at snek_eeprom_addr and increment it.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 3b2c5cc17ad923b14c8148479b61e63ef633e371
https://github.com/keith-packard/snek/commit/3b2c5cc17ad923b14c8148479b61e63ef633e371
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M doc/snek.adoc
M snek-list.c
M test/dict.py
Log Message:
-----------
For duplicate keys in dict imm, use last value instead of first
A dictionary immediate value is allowed to contain duplicate keys,
the last entry is supposed to be used for the resulting dictionary.
To fix this, the order in which entries are stored in the dictionary
just needs to be reversed.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f4958c34afc5f5d149cc9ba44753d3505a4a390f
https://github.com/keith-packard/snek/commit/f4958c34afc5f5d149cc9ba44753d3505a4a390f
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M chips/avr/snek-avr-eeprom.c
Log Message:
-----------
chips/avr: use ao_usb_putc instead of putc( , stdout)
Saves several bytes of text space... Sigh.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 66d7f64e2b54c4d12eac468ca84f9cb2914dd752
https://github.com/keith-packard/snek/commit/66d7f64e2b54c4d12eac468ca84f9cb2914dd752
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M doc/snek.adoc
M snek-builtin.c
Log Message:
-----------
Separate print params with space in output
Print takes multiple positional parameters which should be
separated with spaces on output.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 92442aec2714b86a33640aa22d7cc2e983ed0792
https://github.com/keith-packard/snek/commit/92442aec2714b86a33640aa22d7cc2e983ed0792
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Add cross references within the reference manual
This catches all of the 'below', 'above' and 'section' usages and provides
explicit links.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 411ee6ae6c6ec609b85c9001050ca8fdd2550107
https://github.com/keith-packard/snek/commit/411ee6ae6c6ec609b85c9001050ca8fdd2550107
Author: Bart Massey <bart at cs.pdx.edu>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Made various corrections to the book
Commit: d6819f4044a489f3fb190eb31a2011abccb14980
https://github.com/keith-packard/snek/commit/d6819f4044a489f3fb190eb31a2011abccb14980
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Clarify how the height machine works
Also fix 'a index' -> 'an index'
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 1bf05ff90edbb011a5cdcd6351413da0407efec7
https://github.com/keith-packard/snek/commit/1bf05ff90edbb011a5cdcd6351413da0407efec7
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M doc/Makefile
Log Message:
-----------
doc: Add '-v' to one of the asciidoctor invocations
This enables generating warnings for invalid references
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: cfb61c9be5f969d2baaeb22942bc9c0394105e91
https://github.com/keith-packard/snek/commit/cfb61c9be5f969d2baaeb22942bc9c0394105e91
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Fix invalid reference
<<list_and_tuples_tutorial>> → <<lists_and_tuples_tutorial>>
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 461db2a69c24a966f87856e60545d531fb487927
https://github.com/keith-packard/snek/commit/461db2a69c24a966f87856e60545d531fb487927
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: duemilanove -> Duemilanove
Capitalize this name consistently
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 04b0798fa7244d529b1fb2232919fc209befa550
https://github.com/keith-packard/snek/commit/04b0798fa7244d529b1fb2232919fc209befa550
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M hosts/linux/.gitignore
Log Message:
-----------
hosts/linux: Ignore generated linux-install.sh file
This is now generated so that it can include @SNEK_VERSION@
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f1e715f76ad9b2b065440846a285226978c0bb45
https://github.com/keith-packard/snek/commit/f1e715f76ad9b2b065440846a285226978c0bb45
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M test/scoping-local.py
Log Message:
-----------
test: Remove spurious ';' from scoping-local.py
Snek doesn't like trailing semicolons; probably need to fix the parser
at some point?
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 8bac19d19c66d63b00e9f6ac0ec35b49e9b51e92
https://github.com/keith-packard/snek/commit/8bac19d19c66d63b00e9f6ac0ec35b49e9b51e92
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M snek.defs
Log Message:
-----------
Version 1.0
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 2e319527c8e64a6d65ac5ee35461da38d705ee73
https://github.com/keith-packard/snek/commit/2e319527c8e64a6d65ac5ee35461da38d705ee73
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M Makefile
M ao/ao-led.c
R atmega/snek-atmega-eeprom.c
R atmega/snek-atmega-serial.c
R atmega/snek-atmega.h
R avr/ao-adc-avr.c
R avr/ao-arch-funcs.h
R avr/ao-arch.h
R avr/ao-usb-avr.c
R avr/snek-avr-eeprom.c
R avr/snek-avr.defs
R avr/snek-avr.h
R avr/snek-avr51.x
A chips/atmega/snek-atmega-eeprom.c
A chips/atmega/snek-atmega-serial.c
A chips/atmega/snek-atmega.h
A chips/avr/ao-adc-avr.c
A chips/avr/ao-arch-funcs.h
A chips/avr/ao-arch.h
A chips/avr/ao-snek-avr.c
A chips/avr/ao-usb-avr.c
A chips/avr/snek-avr-eeprom.c
A chips/avr/snek-avr.defs
A chips/avr/snek-avr.h
A chips/avr/snek-avr51.x
A chips/samd21/ao-adc-samd21.c
A chips/samd21/ao-adc-samd21.h
A chips/samd21/ao-apa102.c
A chips/samd21/ao-arch-funcs.h
A chips/samd21/ao-arch.h
A chips/samd21/ao-dma-samd21.c
A chips/samd21/ao-dma-samd21.h
A chips/samd21/ao-flash-samd21.c
A chips/samd21/ao-flash.h
A chips/samd21/ao-interrupt.c
A chips/samd21/ao-neopixel.c
A chips/samd21/ao-serial-samd21.c
A chips/samd21/ao-serial.h
A chips/samd21/ao-snek.c
A chips/samd21/ao-snek.h
A chips/samd21/ao-stdio.c
A chips/samd21/ao-tc-samd21.c
A chips/samd21/ao-tc-samd21.h
A chips/samd21/ao-tcc-samd21.c
A chips/samd21/ao-tcc-samd21.h
A chips/samd21/ao-timer.c
A chips/samd21/ao-usb-samd21.c
A chips/samd21/registers.ld
A chips/samd21/samd21.h
A chips/samd21/snek-altos.builtin
A chips/samd21/snek-altos.c
A chips/samd21/snek-eeprom.c
A chips/samd21/snek-gpio.c
A chips/samd21/snek-samd21.defs
A chips/samd21/snek-samd21.ld
A chips/samd21/uf2conv.py
R crickit-snek/.gitignore
R crickit-snek/Makefile
R crickit-snek/ao-pins.h
R crickit-snek/crickit-snek.builtin
M doc/Makefile
M doc/snek.adoc
M examples/neopixels.py
R feather-snek/.gitignore
R feather-snek/Makefile
R feather-snek/ao-pins.h
R feather-snek/feather-snek.builtin
A hosts/linux/.gitignore
A hosts/linux/Makefile
A hosts/linux/linux-install.sh.in
A hosts/macosx/.gitignore
A hosts/macosx/Info.plist.in
A hosts/macosx/Makefile
A hosts/macosx/ReadMe-Mac.rtf
A hosts/macosx/build-mac
A hosts/macosx/install-macosx
A hosts/macosx/runsnek
A hosts/macosx/runsnekde
A hosts/macosx/snek-Info.plist.in
A hosts/macosx/snek-script
A hosts/macosx/snekde-Info.plist.in
A hosts/macosx/snekde-script
A hosts/windows/.gitignore
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/Example.nsi
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv-Test.exe
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.c
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsp
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsw
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/Readme.txt
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.inf
A hosts/windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.sys
A hosts/windows/Instdrv/NSIS/Includes/java.nsh
A hosts/windows/Instdrv/NSIS/Includes/refresh-sh.nsh
A hosts/windows/Instdrv/NSIS/Plugins/InstDrv.dll
A hosts/windows/Makefile
A hosts/windows/altusmetrum.cat
A hosts/windows/altusmetrum.inf
A hosts/windows/pyapp_snek.nsi
A hosts/windows/snek-windows.builtin
A hosts/windows/snek-windows.c
A hosts/windows/snek-windows.h
A hosts/windows/snek.cfg.in
R itsybitsy-snek/.gitignore
R itsybitsy-snek/Makefile
R itsybitsy-snek/ao-pins.h
R itsybitsy-snek/ao-snek-itsybitsy.c
R itsybitsy-snek/itsybitsy.builtin
R itsybitsy-snek/snek-itsybitsy-install.1
R itsybitsy-snek/snek-itsybitsy-install.in
R linux/.gitignore
R linux/Makefile
R linux/linux-install.sh
R macosx/.gitignore
R macosx/Info.plist.in
R macosx/Makefile
R macosx/ReadMe-Mac.rtf
R macosx/build-mac
R macosx/install-macosx
R macosx/runsnek
R macosx/runsnekde
R macosx/snek-Info.plist.in
R macosx/snek-script
R macosx/snekde-Info.plist.in
R macosx/snekde-script
R metro-snek/.gitignore
R metro-snek/Makefile
R metro-snek/ao-pins.h
R metro-snek/metro-snek.builtin
R playground-snek/.gitignore
R playground-snek/Makefile
R playground-snek/ao-pins.h
R playground-snek/playground-snek.builtin
A ports/crickit/.gitignore
A ports/crickit/Makefile
A ports/crickit/ao-pins.h
A ports/crickit/snek-crickit.builtin
A ports/duemilanove/.gitignore
A ports/duemilanove/Makefile
A ports/duemilanove/snek-duemilanove-install.1
A ports/duemilanove/snek-duemilanove-install.in
A ports/duemilanove/snek-duemilanove.builtin
A ports/duemilanove/snek-duemilanove.c
A ports/feather/.gitignore
A ports/feather/Makefile
A ports/feather/ao-pins.h
A ports/feather/snek-feather.builtin
A ports/itsybitsy3v/.gitignore
A ports/itsybitsy3v/Makefile
A ports/itsybitsy3v/ao-pins.h
A ports/itsybitsy3v/snek-itsybitsy3v.builtin
A ports/itsybitsy5v/.gitignore
A ports/itsybitsy5v/Makefile
A ports/itsybitsy5v/ao-pins.h
A ports/itsybitsy5v/snek-itsybitsy-install.1
A ports/itsybitsy5v/snek-itsybitsy-install.in
A ports/itsybitsy5v/snek-itsybitsy5v.builtin
A ports/itsybitsym0/.gitignore
A ports/itsybitsym0/Makefile
A ports/itsybitsym0/ao-pins.h
A ports/itsybitsym0/snek-itsybitsym0.builtin
A ports/mega/.gitignore
A ports/mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
A ports/mega/Makefile
A ports/mega/ef_acosh.c
A ports/mega/ef_atanh.c
A ports/mega/ef_remainder.c
A ports/mega/erf_gamma.c
A ports/mega/erf_lgamma.c
A ports/mega/exp2.c
A ports/mega/fdlibm.h
A ports/mega/kf_cos.c
A ports/mega/kf_sin.c
A ports/mega/machine/ieeefp.h
A ports/mega/math_config.h
A ports/mega/sf_asinh.c
A ports/mega/sf_erf.c
A ports/mega/sf_exp.c
A ports/mega/sf_exp2.c
A ports/mega/sf_log1p.c
A ports/mega/sf_log2.c
A ports/mega/sf_log2_data.c
A ports/mega/snek-mega-install.1
A ports/mega/snek-mega-install.in
A ports/mega/snek-mega-math.builtin
A ports/mega/snek-mega-math.c
A ports/mega/snek-mega-math.h
A ports/mega/snek-mega.builtin
A ports/mega/snek-mega.c
A ports/mega/wf_tgamma.c
A ports/metrom0/.gitignore
A ports/metrom0/Makefile
A ports/metrom0/ao-pins.h
A ports/metrom0/snek-metrom0.builtin
A ports/playground/.gitignore
A ports/playground/Makefile
A ports/playground/ao-pins.h
A ports/playground/snek-playground.builtin
A ports/posix/.gitignore
A ports/posix/Makefile
A ports/posix/snek-curses.c
A ports/posix/snek-main.c
A ports/posix/snek-posix.builtin
A ports/posix/snek-posix.c
A ports/posix/snek-posix.h
A ports/posix/snek.1
A ports/posix/snek.desktop.in
R posix/.gitignore
R posix/Makefile
R posix/snek-curses.c
R posix/snek-main.c
R posix/snek-posix.builtin
R posix/snek-posix.c
R posix/snek-posix.h
R posix/snek.1
R posix/snek.desktop.in
R samd21/ao-adc-samd21.c
R samd21/ao-adc-samd21.h
R samd21/ao-arch-funcs.h
R samd21/ao-arch.h
R samd21/ao-dma-samd21.c
R samd21/ao-dma-samd21.h
R samd21/ao-flash-samd21.c
R samd21/ao-flash.h
R samd21/ao-interrupt.c
R samd21/ao-neopixel.c
R samd21/ao-serial-samd21.c
R samd21/ao-serial.h
R samd21/ao-snek.c
R samd21/ao-snek.h
R samd21/ao-stdio.c
R samd21/ao-tc-samd21.c
R samd21/ao-tc-samd21.h
R samd21/ao-tcc-samd21.c
R samd21/ao-tcc-samd21.h
R samd21/ao-timer.c
R samd21/ao-usb-samd21.c
R samd21/registers.ld
R samd21/samd21.h
R samd21/snek-altos.builtin
R samd21/snek-altos.c
R samd21/snek-eeprom.c
R samd21/snek-gpio.c
R samd21/snek-samd21.defs
R samd21/snek-samd21.ld
R samd21/uf2conv.py
M snek-builtin.c
M snek-code.c
R snek-duino/.gitignore
R snek-duino/Makefile
R snek-duino/snek-duino-install.1
R snek-duino/snek-duino-install.in
R snek-duino/snek-duino.builtin
R snek-duino/snek-duino.c
M snek-frame.c
M snek-install.defs
M snek-lex.c
M snek-list.c
R snek-mega/.gitignore
R snek-mega/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
R snek-mega/Makefile
R snek-mega/ef_acosh.c
R snek-mega/ef_atanh.c
R snek-mega/ef_remainder.c
R snek-mega/erf_gamma.c
R snek-mega/erf_lgamma.c
R snek-mega/exp2.c
R snek-mega/fdlibm.h
R snek-mega/kf_cos.c
R snek-mega/kf_sin.c
R snek-mega/machine/ieeefp.h
R snek-mega/math_config.h
R snek-mega/sf_asinh.c
R snek-mega/sf_erf.c
R snek-mega/sf_exp.c
R snek-mega/sf_exp2.c
R snek-mega/sf_log1p.c
R snek-mega/sf_log2.c
R snek-mega/sf_log2_data.c
R snek-mega/snek-mega-install.1
R snek-mega/snek-mega-install.in
R snek-mega/snek-mega-math.builtin
R snek-mega/snek-mega-math.c
R snek-mega/snek-mega-math.h
R snek-mega/snek-mega.builtin
R snek-mega/snek-mega.c
R snek-mega/wf_tgamma.c
M snek-parse.c
M snek.defs
M snek.h
M snekde/snekde.py
M test/Makefile
M test/dict.py
M test/op.py
A test/scoping-global.py
A test/scoping-local.py
A test/scoping-no-decl.py
R windows/.gitignore
R windows/Instdrv/NSIS/Contrib/InstDrv/Example.nsi
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv-Test.exe
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.c
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsp
R windows/Instdrv/NSIS/Contrib/InstDrv/InstDrv.dsw
R windows/Instdrv/NSIS/Contrib/InstDrv/Readme.txt
R windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.inf
R windows/Instdrv/NSIS/Contrib/InstDrv/ircomm2k.sys
R windows/Instdrv/NSIS/Includes/java.nsh
R windows/Instdrv/NSIS/Includes/refresh-sh.nsh
R windows/Instdrv/NSIS/Plugins/InstDrv.dll
R windows/Makefile
R windows/altusmetrum.cat
R windows/altusmetrum.inf
R windows/pyapp_snek.nsi
R windows/snek-windows.builtin
R windows/snek-windows.c
R windows/snek-windows.h
R windows/snek.cfg.in
Log Message:
-----------
Merge branch 'master' into debian
Commit: 5be79e4b3783cd8cb5bf5d8c33f88a21eaee8629
https://github.com/keith-packard/snek/commit/5be79e4b3783cd8cb5bf5d8c33f88a21eaee8629
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M debian/snek.install
Log Message:
-----------
debian: Use wildcard to select all avr installer and manuals
Don't list each snek-<foo>-install separately, just use '*'
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: be6fc6a3aaadfc1d0c8933a361de04360528c543
https://github.com/keith-packard/snek/commit/be6fc6a3aaadfc1d0c8933a361de04360528c543
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M debian/source/lintian-overrides
Log Message:
-----------
debian: Adjust windows binary paths in source/lintian-overrides
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 0b3e696af1ee71313df4771b5bf28595b1a76ad9
https://github.com/keith-packard/snek/commit/0b3e696af1ee71313df4771b5bf28595b1a76ad9
Author: Keith Packard <keithp at keithp.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
Changed paths:
M debian/changelog
Log Message:
-----------
debian: Version 1.0-1
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/f71fd5c61b82...0b3e696af1ee
More information about the Snek
mailing list