Commit Graph

11210 Commits

Author SHA1 Message Date
Anatoly Galiulin
5fdd03ad4d Fixed issue #5638 (#5639) 2017-04-01 14:14:34 +02:00
Emery Hemingway
7e351fc7fa support for the Genode OS framework (#5560) 2017-03-31 23:13:06 +02:00
Araq
57246cbcec updated news to take PR #5390 into account 2017-03-31 22:14:13 +02:00
wt
c480505797 Fix wrong value range of ntohs ... (#5390) 2017-03-31 22:13:06 +02:00
Silvio
2946c7a4b9 Implementing repr for JS (#5578) 2017-03-31 22:00:48 +02:00
andri lim
2f9a698e87 attempt to fix #5632 typedesc typeRel regression (#5634) 2017-03-31 21:58:26 +02:00
andri lim
fce4b7cd62 attempt to fix #5621 #5615 generic ref object typeRel (#5633) 2017-03-31 21:58:09 +02:00
Andreas Rumpf
d7eb146d28 make pragma expression parsing use the same parser mechanism as elsewhere 2017-03-31 17:03:15 +02:00
Andreas Rumpf
98c6af780e grammar update 2017-03-31 17:02:14 +02:00
Andreas Rumpf
529609f7ed Merge remote-tracking branch 'origin/concepts-rebased' into araq 2017-03-31 16:40:21 +02:00
Andreas Rumpf
82bf1e6697 nimgrab tool: use Windows API for the download if possible 2017-03-31 16:29:28 +02:00
Zahary Karadjov
c11d7c35dd make all tests green again
properly disabling the extra diagnostics in semCompiles proved to
be too much work. I have some plans for further improving the error
messages in the future and I'll revisit this later.
2017-03-31 01:53:11 +03:00
Andreas Rumpf
0ccbc82344 Merge branch 'devel' into araq 2017-03-30 23:56:22 +02:00
Andreas Rumpf
d93749b178 allow OSX tests to fail because of travis bugs 2017-03-30 23:55:53 +02:00
Dominik Picheta
6edd100619 Merge pull request #5614 from moigagoo/fix_time_offset_in_times_js
Times: JS: Remove implicit UTC convesion.
2017-03-30 18:10:11 +02:00
Araq
30c99a8440 fixes #5628 2017-03-30 12:53:32 +02:00
Araq
2740bcddaa website update; fixes #5422 2017-03-30 12:24:11 +02:00
Zahary Karadjov
a74ad869e9 requested code review changes 2017-03-29 16:15:30 +03:00
Konstantin Molchanov
04646052ab Merge branch 'devel' into fix_time_offset_in_times_js 2017-03-29 16:54:36 +04:00
Konstantin Molchanov
0c121b38ec Tests: JS: Times: Fix text so that it works in timezones other then UTC+4.
`parse` returns TimeInfo with the local timezone, which may not be the same as the one in the original string. To compare the moments encoded in the original string and returned by `parse`, we normalize them to UTC.
2017-03-29 16:42:48 +04:00
Konstantin Molchanov
a9044117e9 Stdlib: Times: Use JS's "new Date" to convert TimeInfo to Time.
To use JS's Date creation from string, I moved the TimeInfo formatting code above the toTime proc declaration. Also, I changed the argument type for newDate from string to cstring for it to work.
2017-03-29 16:40:52 +04:00
Konstantin Molchanov
875e344be0 JS: Add yearday calculation to getLocalTime and getGMTime, so that yearday is not 0 for TimeInfo instances under JS backend. (#5616) 2017-03-29 12:36:04 +02:00
Andreas Rumpf
880a525566 another attempt to get travis green 2017-03-29 11:47:44 +02:00
Andreas Rumpf
434bdbe3ed travis already ships with nodejs 2017-03-29 10:58:17 +02:00
Andreas Rumpf
720eca5744 added a codegen note 2017-03-29 10:58:01 +02:00
Andreas Rumpf
3ffde39cf4 attempt to make travis OSX tests green and mandatory 2017-03-29 10:14:03 +02:00
Andreas Rumpf
a88a909565 fixes #5625 2017-03-29 09:05:45 +02:00
Andreas Rumpf
ba8359831a Merge branch 'devel' into araq 2017-03-29 08:43:01 +02:00
Tomas Vojtisek
27a291c09e Update threadpool.nim (#5624) 2017-03-29 08:36:10 +02:00
Eugene Kabanov
977758fe06 Fix posix.nim dirent structure to be more compatible with OSes. (#5623) 2017-03-29 08:34:07 +02:00
Eugene Kabanov
3fc75b2ca4 Fix tioselectors.nim test timeouts to be executed in appveyor more stable. (#5622) 2017-03-29 08:32:16 +02:00
Dominik Picheta
216a6cc8b3 Merge pull request #5619 from hcorion/to-https-and-beyond
Make fonts load from https rather than http
2017-03-28 22:03:10 +02:00
Andreas Rumpf
b58fbd1b48 fixes #5618 2017-03-28 20:57:34 +02:00
Zahary Karadjov
01207b6cfd restore the T1-T9 types and clarify how generic concepts work 2017-03-28 14:19:32 +03:00
Zion
04ebe7be51 Make fonts load from https rather than http 2017-03-27 23:55:51 -07:00
Zahary Karadjov
01bc5f32d6 Fix the compilation of the emmy package 2017-03-28 01:58:54 +03:00
Dominik Picheta
172a9c8e97 Implement touch event types/procs in DOM module. 2017-03-27 21:14:06 +02:00
Dominik Picheta
e0bb65e45c Fixes the order in which FutureVar and return completions are made.
This caused a pretty bad and subtle bug in the asynchttpserver.
As far as I can understand, the fact that the returned future was
being completed first meant that the underlying async procedure
could continue running and thus clean() the FutureVar
and request new data. The control then went back and the
FutureVar was completed again causing an error.
2017-03-27 21:11:48 +02:00
Konstantin Molchanov
35cdb42e02 Tests: Times: JS: Add test for timestamp persistence. 2017-03-27 22:08:43 +04:00
Konstantin Molchanov
cc9d282348 Tests: Times: JS: Local timezone assignment during Time to TimeInfo conversion. 2017-03-27 22:01:37 +04:00
Konstantin Molchanov
6a583b6d2f Merge branch 'fix_time_offset_in_times_js' into improve-times-for-js 2017-03-27 21:48:39 +04:00
Konstantin Molchanov
9a67d0c1e4 Resolve conflic. 2017-03-27 21:46:43 +04:00
Konstantin Molchanov
2351d5d314 Merge branch 'calculate_yearday_in_timeinfo_js' into fix_time_offset_in_times_js 2017-03-27 21:38:19 +04:00
Konstantin Molchanov
bf654563b1 Merge branch 'improve-times-for-js' into fix_time_offset_in_times_js 2017-03-27 21:32:25 +04:00
Konstantin Molchanov
41e83f7a34 Tests: Times: JS: Fix test. 2017-03-27 21:28:31 +04:00
Konstantin Molchanov
1a5e880f5a Tests: Times: JS: Add test for yearday attribute. 2017-03-27 21:14:02 +04:00
Andreas Rumpf
159643824b fixes #3847 (#5609) 2017-03-27 09:39:46 +02:00
Konstantin Molchanov
bef86f55ce Times: JS: Add yearday to TimeInfo.
Add yearday calculation to getLocalTime and getGMTime, so that yearday is not 0 for TimeInfo instances under JS backend.

Yearday 0 has no sense and contradicts the behaviour under C backend, where yearday is an int from 1 to 365, i.e. cannot be 0 even theoretically.
2017-03-27 00:14:48 +04:00
Konstantin Molchanov
3ebffb2a00 Times: JS: Remove implicit UTC convesion.
The conversion would produce incorrect timestamp.
2017-03-26 23:50:02 +04:00
Andreas Rumpf
d02486aa48 compiler: better error messages (#5613) 2017-03-26 20:24:06 +02:00