- 05 Oct, 2017 1 commit
-
-
Marco Bubke authored
The database is using file path integer ids to handle file paths because otherwise we would save many redundant data. This patch is improving it further with the introduction of a database based file path cache. The entries are now divided in a directory path and file name. This is quite handy for directory based file watching. Change-Id: I03f2e388e43f3d521d6bf8e39dfb95eb2309dc73 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 21 Sep, 2017 1 commit
-
-
Marco Bubke authored
There are now only value and values methods. value returns an optional and values are returning a vector. The result value count has now be specified instead of the result value list. Change-Id: I17a0741d5e838b4bf4b9486825c870ada1722584 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 20 Sep, 2017 2 commits
-
-
Marco Bubke authored
In Sqlite as you bind value you can bind or simply use a reference to the bound values. Because we hold the values anyway we do not copy them. Change-Id: I11c6fa5036ea958c8e48e3a117ad4a002d749c22 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io> Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
Marco Bubke authored
Introducing different exceptions for different error cases. Change-Id: I4371d1e64d9dca2a9f68dcbaa4a891c55879c1f5 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io> Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
- 18 Sep, 2017 1 commit
-
-
Marco Bubke authored
We use a name space now, so the prefix is not of much use. Change-Id: I2b077576f94dab778add6ab2e54870f7ca18da78 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 29 Aug, 2017 1 commit
-
-
Marco Bubke authored
Extend file path cache to 64 bit integer. Change-Id: I5627f13d59a3214f389087038482cbcc8d0eb484 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 28 Aug, 2017 1 commit
-
-
Marco Bubke authored
It is now possible to read values at once. for (auto [name, value] : statement.tupleValues<String, int>(1000, "foo", 20)) .... Change-Id: I3d4bc5218810b4620e1df625126aa490f30bbc71 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 02 Aug, 2017 1 commit
-
-
Marco Bubke authored
You can now write SqliteWriteStatement statement("UPDATE test SET name=?, number=? WHERE rowid=?", database); statement.write("see", 7.23, 1); and SqliteWriteStatement statement("UPDATE test SET name=@name, number=@number WHERE rowid=@id", database); statement.writeNamed("@name", "see", "@number", 7.23, "@id", 1); This is more type safe than using variants and performant too. Change-Id: Ie1ed2a6d326b956be5c4ec056214f3f5b1531f45 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 01 Aug, 2017 1 commit
-
-
Marco Bubke authored
We only will need the utf8 optimized SmallString for the indexer database. So we remove all other string bindings, QByteArray and QVariant. Change-Id: I4a77901a80b26bf292fc85df535c2ccf3a8ab52f Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 27 Jul, 2017 2 commits
-
-
Marco Bubke authored
Change-Id: Ic31f61a477ad681652eeccdaa39f82970c57eb5a Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
Marco Bubke authored
We don't need the threading anymore, so we removed it. The indexer will be run in its thread anyway, so an extra thread makes the code only more complicated. And we added namespaces. Change-Id: Ibcba306324763285cf653c28bb08122345e5f8da Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 30 Mar, 2016 1 commit
-
-
hjk authored
Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
- 19 Jan, 2016 1 commit
-
-
Tobias Hunger authored
* Update remaining files in src Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
- 16 Jun, 2015 1 commit
-
-
Marco Bubke authored
Change-Id: I324e88c0d295114390c1fac2745c0d2d47637ece Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 03 Jun, 2015 1 commit
-
-
Marco Bubke authored
This is a partial result of wip/clang-oop. More will follow. This allows us to invoke the completion out of the Qt Creator process and thus safes us as against libclang crashes. At this point only the completion use case is supported. Some notes on the individual components: src/libs/codemodelbackendipc * library encapsulating the inter process communication handling * used by the backend application and in a follow-up change by the creator integration src/libs/3rdparty/sqlite * version 3.8.10.2 * dependency of codemodelbackendipc, will be used to storage indexing data, among others src/tools/codemodelbackend * the backend application tests/unit: * unit tests Change-Id: I91a48e27467581a22fb760a18d8eb926008fea60 Reviewed-by:
Alessandro Portale <alessandro.portale@theqtcompany.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-