summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-05-19* ext/readline/readline.c: supported libedit. fixed: [ruby-core:4858]shugo
* ext/readline/extconf.rb: added new option --enable-libedit. * test/readline/test_readline.rb: added assertions for Readline::HISTORY. * lib/irb/input-method.rb: do not use Readline::HISTORY.pop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-19* 2005-05-19eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-19Merged in development from the main REXML repository.ser
* Fixed bug #34, typo in xpath_parser. * Previous fix, (include? -> includes?) was incorrect. * Added another test for encoding * Started AnyName support in RelaxNG * Added Element#Attributes#to_a, so that it does something intelligent. This was needed by XPath, for '@*' * Fixed XPath so that @* works. * Added xmlgrep to the bin/ directory. A little tool allowing you to grep for XPaths in an XML document. * Fixed a CDATA pretty-printing bug. (#39) * Fixed a buffering bug in Source.rb that affected the SAX parser This bug was related to how REXML determines the encoding of a file, and evinced itself by hanging on input when using the SAX parser. * The unit test for the previous patch. Forgot to commit it. * Minor pretty printing fix. * Applied Curt Sampson's optimization improvements * Issue #9; 3.1.3: The SAX parser was not denormalizing entity references in incoming text. All declared internal entities, as well as numeric entities, should now be denormalized. There was a related bug in that the SAX parser was actually double-encoding entities; this is also fixed. * bin/* programs should now be executable. Setting bin apps to executable * Issue 14; 3.1.3: DTD events are now all being passed by StreamParser Some of the DTD events were not being passed through by the stream parser. * #26: Element#add_element(nil) now raises an error Changed XPath searches so that if a non-Hash is passed, an error is raised Fixed a spurrious undefined method error in encoding. #29: XPath ordering bug fixed by Mark Williams. Incidentally, Mark supplied a superlative bug report, including a full unit test. Then he went ahead and fixed the bug. It doesn't get any better than this, folks. * Fixed a broken link. Thanks to Dick Davies for pointing it out. Added functions courtesy of Michael Neumann <mneumann@xxxx.de>. Example code to follow. * Added Michael's sample code. Merged the changes in from branches/xpath_V * Fixed preceding:: and following:: axis Fixed the ordering bug that Martin Fowler reported. * Uncommented some code commented for testing Applied Nobu's changes to the Encoding infrastructure, which should fix potential threading issues. * Added more tests, and the missing syncenumerator class. Fixed the inheritance bug in the pull parser that James Britt found. Indentation changes, and changed some exceptions to runtime exceptions. * Changes by Matz, mostly of indent -> indent_level, to avoid function/variable naming conflicts * Tabs -> spaces (whitespace) Note the addition of syncenumerator.rb. This is a stopgap, until I can work on the class enough to get it accepted as a replacement for the SyncEnumerator that comes with the Generator class. My version is orders of magnitude faster than the Generator SyncEnumerator, but is currently missing a couple of features of the original. Eventually, I expect this class to migrate to another part of the source tree. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-18* error.c (exc_exception): reverted to call Exception#initializenobu
directly. fixed: [ruby-dev:26177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-18* dir.c (glob_helper): check whether path is "" before callingeban
do_opendir. [ruby-dev:26183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-18* win32/win32.c (NtInitialize): fix typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-18* 2005-05-18eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-18* dir.c (glob_helper): get rid of using String. [ruby-dev:26180]nobu
* eval.c (ruby_options), win32/win32.c (NtInitialize): move argument intialization back. [ruby-dev:26180] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-17* ChangeLog: fix typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-17* 2005-05-17usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-17* win32/win32.c (unixtime_to_filetime): use localtime() instaed ofusa
gmtime() when using FileLocalTimeToFileTime(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16* process.c (proc_spawn_v): use rb_w32_aspawn on Win32.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16* parse.y (pragma_encoding): add prototype to suppress false warningnobu
by VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16* class.c (rb_class_init_copy): singleton class is disallowed to copy,nobu
from its definition. fixed: [ruby-talk:142749] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16* win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_tnobu
to get rid of redefinition warnings on mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15* win32/win32.{h,c}: define rb_{p,g,u}id_t.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15* 2005-05-16eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15* lib/pathname.rb (Pathname#unlink): use SystemCallError instead ofakr
Errno::EISDIR because EISDIR is not portable. [ruby-core:5001] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15use raise(exception) [ruby-dev:26164]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15* configure.in, ruby.h: define rb_[pgu]id_t macros instead of typedefsnobu
to get rid of types which might not be defined yet. [ruby-dev:26165] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15* lib/pathname.rb (Pathname#unlink): unlink a symlink to a directoryakr
was failed. [ruby-core:4992] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15* win32/win32.c (unixtime_to_filetime): deal with DST.nobu
[ruby-talk:141817] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14Added DL::BUILD_RUBY_PLATFORM,BUILD_RUBY_VERSION.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14* error.c (exc_exception, {exit,name_err,syserr}_initialize): callnobu
Execption#initialize. fixed: [ruby-talk:142593] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14* configure.in: Check for the availability of pid_t, gid_t and uid_t andnobu
remove AC_TYPE_UID_T. fixed: [ruby-core:04745] * defines.h: Remove pid_t typedef. * ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with the available system types. * process.c: Change instances of pid_t and gid_t to their rb_* counterparts. * ext/pty/pty.c: Change pid_t to rb_pid_t. * vms/config.h: Define HAVE_{P,G,U}ID_T to 1. * win32/Makefile.sub: Remove #define for {g,u}id_t. * win32/win32.c: Change pid_t to rb_pid_t. * wince/Makefile.sub: Remove #define for {g,u}id_t. * wince/sys/types.h: Remove definitions of {p,g,u}id_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14* 2005-05-14nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14* intern.h (ruby_pragma): prototype. [ruby-core:04881]nobu
* parse.y (parser_pragma): parse Emacsen hack. * parse.y (parser_prepare): deal with specific syntax at the top. * ruby.c (load_file): read the first line iff it started with shebang. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14restored @progressocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13* ext/extmk.rb: keep srcdir unexpanded.nobu
* lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary. fixed: [ruby-core:04932] * lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make also INSTALL_PROG and INSTALL_DATA system dependent. fixed: [ruby-core:04931] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13* eval.c (unknown_node): add volatile directive to prototype.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13* variable.c (generic_ivar_get): rb_attr_get should not warn.ocean
[ruby-dev:26010] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13add ChangeLogocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13* test/ruby/test_array.rb: add test for find_all. (based on Daniel Berger's ↵ocean
patch) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13* 2005-05-13eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13add ChangeLogocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12add tests for reading an extended fileakr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* ext/nkf/nkf-utf8/nkf.c: follow nkf 2.0.5naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* lib/rdoc/parsers/parse_c.rb: more readability for mixingocean
progress "c..." and warning message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* lib/rdoc/parsers/parse_c.rb: show parsing progress for C files.ocean
[ruby-core:4341] (based on Tilman Sauerbeck's patch) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12reverted (commit miss) [ruby-dev:26141]ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-12* version.c (ruby_show_version): flush for non-tty stdout.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11* 2005-05-12eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11* eval.c (unknown_node): ignore broken NODE to get rid of accessingnobu
possibly inaccessible address. fixed: [ruby-dev:26122] should emit more useful information like [ruby-dev:26126], though. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11* eval.c (break_jump): break should not cross functions.matz
[ruby-list:40818] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11* lib/tempfile.rb (Tempfile#unlink): fixed typo.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-11* 2005-05-11nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-10* eval.c (TMP_ALLOC): use macro NEW_NODE() to get rid of warnings onnobu
platforms which have no alloca(). fixed: [ruby-talk:141301] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-10* 2005-05-10eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-10* ext/tk/lib/tkextlib/blt/winop.rb: fix typonagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-09added a test.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e