Commit Graph

3583 Commits

Author SHA1 Message Date
Araq
af29ea1ea2 proper color flipping 2015-12-01 00:53:30 +01:00
Araq
10530add48 next steps for the GC 2015-12-01 00:53:30 +01:00
Araq
9ed635d5c0 only mark roots when marking 2015-12-01 00:53:30 +01:00
Araq
070403ca5e first compiling version of the new GC 2015-12-01 00:53:30 +01:00
Araq
217e0ab6e9 lambda lifting support for iterToProc plugin 2015-12-01 00:53:30 +01:00
Araq
d7433d02bc fixes typo 2015-12-01 00:53:30 +01:00
Araq
9d1f197773 added CellSetIter for git's history 2015-12-01 00:53:30 +01:00
Araq
a1739455d3 first version of the new hard realtime GC 2015-12-01 00:53:30 +01:00
Araq
22ed2aab35 fixes memory leak for getAppFilename on Windows 2015-11-26 21:20:10 +01:00
Araq
a2480efd68 allow 'nil ref T' as a first step which does nothing 2015-11-26 17:46:05 +01:00
Andreas Rumpf
0dcaf27b64 Merge pull request #3589 from yglukhov/dom-refactoring
Dom refactoring
2015-11-26 17:44:49 +01:00
Andreas Rumpf
8603d5849e Merge pull request #3588 from yglukhov/js-no-node
Removed Node, NodeType and Document definitions from jssys.
2015-11-26 17:41:56 +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
Yuriy Glukhov
c0754beb22 Dom refactoring 2015-11-25 19:27:13 +02:00
Yuriy Glukhov
0abfbf8f0d Removed Node, NodeType and Document definitions from jssys. 2015-11-25 16:37:36 +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
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
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
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
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
Anatoly Galiulin
c017904363 Fixed issue 3513: wrong setupQuery realization 2015-11-06 10:24:23 +06:00
Araq
5c8342eef9 Nimscript fixes 'cpFile' typo 2015-11-03 14:52:36 +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
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
Araq
22fc9a9470 development version is 0.12.1, not 0.12.0 2015-10-29 23:33:27 +01:00
Łukasz Dubiel
8e9441b8cd Add serach for libssl.so without version suffix. 2015-10-29 20:01:43 +01: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
Dominik Picheta
30cc353831 Prep for v0.12.0 2015-10-27 22:28:42 +01:00
Dominik Picheta
b186493f01 Merge pull request #3475 from mjoud/shrdoc
fixed shr documentation
2015-10-27 21:03:55 +01:00
Dominik Picheta
82f3cab1ac Improved postgres docs and added untestable tests. 2015-10-27 11:06:00 +01:00
JamesP
a82b9cbda3 fix doco by removing extra ` chars, change a word and
line up multi-line text
2015-10-27 11:06:00 +01:00
JamesP
02d882cfbe add doco outlining the two SQL parameter substitution mechanisms for the db_postgres module
adjust doco note: indent by one space

shorten doco example lines, by splitting across multiple lines

shorten doco line widths by splitting long lines into multi-lines

fix to prepare() example in doco "Note:" section
2015-10-27 11:05:59 +01:00
JamesP
033c461a87 setupQuery() with SqlQuery take parameter substitution with "?"
add instantRows() with SqlPrepared parameter

fix setupQuery() for SqlQuery to produce a unique identiying query name

add rows() iterator with SqlPrepared parameter

add execAffectedRows for SqlPrepared
2015-10-27 11:05:59 +01:00
JamesP
b2a48b0ed6 tryExec() with SqlQuery now takes "?" substitution parameters
add tryExec() with SqlPrepared parameter

exec() with SqlQuery now expects "?" parameter substitution
2015-10-27 11:05:59 +01:00
JamesP
4e19106221 add check to dbFormat() to verify parameter substitution has "?" identifier
add check to prepare() that parameter substitution has "$1" identifier
2015-10-27 11:05:59 +01:00
Araq
e94a6ec1f9 added an assertion 2015-10-27 08:37:43 +01:00