Commit Graph

  • 5fa5ca40e6 binary: Factor out mp_binary_set_int(). Paul Sokolovsky 2014-07-05 23:43:00 +03:00
  • 539681fffd tests: Rename test scripts, changing - to _ for consistency. Damien George 2014-07-05 06:14:29 +01:00
  • 0182385ab0 py: Automatically ake __new__ a staticmethod. Damien George 2014-07-05 05:55:00 +01:00
  • 4e0eeebdc2 py: Implement sys.maxsize, standard way to check platform "bitness". Paul Sokolovsky 2014-07-03 16:50:11 +03:00
  • 381618269a parser: Convert (u)int to mp_(u)int_t. Damien George 2014-07-03 14:13:33 +01:00
  • 54eb4e723e lexer: Convert type (u)int to mp_(u)int_t. Damien George 2014-07-03 13:47:47 +01:00
  • 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. Damien George 2014-07-03 13:25:24 +01:00
  • 065aba5875 Merge pull request #739 from errordeveloper/patch-1 Damien George 2014-07-03 10:16:07 +01:00
  • e4e55047b3 qemu: fix typo in readme Ilya Dmitrichenko 2014-07-02 18:30:46 +01:00
  • 5e6419cb11 Merge branch 'dhylands-add-timer-deinit' Damien George 2014-07-02 14:10:18 +01:00
  • e70b5dbe58 stmhal: Some reordering of code/functions. Damien George 2014-07-02 14:09:44 +01:00
  • 92a47b4dae Merge branch 'add-timer-deinit' of github.com:dhylands/micropython into dhylands-add-timer-deinit Damien George 2014-07-02 14:06:28 +01:00
  • 9cd96cf25d Merge pull request #709 from windelbouwman/master Damien George 2014-07-02 13:53:28 +01:00
  • f83debc716 Merge branch 'dhylands-teensy-new' Damien George 2014-07-02 13:45:00 +01:00
  • 7a37f647a5 Merge branch 'teensy-new' of github.com:dhylands/micropython into dhylands-teensy-new Damien George 2014-07-02 13:42:37 +01:00
  • 5fc580475f Merge branch 'dhylands-preserve-except' Damien George 2014-07-01 14:28:40 +01:00
  • f0b29729aa py, objexcept: Only check for locked gc if gc is enabled. Damien George 2014-07-01 14:28:09 +01:00
  • f065344d3b Merge branch 'preserve-except' of github.com:dhylands/micropython into dhylands-preserve-except Damien George 2014-07-01 14:26:37 +01:00
  • aa47f3968b Merge pull request #734 from iabdalkader/copysign Damien George 2014-07-01 14:03:55 +01:00
  • 2fe841d2fa Try not to cause a MemoryError when raising an exception during nterrupt handling. Dave Hylands 2014-06-30 22:49:21 -07:00
  • caa7334141 stackctrl: Add "mp_" prefix. Paul Sokolovsky 2014-07-01 02:13:42 +03:00
  • e95b6b5e07 modffi: Add special 'C' code for passing a callback function pointer. Paul Sokolovsky 2014-07-01 01:57:08 +03:00
  • 0d81c133b3 Add timer_deinit and call it just before doing a soft-restart Dave Hylands 2014-06-30 07:55:54 -07:00
  • 5d44e6a92c Add copysignf mux 2014-06-30 16:30:48 +02:00
  • 4039a26679 Merge pull request #710 from iabdalkader/assert Damien George 2014-06-30 09:09:24 +01:00
  • b601d9574a py: Improvements to native emitter. Damien George 2014-06-30 05:17:25 +01:00
  • 5813efd634 stmhal: pyb.adc: Clarify that buffer with elements of any size can be used. Paul Sokolovsky 2014-06-29 21:33:01 +03:00
  • bb35f425f9 Merge pull request #730 from stinos/windows-mpconfig Paul Sokolovsky 2014-06-29 20:50:16 +03:00
  • c10a4405cd gendoc.py: Support modules w/o functions and/or classes. Paul Sokolovsky 2014-06-29 04:59:11 +03:00
  • a23475979b modffi: Support short types. Paul Sokolovsky 2014-06-29 15:47:48 +03:00
  • ec6fa8732b windows: Sync mpconfigport.h with the unix' version stijn 2014-06-28 21:04:20 +02:00
  • 8139494e54 stmhal: Include mpconfig.h before all other includes. Paul Sokolovsky 2014-06-28 23:32:03 +03:00
  • 9e215fa4c2 py: Make unichar_charlen() accept/return machine_uint_t. Paul Sokolovsky 2014-06-28 23:14:30 +03:00
  • a62da515af Merge pull request #729 from stinos/fix-include-order Paul Sokolovsky 2014-06-28 23:12:39 +03:00
  • 5478ed18ea unix: Fix mpconfig.h not being included before misc.h stijn 2014-06-28 20:49:39 +02:00
  • b1b840554d Merge branch 'unicode' Damien George 2014-06-28 10:30:53 +01:00
  • 635b60e299 unix, stmhal: Add option for STR_UNICODE to mpconfigport.h. Damien George 2014-06-28 10:29:52 +01:00
  • 8546ce1e28 py: Add missing #endif. Damien George 2014-06-28 10:29:22 +01:00
  • 41736f8201 tests: Write output in byte mode, not text mode. Damien George 2014-06-28 10:29:12 +01:00
  • e04a44e2f6 py: Small comments, name changes, use of machine_int_t. Damien George 2014-06-28 10:27:23 +01:00
  • b3a50f0f3e Merge branch 'master' into unicode Damien George 2014-06-28 10:27:15 +01:00
  • 8993fb6cf0 py: Add protection against printing too nested or recursive data structures. Paul Sokolovsky 2014-06-28 02:25:04 +03:00
  • 7e4ec3bf4f bare-arm: Hint of setting MICROPY_ERROR_REPORTING to REPORTING_TERSE. Paul Sokolovsky 2014-06-27 20:46:15 +03:00
  • 81df1e6c98 bare-arm: Disable array module and even bytearray type. Paul Sokolovsky 2014-06-27 20:43:35 +03:00
  • cb78f862cb py: Allow to disable array module and bytearray type. Paul Sokolovsky 2014-06-27 20:39:09 +03:00
  • 0a1ea40273 bare-arm: Enable link map file. Paul Sokolovsky 2014-06-27 18:58:31 +03:00
  • 8a96ebea75 py: Move stack_ctrl_init() to mp_init(). Paul Sokolovsky 2014-06-27 20:54:22 +03:00
  • 64c58403ef Merge pull request #720 from iabdalkader/mcu_name Paul Sokolovsky 2014-06-27 18:24:32 +03:00
  • a75e382a9b Change MCU name config micro mux 2014-06-27 00:35:53 +02:00
  • 3c8ce38d20 Merge pull request #717 from stinos/dead-code Paul Sokolovsky 2014-06-27 01:23:18 +03:00
  • 3659af97c5 Merge pull request #703 from iabdalkader/micro_names Paul Sokolovsky 2014-06-27 01:19:17 +03:00
  • ed07d035d5 tests: Add basic test for unicode file i/o. Paul Sokolovsky 2014-06-15 23:28:39 +03:00
  • f5f6c3b792 streams: Reading by char count from unicode text streams is not implemented. Paul Sokolovsky 2014-06-15 23:23:36 +03:00
  • ce81312d8a misc: Add count_lead_ones() function, useful for UTF-8 handling. Paul Sokolovsky 2014-06-15 23:13:41 +03:00
  • 63143c94ce tests: Test for explicit start/end args to str methods for unicode. Paul Sokolovsky 2014-06-15 00:45:40 +03:00
  • ea2c936c7e objstrunicode: Refactor str_index_to_ptr() following objstr. Paul Sokolovsky 2014-06-15 00:35:09 +03:00
  • 26fda6dc8e objstr: 64-bit issues. Paul Sokolovsky 2014-06-14 18:19:16 +03:00
  • 00c904b47a objstrunicode: Signedness issues. Paul Sokolovsky 2014-06-14 17:48:40 +03:00
  • 1044c3dfe6 unicode: Make get_char()/next_char()/charlen() be 8-bit compatible. Paul Sokolovsky 2014-06-14 06:39:20 +03:00
  • b1949e4c09 tests: Add tests for unicode find()/rfind()/index(). Paul Sokolovsky 2014-06-14 03:36:06 +03:00
  • 5048df0b7c objstr: find(), rfind(), index(): Make return value be unicode-aware. Paul Sokolovsky 2014-06-14 03:15:00 +03:00
  • 46d31e9ca9 unicode: Add utf8_ptr_to_index(). Paul Sokolovsky 2014-06-14 03:16:17 +03:00
  • ded0fc77f7 py: Add dedicated unicode header. Paul Sokolovsky 2014-06-14 03:09:39 +03:00
  • 17994d1bd3 tests: Add test for unicode string iteration. Paul Sokolovsky 2014-06-14 02:08:48 +03:00
  • 79b7fe2ee5 objstrunicode: Implement iterator. Paul Sokolovsky 2014-06-14 02:07:25 +03:00
  • cdc020da4b objstrunicode: Re-add buffer protocol back for now, required for io.StringIO. Paul Sokolovsky 2014-06-14 01:19:52 +03:00
  • e7f2b4c875 objstrunicode: Revamp len() handling for unicode, and optimize bool(). Paul Sokolovsky 2014-06-13 23:37:18 +03:00
  • 86d3898e70 objstrunicode: Get rid of bytes checking, it's separate type. Paul Sokolovsky 2014-06-13 23:00:15 +03:00
  • d215ee1dc1 py: Make MICROPY_PY_BUILTINS_STR_UNICODE=1 buildable. Paul Sokolovsky 2014-06-13 22:41:45 +03:00
  • 9731912ccb py: Prune unneeded code from objstrunicode, reuse code in objstr. Paul Sokolovsky 2014-06-13 22:01:26 +03:00
  • 165eb69b86 vstr: Restore bytestr compatibility. Paul Sokolovsky 2014-06-13 02:42:34 +03:00
  • 42a52516fe builtin: Restore bytestr compatibility. Paul Sokolovsky 2014-06-13 02:39:37 +03:00
  • 2ba2299d28 lexer, vstr: Add unicode support. Chris Angelico 2014-06-04 05:28:12 +10:00
  • 1e3781bc35 tests: Add unicode test. Chris Angelico 2014-06-04 05:28:12 +10:00
  • 9a1a4beb56 builtin: ord, chr: Unicode support. Chris Angelico 2014-06-04 05:28:12 +10:00
  • 64b468d873 objstrunicode: Basic implementation of unicode handling. Chris Angelico 2014-06-04 05:28:12 +10:00
  • 83865347db objstrunicode: Complete copy of objstr, to be patched for unicode support. Paul Sokolovsky 2014-06-13 00:51:34 +03:00
  • c88987c1af py: Implement basic unicode functions. Chris Angelico 2014-06-04 05:28:12 +10:00
  • 12bc13eeb8 mpconfig.h: Add MICROPY_PY_BUILTINS_STR_UNICODE. Paul Sokolovsky 2014-06-13 01:05:19 +03:00
  • 16ac4962ae tests: Add test for catching infinite function recursion. Paul Sokolovsky 2014-06-26 22:54:56 +03:00
  • 7a8ab5a730 stmhal: Use stackctrl framework. Paul Sokolovsky 2014-06-25 03:16:17 +03:00
  • 23668698cb py: Add portable framework to query/check C stack usage. Paul Sokolovsky 2014-06-25 03:03:34 +03:00
  • 91b576d147 Merge pull request #719 from dhylands/pin_fix Paul Sokolovsky 2014-06-26 22:49:44 +03:00
  • f170735b73 Use mp_const_none to initialize mapper and map_dict Dave Hylands 2014-06-25 16:01:19 -07:00
  • f3de62e6c2 binary: machine_uint_t vs uint dichotomy starts doing real damage. Paul Sokolovsky 2014-06-26 00:41:08 +03:00
  • 8e01291c18 travis: Use unified diffs for failed tests. Paul Sokolovsky 2014-06-26 00:05:53 +03:00
  • 7a2f166949 modstruct: Fix alignment handling issues. Paul Sokolovsky 2014-06-25 22:25:53 +03:00
  • 39b6e27944 unix: Remove unused CTRL-D definition stijn 2014-06-23 15:20:03 +02:00
  • 5aa740c3e2 modgc: Add mem_free()/mem_alloc() methods. Paul Sokolovsky 2014-06-24 21:23:40 +03:00
  • e973acde81 Merge branch 'master' of github.com:micropython/micropython Damien George 2014-06-25 04:10:34 +01:00
  • 939c2e7f44 Merge pull request #690 from stinos/msvc-gc Paul Sokolovsky 2014-06-24 21:34:51 +03:00
  • 3c9b24bebe modsocket: Fix uClibc detection. Paul Sokolovsky 2014-06-24 21:20:38 +03:00
  • 141df2d350 unix: Dump default heap size in usage message. Paul Sokolovsky 2014-06-24 16:58:00 +03:00
  • 780e54cdc3 py: Implement delete_attr in native emitter. Damien George 2014-06-22 18:35:04 +01:00
  • cd590cbfaa unix: Don't error out on #warning directive. Paul Sokolovsky 2014-06-22 19:20:27 +03:00
  • ff5932a8d8 modsocket: Workaround uClibc issue with numeric port for getaddrinfo(). Paul Sokolovsky 2014-06-22 19:14:12 +03:00
  • 949a49c9da modsocket: Add call to freeaddrinfo(). Paul Sokolovsky 2014-06-22 19:11:34 +03:00
  • 69d0a1c540 unix: uClibc doesn't like NULL as a buffer arg to realpath(). Paul Sokolovsky 2014-06-22 19:08:32 +03:00
  • de5ce6d461 gc: Use simple cast instead of union to silence compiler stijn 2014-06-19 13:53:15 +02:00
  • 8abcf666cb windows: Enable GC and implement bss start and end symbols stijn 2014-06-12 17:45:41 +02:00