Commit Graph

  • 55905604da Revert "fixes #22913; fixes #12985 differently push-ing pragma exportc genera… (#22941)" narimiran 2024-04-19 08:12:35 +02:00
  • 1185b93c6d fixes commit hashes (#23520) ringabout 2024-04-19 13:47:24 +08:00
  • 318b2cfc5e allow having {.noinit.} on a complex type avoid memsets to 0 for its … (#23388) heterodoxic 2024-04-18 21:58:01 +02:00
  • 558bbb7426 Fix duplicated member declarations in structs for C++ backend (#23512) HexSegfaultCat 2024-04-18 21:57:06 +02:00
  • 229c125d2f workaround #23435; real fix pending #23279 (#23436) ringabout 2024-04-19 03:55:26 +08:00
  • 2a7ddcab2d bundle atlas with sat (#23375) ringabout 2024-04-19 03:54:20 +08:00
  • f12683873f remove php code from jsgen (#23502) ringabout 2024-04-19 03:53:27 +08:00
  • deae83b6ab remove || [] from jsgen because string cannot be nil anymore (#23508) ringabout 2024-04-19 03:53:06 +08:00
  • 0fc8167b84 fixes #23492; fixes JS float range causes compiler crash (#23517) ringabout 2024-04-19 03:51:52 +08:00
  • 9e1d0d1513 fixes #4695; closure iterators support for JS backend (#23493) ringabout 2024-04-19 00:52:30 +08:00
  • e4ac3def9c fixes #19833 #19833; transform discardable into discard statement pr_discardable_refactor ringabout 2024-04-18 14:34:42 +00:00
  • fd64402e47 allow Nix builds by not calling git in isGitRepo for Nimble (#23515) Jakub 2024-04-18 12:25:19 +02:00
  • d6823f4776 allow Nix builds by not calling git in isGitRepo for Nimble (#23515) Jakub 2024-04-18 12:25:19 +02:00
  • acd4c8a353 fixes #23505; fixes injectdestructors errors on transformed addr (deref) refs (#23507) ringabout 2024-04-18 17:57:44 +08:00
  • c696ec92db fixes #23001; give a better warning for PtrToCstringConv (#23005) ringabout 2023-11-30 21:12:12 +08:00
  • 4bc45bb6bc Fix endsInNoReturn for case statements (#23009) SirOlaf 2023-11-30 11:01:42 +01:00
  • 9f35ede1a8 fixes #22926; Different type inferred when setting a default value for an array field (#22999) ringabout 2023-11-29 17:36:20 +08:00
  • 51fa2fada1 fixes #22996; typeAllowedCheck for default fields (#22998) ringabout 2023-11-29 17:35:50 +08:00
  • aed04c6405 fix: std/marshal unmarshaling of ref objects (#22983) John Viega 2023-11-26 00:32:32 -05:00
  • d566d21730 fixes #22913; fixes #12985 differently push-ing pragma exportc genera… (#22941) ringabout 2023-11-20 00:52:42 +08:00
  • 5c4c8c44dc let InotifyEvent type sizeof-able (#22958) Derek 2023-11-18 23:21:01 +08:00
  • 47f1ab7b97 Fix OSError errorCode field is not assigned a value (#22954) 握猫猫 2023-11-18 05:06:46 +08:00
  • 710801d880 fixes #22932; treats closure iterators as pointers (#22934) ringabout 2023-11-14 14:15:44 +08:00
  • 39d0eb3a58 fixes #22673; Cannot prove that result is initialized for a placehold… (#22915) ringabout 2023-11-07 02:36:26 +08:00
  • 71dde8f7cf reserve sysFatal for Defect (#22158) Jacek Sieka 2023-11-06 07:57:29 +01:00
  • 683a1213db fixes #22860; suppress AnyEnumConv warning when iterating over set (#22904) ringabout 2023-11-04 15:52:30 +08:00
  • 3ae3050b80 fixes #22902; borrow from proc return type mismatch (#22908) ringabout 2023-11-04 15:50:30 +08:00
  • bd829c093d fixes #22883; replace default(typeof( with reset; suppress `Unsaf… (#22895) ringabout 2023-11-01 14:54:47 +08:00
  • 5e20e935dd Fix #22826: Don't skip generic instances in type comparison (#22828) SirOlaf 2023-10-21 22:00:16 +02:00
  • 106c7d2afb fixes #22844; uses arrays to store holeyenums for iterations; much more efficient than sets and reasonable for holeyenums (#22845) ringabout 2023-10-21 00:38:42 +08:00
  • 755a15d8d4 fixes #19250; fixes #22259; ORC AssertionDefect not containsManagedMemory(n.typ) (#22823) ringabout 2023-10-14 03:34:13 +08:00
  • a5a6a4d39e fixes #22790; use cast suppress AnyEnumConv warnings for enums withou… (#22813) ringabout 2023-10-11 23:18:54 +08:00
  • 3120c6e839 use lent for the return value of index accesses of tables (#22812) ringabout 2023-10-11 21:14:12 +08:00
  • 0d255b4ea1 suppress incorrect var T destructor warnings for newFinalizer in stdlib (#22810) ringabout 2023-10-11 19:27:22 +08:00
  • e9067c03c6 allows cast int to bool/enum in VM (#22809) ringabout 2023-10-11 18:06:42 +08:00
  • 999d29d2a0 fixes #8893; guard against array access in renderer (#22807) ringabout 2023-10-09 21:36:56 +08:00
  • 08d37c2d7e fixes #22787; marks var section in the loop as reassign preventing cursor (#22800) ringabout 2023-10-07 13:43:39 +08:00
  • 4f78a4dd3e Make typeRel behave to spec (#22261) Ryan McConnell 2023-09-30 04:34:14 +00:00
  • bb82d46ef1 fixes #22696; func strutils.join for non-strings uses proc $ which can have side effects (#22770) ringabout 2023-09-30 12:27:27 +08:00
  • 567900be76 case macro now can be used inside generic. Fixes #20435 (#22752) Juan M Gómez 2023-09-30 05:27:02 +01:00
  • cb899ccf25 ref #19727; implement setLenUninit for seqsv2 (#22767) ringabout 2023-09-29 00:08:31 +08:00
  • 710fd14393 fixes #10542; suppresses varargs conversion warnings (#22757) ringabout 2023-09-26 20:05:18 +08:00
  • 499ad5b63c fixes #22706; turn "unknown hint" into a hint (#22755) ringabout 2023-09-25 23:51:30 +08:00
  • 8ab6cf1ca8 fixes #22246; generate __builtin_unreachable hints for case defaults (#22737) ringabout 2023-09-22 01:47:29 +08:00
  • 577ffbc57c items, pairs and friends now use unCheckedInc (#22729) ringabout 2023-09-20 18:50:23 +08:00
  • e918a762f7 fixes compiler crash by preventing exportc on generics (#22731) Juan M Gómez 2023-09-20 07:19:29 +01:00
  • d56000eaff make parseEnum skip type aliases for enum type sym (#22727) metagn 2023-09-19 10:14:55 +03:00
  • cc7f76a247 Update osfiles.nim, make moveFile consider permission on *nix (#22719) litlighilit 2023-09-18 19:15:17 +08:00
  • adf3e3ceb5 fixes incorrect cint overflow in system (#22718) ringabout 2023-09-18 16:00:46 +08:00
  • 344feb0dd1 Fix #22713: Make size unknown for tyForward (#22714) SirOlaf 2023-09-17 20:03:43 +02:00
  • dc6058fb9b implement semgnrc for tuple and object type nodes (#22709) metagn 2023-09-16 10:16:12 +03:00
  • bbf32118a2 followup of #22568 (#22690) Amjad Ben Hedhili 2023-09-14 16:38:33 +01:00
  • b2cb5f55ac refactor semtempl ident declarations, some special word use (#22693) metagn 2023-09-14 07:22:22 +03:00
  • 7083d397f3 fixes the discVal register is used after free in vmgen (#22688) ringabout 2023-09-11 16:54:41 +08:00
  • 3ddacd90d1 Remove some unnecessary initialization in seq operations (#22677) Amjad Ben Hedhili 2023-09-10 16:36:49 +01:00
  • cb3e5d3f28 [minor] merge similar branches in vmgen (#22683) ringabout 2023-09-10 16:43:46 +08:00
  • 12f2c36aca Make newSeqOfCap not initialize memory. (#21842) Amjad Ben Hedhili 2023-09-09 20:11:45 +01:00
  • a12cb273b3 fixes #22664; guard against potential seqs self assignments (#22671) ringabout 2023-09-08 23:05:57 +08:00
  • 1bbbb2f46b fixes #22662 Procs with constructor pragma doesn't initialize object's fields (#22665) Juan M Gómez 2023-09-08 09:46:40 +01:00
  • 28cef86a09 Fix #21742: Check generic alias depth before skip (#22443) SirOlaf 2023-09-08 06:50:39 +02:00
  • 9ac5666271 make getType nodes of generic insts have full inst type (#22655) metagn 2023-09-07 06:30:37 +03:00
  • 70ab7a53f3 resolve unambiguous enum symchoices from local scope, error on rest (#22606) metagn 2023-09-03 14:59:03 +03:00
  • 70d771d1a9 fix isNil folding for compile time closures (#22574) metagn 2023-09-02 11:32:46 +03:00
  • 45aa0a4725 Fix the problem where instances of generic objects with sendable pragmas are not being cached (#22622) Pylgos 2023-09-02 13:00:26 +09:00
  • d4c1cc7a34 fixes internal error: no generic body fixes #1500 (#22580) Juan M Gómez 2023-09-01 12:42:47 +01:00
  • 131a0328b5 resolve local symbols in generic type call RHS (#22610) metagn 2023-09-01 10:00:15 +03:00
  • 7335495db7 don't update const symbol on const section re-sems (#22609) metagn 2023-09-01 09:59:48 +03:00
  • 24f3272db3 fixes #22613; Default value does not work with object's discriminator (#22614) ringabout 2023-09-01 14:55:19 +08:00
  • 3911c90d7b type annotations for variable tuple unpacking, better error messages (#22611) metagn 2023-09-01 07:26:53 +03:00
  • 7c44af4e22 properly fold constants for dynlib pragma (#22575) metagn 2023-08-28 22:41:18 +03:00
  • d49d7ba90c fix #22548;environment misses for type reference in iterator access n… (#22559) Bung 2023-08-27 20:29:24 +08:00
  • 26f3dfff75 fixes a strictdef ten years long vintage bug, which counts the same thing twice (#22549) ringabout 2023-08-25 02:56:58 +08:00
  • 271632a72d Fix getAppFilename exception handling (#22544) Jacek Sieka 2023-08-24 15:41:29 +02:00
  • 0d02bee23f round out tuple unpacking assignment, support underscores (#22537) metagn 2023-08-24 07:11:48 +03:00
  • c39a0139fc allow non-pragma special words as user pragmas (#22526) metagn 2023-08-21 21:08:57 +03:00
  • 06464fe2ff Fix #21722 (#22512) SirOlaf 2023-08-19 21:04:25 +02:00
  • 8eaf98d64f cascade tyFromExpr in type conversions in generic bodies (#22499) metagn 2023-08-17 19:52:28 +03:00
  • 2a4755ddf2 fixes #22469; generates nimTestErrorFlag for top level statements (#22472) ringabout 2023-08-14 19:08:01 +08:00
  • 814e929eeb fix #22448 Remove structuredErrorHook temporary in tryConstExpr (#22450) Pylgos 2023-08-12 01:23:09 +09:00
  • 6f00b46c4b fixes move sideeffects issues [backport] (#22439) ringabout 2023-08-11 00:04:29 +08:00
  • 665480372e fix #19304 Borrowing std/times.format causes Error: illformed AST (#20659) Bung 2023-08-10 16:26:23 +08:00
  • 2fa314a89d Fix #21760 (#22422) SirOlaf 2023-08-10 07:56:09 +02:00
  • bd63124a00 fix #12938 index type of array in type section without static (#20529) Bung 2023-08-09 18:45:43 +08:00
  • b67d0a64b4 fix #20891 Illegal capture error of env its self (#22414) Bung 2023-08-09 15:43:39 +08:00
  • 09109c55c9 clean up gc:arc or gc:orc in docs and in error messages (#22408) ringabout 2023-08-08 17:55:18 +08:00
  • c1745b5924 fix #18823 Passing Natural to bitops.BitsRange[T] parameter in generi… (#20683) Bung 2023-08-08 16:06:47 +08:00
  • a7394440b9 Delete parse directory, which was pushed wrongly before [backport] (#22401) ringabout 2023-08-07 15:49:30 +08:00
  • 42e4190e1a add test for #3907 (#21069) Bung 2023-08-06 15:21:24 +08:00
  • 36b339bbcf Prevent early destruction of gFuns, fixes AddressSanitizer: heap-use-after-free (#22386) norrath-hero-cn 2023-08-06 01:38:32 +08:00
  • fb2cc06557 destructors: better docs [backport:2.0] (#22391) Andreas Rumpf 2023-08-05 19:35:37 +02:00
  • ac66f6ce7a Fix searchExtPos so that it returns -1 when the path is not a file ext (#22245) Tomohiro 2023-08-05 03:00:43 +09:00
  • f4d99c8d56 fix #20883 Unspecified generic on default value segfaults the compiler (#21172) Bung 2023-08-04 19:35:43 +08:00
  • d097028307 fixes a typo in the manual (#22383) ringabout 2023-08-04 18:00:00 +08:00
  • 7fbf42960b follow up #22322; fixes changelog (#22381) ringabout 2023-08-04 15:08:41 +08:00
  • 526dbf0cf2 Make repr(HSlice) always available (#22332) konsumlamm 2023-08-04 05:29:48 +02:00
  • 1c19d5c72e fixes #22362; Compiler crashes with staticBoundsCheck on (#22363) ringabout 2023-08-02 17:00:34 +08:00
  • 413395866f fixes #22360; compare with the half of randMax (#22361) ringabout 2023-08-02 16:58:29 +08:00
  • 49e1ca0b3e remove HEAD arraymancer dependency requirement in package CI (#23509) metagn 2024-04-17 06:02:54 +03:00
  • 3ad16028aa bump NimVersion to 2.0.5 narimiran 2024-04-16 15:49:33 +02:00
  • 8ebb4dc30a bump NimVersion to 1.6.21 narimiran 2024-04-16 15:49:03 +02:00