summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | Remove Oleah Prypin as authorFlaviu Tamas2015-05-241-2/+0
| | | | | | | | | | | | Done on request, see https://github.com/Araq/Nim/pull/2762#issuecomment-105071496
| * | Use custom exception for option unpackFlaviu Tamas2015-05-191-5/+6
| | |
| * | Simplify optionals testsFlaviu Tamas2015-05-191-47/+42
| | |
| * | Simplify optionals moduleFlaviu Tamas2015-05-191-156/+60
| | |
| * | Implement optionals moduleOleh Prypin2015-05-191-0/+262
| | |
* | | Merge pull request #2795 from rgv151/patch-1Andreas Rumpf2015-05-261-2/+1
|\ \ \ | | | | | | | | Remove dead code in findAll proc
| * | | Remove dead code in findAll procBruce Doan2015-05-261-2/+1
| | | |
* | | | Fix guard for streams testsFlaviu Tamas2015-05-251-1/+1
| | | |
* | | | Clean up JSON testsFlaviu Tamas2015-05-251-25/+4
| | | |
* | | | Fix peekLine() for streamsSergey Avseyev2015-05-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation ---------- peekLine procs use defer to reset position in the stream, but it also make them always return nil. Modification ------------ Explicitly set result value in peekLine, and write missing unit test. Result ------ Tests are green and bug is fixed
* | | | Remove trailing spacesSergey Avseyev2015-05-251-47/+47
|/ / /
* | | Merge pull request #2543 from apense/patch-1Andreas Rumpf2015-05-251-1/+98
|\ \ \ | | | | | | | | Added peeking procedures to streams
| * | | Added defer statementapense2015-05-241-1/+1
| | | | | | | | | | | | All peeks should be covered by defer now, I think
| * | | Rewrote some peeking proceduresapense2015-05-211-27/+4
| | | | | | | | | | | | Use `defer`s and `read...` procs that are already in place. Someone should check that the `defer`s are written correctly. I'm new to using them.
| * | | Update streams.nimapense2015-05-041-0/+10
| | | |