Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #4419 from endragor/android4-sockets | Andreas Rumpf | 2016-06-28 | 1 | -2/+7 |
|\ | | | | | Added 'android4' define that declares a different gethostbyaddr | ||||
| * | Added 'android4' define support that declares a different gethostbyaddr. ↵ | Ruslan Mustakov | 2016-06-22 | 1 | -2/+7 |
| | | | | | | | | Fixes #4376 | ||||
* | | Merge pull request #4408 from euantorano/feature-strutils-isNilOrEmpty | Andreas Rumpf | 2016-06-28 | 1 | -1/+27 |
|\ \ | | | | | | | Adding isNilOrEmpty and isNilOrWhitespace | ||||
| * | | Fixing isNilOrWhitespace to handle empty/nil. | Euan | 2016-06-24 | 1 | -2/+7 |
| | | | |||||
| * | | Fixing isNilOrWhitespace for empty/nil strings. | Euan | 2016-06-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | `isSpace` returns false for an empty string, which is the opposite of this method. | ||||
| * | | Adding isNilOrEmpty and isNilOrWhitespace | Euan | 2016-06-24 | 1 | -1/+22 |
| |/ | | | | | | | | | | | | | | | As discussed in #4184, this patch adds `isNilOrEmpty` and `isNilOrWhitespace` to `strutils`. It also modifies the existing `isSpace` proc slightly to exit early rather than looping through all characters in a string. | ||||
* | | Merge pull request #4403 from miere43/win-getch | Andreas Rumpf | 2016-06-28 | 1 | -11/+15 |
|\ \ | | | | | | | Implemented terminal.getch() for Windows | ||||
| * | | getch() asserts to doAsserts | miere43 | 2016-06-26 | 1 | -2/+2 |
| | | | |||||
| * | | Removed INPUT_KEY_RECORD | miere43 | 2016-06-26 | 1 | -11/+6 |
| | | | |||||
| * | | Implemented terminal.getch() for Windows | miere43 | 2016-06-23 | 1 | -11/+20 |
| |/ | |||||
* | | one more cosmetic change | cheatfate | 2016-06-26 | 1 | -13/+9 |
| | | |||||
* | | Some cosmetic changes, and comments | cheatfate | 2016-06-26 | 1 | -210/+198 |
| | | |||||
* | | Event enum is now .pure. | cheatfate | 2016-06-26 | 1 | -435/+366 |
| | | | | | | | | | | | | Modified getMaxFds() to work more properly. Removed seqs from code Some exceptions replaced with doAssert | ||||
* | | Small version of ioselectors.nim, without code duplication and some renames. | cheatfate | 2016-06-23 | 1 | -0/+1849 |
|/ | |||||
* | Fix #4390 | Eduardo Bart | 2016-06-21 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4360 from jyapayne/add_walktree | Andreas Rumpf | 2016-06-21 | 1 | -10/+46 |
|\ | | | | | Add walkPattern to list both directories and files | ||||
| * | Add `walkPattern` to return both files and directories | Joey Payne | 2016-06-17 | 1 | -10/+46 |
| | | | | | | | | | | Also added `walkDirs` to walk only directories based on the pattern specified. | ||||
* | | Corrected comment in maths library. | A. S. Budden | 2016-06-20 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4370 from edubart/future-withtimeout | Dominik Picheta | 2016-06-19 | 1 | -0/+18 |
|\ \ | | | | | | | Add withTimeout proc for futures | ||||
| * | | Add withTimeout proc for futures | Eduardo Bart | 2016-06-19 | 1 | -0/+18 |
| | | | |||||
* | | | Merge pull request #4344 from ReneSac/queues | Andreas Rumpf | 2016-06-19 | 1 | -33/+184 |
|\ \ \ | |/ / |/| | | Enchanced random access support for queues among other changes | ||||
| * | | Remove high() and low() procs from queues module | ReneSac | 2016-06-16 | 1 | -13/+2 |
| | | | | | | | | | | | | | | | 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. | ||||
| * | | Fixes for things pointed by Araq on the PR | ReneSac | 2016-06-16 | 1 | -27/+18 |
| | | | |||||
| * | | Improved the documentation and miscelaneous | ReneSac | 2016-06-15 | 1 | -33/+102 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | Enchanced random access support for queues | ReneSac | 2016-06-12 | 1 | -24/+126 |
| | | | | | | | | | | | | | | | | | | Now queues support indexing, front() and back() operations and pairs iteration. Also modernized some of the code to use newer Nim features. Added the "add()" alias to "enqueue()", per nim's conventions (also fits better with pop()) | ||||
* | | | Fix times.`+` and `-` for TimeInfo and TimeInterval. | Dominik Picheta | 2016-06-18 | 1 | -3/+9 |
| | | | |||||
* | | | Update math.nim | matkuki | 2016-06-18 | 1 | -1/+1 |
| | | | |||||
* | | | Windows MSVC < 2012 'round' function update | matkuki | 2016-06-17 | 1 | -5/+11 |
| |/ |/| | | | | | 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. | ||||
* | | Merge pull request #4357 from SSPkrolik/json-contains | Dominik Picheta | 2016-06-17 | 1 | -0/+10 |
|\ \ | | | | | | | Implemented `in` operator support for JsonNode objects | ||||
| * | | Implemented `in` operator support for JsonNode objects | Rostyslav Dzinko | 2016-06-17 | 1 | -0/+10 |
| | | | |||||
* | | | Merge pull request #4352 from jyapayne/fix_walkfiles | Dominik Picheta | 2016-06-17 | 1 | -1/+4 |
|\ \ \ | | | | | | | | | Fix #4280: os.walkFiles yields directories on Unix systems | ||||
| * | | | Fix #4280: os.walkFiles yields directories on Unix systems | Joey Payne | 2016-06-16 | 1 | -1/+4 |
| |/ / | | | | | | | | | | Files were not properly checked to actually be files after globbing. | ||||
* | | | Lets make arguments names equal on all platforms. | cheatfate | 2016-06-17 | 1 | -2/+2 |
| | | | |||||
* | | | New version, without any piece of code duplication. | cheatfate | 2016-06-17 | 1 | -0/+149 |
|/ / | |||||
* | | Merge pull request #4336 from cheatfate/protectwinrw | Andreas Rumpf | 2016-06-16 | 1 | -0/+16 |
|\ \ | | | | | | | Implement protection on callback environment. | ||||
| * | | One more place to release callback environment protection | cheatfate | 2016-06-14 | 1 | -0/+2 |
| | | | |||||
| * | | Implement protection on callback environment. | cheatfate | 2016-06-14 | 1 | -0/+14 |
| | | | |||||
* | | | Fix empty body on HTTP/1.0 connections | Hendrik Richter | 2016-06-16 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | HTTP/1.0 does not send `Connection: close`. Thus we read till the end of the response in order to catch the whole body. | ||||
* | | | Reverts 1446dc87c3. Fixes #4333. Fixes #4170. | Dominik Picheta | 2016-06-15 | 1 | -6/+4 |
| | | | |||||
* | | | attempt to fix a critical memory leak in Nim's collections | Andreas Rumpf | 2016-06-15 | 2 | -0/+12 |
| | | | |||||
* | | | moved expandTabs to strmisc | Andreas Rumpf | 2016-06-15 | 2 | -48/+35 |
| | | | |||||
* | | | fixes #3045 | Andreas Rumpf | 2016-06-15 | 1 | -0/+166 |
|/ / | |||||
* | | Merge pull request #4316 from cheatfate/windowsEventSelect | Dominik Picheta | 2016-06-14 | 1 | -0/+125 |
|\ \ | | | | | | | addRead/addWrite for Windows IOCP. | ||||
| * | | Resolve some dom96 comments | cheatfate | 2016-06-12 | 1 | -11/+16 |
| | | | |||||
| * | | Introduce addRead/addWrite for Windows IOCP. | cheatfate | 2016-06-12 | 1 | -0/+120 |
| | | | |||||
* | | | Resolve #4334 | cheatfate | 2016-06-14 | 1 | -5/+6 |
| | | | |||||
* | | | Merge pull request #4276 from jyapayne/devel | Andreas Rumpf | 2016-06-14 | 3 | -34/+526 |
|\ \ \ | | | | | | | | | Add extra string functions to strutils to satisfy part of #4218 and #4251 | ||||
| * | | | Move partition and rpartition to new strmisc module | Joey Payne | 2016-06-13 | 2 | -40/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | | Add new procs for string manipulation | Joey Payne | 2016-06-13 | 2 | -34/+510 |
| | | | | | | | | | | | | | | | | | | | | Add center, isTitle, title, partition, rpartition, rsplit, swapCase, translate, and expandTabs | ||||
* | | | | Implement clear() for CountTableRef. Fixes #4325. | Kier Davis | 2016-06-13 | 1 | -1/+1 |
|/ / / |