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

Commit Graph

  • 65a493d023 v.util: fix a wrong path analysis when parsing 'mod_name' (fix #18970) (#19090) master shove 2023-08-10 10:42:59 +08:00
  • 76b4c92848 db.sqlite: make functions return results, breaking change (#19093) jacksonmowry 2023-08-10 02:39:32 +00:00
  • d0cc564089 db.mysql: make mysql.Result.result public (fix #19098) Delyan Angelov 2023-08-10 05:21:44 +03:00
  • f915366ac4 checker: improve the nil fn error a bit Alexander Medvednikov 2023-08-09 22:37:11 +03:00
  • 3211a653c3 scanner: fix string interpolation with nested string interpolation in inner quotes 2 (#19094) yuyi 2023-08-09 20:05:17 +08:00
  • eef9b5f168 builtin,os: fix compiling V programs with latest clang 16 on windows (clang 16 is stricter than clang 14) (#19095) Delyan Angelov 2023-08-09 15:04:44 +03:00
  • 64029a2980 vdoc: implement keyboard shortcuts for search navigation (#19088) Turiiya 2023-08-09 12:53:15 +02:00
  • b7afe6b236 scanner: add error for invalid newline rune literal, make errors more informative (#19091) yuyi 2023-08-09 13:49:47 +08:00
  • 6813a12339 transformer: keep the symbolic expressions inside dump(expr) from being optimised out, even when they could be, when composed of literals known at comptime (#19086) Delyan Angelov 2023-08-08 18:25:55 +03:00
  • 10df697d32 time: add 'i', 'ii' in custom_format() for 12-hours clock(0-12-1-11) (#19083) shove 2023-08-08 17:25:39 +08:00
  • 68f18fcb8e scanner: fix string interpolation with nested string interpolation in inner quotes (fix #19081) (#19085) yuyi 2023-08-08 17:25:05 +08:00
  • f4859ffb11 checker: fix missing or_block check for left expr of CallExpr(fix #19061) (#19074) shove 2023-08-08 14:06:03 +08:00
  • 3b3395d93b vpm: don't keep empty dirs for git installs (#19070) Turiiya 2023-08-08 07:59:16 +02:00
  • 8db1aaafd5 checker: explicitly disallow creating type aliases of none, i.e. type Abc = none (#19078) Swastik Baranwal 2023-08-08 11:28:10 +05:30
  • 286d39706b time: add a format_rfc3339_nano() method to time.Time Delyan Angelov 2023-08-08 08:33:05 +03:00
  • 320057df1c os.notify: remove the meaningless [noinit] attribute of the notifier (#19075) weekly.2023.32 shove 2023-08-07 14:19:54 +08:00
  • 07b36d69f3 db.sqlite: add exec_param_many and exec_param methods (#19071) jacksonmowry 2023-08-07 06:00:03 +00:00
  • 6045a1db02 cgen: minor cleanups in method_call() (#19068) yuyi 2023-08-07 12:09:39 +08:00
  • 357ac0bb5a examples: show how to call a simple v module from ruby (#19073) (#19073) Everton J. Carpes 2023-08-07 01:07:00 -03:00
  • 7c2f3e4530 fmt: fix formatting of C.f(/*mut*/buff &char) i64 (#19069) yuyi 2023-08-07 12:00:35 +08:00
  • 23a7c40c44 tools: remove panics in favor of errors in v bump (#19066) Rodrigo Villablanca 2023-08-06 15:24:43 -04:00
  • c3f7fe39ec checker: fix struct field fntype value call (#19067) yuyi 2023-08-06 18:18:48 +08:00
  • 7ca23f6316 picoev: add initial values for struct field callbacks, to fix new compiler notices (#19065) jhuntos 2023-08-06 06:09:16 +02:00
  • b9a523cefd time: store time with nanosecond resolution in time.Time, deprecate Time.microsecond, add utility methods and tests (#19062) Delyan Angelov 2023-08-05 23:41:23 +03:00
  • cc97b8df1e tools: add support for skiping lines in v bump (#19064) Subhomoy Haldar 2023-08-05 21:00:40 +01:00
  • 8e26ca3f5a time: fix 'a' and 'A' in custom_format (#19060) Turiiya 2023-08-05 12:58:16 +02:00
  • da7a9bc8ae ci: run users.v ui example Alexander Medvednikov 2023-08-05 09:51:56 +03:00
  • f72cb00b74 ast: fix formatting fn header with parameter comments (#19059) yuyi 2023-08-05 12:33:13 +08:00
  • e5cd1724f9 time: fix 'h', 'hh' in custom_format for 12pm (#19058) Turiiya 2023-08-05 06:28:12 +02:00
  • 301320f4b0 os.notify: implement the kqueue backend for notify.FdNotifier (#19057) shove 2023-08-05 12:11:07 +08:00
  • 4cf8328f71 ast, fmt: simplify fmt.fn_decl() (#19054) yuyi 2023-08-04 21:54:16 +08:00
  • d91c7f1b3b tools: use --filter=blob:none to reduce initial network trafic for most of the git clone commands, done by tools like oldv, gen_vc, fast_job, v translate etc Delyan Angelov 2023-08-04 11:50:30 +03:00
  • ffdd5bb955 net.mbedtls: fix an error with in_memory_verification (fix #19051) (#19052) weekly.2023.31 Lucas V. Araujo 2023-08-03 11:32:33 -11:00
  • 5bb02b3dd7 tools: fix some noise in the output of v test-all Delyan Angelov 2023-08-03 23:12:45 +03:00
  • 598992b208 parser: support const x := 123, to make extracting locals as constants less annoying while prototyping Delyan Angelov 2023-08-03 15:39:17 +03:00
  • 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). Delyan Angelov 2023-08-03 23:00:07 +03:00
  • 428fd7f57f all: do not allow uninitialized function pointers Alexander Medvednikov 2023-08-03 21:06:32 +03:00
  • 453137384e ast: clean up stringify_fn_decl() and stringify_anon_decl(), make them methods on ast.Table (#19053) yuyi 2023-08-04 00:50:37 +08:00
  • 6a4bfef2c5 parser: disallow having builtin type as type names for enum, sum type and alias (#19043) Swastik Baranwal 2023-08-03 14:12:31 +05:30
  • 9f5e9ba1cf cgen: fix an error with ptr interpolation (fix #19048) (#19049) shove 2023-08-03 16:18:22 +08:00
  • ef5c3cdb73 math.unsigned: change uint256_from_dec_str to return a result, instead of an option (#19041) blackshirt 2023-08-03 14:18:21 +07:00
  • 5ec7ee916a parser: fix formatting comptime if expr script (v fmt no longer eats the body of top level $if xyz ? {}) (#19044) yuyi 2023-08-03 14:30:00 +08:00
  • b556f1302f parser: fix parse error in the type of a ref array when the element type is a structure of another mod(fix #19033) (#19039) shove 2023-08-03 14:25:03 +08:00
  • fe9bdd4168 sync: make sync.Direction public (#19047) kbkpbot 2023-08-03 14:22:48 +08:00
  • 8ee1667a9a tools: fix exiting the v repl, after just Enter (regression happened in bf00ac6) Delyan Angelov 2023-08-02 10:57:28 +03:00
  • 1d9835f0e4 parser, cgen: fix for i++; i<10; i++ { (fix #18445) (#19035) yuyi 2023-08-02 15:47:52 +08:00
  • 6b978a6b5a vdoc: refactor theme files (#19024) Turiiya 2023-08-02 09:46:18 +02:00
  • 43800a05e8 fmt: fix formatting of fn with argument comments (#19038) yuyi 2023-08-02 15:40:09 +08:00
  • ecca3b155e net.mbedtls: add SSLListener to allow creating SSL servers (#19022) Lucas V. Araujo 2023-08-01 06:45:50 -11:00
  • 600f891d3a checker, cgen: implement fixed array of threads wait() (#19032) yuyi 2023-08-02 01:45:00 +08:00
  • b6d6d4b037 parser: fix improper token advancement when parsing the types of struct thread type fields(fix #19029) (#19030) shove 2023-08-02 00:10:52 +08:00
  • ecf8fcd45a ci: bump timeout-minutes: to 20, for v-compiles-os-android, gg-regressions, doom-regressions, to reduce false positives Delyan Angelov 2023-08-01 12:09:41 +03:00
  • 177bb30013 net: change default of the socket used by net.listen_tcp, to dualstack, even if the OS has a different default. Allow changing the listen backlog too Delyan Angelov 2023-08-01 11:26:39 +03:00
  • 367e38d7d1 parser: change fn_args() to fn_params() (#19027) yuyi 2023-08-01 12:27:53 +08:00
  • def0161281 github: update issue template presets (#19026) Turiiya 2023-08-01 06:25:27 +02:00
  • a1aca4c578 checker: fix generic struct field init recursively (related #19014) (#19025) yuyi 2023-08-01 12:20:33 +08:00
  • 5061aeee64 vdoc: fix toc height (accidental height removal in 9750061) (#19023) Turiiya 2023-08-01 06:11:44 +02:00
  • f4c2ecfaa9 crypto.sha512: make the new384/0, new512_256/0, new512_224/0 functions public Delyan Angelov 2023-08-01 06:55:34 +03:00
  • 9be80198fc checker: fix generic struct field with default fn_type value (fix #19011) (#19014) yuyi 2023-08-01 02:30:12 +08:00
  • a609d6c9d1 db.pg: add parameter syntax to docs (#19003) jacksonmowry 2023-07-31 18:26:45 +00:00
  • fd81bae361 net.websocket: remove unnecessary manual frees of static strings (#19009) Kim Shrier 2023-07-31 12:23:33 -06:00
  • 8861538c66 ast, parser, fmt: implement inline comments (#19012) yuyi 2023-08-01 02:22:51 +08:00
  • 0f861db9b0 gg: implement Android specific APK asset loading for the create_image function (#19015) Artem Yurchenko 2023-07-31 16:40:16 +02:00
  • 9750061d70 vdoc: fix scrollspy and initial keyboard navigability (#19017) Turiiya 2023-07-31 16:38:25 +02:00
  • 81e99a2af3 term: fix vlib/term/termios/termios_test.v on windows Delyan Angelov 2023-07-31 14:22:03 +03:00
  • 367289a1f1 sync: fix compilation on windows Delyan Angelov 2023-07-31 11:18:12 +03:00
  • 2cd5b8a86d time: reduce the diff for v run cmd/tools/check_os_api_parity time Delyan Angelov 2023-07-31 11:02:10 +03:00
  • 618961fab5 tests: reduce sensitivity/flakyness of vlib/v/slow_tests/crun_mode/crun_test.v Delyan Angelov 2023-07-31 10:58:30 +03:00
  • d97423d385 tools: add a test for v -os wasm32_emscripten examples/2048 in v test-all Delyan Angelov 2023-07-31 10:57:57 +03:00
  • 30d4e25385 term: fix v run cmd/tools/check_os_api_parity.v term, for term.clear Delyan Angelov 2023-07-31 10:39:28 +03:00
  • 32114a679a os,term.termios: add termios.set_state/2, state.disable_echo/0, use them in os.input_password, to fix v -os wasm32_emscripten examples/2048/ Delyan Angelov 2023-07-31 10:28:45 +03:00
  • 37e7d5f5ae Revert "sokol: use GLCORE33 on linux", since it is already done by a #flag linux -DSOKOL_GLCORE33 later on Delyan Angelov 2023-07-30 18:31:39 +03:00
  • 8735694d13 parser: disallow declaring static functions as method receivers (#19007) Swastik Baranwal 2023-07-30 08:41:11 +05:30
  • 77049600e6 tests: make projects_with_c_code closer to actual projects (#19008) Turiiya 2023-07-30 05:00:48 +02:00
  • b622dca915 builtin: fix split_nth() and rsplit_nth() on an empty delimeter (#19005) katekyy 2023-07-29 23:12:51 +02:00
  • e78e468d5f vdoc: include the project root folder, when searching for readme of src/ (#19000) Turiiya 2023-07-29 23:00:18 +02:00
  • 1c2b4e76dc tests: fix diff.color_compare_strings parameter order in test files, to make analysing the results easier Delyan Angelov 2023-07-29 16:41:02 +03:00
  • 112a1278bb parser, fmt: fix formatting interface method with pre-comments (#18998) yuyi 2023-07-29 20:40:45 +08:00
  • 8586f18383 checker: fix compiler crashes when passing an extra decompose parameter to a function(fix: 18995) (#18996) shove 2023-07-29 20:38:39 +08:00
  • a61a2fd328 parser: fix for_c_stmt that init with var assign (#19004) yuyi 2023-07-29 20:29:35 +08:00
  • c4a679186f examples, readme: fix typos (#18994) Turiiya 2023-07-29 14:27:03 +02:00
  • 490a014bf6 tools: support a toc for projects, with single exposing module, in v doc (#19001) Turiiya 2023-07-29 14:21:15 +02:00
  • 4ed9703e22 ci: bump --max_time to 1731 for the performance-regressions job, to reduce the chance of false positive failures again Delyan Angelov 2023-07-29 15:18:45 +03:00
  • c881e7284d cgen: allow dump(unsafe{nil}) and dump(voidptr(123)) in the same program Delyan Angelov 2023-07-29 10:14:07 +03:00
  • 2f2dde8ad0 ast, parser, fmt: fix formatting struct declaration with comments (fix #18982) (#18992) yuyi 2023-07-28 20:30:15 +08:00
  • 2fa177e310 picoev: bugfixes and UB mitigation (#18991) l-m 2023-07-28 09:37:21 +00:00
  • 2266ccecf3 readme: update web tutorial, fix code (#18989) sigmaSd 2023-07-28 10:36:46 +01:00
  • b25288338c parser, fmt: fix formatting interface fields with pre-comments (fix #18980) (#18988) yuyi 2023-07-28 16:42:10 +08:00
  • e0aba77cc5 readme: update ide-plugins section (#18990) Turiiya 2023-07-28 10:20:45 +02:00
  • c7f708e64d v.help: fix typos (#18987) Turiiya 2023-07-28 01:29:48 +02:00
  • aa3d560b05 sokol: fix v -cc gcc ~/.vmodules/sdl/examples/sdl_opengl_and_sokol/ on Linux (add missing -lm for gcc/clang) Delyan Angelov 2023-07-28 02:27:43 +03:00
  • 76e3b7dff8 builder: fix ./v -os windows run examples/hello_world.v (eliminate the "No such file or directory; code: 2" msg) Delyan Angelov 2023-07-28 01:53:57 +03:00
  • fe87d20f20 builder: cleanup commented cross compilation code in cc.v Delyan Angelov 2023-07-28 01:18:44 +03:00
  • d53d95991d ci: remove obsolete node setup (#18986) Turiiya 2023-07-27 17:29:32 +02:00
  • fde0d9fa91 checker: fix compiling 'f(g()!)' with -autofree (#18979) yuyi 2023-07-27 17:36:44 +08:00
  • d25e213aa8 tools, examples: add --only-watch=*.v option to v watch (#18974) Delyan Angelov 2023-07-27 09:50:26 +03:00
  • 7d6fd9dade checker: check fn call argument mismatch for array struct type (#18975) yuyi 2023-07-27 03:17:45 +08:00
  • 94de6f62b2 vweb: make vweb route paths case sensitive (#18973) squidink7 2023-07-27 04:40:45 +09:30
  • 3042857d6c cgen: minor cleanup in comptime_if_cond() (#18976) yuyi 2023-07-27 03:09:34 +08:00
  • ef59a72877 ci: mark vlib/v/gen/js/program_test.v as flaky (it is failing sporadically on macos, but only on the CI :-| ) Delyan Angelov 2023-07-26 22:07:37 +03:00