Jeff Ciesielski
16f2808439
Fix typo. Remove unnecessary proc
2016-07-05 08:26:12 -04:00
cheatfate
7724336d73
Patch one more path problem
2016-07-05 14:35:55 +03:00
cheatfate
025c6c0983
Resolved path problems
2016-07-05 13:48:03 +03:00
cheatfate
835ff4a2f8
ioselectors separated and refactored version.
...
adopted asyncdispatch version
2016-07-05 13:18:26 +03:00
Jeff Ciesielski
4f4aafda6c
Plumb {.intdefine.} and {.strdefine.} pragmas.
...
Shorthand so that users won't need to use the .magic pragma
2016-07-04 22:52:24 -04:00
Jeff Ciesielski
94d1aa5109
Add the ability to pass a value with the -d flag
...
This allows the end user to use the {.magic: "IntDefine"/"StrDefine"}
pragmas to pass values into code at compile time. This has a nice side
effect of also allowing/requiring a default value to be assigned in the
code (see osalloc.nim/StandaloneHeapSize for an example)
2016-07-04 18:11:25 -04:00
Matthew Baulch
9a7b6af5fa
Report wrong arg count when too many params and no varargs.
2016-07-05 06:14:36 +10:00
Andreas Rumpf
5f9da6b2ae
Merge pull request #4420 from yglukhov/closure-scope
...
Added closureScope template
2016-07-04 10:41:48 +02:00
Andreas Rumpf
ec63f8c3e4
Merge pull request #4438 from chrisheller/parsexml-doc-update
...
Add doc to parsexml.nim for template assertions
2016-07-04 10:29:00 +02:00
Andreas Rumpf
a0929bb8be
Merge pull request #4410 from DenisKolodin/relinstall
...
Use relative paths in install script template
2016-07-04 10:28:13 +02:00
Denis Kolodin
b8ab419067
Use relative paths in install script template
2016-07-03 12:05:51 +03:00
Chris Heller
f6fda5e704
Add doc to parsexml.nim for template assertions
...
Added additional documentation for parsexml.nim to describe the assertions that are used to check the parser's current status when accessing parser data.
2016-07-02 17:19:03 -06:00
Araq
90f6052955
yay Unix file access rights
2016-07-02 19:08:54 +02:00
Andreas Rumpf
b56e5e159a
Merge pull request #4361 from jyapayne/fix_split
...
Fix #4305 : Make split proc for set[char] consistent
2016-07-02 17:55:57 +02:00
Andreas Rumpf
97b59506d6
Merge pull request #4389 from jyapayne/add_unicode_procs
...
Add unicode procs
2016-07-02 17:49:43 +02:00
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