Araq
d631958124
news.txt updates; fixes bootstrapping
2015-04-22 13:57:20 +02:00
Araq
4be0d16520
added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin system to the compiler
2015-04-22 12:04:11 +02:00
Araq
aacaa8f171
cleaned up some magics to make room for new magics; added '..<' and '..^' templates
2015-04-22 12:04:09 +02:00
Oleh Prypin
22db40e5e4
Turn some test outputs into actual tests
2015-04-21 15:59:32 +03:00
Oleh Prypin
c433ae1aaa
Fix romans module
2015-04-21 14:40:18 +03:00
Oleh Prypin
a8c3c2ef0d
Fix a test in xmltree
2015-04-21 14:39:34 +03:00
Oleh Prypin
32109a7867
Don't run non-test code when defined(testing)
2015-04-21 14:37:29 +03:00
Andreas Rumpf
d203d6fad4
Merge pull request #2411 from reactormonk/merge-counttables
...
merge for CountTable, see #1680
2015-04-21 09:04:46 +02:00
Andreas Rumpf
72e513991f
Merge pull request #2572 from maxgrenderjones/fix-2431-against-devel
...
{} returns nested results in json & standardise on 'key' not 'name'
2015-04-21 09:02:39 +02:00
Andreas Rumpf
1b80e2f296
Merge pull request #2506 from BlaXpirit/update-pcre
...
Update and improve PCRE wrapper
2015-04-21 08:58:28 +02:00
Andreas Rumpf
f7f5a690a9
Merge pull request #2449 from def-/slice-items
...
Add items iterator for slices
2015-04-21 08:56:59 +02:00
Araq
43eae0c113
macros: added bool literal support
2015-04-20 20:40:10 +02:00
Araq
2b4e233510
Merge branch 'devel' of https://github.com/Araq/Nim into devel
2015-04-20 11:44:54 +02:00
Araq
dc3a0bc009
added macros.newTree proc (why didn't we do this earlier?)
2015-04-20 11:34:18 +02:00
Araq
5cea6807e1
fixes #2476
2015-04-19 02:43:19 +02:00
Max Grender-Jones
7daad41784
Allow {} to return nested results in json & standardise on 'key' not 'name'
...
- Note now returns nil if users try to index into a non-object;
old behaviour was to throw a runtime error
- Also s/transverse/traverse/
2015-04-18 01:08:06 +01:00
Araq
caef835fe4
fixes #2568
2015-04-17 21:21:02 +02:00
Andreas Rumpf
86b37f7fc7
Merge pull request #2555 from def-/fix-2552
...
Make peekExitCode on Posix use WIFEXITED to determine exit
2015-04-15 17:41:01 +02:00
Andreas Rumpf
e14e5be998
Merge pull request #2549 from fowlmouth/patch-2
...
fixes for macros.getType()
2015-04-15 17:33:26 +02:00
Andreas Rumpf
97cb0eb694
Merge pull request #2560 from BlaXpirit/re-nre-hint
...
Add a hint about NRE library to 're' module
2015-04-15 17:32:21 +02:00
Andreas Rumpf
8e73978c68
Merge pull request #2546 from BlaXpirit/rst-link-underscore
...
Make RST recognize hyperlinks with two underscores
2015-04-15 17:31:18 +02:00
Oleh Prypin
aa327efa98
Add a hint about NRE to 're' module
2015-04-14 23:26:53 +03:00
Oleh Prypin
ff25c1272f
Deprecate constant regular expression strings
2015-04-14 22:30:21 +03:00
def
2025a0f482
Make peekExitCode on Posix use WIFEXITED to determine exit
...
This fixes #2552
2015-04-14 12:58:17 +02:00
Wink Saville
b0b3a2500a
The importc for atomicCompareExchange is incorrectly defined.
...
The .importc: was referring to __atomic_compare_exchange_n this corrects
it to be __atomic_compare_exchange.
2015-04-13 20:39:01 -07:00
Oleh Prypin
81d2be4aa6
Make RST recognize hyperlinks with two underscores
...
Fixes #2538
2015-04-13 19:51:27 +03:00
Oleh Prypin
b4337e1b0f
Fix a flag in PCRE: change to 'usePcreHeader'
2015-04-10 17:50:43 +03:00
fowlmouth
f852988d11
Merge branch 'devel' of github.com:Araq/Nim into patch2
2015-04-10 09:23:33 -05:00
Oleh Prypin
3aa7f7f491
Change datatypes and remove broken editable procs from PCRE
2015-04-10 17:18:59 +03:00
Oleh Prypin
fd8c6d0a32
Fix deprecation warnings in re
2015-04-10 16:12:54 +03:00
Oleh Prypin
7d06fc2165
Update and improve PCRE wrapper
...
- Version 8.36 (was 8.31)
- Support for editable functions
- Name arguments according to docs
- Cosmetics
2015-04-10 16:08:25 +03:00
Araq
8ddb58aecc
fixes bootstrapping on windows
2015-04-10 14:17:07 +02:00
Araq
3a9500f7b1
fixes #2500
2015-04-10 14:03:47 +02:00
Andreas Rumpf
6e6c6446a4
Merge pull request #2329 from def-/readline
...
Speed up readLine by using getc_unlocked
2015-04-10 14:02:22 +02:00
Andreas Rumpf
badd1a79f0
Merge pull request #2493 from arnetheduck/more-comp-ropes
...
More comp ropes
2015-04-10 13:59:35 +02:00
Andreas Rumpf
2b8f8bbf19
Merge pull request #2502 from def-/pcre
...
Fix infinite loop in re.findAll
2015-04-10 01:16:01 +02:00
def
69d38f82a5
Fix infinite loop in findAll
2015-04-09 17:22:44 +02:00
def
ce0c4a8b58
Clean up re module a bit
2015-04-09 17:22:33 +02:00
Andreas Rumpf
15b5f52e8c
Merge pull request #2494 from JosephTurner/fix-matching-error
...
Fixes matching error #2418
2015-04-09 16:37:47 +02:00
Oleh Prypin
27071319c6
Remove unneeded import os from intsets
2015-04-09 03:48:35 +03:00
Joseph Turner
7ee6c72b51
Adds test case to is isMainModule block
...
Adds the test case that originally caused the bug, issue #2418 .
2015-04-08 21:58:31 +01:00
Joseph Turner
13e5a9ea6c
Fixes matching error #2418
...
Fixes the split iterator, the main problem was with the incrementation
of 'last'. Last was first incremented to the index of the first
character after the match, but was then incremented again at the
beginning of the while loop. This caused a problem if that character
after the first match, also matched the regular expression.
2015-04-08 17:00:28 +01:00
Jacek Sieka
76a316bd35
lib_ropes: better buffering in equalsFile, cleanups
2015-04-08 23:30:11 +08:00
Andreas Rumpf
b48f9c4e14
Merge pull request #2484 from yglukhov/macos-sigpipe
...
Fixed SIGPIPE on MacOS
2015-04-08 16:03:32 +02:00
Araq
4b382940f0
minor doc improvements
2015-04-08 13:49:16 +02:00
yglukhov
c2a52a9849
Fixed SIGPIPE on MacOS
2015-04-08 11:24:53 +03:00
Andreas Rumpf
dfc3f9dcd7
Merge pull request #2486 from endragor/rational-hash
...
Add hash proc for Rational
2015-04-08 09:58:06 +02:00
Ruslan Mustakov
35f5ac2811
Added procvar pragma to rationals.cmp
2015-04-08 01:21:58 +06:00
Ruslan Mustakov
46e6fd4fa9
Added hash proc for Rational
2015-04-08 00:52:20 +06:00
Andreas Rumpf
d170a51f54
Merge pull request #2472 from def-/natural
...
Use more Natural and Positive numbers in proc parameters
2015-04-07 13:37:08 +02:00