Commit Graph

5260 Commits

Author SHA1 Message Date
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
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
Araq
f3756d2ccb koch supports 'boot cpp' 2015-02-24 19:19:08 +01:00
Dominik Picheta
4ab0cf20fe Fixes NimSuggest's socket mode. 2015-02-24 18:05:13 +00:00
Dominik Picheta
fcce536ea0 Merge pull request #2209 from jochenvdv/fix-typo
Fix typos in docs
2015-02-24 17:57:18 +00:00
Jochen Van de Velde
d63e8e5d11 Fix typos in docs 2015-02-24 18:32:45 +01:00
Dominik Picheta
deb3729cb7 Merge pull request #2207 from def-/netstuff
Netstuff
2015-02-24 16:00:11 +00: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
Hans Raaf
79384ea729 Allow empty sets in case/of branches.
Added support for conditional compilation using 'when' with empty sets and arrays in
'case of' branches.

 Please enter the commit message for your changes. Lines starting
2015-02-24 14:54:27 +01:00
Araq
7324ed7f1f types API: now works for proc():void 2015-02-24 01:57:49 +01:00
Araq
752052e903 implements a type API for macros 2015-02-24 00:13:28 +01:00
Araq
9080d3a9a9 small cleanup of ast.nim 2015-02-24 00:13:27 +01:00
Araq
1e6aef62ba macros.PNimrodNode is now NimNode 2015-02-24 00:13:27 +01:00
def
dca5508d13 Make compiler read files from stdin
Special "-" file as stdin.
2015-02-22 23:23:22 +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
Dominik Picheta
1af45b78a7 Remove pointless winlean import in net module. 2015-02-21 21:32:34 +00:00
Stephan Diehl
aa62dcc2af little documentation fix on conbine and / 2015-02-21 21:53:19 +01:00
GrundleTrundle
c41e0bdbe3 Changed nimprof.hook() to handle uninitialized t0
It's unlikely, but possible for the conversion to nanoseconds
to overflow if QueryPerformanceCounter() returns a
large enough timestamp.  This change avoids that, at the
cost of always taking a sample the first time through
when t0 == 0.
2015-02-21 15:18:39 -05:00