Commit Graph

11848 Commits

Author SHA1 Message Date
Dmitry Atamanov
b6b99da08f Windows: fix a eraseLine bug (#7044) 2018-01-09 15:48:27 +01:00
cooldome
2c9e56a783 Implement custom annotations (#6987) 2018-01-09 15:25:22 +01:00
Andreas Rumpf
aff787db69 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-09 13:06:07 +01:00
Andreas Rumpf
849664744b another attempt to make the fragmentation test more robust for Windows 2018-01-09 13:00:22 +01:00
Dmitry Atamanov
b31151f68e New runtime: fix allocator inheritable (#7046) 2018-01-09 11:22:29 +01:00
Andreas Rumpf
424532f883 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-08 22:00:27 +01:00
Dmitry Atamanov
fd1883f90a Fixes for new runtime (#7037) 2018-01-08 21:26:03 +01:00
Andreas Rumpf
437caf4358 Merge branch 'devel' into nimv2 2018-01-08 20:04:25 +01:00
Andreas Rumpf
e2f1f8bafa Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-08 18:22:34 +01:00
Andreas Rumpf
c924fac5c8 fixes #7019 2018-01-08 18:22:18 +01:00
Andreas Rumpf
ceb8ba4957 fixes #7018 2018-01-08 18:02:38 +01:00
Dominik Picheta
316c693b91 Merge pull request #7040 from Stromberg90/patch-2
Ast and concrete syntax different.
2018-01-08 13:18:19 +00:00
Andreas Rumpf
cdc104f69a Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-08 13:46:53 +01:00
Andreas Rumpf
b168efd1ab make strformat.fmt take the same signature as strfmt.fmt in order to force an ambiguity error; refs #6958 2018-01-08 13:43:43 +01:00
Strømberg
ce31789431 Ast and concrete syntax different.
Change variable name to a from v, to match the ast and other examples.
2018-01-08 13:30:09 +01:00
Dennis Felsing
5492190bc6 Fix lists of paths in posix environment (#7034)
Empty paths in a colon separated list would be considered as the current
directory, so have to ensure $PATH and $LD_LIBRARY_PATH are not empty
before separating it with :
2018-01-08 10:49:00 +01:00
Andreas Rumpf
2015895357 sink type begins to compile 2018-01-08 01:47:54 +01:00
Andreas Rumpf
e4081a7201 preparations for language extensions: 'sink' and 'lent' types 2018-01-07 23:09:26 +01:00
Andreas Rumpf
3af73682e5 Merge branch 'devel' into nimv2 2018-01-07 13:59:29 +01:00
Andreas Rumpf
e23ea64c41 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-07 12:21:47 +01:00
Andreas Rumpf
51c45c7201 symbol files: introduce more switches for debugging 2018-01-07 12:21:42 +01:00
Andreas Rumpf
08af53032b net.nim: minor documentation update 2018-01-07 12:20:00 +01:00
Araq
e316665b7b work in progress: 'sink' and 'lent' types 2018-01-07 10:17:19 +01:00
Araq
06e68feadb strscans: fix the type checking logic; improve the documentation 2018-01-06 17:27:19 +01:00
Mathias Stearn
9bc2638399 Fix typos in scanf docs (#7035) 2018-01-06 15:08:58 +01:00
Dmitry Atamanov
6ca563dd2e Add a more number parsers to the scanf macro (#6985) 2018-01-05 17:36:56 +01:00
Dmitry Atamanov
6cf8a72d49 Windows: fixes getch bug; fixes #6966 (#7031) 2018-01-05 17:32:05 +01:00
Andreas Rumpf
67ac1aef59 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-05 12:46:33 +01:00
Mathias Stearn
9f943dbc8e Don't zeroMem result of boehmAlloc() (#7029)
From the man page: "Unlike the standard implementations of malloc, GC_malloc
clears the newly allocated storage. GC_malloc_atomic does not."
2018-01-05 08:58:42 +01:00
Andreas Rumpf
3ae434a086 symbol files: do not regenerate method dispatchers for now 2018-01-04 21:08:34 +01:00
Andreas Rumpf
464d037c17 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-04 15:59:10 +01:00
Andreas Rumpf
2e635ab28c new runtime: added typelayouts.nim 2018-01-04 15:59:03 +01:00
Andreas Rumpf
80fef7c818 allocators.nim: minor typo 2018-01-04 14:16:33 +01:00
Araq
2cf94fe7e7 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-04 00:19:11 +01:00
Araq
05e3a06b6e nimbase.h: make 'endif' nesting correct 2018-01-04 00:19:04 +01:00
GULPF
30d182e5d6 Unexport epochday procs (#7024) 2018-01-03 23:54:36 +01:00
Araq
8bcaadc9e4 memfiles: enable test; refs #6361 2018-01-03 13:31:03 +01:00
Araq
9abbd6c880 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-03 13:24:44 +01:00
Araq
e593fef320 memfiles: better error checking for Windows; refs #6361 2018-01-03 13:24:20 +01:00
Eduardo Bart
bbfe6e81ad Add newSeqUninitialized, closes #6401 (#6402) 2018-01-03 12:56:35 +01:00
Dominik Picheta
22cc7c62e5 Fixes times module compilation on cpp backend. (#7004) 2018-01-03 12:46:55 +01:00
Mathias Stearn
23c77ffa3a Faster nimgrep (#6983)
* compile nimgrep with -d:release
* nimgrep: only parse pattern once at startup
2018-01-03 12:42:39 +01:00
Dmitry Atamanov
ce983383fc Add a notes about integer casting to the changelog (#6996) 2018-01-03 12:42:09 +01:00
Sergey Avseyev
8941f5bd9c Use safe limit for toRational(float, int) (#7021)
Current limit `high(int32)` is not safe for 32-bit platforms
and it will overflow (even when running its own test suite).
Similar behaviour would be when try to set limit to `high(int64)`
on 64-bit platforms.

This change selects safe maximum value based on platform
size of int. Safe maximum considered half of int size (for
backward compatiblity).
2018-01-03 12:41:10 +01:00
qqquinta
d5f539dc87 jsgen: bool genConv generates boolean values instead of numeric (#7016) 2018-01-03 12:40:19 +01:00
Araq
49a00fe6ff Merge branch 'devel' of github.com:nim-lang/Nim into devel 2018-01-03 02:36:49 +01:00
Araq
720c73e6d5 symbol files: fixes the logic for multi-methods 2018-01-03 02:36:29 +01:00
Dominik Picheta
b7e69e7cbb Merge pull request #7011 from data-man/shared_docs
Add a shared collections to the docs
2018-01-02 13:35:31 +00:00
data-man
37dde55f8d Add a shared collections to the docs 2018-01-02 01:44:45 +03:00
Sergey Avseyev
3f2636c765 Remove obsolete method analyzeAndConsolidateOutput (#6998)
After the change, when stacktraces rendered in reversed order (most recent
call first), this method removed all stacktraces in the test failures.
2018-01-01 00:39:55 +01:00