Commit Graph

4233 Commits

Author SHA1 Message Date
Andreas Rumpf
8876ed23f1 expr and stmt are now deprecated 2016-07-30 16:34:42 +02:00
Andreas Rumpf
a8edf67a28 make nim bootstrap again for older versions 2016-07-30 00:50:38 +02:00
Andreas Rumpf
60b187513e stdlib and compiler don't use .immediate anymore 2016-07-29 23:51:01 +02:00
Andreas Rumpf
99f5ed8c53 Merge pull request #4531 from oderwat/ctring-to.nimstring-nil-fix
Fix for cstring nil to string nil conversion with `$`
2016-07-29 02:03:07 +02:00
Hans Raaf
cc4bb89267 Fix for cstring nil to string nil conversion with $ 2016-07-29 01:39:33 +02:00
Andreas Rumpf
d7a1abd5f7 Merge pull request #4527 from hendi/httpclient-close-sockets
make httpclient close opened Socket on error
2016-07-28 20:54:58 +02:00
Andreas Rumpf
c23cbe1722 Merge branch 'htmlparser' of https://github.com/Lompik/Nim into Lompik-htmlparser 2016-07-28 20:48:38 +02:00
Hendrik Richter
4bef9d020d use defer instead of try ... finally 2016-07-28 15:50:34 +02:00
Hendrik Richter
6a2ad716a4 remove superfluous except: raise 2016-07-28 15:37:34 +02:00
Hendrik Richter
b0f1d9f467 make httpclient close opened Socket on error 2016-07-28 11:30:05 +02:00
roose
6cd7143c1c Add dash to SymChars 2016-07-28 07:47:19 +06:00
coffeepots
ea03199400 Add handle function to Thread type
Exposes SysThread type and introduces the function "handle" to return Thread.sys.
2016-07-27 14:56:52 +01:00
Stephane Fontaine
5bac8cd855 htmlparser: Allow <p> as children of <dd> and <li> 2016-07-27 15:29:26 +04:00
Andreas Rumpf
fc0bb82802 fixes #4494 2016-07-22 22:31:09 +02:00
Andreas Rumpf
c4fb9f052b Merge pull request #4511 from oderwat/doc-changes1
Small changes to the docs to make it easier to find stuff.
2016-07-22 13:54:55 +02:00
Hans Raaf
e412e5458c Small changes to the docs to make it easier to find stuff. 2016-07-21 20:09:33 +02:00
Andreas Rumpf
edcbfe991b Merge pull request #4481 from oderwat/unicode-ext1
Added iterator for utf8 strings
2016-07-21 20:00:22 +02:00
Dominik Picheta
5784e43662 Add warning to osproc.close 2016-07-21 16:14:00 +01:00
Andreas Rumpf
cf8ee366d1 Merge pull request #4506 from FedericoCeratto/patch-12
Add copyright header
2016-07-21 10:36:37 +02:00
Andreas Rumpf
c3111760e7 Merge pull request #4508 from FedericoCeratto/patch-14
Add copyright header
2016-07-21 10:25:18 +02:00
Federico Ceratto
4e27e96906 Add copyright header 2016-07-21 08:54:30 +01:00
Federico Ceratto
3f31395d50 Add copyright header 2016-07-21 08:53:10 +01:00
Federico Ceratto
a0dc9f57cb Add copyright header 2016-07-21 08:52:39 +01:00
Andreas Rumpf
38307a1f33 Merge pull request #4502 from SSPkrolik/findexe-posix-fix
Fixed findExe behaviour on Linux with symlinks relative paths
2016-07-20 16:11:48 +02:00
Rostyslav Dzinko
dfc66ca02d Fixed findExe behaviour on Linux with symlinks relative paths 2016-07-20 12:56:11 +03:00
Andreas Rumpf
9e9ce6a4e3 Merge pull request #4500 from nigredo-tori/fix-osproc-env
Fix passing environment in startProcess (win)
2016-07-20 09:27:14 +02:00
Dmitry Polienko
46dad3cb6b Fix environment handling in startProcess 2016-07-19 20:38:00 -07:00
Dmitry Polienko
c768fea630 Fix newWideCString(cstring, int) 2016-07-19 20:37:26 -07:00
Dmitry Polienko
9bd952d2c2 Revert changes in osproc.nim 2016-07-19 20:33:25 -07:00
Andreas Rumpf
67b024838c fixes #1970 2016-07-19 20:44:08 +02:00
Andreas Rumpf
ab9e44dc96 better fix for #4497 2016-07-19 14:13:23 +02:00
Dmitry Polienko
5f773bf478 Fix passing environment in startProcess (win)
Previous implementation used newWideCString, which doesn't
handle strings with \0 characters.
2016-07-18 23:28:40 -07:00
Andreas Rumpf
358f582939 Merge pull request #4463 from flyx/tables-equals-no-KeyError
`==` in tables should not raise KeyError
2016-07-19 00:16:58 +02:00
Andreas Rumpf
71cee2b648 Merge pull request #4498 from mbaulch/fix4388
Random module: fix links, improve header.
2016-07-18 17:47:23 +02:00
Andreas Rumpf
3193a99b13 fixes #4497 2016-07-18 13:52:27 +02:00
Matthew Baulch
50d6c0ae85 Random module: fix links, improve header. 2016-07-18 21:42:47 +10:00
Hans Raaf
c00bb2ca82 findExe() now by default follows symlinks. 2016-07-17 01:07:09 +02:00
Andreas Rumpf
2ac21261b4 Merge pull request #4394 from yglukhov/macro-routines2
Added addPragma routine
2016-07-16 14:35:17 +02:00
Andreas Rumpf
b7c1be03c8 added system.newSeqOfCap for improved efficiency 2016-07-15 17:04:14 +02:00
Andreas Rumpf
0834cd63d9 prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
Araq
928ac1e994 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-07-14 01:11:47 +02:00
Hans Raaf
3cea6e8a96 Added iterator for utf8 strings 2016-07-13 00:25:31 +02:00
Axel Pahl
6de1333a26 use table literal syntax 2016-07-12 10:45:54 +02:00
Axel Pahl
8d4614b5ab explain difference between Table and TableRef in tables.nim 2016-07-12 09:43:31 +02:00
Yuriy Glukhov
59d17cb341 Fixed crash with leakDetector and threads enabled. 2016-07-11 16:23:15 +03:00
Matthew Baulch
90a5edfa6d Fix #4422: Reset queue element on pop. Prevent NimVM confusion. Help GC. 2016-07-11 15:10:54 +10:00
Federico Ceratto
a505fa631d Fix "string literal as key expected" error
Fix "Error: string literal as key expected expected"
2016-07-09 17:25:57 +01:00
Andreas Rumpf
5e82ffc8d5 Nimscript: added support for 'patchFile' 2016-07-09 14:26:00 +02:00
Araq
c48102254a merged 2016-07-08 23:20:31 +02:00
Andreas Rumpf
e2267ef5c9 Nimscript supports hint() and warning() procs; refs #3688 2016-07-08 22:24:28 +02:00