Joe C
757929392e
all: update attributes to use new syntax
2023-11-15 16:16:01 +11:00
Turiiya
690ec7d3a5
all: fix typos ( #19693 )
2023-10-30 03:28:34 +02:00
Larpon
b5f71dffe4
datatypes: improve the doc strings for RingBuffer
and its methods ( #19464 )
2023-09-28 19:07:26 +03:00
Delyan Angelov
7ffa8c13bf
vlib: remove functions and fields, deprecated before 2023-03-20
...
* remove []int.reduce in favour of arrays.fold
* remove datatypes.Set.equal in favour of datatypes.Set.==
* remove datatypes.Set.difference in favour of datatypes.Set.-
* remove gg.Context.set_cfg in favour of gg.Context.set_text_cfg
* remove gg.Context.timage_pip in favour of gg.Context.pipeline.alpha
* remove os.is_writable_folder in favour of os.ensure_folder_is_writable
Discovered with `v run cmd/tools/show_ancient_deprecations.v 180`
2023-09-16 17:16:54 +03:00
Alexander Medvednikov
428fd7f57f
all: do not allow uninitialized function pointers
2023-08-03 21:06:36 +03:00
kbkpbot
0fc33c6fa3
datatypes: add Bloom filter ( #18327 )
2023-06-02 10:56:22 +03:00
yuyi
467a1b4435
fmt: remove redundant parenthesis in the complex infix expr ( #17873 )
2023-04-04 13:47:48 +03:00
yuyi
71c3b66ecf
datatypes: fix linked list of map ( fix #17570 ) ( #17573 )
2023-03-09 14:26:01 +01:00
Ahmad Yasser
cad2cd5583
docs: fix typos using codespell ( #17332 )
2023-02-16 11:43:39 +02:00
yuyi
f16722596c
all: replace generic '<>' with '[]' in error messages and comments ( #16571 )
2022-12-02 09:22:48 +02:00
yuyi
7d8c386721
datatypes: change optional to result ( #16546 )
2022-11-28 10:24:47 +02:00
yuyi
cf3dda2a58
datatypes: fix fsm.set_state() and cleanup fsm module ( #16539 )
2022-11-27 09:10:08 +02:00
yuyi
ef5be22f81
all: replace generic <>
with []
- part 2 ( #16536 )
2022-11-26 18:23:26 +02:00
Delyan Angelov
7d57559b70
datatypes: make the out of bounds errors for lists APIs more detailed
2022-11-22 13:42:29 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
Alexander di Chiara
e3379bca97
datatypes: add quadtree, add its demo to examples/ ( #16087 )
2022-10-18 18:02:44 +03:00
Delyan Angelov
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
flopetautschnig
391ac12fe2
datatypes: adding ringbuffer ( #15818 )
2022-09-21 19:42:59 +03:00
Swastik Baranwal
44137e07b0
datatypes: use generic op overloading for difference
and equal
( #15530 )
2022-08-26 07:03:23 +03:00
shove
723b3d74ee
datatypes: add array() method for LinkedList, DoublyLinkedList, Queue, and Stack ( #15524 ) ( #15525 )
2022-08-25 14:12:39 +03:00
yuyi
c662431cfd
checker: check unsafe array assign ( fix #9651 ) ( #15515 )
2022-08-25 08:52:13 +03:00
yuyi
6d501b073a
datatypes: make Set's methods public ( #15489 )
2022-08-22 10:16:59 +03:00
Vladimir Myshkovski
9b9115471f
datatypes: Set
implementation ( #14853 )
2022-08-16 20:23:48 +03:00
Alexander Medvednikov
9099594a49
all: wrap up unsafe { nil } (p. 3)
2022-07-21 21:01:30 +03:00
Alexander Medvednikov
caa0c2f153
vfmt: voidptr(0) => unsafe { nil } (p.1)
2022-07-21 20:46:01 +03:00
Alexander Medvednikov
e76f74fd73
checker: unsafe 0 for references (default value)
2022-06-26 06:40:40 +03:00
Vincenzo Palazzo
17bba712bd
checker: ban unsafe pointer/fn comparison ( #14462 )
2022-05-20 18:30:16 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! ( #14366 )
2022-05-13 06:56:21 +03:00
David 'Epper' Marshall
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
Mihai Galos
9495aacf3e
datatypes.fsm: add a fsm_graph.v tool ( #13723 )
2022-03-13 11:40:03 +02:00
Mihai Galos
d5b087de10
vlib: add a datatypes.fsm module ( #13668 )
2022-03-09 12:14:54 +02:00
Vincenzo Palazzo
6a876d4170
datatypes: small fix for the BST node constructor ( #13569 )
2022-02-22 15:41:30 +02:00
Vincenzo Palazzo
7bd8503170
datatypes: add a binary search tree implementation ( #13453 )
2022-02-22 10:28:01 +02:00
yuyi
4be3c92640
checker: check generic struct init without type parameter ( #13404 )
2022-02-09 14:06:45 +02:00
Hunam
db48594bd4
datatypes: add an index method on LinkedList and Queue ( #13185 )
2022-01-16 19:11:10 +02:00
Hunam
5607cfbd32
datatypes: add a Queue.last() method ( #12987 )
2021-12-29 08:01:47 +02:00
Delyan Angelov
8a10dbcf27
vlib: rename adt
to datatypes
2021-12-26 16:01:36 +02:00