coolreader18
3a8f2aa25b
Only build the necessary rust target for test_snippets
2020-01-28 11:33:10 -06:00
Noah
e6a431ad22
Merge pull request #1676 from youknowone/fix-cpytest
...
Fix test_bool::test_sane_len
2020-01-27 18:24:40 -08:00
Noah
ac4af12320
Merge pull request #1700 from palaviv/github-actions
...
GitHub actions
2020-01-27 16:22:54 -08:00
Noah
b6e3b025db
Merge pull request #1710 from dralley/remove-wtf8
...
Remove wtf8 dependency
2020-01-27 08:32:03 -08:00
Daniel Alley
4e2afe7937
Remove wtf8 dependency
2020-01-27 08:35:58 -05:00
Noah
dc98ea671e
Merge pull request #1711 from dralley/once-cell
...
Replace lazy_static! macro with once_cell
2020-01-27 05:33:27 -08:00
Jeong YunWon
750cb7e010
Merge pull request #1708 from youknowone/class-item-meta
...
Utility ClassItemMeta for class item meta parsing
2020-01-27 15:26:24 +09:00
Daniel Alley
e5cac96511
Replace lazy_static! macro with once_cell
2020-01-27 01:05:53 -05:00
Jeong YunWon
88d4f6242d
Utility ClassItemMeta for class item meta parsing
2020-01-27 13:55:19 +09:00
Jeong YunWon
d8a0eec025
Merge pull request #1707 from cedric-h/embed-examples
...
Add examples showcasing how to embed RustPython in Rust applications
2020-01-27 13:39:46 +09:00
Jeong YunWon
e8e76fc522
Merge pull request #1691 from youknowone/call-descriptor
...
call slot and PyBuiltinCallable
2020-01-27 13:38:05 +09:00
Cedric Hutchings
62de954898
Use more specific scoping in hello_embed.rs
2020-01-26 16:02:48 -05:00
Cedric Hutchings
93ccc69d7d
Replace 'pointer' with 'memory'
2020-01-26 15:40:01 -05:00
Cedric Hutchings
d1f74f90cd
Make suggested improvements to mini_repl.rs
2020-01-26 15:29:58 -05:00
Jeong YunWon
bebfb67842
Use vm.invoke instead of calling __call__
2020-01-26 19:30:58 +09:00
Cedric Hutchings
c6aed0464a
Add note about when output is printed to mini_repl.rs
2020-01-26 01:04:53 -05:00
Cedric Hutchings
9beb44251d
Add examples showcasing how to embed RustPython in Rust applications
2020-01-26 00:42:35 -05:00
Jeong YunWon
eea157c2f0
Refactor PyWeak to use PyBuiltinCallable
2020-01-26 14:39:27 +09:00
Jeong YunWon
80f3da92ee
vm/src/slots.rs
2020-01-26 14:05:05 +09:00
Jeong YunWon
e2e5c7ab00
Add PyBuiltinCallable and call slot
2020-01-26 14:04:44 +09:00
Jeong YunWon
d7085db17d
Merge pull request #1689 from youknowone/pymethod-magic
...
#[pymethod(magic)]: pyname as __{sig.ident}__ form
2020-01-26 12:04:39 +09:00
Noah
bc121d791a
Merge pull request #1682 from RustPython/coolreader18/compare_digest
...
Add _operator._compare_digest
2020-01-25 12:20:08 -06:00
Jeong YunWon
106c8111c1
Fix test_bool::test_sane_len
2020-01-26 02:50:06 +09:00
Jeong YunWon
d5367d1761
#[pymethod(magic)]: pyname as __{sig.ident}__ form
2020-01-26 02:48:43 +09:00
Jeong YunWon
f24c150972
Merge pull request #1703 from youknowone/azure
...
Fix Azure Pipelines build
2020-01-26 02:46:57 +09:00
Jeong YunWon
346b9d251b
Fix Azure Pipelines build
2020-01-26 02:46:28 +09:00
Jeong YunWon
2ff552f06c
Merge pull request #1702 from youknowone/travis
...
Merge travis rust lint jobs (rustfmt + clippy)
2020-01-26 02:27:34 +09:00
Aviv Palivoda
fbb96c5494
Fix os.symlink on windows
2020-01-25 19:25:56 +02:00
Jeong YunWon
8c5fde99e3
Merge travis rust lint jobs (rustfmt + clippy)
2020-01-26 01:52:45 +09:00
Jeong YunWon
c1143743cd
Merge pull request #1701 from youknowone/comparison
...
Fix comparison operator
2020-01-26 01:45:36 +09:00
Jeong YunWon
3698d0e438
Fix comparison operator
2020-01-26 01:18:51 +09:00
Aviv Palivoda
32d544d41a
Merge pull request #1699 from palaviv/splitlines-keepends
...
Support keepends in Str.splitlines
2020-01-25 17:06:43 +02:00
Aviv Palivoda
b184d7cad8
Run github actions CI on PRs
2020-01-25 13:06:28 +02:00
Aviv Palivoda
7c824995e9
Install pipenv directly
2020-01-25 13:02:21 +02:00
Aviv Palivoda
6a88efec55
Add fmt and clippy to github actions
2020-01-25 12:54:15 +02:00
Aviv Palivoda
5b4dd0701b
Add snippets tests to github actions
2020-01-25 12:17:05 +02:00
Aviv Palivoda
f5531555f7
Add github actions CI
2020-01-25 12:05:11 +02:00
Aviv Palivoda
d2a3ff8096
Fix clippy warning
2020-01-25 10:32:46 +02:00
Aviv Palivoda
8bc915711e
Merge pull request #1698 from palaviv/fix-line-continue
...
fix line continuation parsing
2020-01-24 22:55:20 +02:00
Aviv Palivoda
8bf0d93bb2
Refactor string.splitlines
2020-01-24 22:53:44 +02:00
Aviv Palivoda
ad4beab6f6
fix line continuation parsing
2020-01-24 21:50:19 +02:00
Aviv Palivoda
4a9e87b80d
Support keepends in Str.splitlines
2020-01-24 12:58:51 +02:00
Noah
69830bb44d
Merge pull request #1675 from RustPython/coolreader18/demo-improvements
...
Demo improvements
2020-01-22 22:46:02 -06:00
Jeong YunWon
9e936eb7c5
Merge pull request #1688 from RustPython/coolreader18/pyimpl-trait
...
Allow #[pyimpl] on traits
2020-01-23 01:01:40 +09:00
Noah
5b02a96192
Merge pull request #1696 from alvinlindstam/string-performance
...
String performance
2020-01-20 13:06:39 -06:00
coolreader18
049df44fe3
Fix default import from raw-loader
2020-01-19 23:08:00 -06:00
Alvin Lindstam
98d942ac7f
Add string iteration benchmark
2020-01-19 16:28:41 +01:00
Alvin Lindstam
9203eda6c6
Skip string char traversal on each next in python str iterator
...
Previosly, each call to `__next__` on a str iterator did a `chars().count()`
to find the length of the full string and traversed the chars of the string
until the expected char position from the start.
This approach ignores the char position and only cares about the byte position,
allowing it to only act on the specific part of the string binary it's interested
in.
2020-01-19 15:49:14 +01:00
Alvin Lindstam
59666f7e0f
Make string iterator test include non-ascii
2020-01-19 15:48:43 +01:00
Jeong YunWon
655834d578
Merge pull request #1678 from youknowone/object-cmp
...
__eq__ and __ne__ compatibility
2020-01-18 19:26:45 +09:00