Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 21, 2011
  1. * ext/oci8/lob.c, ext/oci8/metadata.c, ext/oci8/oci8.c,

    kubo authored
      ext/oci8/oci8.h, ext/oci8/oci8lib.c, ext/oci8/stmt.c:
        fix segmentation fault when calling closed statement object's
        OCI8::Cursor#[]. (reported by Hugo L. Borges)
Commits on Feb 1, 2011
  1. * ext/oci8/ocidatetime.c, lib/oci8/datetime.rb: rename

    kubo authored
        the name of the class to binding timestamp with time zone
        from OCITimestamp to OCITimestampTZ. OCITimestamp will be
        used for timestamp without time zone.
Commits on Jan 30, 2011
  1. * ext/oci8/oci8.c: fix SEGV which depends on GC order.

    kubo authored
    * ext/oci8/oraconf.rb: check Oracle client's cpu type on Solaris as
        on Linux and Mac OS X. change error messages on Mac OS X to suggest
        to set RC_ARCHS=x86_64 when mkmf.log contains messages such as
        'missing required architecture i386 in file.'
Commits on Dec 26, 2010
  1. * ext/oci8/ocinumber.c, lib/oci8/bindtype.rb, test/test_oranumber.rb:

    kubo authored
        add OraNumber#has_decimal_part? and OCI8::BindType::BasicNumberType.
Commits on Dec 14, 2010
  1. * dist-files, lib/oci8.rb.in, lib/oci8/.document, lib/oci8/properties…

    kubo authored
    ….rb:
    
        add OCI8.properties to get and set ruby-oci8 global setting.
    * ext/oci8/bind.c, lib/oci8/bindtype.rb: fix NCHAR support and add
        OCI8.properties[:bind_string_as_nchar] to control charset form (CHAR or NCHAR)
        when binding string values.
        See: http://rubyforge.org/forum/forum.php?thread_id=48838&forum_id=1078
Commits on Dec 4, 2010
  1. * ext/oci8/object.c, ext/oci8/bind.c, lib/oci8/object.rb,

    kubo authored
      test/test_object.rb: fix a problem to assign NULL bind value
        to object type bind variables.
        (reported by Raimonds Simanovskis)
    * ext/oci8/oraconf.rb: fix for 32-bit ruby compiled on
        x86_64 linux. (reported by Jason Renschler)
    * ext/oci8/oranumber_util.c, test/test_oranumber.rb:
        suppress warning: unknown conversion type character 'h' in format
  2. * VERSION, ext/oci8/encoding.c, ext/oci8/ocihandle.c: change

    kubo authored
        the version number to 2.1.
Commits on Sep 18, 2010
  1. * ext/oci8/win32.c: undefine boolean to pass compilation on

    kubo authored
        Cygwin. (reported by Don Hill).
    * lib/oci8/encoding-init.rb, lib/oci8/encoding.yml: add a
        mapping from ZHT16HKSCS to Big5-HKSCS when the latter
        is available in ruby.
Commits on Sep 12, 2010
  1. * ext/oci8/env.c, ext/oci8/extconf.rb: suppress warning

    kubo authored
        'use "ruby/util.h" instead of bare "util.h".'
    * test/test_break.rb: make tests insensitive to execution timing.
Commits on Sep 10, 2010
  1. * test/test_array_dml.rb: delete workaround code. It now works

    kubo authored
        fine on rubinius head.
Commits on Sep 7, 2010
  1. fix ChangeLog for the unexpectedly committed changes.

    kubo authored
    disable test_array_insert1 only on rubinius.
  2. add "*.rbc" to svn:ignore properties.

    kubo authored
Commits on Sep 5, 2010
  1. * ext/oci8/extconf.rb, ext/oci8/oci8.h, ext/oci8/oci8lib.c,

    kubo authored
      ext/oci8/ocinumber.c: use rb_intern() to retrieve IDs of '+', '-',
        '*' and '/' on rubinus.
    * ext/oci8/oradate.c: use rb_call_super() instead of
        rb_obj_init_copy(), which is not declared in rubinus.
Commits on Aug 28, 2010
  1. * ext/oci8/env.c: fix for rubinius.

    kubo authored
  2. * ext/oci8/env.c, ext/oci8/error.c, ext/oci8/extconf.rb, ext/oci8/oci…

    kubo authored
    …8.c,
    
      ext/oci8/oci8.h, oci8/oci8lib.c, ext/oci8/ocinumber.c: fix for rubinius.
        Note that this is not enough to compile ruby-oci8 on it.
Commits on Aug 23, 2010
  1. * lib/oci8/object.rb: fix an error when SDO_GEOMETRY is used

    kubo authored
        and $VERBOSE is set.
    * test/test_metadata.rb: (1) fix errors caused by String + Symbol.
        They worked on ruby 1.9.2 but not on 1.8.7 and 1.9.2.
        (2) replace "assert_equal(class, object.class)" with
        "assert_instance_of(class, object)."
    * test/test_oranumber.rb: change a testcase for ruby 1.9.2.
        Math::atan2(0, 0) behaviour was changed in 1.9.2.
Commits on Aug 15, 2010
  1. * ext/oci8/lob.c, ext/oci8/object.c, ext/oci8/oci8.h,

    kubo authored
      lib/oci8/object.rb: support LOB datatypes in Oracle objects.
    * ext/oci8/ocihandle.c: fix SEGV in finalizer when temporary LOBs
        are used. This bug was introduced by the previous commit.
Commits on Jun 15, 2010
  1. * lib/oci8/metadata.rb: rename OCI8::Metadata::Column#type_string

    kubo authored
        to #data_type_string and add an alias from the former to the
        latter. fix a return value of OCI8::Metadata::Column#data_type_string
        of REF datatype.
    * test/test_metadata.rb: rename a test method test_metadata to
        test_column_metadata and do refactoring to make test data
        reusable for other metadata classes in future.
Commits on Jun 13, 2010
  1. * ext/oci8/metadata.c: fix a private method

    kubo authored
        OCI8::Metadata::Base#__param to return nil when the specified
        attribute is NULL.
    * lib/oci8/metadata.rb: add rdoc comment of OCI8::Metadata::Type
        and fix other typos. change OCI8::Metadata::Schema#all_objects
        not to raise "ORA-24372: invalid object for describe" by
        invalid objects.
    * test/test_metadata.rb: add tests for OCI8::Metadata::Type.
Commits on Jun 11, 2010
  1. * lib/oci8/metadata.rb: rename OCI8::Metabase::ProcBase to

    kubo authored
        OCI8::Metabase::Subprogram, add #is_standalone? and change
        #obj_id, #obj_name and #obj_schema to work for packaged
        subprograms. Fix rdoc comments.
    * test/test_metadata.rb: add tests for OCI8::Metadata::Function,
        OCI8::Metadata::Procedure and OCI8::Metadata::Package.
Commits on Jun 10, 2010
  1. * lib/oci8/metadata.rb: revice rdoc comments of OCI8::Metadata::Table

    kubo authored
        and OCI8::Metadata::View and delete some unavailable methods
        of OCI8::Metadata::View.
    * test/test_metadata.rb: add tests for OCI8::Metadata::Table and
        OCI8::Metadata::View.
    * README: change the description about the privilege to run tests.
        'create view' privilege is needed to test OCI8::Metadata::View.
Commits on Jun 1, 2010
  1. * ext/oci8/extconf.rb, ext/oci8/oci8.c, lib/oci8.rb.in: move

    kubo authored
        the location where OCI8::VERSION is defined from oci8.rb to
        oci8lib_*.so. Add code to check the version of oci8.rb and
        oci8lib_*.so.
    * test/test_clob.rb: create test_clob table while executing
        tests.
    * README: delete the instruction to create test_clob before
        executing tests.
Commits on May 17, 2010
  1. * ext/oci8/metadata.c: delete OCI8::Metadata::Base's methods which

    kubo authored
        get and set OCI handle attributes.
    * ext/oci8/ocihandle.c: add OCIHandle#attr_get_oradate.
    * lib/oci8/metadata.rb: use OCIHandle#attr_get_* instead of
        obsolete OCI8::Metadata::Base#__*.
Commits on May 7, 2010
  1. * dist-files, ext/oci8/.document, ext/oci8/apiwrap.yml,

    kubo authored
      ext/oci8/connection_pool.c, ext/oci8/extconf.rb,ext/oci8/oci8.c,
      ext/oci8/oci8.h, ext/oci8/oci8lib.c, lib/oci8.rb.in,
      lib/oci8/.document, lib/oci8/connection_pool.rb, lib/oci8/oci8.rb,
      lib/oci8/ocihandle.rb: add a new feature OCI8::ConnectionPool.
Commits on May 4, 2010
  1. * ext/oci8/bind.c: fix a bug that a string is bound to RAW,

    kubo authored
        its encoding was convertd to OCI.encoding.
    * ext/oci8/encoding.c: delete an unused strcuture.
    * ext/oci8/oci8.c, ext/oci8/oci8.h, ext/oci8/ocihandle.c,
        lib/oci8/oci8.rb: do refactering to make it easy to
        implement new authentication features.
    * lib/oci8.rb.in, lib/oci8/metadata.rb, lib/oci8/ocihandle.rb:
        move constant definitions from metadata.rb to ocihandle.rb.
Commits on May 3, 2010
  1. * ext/oci8/bind.c, ext/oci8/oci8.h, lib/oci8/bindtype.rb:

    kubo authored
        change the length semantics from byte to char for string
        bind variables when the Oracle client is 9i or upper.
Commits on May 2, 2010
  1. * lib/oci8/encoding-init.rb: fix for zero-length NLS_LANG.

    kubo authored
        fix AL32UTF8's nls_ratio.
    * ext/oci8/stmt.c: fix SEGV when an exception is raised in
        post_bind_hook().
Commits on Apr 27, 2010
  1. * ext/oci8/lob.c, ext/oci8/object.c, ext/oci8/oci8.h,

    kubo authored
      ext/oci8/stmt.c: refactor code to prepare character length
        semantics support.
  2. * ext/oci8/encoding.c: add new methods OCI8.nls_ratio

    kubo authored
        and OCI8.nls_ratio=. Comments for rdoc are added and
        revised for OCI8#charset_name2id, OCI8#charset_name2id=,
        OCI8.encoding and OCI8.encoding=.
    * lib/oci8.rb.in, lib/oci8/encoding-init.rb: set
        OCI8.nls_ratio on initialization.
Commits on Apr 23, 2010
  1. * ext/oci8/oranumber_util.c, test/test_oranumber.rb:

    kubo authored
        add limitted support for OraNumber's positive and negative
        infinity. They are converted to '~' and '-~' respectively
        as described in <URL:http://www.ixora.com.au/notes/infinity.htm>.
  2. * Makefile: fix wrong dependencies in Makefile when running

    kubo authored
        'make -jNNN (where NNN >= 2)'
        (contributed by Alyano Alyanos. See bug #28129 on rubyforge.)
Commits on Mar 7, 2010
  1. * ext/oci8/ocinumber.c: fix to compile on HP-UX.

    kubo authored
        Duplicate const qualifiers prevented HP-UX cc from compiling.
        (reported by Sebastian YEPES)
Commits on Feb 28, 2010
  1. * NEWS: add changes between 2.0.3 and 2.0.4.

    kubo authored
    * VERSION: change the version to 2.0.3.
    * ext/oci8/stmt.c: fix segmentation fault when OCI8::Cursor#fetch
        is called prior to OCI8::Cursor#exec.
    * ext/oci8/oci8.c: minor fix in rdoc comment.
Commits on Feb 27, 2010
  1. * lib/oci8/datetime.rb: fix a problem that fractional seconds are lost

    kubo authored
        when Time value is bound to TIMESTAMP.
        (reported by Raimonds Simanovskis)
Something went wrong with that request. Please try again.