* ext/openssl/ossl_cipher.c (ossl_cipher_encrypt, ossl_cipher_decrypt):
re-implemnt (the arguments for this method is ).
* ext/openssl/ossl_cipher.c (ossl_cipher_pkcs5_keyivgen): new method
OpenSSL::Cipher::Cipher#pkcs5_keyivgen. it calls EVP_BytesToKey().
* ext/openssl/ossl_cipher.c (ossl_cipher_set_key_length): new method
OpenSSL::Cipher::Cipher#key_len=.
* ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): the type of
argument is changed from integer to boolean.
88 lines of code changed in:
* ext/openssl/extconf.rb: check for EVP_CIPHER_CTX_copy, ENGINE_add,
EVP_CIPHER_CTX_set_padding, EVP_CipherFinal_ex, EVP_CipherInit_ex,
EVP_DigestFinal_ex and EVP_DigestInit_ex.
* ext/openssl/openssl_missing.c (EVP_CIPHER_CTX_copy): new function.
* ext/openssl/openssl_missing.h (EVP_DigestInit_ex, EVP_DigestFinal_ex,
EVP_CipherInit_ex, EVP_CipherFinal_ex, HMAC_Init_ex): new macro for
OpenSSL 0.9.6.
* ext/openssl/ossl_cipher.c (ossl_cipher_alloc, ossl_cipher_initialize,
ossl_cipher_copy, ossl_cipher_reset, ossl_cipher_encrypt,
ossl_cipher_decrypt, ossl_cipher_final, ossl_cipher_set_key,
ossl_cipher_set_iv): replace all EVP_CipherInit and
EVP_CipherFinal into EVP_CipherInit_ex and EVP_CipherFinal_ex.
and EVP_CIPHER_CTX_init should only be called once.
* ext/openssl/ossl_cipher.c (ossl_cipher_set_padding): check for
EVP_CIPHER_CTX_set_padding.
* ext/openssl/ossl_cipher.c (Init_ossl_cipher): Cipher#<< is deprecated.
* ext/openssl/ossl_digest.c: replace all EVP_DigestInit and
EVP_DigestFinal into EVP_DigestInit_ex and EVP_DigestFinal_ex.
and EVP_MD_CTX_init should only be called once.
* ext/openssl/ossl_digest.c (digest_final): should call
EVP_MD_CTX_cleanup to avoid memory leak.
* ext/openssl/ossl_hmac.c (ossl_hmac_initialize): repalce HMAC_init
into HMAC_init_ex. and HMAC_CTX_init is moved to ossl_hmac_alloc.
* ext/openssl/ossl_hmac.c (hmac_final): should call
HMAC_CTX_cleanup to avoid memory leak.
* test/openssl/test_cipher.rb, test/openssl/test_digest.rb,
test/openssl/test_hmac.rb: new file.
316 lines of code changed in:
* test/ruby/test_file.rb (test_fnmatch): some tests for File.fnmatch
are added.
83 lines of code changed in:
* parse.y (primary): should not be NULL. [ruby-core:03098]
8 lines of code changed in:
2004-06-30
3 lines of code changed in:
* ext/syck/rubyext.c (syck_emitter_new): set buffer after
Data_Wrap_Struct to avoid possible GC. [ruby-talk:104835]
9 lines of code changed in:
2004-06-29
3 lines of code changed in:
* eval.c (rb_eval_cmd, rb_thread_trap_eval): restore safe level.
* gc.c (define_final, run_final): preserve and restore safe level for
finalizers. [ruby-core:03058]
* signal.c (signal_exec, rb_trap_exit, trap): preserve and restore
safe level for signal handlers. [ruby-dev:23829]
59 lines of code changed in:
* io.c (rb_io_popen): update the document for the first argument and
exceptions.
* process.c (rb_f_exec, rb_f_system): update the document for
exceptions.
378 lines of code changed in:
* ChangeLog: the patch posted by Jeff Mitchell.
1 lines of code changed in:
* configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due to
DOSISH compilers. [ruby-core:03107]
7 lines of code changed in:
2004-06-28
3 lines of code changed in:
using "DRb.thread.join" instead of "gets"
17 lines of code changed in:
2004-06-27
3 lines of code changed in:
* sample/rss/tdiary_plugin/rss-recent.rb: supported Hiki.
8 lines of code changed in:
2004-06-26
3 lines of code changed in:
* variable.c (rb_mod_class_variables): class variables are no longer
inherited. [ruby-dev:23808]
9 lines of code changed in:
* configure.in (TRY_LINK): commit miss.
1 lines of code changed in:
* configure.in (TRY_LINK): export.
1 lines of code changed in:
* lib/mkmf.rb (libpathflag): should not quote here.
3 lines of code changed in:
* lib/mkmf.rb (libpathflag, find_header, dir_config): quote directory
names if necessary. [ruby-talk:104505]
8 lines of code changed in:
* configure.in (aix): -b must come at the start of the command line,
and -e must not appear while testing libraries. [ruby-talk:104501]
10 lines of code changed in:
add an assertion.
1 lines of code changed in:
* io.c (rb_fopen, rb_fdopen, rb_io_reopen): setvbuf() may return
positive value on failure. [ruby-dev:23792]
8 lines of code changed in:
bring back _stklen for DJGPP [ruby-core:3084]
9 lines of code changed in:
* ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]
6 lines of code changed in:
* MANIFEST: add lib/net/.document.
1 lines of code changed in:
* ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname()
should give us packed address, not struct sockaddr.
[ruby-core:03053]
40 lines of code changed in:
2004-06-25
3 lines of code changed in:
* {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
including version.h. [ruby-talk:104456]
4 lines of code changed in:
* win32/setup.mak: remove RUBY_EXTERN lines when including version.h.
[ruby-talk:104456]
6 lines of code changed in:
* io.c (rb_io_fread): return already read data when system call is
interrupted. [ruby-talk:97206]
8 lines of code changed in:
2004-06-24
3 lines of code changed in:
* version.h: added declarations of ruby_version,
ruby_release_date, ruby_platform.
9 lines of code changed in:
Work around OSX strangneness with recvfrom on connection-oriented sockets
11 lines of code changed in:
io_seek()'s retval should be checked [ruby-core:03045]
12 lines of code changed in:
Fix indentation in time.c
Move stack-len info from main.c to gc.c
271 lines of code changed in:
* ext/zlib/zlib.c: 0xff should not shift 24 bits on 64 bit
platforms.
1 lines of code changed in:
* lib/net/imap.rb: added new option --ssl.
14 lines of code changed in:
Fixed parsing of %r{} when generating source popup
6 lines of code changed in:
2004-06-23
3 lines of code changed in:
* ext/win32ole/win32ole.c (ole_hresult2msg): remove trailing
CR and LF. (doesn't depend on CR+LF) [ruby-dev:23694]
11 lines of code changed in:
* io.c (rb_io_initialize): should check fcntl result. [ruby-dev:23742]
4 lines of code changed in:
* eval.c (return_jump, break_jump): raise unexpceted local jump
exception directly. [ruby-dev:23740]
7 lines of code changed in:
* sprintf.c (rb_f_sprintf): support FZERO and FSPACE with NaN/Inf.
* test/ruby/test_sprintf.rb (test_nan, test_inf): add tests.
95 lines of code changed in:
* ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-
dLibraries().
* ext/win32ole/win32ole.c (ole_event_free): ditto.
* ext/win32ole/win32ole.c (ole_hresult2msg): truncate error message
before CR.
18 lines of code changed in:
* sprintf.c (rb_f_sprintf): unify output of NaN, Inf and -Inf with
"%f" or etc on all platform. [ruby-dev:23704], [ruby-dev:23747]
41 lines of code changed in:
Remove explicit NIL_P() checks since rb_cmpint() does it again in the exactly same manner.
5 lines of code changed in:
2004-06-22
3 lines of code changed in:
* ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should create
empty pkey object if no argument is passed. [ruby-talk:103328]
* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.
* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto.
* ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p,
OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=,
OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=,
OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=.
* ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p,
OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=,
OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=,
OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=,
OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=.
57 lines of code changed in:
2004-06-21
3 lines of code changed in:
* win32/win32.c (rb_w32_opendir): should set errno if error occurs
when calling OS API.
6 lines of code changed in:
* test/openssl/test_ssl.rb: use Process.kill to kill child process
instead of waiting for closing popen-ed IO.
24 lines of code changed in:
2004-06-20
3 lines of code changed in:
* lib/net/ftp.rb (binary=): send TYPE commands only once.
4 lines of code changed in:
* lib/net/ftp.rb (binary=): send TYPE commands only once.
83 lines of code changed in:
* eval.c (proc_set_safe_level, proc_invoke, rb_mod_define_method): not
set $SAFE for methods defined from Proc. [ruby-dev:23697]
42 lines of code changed in:
* eval.c (method_call): allow changing $SAFE. [ruby-dev:23713]
9 lines of code changed in:
2004-06-19
3 lines of code changed in:
* sample/rss/tdiary_plugin/rss-recent.rb: added more information.
136 lines of code changed in:
* eval.c (eval): adjust indent.
5 lines of code changed in:
2004-06-18
3 lines of code changed in:
* eval.c (proc_save_safe_level, rb_set_safe_level, safe_setter): limit
safe level.
13 lines of code changed in:
2004-06-17
3 lines of code changed in:
* eval.c (rb_mod_freeze): prepare string representation before
freezing. [ruby-talk:103646]
27 lines of code changed in:
* array.c (rb_ary_pop): rdoc update for new usage. [ruby-core:03022]
4 lines of code changed in:
Add extend testcase for #first, #last, #shift, #unshift, #pop, #push methods.
33 lines of code changed in:
* test/ruby/test_array.rb: use local variables instead of a global
variable.
49 lines of code changed in:
2004-06-16
3 lines of code changed in:
* array.c (ary_new): move alloc behind checks. [ruby-core:02982]
* array.c (rb_ary_pop_m, rb_ary_shift_m): take arg to behave as push
and unshift.
* array.c (rb_ary_first, rb_ary_last): make shared array for result
array, and correct doc for Array#first(n) and Array#last(n)
* array.c (rb_ary_select): not accept any arg.
129 lines of code changed in:
* object.c (rb_class_inherited_p): singleton class inherits Class
rather than its object's class. [ruby-dev:23690]
10 lines of code changed in:
* gc.c (stack_grow_direction): memoize the direction.
* gc.c (Init_stack): should always move to end of VALUE.
14 lines of code changed in:
* ext/tk/lib/tk.rb: bug fix (TkWindow#grab)
12 lines of code changed in:
2004-06-14
3 lines of code changed in:
* ext/tk/lib/remote-tk.rb: bug fix
51 lines of code changed in:
2004-06-13
3 lines of code changed in:
* ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) support
* ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and
eliminate warning about instance variable access
* ext/tk/lib/tk/menubar.rb: improve supported menu_spec
* ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library
* ext/tk/lib/tk/root.rb: add menu_spec support
* ext/tk/lib/tk/text.rb: bug fix
* ext/tk/lib/tk/toplevel.rb: add menu_spec support
* ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage
724 lines of code changed in:
* dir.c: RDOC for File::FNM_CASEFOLD was missed.
7 lines of code changed in:
2004-06-12
3 lines of code changed in:
* configure.in (target_os): strip -gnu suffix on Linux.
5 lines of code changed in:
* array.c: remove #indexes, #indices.
* hash.c: ditto.
* ext/dbm/dbm.c: remove #indexes, #indices, "values_at" warning
from #select.
* ext/gdbm/gdbm.c: ditto.
* ext/sdbm/init.c: ditto.
* ext/dbm/dbm.c (Init_dbm): set VERSION constant as "unknown" when
DB_VERSION_STRING is not available.
65 lines of code changed in:
2004-06-10
3 lines of code changed in:
* ext/sdbm/init.c (fsdbm_store): sdbm should use StringValue().
[ruby-talk:103062]
7 lines of code changed in:
This is the log for the *previous* commit, but CVS is bloody stupid.
* Added XPath expansion and abbreviation to Parsers::XPathParser
* Improved the look of Element.inspect
* Added xpath() to Element and Attribute, allowing the generation of a unique
xpath for nodes of these types. This method for the other nodes still need to be
done
* Made REXML::XPathParser#match public
First pass at validation support. Minimal RelaxNG support.
* The tree parser is now an independant parser, like the rest.
* The first basic RelaxNG support is in. It supports elements, attributes,
choice, sequence, oneOrMany, zeroOrMany, and optional.
Improved support for converting XPaths to strings.
* XPath wasn't parsing ")" correctly.
Validation improvements:
* Fixed text
* Fixed attributes in choices
* Fixed text in choices. This change improves handling of all events that occur
without an end step (which is most of them).
* Fixed a bunch of cases
* Added support for <group>
* Added support for <value>
Workin' in the coal mine, goin' down, down, down...
* Entirely rewrote the validation code; the finite state machine, while cool,
didn't survive the encounter with Interleave. It was getting sort of hacky,
too. The new mechanism is less elegant, but is basically still a FSM, and is
more flexible without having to add hacks to extend it. Large chunks of the
FSM may be reusable in other validation mechanisms.
* Added interleave support
* Added suppert for mixed
* Added Kou's patch to normalize attribute values passed through the SAX2 and
Stream parsers.
* Applied Kou's preceding-sibling patch, which fixes the order of the axe results
90 lines of code changed in:
-
244 lines of code changed in:
* lib/uri/generic.rb (URI::Generic::merge,
URI::Generic::route_from): accepts non-hierarchical URI.
[ruby-dev:23631]
* test/uri/test_generic.rb (TestGeneric::test_route,
TestGeneric::test_merge): added tests for above changes.
54 lines of code changed in:
* configure.in: Add support for DragonFly BSD.
8 lines of code changed in:
* config.guess, config.sub: Update to a more recent version as of
2004-01-20.
239 lines of code changed in:
* win32/win32.c: remove unused functions and variables.
50 lines of code changed in:
2004-06-09
3 lines of code changed in:
* win32/win32.c: remove unused functions and variables.
4 lines of code changed in:
* string.c (str_new4): should share shared instance if it already
exists. [ruby-dev:23665]
7 lines of code changed in:
2004-06-04
4 lines of code changed in:
* io.c (rb_io_gets_m): set lastline ($_) even when read line is
nil. [ruby-dev:23663]
10 lines of code changed in:
May 2004 »