Commit Graph

  • 440f041525 py: Fix bugs with debugging output. Damien George 2014-03-28 18:38:20 +00:00
  • 3c2b2acd8c tests: Add testcases for yield from. Paul Sokolovsky 2014-03-26 19:27:52 +02:00
  • 55234f4617 py: yield from: Elaborate GeneratorExit (gen.close()) handling. Paul Sokolovsky 2014-03-26 19:24:03 +02:00
  • cf21a4e7f4 py: Core "yield from" implementation. Paul Sokolovsky 2014-03-26 17:36:12 +02:00
  • c4d589e2bb objgenerator: close(): Throw instance of GeneratorExit (not type). Paul Sokolovsky 2014-03-28 02:37:28 +02:00
  • 182c31a208 showbc: Add few bytecodes related to "with". Paul Sokolovsky 2014-03-27 12:29:34 +02:00
  • c63f984647 py: Thin out predefined exceptions. Damien George 2014-03-27 23:49:06 +00:00
  • 01b877d16d py: Fix typo printing complex numbers. Damien George 2014-03-27 23:35:31 +00:00
  • ce8f07adcd py: Rename emit_pre so they have globally unique names. Damien George 2014-03-27 23:30:26 +00:00
  • 2326d52d20 py: Factor out code from runtime.c to emitglue.c. Damien George 2014-03-27 23:26:35 +00:00
  • 8767d0710e py: complex_print uses format_float if single precision fp used. Damien George 2014-03-27 22:17:49 +00:00
  • bee17b00e3 py: Put n_state for bytecode in the bytecode prelude. Damien George 2014-03-27 11:07:04 +00:00
  • 8dcc0c7924 py: Calculate maximum exception stack size in compiler. Damien George 2014-03-27 10:55:21 +00:00
  • 945a01c4e3 py: Fix bug in type_store_attr, trying to store to ROM. Damien George 2014-03-27 09:32:26 +00:00
  • bdcbf0fcd1 py: Restore CPython compatibility in compiler for closures with def args. Damien George 2014-03-26 23:15:35 +00:00
  • d6f9434091 Merge pull request #381 from pfalcon/closure-defargs Damien George 2014-03-26 23:09:14 +00:00
  • eed6f26bed stmhal: Use rt_check_nargs to check number of arguments. Damien George 2014-03-26 22:46:03 +00:00
  • f61a072f68 Merge branch 'master' of github.com:micropython/micropython Damien George 2014-03-26 22:36:43 +00:00
  • 174bca7b5a stmhal: Remove ExtiMeta object and clean up class constants. Damien George 2014-03-26 22:35:55 +00:00
  • c3f1126ee8 py: Fix logic bugs in object attribute/method extraction. Damien George 2014-03-26 22:35:10 +00:00
  • 6022d9d478 py: Improved builtin dir. Damien George 2014-03-26 22:35:00 +00:00
  • e9137b94f2 py: Implement getattr() builtin. Paul Sokolovsky 2014-03-26 23:35:13 +02:00
  • 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. Damien George 2014-03-26 21:47:19 +00:00
  • 2447a5b582 py: Support closures with default args. Paul Sokolovsky 2014-03-26 23:14:59 +02:00
  • c12b2213c1 Change mp_method_t.name from const char * to qstr. Damien George 2014-03-26 20:15:40 +00:00
  • 69b3ba0df3 py: Swap around the double return value of mp_obj_gen_resume. Damien George 2014-03-26 19:33:23 +00:00
  • 66eaf84b8c py: Replace mp_const_stop_iteration object with MP_OBJ_NULL. Damien George 2014-03-26 19:27:58 +00:00
  • 688e220d26 Merge pull request #379 from pfalcon/reraise Damien George 2014-03-26 18:59:15 +00:00
  • 9c817b9465 Merge branch 'master' of github.com:micropython/micropython Damien George 2014-03-26 18:56:02 +00:00
  • 548e76cfd6 py: Use _is_subclass_fast instead of _exception_match. Damien George 2014-03-26 18:55:29 +00:00
  • 752ba554cc Merge branch 'gen-close-ret-val' of github.com:pfalcon/micropython into pfalcon-gen-close-ret-val Damien George 2014-03-26 18:46:06 +00:00
  • 9e6e935df0 py: Add support for user-defined iterators via __iter__, __next__. Damien George 2014-03-26 18:37:06 +00:00
  • af1ae30399 objexcept: Add mp_obj_exception_get_value() convenience function. Paul Sokolovsky 2014-03-26 19:17:20 +02:00
  • c403076ef8 vm: Implement raise statement w/o args (reraising last exception). Paul Sokolovsky 2014-03-26 14:42:17 +02:00
  • 962b1cd1b1 objgenerator: Implement return with value and .close() method. Paul Sokolovsky 2014-03-23 21:48:29 +02:00
  • 38f0c607b0 stmhal: Change Usart creation function to class make_new. Damien George 2014-03-25 23:40:54 +00:00
  • 3021632501 stmhal: Shuffle around some init functions in main(). Damien George 2014-03-25 23:33:47 +00:00
  • 6cfda3084d stmhal: Add I2C support; change accel driver to use new I2C. Damien George 2014-03-25 23:26:14 +00:00
  • 681d0a9ca7 Merge pull request #370 from xbe/str-rfind Damien George 2014-03-25 15:51:15 +00:00
  • 6e628c49ca py: Replace naive and teribble hash function with djb2. Damien George 2014-03-25 15:27:15 +00:00
  • ffb5cfc8d8 py: Removed some unnecessary exception objects. Damien George 2014-03-25 14:29:40 +00:00
  • caac542b23 Proper support for registering builtin modules in ROM. Damien George 2014-03-25 14:18:18 +00:00
  • 1dfde891e3 Merge pull request #373 from iabdalkader/module_register Damien George 2014-03-25 13:21:51 +00:00
  • 24d527bf22 Merge pull request #375 from dhylands/stmhal-adc Damien George 2014-03-25 10:31:28 +00:00
  • f0729b19ad Fix netduino to build Dave Hylands 2014-03-24 23:23:09 -07:00
  • 9512e9e817 objexcept: Add "args" exception attribute, as well as StopIteration.value. Paul Sokolovsky 2014-03-25 01:29:09 +02:00
  • 7f8b31345b rt_load_method(): Add missing qstr_str() when getting type name. Paul Sokolovsky 2014-03-25 00:55:39 +02:00
  • 89d45248ee Add mp_obj_module_register mux 2014-03-25 00:25:27 +02:00
  • da5e269e51 stmhal: Make pyb.ADC the ADC class (not a function). Damien George 2014-03-24 19:27:13 +00:00
  • 1403298a65 stmhal - fixed up adc stuff Dave Hylands 2014-03-24 10:49:23 -07:00
  • 6609d636d0 stmhal: Add comment to DAC driver for function to implement. Damien George 2014-03-24 15:17:40 +00:00
  • b13492f8ad stmhal: Add DAC driver. Damien George 2014-03-24 15:15:33 +00:00
  • 840efe0661 Update README. Damien George 2014-03-24 12:47:37 +00:00
  • 41ea651839 Add tools/pyboard.py, a simple module to communicate with the pyboard. Damien George 2014-03-24 12:42:06 +00:00
  • f704e7f20e stmhal: Improve REPL CTRL commands. Damien George 2014-03-24 12:23:37 +00:00
  • 2f8beb8d88 stmhal: Fix bug with USB CDC transmit buffer wrap around. Damien George 2014-03-24 12:23:03 +00:00
  • a82d7ef29d Merge branch 'master' of github.com:micropython/micropython Damien George 2014-03-24 11:49:32 +00:00
  • 0e9d96f18f stmhal: Make Led, Servo and Accel their class, not a function. Damien George 2014-03-24 11:48:39 +00:00
  • 5fd2ebbbdd stmhal: Update help function. Damien George 2014-03-24 11:27:56 +00:00
  • 24ff063e80 py: Remove obsolete declarations; make mp_obj_get_array consistent. Damien George 2014-03-24 10:47:13 +00:00
  • 17a5a83fb4 Implement str.rfind() and add tests for it. xbe 2014-03-23 23:31:58 -07:00
  • 8562de6c48 py/objstr.c: Remove done TODOs. xbe 2014-03-23 22:56:21 -07:00
  • 4750a8398b Merge pull request #367 from pfalcon/del-name Damien George 2014-03-24 01:14:59 +00:00
  • f909034400 py: Implement support for "except Exception as var" clause. Paul Sokolovsky 2014-03-23 21:19:02 +02:00
  • 4b2b7ceca7 runtime: RT_BINARY_OP_EXCEPTION_MATCH: don't fall thru in case of wrong types. Paul Sokolovsky 2014-03-23 20:49:39 +02:00
  • 1673420053 vm: Abstract working with tagged pointers in VM using macro accessors. Paul Sokolovsky 2014-03-22 23:20:07 +02:00
  • f357a19202 stmhal: Fix issues with USB CDC init and receive. Damien George 2014-03-23 18:54:48 +00:00
  • 9050b2ee33 stmhal: Improved interface to accelerometer. Damien George 2014-03-23 15:34:54 +00:00
  • 6fc5449343 stmhal: Remove servo LED debugging. Damien George 2014-03-23 14:52:46 +00:00
  • 90834b956d stm/stmhal: Change gammaf to tgammaf. Damien George 2014-03-23 14:00:02 +00:00
  • d67441de18 Merge pull request #365 from xbe/tgamma Damien George 2014-03-23 13:59:14 +00:00
  • 1214028842 Merge pull request #354 from xbe/osx-fix Damien George 2014-03-23 13:57:46 +00:00
  • 506589a4b7 stmhal: Change flash MSD from fixed to removable drive. Damien George 2014-03-23 12:48:58 +00:00
  • 1ea8fcfae4 py/builtinmath.c: use tgamma() instead of gamma(). xbe 2014-03-23 02:46:10 -07:00
  • 606821007a Fix OS X detection. xbe 2014-03-21 02:05:39 -07:00
  • 5a16658b21 stmhal: Copy changes to math.c from stm port. Damien George 2014-03-23 00:34:49 +00:00
  • e43e27cf79 Merge pull request #356 from iabdalkader/d2f Damien George 2014-03-23 00:34:11 +00:00
  • 196990b8b1 Merge pull request #364 from pfalcon/mpz-unbreak-int-long Damien George 2014-03-23 00:30:14 +00:00
  • 23261f3a52 Merge branch 'master' of github.com:micropython/micropython Damien George 2014-03-23 00:26:06 +00:00
  • 965e2bafea stmhal: Improve LED intensity get/set method. Damien George 2014-03-23 00:25:09 +00:00
  • badc9d4a95 py: Improve dir(): extract names from type->methods table. Damien George 2014-03-23 00:03:11 +00:00
  • 57207b8818 objint_mpz: Quick&dirty implementation of bitwise operations. Paul Sokolovsky 2014-03-23 01:52:36 +02:00
  • fd232c3ef7 run-tests: Dump output of failing tests to files again. Paul Sokolovsky 2014-03-23 01:07:30 +02:00
  • 5e756c9860 stmhal: Rename servo_TIM2_Handle -> TIM2_Handle. Damien George 2014-03-22 23:57:03 +00:00
  • e254809505 Merge branch 'master' of github.com:micropython/micropython Damien George 2014-03-22 23:55:11 +00:00
  • 908a670dfc stmhal: Add intensity method for blue LED. Damien George 2014-03-22 23:54:13 +00:00
  • 02fa035800 stmhal: Add input() and pyb.input() functions. Damien George 2014-03-22 23:53:50 +00:00
  • c91097223d py: Remove some unnecessary exception objects. Damien George 2014-03-22 23:40:02 +00:00
  • 8dc768b96f objgenerator: Add comments for latest mp_obj_gen_instance_t refactors. Paul Sokolovsky 2014-03-22 22:53:53 +02:00
  • 3ec0a1a32d py: Add 'object' object. Damien George 2014-03-22 21:31:28 +00:00
  • eabdf6718a py: Add function to convert long int to float. Damien George 2014-03-22 20:54:01 +00:00
  • 8138205bea stm/stmhal: Add more math stubs. Damien George 2014-03-22 20:44:43 +00:00
  • 6280587320 py: Fix types in new math functions. Damien George 2014-03-22 20:44:15 +00:00
  • ffa37db5c5 py: Fix int -> machine_uint_t. Damien George 2014-03-22 20:43:45 +00:00
  • 4ab128bbee Merge branch 'master' of github.com:micropython/micropython Damien George 2014-03-22 20:34:22 +00:00
  • 26a4506da7 Merge pull request #360 from rjdowdall/master Damien George 2014-03-22 20:34:43 +00:00
  • 63c157e534 Merge branch 'master' of https://github.com/rjdowdall/micropython Rachel Dowdall 2014-03-22 20:32:18 +00:00
  • 2d15deebdc Fixed floor division on mp ints and small ints. Added a floordivide test case. Rachel Dowdall 2014-03-22 20:29:56 +00:00
  • 365274da13 Merge branch 'master' of github.com:micropython/micropython Damien George 2014-03-22 20:25:55 +00:00
  • a6d53188b7 Merge pull request #359 from rjdowdall/master Damien George 2014-03-22 20:26:17 +00:00