Commit Graph

2090 Commits

Author SHA1 Message Date
Dominik Picheta
eb1bedc3c2 Removed redis module from standard library. 2016-01-16 14:58:12 +00:00
Andreas Rumpf
1124c61c49 Merge branch 'devel' into new-ll 2016-01-14 15:01:55 +01:00
Dominik Picheta
fffdae32c7 Fixed TimeInterval bug. 2016-01-08 11:54:34 +00:00
Dominik Picheta
09b159b816 Fixed ttime test. Improved docs in times module. 2016-01-08 11:46:11 +00:00
Dominik Picheta
596d400825 Merge branch 'times_intervals' of https://github.com/jlp765/Nim into jlp765-times_intervals 2016-01-08 11:12:16 +00:00
Andreas Rumpf
cd707084d1 fixes calling convention for the callbacks 2016-01-08 12:08:32 +01:00
Yuriy Glukhov
589132065e Lexbase compatible with JS 2016-01-06 16:38:27 +02:00
Dominik Picheta
9aa60add87 Fixes docgen for lib/pure/db_common.nim.
See http://forum.nim-lang.org/t/1916.
2016-01-05 15:56:13 +00:00
Yuriy Glukhov
dee5f9ad4f osproc fix for Android 2016-01-04 12:52:54 +02:00
Dominik Picheta
deef047f27 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2015-12-29 16:25:43 +00:00
Dominik Picheta
bf4c13711a Fixes incorrect Host header when using httpclient with proxy. 2015-12-29 16:25:21 +00:00
Dominik Picheta
cbab2ecea2 Merge pull request #3663 from def-/netbsd-fix
Fix osproc compilation on NetBSD, use workaround for missing execvpe
2015-12-25 14:30:23 +00:00
def
31cc1815d1 Fix nativesockets compilation on OpenBSD and NetBSD 2015-12-23 05:59:29 +01:00
def
25e862b9bc Fix osproc compilation on NetBSD, use workaround for missing execvpe 2015-12-23 05:56:42 +01:00
Andreas Rumpf
d6fbc1425f profiling doesn't require call to enableProfiling 2015-12-18 01:50:27 +01:00
Andreas Rumpf
f75d11193a modified the integrated profiler to hopefully produce more reliable results 2015-12-18 01:47:39 +01:00
Andreas Rumpf
4e157114a6 added more column information fields 2015-12-17 14:39:40 +01:00
Andreas Rumpf
cb10f30656 big update for the db*.nim modules; uses new db_common.nim 2015-12-16 20:56:12 +01:00
qio-io
135668a7ba Fixing too many open files on quit command with an explicit socket close, and importing the net module 2015-12-13 15:36:26 -04:00
Yuriy Glukhov
5545d36330 Fixed getAddrInfo on android 2015-12-08 12:30:38 +02:00
JamesP
8af8f7673b add timeinterval helping functions as per issue #3609
add tests to ttime.nim for timeinterval add/subtract functionality

Changed assert to doAssert in ttime.nim
Added extra tests to ttime.nim
Removal of singular help procs for working with TimeIntervals
Added TimeIin proc toSeconds(a: TimeInfo, interval: TimeInterval) where subtracting a year gave wrong results
Add overflow of units on initInterval eg, 65 seconds is 5 seconds and 1 minute
2015-12-08 10:16:42 +10:00
Dominik Picheta
6f09282352 Merge pull request #3570 from juanfra684/patch-1
OpenBSD doesn't support AI_V4MAPPED
2015-12-04 15:29:56 +00:00
Federico Ceratto
97540b2ce4 Fix typo, minor rephrasing. 2015-12-03 15:57:55 +00:00
Federico Ceratto
05b856df23 Closes: #3611 2015-12-02 16:05:50 +00:00
JamesP
def25504e8 Add comment at end of file on where to find further tests 2015-12-01 23:05:37 +10:00
JamesP
f62e8558c8 Removal of tests from times module, that have been moved to ttime.nim test file 2015-12-01 18:08:52 +10:00
Araq
22ed2aab35 fixes memory leak for getAppFilename on Windows 2015-11-26 21:20:10 +01:00
Andreas Rumpf
fbe6695a52 Merge pull request #3594 from theduke/unicode-validate-overlong
validateUtf8: catch overlong ascii
2015-11-26 17:34:21 +01:00
theduke
25b605a3a2 validateUtf8: catch overlong ascii
Make unicode.validateUtf8() check for overlong ascii representations, which are 2 bytes long and start with c0 or c1.
2015-11-26 16:05:24 +01:00
Yuriy Glukhov
2fcc37fd2b fixed float formatting for js 2015-11-26 01:10:52 +02:00
def
93e01da671 Fix options module to use new import name 2015-11-23 16:30:18 +01:00
def
7540cdd169 Update comment about map being in system module 2015-11-23 16:23:35 +01:00
Juan Francisco Cantero Hurtado
e0835948bd OpenBSD doesn't support AI_V4MAPPED
Related to #3534
2015-11-23 04:27:20 +01:00
Charles Blake
716c12a436 Fix loop index bug in scan for a[s] in b[s..s+len2-1].
a, b must both be indexed starting from s after the common
prefix "strip" phase.  This resolves issue 3477:
  https://github.com/nim-lang/Nim/issues/3477
2015-11-19 06:52:31 -05:00
Varriount
3832ea0785 Prevent Exported C procedure collisions
Prevents collisions between those C externalized procedures in parseopt and parseopt2.
2015-11-11 15:18:13 -05:00
Araq
b6374f1f68 fixes newly introduced oswalkdir module 2015-11-10 15:56:17 +01:00
Araq
7578d580e0 added oswalkdir.nim for the JS target 2015-11-10 15:35:02 +01:00
Araq
2aff716134 os.walkDir is available at compile time 2015-11-10 15:31:21 +01:00
Araq
e9313dd362 added prefix matching to critbits.nim 2015-11-10 15:31:21 +01:00
wt
696b89c111 Fix osproc.close 2015-11-10 11:13:04 +08:00
Dominik Picheta
60e5a2b2f5 Merge pull request #3504 from Matt14916/xmlparser-entities
Create entity nodes with xmlparser, add a test to xmlparser
2015-11-08 13:07:38 +00:00
Andreas Rumpf
d883781071 Merge pull request #3490 from oderwat/osx-libiconv
Removed libiconv prefix (on OS X) to make encodings compile on OS X.
2015-11-01 12:59:33 +01:00
Dominik Picheta
29a40e37d5 Use nanoseconds for timeouts less than 1 second on Mac OS X. 2015-11-01 11:28:11 +00:00
Dominik Picheta
ae48f26798 Fix poll's timeout for Mac OS X in the seletors module. 2015-11-01 10:37:04 +00:00
Matt Sullivan
8671656e6f Add a test to xmlparser 2015-10-31 13:30:07 -05:00
Matt Sullivan
097c508897 Create entity nodes with xmlparser 2015-10-30 23:42:29 -05:00
Hans Raaf
9b64a73bad Removed libiconv prefix (on OS X) to make encodings compile on OS X.
I am not sure since which version OS X does include the libiconv library
without the `lib` prefix. But it seems this is the case for some years
now. If there are ways to check for the OS X version at compile time
this may be needed to support older OS X versions. But I guess thats not
needed for most users working with Nim anyway.
2015-10-28 20:36:09 +01:00
Dominik Picheta
3892969af4 Merge branch 'devel' 2015-10-27 23:36:00 +01:00
Araq
e94a6ec1f9 added an assertion 2015-10-27 08:37:43 +01:00
Araq
77dc0e50ff fixes #3474 2015-10-25 02:38:33 +02:00