- 23 Sep, 2014 1 commit
-
-
Eike Ziller authored
Introduces a "prepareSearch" method for locator filters that is called on the UI thread prior to the threaded matching. Fix various small thread-safety issues in the various filters. Change-Id: If5ae7d205e126d367420936a93f8d9a84496edb8 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- 22 Sep, 2014 2 commits
-
-
Eike Ziller authored
The all/current project searches use metacalls on the UI thread to work around thread-unsafety of the Project::allFiles method, so we cannot jus t block the UI thread to wait for the old search to cancel. On the other hand, many of the ILocatorFilter::matchesFor implementation s do not work when they are run in multiple threads simultaneously (most implementations access unguarded member variables, help index filter tend s to crash), so we _do_ have to wait for the search to cancel before sta rting a new thread. Broke with 05c26767 and 6fc39f0c 00c5673ae80d03d115bf3739 Change-Id: I93c607c879e8ba6ef60f94719812edb3df43a154 Task-number: QTCREATORBUG-12875 Task-number: QTCREATORBUG-12592 Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
-
Eike Ziller authored
Change-Id: I3803fbd6d99a4b2d113997f56ab8f05e5c169937 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 29 Aug, 2014 1 commit
-
-
Christian Kandeler authored
Replace all* remaining deprecated Qt 4 functions with their Qt 5 counterparts. This means we no longer need to define the QT_DISABLE_DEPRECATED_BEFORE macro. This patch is relatively small because most source-compatible changes of this kind have been done before. * The one exception is the QmlDesigner, which uses QWeakPointer in a deprecated way all over the place. Change-Id: Id4b839c6685f3b5bdf2b89137f95231758ec53c7 Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 25 Aug, 2014 2 commits
-
-
hjk authored
Less typing and less cycles than join(QString) where appropriate Change-Id: I6ebc0e17e4d7fd9845864dd95b7de4ba4dad6906 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Eike Ziller authored
Updating the completion list is done in a separate thread, and for the all and current project filters that requires a slot to be synchronously executed on the main thread. Triggering the update first canceled a running update and waited for it to finish, before starting the next update. If the first update hadn't run its code on the main thread yet, it was never be able to, and never finished. The patch just removes the waitForFinished after the cancel. There is no reason to wait, since we retrieve all results only when we get the finished signal of a non-canceled update anyhow. Broke with 05c26767 when fixing QTCREATORBUG-12592 Task-number: QTCREATORBUG-12875 Change-Id: Iba9d46d469e6b2c7e894963d964c2eaca4bc4d93 Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
-
- 24 Jul, 2014 1 commit
-
-
Alessandro Portale authored
Letting that helper function return a file name is more flexible than returning a QPixmap. Change-Id: I4634e4e795eec029608c8e65c1a0e8afff870a91 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 16 Jul, 2014 1 commit
-
-
Orgad Shaneh authored
Change-Id: I4a8a8f68bb1e52750380218793ec3029b488c01f Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- 15 Jul, 2014 1 commit
-
-
Alessandro Portale authored
magnifier@2x.png was already part of the core plugin, but never used since the @2x logic is in QIcon and for the magnifier.png we use QPixmap for loading. This patch uses Utils::StyleHelper::dpiSpecificPixmap() to load the image in the findtoolbar and locatorwidget. It also removes the image centering code in FindToolBar::updateIcons() (most likely a by now obsolete workaround) since the image gets properly centered in the Utils::FancyLineEdit. Change-Id: I5cd6d22fc5cce3838db6164568cb9165da052c49 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 08 Jul, 2014 1 commit
-
-
Yuchen Deng authored
Change-Id: Iadc76feaca0f9f3ea1ed49a64948ed785ba43ca8 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 04 Jul, 2014 1 commit
-
-
Eike Ziller authored
Since the path must have correct case (for case sensitive file systems), we should only take into account if the "file name" part of the search string is all lowercase or not. Change-Id: I6bd49f7ac37cbdd39b995a75f1b81083c9df74d3 Task-number: QTCREATORBUG-10843 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 02 Jul, 2014 1 commit
-
-
Eike Ziller authored
They were calling thread-unsafe API from a non-GUI thread. Task-number: QTCREATORBUG-12592 Change-Id: I029eebae341643060ca1d1a685e2a5730f9cf964 Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com>
-
- 19 Jun, 2014 1 commit
-
-
Nikita Baryshnikov authored
Change-Id: I4f6011cc2b6127037249aabc2426a88ad7108ebf Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 17 Jun, 2014 1 commit
-
-
Erik Verbruggen authored
Change-Id: Ib92418898d627b9b07b861a0255684c8f925f814 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 13 Jun, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: Iae2fe480d9fcb564d566f1dcca142c21c99c2d5b Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 03 Jun, 2014 1 commit
-
-
David Schulz authored
Use forward slashes as separator in the test data. Change-Id: Ib832f0c72dc1694b2b2e230e32a274b96956c44b Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- 02 Jun, 2014 1 commit
-
-
Andreas Pakulat authored
The paths against which the match is done always have forward slashes (i.e. uniform separator on all platforms). However the needle passed in has backward slashes on Windows usually, since this is how the paths are shown to the users and what is natural on windows too. Even explicitly using forward slash in the needle does not work here, since then the needle is not detected as containing a path (hasPathSeparator is false since it uses the native separator). Since it seems that the code internally favors the 'uniform' separators using slashes, simply convert the needle from native to uniform separators and use the forward slash to decide whether the needle has a path in it. Side effect of this is that it is now possible to use forward slashes when typing into the locator UI on windows. The opposite does not work on Unix though. That could be considered a feature though for cross-platform developers. Task-number: QTCREATORBUG-12007 Change-Id: I5064bd9c60936466dd04671ef42a578df26ea7b8 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 13 May, 2014 1 commit
-
-
hjk authored
Move item model implementation to private, adjust user code. Change-Id: Ifbe94e7c7b9b1e8be1b4c531958dbd7a9413af13 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 28 Apr, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I70450a2aa675d69f820de48dd75909f36051efe0 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Daniel Teske <daniel.teske@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 22 Apr, 2014 1 commit
-
-
Christian Kandeler authored
Change-Id: Ib608bb49e26781aef1914085a5d801fcdcd5eb56 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com>
-
- 14 Apr, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I0c2096020ad102a836bf06ce8db0428ccf8fb805 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 03 Apr, 2014 1 commit
-
-
Eike Ziller authored
Task-number: QTCREATORBUG-6719 Change-Id: I97a8972da3cb793324ca366bf4c977553e6bb38d Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 24 Mar, 2014 1 commit
-
-
Orgad Shaneh authored
Task-number: QTCREATORBUG-7000 Change-Id: Ibeafebdcd9aee44ab0d69e2d7dc156c06acf6618 Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- 12 Mar, 2014 1 commit
-
-
hjk authored
Change-Id: I2ee35796b2c041e6ea2ae6bd677e10167451d1b8 Reviewed-by:
Christian Stenger <christian.stenger@digia.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com>
-
- 07 Mar, 2014 1 commit
-
-
Leena Miettinen authored
Change-Id: Ied2569a5cb09ff44335ad7b498b869e9f0dbb91e Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 25 Feb, 2014 2 commits
-
-
Eike Ziller authored
We have many buttons that open the options dialog, and many of these use different terms. Change-Id: I073fe2a23569c6f4174a2fb6567359c89cb2427c Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com>
-
Robert Loehning authored
Change-Id: I70974a223b68b9823ac0f1346a9ecc504355955f Reviewed-by:
Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 21 Feb, 2014 1 commit
-
-
Eike Ziller authored
By wrapping related ones in a single transaction, instead of (implicitly) doing a transaction per settings value that is written. Task-number: QTCREATORBUG-11524 Change-Id: I28e06c9d6cd4ebad024f9c277796abb37df5f992 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
- 17 Feb, 2014 1 commit
-
-
Tobias Hunger authored
Change-Id: Ic5fd63855c752fd07b6ef474bc72be7f7397dec5 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- 14 Feb, 2014 3 commits
-
-
hjk authored
Change-Id: Ic53836dade3985c36b0f6767e43b5af0ddb80d72 Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Eike Ziller authored
After the move of locator into core plugin Change-Id: Ie2504ca96f6a77206f0b77a5fc5698adb86b6a4c Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Eike Ziller authored
Change-Id: Id14b14fb553ab9828950994e9069499ac7604757 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 13 Feb, 2014 1 commit
-
-
Eike Ziller authored
We need to set the display name on the interface, and give the filters a unique id (simply numbered). Task-number: QTCREATORBUG-11051 Change-Id: I8fdbf52fb538f071a9257ac57d2151f58f8d2157 Reviewed-by:
Daniel Teske <daniel.teske@digia.com>
-
- 12 Feb, 2014 1 commit
-
-
Orgad Shaneh authored
Done using the following ruby script: Dir.glob('**/*.h').each { |file| if File.file?(file) s = File.read(file) t = s.gsub(/^namespace .+ \{\n\s*class .*;\n\s*\}.*$/) { |m| m.gsub(/\n\s*/, ' ').gsub(/\s*\/\/.*$/, '') } if t != s puts file File.open(file, 'w').write(t) end end } Change-Id: Iffcb966e90eb8e1a625eccd5dd0b94f000ae368e Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 15 Jan, 2014 1 commit
-
-
hjk authored
Change-Id: I010447247c57e437057672f1295a611718b5598a Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 14 Jan, 2014 1 commit
-
-
hjk authored
Change-Id: I7053310272235d854c9f409670ff52a10a7add8b Reviewed-by:
Christian Kandeler <christian.kandeler@digia.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-