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

Commit Graph

  • de34e15df7 cgen: fix multi return variable ignore in if guard (#17853) ChAoS_UnItY 2023-04-02 21:47:54 +08:00
  • 01caecc284 checker: add check for unwrapped option in array cap (#17851) Swastik Baranwal 2023-04-02 19:17:08 +05:30
  • b2735bf937 vweb: add controllers (#17840) Casper Kuethe 2023-04-02 15:46:43 +02:00
  • c7237b1c58 cgen: fix result of typeof function returns result type (#17849) ChAoS_UnItY 2023-04-02 08:25:34 +08:00
  • 51ad565ed6 vweb: implement worker pool (#17298) Josh Montoya 2023-04-01 16:24:33 -07:00
  • 1471ba4678 checker: fix missing check for initializer with function returning options (#17820) Felipe Pena 2023-04-01 18:03:42 -03:00
  • 6aec8244f0 strings: simplify Builder.drain_builder; add test (#17846) Delyan Angelov 2023-04-02 00:03:00 +03:00
  • 58dd9ee6a2 tests: make the flaky array_access_optimisation_test.v failures on the macos CI, more easily diagnosable Delyan Angelov 2023-04-01 17:33:44 +03:00
  • 5b8d6c0a60 cgen: fix match tmp var needing check when working with option on branches (#17837) Felipe Pena 2023-04-01 02:19:23 -03:00
  • e56e4b3e90 tools: use os.symlink(vexe, vsymlink) on Windows too (#17838) Delyan Angelov 2023-04-01 08:18:24 +03:00
  • fedf0f7939 native: rune type literals/printing, pointer comparison and some missing branches in functions (#17839) Spydr 2023-04-01 00:09:02 +02:00
  • e1b8617c94 ast, cgen: fix generic closures with different generic types (fix #17829) (#17834) yuyi 2023-03-31 23:08:42 +08:00
  • 6ff1c0a0b2 checker: fix generic struct init with update expr (fix #17824) (#17827) yuyi 2023-03-31 15:59:52 +08:00
  • ff0adba8a9 tests: fix file partially not fmt, caused by fixed vfmt bug (#17828) ChAoS_UnItY 2023-03-31 15:22:31 +08:00
  • cd6cc65ece json: fix [omitempty] with string (#17813) Felipe Pena 2023-03-30 17:09:47 -03:00
  • 57aa4def62 net.html: do not inject <text> tags for text that contains only newlines and spaces Delyan Angelov 2023-03-30 23:02:57 +03:00
  • 822acd78cb tools: add test for VDOC_SORT=false ./v doc file.v Delyan Angelov 2023-03-30 16:48:21 +03:00
  • b40aa4ffa9 cgen: fix embed struct with sumtype field (#17823) yuyi 2023-03-30 20:59:06 +08:00
  • 214f72ba03 tools: support VDOC_SORT=false ./v doc time Delyan Angelov 2023-03-30 14:33:23 +03:00
  • b9352ce834 ast, parser, fmt: fix fmt error of generic fntype (#17814) yuyi 2023-03-30 19:30:10 +08:00
  • d0702f3897 checker: fix if cond with alias (fix #17818) (#17821) yuyi 2023-03-30 19:29:08 +08:00
  • 4ef6e16e3b bitfield: add [inline] for very commonly used simple methods Delyan Angelov 2023-03-30 11:53:02 +03:00
  • ae6fc64fb3 ci: bump the timeout to 181 minutes for the windows-msvc and windows-gcc jobs Delyan Angelov 2023-03-30 09:01:07 +03:00
  • 580d9cedc7 termios: new termios module (#17792) Thomas Mangin 2023-03-30 06:58:52 +01:00
  • 0826102e0a sokol: enable VALIDATE_NON_FATAL Alexander Medvednikov 2023-03-30 00:10:49 +02:00
  • d60ceb45cd gg: make create_image() return !Image Alexander Medvednikov 2023-03-29 19:04:41 +02:00
  • 75deb66fd4 json: fix decode option string (#17812) Felipe Pena 2023-03-29 13:45:41 -03:00
  • dd0b68ac90 checker: check if guard returning non-propagate option or result (fix #17742) (#17794) yuyi 2023-03-29 19:51:29 +08:00
  • 6756d28595 all: 2023 copyright Alexander Medvednikov 2023-03-28 22:55:57 +02:00
  • ed21097a91 doc: document json anonymous struct fields Alexander Medvednikov 2023-03-28 22:55:24 +02:00
  • 1f613a082a vweb: use net.http.Cookie (#17807) Casper Kuethe 2023-03-28 22:27:01 +02:00
  • 53e4085ddc doc: fix documentation examples (#17804) Artem Yurchenko 2023-03-28 22:26:22 +02:00
  • ff5df2ce07 cgen: small cleanup in comments (init: it -> init: index) Delyan Angelov 2023-03-28 15:06:06 +03:00
  • 4007c6cf89 checker: check generic struct infering error (#17802) yuyi 2023-03-28 20:00:08 +08:00
  • db8331da24 cgen: fix fixed array of string item concatenation (#17801) Felipe Pena 2023-03-28 08:56:54 -03:00
  • da153aa780 checker, cgen: fix asserting if guard expr (#17793) yuyi 2023-03-28 16:40:33 +08:00
  • 5e48817dc8 parser: remove duplicated pascal case check Alexander Medvednikov 2023-03-27 13:38:21 +02:00
  • 6b4fb0fc3e checker: fix missing check for option value on non-optional struct field assignment (#17785) weekly.2023.13 Heptalon 2023-03-27 04:11:56 +02:00
  • f08b88223d checker: fix returning error in if expr (#17783) yuyi 2023-03-27 00:10:06 +08:00
  • 130f35c776 checker: fix embedded struct field with default value (#17777) yuyi 2023-03-26 16:33:01 +08:00
  • 34f5f05efa ast: fix concrete fn type that returns pair type as generic type (#17780) ChAoS_UnItY 2023-03-26 16:29:52 +08:00
  • 8759409a69 math.big: fix min i32 value bug (#17775) Subhomoy Haldar 2023-03-26 06:45:42 +01:00
  • 1fe5aca782 vweb: middleware implementation (#17730) Casper Kuethe 2023-03-26 00:57:42 +01:00
  • 713c95fcc8 Fix: vet false warning on brackets in documentation (#17767) Artem Yurchenko 2023-03-25 20:51:45 +01:00
  • db97630117 examples, orm: fix orm example; add -d trace_orm option to see all ORM generated queries (#17770) Delyan Angelov 2023-03-25 21:46:17 +02:00
  • f5f45d846e ast: fix concrete function type used as generic type (#17769) ChAoS_UnItY 2023-03-26 03:45:19 +08:00
  • 3d2d330478 regex: fix issue with multiple repetitions out of the groups (#17774) penguindark 2023-03-25 19:49:01 +01:00
  • 24cc5920e6 cgen: multiple auto equality func generated fixes (#17756) Felipe Pena 2023-03-25 15:45:18 -03:00
  • 0a8a0fdb0e checker, cgen: fix check and cgen for match x { StructName {} } and match x { y {} }, where x is a mutable receiver (#17755) Swastik Baranwal 2023-03-25 18:08:47 +05:30
  • 17c4eb49fb parser: clean up in parse_generic_inst_type() (#17766) yuyi 2023-03-25 14:39:23 +08:00
  • a9f55de352 checker: fix generic array delete in skip_unused mode (#17759) yuyi 2023-03-25 14:31:25 +08:00
  • ca198ace7d cgen: fix nested fn call with result/option propagation (#17738) Felipe Pena 2023-03-24 12:36:37 -03:00
  • dc11f1fe05 json2: fix decode to map doesn't work (#17757) Hitalo Souza 2023-03-24 12:30:32 -03:00
  • 979066856b json2: encode map (#16928) Hitalo Souza 2023-03-24 08:45:26 -03:00
  • bfb0932588 net.http.mime: execute v run vlib/net/http/mime/build.vsh to update db.v with the latest official mime types Delyan Angelov 2023-03-24 08:28:26 +02:00
  • 37a79624fc cgen: fix println(value.name) inside $for value in Test.values{ (#17746) Delyan Angelov 2023-03-23 19:18:25 +02:00
  • 8693da4d36 parser: fix parsing cast array syntax from another module (fix #17704) (#17739) Felipe Pena 2023-03-23 13:26:12 -03:00
  • 6b5c746146 ci: fix comptime_concrete_type_register_test.v after 9a9cfe4 (#17744) yuyi 2023-03-23 22:42:35 +08:00
  • 9a9cfe425c all: comptime type lowercase ($int, $enum, $option, etc) (#17732) Felipe Pena 2023-03-22 20:02:42 -03:00
  • 0afb41f7e1 checker: fix missing type mismatch with ptr types (#17695) Felipe Pena 2023-03-22 19:49:02 -03:00
  • a552a79ca8 checker: fix comptime concrete type register (fix #17657) (#17659) Felipe Pena 2023-03-22 11:16:19 -03:00
  • 828b8097d0 roadmap: vweb Alexander Medvednikov 2023-03-22 13:02:20 +03:00
  • 278e747c7a json: make enums work with json encode+decode (serialised as string names by default; the old integer one is supported too, using [json_as_number]) (#17696) Felipe Pena 2023-03-22 05:33:32 -03:00
  • c9345be6de ast: fix embed name with enum as generic struct type (fix #17721) (#17727) Felipe Pena 2023-03-22 04:50:58 -03:00
  • d0e78b1da6 parser: breaking change, let V ORM queries return arrays for *all* non-count queries, including limit = 1 (#17719) walking devel 2023-03-22 07:48:01 +00:00
  • 93b7cc4888 cgen: allow using of original operation if alias is number and no custom method is defined (#17718) Swastik Baranwal 2023-03-21 15:09:58 +05:30
  • 326e43385b cgen: fix match with option type (#17713) Felipe Pena 2023-03-21 06:38:30 -03:00
  • 54a1b66b94 os: add create_no_window parameter to Process (#17726) d3c0d3d.exe 2023-03-21 06:24:40 -03:00
  • e1d4539a14 cgen: clean up comments in cgen.v (#17725) yuyi 2023-03-21 17:07:25 +08:00
  • 968b519be5 checker: implement infering generic struct types (#17717) yuyi 2023-03-21 02:42:53 +08:00
  • 977cd0d8df cgen: better alias handling for references/shared (#17656) Louis Brunner 2023-03-20 16:35:45 +00:00
  • e7996a0792 tools: fix vls error unexpected token U in JSON (#17709) DJ-Dav 2023-03-20 12:40:52 +00:00
  • 17fe76368a regex: fix simple char match (#17701) Felipe Pena 2023-03-20 05:37:09 -03:00
  • 74eac1de4e parser: fix parsing array of options from a submodule (#17714) Felipe Pena 2023-03-20 05:36:22 -03:00
  • f1e9a8ff37 tests: remove unnecessary v_printf test weekly.2023.12 Alexander Medvednikov 2023-03-19 15:30:52 +03:00
  • 47e10a9fcd strconv: make v_printf private Alexander Medvednikov 2023-03-19 15:03:49 +03:00
  • 7939ca2997 strconv: deprecate v_sprintf Alexander Medvednikov 2023-03-19 11:30:56 +03:00
  • c18bf48833 cgen: fix closure with fixed array variable (#17707) yuyi 2023-03-19 16:11:11 +08:00
  • 37af8bbd27 vweb.assets: add option for custom href and src attribute values (#17703) Casper Kuethe 2023-03-19 09:02:59 +01:00
  • 9275161d0f strconv: fix v_sprintf with '%%' (#17708) yuyi 2023-03-19 15:52:45 +08:00
  • 3793bf1c99 builtin: optimise the common case of s.contains("x") add s.contains_byte(x) (#17702) Delyan Angelov 2023-03-19 00:10:13 +02:00
  • 14148f3e52 toml: clean up autocast in parser.v (#17662) yuyi 2023-03-19 04:15:00 +08:00
  • 2df23a6698 json: fix ptr field access (#17690) Felipe Pena 2023-03-18 09:47:40 -03:00
  • aee76c5819 net: update new_request (#17618) Brandon 2023-03-17 22:17:22 +01:00
  • 268cee82fc cgen: fix map of complex array (#17660) yuyi 2023-03-18 05:12:59 +08:00
  • 24ea00da0c checker: clean up infer_struct_generic_types() and infer_fn_generic_types() (#17668) yuyi 2023-03-18 04:46:56 +08:00
  • 9e7aeec215 sql: fix wrong field name on generated code (#17684) Felipe Pena 2023-03-17 17:45:52 -03:00
  • 68955bb26c cgen: fix indexexpr with complex index expr (#17693) Felipe Pena 2023-03-17 17:44:14 -03:00
  • 45c0a21f46 checker: clean up assign_stmt() (#17664) yuyi 2023-03-18 04:43:38 +08:00
  • 88ab947440 cgen: fix spawn method on generic struct (#17691) yuyi 2023-03-18 04:43:04 +08:00
  • 608c194325 doc: [packed] and [minify] attributes documentation (#17692) Artem Yurchenko 2023-03-17 21:41:48 +01:00
  • 8c35ee0722 vweb: add an option to disable startup message (#17645) ArthurZhou 2023-03-18 04:41:25 +08:00
  • 2c349247e1 checker: fix anon fn initialization as struct-like (#17652) Felipe Pena 2023-03-17 17:41:00 -03:00
  • 6e1e406288 vweb: implement live page reload in development, based on polling (useful with watch) (#17683) Delyan Angelov 2023-03-16 22:00:47 +02:00
  • 658b116d07 checker: fix wrong struct warn about inited fields (#17678) Felipe Pena 2023-03-16 16:42:00 -03:00
  • 6709b2de0f cgen: fix selector expr with alias to ptr (#17649) Felipe Pena 2023-03-16 16:32:52 -03:00
  • 25eabf8e2d cgen: fix argument dereference for str method when receiver is ptr (#17648) Felipe Pena 2023-03-16 16:28:14 -03:00
  • f5b67802fd cgen: fix push operation on array of option (#17658) Felipe Pena 2023-03-16 16:24:48 -03:00
  • d349c1d86d checker: check generic fn call argument type mismatch (#17680) yuyi 2023-03-17 03:19:03 +08:00
  • b345d77805 json: support field &Type (#17655) Felipe Pena 2023-03-16 16:15:14 -03:00