Charles Blake
ad67bfcf46
Quote the \ in doc comments.
2015-08-02 12:21:49 -04:00
Charles Blake
63c4f204e8
Add some little one-line doc comment of MemSlice.
2015-08-02 12:20:05 -04:00
Charles Blake
2252f80e72
Add some very simple tests for memfiles iterators.
2015-08-02 12:09:53 -04:00
Charles Blake
2bcd4e9a38
Add top of module comment. Re-order definitions to
...
type, then converter, then 3 iterators lowest- to highest-level
(also fastest to slowest) including a new intermediate iterator
lines(MemFile, buffer) that is more like readLine(File) in case
that helps anyone port code.
Add doc comments.
Also have toString just use newString+c_memcpy instead of
currently fragile toNimStr which Araq wants a separate PR for.
2015-08-02 12:03:52 -04:00
Charles Blake
a9d09f2868
Revert toNimStr fix as per Araq request.
2015-08-02 12:03:11 -04:00
Charles Blake
fc54fbfb98
Nix unchecked which has no semantics for objects.
2015-08-02 05:28:21 -04:00
Charles Blake
970cfec6c2
Merge ../Nim into devel
2015-07-30 18:42:20 -04:00
Dominik Picheta
c9084585dc
Merge pull request #3157 from rgv151/patch-4
...
Free SSL handler to avoid memory leaks
2015-07-30 23:37:40 +01:00
Bruce Doan
55ef708e73
Free SSL handler to avoid memory leaks
2015-07-31 01:24:35 +07:00
Charles Blake
0b4c816cba
cstring->pointer in MemSlice to make consistent with MemFile and
...
also to make more clear the care required to use MemSlice instances.
(E.g., memXXX functions rather than strXXX functions).
2015-07-29 06:14:44 -04:00
Charles Blake
f2c5676767
Remove NUL termination unneeded post toNimStr fix.
2015-07-28 06:45:07 -04:00
Araq
8913e82f45
removed macros.high as it never worked outside of macros.nim
2015-07-28 02:54:21 +02:00
Dominik Picheta
f3a0d702ae
Merge branch 'l04m33-async_callback_issue_0412-2' into devel
2015-07-26 22:04:01 +01:00
Dominik Picheta
bd6e223065
Merge branch 'async_callback_issue_0412' of https://github.com/l04m33/Nim into l04m33-async_callback_issue_0412-2
...
Conflicts:
lib/pure/asyncdispatch.nim
2015-07-26 22:03:48 +01:00
Dominik Picheta
1b9f2fdfe8
Merge pull request #3094 from fenekku/unittest-work
...
document unittest.nim + code agreement
2015-07-26 21:42:51 +01:00
Araq
54fdeb4f76
gc:none works again
2015-07-26 22:03:52 +02:00
Araq
beca7ded1b
fixes #3144
2015-07-26 21:07:11 +02:00
Dominik Picheta
94ad731964
Fixes example code in marshal module.
2015-07-26 18:21:14 +01:00
Dominik Picheta
ce4e877702
$ for tuples/objects now handles a nil value correctly. Fixes #3149 .
2015-07-26 18:15:19 +01:00
Charles Blake
a2b6a630fe
Oops..[]= not defined yet here. Use .data instead.
2015-07-26 09:17:04 -04:00
Charles Blake
18df5dad11
Do not read past end of input. Ensure NUL termination.
2015-07-26 09:02:43 -04:00
Charles Blake
ae303cc1c3
Rename [rR]ecord->[mM]emSlice, rec->ms, End->ending. Also update some comments.
2015-07-26 07:52:30 -04:00
Dominik Picheta
a88131ed4a
Improved errors in times.parse.
2015-07-24 22:46:24 +01:00
Dominik Picheta
903452e96e
Merge pull request #3145 from judofyr/times-parse-literal
...
Fix times' parse with literal strings
2015-07-24 22:37:28 +01:00
Charles Blake
3f4255dd14
Beg->data, Len->size to address Varriount's issue. I was unaware of
...
lower case members as a strict style convention.
2015-07-24 17:23:11 -04:00
Charles Blake
a12c9cfb9d
Add MemFile text interface factored so users can optionally skip Nim string
...
construction (e.g. to filter many lines out before building strings). Only
Windows and/or Unix line endings are supported by default, though fiddling
with delim/eat arguments can probably support archaic MacOS9 files.
2015-07-24 14:38:20 -04:00
Magnus Holm
fdf454e3ae
Fix times' parse with literal strings
2015-07-24 18:08:05 +02:00
Araq
4932415742
fixes #1832
2015-07-24 01:04:45 +02:00
Araq
18823a315e
todo.txt updates
2015-07-24 01:04:43 +02:00
Araq
bf057f0d2c
minor refactoring for big fixes to come
2015-07-24 01:04:42 +02:00
Araq
d82d430cbe
fixes #2823
2015-07-24 01:04:40 +02:00
Andreas Rumpf
cd42d38887
Merge pull request #3142 from avsej/fix-unittest
...
Remove access modifiers from inner templates
2015-07-23 16:01:38 +02:00
Sergey Avseyev
70f14aa578
Remove access modifiers from inner templates
...
Fixes options.nim tests
2015-07-23 17:00:04 +03:00
Andreas Rumpf
46f59a7c59
Merge pull request #3141 from jeizsm/devel
...
add linenoise to installer.ini
2015-07-23 15:47:29 +02:00
Marat Safin
447442a9b0
add linenoise to installer.ini
2015-07-23 14:51:05 +03:00
Andreas Rumpf
f052041648
Merge pull request #3137 from vegansk/findFile_absolute
...
Added absolute path support to options.findFile
2015-07-23 08:42:53 +02:00
Araq
5409142120
fix recently introduced regressions
2015-07-22 18:49:18 +02:00
Araq
e6e0527fd2
fixes #1738
2015-07-22 18:01:05 +02:00
Araq
8594faa543
fixes #2841
2015-07-22 17:08:21 +02:00
Araq
b0b716fca7
fixes #3079 , fixes #1146 , fixes #2879
2015-07-22 16:32:56 +02:00
Araq
862ee8d1d3
fixes #2963
2015-07-22 01:21:42 +02:00
Araq
f192d5aab3
fixes #3099
2015-07-21 19:00:48 +02:00
Anatoly Galiulin
506b90cea8
Added absolute path support to options.findFile
2015-07-21 09:58:26 +06:00
Araq
d3255f708c
small steps for making --symbolFiles:on work again
2015-07-20 13:43:59 +02:00
Araq
caf7717cb8
removed system.free
2015-07-18 20:41:45 +02:00
Araq
6b00160938
fixes #3134
2015-07-18 17:48:01 +02:00
Araq
f95c2cb3a7
fixed website path"
2015-07-18 17:14:57 +02:00
Araq
6b3c46fbd9
website improvements
2015-07-18 15:35:27 +02:00
Araq
f79e58edce
don't reset the terminal when --stdout is active
2015-07-16 15:26:04 +02:00
Araq
728fc441ef
staticExec now supports caching
2015-07-15 22:00:44 +02:00