96 Commits

Author SHA1 Message Date
jpeg729
aaf3d3315d
tutorials: fix compilation errors in Building a simple web blog with Veb (#24631) 2025-06-01 17:07:44 +03:00
Alexander Medvednikov
8683e634ee veb: deprecate vweb (part 2); move all vweb examples to veb 2025-03-02 14:37:20 +03:00
Alexander Medvednikov
f83af8a1a2 veb: deprecate vweb (part 1); update the blog tutorial 2025-03-01 03:34:16 +03:00
Delyan Angelov
8241f22116
ci: use -silent in more jobs that produce a lot of OK lines normally (for test-cleancode, test-self, build-examples, build-tools) 2025-02-24 11:23:59 +02:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Alexander Medvednikov
399af6768d gg: fn (data voidptr, e &Event) for events, allows methods 2023-11-25 01:19:39 +03:00
Alexander Medvednikov
fc69b2fdb1
tutorials: minor vweb blog updates 2023-11-25 00:49:22 +03:00
Turiiya
c80515465e
docs: update deprecated blockquote highlight syntax (#19974) 2023-11-23 13:33:33 +02:00
Delyan Angelov
f7b9e4eafd
vfmt: automate transition from the old [attribute] to the new @[attribute] syntax (#19912) 2023-11-17 17:43:29 +02:00
Turiiya
b347f546f2
all: update remaining deprecated attr syntax (#19908) 2023-11-17 12:03:51 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Delyan Angelov
e3ade704cb
tools: remove remaining references to vlib/sqlite, vlib/mysql, vlib/pg (and make v test-cleancode fail *loudly*, when a folder is missing, regression after a421e485f). 2023-08-03 23:10:02 +03:00
sigmaSd
2266ccecf3
readme: update web tutorial, fix code (#18989) 2023-07-28 12:36:46 +03:00
Turiiya
af4e113f6c
vweb: use <head> instead of <header> in the html templates (#18516) 2023-06-22 11:11:02 +03:00
DrainGangScholar
691bc0e7b2
readme: add a missing cd (#18368) 2023-06-08 01:53:39 +03:00
walking devel
8452644ec3
orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
Makhnev Petr
c8c70de87d
docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
yuyi
64558df764
vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820) 2023-01-13 17:02:32 +02:00
Ted Stoychev
e1896ffd5b
tutorials: fix a broken link (#16333) 2022-11-05 08:13:00 +03:00
Ted Stoychev
5933ab7158
docs: add syntax highlighting to a code snippet in the tutorials (#16331) 2022-11-04 17:01:25 +02:00
Grantley Cullar
37b03e57b4
tutorials: fix typos (#16098) 2022-10-19 12:20:11 +03:00
Alwin Arrasyid
6ed69289a8
tutorials: remove unnecessary json.encode (#15464) 2022-08-19 19:27:26 +03:00
Alexander Medvednikov
8736f26a1c tutorials: simplify new_article() a bit 2022-08-16 22:20:03 +03:00
Alexander Medvednikov
78c527b243
tutorials: improve c2v tutorial a bit 2022-06-23 02:45:14 +03:00
Delyan Angelov
a7108ff05c
docs: use the actual most recent output of c2v in the example 2022-06-23 01:39:39 +03:00
Delyan Angelov
b8d9bfec16
docs: fix C primes example in the tutorials (fixes c2v translation on linux) 2022-06-23 01:35:45 +03:00
Delyan Angelov
436081a9f5
ci: fix v check-md tutorials/ 2022-06-23 01:30:22 +03:00
Delyan Angelov
1b87a4770c
tutorials: rename the folder containing spaces, to fix git checkouts on windows 2022-06-23 01:08:07 +03:00
Delyan Angelov
856270cac2
tutorials: restore the old tutorials/building_a_simple_web_blog_with_vweb/ folder. 2022-06-23 00:11:59 +03:00
Alexander Medvednikov
fe673e7963 tutorials: rename vweb tutorial 2022-06-22 22:48:40 +03:00
Alexander Medvednikov
ae2183043b tutorials: c2v 2022-06-22 22:47:43 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Benjamin Thomas
48eb40cd2c
doc: suggest a basic auto-reload setup (#14216) 2022-04-29 20:57:04 +03:00
Carlos Esquerdo Bernat
6d62574e7f
tutorials: fix argument type (#12182) 2021-10-15 02:24:22 +03:00
Alexander Medvednikov
555e8cada6 tutorials: update the vweb tutorial with the new form parsing syntax 2021-10-12 07:17:49 +03:00
srp-at-ah
227d12f1ac
tutorial: fix missing & in README.md (#11363) 2021-09-02 09:30:05 +03:00
Alexander Medvednikov
a39962a6b9 tutorials: fix blog.v code formatting 2021-08-03 16:13:41 +03:00
Alexander Medvednikov
80976e640c vweb: remove init_server() from all examples, tutorials, and tests 2021-08-03 16:03:16 +03:00
Delyan Angelov
9315154201
ci: workaround -autofree codegen bug with nested fn calls on macos 2021-07-22 11:02:17 +03:00
Hank G
be7c3965a9
doc: update blog tutorial to updated syntax and instructions (#10577) 2021-07-21 17:33:16 +03:00
Georg Hartmann
b80dcafc24
tutorials: always add the filename as first comment in example files (#10594) 2021-06-28 08:34:53 +03:00
Delyan Angelov
6450fda938
ci: fix compiling blog/, *and* comptime_if_is_test.v. Add vweb_app_test.v . 2021-05-11 13:59:08 +03:00
Delyan Angelov
1ddd990687
ci: fix ./v check-md . 2021-05-11 11:19:13 +03:00
Louis Schmieder
faf2656335
orm: support multiline statements (#9888) 2021-04-27 15:28:57 +03:00
Alexander Medvednikov
c2227addff tutorials: vfmt blog 2021-04-15 07:42:14 +03:00
Alexander Medvednikov
a18f85c8cd vweb: init_once() => init_server(); init() => before_request() 2021-04-15 06:27:24 +03:00
Alexander Medvednikov
89838f2e21 tutorials: blog: use db.create_table() 2021-04-06 22:15:14 +03:00
JalonSolov
e5a698395a
tutorials: fix a link (#9413) 2021-03-22 03:42:07 +01:00
Joe Maddalone
f276280d79
tutorials: align content with code (#9250) 2021-03-11 21:44:07 +01:00