Commit Graph

5283 Commits

Author SHA1 Message Date
def
fa3620be9e Only copy strings to their size, not capacity
Capacity may be much bigger, so we end up with strings that are much
larger than they have to be and have to copy more as well.
2015-03-03 22:23:35 +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
Hans Raaf
3546ff8819 Replaced repeatStr() and repeatChar() with more natural versions. 2015-03-03 16:37:54 +01:00
Araq
b870744d5d makes Aporia build for 64bit archs 2015-03-03 13:53:31 +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
f4e0f64f86 Update readme.md 2015-03-03 00:36:05 +01: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
76e44dd034 test tsets2.nim compiles again 2015-03-01 23:01:02 +01:00
Araq
24ae0c387f some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
Araq
566ee874cd minor cleanups 2015-03-01 13:52:00 +01:00
Andreas Rumpf
6226973c7f Merge pull request #2236 from def-/working-again
Make reading from stdin work again.
2015-03-01 13:20:00 +01:00
Andreas Rumpf
1b76e0165c Merge pull request #2237 from c-blake/devel
Fix buggy rect(), doc comment, and unit test.
2015-03-01 13:19:34 +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
def
cfab1394d2 Make reading from stdin work again.
Bootstrapping tested on Linux from csources.
2015-03-01 00:16:46 +01:00
Araq
2df10fc4a6 bootstrapping works again on Windows 2015-03-01 00:02:10 +01:00
Araq
2808b7f9a5 fixes #2233 2015-02-28 23:53:52 +01:00
Andreas Rumpf
4cb9fba335 Merge pull request #2234 from apense/devel
Addition of some complex hyperbolic functions
2015-02-28 23:50:34 +01:00
Andreas Rumpf
eff6a281c5 Merge pull request #2202 from def-/compile-stdin
Make compiler read files from stdin
2015-02-28 23:49:25 +01:00
def
c37e8035ea When compiling from stdin write binary to stdinfile 2015-02-28 23:35:35 +01:00
def
6894ac7c0a Rename stdin fake module name to stdinFile 2015-02-28 22:59:59 +01:00
Jonathan Edwards
b1e0d2058b Addition of some complex hyperbolic functions 2015-02-28 16:12:36 -05:00
Araq
2ebeb0bd21 fixes #2169 2015-02-28 20:13:21 +01:00
Andreas Rumpf
549920a85f Merge pull request #2226 from def-/rationals
Rationals
2015-02-28 00:29:43 +01: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
Araq
05233de66c reprocess pragmas after macro annotation for SqueakNim 2015-02-27 16:44:55 +01:00
Araq
169974cfe6 improved --debugger switch; updated release plan 2015-02-27 16:44:54 +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
d4a8bde617 added a comment 2015-02-26 02:05:24 +01:00
Araq
3dd1ecbae4 fixes #2074 2015-02-26 02:05:23 +01:00
Araq
9053799bf5 fixes #2216 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
fce2ff161e tsigtypeop.nim works again 2015-02-25 21:36:43 +01:00
Araq
975f33b01d disable deprecated warnings for macros module 2015-02-25 21:14:21 +01:00
Araq
f2cdbc92eb fixes #2215 2015-02-25 20:32:32 +01:00
Araq
335c19c869 tester reports ignored tests and supports 'nimout'; fixes #2211 2015-02-25 12:59:32 +01:00
Dominik Picheta
dc8b07fe0b Merge pull request #2210 from wiffel/devel
Add SSLFree after SLShutdown to prevent memory leak
2015-02-25 08:07:57 +00: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
Andreas Rumpf
819a2a03ac Merge pull request #2184 from oderwat/feat-caseofwhen
Allow empty sets in case/of branches.
2015-02-24 19:35:52 +01:00
Araq
f4a0400de2 fixes #2199, fixes #2197 2015-02-24 19:19:08 +01:00