Dominik Picheta
8c1ea5cb3f
Added --noBabelPath override.
2013-12-25 22:38:53 +00:00
Zahary Karadjov
86108be24b
test case for semistatic
2013-12-25 22:40:06 +02:00
Zahary Karadjov
edab4aaad0
better integration of tyStatic into typeRel
2013-12-25 22:29:44 +02:00
Zahary Karadjov
1d02f2ea53
wip type class reforms (the compiler bootstraps fine)
...
* replace tfAny and tfAll with tyAnd and tyOr
* integrate matchTypeClass into typeRel
* introduce tyBuiltInTypeClass to handle types such as tuple, object, proc, etc
2013-12-25 19:25:04 +02:00
Araq
9e92455a53
templates can access hidden fields
2013-12-25 14:53:00 +01:00
Zahary Karadjov
299cefdc98
make the current PContext accessible through TCandidate
...
the goal here is to remove all the hacks from ParamTypeMatch and to handle
all type matching in typeRel (the context there is required to evaluate any static
params and to run the compilation tests of user-defined type classes)
2013-12-25 00:58:22 +02:00
Zahary Karadjov
952dbc4b8f
documented static params
2013-12-25 00:32:53 +02:00
Araq
4d01408a46
bootstraps with new template symbol binding rules
2013-12-24 16:42:24 +01:00
Araq
83a0a31276
attempt to merge newtempl
2013-12-24 14:04:18 +01:00
Araq
4203e8955c
Merge branch 'newtempl' into devel
...
Conflicts:
lib/system.nim
tests/reject/tenummix.nim
todo.txt
2013-12-24 02:10:59 +01:00
Araq
84e4710320
bugfix: InvalidSockets needs to be a let variable
2013-12-24 01:39:33 +01:00
Araq
1081c104d0
Merge branch 'vm2' of github.com:Araq/Nimrod into vm2
2013-12-24 01:30:48 +01:00
Araq
feb9af48f1
NoFakeVars progress
2013-12-24 00:21:22 +01:00
Araq
32ef1f8f32
vm: FFI improvements
2013-12-23 20:12:13 +01:00
Billingsly Wetherfordshire
e1fa19fa7a
Update os.nim
...
added file/dirExists synonyms for existsFile/dir
2013-12-23 12:58:22 -06:00
Grzegorz Adam Hankiewicz
f33f15afe8
Adds docstring to rstgen.defaultConfig.
2013-12-23 19:25:53 +01:00
Grzegorz Adam Hankiewicz
1fe8b013ef
Adds example to locals() docstring.
2013-12-23 19:25:53 +01:00
Billingsly Wetherfordshire
b3057be2c9
Update endians.nim
...
adds swapEndian16 function
2013-12-23 11:52:11 -06:00
Araq
4447c1b7e3
tcnstseq works again
2013-12-23 08:28:32 +01:00
Simon Hafner
c3b3339e77
Merge pull request #774 from brihat/master
...
Correct the spelling of the word 'implicitly'
2013-12-22 21:55:24 -08:00
Satish BD
033938a53a
Correct the spelling of the word 'implicitly'
2013-12-23 04:29:50 +02:00
Araq
b76729df1c
Merge branch 'master' of https://github.com/Araq/Nimrod into vm2
...
Conflicts:
web/news.txt
2013-12-23 01:23:16 +01:00
Araq
9145bcfbb6
new VM: some progress for the FFI support
2013-12-23 01:17:48 +01:00
Miguel
4396270fc7
'Connection' argument in 'Open' was not used, so MySQL host and port were always default ones. Now 'Connection' is treated as 'host:port'.
2013-12-22 20:56:33 +04:00
Michał Zieliński
bdb5c4ad35
Introduce poEvalCommand, poUsePath, fix remaining quoting issues.
...
- poUsePath is now an alias for poUseShell.
- poEvalCommand should be used when shell evaluation is really needed.
It passes `command` directly to shell/winapi. Requires `args` parameter
to be empty.
2013-12-21 18:46:51 +01:00
Michał Zieliński
3503f1ca33
Normalize whitespace in osproc.nim.
2013-12-21 18:05:19 +01:00
Grzegorz Adam Hankiewicz
52a8226edd
Merge pull request #769 from gradha/pr_config_fixes
...
Renames configuration file to new pattern. Refs #720 .
2013-12-21 03:00:45 -08:00
Grzegorz Adam Hankiewicz
7a05b108d5
Renames configuration file to new pattern. Refs #720 .
2013-12-21 11:44:17 +01:00
Andreas Rumpf
eae275c114
Merge pull request #742 from onionhammer/master
...
Added jsondoc compiler switch
2013-12-20 13:28:18 -08:00
Andreas Rumpf
2f7119e9bb
Merge pull request #764 from gradha/pr_doc_improvements
...
Documentation improvements
2013-12-20 13:02:44 -08:00
Andreas Rumpf
f391bfed93
Merge pull request #768 from fowlmouth/patch-2
...
Update macros.nim
2013-12-20 13:02:03 -08:00
Grzegorz Adam Hankiewicz
7177e0f698
Adds docstring to macros.newIdentDefs.
2013-12-20 21:37:51 +01:00
Billingsly Wetherfordshire
f06c9a77b5
Update macros.nim
2013-12-20 14:23:13 -06:00
Andreas Rumpf
259d205ff6
Merge pull request #759 from zielmicha/stdmsg
...
Write tracebacks to stderr instead of stdout.
2013-12-20 09:42:39 -08:00
Andreas Rumpf
22e88026af
Merge pull request #753 from gradha/pr_idetools_quote
...
Adds fitting quote to idetools doc.
2013-12-20 09:40:02 -08:00
zah
348ccffecd
Merge pull request #767 from gradha/pr_fixes_run_with_out
...
Fixes run command with outFile
2013-12-20 04:53:42 -08:00
Grzegorz Adam Hankiewicz
c0e2cb2919
Allows passing absolute paths for output. Refs #738 .
...
Previous to this the project base dir was added always, preventing user
specified absolute paths to work.
2013-12-20 13:33:43 +01:00
Grzegorz Adam Hankiewicz
3b38ceac2e
Runs user specified outFile if available. Refs #738 .
2013-12-20 13:13:09 +01:00
Araq
7ee0763bc5
Merge branch 'master' of github.com:Araq/Nimrod
2013-12-20 00:02:45 +01:00
Araq
4b0e391bb8
no stack tracing for the system module; fixes stack bottom detection
2013-12-20 00:02:04 +01:00
Araq
e2a4d591e5
added libffi for win support
2013-12-19 01:00:51 +01:00
Zahary Karadjov
027f30610e
static params: expr[T] is now static[T]
...
This introduces tyStatic and successfully bootstraps and handles
few simple test cases. Static params within macros are no longer
treated as PNimrodNodes - they are now equivalent to constants
of the designated type.
2013-12-19 01:06:38 +02:00
Andreas Rumpf
e0f95b5d27
Merge pull request #762 from Varriount/os/fix-removeFile2
...
Fix os.removeFile behavior on windows (again)
2013-12-18 13:24:20 -08:00
Clay Sweetser
9de92522a6
Further fixes (stupid kdiff automerge)
2013-12-18 16:04:43 -05:00
Clay Sweetser
c26e787e5d
os.nim - Modify removeFile to use native Windows API calls
2013-12-18 15:32:26 -05:00
Grzegorz Adam Hankiewicz
9f8db3ae54
Updates idetools docs after changes by #743 .
2013-12-18 21:25:49 +01:00
Grzegorz Adam Hankiewicz
e0d6a1cec1
Adds some docstrings to rstgen.
2013-12-18 21:22:22 +01:00
Grzegorz Adam Hankiewicz
f46336ae8b
Adds missing `code-block` to macros' docstrings.
2013-12-18 21:22:22 +01:00
Grzegorz Adam Hankiewicz
543d6b3209
Replaces PDoc with var TRstGenerator for documentation.
...
The PDoc type is a convenience internal alias. Where procs are exported
only documented types should be used to avoid confusing users.
2013-12-18 21:22:10 +01:00
Michał Zieliński
7d5fa3f52d
add info about CGI error reporing changes to web/news.txt
2013-12-18 18:21:55 +01:00