LemonBoy
59574b89a6
Clean up some code using a tuple unpack expression
2019-02-04 22:16:55 +00:00
LemonBoy
d7ca7fd03e
Small change in how tuples are handled in async macro
...
A small change that brings no functional change beside a flatter tree.
2019-02-04 22:16:55 +00:00
Andreas Rumpf
56d2b08c5a
times.nim: make it compile on older OSX versions
2019-02-04 21:06:43 +01:00
Andreas Rumpf
57b49cc509
allocators: add a name field for easier debugging
2019-02-04 21:06:23 +01:00
Araq
6e1d2df74e
testament: test nimble packages is beginning to work
2019-02-04 15:59:18 +01:00
Araq
9fa116b6e1
compiler: don't use 2 spaces in an error message
2019-02-04 15:59:18 +01:00
Araq
23c11987b4
make the lexer more forgiving so that nim-regex compiles again
2019-02-04 15:59:18 +01:00
narimiran
10219584ee
tut3.rst formatting fix
2019-02-04 14:31:52 +01:00
Miran
8cb80238c4
update documentation CSS ( #10543 )
...
* update documentation CSS
* update the expected htmls
2019-02-04 12:27:02 +01:00
LemonBoy
1adc749ed6
Merge pull request #10539 from GULPF/strtabs-nexttry
...
Change strtabs.nextTry to match the assumption in strtabs.del
2019-02-03 11:49:41 +01:00
Oscar Nihlgård
315abd7163
Change strtabs.nextTry to match the assumption in strtabs.del
2019-02-03 09:37:11 +01:00
Oscar Nihlgård
0091f2ad3b
Implement {.booldefine.} ( #10533 )
2019-02-03 09:06:00 +01:00
genotrance
07553034de
Enable Travis folding in winrelease ( #10528 )
2019-02-02 13:26:32 +01:00
Miran
ad4e3fd28c
devel docs should point to devel src ( #10529 )
...
Currently, devel docs (https://nim-lang.github.io/Nim/lib.html )
source links point to master branch,
leading to outdated source code and showing the wrong line.
2019-02-02 13:23:10 +01:00
Andreas Rumpf
17d0ce9c1c
DOM API: make compatible with Karax's requirements ( #10517 )
...
* DOM API: make compatible with Karax's requirements
* make tools\dochack.nim compile again
2019-02-02 00:21:13 +01:00
Araq
f4c76bc8e5
testament: revive ability to test specific important Nimble packages
2019-02-02 00:19:02 +01:00
Timothee Cour
2b35a51651
brew almost never requires sudo ( #10525 )
2019-02-01 14:56:31 -08:00
Oscar Nihlgård
1ac28f6f5e
Deprecate the times.countX procs ( #10522 )
2019-02-01 20:05:05 +01:00
narimiran
237a36075a
another quickfix for os.nim documentation
2019-02-01 19:44:19 +01:00
narimiran
9bd0c2d59a
quick-fix for os.nim documentation
2019-02-01 19:37:24 +01:00
Arne Döring
b80dbdb77d
Fix vm signed xor ( #10519 )
...
* fix #10482
* undo changes
* fix for bitwise not
* remove dead opcode
2019-02-01 12:12:10 +01:00
cooldome
1d5437e9d2
vm fix for bitwise signed ints ( #10507 )
...
* fixes #10482
* add missing file
* bug fix
2019-01-31 19:48:39 +01:00
Andreas Rumpf
fc99ddc648
Merge pull request #10513 from LemonBoy/uri-encq
...
Add `encodeQuery` and `?` to Uri module
2019-01-31 18:19:37 +01:00
Andreas Rumpf
c268bfd5a2
new doc terminology for "compile-time" and "runtime" ( #10497 )
...
* First pass at compile-time/runtime terminology changes.
* Solid edit pass on changes and successful rst2html; still need to review HTML output.
* Finished this terminology update.
* Incorporated Araq's initial feedback.
2019-01-31 16:19:19 +01:00
Araq
0ecec8362a
distros.nim: brew usually requires 'sudo'
2019-01-31 15:12:36 +01:00
LemonBoy
ec26bc472d
Add encodeQuery and ? to Uri module
2019-01-31 13:47:51 +01:00
Timothee Cour
ec6e5681da
fix #8063 by adding a testcase for: Deprecation warnings for enum values print twice ( #10508 )
2019-01-31 11:44:11 +01:00
Miran
fa058773db
fixes #10042 (allow spaces in import) ( #10504 )
...
This allows spaces in imports, by using the following syntax:
* `import "directory with spaces" / subdir / file`, or
* `import "directory with spaces/subdir/file"`
2019-01-31 08:20:00 +01:00
LemonBoy
81e5a35d56
Show correct address for ipv6 sockets, fixes #7634 ( #10505 )
2019-01-31 07:34:26 +01:00
Timothee Cour
abcd9fd2e8
fixup #10466 to use runnableExamples ( #10510 )
2019-01-31 07:19:16 +01:00
deansher
e16310525c
Incorporated Araq's initial feedback.
2019-01-30 16:22:08 -05:00
alaviss
acac107fe7
times: use clock_gettime() for epochTime() ( #10499 )
...
* times: use clock_gettime() for epochTime()
Fixes #10494
* times: remove gettimeofday()
As FreeBSD and OSX support CLOCK_REALTIME, there's no reason to keep
this code around.
2019-01-30 19:52:21 +01:00
Miran
3d6f2b77b8
fix #9725 ( #10503 )
2019-01-30 19:50:20 +01:00
Miran
47037ebee3
fixes #9471 ( #10502 )
2019-01-30 19:49:09 +01:00
Araq
2ce9845fe4
fixes silly typo causing tons of async regressions
2019-01-30 19:48:21 +01:00
Araq
0a628f36f0
destructors: do not produce strong backrefs in closure environments so that refcounting works
2019-01-30 18:17:49 +01:00
Miran
0c2c2dca2a
better docs: os ( #10492 )
...
* better docs: os
* remove broken test on osx
2019-01-30 17:35:09 +01:00
Miran
9ac0cbdd51
fixes #2796 ( #10500 ) [backport]
2019-01-30 17:31:06 +01:00
Mandeep Singh
7118e1ca01
Example for json.pretty ( #10466 )
2019-01-30 16:35:45 +01:00
LemonBoy
fa7b757823
Remove unused variable
2019-01-30 10:01:59 +01:00
LemonBoy
49710b9d14
The file directive is relative to the file it is in
2019-01-30 10:01:59 +01:00
LemonBoy
9031c8fb0f
Make sure the test snippet directory exists
2019-01-30 10:01:59 +01:00
Timothee Cour
e98bd3aceb
fix #10488 GC memory leak regression ( #10498 )
...
* fix #10488 GC memory leak regression
* re-enable gch.stack.bottom.repr but only inside when defined(logGC)
2019-01-30 09:26:33 +01:00
deansher
7295468516
Finished this terminology update.
2019-01-29 19:43:01 -05:00
c-blake
b2a5195e92
Add a standard Rusage type definition and wait4, getrusage declarations ( #10484 )
2019-01-29 21:25:08 +01:00
Andreas Rumpf
dee8e6e98a
gc: destructors is beginning to work ( #10483 )
...
* kochdocs.nim: code cleanup
* docgen: nicer indentation
* parser.nim: code cleanup
* fixes #10458
* make tests green again
* make =destroy mixins
* gc:destructors: produced C code is almost working
* --gc:destructors simple program compiles (but leaks memory)
* gc:destructors make examples compile in C++ mode
* destructors: string implementation bugfixes
* strs.nim: minor code cleanup
* destructors: builtin seqs are beginning to work
* remove debugging helpers
2019-01-29 15:12:16 +01:00
Emery Hemingway
15422a3e5a
Genode fixes ( #10491 )
...
Readline pasthru, add linker to config, do not pass -lm to linker.
2019-01-29 15:08:43 +01:00
Araq
07a0a61875
fixes #9149 [backport]
2019-01-29 14:31:43 +01:00
deansher
03a628dddc
Solid edit pass on changes and successful rst2html; still need to review HTML output.
2019-01-29 05:35:04 -05:00
deansher
6bae78f365
First pass at compile-time/runtime terminology changes.
2019-01-29 05:35:04 -05:00