2016-09-21

GO and Tcl

gothic - Tcl/Tk Go bindings
Example of a Tcl extension in Go


在 Tcler's Wiki 上有人新增加了一些 GO 與 Tcl 的資料,我做一下記錄。其中 gothic 是從 GO 呼叫 Tcl/Tk。

Tclunqlite v0.3

檔案放置網頁


Tclunqlite

About

This is the UnQLite extension for Tcl using the Tcl Extension Architecture (TEA).

UnQLite is a in-process software library which implements a self-contained, serverless, zero-configuration, transactional NoSQL (Key/Value store and Document-store) database engine. This extension provides an easy to use interface for accessing UnQLite database files from Tcl.

Maing Change

    1. Merge code to fix UnQLite bug (port bug fixes from vedis)
    2. Enable multi-thread mutex for memory allocation, fix page ref bug
    3. Change create and exists collection logic
    4. Identify null and empty string of json value

      說明


      UnQLite amalgamed version 有些修正沒有 merge 進去,我參考 github 上的 source code merge 進來這些修正。

      2016-09-13

      Tclunqlite v0.2.8

      檔案放置網頁


      Tclunqlite

      About

      This is the UnQLite extension for Tcl using the Tcl Extension Architecture (TEA).

      UnQLite is a in-process software library which implements a self-contained, serverless, zero-configuration, transactional NoSQL (Key/Value store and Document-store) database engine. This extension provides an easy to use interface for accessing UnQLite database files from Tcl.

      Maing Change

      1. Add doc_update_record method
      2. Update UnQLite source code: add db_record_update method

      說明


      更新 source code,加入 UnQLite 這一段時間以來的變更。同時加入新的 method doc_update_record 來反應 source code 的變化。

      2016-09-12

      tclcubrid v0.7

      Source code:
      tclcubrid


      About:

      CUBRID is an open source SQL-based relational database management system with object extensions developed by Naver Corporation for web applications.

      tclcubrid is a Tcl extension by using CUBRID CCI (CCI Client Interface) driver to connect CUBRID. I write this extension to research CUBRID and CCI (CCI Client Interface) driver.


      Main changelog:
      1. TDBC "tdbc::cubrid::connection create" parameters changed
        It is an INCOMPATIBILITY change! User maybe need update source code.
      2. cubrid HANDLE add parameter -property
        It is a POTENTIAL INCOMPATIBILITY change!
      3. Using cci_connect_with_url_ex to replace cci_connect_ex

      更新 source code,使用 cci_connect_with_url_ex 取代 cci_connect_ex,並且加入相關部份的變化。

      稍微閱讀 CUBRID HA 的文件以後,發現 CUBRID client 的部份使用  cci_connect_with_url_ex 來傳遞與 HA 有關的參數,雖然我不知道我的實作是不是適用,但是還是先改成使用 cci_connect_with_url_ex 來連線。

      tclcubrid v0.6

      Source code:
      tclcubrid


      About:

      CUBRID is an open source SQL-based relational database management system with object extensions developed by Naver Corporation for web applications.

      tclcubrid is a Tcl extension by using CUBRID CCI (CCI Client Interface) driver to connect CUBRID. I write this extension to research CUBRID and CCI (CCI Client Interface) driver.


      Main changelog:

      1. Add last_insert_id method

      當使用 AUTO_INCREMENT 的時候,可以用來查詢最後一個增加的 id。如果傳回來的是空字串,我目前是用傳回 0 來處理(不太確定這是不是正確的處理方式)。

      2016-09-01

      tclcubrid v0.5

      Source code:
      tclcubrid


      About:

      CUBRID is an open source SQL-based relational database management system with object extensions developed by Naver Corporation for web applications.

      tclcubrid is a Tcl extension by using CUBRID CCI (CCI Client Interface) driver to connect CUBRID. I write this extension to research CUBRID and CCI (CCI Client Interface) driver.


      Main changelog:
      1. TDBC: let user can use -isolation option when create a connection handle
      2. Update README.md

      更新 tdbc::cubrid,加入 -isolation option,讓使用者可以在建立連線時設定 isolation level。

      PS.
      更新,因為我發現我在 commit 出現很蠢的錯誤,所以刪除掉 github 上的 repository 重新建立了一個,版本則一樣是 v0.5。

      tclmonetdb v0.8

      Homepage


      tclmonetdb

      About


      tclmonetdb is a Tcl extension by using MAPI library to connect MonetDB.

      一些說明


      1. TDBC: fix infinite loop issue when using allrows and UPDATE statement
      2. Update test cases
      修正一個問題,就是 allrows method 當使用者使用 UPDATE 來更新資料庫的時候,會有無窮迴圈的問題。

      2016-08-31

      tclcubrid v0.4

      Source code:
      tclcubrid


      About:

      CUBRID is an open source SQL-based relational database management system with object extensions developed by Naver Corporation for web applications.

      tclcubrid is a Tcl extension by using CUBRID CCI (CCI Client Interface) driver to connect CUBRID. I write this extension to research CUBRID and CCI (CCI Client Interface) driver.


      Main changelog:
      1. Update test cases
      2. Update README.md


      原始碼並沒有更動,只有更新 test cases,加入更多基本測試。

      2016-08-18

      tclcubrid v0.3

      Source code:
      tclcubrid


      About:

      CUBRID is an open source SQL-based relational database management system with object extensions developed by Naver Corporation for web applications.

      tclcubrid is a Tcl extension by using CUBRID CCI (CCI Client Interface) driver to connect CUBRID. I write this extension to research CUBRID and CCI (CCI Client Interface) driver.


      Main changelog:

      1. Add sequence type support
      2. Add set type support


      嘗試加入更多 type 的支援。

      2016-08-17

      tclcubrid v0.2

      Source code:
      tclcubrid


      About:

      CUBRID is an open source SQL-based relational database management system with object extensions developed by Naver Corporation for web applications.

      tclcubrid is a Tcl extension by using CUBRID CCI (CCI Client Interface) driver to connect CUBRID. I write this extension to research CUBRID and CCI (CCI Client Interface) driver.


      Main changelog:
      1. Using cci_connect_ex to replace cci_connect_3_0 method
      2. Add monetary type support
      3. Add enum type support


      替換使用的 method,改為使用 cci_connect_ex。並且嘗試加入更多 type 的支援。