Nikolai Kosjar
bf5c1cc4fb
Clang: Avoid duplicate jobs without changes in-between
...
This could happen, e.g. with this message order:
>>> updateTranslationUnitsForEditor()
add job<1>
run job<1>
>>> updateVisibleTranslationUnits(Utf8String(), {})
>>> updateVisibleTranslationUnits(path, {path})
add job<2>
finish job<1>
run job<2> -- Ops, nothing is changed but job<2> is started
This led to an outdated translation unit (e.g. wrong highlighting).
Now JobQueue checks for duplicates in the queue and checks all the
currently running jobs.
Change-Id: I05843fddcbd21ce0489681c283227c0027ded428
Reviewed-by: David Schulz <david.schulz@qt.io >
2016-10-10 12:37:20 +00:00
..
2016-08-08 13:50:25 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-02-17 10:35:34 +00:00
2016-09-19 15:17:54 +00:00
2016-03-30 15:20:19 +00:00
2016-09-19 15:27:25 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-10-10 12:36:24 +00:00
2016-10-10 12:35:35 +00:00
2016-10-10 12:35:35 +00:00
2016-10-10 12:36:48 +00:00
2016-09-19 15:17:54 +00:00
2016-10-10 12:37:20 +00:00
2016-09-19 15:17:54 +00:00
2016-10-10 12:37:20 +00:00
2016-10-10 12:37:20 +00:00
2016-10-10 12:36:59 +00:00
2016-10-10 12:36:59 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-10-10 12:36:59 +00:00
2016-10-10 12:36:59 +00:00
2016-10-10 12:36:24 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-08-22 09:12:56 +00:00
2016-09-19 15:17:54 +00:00
2016-08-22 09:12:56 +00:00
2016-10-10 12:35:48 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-07-28 09:42:31 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-04-18 11:14:06 +00:00
2016-09-19 15:17:54 +00:00
2016-08-22 09:12:56 +00:00
2016-10-10 12:35:48 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-08-04 14:37:19 +00:00
2016-07-18 13:17:27 +00:00
2016-08-04 14:37:19 +00:00
2016-09-19 15:17:54 +00:00
2016-08-04 14:37:19 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-10-10 12:36:24 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-10-10 12:35:48 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-10-10 12:35:48 +00:00
2016-01-19 16:01:06 +00:00
2016-03-30 15:20:19 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-10-10 12:36:24 +00:00
2016-10-10 12:36:59 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00