Commit Graph

6662 Commits

Author SHA1 Message Date
Andreas Rumpf
49ff09eae6 Merge pull request #3021 from apense/patch-7
Added some documentation and examples
2015-07-09 19:50:37 +02:00
Andreas Rumpf
ae0cb7e014 Merge pull request #3085 from apense/patch-10
Update sets documentation. Fixes #3058
2015-07-09 19:48:49 +02:00
Andreas Rumpf
7aa227ba79 Merge pull request #3092 from stefantalpalaru/linenoise
rename lib/wrappers/linenoise/linenoise.{c,h}
2015-07-09 16:34:19 +02:00
Stefan Talpalaru
a01a36f69a rename lib/wrappers/linenoise/linenoise.{c,h} 2015-07-09 16:21:38 +02:00
Dominik Picheta
e1dec3b7dd Merge pull request #3091 from apense/patch-3
Fixed some deprecation warnings
2015-07-09 08:43:57 +01:00
apense
1760657deb Update asyncdispatch.nim 2015-07-09 02:12:49 -04:00
Dominik Picheta
7beeb2fade Merge pull request #3086 from apense/patch-13
`replace` -> `replacef`
2015-07-08 22:19:52 +01:00
apense
7a010cf650 replace -> replacef 2015-07-08 15:01:50 -04:00
apense
66ce99d018 Update sets_fragment.txt 2015-07-08 14:13:00 -04:00
Araq
0a624bec1e implemented {.noforward:on.} for type sections; useful for c2nim generated wrappers; to be documented 2015-07-08 11:49:34 +02:00
Araq
a2b8b8b0dd 'sequtils doesn't take confusing default args anymore 2015-07-08 11:49:33 +02:00
Araq
83842ff4ed Nimrod -> Nim rename 2015-07-08 11:49:33 +02:00
Dominik Picheta
9e5722c9e7 Merge pull request #3076 from apense/patch-13
Updated `&` parameters
2015-07-08 09:17:14 +01:00
apense
af1a5f3244 Updated & parameters 2015-07-06 23:02:17 -04:00
Dominik Picheta
a7f769c6bd Merge pull request #3067 from apense/patch-10
Updated some example code in algorithm
2015-07-06 17:16:42 +01:00
reactormonk
d936a7844e Merge pull request #3070 from apense/patch-12
Added `getDaysInYear` proc
2015-07-06 00:10:10 -05:00
apense
71743b5af3 Added getDaysInYear proc 2015-07-06 01:03:34 -04:00
reactormonk
8e24a11a31 Merge pull request #3068 from apense/patch-11
THash -> Hash correction
2015-07-06 00:02:36 -05:00
apense
d0f2ce3ae8 Added comma
"e.g." and "i.e." both usually take commas after, as they would in normal English ("for example, ..." and "that is, ..." respectively)
2015-07-06 00:53:49 -04:00
apense
c38956a850 THash -> Hash correction 2015-07-06 00:49:34 -04:00
apense
bf58dd2141 Updated some example code in algorithm 2015-07-05 17:24:10 -04:00
Araq
9a8de7f3a3 fixes #3054 2015-07-05 15:00:48 +02:00
Araq
0e23ac3680 fixes #3053 2015-07-05 15:00:48 +02:00
Araq
36ca2f1102 fixes #3051 2015-07-05 15:00:47 +02:00
Araq
7011275f13 fixes #3062 2015-07-05 15:00:46 +02:00
Andreas Rumpf
1ad729ee3b Merge pull request #3020 from flaviut/rename-crc-to-hash
CRC -> Hash
2015-07-05 00:41:13 +02:00
Araq
b9ccd06013 fixes bootstrapping problem 2015-07-04 18:24:57 +02: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
Araq
b39ce2fbfc documented 'varargs[typed]' code breakage 2015-07-04 00:22:23 +02: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