Commit Graph

9782 Commits

Author SHA1 Message Date
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
JamesP
41861711c8 add doco for array/seq helper procs 2015-11-12 07:03:16 +10:00
JamesP
52e40995b7 added helper procs for standalone calc of stats for array/seq
Changed derivation to use runningstats, so there
is a single point of truth for the calculations, and provides
more stats functions
2015-11-12 06:33:26 +10: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
Reimer Behrends
67e62302b4 Avoid signed shifts and bit operations for sets.
Set operations used "1<<n" style shifts, which led to undefined
behavior if the signed shift overflowed. Similarly, the right-hand
side of the operator sometimes used a mix of signed and unsigned
integers that were combined with "&". This patch attempts to provide
a consistent implementation that uses unsigned integers everywhere.
2015-11-11 14:19:09 +01:00
JamesP
4cefbc2914 add comment to identify where RunningStat code resides 2015-11-11 08:56:51 +10:00
JamesP
0cf4e2603f Removal of stats procs for openarray (use the RunningStat methodology) 2015-11-11 08:56:12 +10: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
JamesP
7d62b9fc1a add sum back in, fix min inital value, tidy up spaces in
code and comment wording, add a sum test assertion
2015-11-07 18:00:21 +10:00
JamesP
716f84ae4b import the new stats lib 2015-11-07 17:47:49 +10:00
JamesP
cdd00c4df6 Add RunningStat related statistics code removed from math lib,
and add new functionality
- skewness & kurtosis (3rd and 4th stat moments)
- addition ops for RunningStat
- RunningRegress object
- slope, intercept and correlation regression procs
- addition ops for RunningRegress
2015-11-07 15:15:30 +10:00
JamesP
03590a1c42 Removal of RunningStats ready for new stats.nim pure lib file 2015-11-07 15:10:51 +10: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