Commit Graph

4304 Commits

Author SHA1 Message Date
Dominik Picheta
46948a9509 Merge pull request #4680 from cheatfate/asyncwinsend
async: protect data argument in windows send operation.
2016-09-02 18:21:35 +02:00
Araq
7332266c7e Merge branch 'devel' of https://github.com/c-blake/Nim into c-blake-devel 2016-09-02 01:22:59 +02:00
Charles Blake
e4ddcd836c Use new name for call to low-level terminalWidth. 2016-09-01 14:44:33 -04:00
Charles Blake
7b39545eb3 Evidently Travis build termios.h does not pull in sys/ioctl.h
but my initial test system did.
2016-09-01 14:08:40 -04:00
Andreas Rumpf
11f7eb2d9b fixes #4689 2016-09-01 16:57:34 +02:00
Charles Blake
d65589fe27 Make Windows part match Unix part more closely per Araq request. 2016-09-01 08:49:07 -04:00
Charles Blake
8df2078f08 Change type name to be more NEP-1-ish as per Araq request. 2016-09-01 08:33:39 -04:00
Charles Blake
5db1de87b1 Convert TaintedString to string. 2016-09-01 08:16:28 -04:00
Charles Blake
7b73a94afc Oops - L_ctermid must be a global var to compile. 2016-09-01 07:54:17 -04:00
Charles Blake
19f83ccd0b Add terminal.terminalWidth and supporting types/calls. 2016-09-01 07:34:42 -04:00
cheatfate
b75ddf5ba2 Fix 32bit architecture problems with SelectEvent. 2016-08-31 10:30:25 +03:00
cheatfate
c5ffdd0389 Protect data argument for GC. 2016-08-30 23:15:08 +03:00
Yuriy Glukhov
f12f27c185 Fixed getCurrentException and getCurrentExceptionMsg. Closes #4635 2016-08-29 13:10:06 +03:00
Andreas Rumpf
10ee254a50 Merge pull request #4661 from yglukhov/js-uncaught-stacktrace
Uncaught exceptions in JS now always propagate with better stack trace. Fixed codegen bug.
2016-08-29 11:52:41 +02:00
Araq
686ab6a0d2 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-08-27 21:12:24 +02:00
Araq
884d5518dd Merged 2016-08-27 20:52:26 +02:00
Yuriy Glukhov
dddae2ddcc Fixed frame corruption 2016-08-27 19:34:31 +03:00
Yuriy Glukhov
c1dd65c01a Reset framePtr on unhabdled exception. Dont reset on getStackTrace. 2016-08-27 18:10:13 +03:00
Yuriy Glukhov
90b0a771e4 Uncaught exceptions in JS now always propagate with better stack trace. 2016-08-27 16:52:08 +03:00
Andreas Rumpf
9b365ddfdd json module: use ordered tables instead of ordinary tables 2016-08-25 20:28:21 +02:00
Andreas Rumpf
54cc702351 update stdlib to not use deprecated symbols 2016-08-25 17:21:48 +02:00
Andreas Rumpf
1e134aed49 Merge pull request #4367 from kierdavis/4365-tables-clear
Improvements to tables.clear()
2016-08-25 16:46:53 +02:00
Andreas Rumpf
9c33a5f0b1 Merge pull request #4603 from nigredo-tori/threadpool-deadlocks
Add a workaround for threadpool deadlocks on recursion
2016-08-25 16:38:47 +02:00
Andreas Rumpf
feec7f9334 Merge pull request #4629 from flyx/times-parse-yearday
Calculate correct yearday in times.parse
2016-08-25 16:36:49 +02:00
Dmitry Polienko
885543e43e Add a lock to prevent race condition 2016-08-24 22:01:37 +07:00
Felix Krause
7e342ec4a1 unittest: Output suite name, nice formatting 2016-08-23 19:23:58 +02:00
Andreas Rumpf
eb03040d7d Merge pull request #4645 from endragor/asyncevent-recursion
Fixed infinite recursion in setEvent and close procs in new asyncdispatch
2016-08-23 14:37:14 +02:00
Andreas Rumpf
605ff68839 Merge pull request #4648 from endragor/remove-gensym-pragma
Removed the use of .gensym pragma from stdlib templates
2016-08-23 14:36:49 +02:00
Dennis Felsing
2ee88fef53 Get rid of initialization warning 2016-08-23 12:26:38 +02:00
Andreas Rumpf
660e4e7123 Merge pull request #4646 from endragor/genoid-race
Fixed race condition in genOid()
2016-08-23 10:45:57 +02:00
Andreas Rumpf
bbfe28ec5c make tests green again 2016-08-23 10:16:52 +02:00
Ruslan Mustakov
91d3661522 Removed the use of .gensym pragma inside stdlib templates 2016-08-23 14:01:16 +07:00
Ruslan Mustakov
2dc3d5c967 Fixed race condition in genOid() 2016-08-23 13:57:03 +07:00
Ruslan Mustakov
b6844bf487 Fixed infinite recursion in setEvent and close procs in upcoming asyncdispatch 2016-08-23 13:48:23 +07:00
Dominik Picheta
2db0f2d46d Merge pull request #4618 from endragor/compatible-async-event
AsyncEvent compatible between Windows and non-Windows platforms
2016-08-20 12:16:53 +02:00
Felix Krause
68680a9880 Calculate correct yearday in times.parse 2016-08-19 12:34:10 +02:00
Dominik Picheta
006207742f Enable SO_NOSIGPIPE for sockets on OS X. 2016-08-16 21:10:55 +02:00
Araq
a13cb26c40 next steps in getting symbol files to work again 2016-08-16 20:04:27 +02:00
Ruslan Mustakov
3ffb6e1ba3 AsyncEvent is now exported on all platforms and created with newAsyncEvent proc in upcoming asyncdispatch 2016-08-15 16:30:08 +07:00
Dominik Picheta
f44486cc85 Fixes #4406. 2016-08-13 23:30:22 +02:00
Andreas Rumpf
b0d9c11e53 Merge pull request #4609 from cheatfate/issue4606
Fix issue #4606
2016-08-12 02:18:37 +02:00
cheatfate
ab69849a05 Resolve #4606
Resolve some new deprecated warnings for test.
2016-08-12 02:41:23 +03:00
Andreas Rumpf
f6671b5bfd Merge pull request #4591 from jangko/vs2010_c4090_warning
fixed #4590 Visual Studio C4090 warning
2016-08-11 23:00:02 +02:00
Dmitry Polienko
2edd3786ce Add a workaround for threadpool deadlocks on recursion 2016-08-11 03:11:57 -07:00
andri lim
5b7efba3ae fixed #4590 Visual Studio C4090 warning 2016-08-09 20:34:15 +07:00
Andreas Rumpf
f1092512e3 tiny style changes 2016-08-09 14:16:26 +02:00
Andreas Rumpf
94a9688556 disable TR macro for increased compile times; define nimTrMacros to re-enable 2016-08-08 20:21:05 +02:00
Andreas Rumpf
e3b4a0c3a2 Merge pull request #4585 from yglukhov/array-ref-swap-optimization
Optimized swapping of ref array elements.
2016-08-08 20:10:14 +02:00
Andreas Rumpf
8d78c23915 Merge pull request #4581 from jangko/vs2010_trunc
Fixed #4532, VS2010 now can compile Nim
2016-08-08 20:08:50 +02:00
andri lim
be6f792cbd Fixed #4532, VS2010 now can compile Nim
Fixed #4532, VS2010 now can compile Nim


Fixed #4532, VS2010 now can compile Nim
2016-08-08 20:24:33 +07:00