reactormonk
042016acf3
Merge pull request #2136 from oderwat/fix-matchers
...
Fixed non exhaustive case by adding else
2015-02-15 12:16:27 +05:00
Hans Raaf
a7484ac092
Fixed non exhaustive case by adding else
2015-02-15 04:44:15 +01:00
reactormonk
a80969f96b
Merge pull request #2130 from yasoob/patch-1
...
It's 2015 👍
2015-02-15 05:21:28 +05:00
Billingsly Wetherfordshire
78cae0dd45
Update lib.txt
...
oops
2015-02-14 17:21:20 -06:00
Billingsly Wetherfordshire
8ed31ffd2b
Update lib.txt
...
removed IRC module from mention on lib.html
2015-02-14 17:20:21 -06:00
Billingsly Wetherfordshire
706544c63c
Update lib.txt
...
add basic2d/3d to standard libraries list
2015-02-14 17:19:13 -06:00
Billingsly Wetherfordshire
e22ae986f9
Update basic3d.nim
...
fix rst error
2015-02-14 17:15:30 -06:00
Billingsly Wetherfordshire
c63c3a8654
Update website.ini
...
generate docs for basic2d,basic3d
2015-02-14 17:14:06 -06:00
def
0a01b9143f
nimrod.cfg isn't working anymore, rename to nim.cfg
2015-02-15 00:07:34 +01:00
def
d19a4ca827
Fix cross_todo example
2015-02-15 00:06:57 +01:00
def
6244cc2e4f
Fix cross_calculator example
2015-02-15 00:06:51 +01:00
Araq
442dc30922
fixes endless recursion with static type parameters
2015-02-14 21:47:21 +01:00
M.Yasoob Ullah Khalid ☺
5b32e31a27
It's 2015 👍
2015-02-15 01:03:11 +05:00
Charles Blake
6206795464
Merge ../Nim into devel
2015-02-14 14:26:16 -05:00
def
512db9aea6
Fix documentation a bit in unicode
2015-02-14 19:57:32 +01:00
def
fb718f2d04
nimrod -> nim in some filenames
2015-02-14 19:00:11 +01:00
Araq
ece23d39bc
fixes #2123
2015-02-14 18:11:52 +01:00
Araq
df2fdaf3c5
fixes #2121
2015-02-14 14:45:49 +01:00
PhilipWitte
f1aa0a745e
Revert docs & learn pages to RTF again
2015-02-13 13:25:57 -08:00
PhilipWitte
0488001402
Merge remote-tracking branch 'upstream/devel' into devel
2015-02-13 11:39:28 -08:00
Charles Blake
5068a5aa01
assignment -> shallowCopy for efficiency.
2015-02-13 14:10:09 -05:00
Charles Blake
39b98fede3
New probe seq swaps 1st two keys. Fix in cmp.
2015-02-13 08:50:26 -05:00
Charles Blake
45a2c1b1d1
Merge ../Nim into devel; track ttables.nim delete.
2015-02-13 08:42:41 -05:00
Charles Blake
0a1bc0e9cd
Update a use of initTable to avoid initial enlarge.
2015-02-13 08:33:15 -05:00
Charles Blake
d129e8f6c6
Update doc comments to mention rightSize.
2015-02-13 08:28:58 -05:00
Araq
199707c189
fixes #2103
2015-02-13 10:55:46 +01:00
Araq
e8acaa449b
fixes #2102
2015-02-13 10:27:23 +01:00
Araq
b40bfc0ce3
fixes #2118
2015-02-13 10:09:57 +01:00
Araq
4876aabb39
fixes #2113
2015-02-13 02:08:45 +01:00
Hans Raaf
55ab6cc2b3
Disable -pthread for linker on OSX
...
The -pthread is not needed on Darwin/OS X and the Apple compilers give a
warning about this if you use --threads:on with the Nim compiler.
2015-02-13 01:51:46 +01:00
Araq
6eb8867f1a
fixes #2116
2015-02-13 01:40:29 +01:00
Araq
fde16e6c3e
fixes os.moveFile on Windows
2015-02-13 01:39:20 +01:00
Araq
b226618ce7
'passL' is not smart anymore about already known switches; -ldl is now properly appended to the linking command
2015-02-13 01:21:55 +01:00
Araq
c44d947ac5
'auto' can be inferred to be 'void'
2015-02-13 01:21:54 +01:00
Andreas Rumpf
f039aad5e0
Merge pull request #2097 from jferg2010/devel
...
Date/time parsing
2015-02-12 21:54:43 +01:00
Andreas Rumpf
7e7a448cf1
Merge pull request #2112 from oderwat/patch-xbit
...
Set executable bit on build.sh.
2015-02-12 21:53:06 +01:00
Andreas Rumpf
1d65cd277e
Merge pull request #2095 from def-/rdstdin-winfix
...
Fix readPasswordFromStdin for Windows
2015-02-12 16:15:50 +01:00
Araq
f9b3f7f980
fixes #2068
2015-02-12 16:10:38 +01:00
Andreas Rumpf
2f62cc91a4
Merge pull request #2111 from lyro/fix-2110
...
fix conditions for int size in 'math.nextPowerOfTwo' #2110
2015-02-12 15:18:55 +01:00
Araq
61db30727b
Aporia compiles again (disabling thread analysis is horrible!)
2015-02-12 15:14:46 +01:00
Araq
c4eddb3fda
ordinary parameters can follow a varargs parameter
2015-02-12 14:56:57 +01:00
Araq
41385f3aaf
made a test green
2015-02-12 14:56:57 +01:00
Araq
8763bffa84
better handling of gcsafety with --threadAnalysis:off
2015-02-12 14:56:56 +01:00
Araq
10335fd726
fixed minor bugs; cleaned up tests
2015-02-12 14:56:56 +01:00
Hans Raaf
6e8b2bbfc8
Set executable bit on build.sh.
...
I am not sure why this is not set already? To me it is an annoyance
that I have to set it manually and then git shows me a change for
that file all the time while working.
2015-02-12 13:07:06 +01:00
Charles Blake
a21d7c681d
New probe seq yields a non-bug swap of 1st 2 keys.
2015-02-12 06:57:39 -05:00
Frank Fischer
fcfaf2a844
fix conditions for int size in 'math.nextPowerOfTwo' #2110
2015-02-12 12:47:58 +01:00
Charles Blake
49d88cee68
Oops - missed updates to a few later rawGet()s.
2015-02-12 06:44:09 -05:00
Charles Blake
5fbcf93860
Add hcode,rightSize,rawGetKnownHC. Fix inf loop.
...
Make similar changes to those made in sets.nim, including hcode, rightSize
rawGet/rawGetKnownHC result protocol, nextTry probe sequence to be the cache
friendlier h=h+1 which in turn allows supporting changing deletion to fix the
infinite loop bug with local rehashing which in turn has desirable properties
of graceful table aging when deletes do happen and also making insert-only
usage patterns no longer pay any time/space cost to check deleted status.
Unlike collections.sets, this module has add() for duplicate key inserts and
a 3rd type of table, CountTable. The first wrinkle is handled by introducing
a rawGetDeep for unconditionally adding entries along collision chains. This
point of CountTable seems to be space efficiency at 2 items per slot. These
changes retain that by keeping the val==0 => EMPTY rule and not caching hash
codes. putImpl is expanded in-place for CountTable since the new putImpl() is
too different. { Depending on table size relative to caches & key expense,
regular Table[A,B] may become faster than CountTable, especially if the basic
count update could be something like inc(mGetOrPut(t, key, 0)). }
Unit tests pass, but in this module those are much more of just a demo than
probing for bugs. Should exercise/test this a little more before merging.
2015-02-12 05:22:04 -05:00
Charles Blake
2cc5bc0db3
Merge ../Nim into devel
2015-02-12 05:18:10 -05:00