[Snek] [keith-packard/snek] b3dc4b: examples: import time so shuffle examples run unde...
Keith Packard
noreply at github.com
Wed Mar 27 17:12:22 PDT 2019
Branch: refs/heads/debian
Home: https://github.com/keith-packard/snek
Commit: b3dc4b5e92014301dc654243bfdfe0db78b036ef
https://github.com/keith-packard/snek/commit/b3dc4b5e92014301dc654243bfdfe0db78b036ef
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-25 (Mon, 25 Mar 2019)
Changed paths:
M examples/badshuffle.py
M examples/goodshuffle.py
Log Message:
-----------
examples: import time so shuffle examples run under python3
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: bcbb7589163eac2e1f5ca2b160e8ea427d9edb59
https://github.com/keith-packard/snek/commit/bcbb7589163eac2e1f5ca2b160e8ea427d9edb59
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-25 (Mon, 25 Mar 2019)
Changed paths:
M snek-memory.c
Log Message:
-----------
Ignore incorrect compiler warning
In some code paths, when inlining functions in snek-memory.c, the
compiler gets confused into thinking that there might be an array
bounds error in pool_addr from SNEK_OFFSET_NONE sneaking in. This
"can't" happen (and is checked when SNEK_DEBUG is enabled), but the
compiler gets confused into thinking that it might and generates a
warning at this line of code. Disable the warning as I can't think of
any code change that would make this example pass the compiler and not
generate a lot more code.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: be1210f84296ccbbc06b6e31ebf5e1905ecd8e69
https://github.com/keith-packard/snek/commit/be1210f84296ccbbc06b6e31ebf5e1905ecd8e69
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-25 (Mon, 25 Mar 2019)
Changed paths:
A metro-snek/.gitignore
M metro-snek/Makefile
M metro-snek/ao.h
M metro-snek/ao_adc_samd21.c
M metro-snek/ao_arch.h
M metro-snek/ao_arch_funcs.h
R metro-snek/ao_boot_chain.c
M metro-snek/ao_metro.c
R metro-snek/ao_product.h
M metro-snek/ao_stdio.c
M metro-snek/ao_usb.h
M metro-snek/ao_usb_samd21.c
A metro-snek/make-product.py
M metro-snek/snek_eeprom.c
Log Message:
-----------
metro-snek: Clean up build
Remove a pile of unused functionality from AltOS
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: a619e6b150bd72a9e6ee38701d06cffe89f5ff8e
https://github.com/keith-packard/snek/commit/a619e6b150bd72a9e6ee38701d06cffe89f5ff8e
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-25 (Mon, 25 Mar 2019)
Changed paths:
M snek-duino/.gitignore
Log Message:
-----------
snek-duino: Ignore built files with version numbers
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f5eab243f65d52dc04b9a583f8f2db988def4007
https://github.com/keith-packard/snek/commit/f5eab243f65d52dc04b9a583f8f2db988def4007
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-25 (Mon, 25 Mar 2019)
Changed paths:
M metro-snek/Makefile
M posix/Makefile
M snek-builtin.py
M snek-lex.c
A snek-math.builtin
A snek-math.c
M test/Makefile
A test/math.py
Log Message:
-----------
Add math functions to posix and metro-snek builds. Add tests.
These implement most of the standard Python3 math functions, except
for math.frexp, math.fsum and math.modf
These are optional and not included in the snek-duino build
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 1e0c04a41d8d2f834282a04f7276285474cd8e24
https://github.com/keith-packard/snek/commit/1e0c04a41d8d2f834282a04f7276285474cd8e24
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Describe GPIO and EEPROM functions in general terms
These are not Duemilanova specific and could be implemented on any
embedded snek system.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 2120c3239cbf2392140b34391c7f9cb2a74f0ddd
https://github.com/keith-packard/snek/commit/2120c3239cbf2392140b34391c7f9cb2a74f0ddd
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M snek-list.c
M snek.h
Log Message:
-----------
Make snek_list_resize public
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 68730c54e3cced33b1c92542be8d5d22ad59e9a2
https://github.com/keith-packard/snek/commit/68730c54e3cced33b1c92542be8d5d22ad59e9a2
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M snek-math.builtin
M snek-math.c
Log Message:
-----------
Implement remaining math functions
math.frexp, math.fsum, math.modf and round
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 3d49b488d7ab43b9f809891a2bf56d28a2d0b699
https://github.com/keith-packard/snek/commit/3d49b488d7ab43b9f809891a2bf56d28a2d0b699
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M test/math.py
Log Message:
-----------
test: Test remaining math functions
round, math.frexp, math.fsum, math.modf, math.hypot, math.erf, math.erfc and
hyperbolics
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 164645ef4a9b1070f6e2891c8b2a391b76e34518
https://github.com/keith-packard/snek/commit/164645ef4a9b1070f6e2891c8b2a391b76e34518
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-26 (Tue, 26 Mar 2019)
Changed paths:
M doc/snek.adoc
Log Message:
-----------
doc: Document math functions
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: cd7f44e096c9af3ba94e109c2a73aa90c0972120
https://github.com/keith-packard/snek/commit/cd7f44e096c9af3ba94e109c2a73aa90c0972120
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M metro-snek/ao.h
Log Message:
-----------
metro-snek: Make USB input fifo wrap correctly
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 25f78983bf2899aab830e0f6259cf54094527a57
https://github.com/keith-packard/snek/commit/25f78983bf2899aab830e0f6259cf54094527a57
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M metro-snek/Makefile
M snek-duino/Makefile
Log Message:
-----------
Fix up SoC install stuff
Remove executable bits from snek-duino hex file. Install metro-snek uf2 file
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 8c253ba12977d7188508b226dcf8b81473b253ec
https://github.com/keith-packard/snek/commit/8c253ba12977d7188508b226dcf8b81473b253ec
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M metro-snek/Makefile
M metro-snek/ao_metro.c
M metro-snek/ao_pins.h
M metro-snek/ao_snek.c
M metro-snek/ao_stdio.c
R metro-snek/snek_io.c
M snek-duino/Makefile
M snek-duino/snek-duino-eeprom.c
M snek-duino/snek-duino-serial.c
M snek-duino/snek-duino.h
A snek-io.c
A snek-io.h
Log Message:
-----------
Share readline processing in snek-io.c
This allows this file to be shared among SoC implementations
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 9fe343fa6540f3988da4940cc8db27561df5c444
https://github.com/keith-packard/snek/commit/9fe343fa6540f3988da4940cc8db27561df5c444
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M snekde/snekde.py
Log Message:
-----------
snekde: Send ^C before eeprom.write or eeprom.show commands
This interrupts any running code to get or put snek code
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 0b2fd16b0967173b84d95ac740281c827cc8580f
https://github.com/keith-packard/snek/commit/0b2fd16b0967173b84d95ac740281c827cc8580f
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M examples/morse.py
Log Message:
-----------
examples: Remove '.' delay support from morse example
Saves a bit of memory, which is useful on Duemilenova
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 0072c9f275b851dc0eb6329febb2823206810efb
https://github.com/keith-packard/snek/commit/0072c9f275b851dc0eb6329febb2823206810efb
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M examples/blink.py
Log Message:
-----------
examples: Use time.sleep in blink example
Using undefined sleep before
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 517cf7409a8ad1ce61c0f1a2f226d43b47012c62
https://github.com/keith-packard/snek/commit/517cf7409a8ad1ce61c0f1a2f226d43b47012c62
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M metro-snek/snek_eeprom.c
Log Message:
-----------
metro-snek: Read directly from USB when writing eeprom
Don't want to use the readline code for this.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 4464d3453ace6664659f40a91fbc8b853f6dad7d
https://github.com/keith-packard/snek/commit/4464d3453ace6664659f40a91fbc8b853f6dad7d
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M metro-snek/Makefile
A metro-snek/ao-adc-samd21.c
A metro-snek/ao-adc-samd21.h
A metro-snek/ao-arch-funcs.h
A metro-snek/ao-arch.h
A metro-snek/ao-flash-samd21.c
A metro-snek/ao-flash.h
A metro-snek/ao-interrupt.c
A metro-snek/ao-led.c
A metro-snek/ao-led.h
A metro-snek/ao-metro.c
A metro-snek/ao-notask.c
A metro-snek/ao-notask.h
A metro-snek/ao-panic.c
A metro-snek/ao-pins.h
A metro-snek/ao-product.c
A metro-snek/ao-serial-samd21.c
A metro-snek/ao-serial.h
A metro-snek/ao-snek.c
A metro-snek/ao-snek.h
A metro-snek/ao-stdio.c
A metro-snek/ao-tc-samd21.c
A metro-snek/ao-tc-samd21.h
A metro-snek/ao-tcc-samd21.c
A metro-snek/ao-tcc-samd21.h
A metro-snek/ao-timer.c
A metro-snek/ao-usb-samd21.c
A metro-snek/ao-usb.h
M metro-snek/ao.h
R metro-snek/ao_adc_samd21.c
R metro-snek/ao_adc_samd21.h
R metro-snek/ao_arch.h
R metro-snek/ao_arch_funcs.h
R metro-snek/ao_flash.h
R metro-snek/ao_flash_samd21.c
R metro-snek/ao_interrupt.c
R metro-snek/ao_led.c
R metro-snek/ao_led.h
R metro-snek/ao_metro.c
R metro-snek/ao_notask.c
R metro-snek/ao_notask.h
R metro-snek/ao_panic.c
R metro-snek/ao_pins.h
R metro-snek/ao_product.c
R metro-snek/ao_serial.h
R metro-snek/ao_serial_samd21.c
R metro-snek/ao_snek.c
R metro-snek/ao_snek.h
R metro-snek/ao_stdio.c
R metro-snek/ao_tc_samd21.c
R metro-snek/ao_tc_samd21.h
R metro-snek/ao_tcc_samd21.c
R metro-snek/ao_tcc_samd21.h
R metro-snek/ao_timer.c
R metro-snek/ao_usb.h
R metro-snek/ao_usb_samd21.c
M metro-snek/snek-altos.builtin
A metro-snek/snek-altos.c
A metro-snek/snek-eeprom.c
A metro-snek/snek-gpio.c
R metro-snek/snek_altos.c
R metro-snek/snek_eeprom.c
R metro-snek/snek_gpio.c
Log Message:
-----------
metro-snek: swap _ to - in filenames
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 61738d4cce43f61a3f43ffc03099b96c03f3e905
https://github.com/keith-packard/snek/commit/61738d4cce43f61a3f43ffc03099b96c03f3e905
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M posix/snek-main.c
M snek-duino/snek-duino.h
M snek-lex.c
M windows/snek-windows.c
Log Message:
-----------
Set default snek_file to "<stdin>"
This makes everyone share the same name.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: e25392d2699da804533b106d58f726cb6a248682
https://github.com/keith-packard/snek/commit/e25392d2699da804533b106d58f726cb6a248682
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M snek.defs
Log Message:
-----------
Bump to version 0.91
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 6e9ee5206fb66de7234c6a85682cc017b8939a70
https://github.com/keith-packard/snek/commit/6e9ee5206fb66de7234c6a85682cc017b8939a70
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M doc/snek.adoc
M examples/badshuffle.py
M examples/blink.py
M examples/goodshuffle.py
M examples/morse.py
A metro-snek/.gitignore
M metro-snek/Makefile
A metro-snek/ao-adc-samd21.c
A metro-snek/ao-adc-samd21.h
A metro-snek/ao-arch-funcs.h
A metro-snek/ao-arch.h
A metro-snek/ao-flash-samd21.c
A metro-snek/ao-flash.h
A metro-snek/ao-interrupt.c
A metro-snek/ao-led.c
A metro-snek/ao-led.h
A metro-snek/ao-metro.c
A metro-snek/ao-notask.c
A metro-snek/ao-notask.h
A metro-snek/ao-panic.c
A metro-snek/ao-pins.h
A metro-snek/ao-product.c
A metro-snek/ao-serial-samd21.c
A metro-snek/ao-serial.h
A metro-snek/ao-snek.c
A metro-snek/ao-snek.h
A metro-snek/ao-stdio.c
A metro-snek/ao-tc-samd21.c
A metro-snek/ao-tc-samd21.h
A metro-snek/ao-tcc-samd21.c
A metro-snek/ao-tcc-samd21.h
A metro-snek/ao-timer.c
A metro-snek/ao-usb-samd21.c
A metro-snek/ao-usb.h
M metro-snek/ao.h
R metro-snek/ao_adc_samd21.c
R metro-snek/ao_adc_samd21.h
R metro-snek/ao_arch.h
R metro-snek/ao_arch_funcs.h
R metro-snek/ao_boot_chain.c
R metro-snek/ao_flash.h
R metro-snek/ao_flash_samd21.c
R metro-snek/ao_interrupt.c
R metro-snek/ao_led.c
R metro-snek/ao_led.h
R metro-snek/ao_metro.c
R metro-snek/ao_notask.c
R metro-snek/ao_notask.h
R metro-snek/ao_panic.c
R metro-snek/ao_pins.h
R metro-snek/ao_product.c
R metro-snek/ao_product.h
R metro-snek/ao_serial.h
R metro-snek/ao_serial_samd21.c
R metro-snek/ao_snek.c
R metro-snek/ao_snek.h
R metro-snek/ao_stdio.c
R metro-snek/ao_tc_samd21.c
R metro-snek/ao_tc_samd21.h
R metro-snek/ao_tcc_samd21.c
R metro-snek/ao_tcc_samd21.h
R metro-snek/ao_timer.c
R metro-snek/ao_usb.h
R metro-snek/ao_usb_samd21.c
A metro-snek/make-product.py
M metro-snek/snek-altos.builtin
A metro-snek/snek-altos.c
A metro-snek/snek-eeprom.c
A metro-snek/snek-gpio.c
R metro-snek/snek_altos.c
R metro-snek/snek_eeprom.c
R metro-snek/snek_gpio.c
R metro-snek/snek_io.c
M posix/Makefile
M posix/snek-main.c
M snek-builtin.py
M snek-duino/.gitignore
M snek-duino/Makefile
M snek-duino/snek-duino-eeprom.c
M snek-duino/snek-duino-serial.c
M snek-duino/snek-duino.h
A snek-io.c
A snek-io.h
M snek-lex.c
M snek-list.c
A snek-math.builtin
A snek-math.c
M snek-memory.c
M snek.defs
M snek.h
M snekde/snekde.py
M test/Makefile
A test/math.py
M windows/snek-windows.c
Log Message:
-----------
Merge branch 'master' into debian
Commit: a0d32c2913f601200485a0946c15e1e20bb66c8c
https://github.com/keith-packard/snek/commit/a0d32c2913f601200485a0946c15e1e20bb66c8c
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M debian/snek.lintian-overrides
Log Message:
-----------
debian: snek-duino hex file doesn't have executable mode bits set anymore
Remove the lintian override
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 9dad67bc57d1003fbd92619b2ec0221192b48569
https://github.com/keith-packard/snek/commit/9dad67bc57d1003fbd92619b2ec0221192b48569
Author: Keith Packard <keithp at keithp.com>
Date: 2019-03-27 (Wed, 27 Mar 2019)
Changed paths:
M debian/changelog
Log Message:
-----------
debian: Version 0.91-1
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/974605a3e783...9dad67bc57d1
More information about the Snek
mailing list