Commit Graph

7456 Commits

Author SHA1 Message Date
apense
c334e89ee7 Renamed to toRunes 2015-07-04 15:07:29 -04:00
Araq
b9ccd06013 fixes bootstrapping problem 2015-07-04 18:24:57 +02:00
Sloane Simmons
b124b8b4bb Use raiseOSError with additionalInfo parameter from devel 2015-07-04 09:29:37 -05:00
Andreas Rumpf
e38a989a6f Merge pull request #3036 from nanoant/patch/macros-sametype
macros: Introduce sameType(a, b) for node types
2015-07-04 16:12:09 +02:00
apense
64b3395ade Added new proc
In reference to #2353
2015-07-03 21:33:12 -04:00
Araq
b39ce2fbfc documented 'varargs[typed]' code breakage 2015-07-04 00:22:23 +02:00
transfuturist
558360e6fd Update macros.nim 2015-07-03 13:48:13 -07:00
Andreas Rumpf
9683969243 Merge pull request #2877 from nanoant/patch/verbosity-map
Note verbosity specified in one place & --warnings/hings:list
2015-07-03 22:11:37 +02:00
Flaviu Tamas
62b55592e8 CRC -> Hash 2015-07-03 10:13:45 -04:00
Adam Strzelecki
3c20747394 Turn GC_getStatistics into hintGCStats 2015-07-03 14:05:00 +02:00
Adam Strzelecki
c009aadc74 Turn stack trace printing into hintStackTrace
So stack trace printing can be explicitly enabled by --hint[StackTrace]:on.
2015-07-03 14:05:00 +02:00
Adam Strzelecki
d568ac3357 Turn optPrintSurroundingSrc into hintSource
So surrounding source printing can be enabled for lower verbosity levels
explicitly.
2015-07-03 14:05:00 +02:00
Adam Strzelecki
00366cb8d4 Turn loadDynamicLib msg into hintDependency 2015-07-03 14:05:00 +02:00
Adam Strzelecki
18b3d04291 Turn execExternalProgram msgs into hintExecuting
Or hintLinking that is used on verbosity:1. This lets you treat this message as
regular hint, and control it via command line.
2015-07-03 14:05:00 +02:00
Adam Strzelecki
592f867aa5 List warnings & hints via --(hints|warnings):list
Hints and warnings can be now listed using --warnings:list and --hints:list
printing names and checkboxes indicating which of these are enabled.
2015-07-03 14:05:00 +02:00
Adam Strzelecki
14e6ff6780 Introduce NotesVerbosity defining verbosity levels
This solves two issues:

1. Some notes were enabled explicitly for some verbosity levels, so
   --hintName:on has no effect if verbosity level was too low.

2. Verbosity level for notes is not longer scattered across the source code,
   instead if now lives in msgs.nim NotesVerbosity array

3. Individual note settings have stronger effect than verbosity setting,
   so --hintName:off will disable hint regardless of high verbosity setting,
   and vice-versa --hintName:on will enable hint even on low verbosity setting.
2015-07-03 12:37:42 +02:00
Andreas Rumpf
e43daf3d24 Merge pull request #3049 from bluenote10/devel
added hash function for ordinal types
2015-07-03 11:46:59 +02:00
Fabian Keller
414d69ccea added hash function for ordinal types 2015-07-03 11:19:17 +02:00
Adam Strzelecki
1a0417fbe0 macros: Introduce sameType(a, b) for node types
Previously introduced node comparison `==` was working somehow wrong on nodes
returned from getType(a), comparing just ids of the symbols.

Recently introduced `==` change 47dce26886
started comparing symbol nodes pointer-wise, thus strictly. Since getType(a)
always creates new symbol pointing to the type, comparing two such nodes using
`==` always returns false, even they point to the same type.

That is why we need a new sameType macro to be able to tell if these nodes
point to the same type.
2015-07-03 11:11:10 +02:00
Araq
60ac5e3e76 fixes #3046 2015-07-03 10:55:50 +02:00
Araq
2d196442fa fixes #3048, fixes #3047 2015-07-03 10:31:49 +02:00
Araq
6b3abdba0f made macros.$ a bit smarter; but really this one needs to die 2015-07-03 01:57:01 +02:00
Araq
841a179d28 fixes #2633 2015-07-03 01:57:00 +02:00
Dominik Picheta
e0497112dc Remove expandTilde forward declaration 2015-07-03 00:37:42 +01:00
Araq
cdc6529ccf fixes #3038 2015-07-03 00:20:34 +02:00
Araq
3df9d2bd0c fixes #2540 2015-07-03 00:20:33 +02:00
Andreas Rumpf
dc65f9a5f7 Merge pull request #3043 from takaomag/fix_algorithm_reversed
Fix algorithm.reversed to accept non-zero 'first' arg
2015-07-03 00:19:10 +02:00
Andreas Rumpf
024c9cde35 Merge pull request #3035 from apense/patch-9
Added documentation guidelines (brief)
2015-07-03 00:00:38 +02:00
Araq
c314f8e65e fixes #3040 2015-07-02 23:04:46 +02:00
Araq
65c1b0c128 fixes #3041 2015-07-02 22:45:33 +02:00
Araq
0df8fa1ddd fixes #3044 2015-07-02 21:42:10 +02:00
Araq
bbf7e18e5b varargs[untyped] actually works 2015-07-02 21:22:56 +02:00
apense
c4fb1246d1 Updated to capitalized, imperative 2015-07-02 15:21:24 -04:00
takaomag
101e78df3b Add tests for algorithm.reversed 2015-07-02 16:39:53 +00:00
takaomag
f529e14b04 Fix algorithm.reversed to accept non-zero 'first' arg 2015-07-02 14:32:13 +00:00
Araq
560cfd48fc fixes broken merge 2015-07-02 16:29:22 +02:00
Araq
9b01f1bedb Merge branch 'devel' of https://github.com/Araq/Nim into devel 2015-07-02 16:18:35 +02:00
Araq
cabbcd411d implements varargs[untyped]; refs #2545; to be documented 2015-07-02 16:18:11 +02:00
Araq
de5113805a tests\generics\tgenericprocmatcher.nim
disabled dubious constructs
2015-07-02 16:04:35 +02:00
Andreas Rumpf
cf63f90d0f Merge pull request #3042 from k2nr/fix-readme-typo
fixes readme.md typo
2015-07-02 15:49:00 +02:00
Araq
87d69135b8 disabled unimportant old test 2015-07-02 14:57:02 +02:00
Kazunori Kajihiro
ce94d13406 fixes readme.md typo 2015-07-02 21:40:52 +09:00
def
2353fe343a Update deprecation notice about unsigned module 2015-07-02 12:26:04 +02:00
Dominik Picheta
cb34e3721e Merge pull request #3037 from rgv151/patch-3
Implement async `post` request
2015-07-01 21:11:14 +01:00
Bruce Doan
02402d3ffd Implement async post request 2015-07-02 03:07:01 +07:00
Dominik Picheta
cb5d090cdb Moved handling of multi-line FTP replies to expectReply. 2015-07-01 21:05:45 +01:00
Dominik Picheta
d67e93340a Merge branch 'patch-1' of https://github.com/acidvertigo/Nim into acidvertigo-patch-1 2015-07-01 19:25:07 +01:00
apense
13dd7922aa Clarified and fixed typo 2015-07-01 13:00:01 -04:00
def
ec97195d8f Add unsigned exports for backwards-compatibility 2015-07-01 18:59:08 +02:00
def
6f145230ee Remove unsigned from lib.txt 2015-07-01 18:59:08 +02:00