Граф коммитов

152 Коммитов

Автор SHA1 Сообщение Дата
nobu ff7772062f date_parse.c: missing wday
* ext/date/date_parse.c (rfc2822_cb): check if wday is given, since it
  can be omitted.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-21 18:16:00 +00:00
tadf dafbdd6816 * ext/date/date_parse.c (date_zone_to_diff): [ruby-core:55831].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-09 21:24:35 +00:00
tadf c247e62808 * ext/date/date_core.c: fixed coding error [ruby-core:55337].
reported by Riley Lynch.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-06 10:33:48 +00:00
tadf 4eabe8193a * ext/date/date_core.c (d_lite_cmp, d_lite_equal): simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-04 22:18:12 +00:00
tadf 551bcc6364 * ext/date/date_core.c: fixed a bug [ruby-core:55295]. reported
by Riley Lynch.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-04 22:09:36 +00:00
zzak 3a7a773aeb * ext/socket/option.c: Document synonymous methods, by windwiny [GH-277]
* ext/stringio/stringio.c: ditto
* ext/io/wait/wait.c: ditto
* ext/gdbm/gdbm.c: ditto
* ext/dl/cfunc.c: ditto
* ext/zlib/zlib.c: ditto
* ext/win32ole/win32ole.c: ditto
* ext/dbm/dbm.c: ditto
* ext/json/generator/generator.c: ditto
* ext/date/date_core.c: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-16 03:25:50 +00:00
zzak 5d402803ee * ext/date/date_core.c: Typo in Date::MONTHNAMES by Matt Gauger
[GH fixes #261]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-20 22:35:38 +00:00
kosaki 326dd6e0cc * ext/date/date_core.c: include sys/time.h for avoiding implicit
declaration of gettimeofday().

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-16 17:40:16 +00:00
kosaki 798ff850e4 * configure.in: check struct timeval exist or not.
* include/ruby/missing.h (struct timeval): check HAVE_STRUCT_TIMEVAL
  properly. and don't include sys/time.h if struct timeval exist.

* file.c: include sys/time.h explicitly.
* random.c: ditto.
* thread_pthread.c: ditto.
* time.c: ditto.
* ext/date/date_strftime.c: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-16 05:06:47 +00:00
takano32 976a3041ef * date_core.c: clearly specify operator precedence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-12 08:05:16 +00:00
tadf 66f9135726 * ext/date/date_core.c: [ruby-core:52303]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-24 12:16:07 +00:00
tadf 8defbc442b * ext/date/date_parse.c (date__parse): revised the tight parser
(about handling of apostrophes).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-11 09:45:44 +00:00
tadf b04aa4d2cf * ext/date/date_parse.c: edited about era.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-10 09:21:41 +00:00
tadf 64bb9749af * ext/date/date_core.c: modified doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03 13:39:54 +00:00
tadf 0ae90522a6 * ext/date/date_parse.c (parse_eu): should capture apostrophe too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03 05:59:08 +00:00
tadf d55aa2bf67 * ext/date/date_parse.c (date__parse): revised the tight parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03 05:47:32 +00:00
tadf 9f773625e5 * ext/date/date_parse.c (iso8601_{ext,bas}_time): should not match
empty string.
- この行以下は無視されます --

M    ChangeLog
M    ext/date/date_parse.c
M    test/date/test_date_parse.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-28 10:16:02 +00:00
tadf b4c6d6a3a5 * ext/date/date_parse.c (date__parse): revised the tight parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-28 09:53:08 +00:00
tadf 2cbb4481bd * ext/date/date_parse.c (date__parse): uses more tight parser if
defined TIGHT_PARSER.  now inactivated; because it introduces
	  incompatibilities and it is a bit slow.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-21 09:41:25 +00:00
nobu e2220d19e1 depend: missing dependency
* ext/date/depend: all source files need ruby.h.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-05 00:26:43 +00:00
ko1 3721fb0106 * ext/date/depend: add dependency to $(ruby_headers).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-23 07:03:46 +00:00
tadf c069246931 * ext/date/date_core.c: [ruby-core:47266].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-22 10:47:05 +00:00
tadf 280681f40c * ext/date/date_core.c: [ruby-core:47226].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-22 10:42:15 +00:00
ryan ed720d5505 Fixed warning for implicit conversion from size_t to int
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-20 23:59:35 +00:00
tadf ab67ba64ca * ext/date/date_{core,strftime}.c: [ruby-core:46990].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-04 21:57:48 +00:00
tadf bd52bed97b * ext/date/date_core.c: [ruby-core:46058].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 20:56:50 +00:00
tadf c8cde4e2be * ext/date/date_core.c (d_lite_marshal_load): accepts old dump.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-07-01 20:37:38 +00:00
tadf 7cc92034be * ext/date/date_core.c: define date_sg_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-16 10:25:30 +00:00
tadf f5b033cd4e * ext/date/date_tmx.h: offset in struct tmx_funcs is now int.
* ext/date/date_strftime.c: ditto.
	* ext/date/date_core.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-16 09:49:17 +00:00
tadf 1ddb6f7059 * ext/date/date_core.c: checks whether the object is frozen or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-03 05:14:47 +00:00
tadf 83d8d057c2 * ext/date/date_strftime.c: allows %Ok and %Ol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-27 01:04:41 +00:00
tadf 6ba96bbe4e * ext/date/date_core.c: modified doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-27 00:30:33 +00:00
tadf 76547ea75f * ext/date/date_core.c: added description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-26 10:05:25 +00:00
tadf 43e8bf0c27 re-modified
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-26 09:21:21 +00:00
tadf 2199c85dd6 * ext/date/date_strftime.c: reduced the code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-26 09:16:26 +00:00
tadf 0976f31200 * time.c: modified doc.
* ext/date/date_core.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-26 09:10:42 +00:00
tadf 00fd38644d * ext/date/date_strftime.c: should also be aware of flags on
complex specifier.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-15 22:03:37 +00:00
tadf b6de661b54 trivial changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-14 21:39:25 +00:00
tadf c80308119b trivial changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-13 22:39:13 +00:00
tadf b1984f9d52 * ext/date/date_strftime.c: removed unused code and changed the style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-13 09:14:46 +00:00
tadf 2168ae602f * ext/date/date_strftime.c: refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-13 08:39:18 +00:00
tadf 16c364ade4 * ext/date/date_core.c: reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-08 21:25:34 +00:00
ayumin 965121cdc5 * ext/date/date_core.c: improving introduction in Date/DateTime doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-08 04:47:35 +00:00
tadf 3a71da5830 * ext/date/date_core.c: added some notes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-12 10:52:58 +00:00
tadf 6cb7ac7e15 * ext/date/date_strftime.c: gets the value with range() consistetly.
* ext/date/date_strftime.c (range): now just replaces the given item.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-08 23:12:30 +00:00
tadf f24d9fcd75 * ext/date/date_core.c (datetime_s_now): [ruby-core:43256].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-13 22:56:03 +00:00
tadf e3b989c768 * ext/date/date_strftime.c: reassigned some variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-03 03:21:53 +00:00
tadf 9a0cb80252 * ext/date/date_{parse,strptime}.c [ruby-dev:45303].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-03 03:14:27 +00:00
tadf f400ba1082 * ext/date/date_core.c: reverted r34825.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-28 21:17:49 +00:00
tadf 3486a98a71 * ext/date/date_core.c: [ruby-core:42998]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-28 11:28:23 +00:00