Commit Graph

2567 Commits

Author SHA1 Message Date
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
Dominik Picheta
bab8190b67 Fixes bugs introduced by ee62d56cad. Closes #2227. 2015-03-05 21:18:28 +00:00
krolik
4fe0a72577 Fixed table getter not compiling when table value type had not '$' proc overriden 2015-03-05 14:43:15 +02:00
Johanna Berewinkel
04906d6993 Changed some characters (&! -> !&) in the documentation in lib/pure/hashes.nim 2015-03-05 12:01:42 +01:00
Araq
d61f326f38 prevent name mangling for C++ DLLs 2015-03-05 01:34:09 +01:00
Andreas Rumpf
1ca2db0273 Merge pull request #2260 from oderwat/upd-deprecated-repeats
Updates to remove deprecated repeatStr() and repeatChar() from all files.
2015-03-04 16:42:13 +01:00
Johanna Berewinkel
12e4a62b44 Fixed examples in the documentation of module re (proc replace and proc replacef) 2015-03-04 09:05:30 +01:00
Hans Raaf
b902ea887b Replaced deprecated repeatStr() with repeat(). 2015-03-04 03:44:09 +01:00
Hans Raaf
58186f6c1d Replaced deprecated repeatChar() with repeat() or spaces(). 2015-03-04 03:30:43 +01:00
Andreas Rumpf
b1656f2db4 Merge pull request #2230 from Archs/devel
streams.ssWriteData: Call setLen only when new data truly increases the underlying string buffer
2015-03-04 03:08:38 +01:00
Andreas Rumpf
171de9c355 Merge pull request #2175 from def-/sorted
sorted & sortByIt
2015-03-04 03:08:21 +01:00
def
c3f6c7f8a3 Move sortByIt to algorithm module and add an example for it 2015-03-03 21:44:27 +01:00
Andreas Rumpf
8f43979cf6 Merge pull request #2232 from oderwat/upd-strutils
`repeat` instead of `repeatStr` + parameter swapped
2015-03-03 19:46:49 +01:00
Andreas Rumpf
9731fb5420 Merge pull request #2248 from chrisheller/devel
Make macros.nim expectKind error message with a single TNimrodNodeKind c...
2015-03-03 19:45:14 +01:00
Chris Heller
0553758ebd Clone the implementation of cmpIgnoreStyle into macros.nim from typeinfo.nim so that we get rid of any imports in the core modules 2015-03-03 09:29:38 -08:00
Chris Heller
b54dfbce16 Remove use of .format() from macros.nim to avoid importing into core. There is still a remaining import of cmpIgnoreStyle from strutils that needs to be removed as well 2015-03-03 09:22:54 -08:00
Archs
758a883cc6 set the correct length for s.data when data truely increased 2015-03-04 00:28:18 +08:00
Hans Raaf
3546ff8819 Replaced repeatStr() and repeatChar() with more natural versions. 2015-03-03 16:37:54 +01:00
Araq
21ccc5d58e parseopt is not deprecated anymore 2015-03-03 13:53:31 +01:00
Chris Heller
df7e388e0c Make macros.nim expectKind error message with a single TNimrodNodeKind consistent with error message shown with a set of TNimrodNodeKind by displaying the actual node kind (as well as the expected) 2015-03-02 17:02:43 -08:00
Andreas Rumpf
8b05bf3e86 Merge pull request #2238 from oderwat/fix-2228-readall-osx
Fix for readAll(stdin) problem on OS X and better anyway. I can confirm this works on Windows.
2015-03-01 23:30:02 +01:00
Araq
24ae0c387f some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
Hans Raaf
79ad73574c Fix for readAll(stdin) problem on OS X and better anyway. 2015-03-01 03:35:20 +01:00
Charles Blake
840f80e45c Fix buggy rect(), doc comment, and unit test. 2015-02-28 19:21:52 -05:00
Jonathan Edwards
b1e0d2058b Addition of some complex hyperbolic functions 2015-02-28 16:12:36 -05:00
Archs
f9b2f9565c streams.ssWriteData: calling setLen only when new data truely increases the underlying string buffer 2015-03-01 00:33:40 +08:00
def
4dbb582311 Add for rationals 2015-02-27 20:46:05 +01:00
def
75959a0fb3 Add for easier intialization of rationals 2015-02-27 20:38:53 +01:00
Araq
3bfcfeb0cf don't use stdout for nimsuggest server mode 2015-02-27 16:44:55 +01:00
Andreas Rumpf
f87d663ab7 Merge pull request #1840 from def-/extend-math
Rational numbers and a few additions to math and complex
2015-02-26 12:44:00 +01:00
Araq
3dd1ecbae4 fixes #2074 2015-02-26 02:05:23 +01:00
Andreas Rumpf
5d9663e4de Merge pull request #2182 from d3m1gd/dom-additions
Some additions to dom.nim
2015-02-25 22:59:46 +01:00
Andreas Rumpf
0ff4ed0ff3 Merge pull request #2208 from def-/walkdir
Speed up walkDir significantly
2015-02-25 22:58:03 +01:00
Araq
975f33b01d disable deprecated warnings for macros module 2015-02-25 21:14:21 +01:00
def
5e8eaa5f97 Use faster walkDir on BSDs 2015-02-24 23:39:08 +01:00
def
34d87c105c Fall back to lstat() calls on unsupported filesystems 2015-02-24 23:31:31 +01:00
wiffel
72e4e7291f Add SSLFree after SLShutdown to prevent memory leak 2015-02-24 22:01:07 +01:00
def
77f506bd70 Make Rational an object 2015-02-24 19:54:27 +01:00
Araq
f4a0400de2 fixes #2199, fixes #2197 2015-02-24 19:19:08 +01:00
def
18dd5e1965 Add some posix dirent documentation 2015-02-24 16:52:01 +01:00
def
1adebdc767 Speed up walkDir significantly
We only know that this works on Linux and Mac OS X, so other systems use
the POSIX conforming version still. This removed the lstat call, which
is especially expensive on NFS filesystems for me.
2015-02-24 16:37:54 +01:00
def
7898e91c32 Clean up selectors documentation a bit 2015-02-24 16:37:04 +01:00
def
3cd79faad3 Reuse socket in httpserver 2015-02-24 16:36:37 +01:00
Araq
752052e903 implements a type API for macros 2015-02-24 00:13:28 +01:00
Araq
1e6aef62ba macros.PNimrodNode is now NimNode 2015-02-24 00:13:27 +01:00
Andreas Rumpf
fb46785969 Merge pull request #2192 from apense/devel
Corrected SYSTEM_INFO structure to match pointer type on 64-bit systems
2015-02-22 21:24:59 +01:00
Andreas Rumpf
890dcabbde Merge pull request #2194 from GrundleTrundle/windows_timer_sub
Fix for timer overflow when using nimprofiler with 32bit Windows target.
2015-02-22 21:24:23 +01:00
Andreas Rumpf
63c6bc9c69 Merge pull request #2198 from oderwat/fix-table-mpairs
Fix unknown symbol in tables mpairs iterator.
2015-02-22 21:23:20 +01:00
Hans Raaf
93aa73284e Fix unknown symbol in tables mpairs iterator.
Fixes an error with mpairs iterator which was introduced with 5fbcf93860. This is used by nimforum thats why I found it. I also added a testcase for the mpairs iterator.
2015-02-21 23:20:02 +01:00
Dominik Picheta
6f069dad84 Merge pull request #2195 from stedi67/devel
little documentation fix on combine and /
2015-02-21 22:10:15 +00:00