Commit Graph

  • 2e9422df57 cbuilder: add decl visibilities, use it for HCR & typeinfo (#24368) metagn 2024-10-28 07:27:11 +03:00
  • 24aa92c14f cbuilder: add calls, sizeof/alignof/offsetof, use in ccgtypes (#24362) metagn 2024-10-26 21:55:50 +03:00
  • 031ad957ba fixes #24359; VM problem: dest register is not set with const-bound proc (#24364) ringabout 2024-10-27 02:49:07 +08:00
  • 506c8a5ce8 cbuilder: abstract over int and float generation (#24360) metagn 2024-10-26 18:49:30 +03:00
  • 40fc2d0e76 include static types in type bound ops (#24366) metagn 2024-10-26 18:49:02 +03:00
  • efd603eb28 don't cascade vmgen errors in nim check without error outputs (#24365) metagn 2024-10-26 18:48:39 +03:00
  • 79ce3fe6b7 Fix links for succ/pred/inc/dec in system docs (#24363) Jake Leahy 2024-10-26 19:24:15 +11:00
  • aa90d00caf fixes #18081; fixes #18079; fixes #18080; nested ref/deref'd types (#24335) ringabout 2024-10-26 04:36:19 +08:00
  • 2af602a5c8 deprecate NewFinalize with the ref T finalizer (#24354) ringabout 2024-10-26 04:35:26 +08:00
  • d303c289fa consider calls as complex openarray assignment to iterator params (#24333) metagn 2024-10-25 23:13:22 +03:00
  • 9d08f6cee3 use cbuilder for enum field name array (#24358) metagn 2024-10-25 22:16:58 +03:00
  • 294b1566e7 fixes #23952; Size/Signedness issues with unordered enums (#24356) ringabout 2024-10-25 23:03:17 +08:00
  • 820e2bee9c cbuilder: add assignments, fields, subscripts, deref (#24351) metagn 2024-10-25 15:16:39 +03:00
  • 2864830941 implement type bound operation RFC (#24315) metagn 2024-10-25 12:26:42 +03:00
  • dd3a4b2aba define flexible array without size for tcc & all C99 (#24355) metagn 2024-10-25 08:35:11 +03:00
  • 76d834c182 fixes #24258; compiler crash on len of varargs[untyped] (#24307) ringabout 2024-10-14 23:43:12 +08:00
  • b534f34e95 adds noise to important_packages (#24352) ringabout 2024-10-24 10:23:51 +08:00
  • 3aaaed1acf std/nre now uses destructors instead of finializer (#24353) ringabout 2024-10-24 02:52:30 +08:00
  • 40b37c96d2 fixes #24347; Failed to bootstrap devel branch compiler on i386 (#24348) ringabout 2024-10-23 16:22:27 +08:00
  • baf3695c76 closes #19984; adds a test case (#24349) ringabout 2024-10-23 16:05:52 +08:00
  • 72fcda1b35 wrap fields iterations in if true scope [backport] (#24343) metagn 2024-10-22 20:56:37 +03:00
  • fd9d2f5b82 templates/macros use no expected types when return types are specified (#24298) ringabout 2024-10-14 01:54:30 +08:00
  • d3f7fb3100 fix type of reconstructed kind field node in field checking analysis [backport] (#24290) metagn 2024-10-12 22:20:21 +03:00
  • 4acc7a5e18 reset inTypeofContext in generic instantiations (#24229) metagn 2024-10-06 20:36:46 +03:00
  • 2c56872b5c use cbuilder for int, set, const literals (#24336) metagn 2024-10-22 21:00:55 +03:00
  • ca5df9ab25 wrap fields iterations in if true scope [backport] (#24343) metagn 2024-10-22 20:56:37 +03:00
  • 3e6a2a13d9 fixes pr_shadowing ringabout 2024-10-22 21:53:56 +08:00
  • 8af81e3d24 redefining field variables is disabled ringabout 2024-10-22 21:51:19 +08:00
  • aca59572c7 oops ringabout 2024-10-22 21:40:57 +08:00
  • 07463c00fc wordy ringabout 2024-10-22 21:34:45 +08:00
  • 1c79ef1090 prohibits field variables from being used as lvalues in a 'fields' loop ringabout 2024-10-22 21:32:39 +08:00
  • 64a40b9579 use distinct for importc'ed types pr_distinct_ctypes ringabout 2024-10-21 19:47:12 +08:00
  • 15d4056f8a uses distinct types for importc pr_distinct_ctype_alias ringabout 2024-10-21 19:44:06 +08:00
  • 16beddd163 Merge branch 'devel' of https://github.com/nim-lang/Nim into devel ringabout 2024-10-21 19:43:09 +08:00
  • 67442471ae Fix broken poll and nfds_t bindings (#24331) bptato 2024-10-20 18:15:39 +02:00
  • e69eb99a15 use cbuilder for typedefs, add array typedef (#24330) metagn 2024-10-19 21:54:17 +03:00
  • 041098e882 clean up stdlib with --jsbigint64 (#24255) metagn 2024-10-19 17:40:28 +03:00
  • 93c24fe1c5 Fix quoted idents in ctags (#24317) Jake Leahy 2024-10-20 01:39:15 +11:00
  • 44e41b0272 Merge branch 'devel' into araq-loadfromfield araq-loadfromfield araq 2024-10-19 10:34:02 +02:00
  • e543ea9e7c added field for lazy loading purposes araq 2024-10-19 10:32:00 +02:00
  • ae9287c4f3 symmetric difference operation for sets via xor (#24286) metagn 2024-10-19 11:07:00 +03:00
  • 0a058a6b8f better errors for standalone explicit generic instantiations (#24276) metagn 2024-10-18 20:06:42 +03:00
  • 01a8ede721 .byref always optimizes sink call into a bitwise memcopy ringabout 2024-10-18 22:00:53 +08:00
  • 0806fb0b6f build documentation for repr_v2 (#24325) ringabout 2024-10-18 22:52:33 +08:00
  • 68b2e9eb6a make PNode.typ a private field (#24326) ringabout 2024-10-18 22:52:07 +08:00
  • adf3aa7ec9 .byref always optimizes sink call into a bitwise memcopy pr_private_type_node ringabout 2024-10-18 21:59:35 +08:00
  • 1e25844f55 fixes ringabout 2024-10-18 20:01:12 +08:00
  • 5dc90b1f96 make PNode.typ a private field ringabout 2024-10-18 19:58:12 +08:00
  • fce86e5937 cbuilder: add array vars, use for openarray init (#24324) metagn 2024-10-18 11:37:57 +03:00
  • 5fa96ef270 Fixes #3824, fixes #19154, and hopefully #24094. Re-applies #23787. (#24316) Yuriy Glukhov 2024-10-18 10:36:41 +02:00
  • b8f6088ac0 Document about noinline calling convention and exportcpp pragma in Nim manual (#24323) Tomohiro 2024-10-18 14:39:20 +09:00
  • 52cf7dfde0 shallow fold prevention for addr, nkHiddenAddr (#24322) metagn 2024-10-18 08:37:05 +03:00
  • 0347536ff2 fixes #24319; move doesn't work well with (deref (var array)) (#24321) ringabout 2024-10-18 10:56:37 +08:00
  • d0b6b9346e adds a getter/setter for owner (#24318) ringabout 2024-10-17 21:16:57 +08:00
  • 8be82c36c9 fixes #18896; fixes #20886; importc types alias doesn't work with distinct (#24313) ringabout 2024-10-17 02:49:31 +08:00
  • 4a056b1849 cbuilder: implement designated initializers, finish default value braces (#24312) metagn 2024-10-16 21:48:53 +03:00
  • a3aea224c9 make owner a private field of PType (#24314) ringabout 2024-10-15 23:32:51 +08:00
  • 53460f312c make owner a private field of PSym (#24311) ringabout 2024-10-15 15:45:06 +08:00
  • 922f7dfd71 closes #19585; adds a test case for #21648 (#24310) ringabout 2024-10-15 09:19:46 +08:00
  • 3e8f44b232 fixes ci_generate produces unnecessary spaces on Windows (#24309) ringabout 2024-10-14 23:43:41 +08:00
  • 8b39b2df7d fixes #24258; compiler crash on len of varargs[untyped] (#24307) ringabout 2024-10-14 23:43:12 +08:00
  • 6df050d6d2 only generate first field for default value of union (#24303) metagn 2024-10-14 18:07:57 +03:00
  • 34c87de984 use cbuilder for ccgliterals (#24302) metagn 2024-10-14 09:46:50 +03:00
  • d4b9c147ab define -d:nimHasDefaultFloatRoundtrip and enable datamancer (#24300) ringabout 2024-10-14 10:26:44 +08:00
  • 07628b0dec use cbuilder for most braced initializers (#24259) metagn 2024-10-13 20:56:17 +03:00
  • 80e6b35721 templates/macros use no expected types when return types are specified (#24298) ringabout 2024-10-14 01:54:30 +08:00
  • 71515bf278 Revert "update to setup-nim-action@v2" (#24299) ringabout 2024-10-13 19:38:23 +08:00
  • a0d78d259b update to setup-nim-action@v2 (#24297) ringabout 2024-10-13 19:07:49 +08:00
  • 1dbf614858 Expand enum example tut1.md (#24268) Aryo 2024-10-13 07:00:23 +02:00
  • 2f7586c066 clean up testament retries, add some comments (#24294) metagn 2024-10-13 07:59:20 +03:00
  • 720d0aee5c add retries to testament, use it for GC tests (#24279) metagn 2024-10-12 23:48:44 +03:00
  • def1fea43a don't evaluate "cannot eval" errors with nim check (#24289) metagn 2024-10-12 23:39:59 +03:00
  • 25c068c070 modulegraphs: added a flag useful for gear2 (#24293) Andreas Rumpf 2024-10-12 21:46:56 +02:00
  • 1bebc236bd fix type of reconstructed kind field node in field checking analysis [backport] (#24290) metagn 2024-10-12 22:20:21 +03:00
  • 449106a5a4 use /link before each library linker option on MSVC (#24291) metagn 2024-10-12 22:17:30 +03:00
  • bb0006598d add tables.getOrDefault param name change to changelog (#24271) metagn 2024-10-12 22:16:19 +03:00
  • e334aad202 cowstrings and ssostrings packages require Nim 2.2 narimiran 2024-10-11 17:08:15 +02:00
  • 67d7a7c124 make package testing faster (#24284) Miran 2024-10-11 15:20:25 +02:00
  • f5cb39289b make package testing faster (#24284) Miran 2024-10-11 15:20:25 +02:00
  • 206bbbd940 make linter use lineinfo to check originating package (#24270) metagn 2024-10-11 13:00:05 +03:00
  • cc4c9251f0 Bumps nimble to v0.16.2 (#24283) Juan M Gómez 2024-10-11 12:33:43 +01:00
  • af23bc2941 Bumps nimble to v0.16.2 (#24283) Juan M Gómez 2024-10-11 12:33:43 +01:00
  • aaf6c408c6 make linter use lineinfo to check originating package (#24270) metagn 2024-10-11 13:00:05 +03:00
  • 706985997e use case instead of set of int in osproc (#24277) metagn 2024-10-11 12:17:04 +03:00
  • 9c85f4fd07 fix deref/addr pair deleting assignment location in C++ (#24280) metagn 2024-10-11 11:36:40 +03:00
  • 8754469f49 test more Status' packages, refs #24266 (#24275) Miran 2024-10-11 08:46:27 +02:00
  • 274762638f test more Status' packages, refs #24266 (#24275) Miran 2024-10-11 08:46:27 +02:00
  • e9a4d096ab std/math: Add ^ overload for float32 and float64 (#20898) dlesnoff 2024-10-10 19:30:40 +02:00
  • 2f904535d0 don't allow instantiations resolving to generic body types (#24273) metagn 2024-10-10 16:35:51 +03:00
  • 96d6eee9bc fix workaround for protobuf not installing combparser fork in CI (#24267) metagn 2024-10-09 22:13:40 +03:00
  • 67ea754b7f remove conflicting default call in tables.getOrDefault (#24265) metagn 2024-10-09 19:20:43 +03:00
  • e2ef322754 update CI to macos 13 (#24157) metagn 2024-10-06 07:33:44 +03:00
  • 95a7695810 documentation and comments use HTTPS when possible (#24264) ringabout 2024-10-09 03:50:35 +08:00
  • f73e03b132 fixes obsolete documentations about the JS backend (#24263) ringabout 2024-10-08 22:40:18 +08:00
  • 4fe17a2d87 delay markUsed for converters until call is resolved (#24243) metagn 2024-10-06 09:10:37 +03:00
  • d72b848d17 process non-language pragma nodes in generics (#24254) metagn 2024-10-08 00:18:45 +03:00
  • d6633ae1da Change how to multiply 1.5 to ints to reduce overflow (#24257) Tomohiro 2024-10-08 06:18:11 +09:00
  • 4515b2dae2 use cbuilder for most remaining structs, add typedef (#24253) metagn 2024-10-07 23:10:05 +03:00
  • 30e552e3d3 improves the 2.2.0 changelog (#24256) ringabout 2024-10-08 04:08:58 +08:00
  • c73eedfe6e give int literals matched type on generic match (#24234) metagn 2024-10-07 12:40:44 +03:00