summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Adjustments to #2610.Dominik Picheta2015-06-222-5/+15
|
* Merge branch 'starttls' of https://github.com/wiml/Nim into wiml-starttlsDominik Picheta2015-06-222-53/+89
|\ | | | | | | | | Conflicts: lib/pure/net.nim
| * Make the post-connection wrapSocket() call available in both the synchronous ↵Wim Lewis2015-04-262-10/+32
| | | | | | | | and asynchrinous net modules.
| * Add a handshake parameter to wrapSocket() to allow it to work on an ↵Wim Lewis2015-04-231-1/+15
| | | | | | | | already-connected socket.
* | preparations for more Nimble packages; clear licensing; fixes #2949Araq2015-06-201-1/+1
| |
* | Merge pull request #2961 from Perelandric/rename_writeLnDominik Picheta2015-06-208-21/+26
|\ \ | | | | | | Renamed writeln to writeLine. Issue #2958
| * | reworked deprecation to retain old procspatrick dw2015-06-191-2/+5
| | |
| * | renamed writeln to writeLine in libpatrick dw2015-06-197-20/+20
| | |
| * | Renamed writeln procs to writeLinepatrick dw2015-06-181-1/+3
| | |
* | | Merge branch 'patch-2' of https://github.com/rgv151/Nim into rgv151-patch-2Dominik Picheta2015-06-201-49/+50
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: lib/pure/htmlparser.nim
| * | | Allow TR, TH, TD tags inside THEAD and TFOOTBruce Doan2015-05-271-49/+49
| | | |
* | | | Merge pull request #2951 from apense/patch-5Andreas Rumpf2015-06-201-0/+21
|\ \ \ \ | | | | | | | | | | Added `isSorted` proc
| * | | | Added documentationapense2015-06-181-0/+3
| | | | | | | | | | | | | | | Now `isSorted` is documented.
| * | | | Removed redundant checkapense2015-06-181-2/+0
| | | | | | | | | | | | | | | Loop takes care of it already
| * | | | Fixed silly continueapense2015-06-171-5/+2
| | | | | | | | | | | | | | | The old if/else was weird and unnecessary
| * | | | Added `isSorted` procapense2015-06-171-0/+23
| | |/ / | |/| | | | | | Linear-time verification that an openarray is sorted. Operates on the same parameters as `sort`. Seems much cheaper for large sorts.
* / | | Added some C99 funcsapense2015-06-181-0/+18
|/ / / | | | | | | Error function (and complementary) and gamma function (and truncated)
* | | Merge pull request #2908 from apense/patch-7Andreas Rumpf2015-06-151-16/+40
|\ \ \ | | | | | | | | Updated random functions. Fixes #2907
| * | | Updated RNG for Visual Capense2015-06-141-14/+27
| | | | | | | | | | | | Can't test it, but it should work just fine. Can be extended to MinGW w/ GCC and other compilers sometime in the future
| * | | Discarded randomize for windowsapense2015-06-111-6/+9
| | | | | | | | | | | | It actually doesn't use it because `rand_s` doesn't.
| * | | Updated random functionsapense2015-06-111-4/+12
| | | | | | | | | | | | For Windows, `rand_s` has been available since Windows XP (see https://msdn.microsoft.com/en-us/library/sxtz2fa8.aspx). It gives a better quality random number in a larger range (the max is actually `0xffffffff`).
* | | | colors: Introduce resetStyle enum & use templatesAdam Strzelecki2015-06-151-7/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Introduce TerminalCmd enum and resetStyle that can be issued to issue resetAttributes within styledEcho arguments. 2. Use templates to resolve styledEcho arguments for performance reasons. 3. Try to avoid calling trailing write "\n" and reset attributes where possible.
* | | | fixes #2909Araq2015-06-151-16/+16
| | | |
* | | | fixed #1985Vlad2015-06-141-1/+3
| | | |
* | | | Fix logger formattingSergey Avseyev2015-06-131-11/+20
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation ---------- Current implementation does not allow to specify any formatting. It even cannot output log level, because `writeln()` accepts `varags[string]` and silently ignores everything before last argument. Modification ------------ Perform formatting in the single place during substitution. Make log level optional as all other substitution variables. Also make verbose logging more informative and parseable. Result ------ Correct handling formatting and substitutions. Machine-friendly default output of verbose logger.
* | | Fixed unittest output.yglukhov2015-06-111-1/+0
| | |
* | | Merge pull request #2891 from sstirlin/develAndreas Rumpf2015-06-101-1/+2
|\ \ \ | | | | | | | | fixed threadpool and atomics to work with Visual Studio 32 and 64 bit
| * | | disabled threadpool assertion only for vccSpencer Stirling2015-06-101-1/+2
| | | |
| * | | fixed threadpool and atomics to work with Visual Studio 32 and 64 bitSpencer Stirling2015-06-091-1/+1
| | | |
* | | | Fix doc typos in basic2d and basic3dmsiglreith2015-06-102-2/+2
| | | |
* | | | terminal doesn't use enormous windows module anymoreAraq2015-06-101-22/+81
| | | |
* | | | no private deprecated symbolsAraq2015-06-101-1/+0
| | | |
* | | | Allow to set position at end of streamFederico Omoto2015-06-091-1/+1
|/ / /
* | | Updated whitespace rangesapense2015-06-081-2/+8
| | | | | | | | | Ranges sourced from <http://www.unicode.org/Public/7.0.0/ucd/PropList.txt>_. Wikipedia also uses these ranges on its information page <http://en.wikipedia.org/wiki/Whitespace_character#Unicode>_. 0xfeff isn't included in the list, but it is a no-break space, so I guess it makes sense. 0x200b is actually a format character, but it is a zero-width space. To fit Unicode, both 0x200b and 0xfeff would be removed.
* | | Fixes #2884Dominik Picheta2015-06-081-2/+4
| | | | | | | | | | | | Haven't tested this patch but should work.
* | | Merge pull request #2682 from koalazen/refactor_lowerbound_algorithmAndreas Rumpf2015-06-071-7/+17
|\ \ \ | | | | | | | | shorten lowerBound in algorithm.nim
| * | | refactored lowerBound in algorithm.nimKoala Zen2015-05-181-7/+17
| | | |
* | | | Merge pull request #2878 from Perelandric/rename_fixesAndreas Rumpf2015-06-071-4/+4
|\ \ \ \ | | | | | | | | | | Some fixes from the recent `T` renaming
| * | | | Updated deprecated namespatrick dw2015-06-061-4/+4
| | | | |
* | | | | use new type namesAraq2015-06-061-5/+5
| | | | |
* | | | | moved sexp.nim to nimsuggest repoSimon Hafner2015-06-051-698/+0
| | | | |
* | | | | Merge branch 'exportnewsocket' of https://github.com/boopcat/Nim into ↵Dominik Picheta2015-06-052-6/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boopcat-exportnewsocket Conflicts: lib/pure/asyncnet.nim
| * | | | | Export newSocket(fd) from net.nim and standardize args in net/asyncnetboopcat2015-05-302-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exporting newSocket(fd) mimics what asyncnet does and lets you pass in your own socket FD. newSocket*(fd) and newAsyncSocket*(fd) now both take "buffered" instead of "isBuff" and defaults to true to match the other constructors on both.
* | | | | | Merge pull request #2824 from yglukhov/js-ct-lambda-liftingAndreas Rumpf2015-06-051-5/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Perform lambda lifting for compile-time stuff when targeting JS.
| * | | | | Perform lambda lifting for compile-time stuff when targeting JS. Enable ↵yglukhov2015-05-291-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | unittest test.
* | | | | | stdlib: don't use deprecated symbolsAraq2015-06-043-45/+45
| | | | | |
* | | | | | lib/pure/p-t - Dropped 'T' from typespdw2015-06-0413-84/+89
| | | | | |
* | | | | | lib/pure/e-o - Dropped 'T' from typespdw2015-06-0413-185/+202
| | | | | |
* | | | | | lib/pure/a-c - Dropped 'T' from typespdw2015-06-0413-470/+477
| | | | | |
* | | | | | Merge pull request #2830 from yglukhov/logging-no-formatDominik Picheta2015-06-041-30/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | Removed formatting from logging.