Commit Graph

7567 Commits

Author SHA1 Message Date
Juan Francisco Cantero Hurtado
e0835948bd OpenBSD doesn't support AI_V4MAPPED
Related to #3534
2015-11-23 04:27:20 +01:00
Andreas Rumpf
3c5a0b1b1a Merge pull request #3563 from c-blake/devel
Fix loop index bug in scan for a[s] in b[s..s+len2-1].
2015-11-20 10:29:50 +01:00
Charles Blake
a1df79d5f2 Add a unit test that covers issue 3477
https://github.com/nim-lang/Nim/issues/3477
2015-11-19 07:03:06 -05: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
Araq
ba6d0eb4db fixes #3541 2015-11-18 16:07:20 +01:00
Araq
1757b8466d fixes #3546 2015-11-18 14:42:13 +01:00
Araq
2f07ac785f website updated 2015-11-18 13:32:29 +01:00
Araq
528cf3eae4 better error handling for bug #3550 2015-11-18 13:32:16 +01:00
Araq
698b1fc954 fixes #3550 2015-11-18 12:33:09 +01:00
Araq
aad4ed776b allows macros to access documentation comments 2015-11-18 12:33:09 +01:00
Araq
edb495a6b3 fixes a critical error handling bug for nimsuggest 2015-11-18 12:33:09 +01:00
Andreas Rumpf
0f7fdd8bf4 Merge pull request #3536 from jyelon/proc-addr
Add 'auto-decoration' to nimGetProcAddr
2015-11-12 16:08:12 +01:00
jyelon
e8bc19f79c Add 'auto-decoration' to nimGetProcAddr
Maintainers of win32 DLLs can opt to provide libraries with
'decorated' function names (Google "stdcall name decoration").  To
pull a function pointer out of one of these DLLs, you have to pass a
decorated name to getProcAddress.  This is painful for the authors
of NIM DLL wrappers - they have to pass manually-decorated strings
to "importc", but only on win32.

This commit adds auto-decoration to nimGetProcAddress.  This function
will probe the DLL for the undecorated name, and if that fails, it
will automatically add decoration and try again.  That way, the author
of the wrapper doesn't have to deal with it.
2015-11-11 21:55:33 -05:00
Andreas Rumpf
ebc3438cc2 Merge pull request #3533 from nim-lang/fix-parseopt2-externs
Prevent Exported C procedure collisions
2015-11-11 23:37:43 +01: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
Dominik Picheta
29fd3edb9c Merge pull request #3514 from vegansk/3513_pgsql_prepstat
Fixed issue 3513: wrong setupQuery realization
2015-11-11 16:09:18 +00:00
Araq
f9ad735e55 documented untyped/typed meta-types 2015-11-10 22:51:03 +01: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
81f876040b added newTree to ast.nim 2015-11-10 15:31:21 +01:00
Araq
e9313dd362 added prefix matching to critbits.nim 2015-11-10 15:31:21 +01:00
Araq
209a5fc1bc updated old links on the website 2015-11-10 15:31:21 +01:00
Dominik Picheta
92f2fd9655 Merge pull request #3527 from tulayang/devel
Fix osproc.close
2015-11-10 10:18:32 +00: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
Dominik Picheta
d8738f8f5d Merge pull request #3521 from gour/tools-link-fix
fix docgen link
2015-11-08 12:58:00 +00:00
Dominik Picheta
c83e4390d8 Modified setDefaultLibpath to search using findExe"nim".
This is so that Nimble (and other tools) which use the compiler modules
for nimscript support or other purposes can find $lib.
2015-11-07 15:48:14 +00:00
Gour
ab0a7303bf fix docgen link 2015-11-07 09:33:55 +01:00
Anatoly Galiulin
c017904363 Fixed issue 3513: wrong setupQuery realization 2015-11-06 10:24:23 +06:00
Araq
ae60f4ae76 better nimsuggest support 2015-11-03 14:52:37 +01:00
Araq
5c8342eef9 Nimscript fixes 'cpFile' typo 2015-11-03 14:52:36 +01:00
Araq
86c8a7a947 nimrod is obsolete 2015-11-03 14:52:36 +01:00
Araq
c87f4d24eb fixes start.bat file 2015-11-03 14:52:35 +01:00
Araq
1dda0e4b84 fixes a critical xlen codegen bug 2015-11-03 14:52:34 +01:00
Andreas Rumpf
618d0bc263 Merge pull request #3509 from yashaka/void-context-doc-rephrase
updated 'Void context' doc specifying more precisely for what the void context is triggered
2015-11-02 20:30:07 +01:00
Iakiv Kramarenko
3a5a7a4edf updated 'Void context' section specifying more precisely that assignment to result triggers MANDATORY void context FOR THE SUBSEQUENT EXPRESSIONS 2015-11-02 18:50:10 +02:00
Andreas Rumpf
a64d7be3a9 Merge pull request #3508 from VKlayd/devel
Install stdlib.nimble in lib for nimscript fix
2015-11-02 11:43:40 +01:00
Victor Korkin
e4a3f9fa4b Install stdlib.nimble in lib
Without stdlib.nimble in libs directory Nimscript is not work properly.
2015-11-02 12:48:19 +06:00
Araq
d673fb3911 nimsuggest: added 'chk', 'outline' and 'highlight' features 2015-11-01 23:26:31 +01: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
0249bd0e6c Add missing untestable test. 2015-11-01 10:37:04 +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
Andreas Rumpf
f3814be530 Merge pull request #3501 from nanoant/patch/smaller-build.sh-using-trace
Patch/smaller build.sh using trace
2015-10-30 21:06:34 +01:00
Adam Strzelecki
fd1011e940 build.sh: Output error messages to stderr
Just in case we are running this in some CI.
2015-10-30 15:09:34 +01:00
Adam Strzelecki
1608bd99eb build.sh: Use shell built-in command trace
Rather than issuing echo "cmd..." then cmd... itself, we enable shell trace
facility via set -x, which is POSIX shell standard command and is compatible
with all UNIX shells.

This effectively cuts build.sh size twice, since we don't need to double stuff
there, also making it human readable.

We are also setting PS4 (trace prefix) to none, instead final echo "SUCCESS",
we issue : SUCCESS command which outputs its contents in trace.
2015-10-30 15:06:15 +01:00
Araq
22fc9a9470 development version is 0.12.1, not 0.12.0 2015-10-29 23:33:27 +01:00