35 Commits

Author SHA1 Message Date
ringabout
c0861142f8 fixes strictdefs warnings for stdlibs [part two] (#24514)
After some cleanups for stdlibs, then we should enable warningaserror
for all tests
2024-12-06 05:40:48 +01:00
Tomohiro
d6633ae1da Change how to multiply 1.5 to ints to reduce overflow (#24257) 2024-10-07 23:18:11 +02:00
ringabout
4d11d0619d complete std prefixes for stdlib (#22887)
follow up https://github.com/nim-lang/Nim/pull/22851
follow up https://github.com/nim-lang/Nim/pull/22873
2023-10-30 17:03:04 +01:00
ringabout
f7c203fb6c remove legacy code (#21134)
* remove legacy code

* fixes
2022-12-26 13:20:05 +01:00
ringabout
09b7f90475 move system/atomics out of system; std/atomics should be preferred (#20875)
* move `system/atomics` out of system; `std/atomics` should be preferred

* add deprecation message

* fixes

* fixes

* fixes

* fixes more tests
2022-11-22 20:39:30 +01:00
ringabout
75ece74bdd fixes #20526; use nimPreviewSlimSystem for documentation build (#20714)
* fixes #20526; use `nimPreviewSlimSystem` for `koch docs`

* fixes documentation errors

* fixes remaning issues
2022-11-01 12:53:14 +01:00
ringabout
5602183234 'lock levels' are deprecated, now a noop (#20539)
* 'lock levels' are deprecated, now a noop

* fixes tests
2022-10-11 09:17:09 +02:00
flywind
34c1c631bb close #4451 (#17627) 2021-04-06 22:08:59 +02:00
flywind
fcb5cf643c use single backtick (#17181) 2021-02-24 21:47:27 -08:00
Timothee Cour
18b983d7e3 addQuitProc => addExitProc (#16765) 2021-01-22 19:51:11 +01:00
Miran
5b55aa52d0 fix deprecations and other warnings (#13748) 2020-03-25 19:15:34 +01:00
narimiran
5732bb41ef [backport] run nimpretty on the remaining files 2019-09-30 13:58:17 +02:00
narimiran
545ddf4a4f mark nimprof as used when profiling 2019-09-02 16:00:26 +02:00
cooldome
953f2ef261 Minor bug fix (#9430) 2018-10-19 11:45:59 +02:00
cooldome
eaca5be9d6 Change the order of compilation passes, transformation is made lazy at code gen (#8489)
* Ast no transformation
* Add getImplNoTransform to the macros module
* progress on delaying transf
* Fix methods tranformation
* Fix lazy lambdalifting
* fix create thread wrapper
* transform for lambda lifting
* improve getImplTransformed
* Fix destructor tests
* try to fix nimprof for linux
2018-10-18 20:21:25 +02:00
Araq
bbb0fd4eb7 remove deprecated stuff from the stdlib; introduce better deprecation warnings 2018-05-05 21:45:07 +02:00
Andrey Sobolev
3c03877701 Enable embedded profiler to display filenames.
Enable embedded profiler to display filenames in profile_results.txt
2016-08-02 19:19:31 +07:00
Andreas Rumpf
0834cd63d9 prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
Nick Greenfield
5e8762c21e Improve warning msg when -d:profiler not passed
Partially addresses #3741
2016-01-21 13:49:13 -08:00
Andreas Rumpf
d6fbc1425f profiling doesn't require call to enableProfiling 2015-12-18 01:50:27 +01:00
Andreas Rumpf
f75d11193a modified the integrated profiler to hopefully produce more reliable results 2015-12-18 01:47:39 +01:00
patrick dw
15e7fe787a renamed writeln to writeLine in lib 2015-06-19 01:02:22 -05:00
pdw
6914244f30 lib/pure/e-o - Dropped 'T' from types 2015-06-04 13:18:35 +02:00
GrundleTrundle
c41e0bdbe3 Changed nimprof.hook() to handle uninitialized t0
It's unlikely, but possible for the conversion to nanoseconds
to overflow if QueryPerformanceCounter() returns a
large enough timestamp.  This change avoids that, at the
cost of always taking a sample the first time through
when t0 == 0.
2015-02-21 15:18:39 -05:00
Araq
2b6277c964 more modules updated 2014-08-28 02:14:25 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Nick Greenfield
35e603b89c Fix nimprof import error when --threads:on. 2014-05-20 17:07:20 -04:00
Araq
007d17ce3f more things case consistent 2014-02-10 17:12:25 +01:00
Araq
d43febf81e first version of a memory profiler 2012-10-10 00:41:34 +02:00
Araq
4892d6929a bugfix: 'defined/compiles' open an implicit mixin scope in generics 2012-09-18 16:27:02 +02:00
Araq
c934db86ad stricter symbol lookup in generics 2012-09-17 17:01:34 +02:00
Araq
75abf72503 profiler improvements 2012-09-17 00:31:41 +02:00
Araq
ad6ee9e857 profiler documentation 2012-09-15 01:27:53 +02:00
Araq
214c7a2ebd implemented a stack trace profiler 2012-09-15 00:21:10 +02:00