Commit Graph

7428 Commits

Author SHA1 Message Date
Araq
03550f14f8 createThread is more convenient to use with a proc taking no arguments 2015-10-19 16:09:35 +02:00
Araq
c977daf9d8 added poDemon flag for process management 2015-10-19 16:09:34 +02:00
Dominik Picheta
1f3e473529 Merge pull request #3458 from jlp765/systemExamples
system.nim add example to a few proc headings
2015-10-19 10:31:31 +01:00
JamesP
e84a411e60 add example to proc headings for
addr, and, or, xor, div, mod, shl, cmp, setLen
2015-10-19 09:55:42 +10:00
Araq
0586cee2be fixed the most embarrassing typo in the history of Nim 2015-10-16 22:13:55 +02:00
Araq
d1ae1cba87 fixes installation problems on unix by hardcoding the dlls.zip name 2015-10-16 22:02:34 +02:00
Andreas Rumpf
ae7bba7456 Merge pull request #3441 from nanoant/patch/msg-to-stderr-by-default
Extend terminal module, use stderr for Nim compiler diagnostics by default
2015-10-16 21:51:40 +02:00
Andreas Rumpf
7bc49a4d2c Merge pull request #3455 from nim-lang/zeo-banner
Added Nim workshop banner to front page slider.
2015-10-16 20:58:16 +02:00
Adam Strzelecki
78568859c5 compiler/vm: Use stdout too in VM time echo
Now VM time echo outputs to stdout too, same as compile time echo, rather using
same handle as compiler diagnostics (stderr default).
2015-10-16 20:55:17 +02:00
Adam Strzelecki
abb82554b7 compiler/msgs: Default to stderr for diagnostics
Previously we were defaulting to stdout for diagnostics, which could interfere
with scripts or `nim c -r' programs outputting their results to stdout,
possibly mixing their output with compiler messages.

This change makes now Nim to be inline with other compilers emitting
diagnostics to stderr. Also now --stdout option has proper meaning making all
diagnostics to be sent to stdout instead.

NOTE: Tester now calls compiler with --stdout.
2015-10-16 20:55:17 +02:00
Adam Strzelecki
2bc6acc808 terminal: Support both styled stdout and stderr
This is important if we want to write styled diagnostics to stderr, eg. some
tool outputting results to stdout, but writing styled error messages to stderr.

Previously this module was assuming we are writing only to stdout. Now all
module procs take file handle as first argument. Wrappers assuming stdout are
provided for backwards compatibility.

The new terminal.styledWriteLine(f, args) is provided and documented as
counterpart for unstyled plain writeLine(f, args).
2015-10-16 20:55:17 +02:00
Adam Strzelecki
9ef50717fa terminal: Remove superflous hStdout = conHandle
Use just hStdout on Windows to keep handle to process stdout.
2015-10-16 20:55:17 +02:00
Dominik Picheta
af865cd7ae Added Nim workshop banner to front page slider. 2015-10-16 19:52:09 +01:00
Araq
7b816a9fac added Nim conference news 2015-10-16 19:02:07 +02:00
Andreas Rumpf
612d3f84fb Merge pull request #3437 from nim-lang/threadpool-isready
Implement isReady procedure in threadpool module.
2015-10-15 23:55:29 +02:00
Andreas Rumpf
2f276f8559 Merge pull request #3451 from yglukhov/js-ret-by-var
JS: Fixed return by var. More fixes to copying.
2015-10-15 23:51:05 +02:00
Yuriy Glukhov
e7918fe6e5 Avoid extra copy in JS when inserting. 2015-10-15 17:59:23 +03:00
Yuriy Glukhov
955954a89f Gen temp name instead of nimVarUnpack 2015-10-15 17:50:06 +03:00
Yuriy Glukhov
2166b7bc46 Fixed ret by var in js 2015-10-15 16:04:53 +03:00
Araq
c97cbe7abd fixes #3299 2015-10-15 09:31:54 +02:00
Andreas Rumpf
7d6c9143d7 Merge pull request #3450 from Varriount/add-dll-downloads
Added DLL download to installer
2015-10-15 09:28:31 +02:00
Clay Sweetser
804455df53 Added DLL download to installer 2015-10-15 02:34:30 -04:00
Araq
3fef9f08bd fixes regression: tactiontable 2015-10-14 14:35:44 +02:00
Andreas Rumpf
5a02230bf9 Merge pull request #3428 from tmm1/appveyor
[WIP] Add AppVeyor config to run tests on win32
2015-10-14 13:40:58 +02:00
Andreas Rumpf
ed4b0cc92e Merge pull request #3445 from jlp765/popd
fix #3343  strutils.nim  balance {.push.} with {.pop.}
2015-10-14 13:38:43 +02:00
Aman Gupta
f7c979f865 try with windows slashes 2015-10-13 16:21:30 -07:00
Aman Gupta
4c5f8cfd0c use tester directly 2015-10-13 16:14:29 -07:00
Aman Gupta
6e8cb658c3 Merge remote-tracking branch 'origin/devel' into appveyor 2015-10-13 16:14:19 -07:00
JamesP
36cf87e6a9 add {.pop.} for {.push debugger:off.} to balance push/pop 2015-10-14 09:11:19 +10:00
Aman Gupta
f3a2efa6ae really be pedantic 2015-10-13 15:48:01 -07:00
Araq
a40ace648d fixes regression: tobjconstr2 test works again 2015-10-14 00:41:27 +02:00
Araq
f4bfa076ae updated httpclient to use tables.getOrDefault 2015-10-14 00:41:04 +02:00
Aman Gupta
e2dbf222e6 Merge remote-tracking branch 'origin/devel' into appveyor 2015-10-13 15:25:40 -07:00
Araq
7f4f37eaa2 fixes tunittest crash 2015-10-13 16:31:30 +02:00
Araq
aeb69dbe84 Merge branch 'devel' of https://github.com/nim-lang/Nim into devel 2015-10-13 15:54:33 +02:00
Araq
8be9e46403 udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
Dominik Picheta
8e0a103d7f Merge pull request #3438 from nanoant/patch/readme-link-to-builders
readme.md: Open builder page from its status icon
2015-10-13 10:43:52 +01:00
Dominik Picheta
61df6dd934 Merge pull request #3440 from rbmz/sequtils
all/any/allIt/anyIt with tests and inline documentation
2015-10-13 10:43:15 +01:00
rbmz
4548c1aa9b added all/any/allIt/anyIt with tests and inline documentation
Signed-off-by: rbmz <rbmz@users.noreply.github.com>
2015-10-13 01:10:25 -03:00
Araq
2fda95a4d6 added getOrDefault; bootstrapping works again 2015-10-13 03:03:05 +02:00
Araq
d8b0edc323 Merge branch 'mget' of https://github.com/def-/Nim into def--mget
Conflicts:
	lib/pure/collections/critbits.nim
	lib/pure/collections/tables.nim
	lib/pure/xmltree.nim
	lib/system/sets.nim
	tests/collections/ttables.nim
	tests/collections/ttablesref.nim
2015-10-13 00:22:27 +02:00
Adam Strzelecki
c6d653f30d readme.md: Open builder page from its status icon
Previously clicking on that icon was opening just the icon image in new browser
window, which is default behavior - not very useful in our case.
2015-10-13 00:11:21 +02:00
Dominik Picheta
dda41afe9e Implement isReady procedure in threadpool module. 2015-10-12 23:05:41 +01:00
Andreas Rumpf
ee93ee5e15 Merge pull request #3335 from SSPkrolik/teardown-move
Moved teardown call to try block for namespace access reasons
2015-10-12 21:18:04 +02:00
Araq
2c33ebed7b improves new tests 2015-10-12 21:12:00 +02:00
Araq
c7a3079123 logging.nim: expose underlying 'file' object; errors and fatals flush the buffer; refs #3270 2015-10-12 21:08:44 +02:00
Araq
e0f896785d docs now build again 2015-10-12 20:58:46 +02:00
Andreas Rumpf
f687003b73 Merge pull request #3432 from FedericoCeratto/patch-4
Export substituteLog
2015-10-12 20:58:22 +02:00
Andreas Rumpf
7b9d929d50 Merge pull request #3423 from petermora/breakSequtils
Break sequtils
2015-10-12 20:42:17 +02:00
Araq
9ceeab14f3 Merge branch 'rbehrends-gc-fixes' into devel 2015-10-12 19:59:18 +02:00