tadf
2b6ab9bf1e
* ext/date/date_{core,strftime}.c: use struct tmx instead of vtm.
...
* ext/date/date_tmx.h: new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16 15:22:47 +00:00
tadf
531dfb40e0
typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16 13:43:15 +00:00
tadf
10ce57ea8d
* ext/date/date_strftime.c (date_strftime_wo_timespec): changed
...
the way of validation of locale modifiers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16 13:26:15 +00:00
tadf
ec01a8813f
* ext/date/date_core.c: replacement of implementation of
...
_strptime. [experimental]
* ext/date/date_strptime.c: new.
* ext/date/lib/date/format.rb: removed ruby version of _strptime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-16 12:58:28 +00:00
nobu
3e2a0184d0
* ext/date: use timev.h in toplevel.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-30 13:48:32 +00:00
naruse
09a4ae1bbc
* ext/date/date_core.c (date_s_today): use int for year.
...
* ext/date/date_core.c (datetime_s_now): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28 02:41:31 +00:00
tadf
ea490ced11
* ext/date/date_core.c: removed unused variables.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-27 02:20:17 +00:00
naruse
4d09e8cd19
* ext/date/lib/date/format.rb (DateTime#strftime): removed because
...
date_core defines it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25 20:29:55 +00:00
naruse
700b778cbb
time(3)'s argument and return value is time_t.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25 20:29:53 +00:00
tadf
e358888d5e
* ext/date/date_core.c: should not force cast with macros.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-25 13:01:06 +00:00
naruse
f9819d0374
* ext/date/date_strftime.c (date_strftime_wo_timespec):
...
surpress warning: shorten-64-to-32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-21 21:49:00 +00:00
naruse
c85be42589
* lib/test/unit/parallel.rb: remove unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-21 21:42:23 +00:00
tadf
d9dd52acbf
* ext/date/date_strftime.c: checks duplicated modifiers.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-20 14:11:16 +00:00
tadf
7adef00759
* ext/date/date_strftime.c: removed unused code and arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-20 13:49:27 +00:00
tadf
e48047fe0c
* ext/date/date_strftime.c: removed unused code and arguments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-20 13:34:44 +00:00
tadf
434157444f
* ext/date/date_core.c: replacement of implementation of
...
strftime. It has some limitations that is same as Time's
one. [experimental]
* ext/date/date_strftime.c: new.
* ext/date/lib/date/format.c: removed ruby version of strftime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-20 12:44:47 +00:00
tadf
ec40f71690
* ext/date/date_core.c ({d,dt}_lite_marshal_load): checks the given argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 17:28:44 +00:00
tadf
af7a09a687
* ext/date/date_core.c: changed some directives.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 16:27:25 +00:00
tadf
e26e4b2cdf
* ext/date/date_core.c, ext/date/lib/*: moved rdoc descriptions.
...
- この行以下は無視されます --
M ChangeLog
M ext/date/date_core.c
M ext/date/lib/date.rb
M ext/date/lib/date/format.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 16:21:56 +00:00
tadf
f809440332
* ext/date/lib: moved from lib.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-11 15:07:47 +00:00
nobu
35c9d383a9
fix of ext/date/date_core.
...
* ext/date/date_core.c (DateTimeData): should not use bare 'long long'
and 'long double', which are not defined by C89.
* ext/date/date_core.c (dt_lite_plus): get rid of overflow at casting
down double to integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-06 23:38:31 +00:00
usa
5d881f0fd4
* ext/date/date_core.c (datetime_s_now): localtime() and localtime_r()
...
required time_t pointer as 1st parameter, and tv_sec member of struct
timeval is long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-28 03:28:24 +00:00
nobu
fe060e0e5c
* ext/date/date_core.c: adjust indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-26 14:35:30 +00:00
tadf
fdf361189c
* lib/date.rb: [Feature #4257 ]
...
* ext/date/extconf.rb: new
* ext/date/date_core.c: new
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-26 08:10:03 +00:00