Andreas Rumpf
86ea5ea92c
Merge pull request #5141 from c-blake/devel
...
Add a proc `==` for MemSlice.
2017-01-06 13:15:10 +01:00
Andreas Rumpf
fb14ec9aae
Merge pull request #5180 from Parashurama/optimize_byteswapping
...
optimize byte-swapping in endians.nim
2017-01-06 10:53:56 +01:00
Andreas Rumpf
0dde24fd98
Merge pull request #5138 from vegansk/4775-args
...
Disables ``paramCount``, ``paramStr`` when building posix dynlib. Fixes #4775
2017-01-06 10:49:02 +01:00
Parashurama
d7778b5e8b
optimize byte-swapping in endians.nim
...
add support for GCC, CLANG, ICC & VCC builtins for faster byte-swapping.
should compile to single assembly instruction ie BSWAP or equivalent.
2017-01-05 15:13:57 +01:00
Araq
adb8a816c1
distros.nim: don't lose the information that we don't know the distro's package manager (yet)
2017-01-03 17:06:31 +01:00
Araq
70708219c9
distros.nim: also try 'lsb_release -a'
2017-01-03 17:06:31 +01:00
Federico Ceratto
a8c439afb5
Add OptReuseAddr to example and handle closing
2017-01-02 17:02:20 +00:00
Andreas Rumpf
f6c2c4a6a0
distros.nim: better documenation
2016-12-31 10:19:34 +01:00
Araq
763c783bdf
added distros.nim stdlib module for NimScript/Nimble support
2016-12-31 02:04:27 +01:00
Dominik Picheta
09b6d8c0ca
Merge pull request #5163 from vegansk/5155-async
...
Adds pending operations presence check function to asyncdispatch, fixes #5155
2016-12-30 11:06:38 +00:00
Andreas Rumpf
a9729afeaf
Merge pull request #5158 from AdrianV/patch-4
...
bcc uses _timezone like vcc
2016-12-29 11:27:19 +01:00
Anatoly Galiulin
8e71949b78
Add pending operations presence check function, fixes #5155
2016-12-29 17:27:03 +07:00
Andreas Rumpf
0f10713c34
Merge pull request #5159 from AdrianV/patch-5
...
bcc misses the same functions like vcc
2016-12-29 11:27:01 +01:00
Mark Janssen
fa51de8c00
Define getAttributes(NS) on PNode instead of PElement.
2016-12-28 18:26:25 +01:00
AdrianV
8a487d3223
bcc misses the same functions like vcc
2016-12-28 17:34:14 +01:00
AdrianV
3a4353bc40
bcc uses _timezone like vcc
2016-12-28 17:30:23 +01:00
Charles Blake
ec1a77bb86
Oops - forgot export marker.
2016-12-22 16:12:31 -05:00
Charles Blake
1bb6775f92
Add a proc == for MemSlice.
2016-12-22 15:25:13 -05:00
Anatoly Galiulin
d35a8fa174
Disables `paramCount, paramStr` when building posix dynlib. Fixes #4775
2016-12-22 13:55:55 +07:00
Chris Heller
7ad32ea0ed
Change error handling in split to use doAssert so it is not compiled out when running tests
2016-12-21 22:24:08 -08:00
Chris Heller
80a727f1ce
Change error handling to use assert as per Araq's comment
2016-12-21 12:15:33 -08:00
Chris Heller
40d034b7e3
Guard against calling split with an empty string as a separator. Fixes #5119
2016-12-21 12:06:59 -08:00
Araq
237252f90c
Merge branch 'devel' into sighashes
2016-12-19 11:35:45 +01:00
Andreas Rumpf
19edb206d9
Merge pull request #5123 from vegansk/cpuload_overflow
...
Fix overflow when casting int64 to int in cpuload.nim
2016-12-18 02:07:56 +01:00
Araq
24239c2361
Merge branch 'devel' into sighashes
2016-12-17 23:04:34 +01:00
Andreas Rumpf
9ea97bbb2a
Merge pull request #5096 from cheatfate/sup5094
...
Support android compilation of ioselectors.
2016-12-17 10:12:47 +01:00
vega
52a7ed5d19
Fix overflow when casting int64 to int in cpuload.nim
2016-12-16 12:12:36 +07:00
Araq
414c2decbe
Merge branch 'devel' into sighashes
2016-12-13 12:18:45 +01:00
Paweł Świątkowski
11db362d86
Fix description of CountTable's smallest proc
2016-12-11 19:05:39 +01:00
Andreas Rumpf
9099fdd8f0
Merge pull request #5110 from yglukhov/leaks
...
More workarounds for #5098
2016-12-11 18:06:26 +01:00
Yuriy Glukhov
54cbe0b743
More workarounds for #5098
2016-12-07 20:15:31 +02:00
cheatfate
b59ce8d321
Fix compilation errors and enable async events on partially supported systems.
2016-12-07 14:08:53 +02:00
konqoro
5adb639948
strscans: Fix examples
2016-12-06 20:00:21 +02:00
Araq
78d68f0882
Merge branch 'devel' into sighashes
2016-12-06 16:49:22 +01:00
Andreas Rumpf
57c4e78bcc
Merge pull request #5088 from jfhg/posix_running
...
check waitpid() return value before setting exitStatus
2016-12-06 15:05:37 +01:00
Andreas Rumpf
e53e7d9688
Merge pull request #5102 from nigredo-tori/fix-4690
...
Fix 4690 (WIP)
2016-12-06 15:02:57 +01:00
Andreas Rumpf
36a9703866
Merge branch 'devel' into sighashes
2016-12-06 10:08:38 +01:00
Dmitry Polienko
dc8ee72eb6
Revert @endragor's fix for Windows
...
_mkgmtime is not supported by mingw because of the older msvcrt
versions. Fortunately, mktime implementation in Windows is just broken
enough to make the initial implementation work...
As far as I can tell, this works with both *nix-like platforms
and Win, and fixes #4690
2016-12-06 14:53:48 +07:00
Andreas Rumpf
14b9eaee06
Merge pull request #5078 from johnnovak/terminal-height
...
Add terminalHeight, terminalHeightIoctl & terminalSize
2016-12-06 08:49:07 +01:00
Yuriy Glukhov
4423da465a
Workaround for #5098
2016-12-05 23:44:55 +02:00
cheatfate
ac4ccc695f
Support android compilation of ioselectors.
2016-12-05 13:41:46 +02:00
Johannes Hofmann
95188edf6f
make sure first call to running() after process exit returns false
2016-12-03 14:07:08 +01:00
Johannes Hofmann
b453a8e616
check waitpid() return value before setting exitStatus
...
This fixes a race with parallelBuild on DragonFly BSD.
2016-12-02 22:24:42 +01:00
Dominik Picheta
d6ab21eed5
Merge pull request #5080 from FedericoCeratto/httpheaders
...
Add HTTP header deletion, improve tests
2016-12-01 18:01:04 +01:00
Andreas Rumpf
0f700d2277
Merge pull request #5074 from nigredo-tori/fix-5073
...
Make xmltree.innerText recursive, define for all node kinds
2016-12-01 11:20:27 +01:00
Araq
2eee15d7f3
Merge branch 'devel' into sighashes
2016-12-01 10:06:41 +01:00
Dmitry Polienko
ff69656f80
Clean up (as suggested by @Araq)
2016-12-01 09:14:14 +07:00
Federico Ceratto
74e442f766
Add HTTP header deletion, improve tests
2016-12-01 00:11:59 +00:00
Dominik Picheta
75345ad1aa
Merge pull request #5069 from yglukhov/ssl-init-fix
...
Fixed dynlink with OpenSSL >1.1.0. Added loadLibPattern.
2016-11-30 18:44:20 +01:00
Yuriy Glukhov
a80a0972b7
Fixed dynlink with OpenSSL >1.1.0. Added loadLibPattern.
2016-11-30 17:16:54 +02:00