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

7449 Коммитов

Автор SHA1 Сообщение Дата
aamine 3efb9e43b6 * lib/fileutils.rb (mv): should remove file after copying. [ruby-dev:28223]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-19 13:22:13 +00:00
eban 835d90b94e * 2006-01-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-18 16:20:19 +00:00
akr 77a71cf160 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARC
if enable-shared.
  (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext
  too.
  reported by Pav Lucistnik and Marius Strobl.
  http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-18 15:01:22 +00:00
eban f2367ae395 * 2006-01-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17 16:18:18 +00:00
nobu 4055d842fa * eval.c (rb_mod_method_defined): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17 15:00:25 +00:00
nobu dd677b700c * object.c (rb_mod_const_get, rb_mod_const_defined): added optional
flag to search ancestors, which is defaulted to true.
  fixed: [ruby-talk:175899]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17 14:05:49 +00:00
usa dc2732c84f * win32/setup.mak (MAKE): workaround for nmake 8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17 02:33:29 +00:00
usa 6471c4dcf4 * 2006-01-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17 02:11:52 +00:00
usa 1aada80f78 * win32/Makefile.sub: invoke .bat via shell. workaround for nmake 8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-17 02:08:33 +00:00
eban bac69d798d * 2006-01-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-16 01:37:56 +00:00
ocean d54f7b05e8 * ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):
should output complex key mark even if map's key is empty seq/map.
  [ruby-core:7129]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-16 01:29:58 +00:00
eban 44bf6c8f49 * 2006-01-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-14 06:31:24 +00:00
ocean 4678e9340a * file.c (rb_file_s_chmod): avoid warning where sizeof(int) !=
sizeof(void*).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-13 18:44:34 +00:00
eban eb24aaf576 * 2006-01-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-13 10:49:27 +00:00
ocean c9bfc9bb43 * lib/rdoc/diagram.rb:
- properly quote bare element attributes
    - terminates dangling elements (e.g. <img>, <br>, <link>, etc)
    - converts "CVS" to the more HTML-friendly acronym element
    - adds missing type attributes to style elements

  based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028]

* lib/rdoc/generators/html_generator.rb: ditto.
* lib/rdoc/generators/template/html/hefss.rb: ditto.
* lib/rdoc/generators/template/html/html.rb: ditto.
* lib/rdoc/generators/template/html/kilmer.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-13 10:27:52 +00:00
eban 016f0e0c84 * 2006-01-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-12 03:46:17 +00:00
nagai 3866e48766 * ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widget
which is constructed with TkComposite module.
  [new feature] support 'command' option which is called just before
  popping up the balloon help.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-12 02:56:11 +00:00
eban b87f44cec9 * 2006-01-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 15:57:20 +00:00
seki b468b45f7a (ERB::Compiler): add instance variable @insert_cmd to change <%='s behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 15:21:45 +00:00
akr 3428af761c bit more explanation for previous change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 11:02:36 +00:00
akr 11afa4f4d0 * gc.c (garbage_collect): mark ruby_current_node.
if an exception is raised in a finalizer called by
  rb_gc_call_finalizer_at_exit, ruby_set_current_source may use
  collected ruby_current_node and mark_source_filename may corrupt
  memory.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 10:50:17 +00:00
ocean 53cc7ba570 Sorry, commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 04:54:10 +00:00
ocean 8e4f2a50da * ext/syck/rubyext.c (syck_resolver_transfer): should be able to load
!ruby/object:Bignum syntax 1.8.3 dumped. [ruby-core:6159] (written
  by akira yamada)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 04:38:23 +00:00
ocean 12d3325346 * lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded in
ruby 1.8.3/1.8.4. [ruby-core:6115]

* lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not
  be dumped properly. [ruby-core:7047]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 03:50:28 +00:00
ocean 163224f639 * lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quoted
Symbols broken. [ruby-Bugs:2535] (written by Aaron Schrab)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 03:05:40 +00:00
eban f825f3508e * 2006-01-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 01:41:51 +00:00
akr 7d8790cdc4 * gc.c (gc_stress): renamed from always_gc and enabled by default.
(gc_stress_get): new function for GC.stress.
  (gc_stress_set): new function for GC.stress=.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09 22:32:55 +00:00
ocean ccbf4ea119 * ext/zlib/extconf.rb: zlib compiled DLL version 1.2.3 distributed by
http://www.zlib.net/ has zdll.lib. [ruby-dev:28209]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09 11:00:40 +00:00
eban 5bd9ba4d5c * 2006-01-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09 08:46:36 +00:00
ocean 65ebb02460 * win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,
(VisualC++6) so use -O2b2xg- if  $(MSC_VER) < 1400. [ruby-core:7040]

* lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder)
  [ruby-core:7075]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09 05:27:43 +00:00
akr eea27ee2ec comment FreeBSD PR number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-08 19:24:21 +00:00
akr 46043b2294 * eval.c (GCC_VERSION_BEFORE): check __INTEL_COMPILER.
Intel C++ Compiler defines __GNUC__.
  http://www.intel.com/software/products/compilers/clin/docs/ug_cpp/lin1077.htm


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-08 05:21:17 +00:00
eban 990d4c3fbe * 2006-01-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-08 04:25:14 +00:00
akr 5695c588c0 the bug was FreeBSD specific.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-08 04:14:11 +00:00
eban 94fc5c9878 * 2006-01-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-07 06:45:14 +00:00
nobu b1860ba7dc * parse.y (singleton): get rid of segfault on syntax error.
fixed: [ruby-core:07070]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-07 06:41:24 +00:00
akr 199ef57934 * eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 to
avoid BSD bug.  BSD defines FD_ISSET as just a bitmap of unsigned
  long.  So returning the value from rb_fd_isset discards upper
  32bits on LP64 environment.
  http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/91421


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-06 21:28:54 +00:00
eban 969519f164 * 2006-01-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-05 18:06:51 +00:00
akr d08d6a0d14 avoid "left-hand operand of comma expression has no effect" warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-05 17:51:00 +00:00
akr 842b4d7d9a * configure.in: don't force getcontext on IA64.
* eval.c (ruby_setjmp): add an argument for just before getcontext.
  (THREAD_SAVE_CONTEXT): call rb_thread_save_context just
  before getcontext.
  [ruby-dev:28205]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-05 17:26:23 +00:00
eban 1669ac380e * 2006-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-05 05:32:58 +00:00
ocean 69981b5348 ANSI styled
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-05 05:29:48 +00:00
eban b81154cbdf * 2006-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-03 07:21:01 +00:00
akr 7ac4e60f08 some more typos fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-03 07:14:28 +00:00
akr 238b52e1e2 fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-03 06:45:16 +00:00
eban 2b6231b940 * 2006-01-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01 06:50:37 +00:00
akr 861e7f2766 fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01 06:35:54 +00:00
akr 40e0fa4c1e * missing.h (isnan): avoid macro expantion
"extern int isinf(double);" to
  "extern int ((sizeof(double)==sizeof(float))?_Isinff(double):_Isinf(double));" on
  HP-UX.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01 06:34:48 +00:00
ocean 88a3caaafe * win32/win32.c (rb_w32_seekdir): should not segfault even if passed
the location which rb_w32_telldir didn't return. (and should change
  `bits' position) [ruby-core:7035]

* win32/dir.h: ditto. (stores `loc' instead of `bitpos')

* test/ruby/test_dir.rb: added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-01 05:49:01 +00:00
nobu a5e6541ad6 * eval.c (rb_thread_save_context): should not recycle scope object used
in a thread.  fixed: [ruby-dev:28177]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-31 13:57:36 +00:00