| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
* fix hasCustomPragma/getCustomPragmaVal for types without pragma
* fix pragma on pointer test
* removed trailing spaces
|
| |
|
| |
|
| |
|
|
|
| |
Setting the option to true, then to false would not turn off bright attribute.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* remove php
* fix
* keep nimphpext
* remove targetJS enum
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
* Add tests for none[T]
* this test shouldn't work anyway
|
|
|
| |
Calling close() in some cases issued two close() syscalls to one FD, which is incorrect in multithreaded programs.
|
|
|
|
|
|
|
|
| |
* Fixes #7595
* Add brackets
* Fix for treeRepr and lispRepr too
|
|
|
|
| |
@Araq @krux02
https://github.com/nim-lang/Nim/pull/7598 seemed inaccurate eg for NLineInfo there's `mNLineInfo` but no opcNLineInfo
|
| |
|
|
|
|
|
|
| |
* Add autovivification example
* Update json.nim
|
|
|
|
|
|
| |
* TimeInterval optimization
* Fix typo in `$`(Duration)
|
|
|
|
|
|
| |
* Strutils comment changes.
* fix typo
|
| |
|
| |
|
|
|
|
|
| |
* rename SomeReal to SomeFloat
* added changelog entry
|
| |
|
|
|
|
|
|
|
|
| |
* add example to docs for getTypeInst and getTypeImpl
* made examples use runnableExamples
* changed assert to doAssert
|
|
|
|
|
| |
- 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)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
issue #7314) (#7327)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|\
| |
| | |
Fix some usages of typedesc in async procs
|
| |
| |
| |
| |
| | |
This also fixes a compilation error in modules, based only on the
new async module (i.e. not importing the full asyncdispatch)
|
|/
|
|
|
|
| |
* added comment to macros
* Update macros.nim
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add deprecation warnings to recently deprecated procs
* Fix bad usage of the times module
* Introduce sub second resolution
* Fix usage of C's time()
* Switch to nanosecond resolution
* Make Time & Duration opaque again and fix some errors
* Change back to TimeInterval for shorthands
* Fix JS test
* Fix build error for windows
* Undeprecate epochTime
* Documentation and minor changes
* Lots of bugfixes and doc comments
* Attempt to make travis & appveyor green
* Fix edge cases for dealing with the local timezone
* Workaround JS backend overflow/underflow bug
* Use better workaround for not knowing the size of time_t
* Use all available timezones for tests
* Fix indentation
* Add procs for accessing the fractional part of a duration
* Order time units from smallest to largest since it makes more sense
* Include months and years in `TimeUnit`
* Review fix
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add column number to instantiation info
Instantiation info left out column number for no good reason. This adds
it in as the third element of the tuple.
* Fix test that failed and added change to changelog
An assertion test failed because it was declaring a type that was
expected to be populated by instantiationInfo with the old signature.
Also added the changes to the changelog as it is a breaking change.
|
|
|
|
|
|
|
| |
We accept a new environment variable, NIMTEST_COLOR,
which override the effect of NIMTEST_NO_COLOR.
The environment variable, NIMTEST_COLOR, can be 'never'
or 'always', which set the color output to false or true,
respectively.
|
| |
|
|
|
|
| |
allocation (#7564)
|
| |
|
|
|
|
|
|
| |
* fix deprecation warnings in asyncmacro and htmlgen
* removed todo
|
| |
|
| |
|
| |
|
| |
|