stijn
3cc17c69ff
py: Allow retrieving a function's __name__.
...
Disabled by default. Enabled on unix and stmhal ports.
2015-03-20 23:13:32 +00:00
Paul Sokolovsky
07b8dc68d6
runtime: mp_load_method_maybe(): Don't use confusing "base" term.
...
"Base" should rather refer to "base type"."Base object for attribute
lookup" should rather be just "object".
Also, a case of common subexpression elimination.
2015-03-21 00:59:39 +02:00
Paul Sokolovsky
8d51c9d376
unix: When using separate obj output dirs, make -B is no longer relevant.
2015-03-21 00:42:29 +02:00
Damien George
2e22c2b477
unix: Move compiler warnings from production build to coverage build.
2015-03-20 22:33:13 +00:00
Damien George
7674da8057
stmhal: Remove some unnecessary declarations, purely for cleanup.
2015-03-20 22:27:34 +00:00
Paul Sokolovsky
69922c602c
objlist: list_reverse(): Fix typesafety error.
2015-03-20 23:35:21 +02:00
Damien George
d478fc75b3
tests: Adjust expected output, since Travis can't do git describe.
2015-03-20 21:31:50 +00:00
Damien George
d1cee02783
py: Clarify API for map/set lookup when removing&adding at once.
...
Addresses issue #1160 .
2015-03-20 17:41:37 +00:00
Paul Sokolovsky
d48035b06b
tests: Add basic test for OrderedDict.
...
Mostly to have coverage of newly added code in map.c.
2015-03-20 17:26:10 +00:00
Paul Sokolovsky
0ef01d0a75
py: Implement core of OrderedDict type.
...
Given that there's already support for "fixed table" maps, which are
essentially ordered maps, the implementation of OrderedDict just extends
"fixed table" maps by adding an "is ordered" flag and add/remove
operations, and reuses 95% of objdict code, just making methods tolerant
to both dict and OrderedDict.
Some things are missing so far, like CPython-compatible repr and comparison.
OrderedDict is Disabled by default; enabled on unix and stmhal ports.
2015-03-20 17:26:10 +00:00
Damien George
1004535237
tests: Make cmdline tests more stable by using regex for matching.
2015-03-20 17:25:25 +00:00
Damien George
8e9a71257d
py: Implement DELETE_GLOBAL in showbc.c.
2015-03-20 17:12:09 +00:00
Paul Sokolovsky
3425431370
objtype: More comment clarification for attribute lookup.
2015-03-20 00:51:55 +02:00
danicampora
f8ee88bbe0
cc3200: Move server methods from WLAN to the network module.
2015-03-19 17:08:25 +01:00
Damien George
92496abe0f
unix: Enable extra compiler warnings.
...
To address issue #699 .
2015-03-19 00:25:33 +00:00
Damien George
6b07a6132f
extmod/crypto: Add static keyword where it should be.
2015-03-19 00:25:33 +00:00
Damien George
2e2e404ff7
py: Allow to compile with extra warnings (sign-compare, unused-param).
2015-03-19 00:25:33 +00:00
Paul Sokolovsky
02894b51f4
extmod: Update uzlib to 1.2.1.
...
Fixes for compiler warnings in pedantic mode.
2015-03-19 00:04:12 +02:00
Paul Sokolovsky
d7194f1b8e
extmod: Update re1.5 to 0.7.
...
Includes static function fix and all the previous improvements and fixes
by @dpgeorge.
2015-03-18 23:42:17 +02:00
danicampora
0e96d1b3f1
cc3200: Add parameter to wlan_stop() for custom timeout values.
2015-03-18 21:55:08 +01:00
danicampora
f382f4442e
cc3200: Fixes and improvements to the SD card driver.
2015-03-18 21:55:02 +01:00
danicampora
963d7c7ee6
cc3200: Refactor I2C. Remove all references to SLAVE mode.
2015-03-18 21:54:41 +01:00
danicampora
d3912549a3
cc3200: Improve I2C timeout handling.
2015-03-18 21:54:30 +01:00
stijn
f43e03ee4f
extmod/ure: Fix msvc warning resulting from memset on const char ** pointer
2015-03-17 15:41:42 +01:00
danicampora
005a7f4190
cc3200: Fix extint_enable behaviour when the callback is updated.
2015-03-17 13:26:09 +01:00