summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* system.nim documentation: setLen can handle nil nowAndreas Rumpf2018-04-281-4/+2
|
* system.nim: minor code cleanupAndreas Rumpf2018-04-281-4/+1
|
* nil in string concats does not produce crashes anymoreAndreas Rumpf2018-04-271-11/+16
|
* setLen doesn't crash on nil strings/seqs anymoreAndreas Rumpf2018-04-271-2/+9
|
* 'add' on a nil sequence doesn't produce a crash anymoreAndreas Rumpf2018-04-271-0/+12
|
* fix #7680 (#7683)hlaaf2018-04-261-3/+6
| | | | | | | | | | * fix #7680 * Don't send on every HTTP method * These should be squashed * 80 column limit
* Merge pull request #7692 from teroz/patch-1Dominik Picheta2018-04-251-4/+4
|\ | | | | tiny typo
| * Improve deprecation messages in json docs.Dominik Picheta2018-04-251-4/+4
| |
| * tiny typoTerence Namusonge2018-04-251-1/+1
| |
* | Improve progress reporting example. Refs #7693Dominik Picheta2018-04-251-3/+8
| |
* | copy pastable progress reporting exampleDavid Krause2018-04-251-1/+2
|/
* Rename `Time.nanoseconds` to `nanosecond` (#7673)Oscar Nihlgård2018-04-252-31/+31
| | | | | | * Rename `Time.nanoseconds` to `nanosecond` * Fix bug with Duration comparision
* Consts in fenv (#7688)cooldome2018-04-251-23/+32
| | | | | | | | | | * Fixes #7574 * better comments * Changes vars to consts for side effect tracking * Revert unintended changes
* xmltree: remove usage of deprecated callsite()Andreas Rumpf2018-04-241-6/+3
|
* Don't escape multibyte characters (#7570)Oscar Nihlgård2018-04-232-12/+47
|
* remove dead code elimination option (#7669)Jacek Sieka2018-04-2328-35/+33
|
* fixes #7637; assignments are not allowed to slice object; minor breaking changeAndreas Rumpf2018-04-211-2/+8
|
* Add `fromWinTime` and deprecate `unixTimeToWinTime`/`winTimeToUnixTime` (#7641)Oscar Nihlgård2018-04-192-21/+32
|
* hasCustomPragma/getCustomPragmaVal: small fix (#7650)RSDuck2018-04-191-1/+5
| | | | | | | | * fix hasCustomPragma/getCustomPragmaVal for types without pragma * fix pragma on pointer test * removed trailing spaces
* fixes #7638; awaitAny blocks if the flow vars all have been complete alreadyAndreas Rumpf2018-04-191-7/+17
|
* threadpool: minor documentation improvementAndreas Rumpf2018-04-191-1/+1
|
* fixes #7507Araq2018-04-191-3/+11
|
* Fix bright option (#7622)WhiteDuke2018-04-181-4/+4
| | | Setting the option to true, then to false would not turn off bright attribute.
* fixes system.doAssertRaisesAraq2018-04-181-4/+5
|
* Change type of `Timeval.tv_sec` to `posix.Time` (#7646)Oscar Nihlgård2018-04-188-15/+27
|
* Remove PHP backend. (#7606)treeform2018-04-182-335/+173
| | | | | | | | | | * remove php * fix * keep nimphpext * remove targetJS enum
* allow stringification of DurationZero (#7625)skilchen2018-04-181-1/+3
|
* os.setLastModificationTime*(file: string, t: times.Time) (#7543)Hendrik2018-04-163-6/+35
| | | | | | | | | | | | | * add proc toFILETIME to winlean * add proc toWinTime to times * add proc setFileTime to winlean * openHandle with write access * add proc setLastModificationTime to os * moved epochDiff,rateDiff constants and proc toWinTime The constants were moved out of the when defined(JS) block so that they are alsways available in proc toWinTime. proc toWinTime was moved above the # Deprecated procs comment. Best new location seemed to be with the toUnix proc.
* Add none[T]() as alias to none(T) (#7512)hlaaf2018-04-161-0/+8
| | | | | | | | * Add none[T]() as alias to none(T) * Add tests for none[T] * this test shouldn't work anyway
* osproc: fix double close on POSIX (#5724)Michał Zieliński2018-04-161-6/+14
| | | Calling close() in some cases issued two close() syscalls to one FD, which is incorrect in multithreaded programs.
* Fixes #7595 (#7623)Dmitry Atamanov2018-04-161-7/+6
| | | | | | | | * Fixes #7595 * Add brackets * Fix for treeRepr and lispRepr too
* update macros.nim: followup on pull #7598 (#7619)Timothee Cour2018-04-161-5/+2
| | | | @Araq @krux02 https://github.com/nim-lang/Nim/pull/7598 seemed inaccurate eg for NLineInfo there's `mNLineInfo` but no opcNLineInfo
* Fix docs in json module after #7537Dominik Picheta2018-04-151-1/+3
|
* Add autovivification example (#7537)Federico Ceratto2018-04-161-0/+5
| | | | | | * Add autovivification example * Update json.nim
* Timeinterval optimization (#7608)Oscar Nihlgård2018-04-161-12/+37
| | | | | | * TimeInterval optimization * Fix typo in `$`(Duration)
* move eqIdent to vm.nim (#7585)Arne Döring2018-04-153-39/+61
| | | | | | * Strutils comment changes. * fix typo
* docutils: no Babel fileAndreas Rumpf2018-04-152-6/+5
|
* docutils: make ':test:' work without argumentAndreas Rumpf2018-04-151-3/+6
|
* rename SomeReal to SomeFloat (#7617)Arne Döring2018-04-154-28/+30
| | | | | * rename SomeReal to SomeFloat * added changelog entry
* Fix cmpStrings in js mode (#7604)treeform2018-04-151-2/+2
|
* add example to docs for getTypeInst and getTypeImpl (#7206)jcosborn2018-04-151-9/+45
| | | | | | | | * add example to docs for getTypeInst and getTypeImpl * made examples use runnableExamples * changed assert to doAssert
* Nim namespace for cpp (#7453)AdrianV2018-04-152-3/+12
| | | | | - new option --usenamespace to generate nim cpp code in its own namespace Nim - minor changes for compatibility with the new Embarcadero = Borland C++-Builder (bcc)
* implements first version of for-loop macrosAndreas Rumpf2018-04-151-0/+5
|
* explicit effects for existsOrCreateDirAndreas Rumpf2018-04-141-1/+2
|
* fixes #7451 (#7575)RSDuck2018-04-141-20/+65
|
* remove deprecated timeToTimeInfo; fixes #3678Andreas Rumpf2018-04-141-49/+12
|
* make JS tests green againAndreas Rumpf2018-04-141-4/+4
|
* fixes #6205Andreas Rumpf2018-04-141-19/+19
|
* make nativesockets.Hostent.addrlist readable for ipv4 af_inet addresses (see ↵skilchen2018-04-131-2/+18
| | | | issue #7314) (#7327)
* Support code hot reloading for JavaScript projects (#7362)zah2018-04-133-6/+133
| | | | | | | | | | | | | | | | | | | | | | * Support code hot reloading for JavaScript projects * Add some missing JavaScript symbols and APIs * fix the Travis build * (review changes) remove the js type from the standard library as it doesn't follow NEP-1 * more additions to the DOM module * Follow NEP-1 in jsffi; spell 'hot code reloading' correctly * introduce a jscore module * Document jscore module. * readded js type * Remove the '$' operator that doesn't behave