28 Commits

Author SHA1 Message Date
Noa
c7faae9b22 Bump all crate versions to 0.2.0 2023-01-11 00:14:28 -06:00
Steve Shi
765933136c Implement Sqlite3 Module (#4260)
* add supporting for PyAtomic<PyObject>

* create sqlite module

* add dependency sqlite3-sys

* add module constants

* import sqlite3 from cpython

* adjust lib

* add module structure

* impl Connection.cursor

* add module exceptions

* impl lstrip_sql

* impl statement new

* wip cursor.execute

* wip cursor

* wip error to exception

* add SqliteRaw and SqliteStatementRaw

* impl statement parameters binding

* wip cursor.execute

* add test_sqlite

* impl closeable connection

* impl closeable cursor

* impl cursor.executemany

* impl cursor.executescript

* impl cursor.fetch*

* impl connection.backup

* stage 1

* add support connection.backup with progress

* fix backup deadlock

* support changable isolation_level

* impl converter

* impl adapter

* impl text_factory and blob

* impl create_function

* impl create_function 2

* fix empty statement

* impl blob support

* impl create_aggregate

* impl create_aggregate 2

* refactor create_*

* impl enable_callback_traceback

* impl create_collation

* refactor create_* with CallbackData

* fix text and blob use SQLITE_TRANSIENT

* fix str to SQLITE_TEXT

* impl thread check

* impl Connection Factory

* impl busy timeout

* shift sqlite3-sys -> libsqlite3-sys

* refactor CallbackData

* impl create_window_function

* refactor callback functions

* add module attr converters

* fix nullable isolation_level

* add module attr adapters

* fix nullable adapt proto

* impl set_authorizer

* impl trace_callback

* impl set_progress_handler

* impl cancellable sqlite function*

* impl attributes for Connection

* fix some failed tests

* impl Row

* impl Blob methods

* impl Blob subscript & ass_subscript

* pass tests

* rebase

* no sqlite for wasm

* use ThreadId instead u64

* no libsqlite3-sys for wasm

* fix into_cstring for all platform

* fixup

* rebase

* fix windows into_bytes

* disable sqlite for android

* fixup
2023-01-07 22:03:24 +02:00
Dimitris Fasarakis Hilliard
a6bb9da6fe Bump openssl 2022-12-05 03:15:35 +02:00
Discord9
e53693b3b3 depend: move once_cell to common depend 2022-11-24 12:38:42 +08:00
Discord9
290e8e077b depend: update crossbeam-utils 2022-11-24 12:17:50 +08:00
Devon Hollowood
beeb0441ef Allow log2() to work on large integers 2022-10-22 14:55:14 -07:00
Ethan Post
c2a5acb40c Implements 6 os/posix constants missing for macos (#4110) 2022-09-26 15:48:48 +09:00
Jeong YunWon
6eeaf976a2 sort Cargo.toml dependencies 2022-08-22 08:42:20 +09:00
Jeong YunWon
86118d5276 drop compiler dependencies from stdlib 2022-08-22 04:43:03 +09:00
Jeong YunWon
fb5ac9e79b reorganize compiler crates 2022-08-22 04:42:42 +09:00
Noa
ead2a392cc Update nix and rustyline 2022-08-18 20:02:17 -05:00
Jeong YunWon
1dce933556 Merge pull request #4091 from youknowone/pin-crossbeam-utils
pin crossbeam-utils for 0.8.9 to avoid build error
2022-08-18 06:43:22 +09:00
Jeong YunWon
d39a3df5c7 pin crossbeam-utils for 0.8.9 to avoid build error 2022-08-18 05:51:10 +09:00
Jeong YunWon
93d18bc0c0 rework pylib to generate all frozen libs 2022-08-18 05:44:10 +09:00
hyerim
42290b103e Add: _uuid module (#3974) 2022-08-07 15:27:53 +09:00
Jeong YunWon
da9c98675b optional bz2 2022-08-05 04:00:51 +09:00
boris
7204ab7ea8 implement _bz2
Co-Authored-By: Jeong YunWon <jeong@youknowone.org>
2022-08-05 03:53:59 +09:00
Sion Kang
bb52ed774e Feat: grp module (#3967) 2022-08-04 15:44:40 +09:00
Jeong YunWon
573b495def Fix iOS build 2022-07-28 08:49:00 +09:00
Dennis Zhuang
d4f001fa21 Basic mmap module 2022-06-15 01:38:27 +09:00
Jeong YunWon
cc4583ef50 mmap skeleton 2022-06-14 17:12:51 +09:00
Jeong Yunwon
cee4814074 add stdlib to rustpython_wasm and remove threading from vm default 2022-05-28 14:27:03 +09:00
Jeong Yunwon
965c3157c8 Upgrade libraries 2022-04-18 00:09:22 +09:00
Noa
f01a7b17c4 Upgrade nix 2021-11-03 13:28:41 -05:00
Noa
358ce09b5c Run cargo upgrade 2021-10-30 19:42:35 -05:00
Noa
ee8b11f5d2 Migrate to 2021 edition 2021-10-21 11:46:24 -05:00
Noa
c778480404 WAPM release script 2021-10-08 17:02:18 -05:00
Jeong YunWon
fb25a15f2c split rustpython-stdlib crate 2021-10-01 01:54:04 +09:00