Andreas Rumpf
a9d86d16ab
Merge pull request #4436 from miere43/patch-2
...
Remove line breaks in OSError messages (Windows)
2016-07-02 17:25:12 +02:00
Vladislav Vorobiev
e4b16ac608
Remove line breaks in OSError messages (Windows)
...
Before:
```
Error: unhandled exception: Не удается найти указанный файл.
[OSError]
```
After:
```
Error: unhandled exception: Не удается найти указанный файл. [OSError]
```
2016-07-01 21:50:26 +03:00
Joey Payne
ff85ef456a
Add new unicode procs to the news
2016-07-01 07:37:49 -06:00
Joey Payne
b1ab82715e
Fix modules that import both strutils and unicode
...
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.
2016-07-01 07:37:49 -06:00
Joey Payne
e0203a4463
Add useful unicode procs for string manipulation
...
Added: isUpper, isLower, isAlpha, isWhiteSpace, toUpper,
toLower, and capitalize
Renamed strutils procs that are similar to avoid conflicts
2016-07-01 07:37:35 -06:00
Joey Payne
79a8a5ee72
Add transition define for old split behavior
2016-07-01 07:24:30 -06:00
Joey Payne
890d7fac14
Fix split stdlib test
2016-07-01 07:24:30 -06:00
Joey Payne
b80f125333
Add new split to breaking changes doc
2016-07-01 07:24:30 -06:00
Joey Payne
76f81d4aa4
Fix #4305 : Make split proc for set[char] consistent
2016-07-01 07:24:30 -06:00
Araq
c416346d38
deprecated macros.emit
2016-06-30 18:42:56 +02:00
Araq
c30e9b9b75
async: You can use -d:nimAsyncDebug to see what the .async macro expands to
2016-06-30 18:42:56 +02:00
Andreas Rumpf
d8ee2c2409
Merge pull request #4401 from zachaysan/add_http_status_codes
...
Add http status codes
2016-06-28 20:14:12 +02:00
Andreas Rumpf
a5f234250e
Merge pull request #4419 from endragor/android4-sockets
...
Added 'android4' define that declares a different gethostbyaddr
2016-06-28 19:37:24 +02:00
Andreas Rumpf
d8fda3e4bb
Merge pull request #4408 from euantorano/feature-strutils-isNilOrEmpty
...
Adding isNilOrEmpty and isNilOrWhitespace
2016-06-28 18:57:03 +02:00
Andreas Rumpf
f7f0cff8b3
Merge pull request #4403 from miere43/win-getch
...
Implemented terminal.getch() for Windows
2016-06-28 18:55:59 +02:00
Yuriy Glukhov
e61cfea78b
Fixed broken test. Added closureScope test.
2016-06-28 13:15:02 +03:00
Yuriy Glukhov
ecfcf49a9d
Added a note on closureScope. Added Kyiv :)
2016-06-28 13:10:07 +03:00
Yuriy Glukhov
def3e015c7
Added closureScope template
2016-06-27 17:44:05 +03:00
Andreas Rumpf
38de553b86
Merge pull request #4398 from vegansk/issue88
...
Fix generics inheritance issues
2016-06-27 09:54:43 +02:00
Andreas Rumpf
e13ebc0c40
Merge pull request #4402 from cheatfate/ioselectors3
...
New async core part 1
2016-06-27 09:52:39 +02:00
Anatoly Galiulin
bef7f72636
Accumulate penalties
2016-06-27 09:16:19 +06:00
miere43
8314412b99
Added stdcall pragma to WINAPI methods.
2016-06-26 22:18:14 +03:00
miere43
7fc9585f7b
getch() asserts to doAsserts
2016-06-26 17:46:43 +03:00
miere43
57bd50a916
Removed INPUT_KEY_RECORD
2016-06-26 16:01:37 +03:00
Euan Torano
e1b7e38674
Remove tests for new functions from tstrutil.
2016-06-26 12:12:51 +01:00
Andreas Rumpf
1362b8bbc7
Merge pull request #4404 from 0joshuaolson1/patch-1
...
Fix punctuation
2016-06-26 12:45:26 +02:00
cheatfate
b8151e09f4
one more cosmetic change
2016-06-26 12:14:21 +03:00
cheatfate
fb0ef44864
Some cosmetic changes, and comments
2016-06-26 12:05:44 +03:00
cheatfate
2eb34a8129
Event enum is now .pure.
...
Modified getMaxFds() to work more properly.
Removed seqs from code
Some exceptions replaced with doAssert
2016-06-26 09:51:01 +03:00
Andreas Rumpf
90bae46839
Merge pull request #4409 from DenisKolodin/noexit
...
Remove explicit exit from bootstrap.sh
2016-06-25 16:11:33 +02:00
Denis Kolodin
8f20e2f38f
Remove explicit exit from bootstrap.sh
2016-06-25 07:47:42 +03:00
Dominik Picheta
7f3b4accb0
Add survey news post.
2016-06-24 15:01:22 +01:00
Euan
f84911364a
Fixing isNilOrWhitespace to handle empty/nil.
2016-06-24 10:51:13 +01:00
Euan
746357404c
Fixing isNilOrWhitespace for empty/nil strings.
...
`isSpace` returns false for an empty string, which is the opposite of
this method.
2016-06-24 10:50:26 +01:00
Anatoly Galiulin
75cca15c65
Speedup generic relations detection
2016-06-24 15:22:22 +06:00
Euan
d932cb1e51
Adding isNilOrEmpty and isNilOrWhitespace
...
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.
2016-06-24 10:18:46 +01:00
Joshua Olson
4887bb2bef
Fix punctuation
...
Not sure if any lines became too long...
2016-06-23 17:26:22 -06:00
miere43
dd7a24d8cc
Implemented terminal.getch() for Windows
2016-06-23 23:22:38 +03:00
cheatfate
ee6257b992
Forgot about newlines at the end
2016-06-23 23:16:00 +03:00
cheatfate
c857e32867
Small version of ioselectors.nim, without code duplication and some renames.
2016-06-23 23:12:27 +03:00
Zach Aysan
1e31b27330
Fix typo
2016-06-23 14:37:17 -04:00
Zach Aysan
280b589cd8
Add missing - yet necessary - HTTP status codes.
2016-06-23 14:23:57 -04:00
Anatoly Galiulin
764668d099
Fix generics inheritance issues
2016-06-23 18:37:14 +06:00
Andreas Rumpf
5f4e98bbc7
fixes #4395 , getType still not entirely correct
2016-06-23 12:41:45 +02:00
Andreas Rumpf
ad8784eef0
PHP codegen: code works with PHP 5.3 (with some luck)
2016-06-23 01:45:10 +02:00
Yuriy Glukhov
e06b32249f
Added addPragma routine
2016-06-22 22:08:07 +03:00
Ruslan Mustakov
45f76738ee
Added 'android4' define support that declares a different gethostbyaddr. Fixes #4376
2016-06-22 20:50:18 +06:00
Dominik Picheta
d68dec11ce
Update sponsors page.
2016-06-22 14:35:07 +01:00
Andreas Rumpf
4b0ba5e3f1
C code generation now deterministic; fixes #4364
2016-06-22 02:50:50 +02:00
Dominik Picheta
6b334770b5
Merge pull request #4391 from edubart/fix-await
...
Fix #4390
2016-06-21 23:52:27 +01:00