Commit Graph

  • fb6c805568 propagate efWantStmt in semWhen (#23400) metagn 2024-03-14 13:23:09 +03:00
  • 7c11da3f22 fixes #23382; gives compiler errors for closure iterators in JS (#23398) ringabout 2024-03-14 18:12:29 +08:00
  • 78c834dd76 Fixes an issue where exported types werent being cgen with the exportc pragma (#23369) Juan M Gómez 2024-03-11 12:57:55 +00:00
  • 93399776c4 [C++] Allow member to define static funcs (#23387) Juan M Gómez 2024-03-11 11:10:43 +00:00
  • 94c5996877 Update tests/js/tos.nim, make isAbsolute tested on nodejs under Windows. (#23377) lit 2024-03-09 18:43:27 +08:00
  • 1e20165a15 fixes #22166; adds sideeffects for close and setFilePos (#23380) ringabout 2024-03-09 18:43:00 +08:00
  • e374759f29 [Backport 2.0] When NimScript errors prevents NimSuggest from Init (#23349) Juan M Gómez 2024-03-09 10:42:34 +00:00
  • 320311182c fixes #22284; fixes #22282; don't override original parameters of inferred lambdas (#23368) ringabout 2024-03-09 18:42:15 +08:00
  • f80a5a30b4 fixes #23378; fixes js abs negative int64 (#23379) ringabout 2024-03-09 18:41:39 +08:00
  • 6ebad30e7a closes #22846; adds a test case (#23374) ringabout 2024-03-08 14:06:04 +08:00
  • c2d2b6344d remove mention of GC_ref and GC_unref for strings (#23373) ringabout 2024-03-07 04:24:55 +08:00
  • a2584c779b closes #15751; adds a test case (#23372) ringabout 2024-03-06 16:25:20 +08:00
  • 7cd3d60683 fixes #12703; nim cpp rejects valid code would lose const qualifier for cstring to string via cstrToNimstr (#23371) ringabout 2024-03-06 01:06:58 +08:00
  • d373d304ff closes #10219; adds a test case (#23370) ringabout 2024-03-05 16:39:20 +08:00
  • e217bb24a1 fixes #20945; fixes #18262; provides C API NimDestroyGlobals for static/dynlib libraries (#23357) ringabout 2024-03-04 17:14:25 +08:00
  • 0de70dc7f3 [backport 2.0] nimsuggest fix (#23336) Juan M Gómez 2024-03-04 08:58:54 +00:00
  • 6e875cd7c2 fix isAbsolute broken when nodejs on Windows (#23365) litlighilit 2024-03-04 16:58:33 +08:00
  • 2081da3207 makes nimsuggest listen on localhost by default (#23351) Juan M Gómez 2024-03-04 08:58:06 +00:00
  • a619434904 remove obselete doc with nimrtl (#23358) ringabout 2024-03-04 16:57:40 +08:00
  • 248850a0ce ref #23333; fixes AF_INET6 value on Linux (#23334) ringabout 2024-03-04 00:52:56 +08:00
  • 90fe1b340f Dont mangle when targeting cpp (#23335) Juan M Gómez 2024-03-03 16:37:29 +00:00
  • afced7d9ab [Backport 1.6] When NimScript errors prevents NimSuggest from Init (#23348) Juan M Gómez 2024-03-03 16:36:34 +00:00
  • 79bd6fe084 Update browsers.nim, deprecate unimplemented openDefaultBrowser() (#23332) litlighilit 2024-03-04 00:27:27 +08:00
  • 15577043e8 Fix nimsuggest highlight for import statements (#23263) autumngray 2024-03-03 16:05:11 +01:00
  • aa30233ea7 fixes #23273; forbids methods having importc pragmas (#23324) ringabout 2024-03-03 23:04:24 +08:00
  • 572b0b67ff fixes sink regression for ORC; ref #23354 (#23359) ringabout 2024-03-03 23:03:53 +08:00
  • 31d7554524 fixes #13481; fixes #22708; disable using union objects in VM (#23362) ringabout 2024-03-03 22:56:06 +08:00
  • f4fe3af42a make use of C++11's auto type deduction for temporary variables (#23327) heterodoxic 2024-03-03 15:53:23 +01:00
  • 2f15b67fd9 fixes an issue with string to 'var openArray' at compile-time; [backport] (#23363) Andreas Rumpf 2024-03-03 15:40:08 +01:00
  • a1e41930f8 strformat: detect format string errors at compile-time (#23356) Jacek Sieka 2024-03-03 15:40:53 +01:00
  • 24fbacc63f fixes an issue with string to 'var openArray' at compile-time; [backp… (#23363) Andreas Rumpf 2024-03-03 15:40:08 +01:00
  • e03667e920 improve error messages [backport] (#23345) ringabout 2024-02-27 00:24:16 +08:00
  • 1e7ca2dc78 improve error messages [backport] (#23345) ringabout 2024-02-27 00:24:16 +08:00
  • fa91823e37 Revert "disable measuremancer" (#23353) ringabout 2024-02-26 19:51:37 +08:00
  • 93a8b85a91 fixes #23306 nim cpp -r invalid code generation regression with closure iterators and try/catch-like constructions (#23317) Juan M Gómez 2024-02-26 10:21:03 +00:00
  • 14cdcc091f disable measuremancer (#23352) ringabout 2024-02-26 13:55:18 +08:00
  • 37ed8c8480 * fixed nimsuggest crash with 'Something = concept' put (erroneously) outside of a 'type' block (#23331) Nikolay Nikolov 2024-02-24 08:55:23 +02:00
  • 11c048b06f fixes #22753; Nimsuggest segfault with invalid assignment to table (#22781) (#23313) Nikolay Nikolov 2024-02-24 08:54:42 +02:00
  • 51c86fdae7 * fixed nimsuggest crash when opening a .nim file, that contain a {.fatal: "msg".} pragma. (#23325) (#23329) Nikolay Nikolov 2024-02-24 08:40:47 +02:00
  • 22de3ae53e * fixed nimsuggest crash when opening a .nim file, that contain a {.fatal: "msg".} pragma. (#23325) (#23328) Nikolay Nikolov 2024-02-24 08:40:18 +02:00
  • 6ce6cd4bb8 fixes #22723; skips tyUserTypeClasses in injectdestructors (#23341) ringabout 2024-02-24 14:39:56 +08:00
  • 248bdb276a compiler/ast.nim: fix a typo (#23340) litlighilit 2024-02-23 20:11:27 +08:00
  • 09580eeec9 Fixes #23337; When NimScript errors prevents NimSuggest from Init (#23338) Juan M Gómez 2024-02-22 13:56:45 +00:00
  • 59c65009a5 ORC: added -d:nimOrcStats switch and related API (#23272) Andreas Rumpf 2024-02-21 16:58:30 +01:00
  • 773c066634 * fixed nimsuggest crash when opening a .nim file, that contain a {.fatal: "msg".} pragma. (#23325) Nikolay Nikolov 2024-02-20 09:11:08 +02:00
  • ca77423ffc varargs[typed] should behave more like typed (#23303) Ryan McConnell 2024-02-20 02:08:16 -05:00
  • 7bf8cd3f86 Fixes a nimsuggest crash when using chronos (#23293) Juan M Gómez 2024-02-20 06:36:50 +00:00
  • 39f2df1972 fixes #23295; don't expand constants for complex structures (#23297) ringabout 2024-02-20 14:31:58 +08:00
  • d6f0f1aca7 Remove count field from Deque (#23318) Tomohiro 2024-02-20 15:31:09 +09:00
  • dfd778d056 fixes #23304; uses snprintf instead of sprintf (#23322) ringabout 2024-02-20 14:28:45 +08:00
  • 9a46230335 assume a module's usage if it contains a passC/passL/compile pragma w… (#23323) heterodoxic 2024-02-19 20:59:14 +01:00
  • 92c8c6d5f4 fixes nimsuggest sug doesnt return anything on first pass #23283 (#23288) Juan M Gómez 2024-02-15 15:23:15 +00:00
  • 35ec9c31bd fixes refc with non-var destructor; cancel warnings (#23156) ringabout 2024-02-13 15:11:49 +08:00
  • 1e9a3c438b fixes #18104; tranform one liner var decl before templates expansion (#23294) ringabout 2024-02-13 15:10:28 +08:00
  • 3be2514683 [Backport 2.0] Itanium mangling scheme (#23301) Juan M Gómez 2024-02-13 07:09:23 +00:00
  • d08bba579d [Backport 1.6] Itanium mangling scheme #23301 (#23302) Juan M Gómez 2024-02-13 07:08:46 +00:00
  • a8c168c168 fixes a nimsuggest crash on init (#23300) Juan M Gómez 2024-02-11 06:54:36 +00:00
  • ce68e11641 Remove mask field from Deque (#23299) Tomohiro 2024-02-11 08:39:32 +09:00
  • ae2cdcebc2 nimsuggest --ic:on compiles (#23298) Juan M Gómez 2024-02-09 17:45:01 +00:00
  • a45f43da34 MangleProcs following the Itanium spec so they are demangled in the debugger call stack (#23260) Juan M Gómez 2024-02-09 12:23:36 +00:00
  • c234a2a661 Add items and contains to heapqueue (#23296) Antonis Geralis 2024-02-09 14:19:36 +02:00
  • befb383ac8 fixes #23275; Add == for Deque (#23276) Tomohiro 2024-02-09 06:18:52 +09:00
  • ac1dc03258 fixes regression #23280; Operations on inline toOpenArray len return a wrong result (#23285) ringabout 2024-02-06 13:24:02 +08:00
  • 57658b685c fixes regression #23280; Operations on inline toOpenArray len return a wrong result (#23285) ringabout 2024-02-06 13:24:02 +08:00
  • 4b67cccf50 fixes regression #23280; Operations on inline toOpenArray len return a wrong result (#23285) ringabout 2024-02-06 13:24:02 +08:00
  • 3550c907de closes #14710; adds a test case (#23277) ringabout 2024-02-05 22:46:51 +08:00
  • 6c2fca1a8b [fix] nimsuggest con sometimes doesnt return anything on first pass fixes #23281 (#23282) Juan M Gómez 2024-02-05 13:33:48 +00:00
  • a1d820367f follow up #22380; fixes incorrect usages of newWideCString (#23278) ringabout 2024-02-05 19:14:21 +08:00
  • dd753b3383 Docs-improve: os.getCurrentCompilerExe replace with clearer short-desc (#23270) litlighilit 2024-02-02 20:11:49 +08:00
  • 7d9721007c fixes regression #22909; don't optimize result init if statements can raise which corrupts the compiler (#23271) ringabout 2024-02-01 23:51:07 +08:00
  • 5f6ff1f051 compute checksum of nim files early in the pipelines (#23268) ringabout 2024-02-01 04:36:59 +08:00
  • 519d976f62 compute checksum of nim files early in the pipelines (#23268) ringabout 2024-02-01 04:36:59 +08:00
  • 98b083d750 minor fixes for std prefix in the compiler (#23269) ringabout 2024-01-31 00:03:02 +08:00
  • 7e6f4723c3 Fix system.currentSourcePath() documentation [backport 2.0] (#23243) rockcavera 2024-01-23 18:48:18 -03:00
  • 857b35c602 Additional speed ups of complex.pow (#23264) Angel Ezquerra 2024-01-29 09:05:05 +01:00
  • abcf45e174 Update cmdline.nim, fix broken (dragged) doc-reference for getAppFile… (#23262) litlighilit 2024-01-28 20:38:37 +08:00
  • e3350cbe6f clean up goto exceptions; remove the setjmp.h dep (#23259) ringabout 2024-01-27 14:57:07 +08:00
  • f7c6e04cfb fixes #19977; rework inlining of 'var openarray' iterators for C++ (#23258) ringabout 2024-01-26 19:46:39 +08:00
  • 24a606902a fixes #23247; don't destroy openarray since it doesn't own the data (#23254) ringabout 2024-01-26 15:04:16 +08:00
  • 243f1e6cd5 Fixes #23085: update grammars for 'concept' (#23256) Silly Carbon 2024-01-26 15:03:41 +08:00
  • d44b0b1869 fixes #22597; avoid side effects for call returning openArray types (#23257) ringabout 2024-01-26 13:06:08 +08:00
  • 0b363442e5 fixes broken doc links (#23255) ringabout 2024-01-25 14:10:32 +08:00
  • 9c155eaccc Fix system.currentSourcePath() documentation [backport 2.0] (#23243) rockcavera 2024-01-23 18:48:18 -03:00
  • 06b9e603bc Show error when trying to run in folder that doesn't exist instead of assertion (#23242) Jake Leahy 2024-01-24 08:35:52 +11:00
  • ee984f8836 account for nil return type in tyProc sumGeneric (#23250) metagn 2024-01-24 00:00:34 +03:00
  • be0b847213 closes #15176; adds a test case (#23248) ringabout 2024-01-22 22:32:10 +08:00
  • d3f5056bde remove unreachable code (#23244) ringabout 2024-01-22 16:47:21 +08:00
  • 301822e189 fixes a broken link in std/algorithm (#23246) ringabout 2024-01-22 16:45:56 +08:00
  • 83f2708909 Speed up complex.pow when the exponent is 2.0 or 0.5 (#23237) Angel Ezquerra 2024-01-20 06:39:49 +01:00
  • 720021908d fixes #23233; Regression when using generic type with Table/OrderedTable (#23235) ringabout 2024-01-20 03:37:16 +08:00
  • 1855f67503 Make data-theme default to "auto" in HTML (#23222) Jake Leahy 2024-01-19 23:04:30 +10:00
  • af8b1d0cb9 Fixing overload resolution documentation (#23171) Ryan McConnell 2024-01-19 12:12:31 +00:00
  • 01097fc1fc fix mime types data (#23226) Bung 2024-01-19 20:11:01 +08:00
  • 4a1151d6b4 give typedesc param nodes type T not typedesc[T] [backport:2.0] (#23115) metagn 2024-01-18 16:50:36 +03:00
  • 9994b019c5 Fix reset code gen for range types (#22462, #23214) (#23215) Giuliano Mega 2024-01-18 10:40:22 -03:00
  • 38f9ee0e58 Make std/math classify work without --passc:-fast-math. (#23211) Angel Ezquerra 2024-01-18 21:59:16 +01:00
  • b2f79df81c fixes #22218; avoids cursor when copy is disabled (#23209) ringabout 2024-01-19 04:47:13 +08:00
  • 3fb46fac32 fixes #12334; keeps nkHiddenStdConv for cstring conversions (#23216) ringabout 2024-01-19 04:31:49 +08:00
  • 527d1e1977 Nim Compiler User Guide: Add explanations about lto and strip (#23227) Tomohiro 2024-01-19 05:25:31 +09:00
  • cfd69bad1a fix wrong subtype relation in tuples & infer some conversions (#23228) metagn 2024-01-18 23:19:29 +03:00