Commit Graph

2190 Commits

Author SHA1 Message Date
Andreas Rumpf
f34ee51154 Merge pull request #1636 from rbehrends/fix-thread-issues
Fix some thread issues
2014-11-08 21:19:42 +01:00
Araq
cb976c9c9a Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-11-08 13:11:46 +01:00
Araq
511111defa TAtomType includes 'bool' 2014-11-08 11:19:15 +01:00
Araq
943d4ee714 fixed the deadlock that happens when stress testing ToFreeQueue 2014-11-08 11:18:25 +01:00
Dominik Picheta
13e3c0d5bb Implement SO_REUSEADDR for asyncnet and asynchttpserver. 2014-11-07 14:48:11 +00:00
Dominik Picheta
96d1543c0d Merge pull request #1639 from onionhammer/devel
Made 'headers' public
2014-11-07 11:44:53 +00:00
Araq
06e9932e8a fixes exhaustion bug and missing GC_ref code generation 2014-11-07 01:54:47 +01:00
Erik O'Leary
f31c62315f Made 'headers' public 2014-11-06 18:41:21 -06:00
Araq
b5586264a0 broken attempt to fix queue exhaustion 2014-11-07 00:27:31 +01:00
Reimer Behrends
c43e7c4ff6 Remove references to pthread_mutex_timedlock().
The pthread_mutex_timedlock() function is not supported on a number
of architectures and is not actually used by the library or compiler,
but prevents C++ compilation on systems that do not support it when
threads are enabled.
2014-11-06 02:23:40 +01:00
Andreas Rumpf
e7821cc07a Merge pull request #1623 from gradha/pr_bigbreak_adds_code_directive_to_rst
Adds bigbreak code directive to rst with numbered lines
2014-11-05 01:41:12 +01:00
Araq
0a2296b123 added module fenv's docs 2014-11-04 07:47:31 +01:00
Araq
a53e97fc89 Merge branch 'devel' into bigbreak
Conflicts:
	lib/pure/osproc.nim
2014-11-03 22:50:55 +01:00
Grzegorz Adam Hankiewicz
a7aa2de166 Merge branch 'pr_adds_code_directive_to_rst' into pr_bigbreak_adds_code_directive_to_rst
Conflicts:
	doc/tut2.txt
	lib/packages/docutils/rstgen.nim
	lib/system.nim
2014-11-03 15:50:05 +01:00
Andreas Rumpf
33ce5c282e Merge pull request #1620 from trustable-code/PR6
Fix terminate() and add kill()
2014-11-03 14:18:53 +01:00
Araq
8853023fd8 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-11-03 12:01:07 +01:00
Araq
adad2d5f4a Merge branch 'devel' into bigbreak
Conflicts:
	lib/impure/db_postgres.nim
	lib/pure/json.nim
	lib/pure/math.nim
	lib/system/atomics.nim
2014-11-03 11:42:36 +01:00
Varriount
6935171b85 Fix math.nim on windows 2014-11-03 02:17:39 -05:00
Andreas Rumpf
bd2ba2d73f Merge pull request #1443 from def-/future-listcomprehensions
Add list comprehensions to future module
2014-11-03 02:09:21 +01:00
Andreas Rumpf
db228d3b5c Merge pull request #1553 from gradha/pr_json_module_improvements
json module improvements
2014-11-03 02:03:30 +01:00
Andreas Rumpf
01b262d8d1 Merge pull request #1569 from idlewan/prettyCC
Prettify compiler output for verbosity=1
2014-11-03 02:02:20 +01:00
Andreas Rumpf
a0ecfd19be Merge pull request #1448 from def-/posix-math
Add -lm for fesetround and fegetround
2014-11-03 01:58:50 +01:00
Andreas Rumpf
e7edd9e64e Merge pull request #1565 from gradha/pr_supports_nnkPostfix_stringification
Adds stringification support for nnkPostfix nodes.
2014-11-03 01:56:44 +01:00
Andreas Rumpf
65c64fd83a Merge pull request #1621 from flaviut/fix-oid
Remove extra trailing zero from oid
2014-11-03 01:53:18 +01:00
Flaviu Tamas
771e3db869 Remove extra trailing zero from oid
`$` would return a string of length 25, including the trailing null
String length changed to 24, avoiding an extra null byte in the output
2014-11-02 17:08:35 -05:00
Erwan Ameil
c3a4cc87ca Forgot to keep extern pragma for execProcesses 2014-11-02 16:11:17 +01:00
Erwan Ameil
49e9332661 Use defaut nil callback for execProcesses 2014-11-02 16:06:01 +01:00
Erwan Ameil
2f3add99bb Change empty callback into nil 2014-11-02 15:55:33 +01:00
Simon Krauter
f3d7158d5d Fix terminate() and add kill() 2014-11-02 03:00:47 +01:00
Varriount
cbe733afa2 Revert "Remove extra trailing zero" 2014-11-01 17:52:00 -04:00
Flaviu Tamas
a77dc8e46c Remove extra trailing zero 2014-11-01 17:12:45 -04:00
Reimer Behrends
6e3720155a Various atomics fixes for gcc/clang.
Make atomicInc/atomicDec work with clang, too; also, actually import
the memory model constants from C rather than relying on the enum
matching the C constants by happenstance.
2014-10-30 03:42:50 +01:00
Flaviu Tamas
218cb7587a re module returns nil on failed captures
- tests included
- news.txt updated
2014-10-29 17:54:43 -04:00
Flaviu Tamas
bc3464ede7 Modify pegs.nim such that no match will return nil
An empty match will return ""
A zero-length match will return nil

Add test cases

Add news information
2014-10-29 17:54:43 -04:00
Araq
73ff0432dc docgen works on linux 2014-10-27 00:12:36 +01:00
Araq
7a48942719 nicer error messages (untested) 2014-10-26 19:54:43 +01:00
Araq
a639824e5e introduced 'benign' pragma 2014-10-25 22:01:23 +02:00
Araq
201d3c9ed0 Merge branch 'devel' into bigbreak
Conflicts:
	web/news.txt
2014-10-23 23:13:49 +02:00
Araq
ca4d7b1ea8 Merge branch 'bigbreak' of https://github.com/Araq/Nimrod into bigbreak 2014-10-21 22:41:32 +02:00
Andreas Rumpf
72476e1594 Merge pull request #1566 from onionhammer/bigbreak
Fixed FD_SET casing
2014-10-21 21:48:56 +02:00
Araq
c95e0df29d 'echo' doesn't lock 2014-10-21 19:51:46 +02:00
Milos Negovanovic
2a203e5340 Add comment. 2014-10-21 15:56:00 +01:00
Milos Negovanovic
11a2cfb306 Add comment. 2014-10-21 15:55:02 +01:00
Milos Negovanovic
f5cd0a63ad Merge branch 'devel' of github.com:Araq/Nimrod into devel 2014-10-21 15:29:25 +01: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
c7570dcd3e Merge branch 'devel' into bigbreak
Conflicts:
	compiler/ast.nim
	compiler/nimfix/prettybase.nim
	compiler/pragmas.nim
	compiler/sempass2.nim
	doc/manual.txt
	koch.nim
	lib/pure/concurrency/threadpool.nim
	web/news.txt
2014-10-13 08:26:24 +02:00
Erwan Ameil
06c32aab29 Tidy up the prettification of the default verbosity c compilation output 2014-10-13 01:54:44 +02:00
Erwan Ameil
679aefd89c Prettify compiler output for verbosity=1
Long lines displaying the invocation of the c compiler are replaced
with short, readable lines.
2014-10-12 23:30:32 +02:00