1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib
Thomas Mangin 580d9cedc7
termios: new termios module (#17792)
* termio: new termio module

move the tcgetattr and tcsetattr functions in a new termio module.
The code needed refactoring as different OS have different fields
size, position and number for the C.termios structure, which
could not be correctly expressed consitently otherwise.

It has the positive side effect to reduce the number of unsafe calls.
New testing code was also added for the readline module as it is
relying of the feature.

* apply 2023 copyright to the new files too
2023-03-30 08:58:52 +03:00
..
arrays arrays: replace C.memcpy with vmemcpy calls, to make v -shared -Wimpure-v vlib/arrays/ pass (#17357) 2023-02-19 19:01:18 +02:00
benchmark benchmark: adjust the documentation for Benchmark.measure 2023-01-20 17:22:49 +02:00
bitfield all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
builtin all: 2023 copyright 2023-03-28 22:55:57 +02:00
cli checker: remove c.pref.is_test exception for calling private methods in _other_ modules (#16872) 2023-01-05 15:41:18 +02:00
clipboard checker: check nested struct field with required attr (fix #10913) (#17277) 2023-02-11 11:22:31 +02:00
compress v: forbid function parameter names, shadowing imported module names (#17210) 2023-02-08 20:37:04 +02:00
context vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
crypto all: 2023 copyright 2023-03-28 22:55:57 +02:00
datatypes datatypes: fix linked list of map (fix #17570) (#17573) 2023-03-09 14:26:01 +01:00
db parser: breaking change, let V ORM queries return arrays for *all* non-count queries, including limit = 1 (#17719) 2023-03-22 09:48:01 +02:00
dl docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
dlmalloc ci: fix warnings in v -cc gcc -keepc -freestanding -o bel vlib/os/bare/bare_example_linux.v 2023-01-06 14:55:01 +02:00
encoding all: 2023 copyright 2023-03-28 22:55:57 +02:00
eventbus docs: fix typos using codespell (#17332) 2023-02-16 11:43:39 +02:00
flag vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
fontstash checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
gg gg: make create_image() return !Image 2023-03-29 19:04:41 +02:00
gx docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
hash all: 2023 copyright 2023-03-28 22:55:57 +02:00
io checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
js docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
json json: fix decode option string (#17812) 2023-03-29 18:45:41 +02:00
log all: 2023 copyright 2023-03-28 22:55:57 +02:00
maps all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
math all: 2023 copyright 2023-03-28 22:55:57 +02:00
mssql vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820) 2023-01-13 17:02:32 +02:00
mysql orm: allow inserting empty objects with db.sqlite (SQLite uses a slightly different SQL dialect) (#17334) 2023-02-16 11:34:16 +02:00
net all: 2023 copyright 2023-03-28 22:55:57 +02:00
orm examples, orm: fix orm example; add -d trace_orm option to see all ORM generated queries (#17770) 2023-03-25 21:46:17 +02:00
os termios: new termios module (#17792) 2023-03-30 08:58:52 +03:00
pg orm: allow inserting empty objects with db.sqlite (SQLite uses a slightly different SQL dialect) (#17334) 2023-02-16 11:34:16 +02:00
picoev all: 2023 copyright 2023-03-28 22:55:57 +02:00
picohttpparser all: 2023 copyright 2023-03-28 22:55:57 +02:00
rand all: 2023 copyright 2023-03-28 22:55:57 +02:00
readline termios: new termios module (#17792) 2023-03-30 08:58:52 +03:00
regex all: 2023 copyright 2023-03-28 22:55:57 +02:00
runtime all: 2023 copyright 2023-03-28 22:55:57 +02:00
semver checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
sokol sokol: enable VALIDATE_NON_FATAL 2023-03-30 00:10:49 +02:00
sqlite orm: allow inserting empty objects with db.sqlite (SQLite uses a slightly different SQL dialect) (#17334) 2023-02-16 11:34:16 +02:00
stbi all: 2023 copyright 2023-03-28 22:55:57 +02:00
strconv all: 2023 copyright 2023-03-28 22:55:57 +02:00
strings all: 2023 copyright 2023-03-28 22:55:57 +02:00
sync all: 2023 copyright 2023-03-28 22:55:57 +02:00
szip vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
term termios: new termios module (#17792) 2023-03-30 08:58:52 +03:00
time all: 2023 copyright 2023-03-28 22:55:57 +02:00
toml toml: clean up autocast in parser.v (#17662) 2023-03-18 23:15:00 +03:00
v termios: new termios module (#17792) 2023-03-30 08:58:52 +03:00
vweb all: 2023 copyright 2023-03-28 22:55:57 +02:00
x all: 2023 copyright 2023-03-28 22:55:57 +02:00
.vdocignore doc: ignore builtin/wasm (#17480) 2023-03-03 12:35:21 +02:00
README.md

vlib Documentation

vlib is the term for all modules included by default with V and maintained as part of the V source code repository.

Some included modules depend on third party libraries, and these are kept separate in the thirdparty directory at the root level of the source repository.