Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add doc to parsexml.nim for template assertions | Chris Heller | 2016-07-02 | 1 | -0/+21 |
| | | | Added additional documentation for parsexml.nim to describe the assertions that are used to check the parser's current status when accessing parser data. | ||||
* | Merge pull request #4361 from jyapayne/fix_split | Andreas Rumpf | 2016-07-02 | 1 | -70/+88 |
|\ | | | | | Fix #4305: Make split proc for set[char] consistent | ||||
| * | Add transition define for old split behavior | Joey Payne | 2016-07-01 | 1 | -1/+26 |
| | | |||||
| * | Fix #4305: Make split proc for set[char] consistent | Joey Payne | 2016-07-01 | 1 | -70/+63 |
| | | |||||
* | | Merge pull request #4389 from jyapayne/add_unicode_procs | Andreas Rumpf | 2016-07-02 | 4 | -67/+332 |
|\ \ | | | | | | | Add unicode procs | ||||
| * | | Fix modules that import both strutils and unicode | Joey Payne | 2016-07-01 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | This is only an issue when a proc in both modules that is named the same is used, such as toLower or toUpper for strings. | ||||
| * | | Add useful unicode procs for string manipulation | Joey Payne | 2016-07-01 | 2 | -62/+327 |
| |/ | | | | | | | | | | | | | Added: isUpper, isLower, isAlpha, isWhiteSpace, toUpper, toLower, and capitalize Renamed strutils procs that are similar to avoid conflicts | ||||
* / | Remove line breaks in OSError messages (Windows) | Vladislav Vorobiev | 2016-07-01 | 1 | -2/+2 |
|/ | | | | | | | | | | | Before: ``` Error: unhandled exception: Не удается найти указанный файл. [OSError] ``` After: ``` Error: unhandled exception: Не удается найти указанный файл. [OSError] ``` | ||||
* | Merge pull request #4401 from zachaysan/add_http_status_codes | Andreas Rumpf | 2016-06-28 | 1 | -0/+8 |
|\ | | | | | Add http status codes | ||||
| * | Fix typo | Zach Aysan | 2016-06-23 | 1 | -1/+1 |
| | | |||||
| * | Add missing - yet necessary - HTTP status codes. | Zach Aysan | 2016-06-23 | 1 | -0/+8 |
| | | |||||
* | | 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 |
| | | |