<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/lib/mp-readline, branch v1.5.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-11-07T13:07:43+00:00</updated>
<entry>
<title>lib/mp-readline: Make it easy to exit auto-indent mode by pressing enter.</title>
<updated>2015-11-07T13:07:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-11-04T12:29:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b7ca9458773ee18c0b0bb4de55b670e06b70ecc5'/>
<id>urn:sha1:b7ca9458773ee18c0b0bb4de55b670e06b70ecc5</id>
<content type='text'>
This patch allows you to stop auto-indent by pressing enter on a second
blank line.  Easier than having to use backspace, and prevents new users
from getting stuck in auto-indent mode.
</content>
</entry>
<entry>
<title>all: Add py/mphal.h and use it in all ports.</title>
<updated>2015-10-31T16:14:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-30T23:03:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=731f359292c0e2630873df1a19c5baac7287024f'/>
<id>urn:sha1:731f359292c0e2630873df1a19c5baac7287024f</id>
<content type='text'>
py/mphal.h contains declarations for generic mp_hal_XXX functions, such
as stdio and delay/ticks, which ports should provide definitions for.  A
port will also provide mphalport.h with further HAL declarations.
</content>
</entry>
<entry>
<title>lib: Replace tabs with spaces in readline.c</title>
<updated>2015-10-26T11:38:12+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2015-10-26T10:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=12fab63928977c20bd085459516e9b4e020ef24a'/>
<id>urn:sha1:12fab63928977c20bd085459516e9b4e020ef24a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/mp-readline: Add n_chars argument to mp_hal_erase_line_from_cursor.</title>
<updated>2015-10-20T12:27:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-20T12:27:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f961456b29a6ca2bd386a672d2ea2782c925c72f'/>
<id>urn:sha1:f961456b29a6ca2bd386a672d2ea2782c925c72f</id>
<content type='text'>
If VT100 support is not available then a given implementation of
mp_hal_erase_line_from_cursor might need to know the number of characters
to erase.

This patch does not change generated code when VT100 is supported, since
compiler can optimise away the argument.
</content>
</entry>
<entry>
<title>repl: Add paste mode to friendly REPL, entered via CTRL-E.</title>
<updated>2015-10-11T22:30:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-09T21:41:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=46a11028521425e7d6c85458c849bb96ff82152e'/>
<id>urn:sha1:46a11028521425e7d6c85458c849bb96ff82152e</id>
<content type='text'>
Use CTRL-E to enter paste mode.  Prompt starts with "===" and accepts
all characters verbatim, echoing them back.  Only control characters are
CTRL-C which cancels the input and returns to normal REPL, and CTRL-D
which ends the input and executes it.  The input is executed as though
it were a file.  The input is not added to the prompt history.
</content>
</entry>
<entry>
<title>lib/mp-readline: Add auto-indent support.</title>
<updated>2015-09-12T21:07:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-20T09:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0af73014cc61a05bcf53558d7c2d554d98da4419'/>
<id>urn:sha1:0af73014cc61a05bcf53558d7c2d554d98da4419</id>
<content type='text'>
4 spaces are added at start of line to match previous indent, and if
previous line ended in colon.

Backspace deletes 4 space if only spaces begin a line.

Configurable via MICROPY_REPL_AUTO_INDENT.  Disabled by default.
</content>
</entry>
<entry>
<title>lib/mp-readline: Add emacs-style control characters for cursor movement.</title>
<updated>2015-07-26T14:22:13+00:00</updated>
<author>
<name>Tom Soulanille</name>
<email>soul@prama.com</email>
</author>
<published>2015-07-09T23:32:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d588b0c7c9698d23b1e5e7b54e0e2094ad8f464'/>
<id>urn:sha1:7d588b0c7c9698d23b1e5e7b54e0e2094ad8f464</id>
<content type='text'>
Disabled by default.  Adds 108 bytes to Thumb2 arch when enabled.
</content>
</entry>
<entry>
<title>lib/mp-readline: Allow overriding implementation of cursor functions</title>
<updated>2015-05-30T10:38:34+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2015-05-28T11:35:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=278d22ce8f9c5b51778f70d36088a986f1b6adc8'/>
<id>urn:sha1:278d22ce8f9c5b51778f70d36088a986f1b6adc8</id>
<content type='text'>
Default implementation uses VT100-style sequences which are not implemented
by all terminals out there
</content>
</entry>
<entry>
<title>lib/mp-readline: Add implementation for deleting a character</title>
<updated>2015-05-30T10:38:24+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2015-05-28T11:41:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9a522dda6e699bfa329dd44ec7fd215f38533122'/>
<id>urn:sha1:9a522dda6e699bfa329dd44ec7fd215f38533122</id>
<content type='text'>
xterm and others use the ESC[~3 sequence when pressing the delete key
</content>
</entry>
<entry>
<title>lib/mp-readline: Export readline_push_history function.</title>
<updated>2015-05-27T14:06:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-05-16T23:05:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2acfb7c00225c7fbc7b9fe4a4b5da450025dfc9a'/>
<id>urn:sha1:2acfb7c00225c7fbc7b9fe4a4b5da450025dfc9a</id>
<content type='text'>
</content>
</entry>
</feed>
