Skip to content

Commit

Permalink
Up to 1.7.9
Browse files Browse the repository at this point in the history
* Save and restore pinned resultsets
* New CLI options: --profile, --readonly (issue #142)
* Ctrl + I to invert selected rows in a dataset
* Improve UI (issues #143, #145)
  • Loading branch information
little-brother committed Jun 1, 2023
1 parent 1124f3b commit f261010
Show file tree
Hide file tree
Showing 10 changed files with 5,496 additions and 2,712 deletions.
7,134 changes: 4,799 additions & 2,335 deletions include/sqlite3.c

Large diffs are not rendered by default.

202 changes: 150 additions & 52 deletions include/sqlite3.h

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ create table if not exists generators (type text, value text);
create table if not exists refs (dbname text not null, schema text not null, tblname text not null, colname text not null, refname text, query text, primary key (dbname, schema, tblname, colname));
create table if not exists disabled (dbpath text not null, type text not null, name text not null, sql text, primary key (dbpath, type, name));
create table if not exists pinned (dbname text not null, name text not null, primary key (dbname, name));
create table if not exists pinned_results (id integer primary key autoincrement, tab_no integer, caption text, query text, elapsed_time text);
create table if not exists cli ("time" real, dbname text not null, query text not null, elapsed integer, result text);
create table if not exists diagrams (dbname text, tblname text, x integer, y integer, width integer, height integer, primary key (dbname, tblname));
create table if not exists main.encryption (dbpath text, param text, idc integer, value text, no integer, primary key (dbpath, param));
Expand Down
160 changes: 88 additions & 72 deletions src/dialogs.cpp

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ extern COLORREF GRIDCOLORS[8];

extern HFONT hDefFont;
extern HFONT hFont;
extern HPEN hCurrentCellPen;

LRESULT CALLBACK cbNewListView(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
LRESULT CALLBACK cbNewEdit(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
LRESULT CALLBACK cbNewEditor(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
Expand Down
Loading

0 comments on commit f261010

Please sign in to comment.