Skip to content

Commit eed8f8f

Browse files
committed
.
1 parent db93081 commit eed8f8f

18 files changed

+308743
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,200 @@
1+
{
2+
"folders": [{ "path": ".." }],
3+
"settings": {
4+
// Zig Workspace
5+
"files.exclude": {
6+
"*.lnk": true,
7+
"**/.git": true,
8+
".gitignore": true,
9+
"**/.svn": true,
10+
"**/.hg": true,
11+
"**/CVS": true,
12+
"**/.DS_Store": true,
13+
"**/Thumbs.db": true,
14+
// VSCODE FOLDERS --------
15+
"**/.vscode": false,
16+
"**/.code-workspace": true,
17+
// ZIG FOLDERS --------
18+
"**/zig-cache": true,
19+
"**/.zig-cache": true
20+
},
21+
"search.exclude": {
22+
"**/node_modules": true,
23+
"**/bower_components": true,
24+
"**/*.code-search": true,
25+
// ZIG FOLDERS --------
26+
"**/zig-out": true
27+
},
28+
"files.watcherExclude": {
29+
// ZIG FOLDERS --------
30+
"**/zig-cache": true
31+
},
32+
33+
// DarknessFX settings
34+
"telemetry.telemetryLevel": "off",
35+
"workbench.colorTheme": "Default Dark+",
36+
"workbench.startupEditor": "none",
37+
"workbench.colorCustomizations": {
38+
"statusBar.background" : "#1A1A1A",
39+
"statusBar.noFolderBackground" : "#212121",
40+
"statusBar.debuggingBackground": "#263238",
41+
"editorBracketHighlight.foreground1": "#888888",
42+
"editorBracketHighlight.foreground2": "#686888",
43+
"editorBracketHighlight.foreground3": "#688868",
44+
"editorBracketHighlight.foreground4": "#886868",
45+
"editorBracketHighlight.foreground5": "#686868",
46+
},
47+
"editor.tokenColorCustomizations": {
48+
"comments": "#546E7A",
49+
"functions": "#DFAB4B",
50+
"keywords": "#367CB6",
51+
"numbers": "#CE9178",
52+
"strings": "#CE9178",
53+
"types": "#2EA990",
54+
"variables": "#7CBCDE",
55+
56+
"[Default Dark+]": {
57+
"textMateRules": [
58+
{
59+
"scope": [
60+
"other",
61+
"source",
62+
"keyword.operator",
63+
"keyword.operator.noexcept",
64+
"punctuation",
65+
"punctuation.dot",
66+
"punctuation.comma",
67+
"punctuation.definitions",
68+
"punctuation.definition.comment",
69+
"punctuation.definition.tag",
70+
"punctuation.definition.tag.html",
71+
"punctuation.definition.tag.begin.html",
72+
"punctuation.definition.tag.end.html",
73+
"punctuation.section.embedded",
74+
"punctuation.separator",
75+
"punctuation.separator.inheritance.php",
76+
],
77+
"settings": {
78+
"foreground": "#758E68",
79+
"fontStyle": "",
80+
}
81+
},
82+
{
83+
"scope": [
84+
"comment",
85+
],
86+
"settings": {
87+
"fontStyle": "italic",
88+
}
89+
},
90+
{
91+
"scope": [
92+
"keyword",
93+
"keyword.control",
94+
"keyword.other",
95+
"keyword.other.template",
96+
"keyword.other.substitution",
97+
"keyword.other.unit",
98+
"storage",
99+
"storage.type",
100+
"storage.modifier",
101+
"keywordLiteral",
102+
"keyword.literal",
103+
"keyword.constant.default",
104+
],
105+
"settings": {
106+
"fontStyle": "italic",
107+
"foreground": "#367CB6"
108+
}
109+
},
110+
{
111+
"scope": [
112+
"support.class",
113+
"support.type",
114+
"entity.name.type",
115+
"entity.name.namespace",
116+
"entity.other.attribute",
117+
"entity.name.scope-resolution",
118+
"entity.name.class",
119+
],
120+
"settings": {
121+
"foreground": "#2EA990"
122+
}
123+
},
124+
],
125+
},
126+
},
127+
"editor.tabSize": 2,
128+
"editor.fontSize": 16,
129+
"editor.unicodeHighlight.invisibleCharacters": false,
130+
"editor.autoClosingBrackets": "never",
131+
"editor.autoSurround": "never",
132+
"editor.autoClosingQuotes": "never",
133+
"editor.detectIndentation": false,
134+
"editor.lightbulb.enabled": "off",
135+
"workbench.editor.focusRecentEditorAfterClose": false,
136+
"workbench.panel.defaultLocation": "left",
137+
"workbench.panel.opensMaximized": "never",
138+
"workbench.editor.tabSizing": "fixed",
139+
"workbench.editor.tabSizingFixedMaxWidth": 140,
140+
"workbench.sideBar.location": "right",
141+
"debug.allowBreakpointsEverywhere": true,
142+
"debug.onTaskErrors": "abort",
143+
"explorer.confirmDragAndDrop": false,
144+
"explorer.compactFolders": false,
145+
"explorer.confirmDelete": false,
146+
"terminal.integrated.profiles.windows": {
147+
"Windows Terminal": {
148+
"path": "wt",
149+
"args": [
150+
"-p", "cmd", "cmd"
151+
],
152+
"icon": "terminal-bash",
153+
},
154+
"Command Prompt": {
155+
"path": [
156+
"${env:windir}\\Sysnative\\cmd.exe",
157+
"${env:windir}\\System32\\cmd.exe"
158+
],
159+
"args": [],
160+
"icon": "terminal-cmd"
161+
},
162+
"PowerShell": {
163+
"source": "PowerShell",
164+
"icon": "terminal-powershell"
165+
},
166+
"Git Bash": {
167+
"source": "Git Bash"
168+
},
169+
},
170+
"terminal.integrated.tabs.location": "left",
171+
"terminal.integrated.defaultProfile.windows": "Command Prompt",
172+
"C_Cpp.vcFormat.space.groupSquareBrackets": false,
173+
"C_Cpp.loggingLevel": "Debug",
174+
"C_Cpp.codeAnalysis.clangTidy.codeAction.formatFixes": false,
175+
"git.openRepositoryInParentFolders": "never",
176+
"html.autoCreateQuotes": false,
177+
"zig.buildFilePath": "${workspaceFolder}",
178+
"zig.formattingProvider": "off",
179+
"zig.checkForUpdate": false,
180+
"zig.zls.enabled": true,
181+
"zig.zls.highlightGlobalVarDeclarations": true,
182+
"zig.zls.semanticTokens": "full",
183+
"zig.zls.enableArgumentPlaceholders": false,
184+
"zig.zls.inlayHintsExcludeSingleArgument": false,
185+
"zig.zls.enableAutofix": false,
186+
"zig.zls.checkForUpdate": false,
187+
"zig.zls.enableInlayHints": false,
188+
"zig.zls.preferAstCheckAsChildProcess": false,
189+
"files.associations": {
190+
"raylib.h": "c",
191+
"rcamera.h": "c",
192+
"raymath.h": "c"
193+
},
194+
},
195+
"extensions": {
196+
"recommendations": [
197+
"pkief.material-icon-theme"
198+
]
199+
}
200+
}

BaseSQLite/.vscode/launch.json

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Debug",
6+
"type": "cppvsdbg",
7+
"request": "launch",
8+
"presentation": {
9+
"hidden": false,
10+
"group": "",
11+
"order": 1
12+
},
13+
"program": "${workspaceFolder}/bin/Debug/${workspaceFolderBasename}.exe",
14+
"args": [ ],
15+
"stopAtEntry": false,
16+
"cwd": "${workspaceFolder}",
17+
"environment": [],
18+
"preLaunchTask": "${defaultBuildTask}",
19+
"console": "integratedTerminal",
20+
"symbolSearchPath": "${workspaceFolder}/bin/Debug/",
21+
},
22+
{
23+
"name": "Debug Attach",
24+
"type": "cppvsdbg",
25+
"request": "attach",
26+
"presentation": {
27+
"hidden": true,
28+
"group": "",
29+
"order": 2
30+
},
31+
"preLaunchTask": "Zig: Run main",
32+
"internalConsoleOptions": "openOnFirstSessionStart",
33+
"processId": "${command:pickProcess}"
34+
}
35+
]
36+
}

BaseSQLite/.vscode/tasks.json

+101
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
{
2+
"tasks": [{
3+
"label": "Zig: Build",
4+
"args": [ "build", "--summary", "all" ],
5+
"detail": "zig build --summary all",
6+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "build", "isDefault": true },
7+
"presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
8+
},
9+
{
10+
"label": "Zig: Build Release Safe.",
11+
"args": [ "build", "-Doptimize=ReleaseSafe", "--summary", "all" ],
12+
"detail": "zig build -Doptimize=ReleaseSafe --summary all",
13+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "build", "isDefault": false },
14+
"presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
15+
},
16+
{
17+
"label": "Zig: Build Release Fast.",
18+
"args": [ "build", "-Doptimize=ReleaseFast", "--summary", "all" ],
19+
"detail": "zig build -Doptimize=ReleaseFast --summary all",
20+
"command": "zig","type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "build", "isDefault": false },
21+
"presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
22+
},
23+
{
24+
"label": "Zig: Build Release Small.",
25+
"args": [ "build", "-Doptimize=ReleaseSmall", "--summary", "all" ],
26+
"detail": "zig build -Doptimize=ReleaseSmall --summary all",
27+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "build", "isDefault": false },
28+
"presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
29+
},
30+
{
31+
"label": "Zig: Build Release Strip.",
32+
"args": [ ],
33+
"detail": "zig build-exe -O ReleaseSmall -fstrip -fsingle-threaded (+ lots of options) main.zig",
34+
"command": "buildReleaseStrip.bat", "type": "shell", "options": { "cwd": "${workspaceRoot}\\tools" }, "group": { "kind": "build", "isDefault": false },
35+
"presentation": { "group": "build", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
36+
},
37+
{
38+
"label": "Zig: Test",
39+
"args": [ "test", "${file}" ],
40+
"detail": "'zig test' in the current workspace.",
41+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "test", "isDefault": true },
42+
"presentation": { "group": "test", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
43+
},
44+
{
45+
"label": "Zig: Run main",
46+
"args": [ "run", "-lc", "-Ilib/sqlite", "-Llib/sqlite", "-lsqlite3", "main.zig" ],
47+
"detail": "zig run main.zig",
48+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": true },
49+
"presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
50+
},
51+
{
52+
"label": "Zig: Run main (With Args)",
53+
"args": [ "run", "-lc", "main.zig", "--", "ArgsForYourProgram" ],
54+
"detail": "zig run main.zig -- ArgsForYourProgram",
55+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false },
56+
"presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
57+
},
58+
{
59+
"label": "Zig: Run main (Fast)",
60+
"args": [ "run", "-lc", "main.zig", "-O", "ReleaseFast" ],
61+
"detail": "zig run main.zig -O ReleaseFast",
62+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false },
63+
"presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
64+
},
65+
{
66+
"label": "Zig: Run main (Safe)",
67+
"args": [ "run", "-lc", "main.zig", "-O", "ReleaseSafe" ],
68+
"detail": "zig run main.zig -O ReleaseSafe",
69+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false },
70+
"presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
71+
},
72+
{
73+
"label": "Zig: Run main (Small)",
74+
"args": [ "run", "-lc", "main.zig", "-O", "ReleaseSmall" ],
75+
"detail": "zig run main.zig -O ReleaseSmall",
76+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false },
77+
"presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
78+
},
79+
{
80+
"label": "Zig: Run current file",
81+
"args": [ "run", "${file}" ],
82+
"detail": "'zig run' active file in the current workspace.",
83+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false },
84+
"presentation": { "group": "launch", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
85+
},
86+
{
87+
"label": "zTime Zig: Run current file",
88+
"args": [ "zig", "run", "${file}" ],
89+
"detail": "'zTime zig run' active file in the current workspace.",
90+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false },
91+
"presentation": { "group": "zTime", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
92+
},
93+
{
94+
"label": "Zig: Docs",
95+
"args": [ "run", "-femit-docs", "main.zig" ],
96+
"detail": "Generate docs from source comments.",
97+
"command": "zig", "type": "shell", "options": { "cwd": "${workspaceRoot}" }, "group": { "kind": "none", "isDefault": false },
98+
"presentation": { "group": "docs", "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": false, "clear": true, "close": false }, "problemMatcher": []
99+
}],
100+
"version": "2.0.0"
101+
}

BaseSQLite/BaseSQLite.ico

2.19 KB
Binary file not shown.

BaseSQLite/BaseSQLite.rc

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#include "windows.h"
2+
3+
IDI_ICON1 ICON "BaseSQLite.ico"
4+
5+
1 VERSIONINFO
6+
FILEVERSION 1,0,0,0
7+
PRODUCTVERSION 1,0,0,0
8+
FILEFLAGSMASK 0x3fL
9+
FILEFLAGS 0x1L
10+
FILEOS 0x4L
11+
FILETYPE 0x1L
12+
FILESUBTYPE 0x0L
13+
BEGIN
14+
BLOCK "StringFileInfo"
15+
BEGIN
16+
BLOCK "040904e4"
17+
BEGIN
18+
VALUE "CompanyName", "BaseSQLite"
19+
VALUE "FileDescription", "BaseSQLite"
20+
VALUE "FileVersion", "1.0.0.0"
21+
VALUE "InternalName", "BaseSQLite.exe"
22+
VALUE "LegalCopyright", "Copyleft(c) Created by DarknessFX, http://dfx.lv/ , @DrkFX."
23+
VALUE "OriginalFilename", "BaseSQLite.exe"
24+
VALUE "ProductName", "BaseSQLite"
25+
VALUE "ProductVersion", "1.0.0.0"
26+
END
27+
END
28+
BLOCK "VarFileInfo"
29+
BEGIN
30+
VALUE "Translation", 0x409, 1252
31+
END
32+
END

BaseSQLite/asset/sqlite_logo.ico

2.19 KB
Binary file not shown.

BaseSQLite/asset/sqlite_logo.jpg

78.8 KB
Loading

0 commit comments

Comments
 (0)