Commit Graph

  • cb1b9d368f Merge pull request #602 from coolreader18/prep-wasm-npm Windel Bouwman 2019-03-05 07:25:10 +01:00
  • 81a85cc0bf Merge pull request #599 from palaviv/Fix-locals Windel Bouwman 2019-03-05 07:23:46 +01:00
  • 458ead0cbc Merge pull request #600 from adrian17/as_ratio Windel Bouwman 2019-03-05 07:22:38 +01:00
  • 883a4944c8 Merge pull request #598 from palaviv/dir-module Windel Bouwman 2019-03-05 07:20:12 +01:00
  • 05929b3d7b Add ellipsis type, test and do rustfmt. Windel Bouwman 2019-03-05 07:19:00 +01:00
  • f4ba94a397 Fix formatting holygits 2019-03-05 19:03:25 +13:00
  • d9c35f94c2 Convert dict payload Joey Hain 2019-03-04 21:46:21 -08:00
  • bf1fe9e5f2 Convert set payload Joey Hain 2019-03-04 21:46:17 -08:00
  • eefde87594 Cargo.lock update coolreader18 2019-03-04 21:17:29 -06:00
  • 006e975bc5 Update wasm/lib/README.md Joey 2019-03-04 17:16:02 -06:00
  • 55cc653d9b Prepare the wasm crate for publishing on npm coolreader18 2019-03-04 16:50:30 -06:00
  • 0584b85d86 Bytearray hex formatting holygits 2019-03-01 10:03:38 +13:00
  • a26401707f Minor lexer simplifications. Windel Bouwman 2019-03-04 21:25:35 +01:00
  • a545e4392a Test locals indside a function Aviv Palivoda 2019-03-04 22:17:41 +02:00
  • e25742f184 Add ellipsis syntax. Windel Bouwman 2019-03-04 21:09:03 +01:00
  • b50f0be910 Merge pull request #596 from RustPython/joey/complex-to-any Windel Bouwman 2019-03-04 20:55:51 +01:00
  • eed0b3ca45 Add float.as_integer_ratio() Adrian Wielgosik 2019-03-04 20:52:56 +01:00
  • da57730692 Fix get_locals Aviv Palivoda 2019-03-04 21:52:20 +02:00
  • 2d31e35844 Add test dir Aviv Palivoda 2019-03-04 21:31:20 +02:00
  • f7a22254a6 Add return annotation and fix tests in parser. Windel Bouwman 2019-03-04 20:29:34 +01:00
  • d24f79b17d dir show module content Aviv Palivoda 2019-03-04 21:27:03 +02:00
  • 6544f60d9b Add type annotations to parser. Windel Bouwman 2019-03-04 19:24:34 +01:00
  • a7c3f85da7 Merge pull request #595 from palaviv/socket-user-macros Adam 2019-03-04 17:11:08 +00:00
  • f820aeb1ea Convert complex payload Joey Hain 2019-03-04 08:46:40 -08:00
  • 933c8dc792 Use py_module macro Aviv Palivoda 2019-03-04 18:30:37 +02:00
  • d2061004a3 Use py_class macro Aviv Palivoda 2019-03-04 18:27:33 +02:00
  • 38c43e0465 Merge pull request #590 from RustPython/exec Windel Bouwman 2019-03-04 16:57:12 +01:00
  • 839f906927 Merge pull request #592 from RustPython/joey/improved-arg-errors Adam 2019-03-04 14:42:18 +00:00
  • 4ce0a7c216 Merge pull request #586 from RustPython/joey/float-range-any-payload Adam 2019-03-04 14:40:06 +00:00
  • c4953ee9ec Remove new macro and inline check into make_scope. Adam Kelly 2019-03-04 14:29:44 +00:00
  • 0d4887abe6 Fix missing asserts and add (disabled) tests for things that don't work yet. Adam Kelly 2019-03-04 14:22:48 +00:00
  • 6548c365cb Use check_but_allow_none for exec/eval. Adam Kelly 2019-03-03 16:45:48 +00:00
  • 4dd0304712 Add check_but_allow_none macro for optional argument checking. Adam Kelly 2019-03-03 16:33:45 +00:00
  • c5789a03a3 Proper construction of scope for exec/eval. Adam Kelly 2019-03-03 14:06:36 +00:00
  • 5d28f9bc36 Merge pull request #594 from skinny121/isinstance_2 Adam 2019-03-04 14:31:43 +00:00
  • b1a070acc2 Only use real isinstance/issubclass for builtins and move the real versions to the vm. ben 2019-03-04 19:55:58 +13:00
  • 2d71f6de28 bytes and bytearray Joey Hain 2019-03-03 20:01:07 -08:00
  • 4e822ed6cd Improve error messages and add docs for new native function machinery Joey Hain 2019-03-03 12:26:50 -08:00
  • 9b7c0f78c8 Merge pull request #584 from palaviv/socket-udp Windel Bouwman 2019-03-03 21:01:15 +01:00
  • 283b331323 Use vm.ctx.new_tuple Aviv Palivoda 2019-03-03 18:22:20 +02:00
  • f09f75ac8d Do implicit bind in socket.sendto Aviv Palivoda 2019-03-02 17:45:26 +02:00
  • 9b5ba068af Return addr in accept Aviv Palivoda 2019-03-02 17:21:36 +02:00
  • 86b60faa61 Add socket.{sendto, recvfrom} Aviv Palivoda 2019-03-02 17:12:13 +02:00
  • e5d1d11c3e Add UDP to socket Aviv Palivoda 2019-03-02 13:46:45 +02:00
  • 9271115db7 Introduce py_class macro to define classes. (#589) Windel Bouwman 2019-03-03 14:25:00 +01:00
  • 4f944d33ad Merge pull request #588 from arfan/master Joey 2019-03-02 19:44:21 -07:00
  • 0a68b7a3da fix typo in README.md, will to with Abdul Arfan 2019-03-03 09:18:08 +07:00
  • e7fb116210 Convert more objects to Any payload Joey Hain 2019-02-28 15:52:26 -08:00
  • 4558dbf210 Fix build (rustfmt) Joey Hain 2019-03-02 13:25:42 -08:00
  • b98926a0fb Merge pull request #572 from RustPython/joey/fun-with-functions Windel Bouwman 2019-03-02 20:56:52 +01:00
  • 5428154c81 Merge branch 'master' into store-rcs-in-stored-vm coolreader18 2019-03-02 07:53:48 -06:00
  • 30ddb48037 Use PyResult at more places. Windel Bouwman 2019-03-02 14:10:46 +01:00
  • 8847081e8b Merge pull request #582 from palaviv/socket-any Windel Bouwman 2019-03-02 13:45:48 +01:00
  • 3478251d40 Merge remote-tracking branch 'origin/master' into joey/fun-with-functions Joey Hain 2019-03-02 04:04:22 -08:00
  • a70f251b6a PyNativeFuncFactory => IntoPyNativeFunc Joey Hain 2019-03-02 03:47:37 -08:00
  • af2f790d0d Use PyObjectPayload::AnyRustValue for socket Aviv Palivoda 2019-03-02 12:15:43 +02:00
  • aed657173f Simplify socket_close Aviv Palivoda 2019-03-02 10:53:25 +02:00
  • e4007f530e Add get_socket function Aviv Palivoda 2019-03-02 10:52:24 +02:00
  • 7bb6f8fdaa Minor clippy fix. Windel Bouwman 2019-03-02 11:22:40 +01:00
  • 8f52e15d32 Minor clippy fixes. Windel Bouwman 2019-03-02 11:14:35 +01:00
  • f3e29c8d5f Merge pull request #581 from coolreader18/wasm-example-crate-alert Windel Bouwman 2019-03-02 10:31:40 +01:00
  • c8afeae0f7 Merge pull request #577 from RustPython/kill_scope_variant Windel Bouwman 2019-03-02 10:30:41 +01:00
  • 5b39924389 Merge pull request #580 from coolreader18/fix-clippy-lints Windel Bouwman 2019-03-02 10:20:16 +01:00
  • 5f8fb896d7 Fix lints in rustpython_wasm coolreader18 2019-03-01 20:22:14 -06:00
  • c99e843769 Fix a clippy lint I missed coolreader18 2019-03-01 20:13:50 -06:00
  • 58e1533b12 Fix clippy lint for float_is_integer coolreader18 2019-03-01 20:12:54 -06:00
  • f364ea5943 Fix a bunch of clippy lints coolreader18 2019-03-01 18:41:45 -06:00
  • 60603d250e Use alert() for the WASM example crate coolreader18 2019-03-01 18:06:50 -06:00
  • 9d6e9ac889 Move Scope from pyobject to frame. Adam Kelly 2019-03-01 18:11:41 +00:00
  • c2e2441388 Remove Scope variant from PyObject. Adam Kelly 2019-03-01 10:27:31 +00:00
  • e2e3353441 Add factory impl for boxed fn and remove extra constructor Joey Hain 2019-03-01 11:39:52 -08:00
  • 387c21f285 Merge pull request #570 from coolreader18/wasm-vm-inject_module Windel Bouwman 2019-03-01 17:16:22 +01:00
  • e34c8af793 Merge pull request #576 from adrian17/raise-type Windel Bouwman 2019-03-01 17:00:14 +01:00
  • 1519426cb4 Support raising exceptions without call Adrian Wielgosik 2019-02-28 21:52:22 +01:00
  • 990c29469a Merge remote-tracking branch 'origin/master' into joey/fun-with-functions Joey 2019-02-28 10:44:46 -08:00
  • 40c1a0f197 Merge pull request #562 from coolreader18/wasm-promise-class Windel Bouwman 2019-02-28 17:19:41 +01:00
  • eaaafacd87 Merge pull request #554 from skinny121/isinstance Windel Bouwman 2019-02-28 17:14:12 +01:00
  • 500f48621d Merge branch 'master' into wasm-promise-class coolreader18 2019-02-28 07:29:17 -06:00
  • de322689eb Merge pull request #573 from alexpantyukhin/fix_mut_warning Ryan Liddle 2019-02-28 21:07:00 +11:00
  • f6e99d1e24 Merge pull request #574 from RustPython/fetch_ins Ryan Liddle 2019-02-28 21:06:18 +11:00
  • 786eb2cbfb fetch_instruction can just return a reference. Adam Kelly 2019-02-28 08:33:43 +00:00
  • 5779124f11 rustfmt ben 2019-02-28 20:40:32 +13:00
  • e30d91febc Swap naming of is{instance, subclass} <-> real_is{instance, subclass} ben 2019-02-28 20:26:03 +13:00
  • 52c32fab3a Call __instancecheck__ and __subclasscheck__ as part of isinstance and issubclass ben 2019-02-26 21:34:41 +13:00
  • b0ee1947c7 Merge pull request #565 from alexpantyukhin/add_kwarg_handling_to_int Windel Bouwman 2019-02-28 07:36:08 +01:00
  • 9081cb2b2c remove redundant mut apantykhin 2019-02-28 06:35:08 +00:00
  • 56e55e87fe Merge pull request #568 from RustPython/framestack_2 Windel Bouwman 2019-02-28 07:33:04 +01:00
  • 6f2bbd2e4c Merge pull request #545 from palaviv/socket1 Windel Bouwman 2019-02-28 07:24:10 +01:00
  • cca19cf71f Merge pull request #569 from coolreader18/wasm-alert Windel Bouwman 2019-02-28 07:22:30 +01:00
  • 67f8c02087 cleanup Joey Hain 2019-02-27 20:05:04 -08:00
  • 713edc57ee Convert some objstring methods to new style. Joey Hain 2019-02-27 19:53:31 -08:00
  • 7f75e3ee8a Significant improvements to new function definition style Joey Hain 2019-02-27 19:53:20 -08:00
  • f6196126e4 Add an injectModule method to WASMVM coolreader18 2019-02-27 19:25:06 -06:00
  • ea93fb871c Add alert, confirm, and prompt to the browser module coolreader18 2019-02-27 17:38:24 -06:00
  • 7e2c702c5e fix fmt apantykhin 2019-02-27 21:22:24 +00:00
  • d806a19c23 add kwarg handling for int alexpantyukhin 2019-02-27 11:55:33 +04:00
  • 8087ccf274 Add socket.getsockname Aviv Palivoda 2019-02-27 20:24:58 +02:00
  • e3db472f37 Fix merge conflicts coolreader18 2019-02-27 12:44:42 -06:00
  • 2cc9a606da Avoid double borrow in Frame.nth_value. Adam Kelly 2019-02-27 18:23:39 +00:00
  • dc0bd73d12 Fix compiler warnings Aviv Palivoda 2019-02-27 20:22:53 +02:00