def
ef9a3b4d3b
Speed up readLine by using getc_unlocked
...
- Only on POSIX and Windows (_fgetc_nolock here) systems
- File is locked to our thread before and unlocked after readLine
- About 3 times faster in some simple tests
2015-03-12 22:46:18 +01:00
Dominik Picheta
c707923cc1
Merge pull request #2309 from oderwat/fix-tzname
...
Fixes tzname on osx (and presumable bsd).
2015-03-12 17:19:04 +00:00
Hans Raaf
798e5c7552
Adding a call to tzset() to implicitly initialize the tzname infos.
2015-03-12 17:00:06 +01:00
Andreas Rumpf
e0c3b8a452
Merge pull request #2321 from def-/times-js
...
Fix some compiler warnings in times
2015-03-12 16:18:55 +01:00
Andreas Rumpf
4051e436b6
Merge pull request #2320 from aurora/ssl-sigsegv
...
openssl: do not set mem functions on osx
2015-03-12 16:17:47 +01:00
Araq
45a7c51f0c
MD5 module: fixed parameter name
2015-03-12 16:10:42 +01:00
def
44e68be13b
Fix some compiler warnings in times
2015-03-12 13:15:19 +01:00
Harald Lapp
3ccf667899
do not set mem functions on osx
2015-03-12 12:48:28 +01:00
Araq
3aad16e337
fixes #1845 , fixes #2224
2015-03-12 11:08:03 +01:00
Andreas Rumpf
b97207a74c
Merge pull request #2307 from def-/test-fixes-2
...
Test fixes 2
2015-03-12 11:03:08 +01:00
Hans Raaf
06ea53e692
Better documentation and rename of sortByIt().
2015-03-11 22:22:58 +01:00
Dominik Picheta
4924f5b14a
Merge pull request #2311 from def-/result-macros
...
Get rid of 'result shadowed' warning for async procs
2015-03-11 13:17:04 +00:00
def
a4009e32ea
Get rid of 'result shadowed' warning for async procs
2015-03-11 12:46:53 +01:00
def
5020806696
Fix doc for asyncfile
2015-03-11 12:31:24 +01:00
def
573fa9b891
Clean up GCs a bit
2015-03-10 15:31:55 +01:00
def
f7e35542e1
Remove unused rawsockets.pretty.nim
2015-03-10 15:25:25 +01:00
def
d198e397fd
Check that file passed to getFileInfo is not nil
2015-03-10 15:24:20 +01:00
Araq
0032912d10
fixed the tester; more tests green
2015-03-10 12:32:48 +01:00
Araq
ee57bb3e3e
fixes --gc:none regression; made some tests green
2015-03-10 12:32:47 +01:00
Araq
1efb5174f2
fixes #2220 ; #2219 ; breaks #2022 ; for #2022 callsite needs to be used
2015-03-10 12:32:46 +01:00
Dominik Picheta
3ea3aa633d
Merge pull request #2279 from nathan-hoad/sni-support-for-openssl
...
Add SNI support to client and server sockets.
2015-03-10 11:08:21 +00:00
Andreas Rumpf
41ce6571a3
Merge pull request #2291 from def-/parsexml-again2
...
Revert my.c changes in parsexml
2015-03-08 14:54:36 +01:00
def
21bdf45853
Revert my.c changes in parsexml
...
Remeasured with the string copy fix (#2255 ) and isn't faster anymore, so
we should opt for the simpler code again.
2015-03-08 14:50:39 +01:00
Araq
419199bf9a
don't use conio.h on windows ( #2137 )
2015-03-08 14:45:06 +01:00
Araq
c40aac8e20
GC: get rid of pathological behaviour for stack marking
2015-03-08 13:08:19 +01:00
Andreas Rumpf
e390d8ec4a
Merge pull request #2225 from dyu/freebsd
...
compile nim on freebsd
2015-03-08 13:01:55 +01:00
Andreas Rumpf
a50dff8a5e
Merge pull request #2171 from def-/xmlparse-performance
...
Improve performance of parsexml
2015-03-08 13:01:40 +01:00
Andreas Rumpf
554d7c040a
Merge pull request #2255 from def-/copies
...
Only copy strings to their size, not capacity
2015-03-08 12:36:06 +01:00
Nathan Hoad
7cffd290bf
Refine the definition of the server name callbcak.
2015-03-08 21:54:34 +11:00
Nathan Hoad
19ddae38da
Some more documentation for the SNI related procs.
2015-03-08 13:39:37 +11:00
Nathan Hoad
e214308cb1
Remvoe the visibility on these, given their forward declarations already
...
specify it.
2015-03-08 13:38:44 +11:00
Nathan Hoad
c179d10897
isIpAddress doesn't have any effects, so fix it up to clean up connect.
2015-03-08 13:37:32 +11:00
Nathan Hoad
82803d2871
Don't support old versions of OpenSSL.
2015-03-08 12:36:33 +11:00
Andreas Rumpf
8c5537408d
Merge pull request #2231 from oderwat/upd-sequtils
...
Adding repeat(s, n) to sequtils.
2015-03-08 00:00:53 +01:00
Hans Raaf
51034d7e3a
Changed cast to type conversion and added XXX.
2015-03-07 17:51:03 +01:00
Andreas Rumpf
df0473d754
Merge pull request #2239 from Maxdamantus/devel
...
interpret `tuple` as a class and `tuple[]` as the empty tuple, enable syntax for anonymous tuples
2015-03-07 17:35:14 +01:00
Andreas Rumpf
569d1c80b3
Merge pull request #2253 from def-/utf8-to
...
make toUTF8 support up to 6 bytes
2015-03-07 17:28:50 +01:00
Araq
d58212ccc5
fixes #1940 ; code breakage! stricter template evaluation
2015-03-07 15:43:36 +01:00
Araq
c914532c26
fixes #2205
2015-03-07 15:43:35 +01:00
Nathan Hoad
6a548a5c92
Add some documentation to the server-side callback functions.
2015-03-07 19:52:11 +11:00
Nathan Hoad
5978625c12
Make IP address checking more obvious, and add tests for the net module.
2015-03-07 12:37:52 +11:00
Hans Raaf
9e2f79251c
Do we want we to use the typesystem like this?
2015-03-06 18:16:00 +01:00
Hans Raaf
534fe46b82
Added repeat(seq, n) to sequtils.
...
This adds a repeat proc for sequences. There is also an test for it at the end of file.
2015-03-06 18:16:00 +01:00
Dominik Picheta
2c0dfcb302
Merge pull request #2277 from SSPkrolik/redis-hll
...
Added HyperLogLog support to Redis client
2015-03-06 15:52:47 +00:00
Nathan Hoad
d27f40d9b1
Add SNI support to client and server sockets.
2015-03-07 00:48:32 +11:00
krolik
093b2adf65
Added HyperLogLog support to Redis client
2015-03-06 14:27:16 +02:00
Dominik Picheta
d8c5c2f222
Export AsyncFile. Add asyncfile module to docgen.
2015-03-06 10:51:56 +00:00
Andreas Rumpf
fcb44ae4f0
Merge pull request #2267 from SSPkrolik/tables-getter-fix
...
Fixed table getter not compiling when table key type had not '$' proc ...
2015-03-06 10:18:03 +01:00
Max Zerzouri
9c126282b2
interpret tuple as a class and tuple[] as the empty tuple
...
When the indentation syntax is allowed it is always interpreted as a
tuple:
type
Unit = tuple
2015-03-06 12:20:15 +13:00
Dominik Picheta
bab8190b67
Fixes bugs introduced by ee62d56cad. Closes #2227 .
2015-03-05 21:18:28 +00:00