Miran
9bd4347abb
fix #10910 , optimize squaring and cubing ( #11291 )
2019-05-21 15:57:33 +02:00
Miran
6586516511
fix #8395 , fix #8734 : normalize os.tailDir and os.parentDir ( #11288 )
2019-05-21 15:57:20 +02:00
liuxiaodong
5e552ad3a5
getDateStr and getClockStr takes a default parameter ( #11108 )
2019-05-21 09:54:09 +02:00
Miran
dc6a4b1d43
fixes #11049 , wrong streams.readBool and streams.peekBool ( #11284 )
2019-05-20 19:39:38 +02:00
treeform
d490bc519a
Add force openSSL version with -d:sslVersion=1.0.0 ( #11272 )
2019-05-20 16:53:24 +02:00
Ștefan Talpalaru
13b3e4af8a
fixes #11275 ( #11276 )
2019-05-20 09:29:13 +02:00
Miran
a63c2a25d0
fix changing case for Unicode characters which change size ( #11271 )
...
Some Unicode characters don't have the same byte length
in their upper- and lower-case variants.
2019-05-20 09:18:47 +02:00
jiro
468599c654
db_sqlite: Update documentation ( #10330 ) ( #11266 )
2019-05-19 20:27:12 +02:00
Dominik Picheta
f1a8edc14d
Merge pull request #11263 from jrfondren/asyncstreams-fix-immediately-vs-soon
...
fix unnecessary poll() (and default 500ms delay) in some uses of async
2019-05-16 23:24:53 +01:00
Miran
9d4190a5cc
fixes #11139 (re.nim memory leak) ( #11265 )
...
Use the same PCRE function for freeing up the memory as nre.nim does.
2019-05-16 21:06:31 +02:00
Miran
8f198db2ca
fixes #10952 , UNC paths ( #11260 )
2019-05-16 21:06:04 +02:00
Julian Fondren
22b4cf192d
fix for unnecessary poll() in some uses of async
2019-05-15 19:57:45 -05:00
Araq
791abfbc16
selectors: exceptions are for errors, not for bugs
2019-05-15 18:19:17 +02:00
Dominik Picheta
d0b8724aa2
Fixes crashes when asyncdispatch.adjustTimeout returns a negative value. ( #11231 )
2019-05-15 18:15:10 +02:00
Boris Shomodjvarac
de6b2e88d2
added getSocket proc ( #11233 )
2019-05-15 17:47:25 +02:00
Ștefan Talpalaru
dfc7685420
fixes #11250 ( #11251 )
2019-05-15 08:42:30 +02:00
Dominik Picheta
6b2ed28d55
Workaround "move not found" exception in JS when using tables. ( #11256 )
2019-05-15 08:21:25 +02:00
Ștefan Talpalaru
fa3d19b477
cas(): use an "__atomic" builtin instead of the legacy "__sync" one ( #11246 )
...
"New code should always use the ‘__atomic’ builtins rather than the ‘__sync’ builtins." - https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html
2019-05-14 21:47:14 +02:00
Hitesh Jasani
0b41f26bd6
Expose api to disable autoinitializing OpenSSL. ( #11247 )
2019-05-14 17:08:52 +02:00
Andreas Rumpf
fb1c3a95a5
fixes #11124
2019-05-13 17:34:15 +02:00
Benny Elgazar
a83d609960
exposing procs ( #11218 )
2019-05-11 10:32:34 +02:00
Arne Döring
b92fd30282
rename tyExpr/tyStmt to tyUntyped/tyTyped ( #11227 )
2019-05-11 10:11:08 +02:00
Araq
95b65504e6
sequtils: minor typo
2019-05-10 19:50:23 +02:00
Ico Doornekamp
a170719d1a
repr on seq now outputs @[...] ( #11224 )
2019-05-10 16:33:42 +02:00
Araq
9aa6aa6514
make epochTime available in DLLs; refs #6855
2019-05-10 15:20:39 +02:00
Oscar Nihlgård
de5c0d3aa9
Make range checks in semConv ( #7164 )
...
* Remove NaN/Inf/NegInf magic
* Make range checks in semConv
* fix the failing line
* fix `firstOrd` and `lastOrd`
* fix `localError`
* remove debug comment
* Cleanup, fix failing test
* make tests green
2019-05-10 11:10:11 +02:00
Andreas Rumpf
aa76857462
Merge pull request #11181 from nim-lang/pending-future-tracking
...
Implements pending future tracking in async.
2019-05-08 20:37:31 +02:00
Andreas Rumpf
3b27b80069
Merge pull request #11069 from jrfondren/devel
...
(docs) fix unidecode.unidecode example input string
2019-05-08 17:56:48 +02:00
Andreas Rumpf
65b6250e59
Merge pull request #11199 from mratsim/allow-float-ranges-again
...
Reallow float ranges in random module
2019-05-08 17:49:49 +02:00
Matt Haggard
8180d443b9
Allow for locale-based parsing/formatting of dates ( #11170 )
...
* Allow for locale-based parsing/formatting of dates
* Updates based on review feedback of PR 11170
DateTimeLocale arrays are now indexed by Month and WeekDay enums.
More sane date used for testing.
Documentation newline.
Case change of DefaultLocale (and make it public)
* Add changelog entry for DateTimeLocale addition to times module
* Use pattern symbols for DateTimeLocale attribute names
2019-05-08 13:48:04 +02:00
Mamy André-Ratsimbazafy
5363b8cc59
Reallow float ranges in random module
2019-05-08 13:48:03 +02:00
Miran
a5fb0acf5f
CountTable: check for usages after sorting ( #11189 )
2019-05-08 09:31:57 +02:00
Zestyr
a06038be3f
Update outdated ETimeout exception name
2019-05-07 01:28:33 +02:00
Araq
a85d387928
fixes #10978
2019-05-06 21:42:49 +02:00
Oscar Nihlgård
4c6fc173b7
low/high for float ranges ( #11177 )
2019-05-06 21:19:40 +02:00
Dominik Picheta
abe634aefe
Implements pending future tracking in async.
2019-05-06 17:18:30 +01:00
Araq
a60305fbf3
fixes macros.quote documentation; doubling of the escape operator never worked!
2019-05-05 12:20:43 +02:00
Miran
ce152ed91f
iterators: several small fixes ( #11162 )
...
* fix pairs, mpairs, mitems for cstring for JS backend
* add mutation check for pairs and mpairs for strings and seqs
* change the assertion message - modifying (changing elements) is not
a problem, changing the length is
2019-05-04 23:02:50 +02:00
Miran
d2e1936cf2
tables: check for mutation when iterating ( #11160 )
2019-05-04 22:58:42 +02:00
Arne Döring
9c3e23e075
Fix ..< iterator ( #11103 )
...
* add iterator overloads
* add test
2019-05-03 23:43:41 +02:00
Andreas Rumpf
e1515b53d1
introduce temporary <//> for 'owned' to get this compile with 0.19 ( #11145 )
...
* introduce temporary <//> for 'owned' to get this compile with 0.19
* make newTable[string, owned Node]() compile (but it crashes)
* make sink/owned parameters consistent
* make actiontable test compile again
* VM: support sytem.move; makes tests green
2019-05-02 08:07:09 +02:00
genotrance
c94ab46923
Fix ospaths import error ( #11150 )
2019-05-01 08:54:02 +02:00
Jasper Jenkins
3d0190f470
Fix unexpected result of rand on a range, fixes #11015 ( #11035 )
2019-04-30 09:28:28 +02:00
Araq
0a84b8fb4d
added system.unown to make 'owned' sane to use in practice; later on we might change the type inference rules to make it more convenient
2019-04-29 13:36:00 +02:00
jiro
ddc86d1b4b
streams: Update documentation, refs #10330 ( #11059 )
2019-04-29 11:32:02 +02:00
Miran
737fff5902
Initialized collections ( #11094 )
...
* tables: initialized by default
* sets: initialized by default
* DRY: extract shared functionality
* add a changelog entry
* fix errors
* don't test include files
* make it work for sharedtables
* fix discovered bugs
* add exhaustive tests
2019-04-29 08:13:52 +02:00
cooldome
3647c03cad
reimplement_pr_10974 ( #11130 )
2019-04-27 12:41:08 +01:00
Lolo Iccl
69755542f4
add progmas to params of macros.newProc ( #11025 )
...
Merging
2019-04-27 12:22:02 +01:00
Araq
8e27bddb97
newruntime: make 'discard new RootObj' work
2019-04-26 20:33:58 +02:00
Araq
1f7615ad9d
make seq.add more effective for --newruntime
2019-04-25 13:54:25 +02:00