-
Notifications
You must be signed in to change notification settings - Fork 75
/
ChangeLog
3828 lines (3220 loc) · 168 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
This file has not been not updated. See commit log at https://github.com/kubo/ruby-oci8.
2020-12-30 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.8 and 2.2.9.
* lib/oci8/version.rb: Update to 2.2.9.
* mkpkg-win32.rb: remove unmaintained ruby versions from binary gems.
2020-12-29 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oraconf.rb: Support --with-instant-client-dir along with --with-instant-client-lib/include.
(GH-223)
2020-12-29 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/hook_funcs.c: Fix hooking failure with truffleruby.
* test/test_break.rb: Fix to pass tests with truffleruby.
2020-12-28 Kubo Takehiro <kubo@jiubao.org>
* mkpkg-win32.rb: Build binary gems for ruby 3.0 on Windows.
2020-12-28 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/ocinumber.c: Suppress C compiler warning: enumeration value ‘RUBY_T_NONE’ not handled in switch
2020-09-10 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb: Fix for TruffleRuby 20.2 or before.
2020-09-08 Brandon Fish <brandon.j.fish@oracle.com>
* ext/oci8/extconf.rb, lib/oci8.rb: Handle truffleruby RUBY_ENGINE in case statements
2020-01-11 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.7 and 2.2.8.
* lib/oci8/version.rb: Update to 2.2.8.
2020-01-11 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/bind.c: Fix warning: comparison between signed and
unsigned integer expressions
2020-01-11 Kubo Takehiro <kubo@jiubao.org>
* test/README.md: Update preparation SQL statements for running tests.
2020-01-11 Kubo Takehiro <kubo@jiubao.org>
* test/test_break.rb: Check Oracle server OS where tests run
using dbms_utility.port_string. Tests in test_break.rb
failed on Windows.
2020-01-07 Kubo Takehiro <kubo@jiubao.org>
* mkpkg-win32.rb: Workarounds for compilation using ruby 2.4 and 2.6 with
latest msys2 to avoid 'undefined reference to __chk_fail'
2020-01-06 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/win32.c: Fix warnings caused by the change of rb_ensure()'s
arguments in ruby 2.7.
2019-12-16 Kubo Takehiro <kubo@jiubao.org>
* test/test_datetime.rb: Remove "require 'scanf'" to run tests with Ruby 2.7.
The 'scanf' library was removed. https://bugs.ruby-lang.org/issues/16170
2019-12-15 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oradate.c: Fix bug of OraDate.now introduced 15 years ago.
2019-12-15 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/attr.c, ext/oci8/oci8lib.c: Fix warnings caused by the
change of rb_ensure()'s arguments in ruby 2.7.
2019-06-19 Kubo Takehiro <kubo@jiubao.org>
* Merge pull request #217 from nathanbwright/patch-1
Fix spelling in install-instant-client.md
(GH-217)
2019-06-18 Nathan Wright <nathanbwright@users.noreply.github.com>
* docs/install-instant-client.md: Fix spelling in install-instant-client.md
(GH-217)
2019-04-24 Kubo Takehiro <kubo@jiubao.org>
* Merge pull request #212 from tomasjura/master
Compilation fix for Windows ( and some small cleanups )
(GH-212)
2019-04-23 Tomas Jura <tomas.jura1@gmail.com>
* ext/oci8/oci8.h: eliminate compiler warning
(GH-212)
2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
* ext/oci8/bind.c: compiler warning eliminated
(GH-212)
2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
* setup.rb: use splat operator instead dummy variables
(GH-212)
2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
* lib/oci8.rb: use fiddler instead obsolete Win32API
(GH-212)
2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
* ext/oci8/oraconf.rb: fix typo in windows compilation
(GH-212)
2019-03-23 Kubo Takehiro <kubo@jiubao.org>
* Merge pull request #210 from dminuoso/allow-custom
(Nix) Allow for specifying include/library paths
(GH-210)
2019-03-23 Victor Nawothnig <Victor.Nawothnig@gmail.com>
* ext/oci8/oraconf.rb: Fix missing support for full client
(GH-210)
2019-03-22 Victor Nawothnig <Victor.Nawothnig@gmail.com>
* ext/oci8/oraconf.rb: fixup! Allow overriding library/include paths
(GH-210)
2019-03-21 Victor Nawothnig <Victor.Nawothnig@gmail.com>
* setup.rb: Add documentation for new flags
(GH-210)
2019-03-21 Victor Nawothnig <Victor.Nawothnig@gmail.com>
* ext/oci8/oraconf.rb: Allow overriding library/include paths
(GH-210)
2019-01-06 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.6.1 and 2.2.7.
* lib/oci8/version.rb: Update to 2.2.7
2019-01-06 Kubo Takehiro <kubo@jiubao.org>
* mkpkg-win32.rb, ruby-oci8.gemspec: Build binary gems for ruby 2.6
on Windows.
2019-01-06 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8.c: Updata doc comments for OCI8#long_read_len
and OCI8#long_read_len=. These are deprecated.
2019-01-03 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/check_load_error.rb: Use fiddle instead of Win32API
to call WIN32 functions.
2019-01-03 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/check_load_error.rb: Add more error diagnostics
when 'require "oci8"' fails with "OCI.DLL: 126(The specified
module could not be found.)".
2019-01-03 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8.rb, lib/oci8/check_load_error.rb: Exclude empty
parts of PATH on Windows.
2018-12-23 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/check_load_error.rb: Check OCI.DLL archtecture
when load error. It worked for ruby installer but not
for ruby installer2.
2018-12-23 Kubo Takehiro <kubo@jiubao.org>
* docs/install-instant-client.md: Add information about
the MSVC redistributable package required by Oracle 18.3 client.
2018-09-16 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/hook_funcs.c: Fix "No shared library is found to hook." on macOS.
(oracle-enhanced issue #1768)
2018-09-11 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/object.c, lib/oci8/cursor.rb: Change the internal structure
about object type binding to use array fetching for object types.
2018-09-09 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/lob.c: Read lob data without checking readable size to
reduce number of network round trips from two to one.
2018-09-05 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/bind.c, ext/oci8/stmt.c, lib/oci8/cursor.rb,
lib/oci8/oci8.rb, test/test_oci8.rb: Use array fetching when
LOB colums are in a query and no object types are in the query.
2018-09-02 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.yml, ext/oci8/bind.c, ext/oci8/stmt.c,
lib/oci8/bindtype.rb, test/test_oci8.rb: Rewrite OCI8::BindType::Long
and OCI8::BindType::LongRaw to handle up to 2 gigabyte data using
dynamically allocated buffers.
2018-08-22 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.5.1 and 2.2.6
* lib/oci8/version.rb: Update to 2.2.6
* mkpkg-win32.rb: Don't test with self-build ruby 2.4.
2018-08-22 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8lib.c: Load a Oracle client library which doesn't have
version number suffix also on Unix when runtime-check is enabled.
Oracle version numbers are incremented yearly sice Oracle 18c.
2018-08-22 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/hook_funcs.c, ext/oci8/win32.c: Suppress warnings:
"'raise_error' defined but not used" and "'strncpy' specified
bound 512 equals destination size".
2018-08-19 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/hook_funcs.c: Not depend on Oracle version number
of Oracle client file name suffix when hooking functions.
(rsim/oracle-enhanced#1754)
* test/test_all.rb, test/test_properties.rb, dist-files:
Add tests for hooking.
2018-08-18 Kubo Takehiro <kubo@jiubao.org>
* test/test_oci8.rb: Fix to pass a test when the client is 11g
and the server is 18c. client_driver in v$session_connect_info
has an extra space at the end.
2018-08-18 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.rb, ext/oci8/apiwrap.yml, ext/oci8/oci8.c,
ext/oci8/oci8.h, lib/oci8/oci8.rb, lib/oci8/oracle_version.rb,
test/test_oci8.rb: Fix OCI8#oracle_server_version to get
full version of Oracle 18c.
2018-08-18 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/metadata.rb: Update doc comments of OCI8::Metadata::ArgBase#level
and OCI8::Metadata::ArgBase#arguments.
* test/test_package_type.rb, lib/oci8.rb: Fix to pass tests on Oracle 18c.
Detailed user-defined type information used in arguments isn't available
on Oracle 18c.
2018-08-12 Kubo Takehiro <kubo@jiubao.org>
* test/test_clob.rb: Skip TestCLob#test_github_issue_20 because it
takes 4 minutes to test it in my Linux box.
2018-08-12 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/lob.c, test/test_clob.rb: LOB#sync, LOB#sync= and LOB#flush
do nothing now. They have not worked by mistake from the beginning
because incorrect arguments has been passed to OCILobOpen().
Moreover it crashed Oracle 18c server-side processes and caused
"ORA-03113: end-of-file on communication channel."
(github issue #198)
2018-01-28 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/object.c, lib/oci8/object.rb: Add timestamp with time zone
data type support in object type attributes.
(github issue #185)
* test/setup_test_object.sql, test/test_object.rb: Add tests for
timestamp and timestamp with time zone.
2018-01-23 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/object.c, ext/oci8/oci8.h, lib/oci8/object.rb:
Add timestamp data type support in object type attributes.
(github issue #185)
2017-12-27 Kubo Takehiro <kubo@jiubao.org>
* mkpkg-win32.rb: Remove '-rubygems' in the command line to run tests.
`ubygems.rb` was removed in ruby 2.5.
2017-12-27 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.5 and 2.2.5.1
* lib/oci8/version.rb: Update to 2.2.5.1
* mkpkg-win32.rb: Build binary gems for ruby 2.5.
2017-12-27 Kubo Takehiro <kubo@jiubao.org>
* test/test_clob.rb, test/test_oci8.rb: Suppress `warning: assigned but unused variable`
2017-12-26 Yasuo Honda <yasuo.honda@gmail.com>
* circle.yml: CI with Ruby 2.5.0
(github pull request #182)
2017-12-21 Yasuo Honda <yasuo.honda@gmail.com>
* test/test_break.rb: Suppress expected exceptions tested with Ruby 2.5
(github pull request #181)
2017-12-21 Yasuo Honda <yasuo.honda@gmail.com>
* test/test_oranumber.rb: Suppress `warning: BigDecimal.new is deprecated`
(github pull request #180)
2017-10-21 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.4.1 and 2.2.5
* lib/oci8/version.rb: Update to 2.2.5
* docs/number-type-mapping.md: minor fix
* dist-files: Add files.
2017-10-18 Kubo Takehiro <kubo@jiubao.org>
* docs/number-type-mapping.md, README.md, dist-files: Add document
about the mapping between Oracle number types and Ruby classes.
2017-10-17 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/check_load_error.rb: Check error reason when loading
failed with 'The specified module could not be found' on Windows.
2017-10-17 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/check_load_error.rb: Fix LoadError while trying to check
errors in "require 'oci8lib_230.so'" on cygwin 2.8 or later.
(related to github issue #176)
2017-10-17 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/ocinumber.c, test/test_oranumber.rb:
Add OraNumber#has_fractional_part?.
2017-10-01 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/plthook_elf.c: Update plthook to use prelinked
libclntsh.so on Linux.
(github issue #172)
2017-09-27 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8lib.c: Change order to load libclntsh when runtime
api check is enabled on Unix.
2017-09-24 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8lib.c: Try to load $ORACLE_HOME/lib/libclntsh.so also
when runtime api check is enabled on Unix.
2017-09-23 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/cursor.rb: Don't call unnecessary __paramGet(i) when a
cursor is executed more than once.
(pointed by OMOTO Kenji at github issue #171)
2017-07-09 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.yml, ext/oci8/oci8.c, lib/oci8/oci8.rb:
Delete unused code using OCILogon2 and OCILogoff.
2017-07-09 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/error.c: Delete OCIError#initialize defined by C code
to suppress warning: method redefined; discarding old initialize.
(github issue #168)
2017-06-17 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.4 and 2.2.4.1
* lib/oci8/version.rb: Update to 2.2.4.1
* lib/oci8/properties.rb: Fix URL links
* docs/hanging-after-inactivity.md: Revised
2017-06-16 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb, ext/oci8/hook_funcs.c, ext/oci8/oci8lib.c:
Fix to pass compilation on cygwin.
* mkpkg-win32.rb: Add tests on cygwin.
2017-06-16 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/hook_funcs.c: Fix the calling convention of setsockopt
on Windows x86.
2017-06-11 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.3 and 2.2.4.
* lib/oci8/version.rb: update to 2.2.4.
* docs/ldap-auth-and-function-interposition.md,
docs/hanging-after-inactivity.md: updated
2017-06-08 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8.rb: Remove added dll directory after 'require oci8lib.so'.
(RubyInstaller2 for Windows only)
2017-06-06 Kubo Takehiro <kubo@jiubao.org>
* docs/hanging-after-inactivity.md: revise
* dist-files: add docs/hanging-after-inactivity.md.
2017-06-06 Kubo Takehiro <kubo@jiubao.org>
* mkpkg-win32.rb: Use RubyInstaller2 to compile binary gems for
ruby 2.4 on Windows.
2017-05-31 Kubo Takehiro <kubo@jiubao.org>
* docs/hanging-after-inactivity.md:
Add a document about tcp_keepalive and tcp_keepalive_time properties.
* README.md, docs/timeout-parameters.md, lib/oci8/properties.rb:
Add links to the TCP keepalive document.
2017-05-21 Kubo Takehiro <kubo@jiubao.org>
* docs/install-instant-client.md: Add a link to the Visual
C++ 2013 redistributable package required to use Oracle 12.2.
2017-05-08 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8.rb: Fix for RubyInstaller2 for Windows.
https://github.com/oneclick/rubyinstaller2/issues/11
2017-05-07 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oraconf.rb: Use Win32::Registry instead of Win32API
to compile ruby-oci8 on the latest cygwin.
(github issue #167)
2017-02-14 Kubo Takehiro <kubo@jiubao.org>
* test/test_connstr.rb: fix test to pass the previous commit.
2017-02-14 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/hook_funcs.c, ext/oci8/oci8.c, ext/oci8/oci8.h,
lib/oci8/oci8.rb, lib/oci8/properties.rb:
Add tcp_keepalive options to OCI8.properties.
2017-01-14 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/env.c, ext/oci8/error.c, ext/oci8/oci8.h,
ext/oci8/oci8lib.c: Fix memory leaks when `require 'oci8'` raises a LoadError.
2017-01-08 Kubo Takehiro <kubo@jiubao.org>
* docs/install-binary-package.md, docs/install-instant-client.md:
Update documents for installation on Windows.
2017-01-07 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8lib.c: If libclntsh.so exports and imports same
functions, their PLT entries are forcedly modified to point
to itself not to use functions in other libraries.
(Only on Linux and macOS)
* README.md, docs/ldap-auth-and-function-interposition.md:
Add document about "LDAP Authentication and Function Interposition."
2016-12-28 Yavor Nikolov <nikolov.javor@gmail.com>
* README.md: add build status and Gem version badges
(merged at 2016-12-29)
2016-12-28 Yavor Nikolov <nikolov.javor@gmail.com>
* README.md: add title, demote sections to H2
(merged at 2016-12-29)
2016-12-28 Yavor Nikolov <nikolov.javor@gmail.com>
* lib/oci8/cursor.rb: Fix misleading cursor.bind_param header comment
Reword an obsolete description of bind_param - since currently there is no
restriction for Bignum nor for very large Integer values.
(merged at 2016-12-29)
2016-12-27 Yavor Nikolov <nikolov.javor@gmail.com>
* dist-files, test/test_all.rb, test/test_bind_integer.rb:
Tests for binding integer cursor in parameters
Add tests for binding a range of small and large integer variables
directly (not through OraNumber).
(merged at 2016-12-29)
2016-12-26 Yavor Nikolov <nikolov.javor@gmail.com>
* circle.yml, cisetup/create_ruby_user.sql, cisetup/oracle/download.sh,
cisetup/oracle/install.sh, cisetup/setup_accounts.sh:
Add Circle CI build
(merged at 2016-12-28)
2016-12-26 Yavor Nikolov <nikolov.javor@gmail.com>
* test/test_oci8.rb: Fix date/time test (expected time timezone).
Time.now offset leads to unstable test due to DST sensitivity.
The solution is to take the offset of the specific local date/time.
(merged at 2016-12-28)
2016-12-25 Koichi ITO <koic.ito@gmail.com>
* ext/oci8/encoding.c, ext/oci8/oci8.c, ext/oci8/ocihandle.c
ext/oci8/oraconf.rb, ext/oci8/oradate.c, ext/oci8/stmt.c
lib/oci8/cursor.rb: Integer Unification in Ruby 2.4.0+
(merged at 2016-12-29)
2016-12-27 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.2 and 2.2.3.
* lib/oci8/version.rb: update to 2.2.3.
* dist-files: add test/test_bind_array.rb
* mkpkg-win32.rb: add path to ruby 2.4.0
2016-12-26 Kubo Takehiro <kubo@jiubao.org>
* test/test_clob.rb, test/test_metadata.rb, test/test_object.rb,
test/test_oci8.rb, test/test_package_type.rb: Suppress warnings:
"Use assert_nil if expecting nil from ... in `...' This will
fail in MT6" printed by Minitest.
2016-12-26 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/bindtype.rb, lib/oci8/compat.rb, lib/oci8/oci8.rb,
test/config.rb: Suppress "warning: constant ::Fixnum is deprecated"
and "warning: constant ::Bignum is deprecated" due to integer
unification in ruby 2.4.0.
2016-12-14 Koichi ITO <koic.ito@gmail.com>
* ext/oci8/ocinumber.c: Fix invalid value for BigDecimal in
Ruby 2.4.0+
2016-09-25 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/metadata.c, ext/oci8/oci8.c: Fix load error when
GC.stress = true.
2016-09-11 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8.h: Suppress 'warning: "ALWAYS_INLINE" redefined' when
compiled for ruby 2.4.0-preview2.
2016-05-28 Kubo Takehiro <kubo@jiubao.org>
* docs/install-on-osx.md: Update installation document about OS X again.
2016-05-28 Kubo Takehiro <kubo@jiubao.org>
* docs/install-on-osx.md: Update installation document about OS X.
2016-04-24 Kubo Takehiro <kubo@jiubao.org>
* mkpkg-win32.rb: Added to compile mingw32 packages.
* dist-files: Updated to include docs/report-installation-issue.md.
2016-04-24 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.1 and 2.2.2.
* lib/oci8/version.rb: update to 2.2.2.
2016-04-24 Kubo Takehiro <kubo@jiubao.org>
* docs/report-installation-issue.md: Use RbConfig::CONFIG instead of
deprecated Config::CONFIG.
2016-04-24 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/oci8.rb: Add OCI8::in_cond and OCI8:InCondBindHelper.
* test/test_all.rb, test/test_bind_array.rb: Add test of OCI8::in_cond.
* README.md, docs/bind-array-to-in_cond.md: Add document of OCI8::in_cond.
2016-04-10 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/connection_pool.rb: update document.
2016-03-27 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/object.rb: Suppress warning: instance variable
@name_to_tdo not initialized.
2016-03-27 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.yml, ext/oci8/metadata.c, ext/oci8/object.c,
ext/oci8/oci8.h, lib/oci8/object.rb, test/setup_test_object.sql,
test/test_object.rb: Check object type from each object instance
when an Oracle object is got from a bind parameter.
(github issue #119)
2016-03-27 Kubo Takehiro <kubo@jiubao.org>
* lib/ruby-oci8.rb: Added for 'Bundler.require'.
(github issue #114)
* dist-files: Add lib/ruby-oci8.rb.
2016-03-27 Kubo Takehiro <kubo@jiubao.org>
* README.md, docs/timeout-parameters.md, lib/oci8/oci8.rb:
Update documents about timeout parameters.
2016-03-18 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oraconf.rb: Fix for mswin64.
2016-03-15 Kubo Takehiro <kubo@jiubao.org>
* docs/conflicts-local-connections-and-processes.md: Add a document
about conflicts between local connections and child process
handling on Unix.
* README.md: Add a link to a newly added file.
2016-03-13 Kubo Takehiro <kubo@jiubao.org>
* ruby-oci8.gemspec: Change the license name in gemspec to suppress the
following warning.
WARNING: license value '2-clause BSD-style license' is invalid.
Use a license identifier from http://spdx.org/licenses or 'Nonstandard'
for a nonstandard license.
2016-01-29 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/oci8.rb, lib/oci8/properties.rb: Rename outbound_connect_timeout in
OCI8::properties to connect_timeout.
* docs/timeout-parameters.md: Revise document.
2015-12-20 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/cursor.rb: Use OCI_ATTR_UB8_ROW_COUNT to get the number of processed rows
if Oracle client version is 12c or upper.
2015-12-20 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/oci8.rb, lib/oci8/properties.rb, test/test_connstr.rb:
Support tcp_connect_timeout, connect_timeout, send_timeout and
recv_timeout in OCI8::properties.
* .yardopts, dist-files, docs/timeout-parameters.md: Add document
about timeout parameters.
2015-12-19 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/oci8.rb, lib/oci8/ocihandle.rb: Support SYSBACKUP, SYSDG
and SYSKM privileges.
(github issue #110)
2015-12-19 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/plthook_win32.c: Fix bug introduced by the previous commit
for mingw32 64-bit compiler.
(github issue #113)
2015-12-18 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/plthook_win32.c, ext/oci8/extconf.rb: Import the latest
plthook_win32.c for cygwin. Ruby-oci8 had not been compiled on
cygwin since 2.1.8.
(github issue #113)
2015-12-18 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oraconf.rb: Fix a linkage error on cygwin and mingw32
when installing without `--with-runtime-check`.
This bug was introduced in ruby-oci8 2.2.1.
(github issue #113)
2015-11-28 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oraconf.rb: Check the default value of DYLD_FALLBACK_LIBRARY_PATH
after checking OCI_DIR. (OS X only)
2015-11-01 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.0.2 and 2.2.1.
* lib/oci8/version.rb: update to 2.2.1.
2015-11-01 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb, ext/oci8/oci8.h: Delete unnecessary checks.
* ext/oci8/oraconf.rb: Reduce time to build an import library on
Mingw32 and Cygwin.
2015-11-01 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/oci8.rb: delete code for Oracle 8i.
2015-10-26 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8lib.c: Fix handle leaks when OCI8#ping is used and
the Oracle client version is 10gR1.
This bug was introduced in ruby-oci8 2.2.0.
2015-10-26 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8lib.c: Revive code dropped in ruby-oci8 2.2.0.
This prevents potential SEGV on ruby process termination.
2015-10-26 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/ocinumber.c: Drop code for ruby 1.8.
Rational has been a built-in type since ruby 1.9.
2015-10-20 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/bind.c, lib/oci8/bindtype.rb, test/test_all.rb,
test/test_bind_boolean.rb: Support boolean type binding.
2015-10-19 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.yml: Delete unused OCI function definitions.
2015-10-19 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb: Use macros OCI_MAJOR_VERSION and OCI_MINOR_VERSION
in oci.h to check the target Oracle client version.
2015-10-12 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.0.1 and 2.2.0.2.
2015-10-12 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/version.rb: Update the version to 2.2.0.2 to
release binary gems for mingw32.
2015-10-11 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.2.0 and 2.2.0.1.
* docs/install-on-osx.md: Fix indent width.
* lib/oci8/version.rb: update to 2.2.0.1.
2015-10-11 Kubo Takehiro <kubo@jiubao.org>
* docs/osx-install-dev-tools.png: added.
* docs/install-on-osx.md: fix "Install C compiler."
* README.md: Use documents in rubydoc.info as homepage.
2015-10-10 Kubo Takehiro <kubo@jiubao.org>
* ruby-oci8.gemspec: Change the required_ruby_version from '>= 1.8.0'
to '>= 1.9.1'.
(github issue #96)
2015-10-06 Kubo Takehiro <kubo@jiubao.org>
* README.md: Add notice that ruby 1.8 is not supported.
* README.md, ext/oci8/oraconf.rb: Change links to ruby-oci8 documents.
They had referred docs generated from the latest gem. They were
updated only when a new version was released. Now they refers
to docs generated from the latest github repository. They are
updated for each commits.
2015-10-05 Kubo Takehiro <kubo@jiubao.org>
* docs/install-on-osx.md: Merge GH-97: Fix small typo in NEWS file.
2015-10-04 Kubo Takehiro <kubo@jiubao.org>
* NEWS: Add changes between 2.1.8 and 2.2.0.
2015-10-04 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8lib.c: Fix compilation errors when --with-runtime-check
is passed to extconf.rb.
2015-10-04 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.yml, ext/oci8/stmt.c: Use OCIStmtPrepare2 as
a local function, which doesn't require a server round-trip.
Local functions are executed without releasing the GVL.
2015-10-04 Kubo Takehiro <kubo@jiubao.org>
* docs/install-on-osx.md: Add notice that OCI_DIR is necessary
when Homebrew is installed outside /usr/local.
* README.md: Add a link to install-on-osx.md.
2015-10-03 Kubo Takehiro <kubo@jiubao.org>
* docs/install-on-osx.md: Merge GH-95: Add OCI_DIR export to
Homebrew Installation Steps
2015-09-29 Kubo Takehiro <kubo@jiubao.org>
* docs/install-on-osx.md, .yardopts: Add a new file for
installation on OS X.
* docs/install-instant-client.md: Delete installation steps
on OS X.
2015-09-26 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/check_load_error.rb: Refactoring.
2015-09-26 Kubo Takehiro <kubo@jiubao.org>
* ext/dist-files, ext/oci8/extconf.rb, ext/oci8/oci8.h,
ext/oci8/oci8lib.c, ext/oci8/osx.c: Revert the previous commit.
2015-09-19 Kubo Takehiro <kubo@jiubao.org>
* ext/dist-files, ext/oci8/extconf.rb, ext/oci8/oci8.h,
ext/oci8/oci8lib.c, ext/oci8/osx.c: Intercept dlopen issued
by libclntsh.dylib to make OCIEnvCreate() work without
setting rpath to ruby itself.
** This commit was reverted. **
2015-09-19 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oraconf.rb: Use OCI_DIR environmant variable also
to check instant client directory on OS X.
(github issue #89)
2015-09-19 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8.h: Define STRINGIZE macro for rubinius.
2015-09-19 Kubo Takehiro <kubo@jiubao.org>
* README.md: Update supported Oracle version.
* dist-files: Add lib/oci8/check_load_error.rb.
* ext/oci8/extconf.rb: Reduce the number of #define values.
2015-09-17 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/oci8.rb: Change the driver name displayed in
V$SESSION_CONNECT_INFO.CLIENT_DRIVER from "rubyoci8 : VERSION" to
"ruby-oci8 : VERSION".
* test/test_oci8.rb: Fix a test checking the driver name.
(github issue #93)
2015-09-13 Kubo Takehiro <kubo@jiubao.org>
* NEWS, docs/report-installation-issue.md, ext/oci8/oraconf.rb,
lib/oci8/properties.rb, ruby-oci8.gemspec: Fix links to rubyforge.
2015-09-13 Kubo Takehiro <kubo@jiubao.org>
* ruby-oci8.gemspec: Use Kernel.load instead of load not to use Gem::Specification.load.
2015-09-13 Kubo Takehiro <kubo@jiubao.org>
* .gitignore: Ignore ext/oci8/*.bundle.
2015-09-12 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/lob.c: Add notice that OCI8::LOB is an I/O object and is closed
when a associating connection is closed.
2015-09-12 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/oci8.rb: Add ruby-oci8 version to
V$SESSION_CONNECT_INFO.CLIENT_DRIVER for Oracle 12.1.0.2 or later.
(suggested by Christopher Jones)
2015-08-24 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.yml, ext/oci8/lob.c: Support LOB whose size is
over 4G.
2015-08-23 Kubo Takehiro <kubo@jiubao.org>
* dist-files: Add ext/oci8/util.c.
2015-07-12 Kubo Takehiro <kubo@jiubao.org>
* docs/install-instant-client.md: Add instant client installation
instructions on OS X using homebrew.
2015-07-12 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8.rb: Check DYLD_FALLBACK_LIBRARY_PATH also on
installation. (OS X only)
2015-07-11 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/error.c, ext/oci8/extconf.rb, ext/oci8/oci8.h,
ext/oci8/oci8lib.c, ext/oci8/util.c, ext/oci8/win32.c,
lib/oci8/encoding-init.rb: Delete OCI8::Win32Util.dll_path
and add OCI8::Util.dll_path, which works on Linux, Solaris,
OS X and HP-UX in addition to Windows.
2015-06-26 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8.rb, lib/oci8/check_load_error.rb: Check the message of
LoadError and raise more user-friendly message.
2015-06-23 Kubo Takehiro <kubo@jiubao.org>
* ruby-oci8.gemspec: Load oci8/version.rb temporarily and delete OCI8.
Some 'bundler' tasks load 'ruby-oci8.gemspec' before 'require "oci8"'
and fail with 'TypeError: superclass mismatch for class OCI8.'
(github issue #80)
2015-06-21 Kubo Takehiro <kubo@jiubao.org>
* ruby-oci8.gemspec: Use ruby-oci8 version in lib/oci8/version.rb
instead of VERSION file to generate gem.
(github issue #79)
2015-06-21 Kubo Takehiro <kubo@jiubao.org>
* Makefile, dist-files, ext/oci8/extconf.rb, ext/oci8/oci8.c: Use
ruby-oci8 version in lib/oci8/version.rb instead of VERSION file.
* VERSION: Deleted
* lib/oci8/version.rb: Added
* lib/oci8.rb, lib/oci8.rb.in: Renamed lib/oci8.rb to lib/oci8.rb.in.
2015-06-21 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/encoding-init.rb: Get Oracle client charset name from
the environment handle instead of NLS_LANG.
2015-06-20 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8.h: Fix a compilation error.
2015-06-20 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/oci8.rb: Change the default prefetch rows size 100.
2015-06-20 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb: Delete an object file created by extconf.rb
before compilation.
(github issue #75)
2015-06-20 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.yml, ext/oci8/stmt.c:
Delete unreachable code which was created when Oracle 9i support was dropped.
2015-05-24 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/encoding.c: Add OCI8.charset_name2id and OCI8.charset_id2name.
Mark OCI8#charset_name2id and OCI8#charset_id2name as deprecated.
2015-05-23 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/bind.c, ext/oci8/encoding.c, ext/oci8/error.c, ext/oci8/oci8.c,
ext/oci8/oci8lib.c, ext/oci8/ocidatetime.c, ext/oci8/stmt.c,
lib/oci8/metadata.rb, lib/oci8/properties.rb:
Drop Oracle 9i support.
2015-05-22 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/apiwrap.c.tmpl, ext/oci8/encoding.c, ext/oci8/env.c,
ext/oci8/extconf.rb, ext/oci8/lob.c, ext/oci8/oci8.c, ext/oci8/oci8.h,
ext/oci8/oci8lib.c, ext/oci8/ocinumber.c, ext/oci8/thread_util.c,
ext/oci8/thread_util.h, lib/oci8/bindtype.rb, lib/oci8/encoding-init.rb,
lib/oci8/oci8.rb: Drop ruby 1.8 support.
2015-04-04 Kubo Takehiro <kubo@jiubao.org>
* NEWS: add changes between 2.1.7 and 2.1.8.
* VERSION: update to 2.1.8.
* dist-files: add new files.
2015-04-04 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb, ext/oci8/oci8.h: Add a macro for old rubies which
don't have rb_str_set_len().
* ext/oci8/hook_funcs.c: Suppress a warning.
2015-04-04 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/lob.c: Increase the buffer size to read a LOB.
2015-04-04 Kubo Takehiro <kubo@jiubao.org>
* docs/install-instant-client.md, ext/oci8/lob.c, ext/oci8/metadata.c,
ext/oci8/oci8.c: Update documents for YARD.
2015-04-02 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/lob.c: Fix SEGV when a temporary LOB is freed by GC
while reading another lob and the ruby version is 2.0.0 or
upper.
2015-03-01 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/cursor.rb, lib/oci8/properties.rb:
Fix errors while generating documents by yard such as
"Exception occurred while generating 'OCI8/Cursor.html'."
2015-03-01 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8.c, ext/oci8/oci8.h: Rollback transactions on
logoff only when the transactions are in progress.
2015-01-27 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/ocihandle.c, ext/oci8/ocinumber.c, ext/oci8/oradate.c,
ext/oci8/stmt.c: Suppreess warnings: "[warn]: @param tag has unknown parameter name: xxx"
by yard.
2015-01-20 Kubo Takehiro <kubo@jiubao.org>
* lib/oci8/oci8.rb: Add OCI8#send_timeout, OCI8#send_timeout=,
OCI8#recv_timeout and OCI8#recv_timeout=.
2015-01-20 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/hook_funcs.c, ext/oci8/oci8.c, ext/oci8/oci8.h:
Fix for cancel_read_at_exit on Windows.
2015-01-20 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8.c, ext/oci8/oci8lib.c, lib/oci8/properties.rb:
Add OCI8.properties[:cancel_read_at_exit].
2015-01-20 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb, ext/oci8/hook_funcs.c, ext/oci8/oci8.c,
ext/oci8/oci8.h, ext/oci8/oci8lib.c, ext/oci8/plthook.h,
ext/oci8/plthook_elf.c, ext/oci8/plthook_osx.c,
ext/oci8/plthook_win32.c: Cancel read system calls at exit
not to block ruby process termination.
This works on Linux, OSX and Windows Vista or upper.
(github issue #56)
2015-01-12 Kubo Takehiro <kubo@jiubao.org>
* README.md: Fix a broken link.
(github issue #67 reported by Zloy)
2014-12-30 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/lob.c, ext/oci8/oci8lib.c: Revise type checking of LOB.
2014-12-30 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/bind.c, ext/oci8/connection_pool.c, ext/oci8/lob.c,
ext/oci8/metadata.c, ext/oci8/object.c, ext/oci8/oci8.c, ext/oci8/oci8.h,
ext/oci8/oci8lib.c, ext/oci8/ocihandle.c, ext/oci8/stmt.c:
Add oci8_check_typeddata() and use it instead of oci8_get_handle()
and oci8_get_bind().
2014-12-30 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oradate.c: Add check_oradate() to check datatype.
2014-12-30 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/lob.c, ext/oci8/metadata.c, ext/oci8/object.c, ext/oci8/stmt.c:
Add more write barriers.
2014-12-29 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/bind.c, ext/oci8/connection_pool.c, ext/oci8/lob.c,
ext/oci8/metadata.c, ext/oci8/object.c, ext/oci8/oci8.c, ext/oci8/oci8.h
ext/oci8/oci8lib.c, ext/oci8/ocidatetime.c, ext/oci8/ocihandle.c,
ext/oci8/ocinumber.c, ext/oci8/oradate.c, ext/oci8/stmt.c:
Use rb_data_type_t as the base type of oci8_handle_data_type_t.
2014-12-29 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/bind.c, ext/oci8/connection_pool.c, ext/oci8/lob.c,
ext/oci8/metadata.c, ext/oci8/object.c, ext/oci8/oci8.c, ext/oci8/oci8.h
ext/oci8/oci8lib.c, ext/oci8/ocidatetime.c, ext/oci8/ocihandle.c,
ext/oci8/ocinumber.c, ext/oci8/oradate.c, ext/oci8/stmt.c:
Rename vtable and vptr to data_type.
2014-12-29 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/bind.c, ext/oci8/connection_pool.c, ext/oci8/lob.c,
ext/oci8/metadata.c, ext/oci8/object.c, ext/oci8/oci8.c, ext/oci8/oci8.h
ext/oci8/oci8lib.c, ext/oci8/ocidatetime.c, ext/oci8/ocihandle.c,
ext/oci8/ocinumber.c, ext/oci8/oradate.c, ext/oci8/stmt.c:
Add oci8_allocate_typeddata() and use it to allocate OCI objects.
2014-12-23 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/connection_pool.c, ext/oci8/metadata.c, ext/oci8/object.c,
ext/oci8/oci8.c, ext/oci8/oci8.h, ext/oci8/oci8lib.c, ext/oci8/ocihandle.c
ext/oci8/ocinumber.c, ext/oci8/oradate.c, ext/oci8/stmt.c:
Add write barriers to use generational GC.
2014-12-23 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/oci8.h, ext/oci8/oci8lib.c, ext/oci8/ocihandle.c,
ext/oci8/ocinumber.c, ext/oci8/oradate.c:
Use TypedData on ruby 1.9.3 and later.
2014-12-22 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb, ext/oci8/stmt.c: Don't use SYM2ID on ruby 2.2.0
or later. Symbols passed to SYM2ID are not GC'ed.
2014-12-21 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/bind.c, ext/oci8/object.c, ext/oci8/oci8.h, ext/oci8/oci8lib.c,
ext/oci8/ocidatetime.c, ext/oci8/ocihandle.c, ext/oci8/ocinumber.c:
Use RARRAY_AREF and RARRAY_CONST_PTR for Generational GC.
2014-12-06 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/connection_pool.c, ext/oci8/lob.c, ext/oci8/oci8.c,
ext/oci8/stmt.c: Fix "RuntimeError:executing in another thread"
when a closed connection is used. This bug was introduced by
the previous commit.
(github issue #64 reported by Yasuo Honda)
2014-11-16 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/attr.c, ext/oci8/bind.c, ext/oci8/connection_pool.c,
ext/oci8/lob.c, ext/oci8/metadata.c, ext/oci8/object.c,
ext/oci8/oci8.c, ext/oci8/oci8.h, ext/oci8/oci8lib.c,
ext/oci8/ocihandle.c, ext/oci8/stmt.c:
Raises an exception when a closed OCI8 object is used.
Using a closed cursor causes various problems such as segmentation
fault, nil comparison error and so on.
(github issue #61 and #62 reported by Mike Bourgeous)
2014-02-02 Kubo Takehiro <kubo@jiubao.org>
* NEWS: add changes between 2.1.7 and 2.1.6.
* VERSION: change the version to 2.1.7.
2014-01-25 Kubo Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb, lib/oci8.rb.in: Follow ABI versioning after ruby 2.1.0.
2014-01-19 Kubo Takehiro <kubo@jiubao.org>
* docs/install-full-client.md, docs/install-instant-client.md: Change down
load URL and filenames in examples.
2014-01-06 Kubo Takehiro <kubo@jiubao.org>
* README.md, docs/install-full-client.md, docs/install-instant-client.md,
docs/report-installation-issue.md, ext/oci8/oraconf.rb, ruby-oci8.gemspec:
Move the project page and download URL to github.
2014-01-05 KUBO Takehiro <kubo@jiubao.org>
* ext/oci8/metadata.c, ext/oci8/oci8.h, lib/oci8/metadata.rb:
Fix OCI8#describe_table to follow synonyms in a remote database.
Add OCI8::Metadata::Base#obj_link.
2013-12-29 KUBO Takehiro <kubo@jiubao.org>
* NEWS: add changes between 2.1.6 and 2.1.5.
* VERSION: change the version to 2.1.6.
2013-12-28 KUBO Takehiro <kubo@jiubao.org>
* ext/oci8/oraconf.rb: fix for Windows x64. OCI.lib for MSVC doesn't
work with mingw64 compilers. fix URL in the error message.
2013-12-14 KUBO Takehiro <kubo@jiubao.org>
* lib/oci8/metadata.rb, test/test_metadata.rb: fix
OCI8::Metadata::Synonym#schema_name and #translated_name
for synonyms with a database link and without schema_name.
2013-12-14 KUBO Takehiro <kubo@jiubao.org>
* test/*.rb: suppress warnings "MiniTest::Unit::TestCase is now Minitest::Test"
when minitest gem is installed.
2013-12-14 KUBO Takehiro <kubo@jiubao.org>
* test/test_metadata.rb: fix tests in an environment where
the data size of "CAST('1' AS CHAR(1 char))" is wrong.
2013-11-18 KUBO Takehiro <kubo@jiubao.org>
* ext/oci8/oraconf.rb: support cygwin x86_64.
2013-11-10 KUBO Takehiro <kubo@jiubao.org>
* ext/oci8/error.c, ext/oci8/lob.c, ext/oci8/object.c, ext/oci8/oci8.h,
ext/oci8/oci8lib.c, ext/oci8/ocihandle.c, ext/oci8/stmt.c:
use rb_class_new_instance() instead of rb_funcall() with rb_intern("new").
2013-11-09 KUBO Takehiro <kubo@jiubao.org>
* ext/oci8/error.c, ext/oci8/extconf.rb, ext/oci8/oci8.h:
append the full path of the Oracle client library when OCIEnvCreate
is failed such as "OCI Library Initialization Error - /path/to/libclntsh.so.12.1".
2013-11-09 KUBO Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb, lib/oci8.rb.in: support rubinius 2.x whose
RUBY_VERSION is 2.1.0.
* ext/oci8/oraconf.rb: reduce the size of libOCI.a created for cygwin.
2013-11-09 KUBO Takehiro <kubo@jiubao.org>
* ext/oci8/extconf.rb, lib/oci8.rb.in: support ruby 2.1.0-preview1.
(requested by Yasuo Honda)
2013-08-24 KUBO Takehiro <kubo@jiubao.org>
* ext/oci8/oraconf.rb: Use Dir.glob to find the Oracle instant client
NLS data file. Its name depends on the Oracle major version on
Windows.
2013-08-03 KUBO Takehiro <kubo@jiubao.org>
* lib/oci8/metadata.rb: fix undefined method 'char_used?' when
OCI8::Metadata::Argument#inspect is called.
* test/test_metadata.rb: refactor and add tests for #inspect methods.
* test/test_package_type.rb: add some test data.