x2f
3f78f75483
Expose bufSize parameter for file-based loggers
...
newFileLogger and newRollingFileLogger have a new bufSize parameter that
is used in open(). The default value -1 has the same behavior as before.
Use 0 for unbuffered output to log file.
2015-05-31 21:06:23 -04:00
Oscar Campbell
9fcd5252c7
Fix doc for #2523 , regarding numeric literals.
2015-05-31 03:59:31 +02:00
Oscar Campbell
4a1e45e3f8
Remove forgotten debug echo statement.
2015-05-31 03:11:44 +02:00
Oscar Campbell
6a43b0e817
Clean up to compiler style. Refine error-msg for illegal octal 'O'
2015-05-31 02:55:06 +02:00
Oscar Campbell
d35887e492
Util funcs used by lib/hashes.nim and compiler/lexer.nim
2015-05-31 01:32:50 +02:00
Oscar Campbell
1b4db5a34c
Implement #2811 - Unicode en-dash (U+2013) as hump/snake alt.
2015-05-31 01:31:06 +02:00
Oscar Campbell
49b953533a
Fix #2523 - first commit. Needs some cleanup.
2015-05-31 00:56:27 +02:00
boopcat
af07db2829
Export newSocket(fd) from net.nim and standardize args in net/asyncnet
...
Exporting newSocket(fd) mimics what asyncnet does and lets you pass in your
own socket FD.
newSocket*(fd) and newAsyncSocket*(fd) now both take "buffered" instead of
"isBuff" and defaults to true to match the other constructors on both.
2015-05-30 11:01:15 +00:00
yglukhov
c5f7d553e9
Perform lambda lifting for compile-time stuff when targeting JS. Enable unittest test.
2015-05-29 10:48:14 +03:00
Dominik Picheta
6820b2fea9
Merge pull request #2831 from stedi67/devel
...
fix for https://github.com/nim-lang/Aporia/issues/69
2015-05-28 14:40:43 +01:00
Stephan Diehl
4fcf5adfe2
fix for https://github.com/nim-lang/Aporia/issues/69
2015-05-28 15:25:09 +02:00
Andreas Rumpf
852987c880
Merge pull request #2829 from yglukhov/js-asm-renderer
...
Fixed renderer for asm node in JS
2015-05-28 14:26:55 +02:00
yglukhov
e65ccfb8f5
Removed formatting from logging.
2015-05-28 14:48:53 +03:00
Araq
2d2eca18b8
bootstrap.sh: cannot keep exec bit on windows
2015-05-28 12:59:40 +02:00
Araq
8d508162e8
added missing test
2015-05-28 12:51:18 +02:00
Araq
543ec37975
get rid of deprecated effects
2015-05-28 12:51:18 +02:00
Araq
3c13508b25
terminal: doc improvments
2015-05-28 12:51:17 +02:00
Araq
2b0115eb5f
prepare for unidecode Nimble package
2015-05-28 12:51:16 +02:00
Araq
e51e2564a2
development version is 0.11.3
2015-05-28 12:51:16 +02:00
yglukhov
eec76cfc6b
Fixed renderer for asm node in JS
2015-05-28 10:23:09 +03:00
Andreas Rumpf
d270c8ebe8
Merge pull request #2822 from yglukhov/js-taddr-test
...
Enabled taddr and testobjs tests
2015-05-27 12:52:37 +02:00
yglukhov
b4843bc7c1
Enabled taddr and testobjs tests
2015-05-27 11:36:45 +03:00
Andreas Rumpf
860eca32a5
Merge pull request #2817 from flaviut/fix-unittest
...
Fix unittest problems
2015-05-27 01:26:55 +02:00
Flaviu Tamas
3daef85d6e
Fix #964 , fix #1384
...
Doesn't actually fix those bugs, but they can no longer be reproduced. Test
cases have been added.
2015-05-26 18:41:28 -04:00
Flaviu Tamas
c9616897f0
Don't inspect typedescs
2015-05-26 18:40:43 -04:00
Andreas Rumpf
4fc9dabd58
Merge pull request #2816 from flaviut/optionals-to-options
...
Rename optionals module to options
2015-05-26 22:50:35 +02:00
Flaviu Tamas
0479831fb0
Rename optionals module to options
2015-05-26 16:48:17 -04:00
Andreas Rumpf
14b2bbc24c
Merge pull request #2695 from transfuturist/devel
...
Add path directive to allow inclusion of config file's path itself
2015-05-26 21:13:52 +02:00
Andreas Rumpf
3db13ba0e0
Merge pull request #2804 from yglukhov/minor-cosmetics
...
Minor cosmetic changes.
2015-05-26 21:12:13 +02:00
Andreas Rumpf
aa66dfd5a7
Merge pull request #2810 from yglukhov/js-codegen-obj-field-byvar
...
Fixes #2798 . Passing arguments by var in certain cases leads to invalid JS.
2015-05-26 21:11:32 +02:00
Andreas Rumpf
11bd7ef5e8
Merge pull request #2789 from ozra/devel
...
Change wording in some parts. Fix some typos.
2015-05-26 19:53:08 +02:00
Dominik Picheta
d03b5891c1
Merge pull request #2697 from lyro/devel
...
logging: make fmtStr public to be used in user defined loggers
2015-05-26 16:10:30 +01:00
Oscar Campbell
c593c47696
Fix introduced erroneous use of "canonical" back to original wording. Fix faulty description of proc params behavior. Remove 'null' return type in example.
2015-05-26 16:28:44 +02:00
Andreas Rumpf
53c8937f2f
Merge pull request #2807 from avsej/get-rid-of-git-submodule
...
Get rid of git submodule
2015-05-26 15:34:44 +02:00
Andreas Rumpf
1ebff2ef83
Merge pull request #2762 from flaviut/optionals
...
Optionals
2015-05-26 15:33:08 +02:00
Andreas Rumpf
a932f63a03
Merge pull request #2808 from avsej/fix-dist-testdata
...
Ship all testdata with dist
2015-05-26 15:32:12 +02:00
Flaviu Tamas
f9e95b2987
Amend optionals docstring
2015-05-26 09:21:15 -04:00
yglukhov
d3c4c7c52f
Fixes #2798
2015-05-26 16:00:48 +03:00
Sergey Avseyev
b8fbe6c711
Ship all testdata with dist
2015-05-26 15:46:57 +03:00
Sergey Avseyev
b77ae66e84
Get rid of git submodule
2015-05-26 14:16:22 +03:00
Andreas Rumpf
16ebd8a3b5
Merge pull request #2805 from avsej/xz-dist
...
Implement support for XZ dist tarball
2015-05-26 12:55:04 +02:00
Sergey Avseyev
a333cf939f
Use maximum compression level for XZ tarball
2015-05-26 13:51:22 +03:00
Sergey Avseyev
0fd0ace00c
Set file permissions when prepare XZ tarball
2015-05-26 13:43:21 +03:00
Sergey Avseyev
4caf5482d4
Remove outdated targz from niminst
2015-05-26 13:27:02 +03:00
Sergey Avseyev
ba2aa474a1
Implement support for XZ dist tarball
...
Motivation
----------
Currenly tarballs for linux created manually. ZIP files are not
suitable, because they do not preserve unix file permissions.
Modification
------------
Implement 'koch xz' command to produce dist tarball in xz format. Also
the same command implemented in niminst.nim.
Result
------
Now it is easy to create source distribution for git stapshot and use it
further in packaging scripts.
2015-05-26 13:23:41 +03:00
Andreas Rumpf
8ee98b3681
Merge pull request #2795 from rgv151/patch-1
...
Remove dead code in findAll proc
2015-05-26 12:16:49 +02:00
Andreas Rumpf
45f14fd73a
Merge pull request #2803 from avsej/fix-boehm-gc-on-linux
...
Fix Boehm GC on linux
2015-05-26 12:05:27 +02:00
Andreas Rumpf
4013071f81
Merge pull request #2800 from flaviut/fixup-tests
...
Misc. changes to stdlib tests
2015-05-26 12:05:12 +02:00
yglukhov
1156e8ef9d
Minor cosmetic changes.
2015-05-26 11:32:07 +03:00
Sergey Avseyev
1001fd2166
Fix Boehm GC on linux
...
Motivation
----------
Some linuxes (like Fedora) actually multiarch. And it means that
libgc.so.1 not always installed into /usr/lib. It is better to entrust
this job to ld and system configuration for it.
Modification
------------
Use relative path for Boehm GC on 'other' OS (and linux in particular)
Result
------
It is possible now to build nim with --gc:boehm on linux
2015-05-26 08:40:51 +03:00