This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
{ | ||
"mesonbuild.configureOnOpen": true, | ||
"mesonbuild.configureOnOpen": false, | ||
"lldb.showDisassembly": "never", | ||
"lldb.dereferencePointers": true, | ||
"lldb.consoleMode": "commands" | ||
"lldb.consoleMode": "commands", | ||
"C_Cpp.default.compileCommands": "/home/ppvan/Documents/code/pet-projects/psequel/builddir/compile_commands.json", | ||
"C_Cpp.default.configurationProvider": "mesonbuild.mesonbuild", | ||
"files.watcherExclude": { | ||
"**/.git/objects/**": true, | ||
"**/.git/subtree-cache/**": true, | ||
"**/.hg/store/**": true, | ||
".flatpak/**": true, | ||
"_build/**": true | ||
}, | ||
"mesonbuild.buildFolder": "_build", | ||
"mesonbuild.mesonPath": "${workspaceFolder}/.flatpak/meson.sh" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
using Gtk 4.0; | ||
using Gtk 4.0; | ||
using Adw 1; | ||
|
||
menu menu { | ||
section { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
using Gtk 4.0; | ||
using Adw 1; | ||
|
||
template $PsequelViewDataView: Gtk.Box { | ||
width-request: 900; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace Psequel { | ||
public static void main(string []args) { | ||
|
||
ThreadPool<Worker> background = null; | ||
try { | ||
// Don't change the max_thread because libpq did not support many query with 1 connection. | ||
background = new ThreadPool<Worker>.with_owned_data ((worker) => { | ||
worker.run(); | ||
}, 1, false); | ||
} catch (ThreadError err) { | ||
debug(err.message); | ||
assert_not_reached(); | ||
} | ||
|
||
var sql_service = new SQLService(background); | ||
|
||
|
||
print("Hello world"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters