summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Revert changes in osproc.nimDmitry Polienko2016-07-191-43/+6
|
* Fix passing environment in startProcess (win)Dmitry Polienko2016-07-181-6/+43
| | | | | Previous implementation used newWideCString, which doesn't handle strings with \0 characters.
* Merge pull request #4463 from flyx/tables-equals-no-KeyErrorAndreas Rumpf2016-07-191-5/+4
|\ | | | | `==` in tables should not raise KeyError
| * Use getOrDefault for tables.`==`Felix Krause2016-07-081-7/+5
| |
| * `==` in tables should not raise KeyErrorFelix Krause2016-07-071-2/+3
| | | | | | | | | | | | * With previous code, the compiler deduced that equalsImpl may raise a KeyError. While this could only actually happen in a nasty multi-threaded environment, I fixed the code so that it will never happen.
* | Merge pull request #4498 from mbaulch/fix4388Andreas Rumpf2016-07-181-5/+4
|\ \ | | | | | | Random module: fix links, improve header.
| * | Random module: fix links, improve header.Matthew Baulch2016-07-181-5/+4
| | |
* | | fixes #4497Andreas Rumpf2016-07-181-1/+1
| | |
* | | findExe() now by default follows symlinks.Hans Raaf2016-07-171-2/+26
|/ /
* | prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-158-13/+13
| |
* | use table literal syntaxAxel Pahl2016-07-121-2/+2
| |
* | explain difference between Table and TableRef in tables.nimAxel Pahl2016-07-121-0/+33
| |
* | Fix #4422: Reset queue element on pop. Prevent NimVM confusion. Help GC.Matthew Baulch2016-07-111-0/+2
| |
* | Fix "string literal as key expected" errorFederico Ceratto2016-07-091-1/+1
| | | | | | Fix "Error: string literal as key expected expected"
* | async: use -d:nimDumpAsync to see what the async macro generatesAndreas Rumpf2016-07-081-1/+3
| |
* | fixes #4399Andreas Rumpf2016-07-081-0/+1
| |
* | fixes #4371Andreas Rumpf2016-07-081-2/+4
|/
* ospaths can always be imported; fixes #4249Andreas Rumpf2016-07-061-1/+1
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2016-07-066-1546/+1648
|\
| * Merge pull request #4455 from mbaulch/fix_excl_examplesAndreas Rumpf2016-07-061-3/+3
| |\ | | | | | | Update sets examples so they work again.
| | * Update sets examples so they work again.Matthew Baulch2016-07-061-3/+3
| | |
| * | Lower numbers for unchecked arraycheatfate2016-07-051-1/+1
| | |
| * | Misplaced &cheatfate2016-07-051-1/+1
| | |
| * | Simplify SharedArray.cheatfate2016-07-052-8/+2
| | |
| * | Patch one more path problemcheatfate2016-07-055-5/+5
| | |
| * | Resolved path problemscheatfate2016-07-051-5/+5
| | |
| * | ioselectors separated and refactored version.cheatfate2016-07-056-1764/+1872
| |/ | | | | | | adopted asyncdispatch version
* / added strutils.splitWhitespaceAndreas Rumpf2016-07-061-15/+23
|/
* Add doc to parsexml.nim for template assertionsChris Heller2016-07-021-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_splitAndreas Rumpf2016-07-021-70/+88
|\ | | | | Fix #4305: Make split proc for set[char] consistent
| * Add transition define for old split behaviorJoey Payne2016-07-011-1/+26
| |
| * Fix #4305: Make split proc for set[char] consistentJoey Payne2016-07-011-70/+63
| |
* | Merge pull request #4389 from jyapayne/add_unicode_procsAndreas Rumpf2016-07-024-67/+332
|\ \ | | | | | | Add unicode procs
| * | Fix modules that import both strutils and unicodeJoey Payne2016-07-012-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 manipulationJoey Payne2016-07-012-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 Vorobiev2016-07-011-2/+2
|/ | | | | | | | | | | Before: ``` Error: unhandled exception: Не удается найти указанный файл. [OSError] ``` After: ``` Error: unhandled exception: Не удается найти указанный файл. [OSError] ```
* Merge pull request #4401 from zachaysan/add_http_status_codesAndreas Rumpf2016-06-281-0/+8
|\ | | | | Add http status codes
| * Fix typoZach Aysan2016-06-231-1/+1
| |
| * Add missing - yet necessary - HTTP status codes.Zach Aysan2016-06-231-0/+8
| |
* | Merge pull request #4419 from endragor/android4-socketsAndreas Rumpf2016-06-281-2/+7
|\ \ | | | | | | Added 'android4' define that declares a different gethostbyaddr
| * | Added 'android4' define support that declares a different gethostbyaddr. ↵Ruslan Mustakov2016-06-221-2/+7
| |/ | | | | | | Fixes #4376
* | Merge pull request #4408 from euantorano/feature-strutils-isNilOrEmptyAndreas Rumpf2016-06-281-1/+27
|\ \ | | | | | | Adding isNilOrEmpty and isNilOrWhitespace
| * | Fixing isNilOrWhitespace to handle empty/nil.Euan2016-06-241-2/+7
| | |
| * | Fixing isNilOrWhitespace for empty/nil strings.Euan2016-06-241-1/+1
| | | | | | | | | | | | | | | `isSpace` returns false for an empty string, which is the opposite of this method.
| * | Adding isNilOrEmpty and isNilOrWhitespaceEuan2016-06-241-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-getchAndreas Rumpf2016-06-281-11/+15
|\ \ | | | | | | Implemented terminal.getch() for Windows
| * | getch() asserts to doAssertsmiere432016-06-261-2/+2
| | |
| * | Removed INPUT_KEY_RECORDmiere432016-06-261-11/+6
| | |
| * | Implemented terminal.getch() for Windowsmiere432016-06-231-11/+20
| |/
* | one more cosmetic changecheatfate2016-06-261-13/+9
| |