Jeff
13c5ce820e
Date/time parsing
2015-02-09 20:58:36 +09:00
Araq
9d9c3fe121
merged things from devel
2014-09-12 01:37:48 +02:00
Araq
63548f04b2
manual merge of #1526
2014-09-11 20:15:50 +02:00
Araq
4523b29d7a
Nimrod renamed to Nim
2014-08-28 09:59:26 +02:00
Araq
df172806ea
big rename
2014-08-28 00:24:52 +02:00
Araq
11b6958755
big rename
2014-08-27 23:42:51 +02:00
Araq
2f43fdb837
renamefest
2014-08-23 01:43:49 +02:00
def
dfba87f3ed
Make times module compile with javascript backend
2014-08-16 02:16:21 +02:00
Grzegorz Adam Hankiewicz
2353b5633e
Hyperlinks back JavaScript target.
2014-06-21 23:48:41 +02:00
Araq
e6d17e6273
made large parts of the stdlib gcsafe
2014-04-20 20:01:24 +02:00
Grzegorz Adam Hankiewicz
293f356420
Supports parsing format times without separators. Refs #740 .
2014-02-15 11:20:00 +01:00
Grzegorz Adam Hankiewicz
bd9e9acdaa
Splits token parsing case into separate proc. Refs #740 .
2014-02-15 11:02:13 +01:00
EXetoC
38e4dfc164
Export procs that are useful elsewhere.
2014-02-06 14:18:44 +01:00
Araq
73c6efdf66
'nil' as a statement is deprecated, use an empty 'discard' instead
2014-01-19 16:54:59 +01:00
Araq
b731e6ef1c
case consistency: cs:partial bootstraps on windows
2013-12-29 03:19:10 +01:00
Araq
1101a40f91
improvements for 'pretty'
2013-12-28 23:30:53 +01:00
Araq
92b8fac94a
case consistency part 4
2013-12-27 23:10:36 +01:00
Araq
2df9b442c6
case consistency part 1
2013-12-27 15:48:53 +01:00
Grzegorz Adam Hankiewicz
d037aec415
Fixes times.toSeconds to handle hours and minutes correctly.
2013-11-17 21:31:05 +01:00
Araq
83876b1b81
bugfix: rendering of typ|typ2
2013-06-27 19:57:01 +02:00
Araq
23ef565a3c
implemented large parts of the 'not nil' checking
2013-06-09 23:29:43 +02:00
Araq
2ec3e6b49e
more accurate effects for times.nim; bugfix for the JS codegen
2013-05-31 12:20:55 +02:00
Araq
56045ad7ff
bugfixes mostly JS related
2013-05-01 14:48:40 +02:00
Dominik Picheta
badf792f22
Fixed some problems with the times module, added interval tests.
2013-04-14 02:41:12 +01:00
Araq
cc4250d746
times.nim compiles on windows again
2013-04-14 02:51:22 +02:00
Simon Hafner
4deaae9830
added toSeconds and fromSeconds to times. fixes #334
2013-04-13 13:57:06 -05:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Araq
3c8a80eeb2
added gradha's improvements for the times module (issue #231 )
2013-02-22 00:48:09 +01:00
Simon Hafner
a50393af78
elif on JS instead of generic else
2013-02-15 20:28:13 -06:00
Simon Hafner
962b311727
UTC weekday in JS
2013-02-15 20:27:54 -06:00
Simon Hafner
1785c6877b
EcmaScript => JS. Fixes #330
...
No one calls it EcmaScript anymore.
2013-02-15 11:08:30 -06:00
Araq
c4b7a3e545
docs should build under doc2; unittests of times.nim compile under 32bit; small bugfix for the tester
2012-11-20 21:28:55 +01:00
Araq
ec9b1f78e1
annotated effects of modules: os, sockets, times
2012-11-18 13:34:48 +01:00
Dominik Picheta
8f3dc6ebd3
Fixes segfault in db_sqlite. Fixes problems with times.format.
2012-10-07 15:37:12 +01:00
Araq
4fbba0a65a
changed integer promotion rules; breaks bootstrapping and lots of code
2012-07-08 21:03:47 +02:00
Araq
26b64f9e4f
another bugfix
2012-06-21 19:20:45 +02:00
Dominik Picheta
41a9a941ab
Fixed math.round, added math.ceil and fixed times.format.
2012-06-04 19:24:13 +01:00
Dominik Picheta
ec39788b41
Fixed times.format handling of month numbers.
2012-05-30 23:22:09 +01:00
Dominik Picheta
2509c08d34
Marshal now works with nil strings. Timezone and tzname vars are not public any more in the times module.
2012-05-30 22:35:43 +01:00
Dominik Picheta
82a2dfd816
Fixed times.format
2012-05-27 01:06:48 +01:00
Dominik Picheta
558d0db89f
Fixed times on non-posix operating systems.
2012-05-26 20:35:56 +01:00
Dominik Picheta
25ea5c35b8
Added timezone handling and functions for adding and subtracting time to the times module. Added insert for strings to the system
...
module.
2012-05-26 01:52:43 +01:00
dom96
d6ae98a652
Fixed a bug in times and finished its docs. Added mimetypes module and added the uri module to the doc gen. Fixed a bug in the cookies module.
2012-05-13 14:38:59 +01:00
dom96
1585cafec2
Added a format function to the times module and a setCookie function to the cookies module.
2012-04-26 00:12:28 +01:00
dom96
7fde07ab29
Optimization for the times module; changed let to const.
2012-02-17 10:54:45 +00:00
dom96
6901a725d5
niminst is now able to create build files for debhelper so that .deb packages can be created. Implemented $ in the times module for TWeekDay and TMonth.
2012-02-16 22:11:00 +00:00
Araq
4f1b89c30c
year 2012 for most copyright headers
2012-01-02 23:07:35 +01:00
Zahary Karadjov
0e609d2101
New implementation for os.sameFile on Windows
...
Hard-links on Windows are now treated just as they are on POSIX.
The new implementation is faster than the previous, but still it's quite
slower than fstat (use with caution).
2011-12-07 00:53:27 +02:00
Araq
c8d270268a
bugfixes for .rod files and visual C++
2011-12-03 17:21:35 +01:00
Araq
61792dc7d6
cgen: no type canon for integral types; osproc use posix_spawn instead of fork&exec
2011-11-18 00:29:56 +01:00