Compare commits
11 Commits
7cdff6cd6c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| cb632e8939 | |||
| 54186aa7f4 | |||
| a525c8c178 | |||
| 4b942a245a | |||
| d13468daa1 | |||
| 58ba476de2 | |||
| d2c7321ab0 | |||
| 2e7ec70b8b | |||
| db6d453b33 | |||
| 871ff2073c | |||
| aabc3d0a04 |
20
LICENSE
20
LICENSE
@@ -1,20 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2013 Yury Plashenkov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
21
LICENSE.md
Normal file
21
LICENSE.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# MIT License
|
||||
|
||||
Copyright (c) 2013 Yuri Plashenkov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
68
README.md
68
README.md
@@ -1,49 +1,45 @@
|
||||
SQLite for Delphi and FreePascal/Lazarus
|
||||
========================================
|
||||
# SQLite for Delphi and FreePascal / Lazarus
|
||||
|
||||
SQLite is a software library that implements a self-contained, serverless, zero-configuration,
|
||||
transactional SQL database engine. The source code for SQLite is in the public domain and is thus
|
||||
free for use for any purpose, commercial or private. SQLite is the most widely deployed SQL database
|
||||
engine in the world.
|
||||
SQLite is a software library that implements a self-contained,
|
||||
serverless, zero-configuration, transactional SQL database engine.
|
||||
The source code for SQLite is in the public domain and is thus free
|
||||
for use for any purpose, commercial or private.
|
||||
SQLite is the most widely deployed SQL database engine in the world.
|
||||
|
||||
This package contains complete SQLite3 API translation for Delphi and FreePascal/Lazarus, as well as
|
||||
a simple Unicode-enabled object wrapper to simplify the use of this database engine.
|
||||
This package contains a complete SQLite API translation for Delphi and FreePascal / Lazarus,
|
||||
as well as a simple Unicode-enabled object wrapper to simplify working with the database engine.
|
||||
|
||||
## Compatibility
|
||||
|
||||
Compatibility
|
||||
-------------
|
||||
- Delphi 7 and later
|
||||
- FreePascal / Lazarus
|
||||
|
||||
Compatible with Delphi/C++Builder 6–XE5 and FreePascal/Lazarus.
|
||||
## Installation
|
||||
|
||||
1. Unzip the package to a directory of your choice.
|
||||
2. Add the **Source** directory to your IDE or project settings:
|
||||
- **Delphi**:
|
||||
- **Global**: Add the path to *Library path* in the environment options.
|
||||
- **Project-specific**: Add the path to *Search path* in *Project Options*.
|
||||
- **Lazarus**:
|
||||
- **Global**: Add the path to *Additional source search path for all projects* in the IDE options.
|
||||
- **Project-specific**: Add the path to *Other unit files* in *Project Options > Compiler Options*.
|
||||
|
||||
Installation and usage notes
|
||||
----------------------------
|
||||
## Usage
|
||||
|
||||
Unzip the package somewhere on your hard drive. Now you need to add the full path of the Source
|
||||
folder to your IDE options.
|
||||
To use the SQLite API directly, add the `SQLite3` unit to your `uses` clause.
|
||||
If you prefer working with the object wrapper, use the `SQLite3Wrap` unit.
|
||||
|
||||
#### For Delphi 6–7 or C++Builder 6
|
||||
Select *Tools > Environment Options* from the menu, then go to the *Library* tab and add the full
|
||||
path of this package's Source directory to the *Library Path*.
|
||||
Make sure to distribute the appropriate shared library
|
||||
(**sqlite3.dll** for Windows, **sqlite3.so** for Linux, etc.)
|
||||
along with your executable.
|
||||
|
||||
#### For Delphi 2005 and up, or C++Builder 2006 and up
|
||||
Select *Tools > Options* from the menu, then select *Environment Options > Delphi Options >
|
||||
Library - Win32*, and add the full path of this package's Source directory to the *Library Path*.
|
||||
## Credits
|
||||
|
||||
#### For Lazarus
|
||||
Select *Environment > Options* from the menu, then select *CodeTools*, and add the full path of this
|
||||
package's Source directory to the *Search Path* ("Additional source search path for all projects").
|
||||
- [Yuri Plashenkov](https://github.com/plashenkov) — developer
|
||||
- [Marek Mauder](https://github.com/galfar) — contributor
|
||||
- [Alexander Kotliarskyi](https://github.com/frantic) — contributor
|
||||
|
||||
When using this translation in your projects, add the SQLite3 unit to the uses clause of your source
|
||||
file if you want to use SQLite3 API, and the SQLite3Wrap unit if you want to use the accompanying
|
||||
wrapper.
|
||||
## License
|
||||
|
||||
Do not forget to distribute the shared library (sqlite3.dll for Windows, sqlite3.so for Linux) with
|
||||
your program.
|
||||
|
||||
|
||||
Credits
|
||||
-------
|
||||
|
||||
Yury Plashenkov (http://www.plashenkov.com), developer.
|
||||
Marek Mauder (http://galfar.vevb.net), contributor.
|
||||
This package is licensed under the [MIT License](LICENSE.md).
|
||||
|
||||
@@ -1,31 +1,30 @@
|
||||
{*
|
||||
* SQLite for Delphi and FreePascal/Lazarus
|
||||
*
|
||||
* This unit contains complete SQLite3 API translation
|
||||
* This unit contains complete SQLite3 API translation.
|
||||
* Version of SQLite: 3.6.22
|
||||
*
|
||||
* Copyright 2010-2013 Yury Plashenkov
|
||||
* http://plashenkov.github.io/sqlite/
|
||||
* Copyright (c) 2013 Yuri Plashenkov
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
* MIT License
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom
|
||||
* the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
* IN THE SOFTWARE.
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*}
|
||||
|
||||
unit SQLite3;
|
||||
|
||||
@@ -1,30 +1,29 @@
|
||||
{*
|
||||
* SQLite for Delphi and FreePascal/Lazarus
|
||||
*
|
||||
* This unit contains miscellaneous utility functions
|
||||
* This unit contains miscellaneous utility functions.
|
||||
*
|
||||
* Copyright 2010-2013 Yury Plashenkov
|
||||
* http://plashenkov.github.io/sqlite/
|
||||
* Copyright (c) 2013 Yuri Plashenkov
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
* MIT License
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom
|
||||
* the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
* IN THE SOFTWARE.
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*}
|
||||
|
||||
unit SQLite3Utils;
|
||||
|
||||
@@ -1,30 +1,29 @@
|
||||
{*
|
||||
* SQLite for Delphi and FreePascal/Lazarus
|
||||
*
|
||||
* This unit contains easy-to-use object wrapper over SQLite3 API functions
|
||||
* This unit contains easy-to-use object wrapper over SQLite3 API functions.
|
||||
*
|
||||
* Copyright 2010-2013 Yury Plashenkov
|
||||
* http://plashenkov.github.io/sqlite/
|
||||
* Copyright (c) 2013 Yuri Plashenkov
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
* MIT License
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom
|
||||
* the Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
* IN THE SOFTWARE.
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*}
|
||||
|
||||
unit SQLite3Wrap;
|
||||
|
||||
Reference in New Issue
Block a user