Hendrik Richter
5c465e260a
Fix empty body on HTTP/1.0 connections
...
HTTP/1.0 does not send `Connection: close`. Thus we read till the end
of the response in order to catch the whole body.
2016-06-16 15:35:57 +02:00
Dominik Picheta
b9865e8ad0
Merge pull request #4348 from cheatfate/ansiSignals
...
Resolve bug with ansi_c.nim signals declaration
2016-06-16 12:17:02 +01:00
cheatfate
e0b7f434eb
Enhance values SIGNALS on more OS.
...
Checked systems OpenBSD, NetBSD, FreeBSD, Solaris.
2016-06-16 13:38:30 +03:00
ReneSac
dac4826483
Improved the documentation and miscelaneous
...
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.
2016-06-15 18:19:51 -03:00
Dominik Picheta
500aa0cb3f
Reverts 1446dc87c3. Fixes #4333 . Fixes #4170 .
2016-06-15 16:56:28 +01:00
Andreas Rumpf
5f83e869fa
attempt to fix a critical memory leak in Nim's collections
2016-06-15 17:15:27 +02:00
Andreas Rumpf
50756d8859
add install_nimble.nims to the tar.xz
2016-06-15 17:15:27 +02:00
Andreas Rumpf
42251f0b6b
moved expandTabs to strmisc
2016-06-15 17:15:27 +02:00
Andreas Rumpf
9950bc3936
fixes #3045
2016-06-15 17:15:27 +02:00
Dominik Picheta
7d986583b4
Merge pull request #4342 from moigagoo/devel
...
Stdlib: nre: Docstring improved.
2016-06-15 12:13:30 +01:00
Konstantin Molchanov
41f5b3bf75
Stdlib: nre: Docstring improved.
2016-06-15 15:08:35 +04:00
cheatfate
974dcc8766
One more place to release callback environment protection
2016-06-14 22:33:15 +03:00
cheatfate
11d9b15fc4
Implement protection on callback environment.
2016-06-14 21:23:48 +03:00
Dominik Picheta
e9023e17d9
Merge pull request #4316 from cheatfate/windowsEventSelect
...
addRead/addWrite for Windows IOCP.
2016-06-14 17:40:26 +01:00
Dominik Picheta
9d91bdad2f
Merge pull request #4335 from cheatfate/i4334
...
Resolve #4334
2016-06-14 15:40:43 +01:00
cheatfate
efb4d97467
Resolve #4334
2016-06-14 17:22:34 +03:00
Andreas Rumpf
5e8646583d
Merge pull request #4331 from endragor/no-cpp-exceptions-rethrow
...
Fixed rethrowing not to generate C++ throw with noCppExceptions switch
2016-06-14 09:39:10 +02:00
Andreas Rumpf
c9c4b6c41d
Merge pull request #4276 from jyapayne/devel
...
Add extra string functions to strutils to satisfy part of #4218 and #4251
2016-06-14 09:38:45 +02:00
Ruslan Mustakov
a648d06ba8
Fixed rethrowing not to generate C++ throw with noCppExceptions switch
2016-06-14 13:05:28 +06:00
Joey Payne
84d9081e21
Move partition and rpartition to new strmisc module
...
This was done because partition is an uncommonly used proc that is still
useful in rare cases. There is also a desire to add more procs to this
module at a later time.
2016-06-13 20:54:58 -06:00
Joey Payne
f6e30981a8
Add new procs for string manipulation
...
Add center, isTitle, title, partition, rpartition, rsplit, swapCase,
translate, and expandTabs
2016-06-13 20:54:23 -06:00
Andreas Rumpf
93424420d4
Merge pull request #4326 from kierdavis/fix-4325
...
Implement clear() for CountTableRef. Fixes #4325 .
2016-06-14 01:57:26 +02:00
Andreas Rumpf
9bb31f6273
Merge pull request #4314 from abudden/2146-unbuffered-io
...
Added setStdIoUnbuffered for unbuffered stdio (fixes #2146 ).
2016-06-14 01:57:02 +02:00
A. S. Budden
72bd22a380
Added missing export marker.
2016-06-13 19:08:13 +01:00
Kier Davis
acbb03ee5e
Implement clear() for CountTableRef. Fixes #4325 .
2016-06-13 17:23:56 +01:00
A. S. Budden
8e28a6140b
Correction as I hadn't realised setvbuf had been renamed.
2016-06-13 16:57:52 +01:00
A. S. Budden
1095b35a79
Merged upstream/devel into this branch to resolve conflicts and ensure an easy merge back into upstream/devel
2016-06-13 16:44:14 +01:00
A. S. Budden
5327cd0a84
Corrected setStdIoUnbuffered for systems without stdout, stderr or stdin declared.
2016-06-13 16:37:50 +01:00
Andreas Rumpf
58bb12d5ce
Merge pull request #4323 from yglukhov/emscripten-fix
...
Fixed emscripten compilation
2016-06-13 16:39:45 +02:00
Yuriy Glukhov
84876edbcb
Fixed emscripten compilation
2016-06-13 17:00:13 +03:00
Dominik Picheta
4fca8c94a2
Merge pull request #4317 from karantin2020/xmlfix
...
xmldom fix
2016-06-13 13:43:55 +01:00
Andreas Rumpf
68d1240012
fixes sysio/readChar regression
2016-06-13 12:23:31 +02:00
Andreas Rumpf
82ccb09b61
fixes niminst regression
2016-06-13 12:18:44 +02:00
Andreas Rumpf
7e8c9eda45
more niminst fixes
2016-06-13 12:18:44 +02:00
Andreas Rumpf
112cde69c8
de-deprecate re.nim
2016-06-13 12:18:44 +02:00
Andreas Rumpf
792b99442a
Merge pull request #4284 from arnetheduck/system-c-cleanup
...
System c cleanup
2016-06-13 12:18:34 +02:00
Andreas Rumpf
318e1e2c6a
Merge pull request #4313 from abudden/csvDictReader2
...
Improvements to parsecsv to include a minimalist DictReader #4285
2016-06-13 01:58:27 +02:00
ReneSac
d6849b87c5
Enchanced random access support for queues
...
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())
2016-06-12 16:34:24 -03:00
karantin2020
bf67fac169
In xmldom module added default attribute names checkfor namespace creation, see https://www.w3.org/XML/1998/namespace
2016-06-12 20:04:57 +03:00
cheatfate
de6af2f887
Resolve some dom96 comments
2016-06-12 16:25:34 +03:00
cheatfate
43329c5909
Introduce addRead/addWrite for Windows IOCP.
2016-06-12 15:09:30 +03:00
A. S. Budden
52b4e8f661
Added setStdIoUnbuffered for unbuffered stdio ( fixes #2146 ).
2016-06-12 07:40:28 +01:00
Jacek Sieka
087db3ce64
remove fauly fix for windows error being overwritten
2016-06-12 14:31:59 +08:00
A. S. Budden
004ac801a5
Improvements to parsecsv to include a minimalist DictReader #4285
2016-06-12 07:28:07 +01:00
Dominik Picheta
aadc154c95
Merge pull request #4311 from FedericoCeratto/patch-10
...
Add value creation/update to the usage example
2016-06-12 01:16:51 +01:00
Andreas Rumpf
7ee6b6c5f8
Merge pull request #4310 from Parashurama/long_stack_trace
...
adds --excessiveStackTrace:on|off flag for nim
2016-06-11 22:07:15 +02:00
Federico Ceratto
0fe414150e
Add value creation/update to the usage example
2016-06-11 15:52:36 +01:00
Parashurama
6c8b06b2a3
adds --excessiveStackTrace:on|off flag for nim
...
display absolute file path in error messages.
2016-06-11 15:09:10 +02:00
Andreas Rumpf
c1a553a2a9
Merge pull request #4282 from abudden/4252-startsWithChar
...
Added startsWith/endsWith implementations for character prefix/suffix…
2016-06-11 09:20:20 +02:00
Andreas Rumpf
d8cd16a8b6
version bump for development
2016-06-11 09:15:49 +02:00