1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

34 Commits

Author SHA1 Message Date
428fd7f57f all: do not allow uninitialized function pointers 2023-08-03 21:06:36 +03:00
0fc33c6fa3 datatypes: add Bloom filter (#18327) 2023-06-02 10:56:22 +03:00
467a1b4435 fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
71c3b66ecf datatypes: fix linked list of map (fix #17570) (#17573) 2023-03-09 14:26:01 +01:00
cad2cd5583 docs: fix typos using codespell (#17332) 2023-02-16 11:43:39 +02:00
f16722596c all: replace generic '<>' with '[]' in error messages and comments (#16571) 2022-12-02 09:22:48 +02:00
7d8c386721 datatypes: change optional to result (#16546) 2022-11-28 10:24:47 +02:00
cf3dda2a58 datatypes: fix fsm.set_state() and cleanup fsm module (#16539) 2022-11-27 09:10:08 +02:00
ef5be22f81 all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
7d57559b70 datatypes: make the out of bounds errors for lists APIs more detailed 2022-11-22 13:42:29 +02:00
017ace6ea7 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
e3379bca97 datatypes: add quadtree, add its demo to examples/ (#16087) 2022-10-18 18:02:44 +03:00
1f26e3fb1b datatypes: add a forward iterator for LinkedList<T>, add forward and backward iterators for DoublyLinkedList<T>. Add tests for both. 2022-09-23 22:29:13 +03:00
391ac12fe2 datatypes: adding ringbuffer (#15818) 2022-09-21 19:42:59 +03:00
44137e07b0 datatypes: use generic op overloading for difference and equal (#15530) 2022-08-26 07:03:23 +03:00
723b3d74ee datatypes: add array() method for LinkedList, DoublyLinkedList, Queue, and Stack (#15524) (#15525) 2022-08-25 14:12:39 +03:00
c662431cfd checker: check unsafe array assign (fix #9651) (#15515) 2022-08-25 08:52:13 +03:00
6d501b073a datatypes: make Set's methods public (#15489) 2022-08-22 10:16:59 +03:00
9b9115471f datatypes: Set implementation (#14853) 2022-08-16 20:23:48 +03:00
9099594a49 all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
caa0c2f153 vfmt: voidptr(0) => unsafe { nil } (p.1) 2022-07-21 20:46:01 +03:00
e76f74fd73 checker: unsafe 0 for references (default value) 2022-06-26 06:40:40 +03:00
17bba712bd checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
d679146a80 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
a91226c376 docs: cleanup (#14327) 2022-05-07 20:18:42 +03:00
mjh
1546645f63 datatypes: fix bst child access, when .root is 0 (#14080) 2022-04-20 16:49:18 +03:00
9495aacf3e datatypes.fsm: add a fsm_graph.v tool (#13723) 2022-03-13 11:40:03 +02:00
d5b087de10 vlib: add a datatypes.fsm module (#13668) 2022-03-09 12:14:54 +02:00
6a876d4170 datatypes: small fix for the BST node constructor (#13569) 2022-02-22 15:41:30 +02:00
7bd8503170 datatypes: add a binary search tree implementation (#13453) 2022-02-22 10:28:01 +02:00
4be3c92640 checker: check generic struct init without type parameter (#13404) 2022-02-09 14:06:45 +02:00
db48594bd4 datatypes: add an index method on LinkedList and Queue (#13185) 2022-01-16 19:11:10 +02:00
5607cfbd32 datatypes: add a Queue.last() method (#12987) 2021-12-29 08:01:47 +02:00
8a10dbcf27 vlib: rename adt to datatypes 2021-12-26 16:01:36 +02:00