2016-09-28

tclJBlend

tclJBlend

a fork of TclBlend, a Tcl extension that uses JNI to communicate with a Java interpreter.



在今天 Wiki 更新資訊以後,有提供一個 binary 檔案, 所以我有下載來測試看看。同時我也更新了 TDBCJDBC 來進行簡單的測試。


2016-10-02 更新
我發現我是個豬頭,所以更新了對於 TclBlend 與 TclJBlend 的判斷方式。

簡單的說一開始我的寫法是錯的(檢查的環境變數並不正確),但是如果 TclBlend 和 TclJBlend 是共存的,那麼我還是可以正確的啟動 TDBCJDBC,也就是我的檢查方式並不正確,只是我以為我寫的是對的。

今天我在整理環境的時候發現錯誤,研究了 jtclsh 的寫法以後,更新了要檢查的環境變數,然後也整個刪掉以後再重建 TDBCJDBC 的 repository。

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.

Main 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.

      Main 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。