summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | | | Removed formatting from logging.yglukhov2015-05-281-30/+22
| |/ / /
* | | | Merge pull request #2849 from ozra/feature-2811-hump-snake-dashAndreas Rumpf2015-06-042-6/+36
|\ \ \ \ | | | | | | | | | | Feature #2811 hump, snake and now dash
| * | | | Restructure branching slighty. Fix error message.Oscar Campbell2015-06-011-7/+6
| | | | |
| * | | | Util funcs used by lib/hashes.nim and compiler/lexer.nimOscar Campbell2015-05-311-0/+23
| | | | |
| * | | | Implement #2811 - Unicode en-dash (U+2013) as hump/snake alt.Oscar Campbell2015-05-311-2/+10
| | |/ / | |/| |
* | | | Fix incorrect 400 reply in asynchttpserverDominik Picheta2015-06-031-0/+1
| | | | | | | | | | | | Without the ``continue`` the user's callback will be called but the client would have already been replied to.
* | | | FlowVar's ^ for refs is safe and convenient to useAraq2015-06-021-1/+7
| | | |
* | | | Documented bufSize param in logging.nimx2f2015-06-011-1/+5
| | | | | | | | | | | | | | | | | | | | Documented bufSize param in logging.nim to complete the previous change that added a bufSize parameter to file based logger constructors.
* | | | Expose bufSize parameter for file-based loggersx2f2015-05-311-5/+9
|/ / / | | | | | | | | | | | | | | | newFileLogger and newRollingFileLogger have a new bufSize parameter that is used in open(). The default value -1 has the same behavior as before. Use 0 for unbuffered output to log file.
* | | fix for https://github.com/nim-lang/Aporia/issues/69Stephan Diehl2015-05-281-1/+1
| | |
* | | terminal: doc improvmentsAraq2015-05-281-1/+7
|/ /
* | Don't inspect typedescsFlaviu Tamas2015-05-261-6/+7
| |
* | Rename optionals module to optionsFlaviu Tamas2015-05-261-0/+0
| |
* | Merge pull request #2697 from lyro/develDominik Picheta2015-05-261-1/+1
|\ \ | | | | | | logging: make fmtStr public to be used in user defined loggers
| * | logging: make fmtStr public to be used in user defined loggersFrank Fischer2015-05-111-1/+1
| |/
* | Merge pull request #2762 from flaviut/optionalsAndreas Rumpf2015-05-261-0/+160
|\ \ | | | | | | Optionals
| * | Amend optionals docstringFlaviu Tamas2015-05-261-2/+2
| | |