Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tmp sqlite #191

Merged
merged 27 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
e772689
Tmp sqlite setup to integrate lib in vcpkg
smocgeorgemarian May 16, 2023
c2d30a6
Data to be synced
smocgeorgemarian May 16, 2023
f628512
appcui update
smocgeorgemarian Jun 19, 2023
865fea1
Blob view test
smocgeorgemarian Jun 20, 2023
3b9bd2d
memvfs dll added
smocgeorgemarian Jun 20, 2023
633e74d
Blob view test
smocgeorgemarian Jun 20, 2023
26b4133
Merge branch 'tmp_sqlite' of https://github.com/gdt050579/GView into …
smocgeorgemarian Sep 18, 2023
4672ddc
Latest update without memvfs
smocgeorgemarian Sep 18, 2023
23b33c5
Merge branch 'main' into tmp_sqlite
gheorghitamutu Dec 29, 2023
1b6042b
^ sync with AppCUI (gridview)
gheorghitamutu Dec 29, 2023
6f4dc88
# fix gridview function call
gheorghitamutu Dec 29, 2023
45ca217
[SQLITE] ^ sync AppCUI
gheorghitamutu Dec 29, 2023
b8ae847
^ integrate sqlite3 via vcpkg
gheorghitamutu Dec 29, 2023
607b544
^ prepare sqlite3 wrapper to be moved into GView core
gheorghitamutu Dec 29, 2023
d8070bb
^ move sqlite3 library internals into core instead of the SQLite plugin
gheorghitamutu Dec 30, 2023
a2df1b0
Merge branch 'main' into tmp_sqlite
gheorghitamutu Dec 30, 2023
7944070
[SQLite] - remove memvfs
gheorghitamutu Jan 2, 2024
ad8180e
[SQLite] - remove binary files
gheorghitamutu Jan 2, 2024
945823c
[SQLite] ^ gitignore *.db files
gheorghitamutu Jan 2, 2024
2d55b28
[SQLite] # fix filepath (sanitize) & workaround (buggy) for rows with…
gheorghitamutu Jan 2, 2024
1776d1d
[SQLite] ^ use magic/pattern instead of extension
gheorghitamutu Jan 2, 2024
dc7abd1
[SQLite] # fix invalid cache size (uint64 value assigned to uint32)
gheorghitamutu Jan 2, 2024
cbd90dc
[SQLite] ^ replace Blob with AppCUI structure Buffer
gheorghitamutu Jan 2, 2024
bba4d82
[SQLite] ^ various bug fixes
gheorghitamutu Jan 3, 2024
3ab2f62
[SQLite] #^ replace std::variant with Buffer AppCUI structure
gheorghitamutu Jan 3, 2024
5239187
[SQLite] # fix exported members (templates) for Column struct
gheorghitamutu Jan 3, 2024
3e36080
[SQLite] ^ update AppCUI
gheorghitamutu Jan 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ AlwaysBreakTemplateDeclarations : true
BinPackArguments : false
BinPackParameters : false
BreakBeforeBinaryOperators : None
BreakBeforeBraces : Allman
BreakBeforeBraces : Linux
BreakBeforeTernaryOperators : true
BreakConstructorInitializersBeforeComma : false
BreakStringLiterals : true
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ CMakeFiles/
cmake-build-*/
vcpkg_installed/
.DS_Store
*.db
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ add_subdirectory(Types/VBA)
add_subdirectory(Types/JS)
add_subdirectory(Types/PYEXTRACTOR)
add_subdirectory(Types/ZIP)
add_subdirectory(Types/SQLite)


# Generic plugins supported by GView
add_subdirectory(GenericPlugins/CharacterTable)
Expand Down
4 changes: 4 additions & 0 deletions GViewCore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ message(STATUS "MINIZIP_INCLUDE_DIR => ${MINIZIP_INCLUDE_DIR}")
target_include_directories(${PROJECT_NAME} PRIVATE ${MINIZIP_INCLUDE_DIR})
target_link_libraries(${PROJECT_NAME} PRIVATE MINIZIP::minizip-ng)

message(STATUS "SQLITE3_INCLUDE_DIR => ${SQLITE3_INCLUDE_DIR}")
find_package(unofficial-sqlite3 CONFIG REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE unofficial::sqlite3::sqlite3)

if (MSVC)
add_compile_options(-W3)
elseif (APPLE)
Expand Down
Loading
Loading