Commit Graph

11210 Commits

Author SHA1 Message Date
Joey Payne
ebc40ececc Update news with new walkPattern proc 2016-06-20 17:22:19 -06:00
Andreas Rumpf
82bb66eff0 Merge pull request #4379 from edubart/fix-disable-hints
Fix disabling hintProcessing
2016-06-21 00:46:45 +02:00
Eduardo Bart
48d37900a9 Fix disabling hintProcessing 2016-06-20 19:22:09 -03:00
Joey Payne
33146a74c1 Add os tests for directory creation, iteration and deletion 2016-06-20 14:32:01 -06:00
Dominik Picheta
b92b597062 Merge pull request #4372 from abudden/maths-comment-correction
Corrected comment in maths library.
2016-06-20 12:19:33 +01:00
A. S. Budden
f9bb209c32 Corrected comment in maths library. 2016-06-20 09:15:56 +01:00
Dominik Picheta
f76112fb01 Merge pull request #4370 from edubart/future-withtimeout
Add withTimeout proc for futures
2016-06-19 22:58:14 +01:00
Eduardo Bart
c93292e2f7 Add withTimeout proc for futures 2016-06-19 12:56:37 -03:00
Andreas Rumpf
f54e2bae6b Merge pull request #4344 from ReneSac/queues
Enchanced random access support for queues among other changes
2016-06-19 13:56:58 +02:00
Andreas Rumpf
95b4a9ca41 Merge pull request #4369 from Varriount/fix-4363
Fix #4393
2016-06-19 10:59:43 +02:00
Clay Sweetser
6dcaafc70c Fix #4393 2016-06-18 23:53:41 -04:00
Dominik Picheta
8182414a6f Fix times.+ and - for TimeInfo and TimeInterval. 2016-06-18 16:11:57 +01:00
Andreas Rumpf
f5bdc138bb Merge pull request #4362 from matkuki/patch-1
Windows MSVC < 2012 'round' function update
2016-06-18 13:42:25 +02:00
matkuki
39fd0e801d Update math.nim 2016-06-18 12:26:21 +02:00
matkuki
f9a659f7ab Windows MSVC < 2012 'round' function update
Microsoft Visual C++ compilers prior to 2012 do not implement the 'round', 'roundl' or 'roundf' functions.
This change is fixes this. Tested it with MSVC 2010.
2016-06-17 21:52:41 +02:00
Joey Payne
0110a66c68 Use walkPattern to walk both directories and files 2016-06-17 08:38:55 -06:00
Joey Payne
02895ba934 Add walkPattern to return both files and directories
Also added `walkDirs` to walk only directories based on the pattern
specified.
2016-06-17 08:35:59 -06:00
Dominik Picheta
b0e4c0ae26 Merge pull request #4357 from SSPkrolik/json-contains
Implemented `in` operator support for JsonNode objects
2016-06-17 14:12:25 +01:00
Dominik Picheta
494b3b3917 Merge pull request #4352 from jyapayne/fix_walkfiles
Fix #4280: os.walkFiles yields directories on Unix systems
2016-06-17 12:29:17 +01:00
Dominik Picheta
99abfcef35 Merge pull request #4356 from cheatfate/asyncudpv3
Async UDP support (hardcore version)
2016-06-17 12:28:17 +01:00
Rostyslav Dzinko
d913ec1685 Implemented in operator support for JsonNode objects 2016-06-17 14:08:54 +03:00
cheatfate
a93ae86088 Lets make arguments names equal on all platforms. 2016-06-17 13:44:28 +03:00
cheatfate
b53f13cbe7 New version, without any piece of code duplication. 2016-06-17 13:37:42 +03:00
ReneSac
67c7a925c1 Remove high() and low() procs from queues module
Just in case as they are said not overloadable. No deprecation because this is during a PR: those procs didn't exist before.
Also update comment due to failed optimization attempt using copyMem() for POD datatypes.
2016-06-16 18:08:15 -03:00
ReneSac
8dcb3fe5b7 Fixes for things pointed by Araq on the PR 2016-06-16 17:33:45 -03:00
Joey Payne
b5f1a82285 Fix #4280: os.walkFiles yields directories on Unix systems
Files were not properly checked to actually be files after globbing.
2016-06-16 14:30:46 -06:00
Andreas Rumpf
9837b12ee6 Merge pull request #4336 from cheatfate/protectwinrw
Implement protection on callback environment.
2016-06-16 16:24:30 +02:00
Dominik Picheta
87451f549d Merge pull request #4349 from hendi/http1.0
Fix empty body on HTTP/1.0 connections
2016-06-16 15:21:10 +01:00
Hendrik Richter
5c465e260a Fix empty body on HTTP/1.0 connections
HTTP/1.0 does not send `Connection: close`. Thus we read till the end
of the response in order to catch the whole body.
2016-06-16 15:35:57 +02:00
Dominik Picheta
b9865e8ad0 Merge pull request #4348 from cheatfate/ansiSignals
Resolve bug with ansi_c.nim signals declaration
2016-06-16 12:17:02 +01:00
cheatfate
e0b7f434eb Enhance values SIGNALS on more OS.
Checked systems OpenBSD, NetBSD, FreeBSD, Solaris.
2016-06-16 13:38:30 +03:00
ReneSac
dac4826483 Improved the documentation and miscelaneous
Better bounds checking. Tried to make it and documentation comply with the conflicting style guides.
Added example of usage at the top of the module as well as warnings on usage.
Also fix the back() and internal englishOrdinal() proc from previous commit.
Added {.discardable.} pragma for .pop(), when calling only for it's side effects.
Sprinkled some unlikely() for optimization.
Some new tests reflecting those changes.
2016-06-15 18:19:51 -03:00
Dominik Picheta
500aa0cb3f Reverts 1446dc87c3. Fixes #4333. Fixes #4170. 2016-06-15 16:56:28 +01:00
Andreas Rumpf
5f83e869fa attempt to fix a critical memory leak in Nim's collections 2016-06-15 17:15:27 +02:00
Andreas Rumpf
50756d8859 add install_nimble.nims to the tar.xz 2016-06-15 17:15:27 +02:00
Andreas Rumpf
42251f0b6b moved expandTabs to strmisc 2016-06-15 17:15:27 +02:00
Andreas Rumpf
9950bc3936 fixes #3045 2016-06-15 17:15:27 +02:00
Dominik Picheta
7d986583b4 Merge pull request #4342 from moigagoo/devel
Stdlib: nre: Docstring improved.
2016-06-15 12:13:30 +01:00
Konstantin Molchanov
41f5b3bf75 Stdlib: nre: Docstring improved. 2016-06-15 15:08:35 +04:00
cheatfate
974dcc8766 One more place to release callback environment protection 2016-06-14 22:33:15 +03:00
cheatfate
11d9b15fc4 Implement protection on callback environment. 2016-06-14 21:23:48 +03:00
Dominik Picheta
e9023e17d9 Merge pull request #4316 from cheatfate/windowsEventSelect
addRead/addWrite for Windows IOCP.
2016-06-14 17:40:26 +01:00
Dominik Picheta
9d91bdad2f Merge pull request #4335 from cheatfate/i4334
Resolve #4334
2016-06-14 15:40:43 +01:00
cheatfate
efb4d97467 Resolve #4334 2016-06-14 17:22:34 +03:00
Andreas Rumpf
5e8646583d Merge pull request #4331 from endragor/no-cpp-exceptions-rethrow
Fixed rethrowing not to generate C++ throw with noCppExceptions switch
2016-06-14 09:39:10 +02:00
Andreas Rumpf
c9c4b6c41d Merge pull request #4276 from jyapayne/devel
Add extra string functions to strutils to satisfy part of #4218 and #4251
2016-06-14 09:38:45 +02:00
Ruslan Mustakov
a648d06ba8 Fixed rethrowing not to generate C++ throw with noCppExceptions switch 2016-06-14 13:05:28 +06:00
Joey Payne
84d9081e21 Move partition and rpartition to new strmisc module
This was done because partition is an uncommonly used proc that is still
useful in rare cases. There is also a desire to add more procs to this
module at a later time.
2016-06-13 20:54:58 -06:00
Joey Payne
f6e30981a8 Add new procs for string manipulation
Add center, isTitle, title, partition, rpartition, rsplit, swapCase,
translate, and expandTabs
2016-06-13 20:54:23 -06:00
Andreas Rumpf
93424420d4 Merge pull request #4326 from kierdavis/fix-4325
Implement clear() for CountTableRef. Fixes #4325.
2016-06-14 01:57:26 +02:00