Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge pull request #268 from ianlancetaylor/handle | mattn | 2016-01-31 | 2 | -5/+52 | |
|\ \ \ | |/ / |/| | | callback: use handles rather than passing Go pointers | |||||
| * | | callback: use handles rather than passing Go pointers | Ian Lance Taylor | 2016-01-29 | 2 | -5/+52 | |
|/ / | | | | | | | | | | | | | | | | | The cgo pointer passing rules forbid passing a Go pointer to C if that pointer points to memory containing other Go pointers. This is true even if the Go pointer is converted to uintptr. This change fixes the code to use a handle instead, and to look up the handle in the callback function. | |||||
* | | Merge pull request #266 from tcyrus/patch-1 | mattn | 2016-01-29 | 1 | -2/+3 | |
|\ \ | | | | | | | Update README.md | |||||
| * | | Update README.md | Timothy Cyrus | 2016-01-28 | 1 | -2/+3 | |
|/ / | | | | | Changed PNG Badges to SVG and Added GoDoc Badge | |||||
* | | Upgrade sqlite amalgamation to latest 3.10.2 | Vladimir Timofeev | 2016-01-22 | 2 | -11/+15 | |
| | | ||||||
* | | Upgrade sqlite amalgamation to latest 3.10.1 | Vladimir Timofeev | 2016-01-22 | 3 | -15430/+54892 | |
| | | ||||||
* | | Merge pull request #262 from keybase/master | mattn | 2015-12-30 | 1 | -1/+1 | |
|\ \ | | | | | | | Fix compile for old mingw32 | |||||
| * | | Fix compile for old mingw32 | Taru Karttunen | 2015-12-30 | 1 | -1/+1 | |
| | | | ||||||
* | | | avoid cgoCheckPointer. ref https://github.com/golang/go/issues/12416 | Yasuhiro Matsumoto | 2015-12-30 | 1 | -2/+16 | |
|/ / | ||||||
* | | Merge pull request #252 from marcelolima/master | mattn | 2015-11-06 | 1 | -1/+1 | |
|\ \ | | | | | | | Fix README project address | |||||
| * | | Fix README project address | Marcelo Lima | 2015-11-06 | 1 | -1/+1 | |
|/ / | ||||||
* | | Merge pull request #251 from larsmans/fixes | mattn | 2015-11-03 | 2 | -23/+23 | |
|\ \ | | | | | | | Clean up tempfiles in tests | |||||
| * | | Clean up tempfiles in tests | Lars Buitinck | 2015-11-03 | 2 | -23/+23 | |
|/ / | | | | | | | "go test" leaves no more clutter in /tmp. | |||||
* | | Merge branch 'master' of https://github.com/mattn/go-sqlite3 | Yasuhiro Matsumoto | 2015-11-02 | 3 | -14/+38 | |
|\ \ | ||||||
| * \ | Merge pull request #243 from augustoroman/master | mattn | 2015-11-02 | 2 | -14/+34 | |
| |\ \ | | | | | | | | | Store/retrieve timezones for time.Time values. | |||||
| | * | | Store/retrieve timezones for time.Time values. | Augusto Roman | 2015-10-09 | 2 | -14/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the timezone information for a provided value was discarded and the value always stored as in UTC. However, sqlite allows specifying the timezone offsets and handles those values appropriately. This change stores the timezone information and parses it out if present, otherwise it defaults to UTC as before. One additional bugfix: Previously, a unix timestamp in seconds was parsed in the local timezone (rather than UTC), in contrast to a unix timestamp in milliseconds that was parsed in UTC. While fixing that extra bug, I cleaned up the parsing code -- no need to convert to a string and then parse it back again and risk a parse error, just to check the number of digits. The tests were extended to cover non-UTC timezones storage & retrieval, meaningful unix timestamps, and correct handling of a trailing Z. | |||||
| * | | | Merge pull request #250 from DavidGamba/install-in-readme | mattn | 2015-11-02 | 1 | -0/+4 | |
| |\ \ \ | | |/ / | |/| | | Update README. Install go-sqlite3 to avoid builds with gcc | |||||
| | * | | Update README. Install go-sqlite3 to avoid builds with gcc | David Gamba | 2015-10-31 | 1 | -0/+4 | |
| |/ / | ||||||
* | | | fix tests | Yasuhiro Matsumoto | 2015-11-02 | 2 | -3/+2 | |
| | | | ||||||
* | | | Merge branch 'pr/207' | Yasuhiro Matsumoto | 2015-11-02 | 4 | -35/+56 | |
|\ \ \ | |/ / |/| | | ||||||
| * | | Cosmetics: use WaitGroup instead of channel in test | Lars Buitinck | 2015-06-05 | 1 | -7/+4 | |
| | | | ||||||
| * | | Test read-only databases | Lars Buitinck | 2015-06-05 | 1 | -0/+21 | |
| | | | ||||||
| * | | Clean up more tempfiles | Lars Buitinck | 2015-06-05 | 1 | -0/+1 | |
| | | | ||||||
| * | | Fix doc comment | Lars Buitinck | 2015-06-05 | 1 | -1/+1 | |
| | | | ||||||
| * | | Get reliable tempfile names from ioutil.TempFile | Lars Buitinck | 2015-06-05 | 2 | -28/+29 | |
| | | | | | | | | | | | | Also makes them easier to spot (the tests tend to litter /tmp). | |||||
* | | | Add FTS4 unicode61 tokenizer support | looi | 2015-09-21 | 2 | -1/+45 | |
| | | | ||||||
* | | | fix #238 | Yasuhiro Matsumoto | 2015-09-16 | 1 | -2/+2 | |
| | | | ||||||
* | | | use math.MaxInt32. related issue #238 | Yasuhiro Matsumoto | 2015-09-16 | 1 | -4/+3 | |
| | | | ||||||
* | | | fix build on 32bit OSs. Close #238 | Yasuhiro Matsumoto | 2015-09-16 | 1 | -2/+4 | |
| | | | ||||||
* | | | remove binary file | Yasuhiro Matsumoto | 2015-09-16 | 2 | -0/+0 | |
| | | | ||||||
* | | | Merge pull request #229 from danderson/master | mattn | 2015-09-16 | 8 | -9/+1074 | |
|\ \ \ | | | | | | | | | Implement support for calling Go functions from SQLite | |||||
| * | | | Implement support for aggregation functions implemented in Go. | David Anderson | 2015-09-15 | 5 | -33/+449 | |
| | | | | ||||||
| * | | | Add support for interface{} arguments in Go SQLite functions. | David Anderson | 2015-08-21 | 3 | -5/+60 | |
| | | | | | | | | | | | | | | | | | | | | This enabled support for functions like Foo(a interface{}) and Bar(a ...interface{}). | |||||
| * | | | Implement support for variadic functions. | David Anderson | 2015-08-21 | 2 | -10/+55 | |
| | | | | | | | | | | | | | | | | | | | | Currently, the variadic part must all be the same type, because there's no "generic" arg converter. | |||||
| * | | | Move argument converters to callback.go, and optimize return value handling. | David Anderson | 2015-08-21 | 4 | -152/+365 | |
| | | | | | | | | | | | | | | | | | | | | | | | | A call now doesn't have to do any reflection, it just blindly invokes a bunch of argument and return value handlers to execute the translation, and the safety of the translation is determined at registration time. | |||||
| * | | | Implement support for passing Go functions as custom functions to SQLite. | David Anderson | 2015-08-21 | 5 | -6/+342 | |
| | | | | | | | | | | | | | | | | Fixes #226. | |||||
* | | | | Merge pull request #235 from jfrazelle/static_remove_dlopen | mattn | 2015-09-05 | 3 | -17/+60 | |
|\ \ \ \ | | | | | | | | | | | remove dlopen if static_build flag | |||||
| * | | | | introduce ability to pass sqlite_omit_load_extension | Jessica Frazelle | 2015-09-04 | 3 | -17/+60 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | sqlite_omit_load_extension is a go build tag which behaves much like its C counterpart SQLITE_OMIT_LOAD_EXTENSION Signed-off-by: Jessica Frazelle <acidburn@docker.com> | |||||
* | | | | Merge pull request #231 from marccampbell/master | mattn | 2015-08-26 | 1 | -7/+7 | |
|\ \ \ \ | | | | | | | | | | | Fix example to check the correct error value | |||||
| * | | | | Fix example to check the correct error value | Marc Campbell | 2015-08-24 | 1 | -7/+7 | |
| |/ / / | ||||||
* / / / | Fix test. Close #216 | mattn | 2015-08-25 | 1 | -1/+3 | |
|/ / / | | | | | | | | | | | | | | | | When one goroutine close db that opended as :memory:, session will be lost. So another goroutine can't refer the last session. goroutine . | |||||
* | | | Merge pull request #228 from whiter4bbit/added_icu_support | mattn | 2015-08-20 | 2 | -0/+17 | |
|\ \ \ | | | | | | | | | added icu extension support | |||||
| * | | | added icu extension support | Pavel Zalunin | 2015-08-20 | 2 | -0/+17 | |
|/ / / | ||||||
* | | | Merge pull request #227 from gmarik/patch-1 | mattn | 2015-08-17 | 1 | -1/+0 | |
|\ \ \ | | | | | | | | | remove duplicated Close | |||||
| * | | | remove duplicated Close | gmarik | 2015-08-16 | 1 | -1/+0 | |
|/ / / | | | | | | | since there's one already at line 51 | |||||
* | | | Merge pull request #225 from kiwih/master | mattn | 2015-08-07 | 1 | -8/+8 | |
|\ \ \ | | | | | | | | | Fix for go-sqlite3 truncating 64-bit lastInsertIDs on 32-bit systems | |||||
| * | | | Add fix for go-sqlite3 truncating 64-bit integers when compiled by 32-bit ↵ | kiwih | 2015-08-07 | 1 | -8/+8 | |
|/ / / | | | | | | | | | | mingw-gcc on windows by converting 'long' variable types to 'long long' in sqlite3.go | |||||
* | | | update README.md | Yasuhiro Matsumoto | 2015-06-30 | 1 | -0/+4 | |
| | | | ||||||
* | | | hack to use libsqlite3 | Yasuhiro Matsumoto | 2015-06-12 | 6 | -155256/+155278 | |
|/ / | | | | | | | $ go build -tags "libsqlite3 windows" | |||||
* | | remove -lpthread. related issue #201 | Yasuhiro Matsumoto | 2015-04-28 | 1 | -1/+0 | |
| | |