Commit Graph

8623 Commits

Author SHA1 Message Date
Zach Aysan
99b29b3e97 Switch to removeSuffix name and modify the string in place 2015-07-21 15:10:03 -04:00
Araq
caf7717cb8 removed system.free 2015-07-18 20:41:45 +02:00
Zach Aysan
a291f2c271 Create Ruby-like chomp proc to allow for easy string ending removal 2015-07-17 16:25:58 -04:00
coffeepots
a2f0fe03b6 Fixed dayOfWeekJulian, exported SecondScale 2015-07-16 10:20:34 +01:00
Araq
728fc441ef staticExec now supports caching 2015-07-15 22:00:44 +02:00
Araq
6e39f75f54 fixes regression in XML parsing 2015-07-15 22:00:44 +02:00
coffeepots
f09916d720 Procs to decode Time to TimeInfo & TimeInterval
Fills in the missing functionality of decoding Time to TimeInfo and TimeInterval, whilst also adding some procs to work with leap years and to get the day of the week based on a date.
2015-07-14 11:58:26 +01:00
Araq
f7bdc205c7 documentation generator emits configurable html for code listings 2015-07-14 01:37:09 +02:00
Araq
27f5c3ceb9 added os.tailDir proc 2015-07-12 13:33:22 +02:00
Dominik Picheta
994d81461b Merge pull request #3095 from def-/fix-async-post
Fix async httpclient post to work without multipart
2015-07-11 14:06:30 +01:00
Dominik Picheta
a312808e38 Do not use errno on Windows in the `os` module. 2015-07-11 14:01:53 +01:00
Dominik Picheta
b6afa42793 Merge branch 'fix-2573-cherry-pick' of https://github.com/singularperturbation/Nim into singularperturbation-fix-2573-cherry-pick 2015-07-11 13:58:32 +01:00
Andreas Rumpf
fc9dc6c828 Merge pull request #2272 from def-/unsigned
Move unsigned int operations to system module
2015-07-11 13:28:20 +02:00
Andreas Rumpf
459793ca4c Merge pull request #3073 from apense/patch-12
Added safeAdd documentation
2015-07-11 13:23:07 +02:00
Joey
1bc101137b Expose the name of an exception. 2015-07-10 14:55:06 -06:00
def
e264fa24cd Fix async httpclient post to work without multipart 2015-07-10 00:32:39 +02:00
Andreas Rumpf
7d1a58224e Merge pull request #3093 from avsej/fix-nimdoc-for-selectors
Fix nimdoc generation for lib/pure/selectors.nim
2015-07-09 22:56:14 +02:00
apense
a6e660e935 Corrected documentation 2015-07-09 14:02:21 -04:00
Andreas Rumpf
044768690b Merge pull request #3057 from apense/patch-9
Added new Rune sequence proc
2015-07-09 19:52:24 +02:00
Andreas Rumpf
49ff09eae6 Merge pull request #3021 from apense/patch-7
Added some documentation and examples
2015-07-09 19:50:37 +02:00
apense
48b0de8ab4 Corrected proc name in assertion 2015-07-09 13:49:47 -04:00
apense
5fd7b7850a Corrected documentation 2015-07-09 13:45:20 -04:00
fenekku
464ec61e9c document unittest.nim + code agreement 2015-07-09 13:22:26 -04:00
Sergey Avseyev
7f03ad416e Fix nimdoc generation for lib/pure/selectors.nim 2015-07-09 18:36:47 +03:00
Stefan Talpalaru
a01a36f69a rename lib/wrappers/linenoise/linenoise.{c,h} 2015-07-09 16:21:38 +02:00
apense
1760657deb Update asyncdispatch.nim 2015-07-09 02:12:49 -04:00
apense
5a2e575bb6 Doubled ticks 2015-07-09 00:03:18 -04: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
apense
af1a5f3244 Updated & parameters 2015-07-06 23:02:17 -04:00
apense
30737ea34b Added safeAdd documentation 2015-07-06 15:47:23 -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
apense
71743b5af3 Added getDaysInYear proc 2015-07-06 01:03:34 -04: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
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
transfuturist
558360e6fd Update macros.nim 2015-07-03 13:48:13 -07: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
6b3abdba0f made macros.$ a bit smarter; but really this one needs to die 2015-07-03 01:57:01 +02:00
Dominik Picheta
e0497112dc Remove expandTilde forward declaration 2015-07-03 00:37:42 +01: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
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