diff options
-rw-r--r-- | COPYING | 358 | ||||
-rw-r--r-- | ChangeLog | 2354 | ||||
-rw-r--r-- | MANIFEST | 64 | ||||
-rw-r--r-- | Makefile.in | 102 | ||||
-rw-r--r-- | README | 42 | ||||
-rw-r--r-- | README.EXT | 499 | ||||
-rw-r--r-- | README.EXT.jp | 1147 | ||||
-rw-r--r-- | README.jp | 38 | ||||
-rw-r--r-- | ToDo | 41 | ||||
-rw-r--r-- | array.c | 1037 | ||||
-rw-r--r-- | bignum.c | 568 | ||||
-rw-r--r-- | class.c | 268 | ||||
-rw-r--r-- | compar.c | 48 | ||||
-rw-r--r-- | config.guess | 485 | ||||
-rw-r--r-- | config.sub | 156 | ||||
-rw-r--r-- | config_h.dj | 64 | ||||
-rw-r--r-- | config_s.dj | 51 | ||||
-rw-r--r-- | configure | 1325 | ||||
-rw-r--r-- | configure.bat | 3 | ||||
-rw-r--r-- | configure.in | 249 | ||||
-rw-r--r-- | defines.h | 24 | ||||
-rw-r--r-- | dir.c | 155 | ||||
-rw-r--r-- | dln.c | 298 | ||||
-rw-r--r-- | dln.h | 14 | ||||
-rw-r--r-- | enum.c | 141 | ||||
-rw-r--r-- | env.h | 11 | ||||
-rw-r--r-- | error.c | 656 | ||||
-rw-r--r-- | eval.c | 4790 | ||||
-rw-r--r-- | ext/Setup | 1 | ||||
-rw-r--r-- | ext/Win32API/MANIFEST | 7 | ||||
-rw-r--r-- | ext/Win32API/Win32API.c | 223 | ||||
-rw-r--r-- | ext/Win32API/extconf.rb | 7 | ||||
-rw-r--r-- | ext/Win32API/getch.rb | 5 | ||||
-rw-r--r-- | ext/Win32API/point.rb | 18 | ||||
-rw-r--r-- | ext/aix_ld.rb | 2 | ||||
-rw-r--r-- | ext/curses/curses.c | 107 | ||||
-rw-r--r-- | ext/curses/extconf.rb | 5 | ||||
-rw-r--r-- | ext/curses/hello.rb | 4 | ||||
-rw-r--r-- | ext/curses/view.rb | 1 | ||||
-rw-r--r-- | ext/cygwin32_ld.rb | 90 | ||||
-rw-r--r-- | ext/dbm/dbm.c | 175 | ||||
-rw-r--r-- | ext/dbm/extconf.rb | 6 | ||||
-rw-r--r-- | ext/etc/etc.c | 91 | ||||
-rw-r--r-- | ext/etc/extconf.rb | 24 | ||||
-rw-r--r-- | ext/extmk.rb.in | 235 | ||||
-rw-r--r-- | ext/extmk.rb.nt | 6 | ||||
-rw-r--r-- | ext/fcntl/fcntl.c | 2 | ||||
-rw-r--r-- | ext/kconv/kconv.c | 89 | ||||
-rw-r--r-- | ext/md5/md5init.c | 14 | ||||
-rw-r--r-- | ext/socket/depend | 2 | ||||
-rw-r--r-- | ext/socket/extconf.rb | 12 | ||||
-rw-r--r-- | ext/socket/socket.c | 829 | ||||
-rw-r--r-- | ext/tcltklib/extconf.rb | 114 | ||||
-rw-r--r-- | ext/tcltklib/lib/tcltk.rb | 287 | ||||
-rw-r--r-- | ext/tcltklib/tcltklib.c | 293 | ||||
-rw-r--r-- | ext/tk/MANIFEST | 25 | ||||
-rw-r--r-- | ext/tk/depend | 1 | ||||
-rw-r--r-- | ext/tk/extconf.rb | 2 | ||||
-rw-r--r-- | ext/tk/lib/tk.rb | 2499 | ||||
-rw-r--r-- | ext/tk/lib/tkafter.rb | 296 | ||||
-rw-r--r-- | ext/tk/lib/tkbgerror.rb | 17 | ||||
-rw-r--r-- | ext/tk/lib/tkcanvas.rb | 829 | ||||
-rw-r--r-- | ext/tk/lib/tkclass.rb | 38 | ||||
-rw-r--r-- | ext/tk/lib/tkdialog.rb | 141 | ||||
-rw-r--r-- | ext/tk/lib/tkentry.rb | 73 | ||||
-rw-r--r-- | ext/tk/lib/tkfont.rb | 944 | ||||
-rw-r--r-- | ext/tk/lib/tkmenubar.rb | 137 | ||||
-rw-r--r-- | ext/tk/lib/tkmngfocus.rb | 27 | ||||
-rw-r--r-- | ext/tk/lib/tkpalette.rb | 48 | ||||
-rw-r--r-- | ext/tk/lib/tkscrollbox.rb | 27 | ||||
-rw-r--r-- | ext/tk/lib/tktext.rb | 797 | ||||
-rw-r--r-- | ext/tk/lib/tkvirtevent.rb | 66 | ||||
-rw-r--r-- | ext/tk/sample/tkbiff.rb | 149 | ||||
-rw-r--r-- | ext/tk/sample/tkbrowse.rb | 79 | ||||
-rw-r--r-- | ext/tk/sample/tkdialog.rb | 62 | ||||
-rw-r--r-- | ext/tk/sample/tkfrom.rb | 132 | ||||
-rw-r--r-- | ext/tk/sample/tkhello.rb | 10 | ||||
-rw-r--r-- | ext/tk/sample/tkline.rb | 45 | ||||
-rw-r--r-- | ext/tk/sample/tktimer.rb | 50 | ||||
-rw-r--r-- | ext/tk/tkutil.c | 45 | ||||
-rw-r--r-- | file.c | 905 | ||||
-rw-r--r-- | fnmatch.c | 83 | ||||
-rw-r--r-- | gc.c | 496 | ||||
-rw-r--r-- | glob.c | 119 | ||||
-rw-r--r-- | hash.c | 921 | ||||
-rw-r--r-- | inits.c | 10 | ||||
-rw-r--r-- | instruby.rb | 54 | ||||
-rw-r--r-- | intern.h | 484 | ||||
-rw-r--r-- | io.c | 1562 | ||||
-rw-r--r-- | keywords | 2 | ||||
-rw-r--r-- | lex.c | 44 | ||||
-rw-r--r-- | lib/Env.rb | 31 | ||||
-rw-r--r-- | lib/README | 61 | ||||
-rw-r--r-- | lib/base64.rb | 45 | ||||
-rw-r--r-- | lib/cgi-lib.rb | 39 | ||||
-rw-r--r-- | lib/complex.rb | 14 | ||||
-rw-r--r-- | lib/date.rb | 91 | ||||
-rw-r--r-- | lib/date2.rb | 219 | ||||
-rw-r--r-- | lib/debug.rb | 12 | ||||
-rw-r--r-- | lib/delegate.rb | 100 | ||||
-rw-r--r-- | lib/e2mmap.rb | 77 | ||||
-rw-r--r-- | lib/eregex.rb | 11 | ||||
-rw-r--r-- | lib/final.rb | 41 | ||||
-rw-r--r-- | lib/finalize.rb | 66 | ||||
-rw-r--r-- | lib/find.rb | 4 | ||||
-rw-r--r-- | lib/ftools.rb | 31 | ||||
-rw-r--r-- | lib/ftplib.rb | 1123 | ||||
-rw-r--r-- | lib/getoptlong.rb | 473 | ||||
-rw-r--r-- | lib/getopts.rb | 3 | ||||
-rw-r--r-- | lib/importenv.rb | 15 | ||||
-rw-r--r-- | lib/jcode.rb | 23 | ||||
-rw-r--r-- | lib/mailread.rb | 5 | ||||
-rw-r--r-- | lib/mathn.rb | 5 | ||||
-rw-r--r-- | lib/matrix.rb | 239 | ||||
-rw-r--r-- | lib/mkmf.rb | 144 | ||||
-rw-r--r-- | lib/monitor.rb | 325 | ||||
-rw-r--r-- | lib/mutex_m.rb | 60 | ||||
-rw-r--r-- | lib/observer.rb | 8 | ||||
-rw-r--r-- | lib/open3.rb | 55 | ||||
-rw-r--r-- | lib/parsearg.rb | 5 | ||||
-rw-r--r-- | lib/parsedate.rb | 81 | ||||
-rw-r--r-- | lib/ping.rb | 33 | ||||
-rw-r--r-- | lib/profile.rb | 53 | ||||
-rw-r--r-- | lib/pstore.rb | 39 | ||||
-rw-r--r-- | lib/rational.rb | 9 | ||||
-rw-r--r-- | lib/readbytes.rb | 36 | ||||
-rw-r--r-- | lib/shellwords.rb | 16 | ||||
-rw-r--r-- | lib/singleton.rb | 37 | ||||
-rw-r--r-- | lib/sync.rb | 13 | ||||
-rw-r--r-- | lib/telnet.rb | 439 | ||||
-rw-r--r-- | lib/tempfile.rb | 91 | ||||
-rw-r--r-- | lib/thread.rb | 163 | ||||
-rw-r--r-- | lib/thwait.rb | 113 | ||||
-rw-r--r-- | lib/timeout.rb | 42 | ||||
-rw-r--r-- | lib/tracer.rb | 147 | ||||
-rw-r--r-- | lib/weakref.rb | 39 | ||||
-rw-r--r-- | main.c | 1 | ||||
-rw-r--r-- | marshal.c | 289 | ||||
-rw-r--r-- | math.c | 74 | ||||
-rw-r--r-- | misc/README | 5 | ||||
-rw-r--r-- | misc/inf-ruby.el | 316 | ||||
-rw-r--r-- | misc/ruby-mode.el | 699 | ||||
-rw-r--r-- | misc/rubydb2x.el | 104 | ||||
-rw-r--r-- | misc/rubydb3x.el | 104 | ||||
-rw-r--r-- | missing/dir.h | 126 | ||||
-rw-r--r-- | missing/file.h | 1 | ||||
-rw-r--r-- | missing/memcmp.c | 21 | ||||
-rw-r--r-- | missing/strchr.c | 45 | ||||
-rw-r--r-- | missing/vsnprintf.c | 1153 | ||||
-rw-r--r-- | missing/x68.c | 24 | ||||
-rw-r--r-- | mkconfig.rb | 4 | ||||
-rw-r--r-- | node.h | 231 | ||||
-rw-r--r-- | numeric.c | 1066 | ||||
-rw-r--r-- | object.c | 871 | ||||
-rw-r--r-- | pack.c | 407 | ||||
-rw-r--r-- | parse.y | 2025 | ||||
-rw-r--r-- | process.c | 410 | ||||
-rw-r--r-- | random.c | 122 | ||||
-rw-r--r-- | range.c | 174 | ||||
-rw-r--r-- | re.c | 705 | ||||
-rw-r--r-- | re.h | 16 | ||||
-rw-r--r-- | regex.h | 205 | ||||
-rw-r--r-- | ruby.1 | 216 | ||||
-rw-r--r-- | ruby.c | 393 | ||||
-rw-r--r-- | ruby.h | 428 | ||||
-rw-r--r-- | rubyio.h | 60 | ||||
-rw-r--r-- | rubysig.h | 54 | ||||
-rw-r--r-- | rubytest.rb | 2 | ||||
-rw-r--r-- | sample/README | 60 | ||||
-rw-r--r-- | sample/cal.rb | 118 | ||||
-rw-r--r-- | sample/fib.py | 10 | ||||
-rw-r--r-- | sample/fib.scm | 4 | ||||
-rw-r--r-- | sample/freq.rb | 8 | ||||
-rw-r--r-- | sample/from.rb | 36 | ||||
-rw-r--r-- | sample/goodfriday.rb | 48 | ||||
-rw-r--r-- | sample/mkproto.rb | 8 | ||||
-rw-r--r-- | sample/observ.rb | 15 | ||||
-rw-r--r-- | sample/occur.rb | 8 | ||||
-rw-r--r-- | sample/rbc.rb | 257 | ||||
-rw-r--r-- | sample/sieve.rb | 3 | ||||
-rw-r--r-- | sample/test.rb | 218 | ||||
-rw-r--r-- | sample/trojan.rb | 4 | ||||
-rw-r--r-- | sample/tsvr.rb | 2 | ||||
-rw-r--r-- | signal.c | 141 | ||||
-rw-r--r-- | sprintf.c | 463 | ||||
-rw-r--r-- | string.c | 2015 | ||||
-rw-r--r-- | struct.c | 414 | ||||
-rw-r--r-- | time.c | 405 | ||||
-rw-r--r-- | top.sed | 96 | ||||
-rw-r--r-- | util.c | 353 | ||||
-rw-r--r-- | util.h | 26 | ||||
-rw-r--r-- | variable.c | 613 | ||||
-rw-r--r-- | version.c | 12 | ||||
-rw-r--r-- | version.h | 4 | ||||
-rw-r--r-- | win32/Makefile | 31 | ||||
-rw-r--r-- | win32/config.h | 12 | ||||
-rw-r--r-- | win32/ruby.def | 469 | ||||
-rw-r--r-- | win32/sdbm.c | 2 |
198 files changed, 36559 insertions, 13179 deletions
@@ -1,37 +1,40 @@ GNU GENERAL PUBLIC LICENSE - Version 1, February 1989 + Version 2, June 1991 - Copyright (C) 1989 Free Software Foundation, Inc. - 675 Mass Ave, Cambridge, MA 02139, USA + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble - The license agreements of most software companies try to keep users -at the mercy of those companies. By contrast, our General Public + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. The -General Public License applies to the Free Software Foundation's -software and to any other program whose authors commit to using it. -You can use it for your programs, too. +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. When we speak of free software, we are referring to freedom, not -price. Specifically, the General Public License is designed to make -sure that you have the freedom to give away or sell copies of free -software, that you receive source code or can get it if you want it, -that you can change the software or use pieces of it in new free -programs; and that you know you can do these things. +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. - For example, if you distribute copies of a such a program, whether + For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the -source code. And you must tell them their rights. +source code. And you must show them these terms so they know their +rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, @@ -44,120 +47,207 @@ want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. This License Agreement applies to any program or other work which -contains a notice placed by the copyright holder saying it may be -distributed under the terms of this General Public License. The -"Program", below, refers to any such program or work, and a "work based -on the Program" means either the Program or any work containing the -Program or a portion of it, either verbatim or with modifications. Each -licensee is addressed as "you". - - 1. You may copy and distribute verbatim copies of the Program's source -code as you receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice and -disclaimer of warranty; keep intact all the notices that refer to this -General Public License and to the absence of any warranty; and give any -other recipients of the Program a copy of this General Public License -along with the Program. You may charge a fee for the physical act of -transferring a copy. - - 2. You may modify your copy or copies of the Program or any portion of -it, and copy and distribute such modifications under the terms of Paragraph -1 above, provided that you also do the following: - - a) cause the modified files to carry prominent notices stating that - you changed the files and the date of any change; and - - b) cause the whole of any work that you distribute or publish, that - in whole or in part contains the Program or any part thereof, either - with or without modifications, to be licensed at no charge to all - third parties under the terms of this General Public License (except - that you may choose to grant warranty protection to some or all - third parties, at your option). - - c) If the modified program normally reads commands interactively when - run, you must cause it, when started running for such interactive use - in the simplest and most usual way, to print or display an - announcement including an appropriate copyright notice and a notice - that there is no warranty (or else, saying that you provide a - warranty) and that users may redistribute the program under these - conditions, and telling the user how to view a copy of this General - Public License. - - d) You may charge a fee for the physical act of transferring a - copy, and you may at your option offer warranty protection in - exchange for a fee. - -Mere aggregation of another independent work with the Program (or its -derivative) on a volume of a storage or distribution medium does not bring -the other work under the scope of these terms. + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) - 3. You may copy and distribute the Program (or a portion or derivative of -it, under Paragraph 2) in object code or executable form under the terms of -Paragraphs 1 and 2 above provided that you also do one of the following: - - a) accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of - Paragraphs 1 and 2 above; or, - - b) accompany it with a written offer, valid for at least three - years, to give any third party free (except for a nominal charge - for the cost of distribution) a complete machine-readable copy of the - corresponding source code, to be distributed under the terms of - Paragraphs 1 and 2 above; or, - - c) accompany it with the information you received as to where the - corresponding source code may be obtained. (This alternative is +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you - received the program in object code or executable form alone.) - -Source code for a work means the preferred form of the work for making -modifications to it. For an executable file, complete source code means -all the source code for all modules it contains; but, as a special -exception, it need not include source code for modules which are standard -libraries that accompany the operating system on which the executable -file runs, or for standard header files or definitions files that -accompany that operating system. - - 4. You may not copy, modify, sublicense, distribute or transfer the -Program except as expressly provided under this General Public License. -Any attempt otherwise to copy, modify, sublicense, distribute or transfer -the Program is void, and will automatically terminate your rights to use -the Program under this License. However, parties who have received -copies, or rights to use copies, from you under this General Public -License will not have their licenses terminated so long as such parties -remain in full compliance. - - 5. By copying, distributing or modifying the Program (or any work based -on the Program) you indicate your acceptance of this license to do so, -and all its terms and conditions. + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the original -licensor to copy, distribute or modify the Program subject to these -terms and conditions. You may not impose any further restrictions on the -recipients' exercise of the rights granted herein. +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. - 7. The Free Software Foundation may publish revised and/or new versions + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program -specifies a version number of the license which applies to it and "any +specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of -the license, you may choose any version ever published by the Free Software +this License, you may choose any version ever published by the Free Software Foundation. - 8. If you wish to incorporate parts of the Program into other free + 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes @@ -167,7 +257,7 @@ of promoting the sharing and reuse of software generally. NO WARRANTY - 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED @@ -177,7 +267,7 @@ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING @@ -189,25 +279,24 @@ POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS - Appendix: How to Apply These Terms to Your New Programs + How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest -possible use to humanity, the best way to achieve this is to make it -free software which everyone can redistribute and change under these -terms. +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. - To do so, attach the following notices to the program. It is safest to -attach them to the start of each source file to most effectively convey -the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) 19yy <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 1, or (at your option) - any later version. + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -216,33 +305,36 @@ the exclusion of warranty; and each file should have at least the You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) 19xx name of author + Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. -The hypothetical commands `show w' and `show c' should show the -appropriate parts of the General Public License. Of course, the -commands you use may be called something other than `show w' and `show -c'; they could even be mouse-clicks or menu items--whatever suits your -program. +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here a sample; alter the names: +necessary. Here is a sample; alter the names: - Yoyodyne, Inc., hereby disclaims all copyright interest in the - program `Gnomovision' (a program to direct compilers to make passes - at assemblers) written by James Hacker. + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice -That's all there is to it! +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. @@ -1,3 +1,2355 @@ +Wed Jan 20 03:39:48 1999 Yukihiro Matsumoto <[email protected]> + + * parse.y (yycompile): rb_in_compile renamed to ruby_in_compile. + + * ruby.c (load_file): define DATA iff __END__ appeared in script. + +Tue Jan 19 14:57:51 1999 Yukihiro Matsumoto <[email protected]> + + * parse.y (here_document): need to protect lex_lastline. + + * parse.y (yylex): disable %//, %'', %``. + +Tue Jan 19 05:01:16 1999 Koji Arai <[email protected]> + + * array.c (beg_len): round range value too much. + +Mon Jan 18 13:02:27 1999 Kuroda Jun <[email protected]> + + * hash.c (env_keys): strchr() may return NULL. + +Mon Jan 18 17:51:47 1999 Yukihiro Matsumoto <[email protected]> + + * instruby.rb (wdir): install libruby.a in archdir. + + * lib/ftools.rb (install): removes file before installing. + +Mon Jan 18 16:55:31 1999 MAEDA shugo <[email protected]> + + * eval.c (rb_callcc): experimental continuation support. + +Sun Jan 17 19:45:37 1999 WATANABE Hirofumi <[email protected]> + + * pack.c (pack_pack): nil packing caused SEGV. + +Sat Jan 16 13:18:03 1999 Yukihiro Matsumoto <[email protected]> + + * string.c (rb_str_concat): character (fixnum) can be append to + strings + + * array.c (rb_ary_unshift): unshift returns array. + +Sat Jan 16 01:39:19 1999 Yoshida Masato <[email protected]> + + * string.c (rb_str_split_method): UTF-8 support. + + * regex.c: UTF-8 support. + +Thu Jan 14 00:42:55 1999 Yukihiro Matsumoto <[email protected]> + + * string.c (rb_str_gsub_bang): forget to add offset for null match. + + * eval.c (rb_thread_local_aset): can't modify in tainted mode. + + * hash.c (env_each_key): avoid generating temporary array. + +Wed Jan 13 23:58:50 1999 Yukihiro Matsumoto <[email protected]> + + * hash.c (rb_f_setenv): name and value can be tainted. + +Wed Jan 6 02:42:08 1999 Yukihiro Matsumoto <[email protected]> + + * bignum.c (Init_Bignum): forgot to define Bignum#===. + + * gc.c (gc_sweep): if add_heap() is called during GC, objects on + allocated heap page(s) are not marked, should not be recycled. + + * gc.c (gc_sweep): should refer latest freelist. + + * gc.c (id2ref): modified to support performance patch. + + * object.c (rb_obj_id): performance patch (no bignum for id). + +Tue Jan 5 01:56:18 1999 Yukihiro Matsumoto <[email protected]> + + * config.guess: merge up-to-date from autoconf 2.12. + + * array.c (rb_ary_join): avoid calling rb_protect_inspect() till + it is really needed. + + * object.c (rb_obj_inspect): show detailed information for the + instance variables (infinite loop can avoid now). + + * struct.c (rb_struct_inspect): avoid infinite loop. + +Sun Jan 3 01:37:58 1999 Takao KAWAMURA <[email protected]> + + * misc/ruby-mode.el (ruby-end-of-defun): moved too much. + + * misc/ruby-mode.el (ruby-mode-variables): set paragraph-separator + for the mode. + + * misc/ruby-mode.el: proper font-lock for `def' and `nil' etc. + +Sat Jan 2 17:09:06 1999 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_jump_tag): new api to invoke JUMP_TAG. tag values + can obtained from rb_eval_string_protect()/rb_load_protect(). + + * eval.c (rb_rescue): now catches all exceptions but SystemExit. + + * eval.c (rb_eval_string_protect): eval string with protection. + + * eval.c (rb_load_protect): load file with protection. + + * io.c (rb_io_puts): avoid infinite loop for cyclic arrays. + + * eval.c (rb_thread_local_aref): thread local hash tables. + + * object.c (rb_equal): check exact equal before calling `=='. + +Thu Dec 31 22:28:53 1998 MAEDA shugo <[email protected]> + + * eval.c (rb_f_require): feature names should be provided with + DLEXT extension. + + * marshal.c (Init_marshal): need to provide `marshal.so'. + +Wed Dec 30 02:29:16 1998 Yukihiro Matsumoto <[email protected]> + + * variable.c (classname): do not call rb_ivar_set(). + + * eval.c (ruby_run): finalizers were called too early. + +Fri Dec 25 12:19:30 1998 Fukuda Masaki <[email protected]> + + * gc.c (rb_gc_mark): should not return on FL_EXIVAR. + +Fri Dec 25 11:56:51 1998 Yukihiro Matsumoto <[email protected]> + + * gc.c (gc_mark): proper scanning for temporary region. + + * eval.c (TMP_ALLOC): protection for C_ALLOCA was broken. + +Thu Dec 24 18:26:04 1998 Yukihiro Matsumoto <[email protected]> + + * development version 1.3 released. + +Thu Dec 24 00:17:00 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_load): top self should be set properly. + + * variable.c (classname): check __classpath__ iff it is defined. + + * variable.c (classname): invalid warning at -v with static linked + ruby interpreter. + + * eval.c (is_defined): modified for expr::Const support. + + * eval.c (rb_eval): invoke method expr::Const if expr is not class + nor module. + + * parse.y (primary): enable expr::identifier as method + invocation. + +Wed Dec 23 03:04:36 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_match): avoid too many loop pops for (?:..). + +Tue Dec 22 18:01:08 1998 Yukihiro Matsumoto <[email protected]> + + * experimental version 1.1d1 released. + +Mon Dec 21 01:33:03 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (TMP_PROTECT): add volatile to ensure GC protection. + + * string.c (rb_str_gsub_bang): calculate buffer size properly. + + * parse.y (lex_get_str): needed to return Qnil at EOS. + + * eval.c (find_file): check policy modified, raise exception + immediately for tainted load_path. + + * hash.c (rb_f_setenv): do not depend on setenv() nor putenv(). + +Thu Dec 17 06:29:23 1998 Yukihiro Matsumoto <[email protected]> + + * ext/tk/tkutil.c (tk_s_new): use rb_obj_instance_eval(), instead + of rb_yield_0(). + + * eval.c (rb_f_require): forgot to call find_file in some cases. + + * eval.c (rb_f_require): `require "feature.so"' to load dynamic + libraries. old `require "feature.o"' is still OK. + + * eval.c (rb_eval): yield without value dumped core. + +Wed Dec 16 16:28:31 1998 Yukihiro Matsumoto <[email protected]> + + * experimental version 1.1d0 (pre1.2) released. + +Wed Dec 16 10:43:34 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_search): bound check before calling re_match(). + +Tue Dec 15 13:59:01 1998 Yukihiro Matsumoto <[email protected]> + + * error.c (exc_to_s): returns class name for unset mesg. + + * error.c (exc_initialize): do not initialize @mesg by "". + + * parse.y (nextc): __END__ should handle CR+LF newlines. + +Wed Dec 9 13:37:12 1998 MAEDA shugo <[email protected]> + + * pack.c (encodes): use buffering for B-encoding. + + * pack.c (pack_pack): Q-encoding by 'M'. + +Tue Dec 8 14:10:00 1998 Yukihiro Matsumoto <[email protected]> + + * variable.c (generic_ivar_get): any object can have instance + variables now. great improvement. + + * variable.c (rb_name_class): do not set __classpath__ by default, + use __classid__ instead. + +Mon Dec 7 22:08:22 1998 Yukihiro Matsumoto <[email protected]> + + * ruby.h (struct RFile): IO objects can have instance variables now. + + * parse.y (primary): allows `def obj::foo; .. end'. + +Mon Dec 7 18:24:50 1998 WATANABE Tetsuya <[email protected]> + + * ruby.c (set_arg0): $0 supprt for HP-UX. + +Mon Dec 7 01:30:28 1998 WATANABE Hirofumi <[email protected]> + + * dln.c (dln_strerror): better error messages on win32. + +Sat Dec 5 23:27:23 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (here_document): indentable here-doc delimiter by + `<<-'. Proposed by Clemens <[email protected]>. Thanks. + +Thu Dec 3 16:50:17 1998 Yukihiro Matsumoto <[email protected]> + + * ext/extmk.rb.in (realclean): trouble on install. + +Sun Nov 29 22:25:39 1998 Takaaki Tateishi <[email protected]> + + * process.c (f_exec): check number of argument. + +Thu Nov 26 17:27:30 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c9 released. + +Wed Nov 25 13:07:12 1998 Yukihiro Matsumoto <[email protected]> + + * string.c (rb_str_dup): do not copy additional data (STR_NO_ORIG). + + * parse.y (yycompile): reduce known memory leak (hard to remove). + +Wed Nov 25 03:41:21 1998 Yukihiro Matsumoto <[email protected]> + + * st.c (st_init_table_with_size): round size up to prime number. + +Sat Nov 21 23:27:23 1998 Yukihiro Matsumoto <[email protected]> + + * hash.c (rb_hash_aset): reduce copying key strings. + + * gc.c (looks_pointerp): declare as inline function if possible. + + * st.c (PTR_NOT_EQUAL): compare hash values first before calling + comparing function. + + * st.c (ADD_DIRECT): save hash value in entries to reduce hash + calculation. + + * string.c (rb_str_gsub_bang): avoid rb_scan_args() to speed-up. + + * string.c (rb_str_sub_bang): ditto. + +Sat Nov 21 18:44:06 1998 Masaki Fukushima <[email protected]> + + * time.c (time_s_now): had memory leak. + + * ext/md5/md5init.c (md5_new): had memory leak. + + * ext/md5/md5init.c (md5_clone): ditto. + +Fri Nov 20 23:23:23 1998 Yukihiro Matsumoto <[email protected]> + + * lib/delegate.rb: do not propagate hash and eql?. + +Thu Nov 19 01:40:52 1998 Yukihiro Matsumoto <[email protected]> + + * sample/ruby-mode.el (ruby-expr-beg): failed to find reserved + word boundary. + + * eval.c (rb_eval): avoid calling `concat' method. calls + rb_ary_concat() directly for efficiency. + + * eval.c (rb_eval): actual rest arguments extended arrays too much. + +Wed Nov 18 14:30:24 1998 Yukihiro Matsumoto <[email protected]> + + * class.c (rb_define_global_function): global functions now be + module function of the Kernel. + +Wed Nov 18 10:48:09 1998 Yukihiro Matsumoto <[email protected]> + + * io.c (read_all): SEGV on large files. + +Tue Nov 17 18:11:20 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c8 released. + +Tue Nov 17 16:58:47 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (arg): assignment to attribute name start with capital + should be allowed. + + * eval.c (thread_alloc): needed to mark terminated threads too. + +Tue Nov 17 12:33:48 1998 Motoyuki Kasahara <[email protected]> + + * ext/extmk.rb.in (create_makefile): Set `libdir' to `@libdir@', + Set `pkglibdir' to `$libdir/$(RUBY_INSTALL_NAME)'. + +Tue Nov 17 10:30:46 1998 Yukihiro Matsumoto <[email protected]> + + * sprintf.c (f_sprintf): %l%%c -> %%l%c + +Tue Nov 17 01:08:50 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (ret_args): distinguish `a' and `*a' for the arguments + of yield and return. + + * eval.c (rb_eval): flip3 should work like sed. + + * eval.c (rb_eval): flip{2,3} now have independent state for each + scope to work fine with thread. + +Mon Nov 16 23:26:29 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (primary): exec else clause if no exception raised. + +Sun Nov 15 15:44:07 1998 Tadayoshi Funaba <[email protected]> + + * ext/extmk.rb.in (install): bug in target. + +Sat Nov 14 11:02:05 1998 Motoyuki Kasahara <[email protected]> + + * Makefile.in (install): Give the argument `$(DESTDIR)' to + `instruby.rb'. + * instruby.rb: Recognize ARG[0] as `destdir'. + * instruby.rb: Give the argument `destdir' to `extmk.rb'. + * ext/extmk.rb.in: Recognize ARG[1] as `$destdir'. + + * instruby.rb: Create the installation directories (bindir, libdir, + archdir, pkglibdir, archdir, and mandir) under `destdir', and + install all files under there. + * ext/extmk.rb.in: Likewise. + +Sat Nov 14 10:56:55 1998 Motoyuki Kasahara <[email protected]> + + * instruby.rb: Add the variable `pkglibdir'. + * instruby.rb: Set the variable `libdir' to `$(libdir)', not + `$(libdir)/$(ruby_install_name)'. `libruby.so' and `libruby.so.LIB' + are installed at `libdir'. + * instruby.rb: Set the variable `archdir' to `$(pkglibdir)/$(arch)'. + +Fri Nov 13 19:43:29 1998 KIMURA Koichi <[email protected]> + + * missing/nt.c (SafeFree): wrong free offset. + +Thu Nov 12 20:11:53 1998 Koji Arai <[email protected]> + + * sample/ruby-mode.el: wrong highlight. + + * parse.y (parse_regx): newline in regexp was ignored. + +Wed Nov 11 10:54:57 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (here_document): <<'FOO' should not escape anything. + + * parse.y (here_document): bare << here-doc available, even though + it's deprecated. + + * file.c (rb_file_s_readlink): return value should be tainted. + + * ext/etc/etc.c (setup_passwd): information (eg. GCOS name) should + be tainted (modified at Perl Conference). + +Tue Nov 10 00:22:11 1998 EGUCHI Osamu <[email protected]> + + * configure.in: elf supprt for FreeBSD 3.x + +Tue Nov 10 00:05:43 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (yylex): here document available in eval. + +Mon Nov 9 17:55:19 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c7 released. + +Fri Nov 6 19:25:27 1998 Takao KAWAMURA <[email protected]> + + * sample/ruby-mode.el: font-lock patch. + +Thu Nov 5 15:42:22 1998 Yukihiro Matsumoto <[email protected]> + + * sample/README, lib/README: simple description for each file. + +Wed Nov 4 18:14:19 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (assign): attribute assignment should be called as public. + +Tue Nov 3 23:36:39 1998 Yukihiro Matsumoto <[email protected]> + + * string.c (rb_str_dump): dumps core for negative char value. + + * regex.c (re_compile_pattern): out of boundary access for empty + regexp. + +Mon Nov 2 22:54:01 1998 Yukihiro Matsumoto <[email protected]> + + * string.c (rb_str_aset): `str[str]' replaces first match. + +Mon Nov 2 18:24:33 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (thread_create): was accessing modified status. + +Sun Nov 1 01:18:52 1998 EGUCHI Osamu <[email protected]> + + * gc.c (xrealloc): size 0 needs round up to 1. + +Sat Oct 31 23:18:34 1998 Yukihiro Matsumoto <[email protected]> + + * string.c (rb_str_split_method): negative LIMIT means number of + splitted fields are unlimited, as in perl. + + * string.c (rb_str_split_method): if LIMIT is unspecified, + trailing null fields are stripped. + +Sat Oct 31 04:16:14 1998 Inaba Hiroto <[email protected]> + + * string.c (str_aref): regexp index SEGVed. + +Fri Oct 30 14:33:47 1998 Yukihiro Matsumoto <[email protected]> + + * re.c (reg_match): returns nil for unmatch. + + * dir.c (dir_entries): new method. + + * eval.c (block_pass): do not push block, substitute it. + +Fri Oct 30 01:28:52 1998 Yukihiro Matsumoto <[email protected]> + + * range.c (range_check): avoid <=> check for Fixnums. + + * array.c (rb_ary_aset): accept negative index. + +Wed Oct 28 22:00:54 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_match): access out of boundary fixed. + +Wed Oct 28 11:37:42 1998 TAMITO <[email protected]> + + * io.c (f_select): fd number comparison bug. + +Tue Oct 27 23:07:11 1998 Yukihiro Matsumoto <[email protected]> + + * sample/ruby-mode.el (ruby-parse-region): forgot to support %w() + style array literal. + + * eval.c (rb_eval): unused block raises warning. + +Mon Oct 26 09:37:53 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (dvar_asgn_push): dvar pushed too many times if + variable-in-block first appear in loops. + +Sun Oct 25 22:59:27 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (set_list_bits): was using wrong offset. + +Thu Oct 22 00:07:11 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_obj_method): method retrieved from tainted object + should be tainted too. + + * eval.c (method_call): safe_level should be restored during + Method#call. + +Wed Oct 21 14:21:06 1998 Yukihiro Matsumoto <[email protected]> + + * io.c (Init_IO): new constants IO::SEEK_{SET,CUR,END}. + + * io.c (rb_f_ungetc): ungetc pushes a char back into STDIN. + +Mon Oct 19 11:50:00 1998 Motoyuki Kasahara <[email protected]> + + * ext/extmk.rb: Load '@top_srcdir@/lib/find.rb', not + '../lib/find.rb'. + * ext/extmk.rb: Distinguish between `top_srcdir' and `topdir'. + * Makefile.in (CFLAGS): Add `-I.'. + * Makefile.in (lex.c): Give `@srcdir@/keywords' to gperf, not + `keywords'. + * instruby.rb: Use `CONFIG["bindir"]', instead of `prefix + "/bin"'. + * instruby.rb: Use `CONFIG["libdir"]', instead of `prefix + "/lib"'. + * instruby.rb Use `CONFIG["mandir"]', instead of `prefix + "/man"'. + * instruby.rb (wdir): Add the variable to preserve the current + working directory. + * instruby.rb: Chdir to wdir before install `config.h' and + `rbconfig.rb'. + +Mon Oct 19 10:07:01 1998 EGUCHI Osamu <[email protected]> + + * eval.c (rb_eval): reduce recursive calls to rb_eval(). + +Fri Oct 16 15:31:45 1998 Yukihiro Matsumoto <[email protected]> + + * time.c (time_new_internal): timeval must be positive. + +Thu Oct 15 13:54:48 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (arg): local variabls can be accessed within right side + expression in assignment, notably in blocks. + +Wed Oct 14 00:18:33 1998 Yukihiro Matsumoto <[email protected]> + + * array.c (Init_Array): Array#=== is now for equal check, not + inclusion check. + + * parse.y (when_args): `when a, *b' style new syntax for array + expansion in `case'. + +Tue Oct 13 14:30:32 1998 Yukihiro Matsumoto <[email protected]> + + * object.c (rb_obj_untaint): taint marks can be unset. + + * eval.c (rb_eval): taint propagation for embedded strings. + +Mon Oct 12 13:27:15 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_call0): check stack depth more frequently. + +Mon Oct 12 08:08:30 1998 Yukihiro Matsumoto <[email protected]> + + * io.c (rb_p): can print even in secure mode. + +Sun Oct 11 22:50:13 1998 Yukihiro Matsumoto <[email protected]> + + * variable.c (rb_const_set): taint check for modification. + + * variable.c (rb_ivar_set): taint check for modification. + + * string.c (rb_str_modify): taint check for modification. + + * hash.c (rb_hash_modify): taint check for modification. + + * array.c (rb_ary_modify): taint check for modification. + + * ruby.h (FL_TAINT): taint for all objects, not only strings. + +Fri Oct 9 17:01:14 1998 Yukihiro Matsumoto <[email protected]> + + * io.c (read_all): read() returns "" at immediate EOF. + + * io.c (io_read): read(nil) read all until EOF. + +Thu Oct 8 13:32:13 1998 Yukihiro Matsumoto <[email protected]> + + * time.c (time_dump): marshal can dump Time object now. + + * marshal.c (Init_marshal): rename marshal methods `_dump_to' to + `_dump', `_load_from' to `_load'. + + * parse.y (rb_intern): "+=".intern generates proper symbol. + +Mon Oct 5 18:31:53 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c6 released. + +Fri Oct 2 14:22:33 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_search): `/\s*(--)$/ =~ "- --"' did not match, + because of wrong optimize condition. + +Mon Oct 1 01:55:16 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (rb_intern): should not raise exceptions. + + * parse.y (yylex): symbol like `:foo?=' should not be allowed. + + * ext/extmk.rb.in: makes *.a for static link modules. + +Wed Sep 30 14:13:06 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_thread_start): supports making a subclass of the + Thread class. + +Tue Sep 29 17:46:01 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_thread_join): join is now an instance method. + +Fri Sep 25 12:01:19 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (yylex): `@foo!' should be an error. + +Thu Sep 24 14:55:06 1998 WATANABE Tetsuya <[email protected]> + + * ext/etc/etc.c (Init_etc): wrong field definition. + +Thu Sep 17 17:09:05 1998 Yukihiro Matsumoto <[email protected]> + + * io.c (io_reopen): was creating FILE* for wrong fd. + +Tue Sep 15 05:28:11 1998 Koji Arai <[email protected]> + + * regex.c (re_compile_pattern): forgot to fixup for the pattern + like (?=(A)|(B)). + +Tue Sep 15 01:06:08 1998 Yukihiro Matsumoto <[email protected]> + + * io.c (rb_io_gets_internal): do not set $_ by default, only + gets/readline set the variable. + + * eval.c (rb_f_load): load toplevel class is set to anonymous + module if safe_level >= 5, to encapsulate modification. + + * eval.c (rb_f_load): set frame properly. + + * string.c (rb_str_each_line): do not set $_. + +Mon Sep 14 14:42:27 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_match): beginning and end of the string, do not + automatically match `\b'. + + * string.c (scan_once): comsume at leaset on character. + + * regex.c (re_search): wrong behavior for negative range. + +Sat Sep 12 21:21:26 1998 Koji Arai <[email protected]> + + * regex.c (re_search): range value should be maintained. + +Thu Sep 10 10:55:00 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (backref_error): yyerror does not understand formats. + +Tue Sep 8 18:05:33 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c5 released. + +Tue Sep 8 10:03:39 1998 Yukihiro Matsumoto <[email protected]> + + * string.c (str_each_line): wrong line splitting with newline at + top of the string. + + * string.c: non bang methods return copied string. + + * eval.c (f_END): needed to initialize frame->argc; + +Fri Sep 4 11:27:40 1998 Yukihiro Matsumoto <[email protected]> + + * bignum.c (bigadd): proper sign combination. + + * regex.c (re_search): wrong return value for \A. + +>>>>>>> 1.1.1.2.2.154 +Thu Sep 3 14:08:14 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c4 released. + +Tue Sep 1 10:47:16 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (slow_search): do not compare llen and blen. llen may + be longer than blen, if little contains 0xff. + + * regex.c (mbctab_euc): set 0x8e as multibyte character. + + * string.c (str_inspect): mask character for octal output. + +Mon Aug 31 15:32:41 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_search): use calculated offset if exactn is the + first opcode in the compiled regexp. + + * regex.c (bm_search): use Boyer-Moore search for simple search. + + * regex.c (must_instr): wrong length check if pattern includes + byte escape by 0xff. + + * regex.c (re_compile_pattern): need not to check current_mbctype. + +Sat Aug 29 16:31:40 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_check_safe_str): avoid calling rb_id2name() in normal + cases to speed-up. + + * eval.c (thread_raise): do not save context of terminated thread. + + * regex.c (re_compile_pattern): mask \nnn over 256. + +Sat Aug 29 02:09:46 1998 1998 Koji Arai <[email protected]> + + * sprintf.c (f_sprintf): wrong buffer size check. + +Fri Aug 28 01:57:04 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_compile_pattern): accepts (?ix-ix) and (?ix-ix:...). + +Fri Aug 28 12:25:33 1998 Hiroshi Igarashi <[email protected]> + + * ruby.c (ruby_require_modules): load modules in appearing order. + +Fri Aug 28 01:57:04 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_compile_pattern): accepts (?ix-ix) and (?ix-ix:...). + +Thu Aug 27 12:54:28 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c3 released. + +Wed Aug 26 14:40:56 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_eval): check whether ruby_class is properly set, + before accessing it. + + * eval.c (rb_obj_instance_eval): ruby_class should be Qnil for + special objects like Fixnums. + + * ext/tkutil/tkutil.c (Init_tkutil): removes calls to + rb_yield_0(). used instance_eval() instead in the tk.rb. + +Wed Aug 26 11:47:00 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_match): pop non-greedy stack elements on success. + +Wed Aug 26 09:25:35 1998 WATANABE Hirofumi <[email protected]> + + * ruby.h: add #define environ for cygwin32. + +Tue Aug 25 08:57:41 1998 Yukihiro Matsumoto <[email protected]> + + * array.c (rb_ary_sort_bang): temporarily freeze sorting array. + +Mon Aug 24 18:46:44 1998 WATANABE Hirofumi <[email protected]> + + * dln.c (dln_find_1): path check was too strict. + +Mon Aug 24 15:28:11 1998 WATANABE Hirofumi <[email protected]> + + * parse.y (f_arglist): opt_nl added after f_args. + +Fri Aug 21 01:06:01 1998 Yukihiro Matsumoto <[email protected]> + + * ext/socket/socket.c: grand renaming on socket.c. + + * ext/socket/socket.c (inet_aton): supply inet_aton for those + systems that do not have it. + + * ext/socket/socket.c (setipaddr): use inet_aton instead of + inet_addr. + + * ext/socket/socket.c (tcp_s_gethostbyname): new method: works + like Socket.gethostbyname but returning array contains ip-addrs + as octet decimal string format like "127.0.0.1". + + * ext/socket/socket.c (mkhostent): return format changed to + [host, aliases, type, ipaddr..] as documented. + +Wed Aug 19 00:31:09 1998 Yukihiro Matsumoto <[email protected]> + + * io.c (io_ctl): forgot to place TRAP_END at right position. + +Fri Aug 14 11:01:47 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (call_trace_func): save __FILE__, __LINE__ before + executing trace_func, since trace function should not corrupt + line number information. + +Thu Aug 13 15:09:02 1998 Yukihiro Matsumoto <[email protected]> + + * array.c (ary_s_new): was marking unallocated region on GC. + +Tue Aug 11 11:57:35 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c2 released. + +Mon Aug 10 14:05:30 1998 Yukihiro Matsumoto <[email protected]> + + * process.c (f_system): removed fflush(stdin). + +Fri Aug 7 17:44:44 1998 Yukihiro Matsumoto <[email protected]> + + * error.c (err_snprintf): replace sprintf for fixed sized buffer, + with snprintf to avoid buffer over-run. For systems which does + dot provide snprintf, missing/snprintf.c added. + +Wed Aug 5 00:47:35 1998 Yukihiro Matsumoto <[email protected]> + + * re.c (rb_reg_search): recycle match object. + +Mon Aug 3 09:17:55 1998 Yukihiro Matsumoto <[email protected]> + + * string.c (rb_str_gsub_bang): do not allocate temporary string. + + * string.c (rb_str_sub_bang): use inline replace. + +Wed Jul 29 00:36:08 1998 Yukihiro Matsumoto <[email protected]> + + * hash.c (hash_s_new): the default value can be specified. + + * hash.c (hash_default): method to set the default value. + + * hash.c (hash_aref): now returns the default value. + +Tue Jul 28 13:03:25 1998 Yukihiro Matsumoto <[email protected]> + + * array.c (ary_s_new): argument to specify initial value is added. + + * array.c (ary_s_new): specifies size, not capacity. + +Mon Jul 27 12:39:34 1998 Yukihiro Matsumoto <[email protected]> + + * string.c (str_replace): zero fill for expansion gap. + + * regex.c (mbctab_euc): set flags on for 0xA1-0xFE. suggested by + <[email protected]>. + + * string.c (str_inspect): consider current_mbctype. + +Sun Jul 26 15:37:11 1998 Tadayoshi Funaba <[email protected]> + + * array.c (ary_s_new): Array.new(1<<30) dumps core. + +Fri Jul 24 13:40:19 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c1 released. + +Fri Jul 24 02:10:22 1998 Yukihiro Matsumoto <[email protected]> + + * marshal.c (r_bytes2): allocated buffer size was too short. + + * marshal.c (w_object): saves all options, not only casefold flag. + + * re.c (reg_clone): now copies options properly. + + * re.c (reg_get_kcode): code number was wrong. + +Thu Jul 23 13:11:32 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_attr): argument should be symbol or string. + +Wed Jul 22 11:59:34 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (calculate_must_string): wrong offset added. + +Wed Jul 22 11:59:59 1998 Yukihiro Matsumoto <[email protected]> + + * st.c (rehash): still had a GC problem. fixed. + +Tue Jul 21 13:19:30 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (gc_mark_threads): crashed on GC before thread allocation. + + * st.c (rehash): GC during rehash caused SEGV. + +Tue Jul 21 01:25:10 1998 Yukihiro Matsumoto <[email protected]> + + * sprintf.c (f_sprintf): integer formatter totally re-written. + + * sprintf.c (remove_sign_bits): support uppercase hexadecimal. + +Sat Jul 18 00:14:13 1998 Yukihiro Matsumoto <[email protected]> + + * sprintf.c (f_sprintf): proper sign position for %X and %O. + +Fri Jul 17 14:10:20 1998 Yukihiro Matsumoto <[email protected]> + + * version 1.1c0 released. + +Fri Jul 17 08:01:49 1998 Tadayoshi Funaba <[email protected]> + + * process.c (f_exec): Check_SafeStr() added. + + * process.c (f_system): Check_SafeStr() moved before fork(). + +Thu Jul 16 22:58:48 1998 Yukihiro Matsumoto <[email protected]> + + * string.c (scan_once): substrings to the block should not be + tainted. use reg_nth_match(), not str_substr(). + + * string.c (str_substr): needed to transfer taint. + +Thu Jul 16 16:15:57 1998 Yukihiro Matsumoto <[email protected]> + + * gc.c (xmalloc): object allocation count added to GC trigger. + + * eval.c (thread_save_context): avoid marking uninitialized stack + in thread_mark. GC may be triggered by REALLOC_N(). + +Wed Jul 15 15:11:57 1998 Yukihiro Matsumoto <[email protected]> + + * experimental release 1.1b9_31. + +Wed Jul 15 15:05:27 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (thread_create): exit() and abort() in threads now + forwarded to main_thread. + +Tue Jul 14 14:03:47 1998 Yukihiro Matsumoto <[email protected]> + + * variable.c (obj_instance_variables): list names that is not + instance variables. + + * gc.c (GC_MALLOC_LIMIT): choose smaller limit value. + +Mon Jul 13 12:39:38 1998 Yukihiro Matsumoto <[email protected]> + + * object.c (str2cstr): should not return NULL. + +Fri Jul 10 11:51:46 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (gettable): needed to add dyna_in_block() check. + +Thu Jul 9 17:38:23 1998 Yukihiro Matsumoto <[email protected]> + + * experimental release 1.1b9_30. + +Thu Jul 9 16:01:48 1998 Yukihiro Matsumoto <[email protected]> + + * sprintf.c (fmt_setup): format specifier for long needed. + + * sprintf.c (f_sprintf): ditto. + + * numeric.c (fix2str): ditto. + + * eval.c (thread_create): no more ITIMER_REAL. + + * eval.c (thread_create): thread finalization needed before + aborting thread if thread_abort is set. + +Wed Jul 8 18:17:33 1998 Yukihiro Matsumoto <[email protected]> + + * bignum.c (big_pow): abandon power by bignum (too big). + +Tue Jul 7 13:58:43 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (rb_catch): add C level catch/throw feature. + +Mon Jul 6 15:18:09 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (arg): proper return values for `||=' and `&&='. + +Fri Jul 3 16:05:11 1998 Yukihiro Matsumoto <[email protected]> + + * experimental release 1.1b9_29. + +Fri Jul 3 11:20:46 1998 Yukihiro Matsumoto <[email protected]> + + * marshal.c (r_byte): byte should not extend sign bit. + + * numeric.c (fix_mul): use FIX2LONG() instead of FIX2INT() for + 64bit architectures. + + * marshal.c (r_bytes): remove weird casting bwetween pointer and int. + + * process.c (proc_setsid): new method Process#setsid(). + +Thu Jul 2 12:49:21 1998 Yukihiro Matsumoto <[email protected]> + + * marshal.c (w_object): remove `write_bignum' label for 64bit + architectures. + + * marshal.c (r_bytes): needs int, not long. + +Wed Jul 1 14:21:06 1998 Yukihiro Matsumoto <[email protected]> + + * numeric.c (flo_plus): should not allow addition with strings. + +Wed Jul 1 13:09:01 1998 Keiju ISHITSUKA <[email protected]> + + * numeric.c (num_uminus): wrong coerce direction. + +Tue Jun 30 10:13:44 1998 Yukihiro Matsumoto <[email protected]> + + * io.c (f_p): accepts arbitrary number of arguments. + + * eval.c (rb_yield_0): there's some case that iterator_p() returns + true even if the_block was not set. check added. + +Tue Jun 30 01:05:20 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (BEGIN_CALLARGS): adjust the_block before evaluating the + receiver's value and the arguments. + +Fri Jun 26 18:02:50 1998 Yukihiro Matsumoto <[email protected]> + + * experimental release 1.1b9_28. + +Fri Jun 26 11:01:26 1998 WATANABE Hirofumi <[email protected]> + + * string.c (str_aset_method): needed to convert to string. + +Thu Jun 25 02:05:50 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_search): optimize for `.*' at beginning of the + pattern. + + * regex.c (re_search): optimize for character class repeat at + beginning of the pattern. + + * regex.c (re_compile_pattern): detect optimization potential for + the compiled patterns. + +Thu Jun 25 00:02:26 1998 WATANABE Hirofumi <[email protected]> + + * re.c (reg_s_new): flag value was wrong. + +Wed Jun 24 23:45:06 1998 Yukihiro Matsumoto <[email protected]> + + * regex.c (re_search): wrong anchor handling for reverse search. + +Wed Jun 24 02:18:57 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (mlhs): `((a,b)),c = [[1,2]],3' assigns a=1,b=2,c=3. + +Tue Jun 23 11:46:16 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (yylex): `&&=' and `||=' added. + +Sat Jun 20 02:53:50 1998 Yukihiro Matsumoto <[email protected]> + + * parse.y (assignable): nesting local variables should have higher + priority than normal local variables for assignment too. + +Fri Jun 19 18:28:19 1998 Yukihiro Matsumoto <[email protected]> + + * experimental release 1.1b9_27. + +Fri Jun 19 14:34:49 1998 Yukihiro Matsumoto <[email protected]> + + * eval.c (assign): support hack for nested multiple assignment. + + * parse.y (mlhs): nested multiple assignment. + + * eval.c (rb_eval): in-block variables now honors static scope. + + * configure.in: RSHIFT check moved to configure. + +Thu Jun 18 16:46:04 1998 Yukihiro Matsumoto < |