Commit Graph

1305 Commits

Author SHA1 Message Date
Andreas Rumpf
f4b81ba92b Merge pull request #775 from fowlmouth/patch-3
Update endians.nim
2014-01-18 15:05:57 -08:00
Andreas Rumpf
3f8bfb1e98 Merge pull request #777 from fowlmouth/patch-4
Update os.nim
2014-01-13 14:39:40 -08:00
Andreas Rumpf
90721375e2 Merge pull request #779 from brihat/master
Define $ operator for TRune
2014-01-13 14:34:24 -08:00
Dominik Picheta
fba0f33f1b Merge pull request #788 from zielmicha/httpclient-fix
httpclient: strip trailing whitespace from headers.
2013-12-30 09:13:18 -08:00
Grzegorz Adam Hankiewicz
987ac2439a Merge pull request #776 from gradha/pr_docs
Docstrings
2013-12-30 03:06:22 -08:00
Michał Zieliński
0420c8c363 httpclient: strip trailing whitespace from headers.
- we can do that according to the RFC.
- fixes #783
2013-12-28 17:26:08 +01:00
Dominik Picheta
be5e13671c Remove assert in asyncio which causes problems.
This assert keeps failing occassionally in nimbuild causing it to crash.
According to logic it shouldn't, but perhaps the socket's writeable
status changes.
2013-12-26 21:32:30 +00:00
Satish BD
40bd63f83b Define $ operator for TRune 2013-12-26 00:55:17 +02:00
Satish BD
69b816f07c Define $ operator for TRune 2013-12-26 00:41:43 +02:00
Billingsly Wetherfordshire
e1fa19fa7a Update os.nim
added file/dirExists synonyms for existsFile/dir
2013-12-23 12:58:22 -06:00
Grzegorz Adam Hankiewicz
f33f15afe8 Adds docstring to rstgen.defaultConfig. 2013-12-23 19:25:53 +01:00
Grzegorz Adam Hankiewicz
1fe8b013ef Adds example to locals() docstring. 2013-12-23 19:25:53 +01:00
Billingsly Wetherfordshire
b3057be2c9 Update endians.nim
adds swapEndian16 function
2013-12-23 11:52:11 -06:00
Satish BD
033938a53a Correct the spelling of the word 'implicitly' 2013-12-23 04:29:50 +02:00
Grzegorz Adam Hankiewicz
7a05b108d5 Renames configuration file to new pattern. Refs #720. 2013-12-21 11:44:17 +01:00
Andreas Rumpf
2f7119e9bb Merge pull request #764 from gradha/pr_doc_improvements
Documentation improvements
2013-12-20 13:02:44 -08:00
Grzegorz Adam Hankiewicz
7177e0f698 Adds docstring to macros.newIdentDefs. 2013-12-20 21:37:51 +01:00
Billingsly Wetherfordshire
f06c9a77b5 Update macros.nim 2013-12-20 14:23:13 -06:00
Andreas Rumpf
259d205ff6 Merge pull request #759 from zielmicha/stdmsg
Write tracebacks to stderr instead of stdout.
2013-12-20 09:42:39 -08:00
Clay Sweetser
9de92522a6 Further fixes (stupid kdiff automerge) 2013-12-18 16:04:43 -05:00
Clay Sweetser
c26e787e5d os.nim - Modify removeFile to use native Windows API calls 2013-12-18 15:32:26 -05:00
Grzegorz Adam Hankiewicz
e0d6a1cec1 Adds some docstrings to rstgen. 2013-12-18 21:22:22 +01:00
Grzegorz Adam Hankiewicz
f46336ae8b Adds missing `code-block` to macros' docstrings. 2013-12-18 21:22:22 +01:00
Grzegorz Adam Hankiewicz
543d6b3209 Replaces PDoc with var TRstGenerator for documentation.
The PDoc type is a convenience internal alias. Where procs are exported
only documented types should be used to avoid confusing users.
2013-12-18 21:22:10 +01:00
Michał Zieliński
74a63c004f Rework CGI error reporting.
- remove 'undocumented' stackTraceNL
- add 'undocumented' errorMessageWriter
- make printing errors for browser optional (for security)
2013-12-18 18:15:39 +01:00
Clay Sweetser
ab2eb884a0 Modified os.removeFile to act correctly when deleting a file that doesn't exist. 2013-12-17 18:03:08 -05:00
Michał Zieliński
646458d328 write exception tracebacks to stdmsg, instead of stdout 2013-12-17 20:42:02 +01:00
Michał Zieliński
db73f3af20 Add stdmsg (an alias to either stdout or stderr). 2013-12-17 20:36:53 +01:00
Grzegorz Adam Hankiewicz
30aef21def Merge pull request #739 from gradha/pr_adds_to_quit_docs
Adds to quit docs
2013-12-17 03:16:02 -08:00
Araq
d46380e718 Merge branch 'master' of github.com:Araq/Nimrod 2013-12-16 22:26:34 +01:00
Araq
132b6b3efe implemented 'injectStmt'; more debug support 2013-12-16 22:26:17 +01:00
Andreas Rumpf
20c69dac9e Merge pull request #737 from zielmicha/quote-shell
quoteIfContainsWhite -> quoteShell
2013-12-16 12:32:14 -08:00
Grzegorz Adam Hankiewicz
c6c8366925 Mentions static alternatives to quit(). 2013-12-12 00:57:31 +01:00
Michał Zieliński
39cabcdd27 Use quoteShell in stdlib, where appropriate. 2013-12-11 22:27:39 +01:00
Clay Sweetser
33ffe60864 Fixed skipFile proc to not skip files that merely start with '.'
Modified removeFile to reset the read only attribute on files before trying to delete.
2013-12-11 16:16:14 -05:00
Michał Zieliński
c363197275 Deprecate quoteIfContainsWhite in favor of osproc.quoteShell. 2013-12-10 23:00:01 +01:00
Michał Zieliński
b8072bd22e add quoteShell to osproc.nim 2013-12-10 22:56:29 +01:00
Andreas Rumpf
9848f82c03 Merge pull request #730 from zielmicha/fix-parameters
Make parseopt correct (and based on seq[string] as parameters, not string)
2013-12-10 11:53:58 -08:00
Michał Zieliński
1472b46708 Merge old parseopt.nim into fix-parameters 2013-12-10 20:42:32 +01:00
Michał Zieliński
2e0da6a5c6 Make old parseopt as deprecated. 2013-12-10 20:41:52 +01:00
Michał Zieliński
088d472662 rename new parseopt to parseopt2 2013-12-10 20:33:51 +01:00
Michał Zieliński
896766ae2c Fix : and = precedence in parseopt. 2013-12-10 19:10:06 +01:00
Grzegorz Adam Hankiewicz
da05cf51de Reverts "Make quoteIfContainsWhite quote…". Refs #702.
This reverts commit e7e8c77062 to avoid
tool breakage. A different approach is being worked on #730.
2013-12-10 17:50:47 +01:00
Michał Zieliński
b4716e3b5b Merge branch 'master' of https://github.com/Araq/Nimrod into fix-parameters 2013-12-09 23:38:19 +01:00
Michał Zieliński
d1f3512aba Reimplement parseopt which parses arguments given as a sequence of strings, not single string. 2013-12-09 23:29:16 +01:00
Michał Zieliński
8dae664159 Add commandLineParams to os.nim.
commandLineParams returns seq of arguments given to program on command line.
2013-12-09 21:45:42 +01:00
Grzegorz Adam Hankiewicz
8468e2af3a Revert "removed windows". Refs #698.
This reverts commit 5ab3d66144.
2013-12-09 18:28:11 +01:00
Michał Zieliński
642a0d5563 Normalize whitespace in os.nim.
I can't edit it - trick with asking git to ignore whitespace doesn't
work if I need to change indention level.
2013-12-09 18:03:36 +01:00
Zahary Karadjov
95a6e01ea8 Merge branch 'master' of github.com:Araq/Nimrod into upstream 2013-12-09 00:26:04 +02:00
Zahary Karadjov
de3b7cd413 progress towards adding negative type classes
[unittest bugfixes]
the block form of check now allows comments
errors when inspecting the arguments of var-accepting procs
2013-12-09 00:09:03 +02:00