Commit Graph

10788 Commits

Author SHA1 Message Date
Eugene Kabanov
199f061ddc Fix #5920 (#5922)
* Use native `getthrid` on OpenBSD.
* Use NetBSD specific primitive to get thread id
2017-05-31 21:00:16 +02:00
Araq
7b3785554f Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-31 14:35:53 +02:00
Araq
3c129b7fe5 make development version odd 2017-05-31 14:35:45 +02:00
Araq
68d606d773 improve confusing error messages for failed overloading resolution when deref of first arg failed 2017-05-31 14:34:46 +02:00
Fredrik Høisæther Rasch
6652ae9741 Creating and setting comment nodes in macros (#5850)
* strVal assingnable comment statement ast nodes
* Set comment instead of strVal for comment nodes
* Added test code for creating and setting comment nodes
* Modified the AST spec documentation for documentation comments
2017-05-31 13:08:08 +02:00
ftsf
eb83ec2685 Remove redundant filestream.close, causes crash (#5907)
File is already being closed by defer: file.close() closing it twice causes crash.
2017-05-29 14:57:49 +02:00
Jacek Sieka
ba4cc4bf35 a few tiny cleanups (#5712)
exposes emitLazily (for nlvm) and simplifies some conditionals
2017-05-29 09:42:26 +02:00
cooldome
aef5b2eb54 Add len for Slice[T] where T is ordinal (#5847) 2017-05-29 09:41:00 +02:00
Varriount
fd0ab1df3e Merge pull request #5823 from markus-oberhumer/ascii127-is-not-printable
Ascii character code 127 (DEL) is not printable.
2017-05-26 02:29:00 -04:00
Varriount
bd47914f4c Merge pull request #5842 from couven92/readme
Fixed nimsuggest in readme
2017-05-26 02:16:30 -04:00
Varriount
f5bcb3db2b Merge pull request #5865 from adamchainz/doc_shebang
Documented shebang execution of Nimscripts
2017-05-26 02:15:46 -04:00
Varriount
84a4b77854 Merge pull request #5877 from krux02/more-newLit
more and improved newLit procs in macros module
2017-05-26 02:14:52 -04:00
Varriount
f2bdf3794a Merge pull request #5873 from def-/devel
Invoke xz -9 explicitly instead of trusting tar to interpret XZ_OPT
2017-05-26 02:11:38 -04:00
Arne Döring
32143d3c7a more and improved newLit procs in macros module 2017-05-23 19:37:51 +02:00
Dennis Felsing
5b9620bc2d Invoke xz -9 explicitly instead of trusting tar to interpret XZ_OPT 2017-05-23 15:30:58 +02:00
Adam Johnson
9ffed0de3f Documented shebang execution of Nimscripts 2017-05-21 22:19:13 +01:00
Fredrik Høisæther Rasch
3cef2129b9 Fixed nimsuggest in readme 2017-05-18 15:39:15 +02:00
Yuriy Glukhov
2b8a1cee8c Fixup #5804 (#5837) 2017-05-18 13:12:43 +02:00
Araq
ecdc478dac fixes 'koch winrelease' 2017-05-18 13:07:36 +02:00
Araq
d3f0f87e81 niminst: add missing nimsuggest tool; small koch.nim cleanup v0.17.0 2017-05-17 23:59:53 +02:00
Dominik Picheta
bf0afaf3c4 Fixes web0 on Mac OS X. 2017-05-17 22:11:43 +01:00
Araq
47076452fd updated version to 0.17.0 2017-05-17 22:56:49 +02:00
Ruslan Mustakov
0a76387ba4 Fix posix_spawn error handling (#5826)
posix_spawn doesn't set errno - it returns the error code.
2017-05-17 22:40:55 +02:00
Araq
8f67b90997 Merge branch 'araq2' into devel 2017-05-17 22:13:57 +02:00
Araq
c8cec27c0a file mode change 2017-05-17 22:13:47 +02:00
Araq
6857363034 finish.nim tool: use global path environment variable if local does not exist 2017-05-17 21:48:36 +02:00
Dominik Picheta
b2e649c093 Fixes regression introduced by #5739. Improves newNimNode proc. 2017-05-17 20:05:21 +01:00
Andreas Rumpf
7a95c961a7 cleanup of in/out covariance handling 2017-05-17 20:54:53 +02:00
Dominik Picheta
d1daccac2f Fixes #5761. 2017-05-17 16:11:26 +01:00
Dominik Picheta
427aa2d395 Fixes #4893. 2017-05-17 15:07:45 +01:00
Dominik Picheta
5262b86001 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-17 15:07:35 +01:00
Dominik Picheta
06415eb69d Fixes #5821 (float32 literal comparison issue) (#5825)
* Remove processing hints for async procs.
* Fixes #5821.
2017-05-17 15:57:06 +02:00
Andreas Rumpf
61a0eba14f Merge branch 'zahary' into araq2 2017-05-17 15:27:04 +02:00
Dominik Picheta
f86aca799c Remove processing hints for async procs. 2017-05-16 22:50:25 +01:00
Araq
943aaecbe7 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-16 22:09:37 +02:00
Yuriy Glukhov
6599cae281 Async macro fixes (#5739) 2017-05-16 22:09:19 +02:00
Araq
ac3e7edfe4 weaken the rules for proc definition pragmas that have been forwarded 2017-05-16 22:07:44 +02:00
Markus F.X.J. Oberhumer
8d3f477fad Create correct C protoypes in genMainProc. (#5822)
This avoids a -Wstrict-prototypes warning in the generated C file.
2017-05-16 21:04:12 +02:00
Araq
0f2648c56d Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-16 20:51:50 +02:00
Dominik Picheta
0613f08b24 More bug fixes added to list in release notes. 2017-05-16 17:53:39 +01:00
Markus F.X.J. Oberhumer
87888e8129 Ascii character code 127 (DEL) is not printable. 2017-05-16 18:09:24 +02:00
Andreas Rumpf
503f780676 Merge branch 'zahary' into araq2 2017-05-16 17:32:18 +02:00
Dominik Picheta
8dd5e94f5a Merge pull request #5019 from FedericoCeratto/json_tests
Add JSON tests based on https://github.com/nst/JSONTestSuite
2017-05-16 14:37:42 +01:00
Federico Ceratto
fcd86883ed Add waitFor on seq[Future], waitAll and more (#5189)
* Switch to unittest and speedup

* Make timers and callbacks fields public
2017-05-16 14:36:21 +01:00
Dominik Picheta
80aa02e7f9 Merge pull request #5748 from J3RN/meet-xdg-base-directory-spec
Modified ospath's getConfigDir to meet XDG spec
2017-05-16 14:11:31 +01:00
Dominik Picheta
e6827f7cc3 Merge pull request #5819 from cdunn2001/fix-5816
Use writeable file in parsecfg.writeConfig()
2017-05-16 13:48:49 +01:00
Jacek Sieka
797301ace8 add back SIG_IGN, SIG_DFL and friends to posix.nim (#5820)
* add back SIG_IGN, SIG_DFL and friends to posix.nim

accidentally wiped by ce86b4ad78

* move deprecated sig_hold after consts include
2017-05-16 13:45:09 +01:00
Andreas Rumpf
224eec595a Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-16 14:03:44 +02:00
Andreas Rumpf
113857c7f1 better stack trace handling 2017-05-16 14:03:33 +02:00
Christopher Dunn
117c983d13 Use writeable file in parsecfg.writeConfig()
Fixes #5816
2017-05-15 09:52:57 -05:00