1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

21449 commits

Author SHA1 Message Date
tadf
4ffe7a1734 modified some descriptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-23 14:28:55 +00:00
nobu
16cb5ce483 * win32/win32.c (wlink, rb_w32_getppid): use typedef instead of
repeating compilcated function prototypes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-23 12:59:50 +00:00
nobu
3c575a15c2 * vm.c (rb_thread_mark): should mark self in conrol
frames.  [ruby-core:33289]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-23 09:54:07 +00:00
tadf
b828fb85dd * lib/date/delta/parser.{ry,rb}: fixed a bug of token scanner.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 22:59:48 +00:00
tadf
bacd547858 added some tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 22:32:57 +00:00
tadf
1d8ca7a237 * complex.c, rational.c ({nucomp,nurat}_expt): added a check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 22:31:55 +00:00
tadf
6e9ca64843 added some tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 22:28:53 +00:00
tadf
ed5c01b9a3 * lib/date.rb (daynum): should be private.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 22:28:01 +00:00
nobu
04608d226c * ChangeLog (change-log-indent-text): hunging indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 22:23:04 +00:00
nobu
66d4bdd114 * configure.in (SITE_DIR, VENDOR_DIR),
version.c (ruby_initial_load_paths): exclude directories that
  are configured without them from $LOAD_PATH. [ruby-core:33267]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 21:30:54 +00:00
nobu
a97c07fb2e * configure.in (rubylibprefix): No ruby, No libprefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 21:30:22 +00:00
nobu
74217f0422 * ChangeLog (change-log-indent-text): hunging indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 21:26:28 +00:00
svn
c3b9133e01 * 2010-11-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 16:06:39 +00:00
naruse
18c0fc890c * vsnprintf.c (BSD_vfprintf): don't output floating point
when the precision is 0. [ruby-dev:42615]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 16:06:38 +00:00
nobu
94e6c0c233 * string.c (rb_str_inspect): fix for ascii-compatible external
encoding and different encoding string.  [ruby-core:33283]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 12:30:58 +00:00
naruse
5d8a64b1af Add missing tables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 11:35:55 +00:00
nobu
42e17a0b3f * lib/mkmf.rb (create_makefile): should not duplicate rules.
bug fix of r29842.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 09:45:46 +00:00
naruse
60dfa6b655 * enc/big5.c: split CP950 from Big5.
* enc/big5.c: split CP951 from Big5-HKSCS.

* enc/trans/big5.trans: import conversion table of Big5, Big5-HKSCS,
  CP950, and CP951 from ICU. they need fallback conversions.
  ref [ruby-core:33256]
  http://source.icu-project.org/repos/icu/data/trunk/charset/data/ucm/

* tool/transcode-tblgen.rb (import_ucm): add to import ucm files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 09:35:08 +00:00
nobu
6ade3a4291 * string.c (rb_str_inspect): append for each chars instead of bulk
copy if encoding conversion is needed.  [ruby-core:33283]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 09:33:32 +00:00
naruse
456f3980b2 Fix r29848's test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 05:28:22 +00:00
naruse
33356ff75b * time.c (time_zone): use rb_locale_str_new_cstr to set encoding
as locale and convert its content to internal encoding.
  [ruby-core:33278]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 05:25:15 +00:00
naruse
3002e5e1f9 * string.c (rb_str_concat): set ENC_CODERANGE_VALID when the
receiver is 7BIT and the argument is non ASCII.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22 03:01:45 +00:00
svn
d9615bf9c5 * 2010-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-21 16:51:13 +00:00
tadf
c70988cbe9 * lib/date.rb: some improvements for performance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-21 16:51:12 +00:00
svn
bbbf9998c7 * 2010-11-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-20 19:38:44 +00:00
naruse
1346b84c19 NTFS's ctime is creation time! [ruby-core:33269]
Note that UFS2, HFS+, ZFS, and ext4 also have birth time.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-20 19:38:42 +00:00
nobu
99aaee351e * random.c (random_rand): get rid of overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-20 03:04:59 +00:00
tenderlove
c62c8f725d * lib/mkmf.rb: adding compilation support for ObjC/ObjC++ extensions.
Thanks Scott Gonyea! [ruby-core:33260]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 22:47:20 +00:00
svn
460d4c4925 * 2010-11-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 17:05:40 +00:00
arton
e2501757f6 add dependency(insns.inc) to compile.obj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 17:05:39 +00:00
nobu
e7fbb33c91 * win32/Makefile.sub (insns_rules.mk): remove extra backslash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 14:05:50 +00:00
nobu
d468660c9a * ChangeLog: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 13:58:13 +00:00
nobu
83e274d46d * cygwin/GNUmakefile.in, win32/Makefile.sub (clean): rc files are
made at compile time, so should be removed by clean.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 13:44:06 +00:00
nobu
8565b62aef * ChangeLog: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 13:43:14 +00:00
kou
54142064c4 * test/rexml/test_core.rb
(Tester#test_pretty_format_long_text_finite): skip a test that
  uses long string on small memory system. [ruby-dev:42599]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 13:11:20 +00:00
nobu
91c0ff4f7d * lib/optparse.rb: shell completion support for zsh. based on
<http://d.hatena.ne.jp/rubikitch/20071002/zshcomplete>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 12:07:09 +00:00
nobu
67f3280cfe * lib/optparse.rb: shell completion support for bash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 11:26:57 +00:00
nobu
644f0445e8 * lib/optparse.rb: shell completion support for bash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 11:26:54 +00:00
naruse
3c1f696a50 Remove a test for reverted feature r26701.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 05:11:37 +00:00
svn
ad64b9669f * 2010-11-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-18 15:00:05 +00:00
nobu
d05029240e * cygwin/GNUmakefile.in (SCRIPTPROGRAMS): no needs on cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-18 15:00:03 +00:00
nobu
7ae23d32c2 * win32/Makefile.sub (scriptbin): create script binaries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-18 14:56:34 +00:00
kou
6fcd0b37b3 * lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):
REXML::Formatters::Pretty#wrap used a recursive method call to
  format text.  This switches it to use an iterative approach.
  [ruby-core:33245]
  Patch by Jeremy Evans. Thanks!!!

* test/rexml/test_core.rb: add a test for it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-18 14:25:03 +00:00
nobu
c6e4767068 * include/ruby/io.h (rb_io_buffer_t): extract from rb_io_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-18 13:58:47 +00:00
nobu
9be87b1eb6 * Makefile.in (reconfig): force reconfigure with previous options.
* common.mk (showconfig): show configure flags, like as
  `config.status --config' generated by recent autoconf.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 22:37:48 +00:00
nobu
d646c540b7 * missing/langinfo.c (strncasecmp): get rid of redefinition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 22:16:53 +00:00
svn
ef3d9fb408 * 2010-11-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 15:03:26 +00:00
jeg2
b028e8d45d * lib/csv.rb: Upgrading output encoding with ASCII content
as needed.  [ruby-core:33229]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 15:03:25 +00:00
nobu
7afe174b9e * win32/configure.bat: remove quotes from arguments to be quoted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 14:19:24 +00:00
nobu
4fc08fd17d * lib/mkmf.rb (create_makefile): use forward slashes in messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 14:17:26 +00:00