Feed Advanced Search

Mar 28 2023

staniek added a comment to T7710: [tests] Create autotests for KDbNativeStatementBuilder.

https://invent.kde.org/libraries/kdb/-/issues/16

Mar 28 2023, 11:03 PM · KDb
staniek renamed T7710: [tests] Create autotests for KDbNativeStatementBuilder from [tests] Crerate autotests for KDbNativeStatementBuilder to [tests] Create autotests for KDbNativeStatementBuilder.
Mar 28 2023, 11:03 PM · KDb
staniek added a comment to T10134: [sql] Restore support for date/time constants in KEXI SQL.

https://invent.kde.org/libraries/kdb/-/issues/15

Mar 28 2023, 11:01 PM · KDb
staniek added a comment to T693: Add support for portable user-defined SQL functions.

https://invent.kde.org/libraries/kdb/-/issues/12

Mar 28 2023, 10:55 PM · KDb
staniek added a comment to T851: Reduce memory consumption of table view in Kexi 3.

https://invent.kde.org/office/kexi/-/issues/31

Mar 28 2023, 10:53 PM · KEXI, KDb
staniek added a comment to T3743: Don't keep generated parser/scanner files in the source dir.

https://invent.kde.org/libraries/kdb/-/issues/11

Mar 28 2023, 10:50 PM · KDb
staniek added a comment to T4644: Idea: Design C++ KDb.

https://invent.kde.org/libraries/kdb/-/issues/9

Mar 28 2023, 10:45 PM · KDb
staniek added a comment to T4645: Add model API for tabular data.

https://invent.kde.org/libraries/kdb/-/issues/8

Mar 28 2023, 10:44 PM · KDb
staniek added a comment to T4646: Add model API for tables and queries.

https://invent.kde.org/libraries/kdb/-/issues/7

Mar 28 2023, 10:43 PM · KDb
staniek added a comment to T4647: Parser Idea: Find a typechecker generator for the SQL parser?.

Unsure. Not moving to https://invent.kde.org/libraries/kreport/-/issues

Mar 28 2023, 10:41 PM · KDb
staniek added a comment to T4648: Merge the new 'alter table' into KDb/Kexi.

Obsolete

Mar 28 2023, 10:40 PM · KDb, KEXI
staniek closed T4648: Merge the new 'alter table' into KDb/Kexi as Wontfix.
Mar 28 2023, 10:40 PM · KDb, KEXI
staniek added a comment to T4650: Make KReport dependent on KDb and remove redundant bits.

https://invent.kde.org/libraries/kreport/-/issues/2

Mar 28 2023, 10:39 PM · KDb, KReport
staniek updated the task description for T4650: Make KReport dependent on KDb and remove redundant bits.
Mar 28 2023, 10:37 PM · KDb, KReport
staniek added a comment to T4713: Test various auth methods for PostgreSQL.

Not moving to Gitlab as Postgresql may be less maintained

Mar 28 2023, 10:36 PM · KDb
staniek added a comment to T4734: parse bison output: "syntax error, unexpected %s, expecting %s" show to user INTEGER_CONST -> integer.

Still a TODO? Not moving to Gitlab

Mar 28 2023, 10:35 PM · KDb
staniek added a comment to T6284: Add recordCount and fieldCount TestCases.

https://invent.kde.org/libraries/kdb/-/issues/6

Mar 28 2023, 10:33 PM · KDb
staniek added a comment to T1419: [tests] Add autotests for <SELECT "a" + "b"> and <SELECT "a" || "b">.

https://invent.kde.org/libraries/kdb/-/issues/5

Mar 28 2023, 10:31 PM · KDb
staniek added a comment to T6589: Add autotest for "query parameters in COLUMNS section".

https://invent.kde.org/libraries/kdb/-/issues/4

Mar 28 2023, 9:52 PM · KDb
staniek added a comment to T601: SQLite: Move from sqlite3_prepare to sqlite3_prepare_v2 and improve result/message handling.

https://invent.kde.org/libraries/kdb/-/issues/3

Mar 28 2023, 9:47 PM · KDb
staniek added a comment to T700: [marketing] Compare KDB to QtSQL.

https://invent.kde.org/libraries/kdb/-/issues/2

Mar 28 2023, 8:22 PM · KDb
staniek added a comment to T522: Add BC tests.

https://invent.kde.org/office/kexi/-/issues/78

Mar 28 2023, 4:50 PM · KReport, KProperty, KDb
staniek renamed T522: Add BC tests from Add BIC tests to Add BC tests.
Mar 28 2023, 4:49 PM · KReport, KProperty, KDb
staniek added a comment to T933: Use QMetaEnum for conversion enum values from/to QString.

https://invent.kde.org/office/kexi/-/issues/42

Mar 28 2023, 4:47 PM · KReport, KProperty, KEXI, KDb
staniek closed T3593: Create landing page as Resolved.

README is there already

Mar 28 2023, 4:44 PM · KProperty, KReport, KDb
staniek added a comment to T4845: Use C++11 candies.

https://invent.kde.org/office/kexi/-/issues/72

Mar 28 2023, 3:39 PM · KProperty, KReport, KDb, KEXI
staniek added a comment to T8889: [doc] Add small example project to demo usage with qmake.

Extended to cmake as well
https://invent.kde.org/libraries/kproperty/-/issues/1
https://invent.kde.org/libraries/kreport/-/issues/1

Mar 28 2023, 2:36 PM · KProperty, KReport, KDb

Mar 15 2023

staniek changed the status of T6978: Fix warnings: moc file "*.moc", but does not contain a Q_OBJECT or Q_GADGET macro from Invalid to Resolved.
Mar 15 2023, 9:22 PM · KEXI, KDb, KReport
staniek closed T6978: Fix warnings: moc file "*.moc", but does not contain a Q_OBJECT or Q_GADGET macro as Invalid.

Fixed already probably

Mar 15 2023, 9:22 PM · KEXI, KDb, KReport
staniek updated the task description for T4002: API: Port away from out parameters (book *ok, etc) to touples and std::tie.
Mar 15 2023, 8:20 PM · KProperty, KReport, KDb, KEXI
staniek closed T7704: [test] Autotest closing dependent table/query/report/form before physical altering or deleting table as Resolved.
Mar 15 2023, 7:10 PM · KDb, KEXI
staniek renamed T7704: [test] Autotest closing dependent table/query/report/form before physical altering or deleting table from [test] Autotest closing dependentg table/query/report/form before physical altering or deleting table to [test] Autotest closing dependent table/query/report/form before physical altering or deleting table.
Mar 15 2023, 7:10 PM · KDb, KEXI
staniek closed T3749: Refresh and correct API docs using kapidox as Resolved.

Done in the Invent

Mar 15 2023, 6:04 PM · KEXI, KProperty, KReport, KDb
staniek claimed T3749: Refresh and correct API docs using kapidox.
Mar 15 2023, 6:03 PM · KEXI, KProperty, KReport, KDb

May 30 2020

kossebau added a comment to T3749: Refresh and correct API docs using kapidox.

Respective merge requests are created now here:
https://invent.kde.org/libraries/kdb/-/merge_requests/1
https://invent.kde.org/libraries/kproperty/-/merge_requests/1
https://invent.kde.org/libraries/kreport/-/merge_requests/1

May 30 2020, 12:09 PM · KEXI, KProperty, KReport, KDb

May 29 2020

staniek added a comment to T3749: Refresh and correct API docs using kapidox.

Great, thanks Friedrich.

May 29 2020, 3:15 PM · KEXI, KProperty, KReport, KDb
kossebau added a comment to T3749: Refresh and correct API docs using kapidox.

@staniek Ah, missed your reply, somehow phabricator did not send me a noticiation.

May 29 2020, 3:14 PM · KEXI, KProperty, KReport, KDb

May 27 2020

staniek added a comment to T3749: Refresh and correct API docs using kapidox.

Hi Freidrich. That's a good news to me!

May 27 2020, 2:28 PM · KEXI, KProperty, KReport, KDb
kossebau added a comment to T3749: Refresh and correct API docs using kapidox.

Hi @staniek . While I am currently doing some work to keep api.kde.org alive and cleaning up legacy docs where possible, I remembered this task and would be available to complete it these days :)

May 27 2020, 2:01 PM · KEXI, KProperty, KReport, KDb

May 10 2020

staniek closed D29327: Improve a bit parse error diagnosis.
May 10 2020, 9:57 PM · KDb
staniek accepted D29327: Improve a bit parse error diagnosis.
May 10 2020, 9:51 PM · KDb
jfita added inline comments to D29327: Improve a bit parse error diagnosis.
May 10 2020, 9:06 PM · KDb
jfita updated the diff for D29327: Improve a bit parse error diagnosis.

Fixed style issue

May 10 2020, 9:03 PM · KDb

May 9 2020

staniek requested changes to D29327: Improve a bit parse error diagnosis.
May 9 2020, 8:54 PM · KDb
staniek added inline comments to D29327: Improve a bit parse error diagnosis.
May 9 2020, 8:54 PM · KDb

May 3 2020

jfita added inline comments to D29327: Improve a bit parse error diagnosis.
May 3 2020, 8:38 PM · KDb
jfita updated the diff for D29327: Improve a bit parse error diagnosis.

Change error message to be easier to translate and to understand, taking care that quoting characters are not quoted

May 3 2020, 8:31 PM · KDb
staniek closed D29277: Escape table name in when building a select statement with row id.
May 3 2020, 8:25 PM · KDb
staniek accepted D29277: Escape table name in when building a select statement with row id.
May 3 2020, 8:18 PM · KDb
staniek added inline comments to D29327: Improve a bit parse error diagnosis.
May 3 2020, 12:20 PM · KDb

May 2 2020

jfita added inline comments to D29327: Improve a bit parse error diagnosis.
May 2 2020, 1:48 PM · KDb
staniek requested changes to D29327: Improve a bit parse error diagnosis.
May 2 2020, 11:28 AM · KDb
jfita updated the diff for D29327: Improve a bit parse error diagnosis.

Fix summary

May 2 2020, 12:18 AM · KDb
jfita updated the diff for D29327: Improve a bit parse error diagnosis.

Remove the unrelated change for indentifier escaping

May 2 2020, 12:13 AM · KDb
jfita added inline comments to D29327: Improve a bit parse error diagnosis.
May 2 2020, 12:12 AM · KDb
jfita updated the diff for D29327: Improve a bit parse error diagnosis.

Add comment to fallback rules that now report an actual error

May 2 2020, 12:03 AM · KDb

May 1 2020

staniek added inline comments to D29327: Improve a bit parse error diagnosis.
May 1 2020, 10:15 PM · KDb
jfita added a comment to D29346: Quote and parse identifiers with square brackets.

Beware that the SQL query in the summary will not work without the change in D29277 and it will fail with

May 1 2020, 7:26 PM · KDb
jfita requested review of D29346: Quote and parse identifiers with square brackets.
May 1 2020, 7:20 PM · KDb
jfita requested review of D29327: Improve a bit parse error diagnosis.
May 1 2020, 1:08 PM · KDb

Apr 29 2020

jfita added a comment to D29277: Escape table name in when building a select statement with row id.

Related fix in KEXI 3.2 would be welcome.

Apr 29 2020, 6:50 PM · KDb
staniek added a comment to D29277: Escape table name in when building a select statement with row id.

Entering "select id from [table]" in KEXI SQL editor or passing it to a parser in C++ raises the same parser's error.
In order to reproduce bug you're fixing above one needs to create a queryfully using the C++ API since the parser won't let the to go reserved identifiers through.
(until the #332161 is solved)

Apr 29 2020, 5:46 PM · KDb
jfita added a comment to D29277: Escape table name in when building a select statement with row id.

Thanks. Is there any relation to https://bugs.kde.org/show_bug.cgi?id=420599?

Apr 29 2020, 3:33 PM · KDb
staniek added a comment to D29277: Escape table name in when building a select statement with row id.

Another note so we won't forget. Update for autotests (both positive and negative). Here's the branch https://bugs.kde.org/show_bug.cgi?id=332161#c8

Apr 29 2020, 3:26 PM · KDb
staniek added a comment to D29277: Escape table name in when building a select statement with row id.

To be sure, you're constructing a query using C++ classes and not using the parser?
I am asking because to me "select id from [table]" does not work since we do not (yet) support identifier escaping with [].

Apr 29 2020, 3:14 PM · KDb
staniek added a comment to D29277: Escape table name in when building a select statement with row id.

Related fix in KEXI 3.2 would be welcome.

Apr 29 2020, 2:54 PM · KDb
staniek added a comment to D29277: Escape table name in when building a select statement with row id.

Thanks. Is there any relation to https://bugs.kde.org/show_bug.cgi?id=420599?

Apr 29 2020, 2:50 PM · KDb
jfita updated the diff for D29277: Escape table name in when building a select statement with row id.

Fix indent

Apr 29 2020, 2:24 PM · KDb
jfita requested review of D29277: Escape table name in when building a select statement with row id.
Apr 29 2020, 2:21 PM · KDb

Apr 25 2020

staniek closed D29185: Expand feature test for buffered cursors.
Apr 25 2020, 9:03 PM · KDb
staniek accepted D29185: Expand feature test for buffered cursors.

Good job!

Apr 25 2020, 9:03 PM · KDb
staniek closed D29184: Take all args to kdbfeaturestest before the driver.
Apr 25 2020, 8:59 PM · KDb
staniek accepted D29184: Take all args to kdbfeaturestest before the driver.
Apr 25 2020, 8:58 PM · KDb
staniek reopened D29184: Take all args to kdbfeaturestest before the driver.
Apr 25 2020, 8:58 PM · KDb
staniek closed D29184: Take all args to kdbfeaturestest before the driver.
Apr 25 2020, 8:56 PM · KDb
staniek added a comment to D29184: Take all args to kdbfeaturestest before the driver.

Thanks. Looks good. For the future, bugfixes can go to the 3.2 branch - it will be easier to apply. Otherwise I need to cherry-pick a commit.

Apr 25 2020, 8:52 PM · KDb
jfita requested review of D29186: Fix SqliteCursor’s buffering.
Apr 25 2020, 8:12 PM · KDb
jfita requested review of D29185: Expand feature test for buffered cursors.
Apr 25 2020, 7:39 PM · KDb
jfita requested review of D29184: Take all args to kdbfeaturestest before the driver.
Apr 25 2020, 7:30 PM · KDb
staniek added a comment to D29166: Add cached table example.

Thank you Jordi, I will review it. This looks like a wonderful example app!

Apr 25 2020, 3:20 PM · KDb

Apr 24 2020

jfita added a comment to D29166: Add cached table example.

My plan is to include the example as a tutorial in the documentation, but first i wanted for you to review the code alone and see all i did wrong.

Apr 24 2020, 10:12 PM · KDb
jfita requested review of D29166: Add cached table example.
Apr 24 2020, 10:09 PM · KDb

Jan 15 2019

staniek reopened D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
Jan 15 2019, 9:20 AM · KDb
staniek added a comment to D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).

@piggz
Pushed for 3.2 Beta, post-commit review would be welcome.

Jan 15 2019, 9:20 AM · KDb
staniek closed D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
Jan 15 2019, 9:19 AM · KDb
sukalyanbanga removed a watcher for KDb: sukalyanbanga.
Jan 15 2019, 6:36 AM

Jan 14 2019

sukalyanbanga added a watcher for KDb: sukalyanbanga.
Jan 14 2019, 11:53 AM

Jan 4 2019

staniek closed D17336: Restore support for date/time constants in KEXI SQL.
Jan 4 2019, 9:27 PM · KDb
staniek updated the diff for D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).

Update to 3.2

Jan 4 2019, 8:54 PM · KDb
staniek reopened D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
Jan 4 2019, 11:42 AM · KDb
staniek closed D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
Jan 4 2019, 11:32 AM · KDb

Jan 1 2019

staniek updated the diff for D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
  • Update API docs for KDbDriverManager::driverIdsForMimeType()
Jan 1 2019, 11:31 PM · KDb
staniek added a comment to D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
In D17887#384770, @pino wrote:

I don't understand what is tested in KDbTestUtils::testDriver() now, related to the mimetypes. The old logic looked better (and simpler too) to me, I'd just leave that.
The only simple addition IMHO is that manager.driverIdsForMimeType(mimeName) returns a valid driver for each of the mimetypes specified in the plugin metadata.

Jan 1 2019, 10:49 PM · KDb
staniek added inline comments to D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
Jan 1 2019, 10:41 PM · KDb
pino added a comment to D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).

I don't understand what is tested in KDbTestUtils::testDriver() now, related to the mimetypes. The old logic looked better (and simpler too) to me, I'd just leave that.
The only simple addition IMHO is that manager.driverIdsForMimeType(mimeName) returns a valid driver for each of the mimetypes specified in the plugin metadata.

Jan 1 2019, 9:52 PM · KDb
staniek added a comment to D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).

Tested before and after adding application/vnd.sqlite3 to the system (exact FD.o patch) - it works only thanks to keeping the old x-sqlite3 type in the JSON and because FD.o has an alias. Good that I asked about json, otherwise it would fail for me. Added more extensive tests to verify. Thanks @pino and be welcome to more reviews :)

Jan 1 2019, 9:42 PM · KDb
staniek added a reviewer for D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17): pino.
Jan 1 2019, 9:36 PM · KDb
staniek updated the diff for D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
  • Resolve plugin mime types before adding metadata - idea from from Pino
  • Add autotests for checking detection of every mime type that should be supported
Jan 1 2019, 9:36 PM · KDb
pino added a comment to D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
In D17887#384687, @pino wrote:

Shorter: what change in kdb_sqlitedriver.json do you propose?

With the draft of patch I proposed, none.

OK but that means you propose to revert change for the json or keeping the change as is?

Jan 1 2019, 7:25 PM · KDb
staniek added a comment to D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17).
In D17887#384687, @pino wrote:

Shorter: what change in kdb_sqlitedriver.json do you propose?

With the draft of patch I proposed, none.

Jan 1 2019, 6:27 PM · KDb