Scott Kostyshak
8d2b121ef5
Do not show master's errors if compiling child
...
If a master document is compiled and has errors, and then a child is
compiled without error, the errors from the master compilation were
shown.
The setup of the relevant code is the following:
processingThreadFinished() calls errors(). errors() makes the
assumption that if it is called, there must have been an error
somewhere.
The logic of the setup is the following:
processingThreadFinished() knows whether there was an error on
the most recent preview/export, although it doesn't know whether
the error is from master or child (i.e. does not know whether the
user was compiling the child, or whether master-buffer-view was
called). Inside error(), if there is no error in the child, it is
assumed the error is from master.
For the above logic to work, errors() should only be called if there
was an error.
This commit fixes #11106 and preserves the fix to #7330 .
2018-04-08 09:51:01 -04:00
..
2018-01-02 16:01:07 +01:00
2017-10-09 08:06:27 +02:00
2018-04-08 09:51:01 -04:00
2018-01-06 02:39:51 -05:00
2018-04-04 10:53:40 +02:00
2018-04-05 11:22:02 +02:00
2018-04-07 22:09:06 +02:00
2018-01-08 12:58:28 +01:00
2018-03-17 18:26:47 +01:00
2017-07-30 09:30:58 +02:00
2017-07-30 00:54:12 +02:00
2017-07-03 13:53:14 -04:00
2016-05-29 17:55:42 -04:00
2018-01-27 14:29:41 +01:00
2017-07-03 13:46:30 -04:00
2017-07-23 13:11:54 +02:00
2017-07-03 13:53:14 -04:00
2018-04-07 22:09:06 +02:00
2018-03-22 15:52:23 +01:00
2016-10-17 00:16:59 +02:00
2017-12-13 10:46:54 +01:00
2017-12-13 10:46:54 +01:00
2018-03-26 15:50:35 +02:00
2017-08-03 13:07:41 +02:00
2018-04-04 15:11:13 +02:00
2018-01-25 22:08:35 +01:00
2017-10-22 13:12:33 +02:00
2017-01-14 23:13:14 +01:00
2018-02-18 09:19:03 +01:00
2016-05-29 17:55:45 -04:00
2017-01-21 14:25:17 +01:00
2017-07-23 13:11:54 +02:00
2018-02-23 23:17:57 -05:00
2017-10-03 22:12:23 +02:00
2018-02-23 23:38:31 -05:00
2017-07-03 13:46:30 -04:00
2017-10-16 10:12:21 +02:00
2017-10-16 10:12:21 +02:00
2017-07-03 13:46:30 -04:00
2017-10-16 15:48:47 -04:00
2017-07-03 13:46:30 -04:00
2017-12-23 15:04:40 -05:00
2017-08-03 13:07:41 +02:00
2017-07-23 13:11:54 +02:00
2015-11-20 22:43:45 +01:00
2015-10-19 13:17:16 +02:00
2017-07-23 13:11:54 +02:00
2017-07-03 13:46:30 -04:00
2018-04-05 11:22:02 +02:00
2018-04-05 11:22:02 +02:00
2017-07-05 14:46:34 +02:00
2017-07-03 13:46:30 -04:00
2018-03-09 12:15:19 +01:00
2017-10-25 16:20:27 +02:00
2017-03-13 17:06:42 +01:00
2017-03-20 15:38:08 +01:00
2015-10-10 21:38:17 +02:00
2016-11-16 18:33:02 +01:00
2017-07-03 13:46:30 -04:00
2018-01-26 08:38:52 +01:00
2018-02-07 23:24:05 +01:00
2017-07-23 13:11:54 +02:00
2018-01-30 12:11:22 +01:00
2018-02-23 23:43:59 -05:00
2017-07-03 13:46:30 -04:00
2017-03-01 16:34:01 +01:00
2016-10-22 23:24:01 +02:00
2018-02-24 00:30:24 -05:00
2017-07-03 13:53:14 -04:00
2017-07-03 13:46:30 -04:00
2015-05-22 18:59:17 +02:00
2015-05-22 18:59:17 +02:00
2018-02-26 17:06:31 +01:00
2017-06-03 17:26:05 +02:00
2016-11-21 00:02:35 +01:00
2017-07-23 13:11:54 +02:00
2017-07-03 13:46:30 -04:00
2017-07-03 13:53:14 -04:00
2016-05-30 14:55:41 +02:00
2017-07-23 13:11:54 +02:00
2017-03-13 23:40:29 -04:00
2018-02-08 21:59:41 +01:00
2018-03-19 14:59:43 +01:00
2018-03-12 14:34:24 +01:00
2017-07-03 13:53:14 -04:00
2017-07-03 13:46:30 -04:00
2018-03-29 18:43:11 +02:00
2018-02-23 23:47:05 -05:00
2017-07-03 13:46:30 -04:00
2017-07-23 13:11:54 +02:00
2017-09-22 09:29:16 +02:00
2017-07-03 13:53:14 -04:00
2017-07-03 13:46:30 -04:00
2017-07-03 13:53:14 -04:00
2017-07-03 13:46:30 -04:00
2017-07-23 13:11:54 +02:00
2016-10-27 09:59:01 +02:00
2018-02-23 23:54:24 -05:00
2017-12-21 18:55:39 -05:00
2018-02-23 23:59:40 -05:00
2017-11-19 10:41:17 +01:00
2017-07-03 13:53:14 -04:00
2017-07-03 13:46:30 -04:00
2018-02-21 16:37:07 +01:00
2017-12-29 10:36:03 +01:00
2016-10-21 10:39:55 +02:00
2017-07-03 13:53:14 -04:00
2017-07-03 13:46:30 -04:00
2017-07-03 13:53:14 -04:00
2018-01-28 23:37:20 -05:00
2018-01-05 20:14:04 +01:00
2018-01-05 20:14:04 +01:00
2017-07-23 13:11:54 +02:00
2017-08-29 15:30:44 +02:00
2017-07-03 13:46:30 -04:00
2018-01-29 15:06:32 +01:00
2017-03-13 23:40:29 -04:00
2018-03-31 01:04:57 -04:00
2017-07-03 13:46:30 -04:00
2018-02-24 00:32:14 -05:00
2017-07-03 13:46:30 -04:00
2018-03-19 14:07:03 +01:00
2018-03-19 11:17:33 +01:00
2017-07-03 13:53:14 -04:00
2016-10-19 11:59:47 +02:00
2017-04-12 21:19:42 +02:00
2017-10-16 10:12:21 +02:00
2018-01-05 20:14:04 +01:00
2018-01-05 20:14:04 +01:00
2016-06-26 14:26:35 +02:00
2017-07-23 13:11:54 +02:00
2017-07-03 13:46:30 -04:00
2017-07-23 13:11:54 +02:00
2018-03-06 15:31:43 +01:00
2017-12-26 13:11:00 +01:00
2017-10-16 21:28:44 -04:00
2017-04-05 00:01:19 +02:00
2017-07-23 13:11:54 +02:00
2017-02-04 19:23:45 +01:00
2017-05-01 20:08:12 -04:00
2015-12-05 19:33:24 +00:00
2018-02-24 00:04:34 -05:00
2018-02-12 14:38:28 +01:00
2017-11-11 13:24:08 +01:00
2017-11-11 13:24:08 +01:00
2017-07-03 13:46:30 -04:00
2017-07-03 13:53:14 -04:00
2015-09-13 19:47:21 +02:00
2017-07-03 13:53:14 -04:00
2018-01-15 17:20:34 +01:00
2018-01-15 17:20:34 +01:00
2018-02-08 17:00:41 +01:00
2018-01-16 14:10:30 +01:00
2018-02-24 12:48:02 +01:00
2017-06-11 19:51:17 +02:00
2016-07-04 10:30:19 +02:00
2016-06-09 15:21:39 +01:00
2017-12-02 10:46:46 +01:00
2017-08-03 13:07:41 +02:00
2016-07-31 18:34:33 +01:00
2017-12-23 13:27:10 +01:00
2017-12-23 13:27:10 +01:00
2017-07-03 13:46:30 -04:00
2016-10-22 23:24:01 +02:00
2016-10-23 00:25:05 +02:00
2017-07-23 13:11:54 +02:00
2017-07-23 13:11:54 +02:00
2017-10-16 10:12:21 +02:00
2018-03-21 23:08:38 -04:00
2018-04-03 18:39:28 -04:00
2017-10-25 16:20:27 +02:00
2018-01-27 14:29:41 +01:00
2017-09-01 10:27:12 +02:00
2018-02-24 00:25:56 -05:00
2017-09-08 16:57:22 +02:00
2017-07-23 13:11:54 +02:00
2015-09-20 19:43:06 +02:00
2016-06-09 15:21:39 +01:00
2017-07-03 13:53:14 -04:00
2017-01-14 23:13:14 +01:00
2017-01-09 23:15:16 +01:00
2017-01-09 23:15:16 +01:00
2018-02-24 00:28:37 -05:00
2015-10-10 21:04:28 +02:00
2017-12-13 11:10:49 +01:00
2017-11-29 14:46:15 +01:00
2017-10-24 22:25:29 +02:00
2018-01-10 10:47:48 +01:00
2017-07-03 13:46:30 -04:00
2018-03-15 15:44:49 +01:00
2017-07-03 13:53:14 -04:00
2015-07-16 21:59:15 +02:00
2017-07-03 13:53:14 -04:00
2016-12-31 15:29:43 +01:00