Commit Graph

51 Commits

Author SHA1 Message Date
Miran
9c33bcac5c change 'iff' to 'if' to stop "corrections" once and for all (#14182) 2020-05-01 15:54:03 +02:00
Jacek Sieka
7d6cbf290a Error -> Defect for defects (#13908)
* Error -> Defect for defects

The distinction between Error and Defect is subjective,
context-dependent and somewhat arbitrary, so when looking at an
exception, it's hard to guess what it is - this happens often when
looking at a `raises` list _without_ opening the corresponding
definition and digging through layers of inheritance.

With the help of a little consistency in naming, it's at least possible
to start disentangling the two error types and the standard lib can set
a good example here.
2020-04-28 19:56:01 +02:00
Arne Döring
4005f0d0e4 forward type alignment information to seqs (#12430) 2020-04-19 07:52:01 +02:00
Andreas Rumpf
c8418651b1 fixes #13219 (#13272) 2020-01-27 22:50:10 +01:00
chr v1.x
aebcbfe5ea [backport] documentation: Add channels examples (#13202) [ci skip] 2020-01-23 14:47:00 +01:00
Araq
9faf00598f ported channels to ARC 2019-12-24 17:33:27 +01:00
Araq
228d53006a refactoring: move threadlocalstorage into its own file 2019-04-04 16:35:15 +02:00
Miran
ca7980f301 improved documentation for several modules (#10752)
More detailed documentation for:
* md5
* hashes

Mostly cosmetic improvements for:
* threadpool
* typetraits
* channels
* threads
2019-03-01 12:57:55 +01:00
Andreas Rumpf
721bf7188b code cleanup: there is no tyOptRef 2019-02-22 19:42:11 +01:00
Federico Ceratto
8f05b34125 Add note on channel usage with spawn (#10627) [ci skip] 2019-02-13 23:30:14 +01:00
Grant
98225ca207 Update channels.nim (#8583)
Fix typo in channels.nim
2018-08-09 09:40:21 +02:00
Araq
3c7bbfebb1 fixes seq copying in channels for --gc:regions 2018-06-07 21:35:41 +02:00
Andreas Rumpf
c0024fa587 fixes channels for --gc:regions 2018-05-25 16:21:33 +02:00
Andreas Rumpf
f7f3a25be8 first steps of making 'opt' a first class type for Nim 2017-09-25 13:19:36 +02:00
Yuriy Glukhov
3d543b1539 Channels can now block depending on maxItems (#6153) 2017-07-31 20:06:55 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Araq
ced38f3fdb udpate channels.nim documentation 2017-03-08 22:56:21 +01:00
Federico Ceratto
d5054c3081 Add note about passing channels between threads. 2017-02-27 21:44:44 +00:00
Yuriy Glukhov
cb1231bf73 Typo in doc 2016-09-24 12:47:00 +03:00
Andreas Rumpf
2569a58f08 fixes #4746 2016-09-24 02:27:12 +02:00
Andreas Rumpf
66bbf7518e fixes #4776 2016-09-24 02:27:12 +02:00
Andreas Rumpf
11f7eb2d9b fixes #4689 2016-09-01 16:57:34 +02:00
Adam Strzelecki
43bddf62dd lib: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
pdw
ff5b446dfc lib/system/a-e - Dropped 'T' from types 2015-06-04 13:18:37 +02:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
194b14a182 fixes #1816 2015-01-02 03:32:45 +01:00
Araq
a639824e5e introduced 'benign' pragma 2014-10-25 22:01:23 +02:00
Araq
53a9d6f5cd Merge branch 'devel' into bigbreak
Conflicts:
	compiler/nim.ini
	doc/manual.txt
	doc/tut2.txt
	koch.nim
	lib/system/channels.nim
	readme.txt
	tools/niminst/niminst.nim
	tools/nimweb.nim
	web/download.txt
	web/news.txt
2014-10-20 08:44:00 +02:00
Araq
b0179f9af5 2nd attempt to fix tryRecv 2014-10-20 01:49:51 +02:00
Araq
60a7532bda fixes tryRecv 2014-10-20 01:09:54 +02:00
Araq
30823c1ce3 make tests green 2014-08-31 15:15:26 +02:00
Dominik Picheta
8446d51a6a Winlean and threads case sensitivity fixes. 2014-08-30 12:57:04 +01:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Araq
e6d17e6273 made large parts of the stdlib gcsafe 2014-04-20 20:01:24 +02:00
Araq
c80d563afb actors compile again 2014-04-20 12:10:23 +02:00
Araq
346443d1b5 case consistency improvements 2014-01-11 21:56:05 +01:00
Araq
f59e502382 better error message for implicitly available modules 2013-12-01 14:04:15 +01:00
Araq
275c7ccf82 fixes #575 2013-09-10 22:04:12 +02:00
Araq
db027faf38 fixes a long standing channels bug 2013-08-09 00:25:31 +02:00
Araq
52851b722d --os:standalone works again 2013-06-30 21:15:28 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
a59abdf8e4 made more tests green; fixes #201 2012-09-12 21:48:37 +02:00
Araq
6b684f4f98 fixes tests for 'system.shallow' 2012-02-10 00:32:20 +01:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
c6213c9774 fixes #71; sorry about the polling implementation 2011-12-05 21:43:45 +01:00
Araq
70cf34cbdc 'assert' is now implemented without compiler magic 2011-12-04 20:14:50 +01:00
Araq
728328eec2 threads compile again; attempt to fix serious code gen issue (except + return) 2011-12-03 19:22:01 +01:00
Araq
92543a3037 more fixes to get rid of tyPureObject 2011-09-24 11:50:46 +02:00
Araq
4839800c22 new actors implementation for nimrod; compiler's generics still not up for the task though 2011-08-29 01:14:26 +02:00