Alexander Ljungberg
84f42bdd05
Fixed: decoding a CPClipView could result in duplicate subviews.
...
This bug used to be concealed by the fact that we called [superview removeObject:X] when replacing a subview, which caused all duplicates to be removed.
Without this fix, the call to setDocumentView in CPClipView's decoding would try to add the document view as a subview. But when decoding, the clip view is already in the decoded list of subviews. Normally adding a subview twice would just move it to the end of the list of subviews, but this only works for fully decoded subviews where superview is not nil. Since we're in the middle of decoding there's no guarantee superview is set yet.
This fix avoids calling addSubview:.
2013-02-24 21:26:02 +00:00
..
2013-02-15 12:21:13 -05:00
2013-02-21 17:02:55 -05:00
2013-02-23 13:53:20 -05:00
2013-02-19 17:25:29 -05:00
2013-02-23 13:53:20 -05:00
2013-02-23 13:53:20 -05:00
2013-02-23 13:53:20 -05:00
2013-02-23 16:02:05 -05:00
2013-01-23 15:48:56 +07:00
2013-02-20 18:31:43 +00:00
2013-02-08 00:42:53 +00:00
2012-03-18 18:01:24 +00:00
2010-11-01 11:10:01 -07:00
2013-01-27 10:32:23 +08:00
2013-02-08 00:29:38 +00:00
2013-01-24 19:18:39 +08:00
2013-01-23 15:48:55 +07:00
2012-12-20 14:22:09 +01:00
2013-01-23 15:48:55 +07:00
2012-12-20 14:22:09 +01:00
2013-01-23 15:48:55 +07:00
2012-12-20 14:22:09 +01:00
2013-01-23 10:45:42 -08:00
2012-07-13 01:28:38 +01:00
2013-01-18 14:24:37 +01:00
2013-02-20 19:56:23 +00:00
2013-01-27 10:32:23 +08:00
2013-02-18 03:34:42 -05:00
2013-02-15 12:21:13 -05:00
2013-02-23 13:53:20 -05:00
2013-02-22 23:29:17 -05:00
2013-02-10 13:13:54 +00:00
2013-02-19 17:25:29 -05:00
2013-01-23 15:48:55 +07:00
2013-02-15 12:21:13 -05:00
2013-02-24 21:26:02 +00:00
2013-02-23 13:53:20 -05:00
2013-02-08 11:26:56 +00:00
2013-02-22 21:58:12 -05:00
2013-01-30 22:35:21 +08:00
2013-01-19 16:51:56 +07:00
2013-01-23 15:48:55 +07:00
2013-02-15 12:21:13 -05:00
2013-02-15 12:21:13 -05:00
2013-02-15 21:17:39 -05:00
2013-02-15 12:21:13 -05:00
2013-01-18 14:24:37 +01:00
2013-01-08 18:07:15 +00:00
2013-02-14 16:35:30 -05:00
2013-02-20 03:00:20 -05:00
2013-01-23 15:48:55 +07:00
2013-01-23 15:48:55 +07:00
2013-01-23 15:48:55 +07:00
2013-01-30 22:36:40 +08:00
2013-01-24 19:18:39 +08:00
2013-01-24 19:18:39 +08:00
2010-12-09 13:00:52 -08:00
2012-04-25 17:07:13 -04:00
2013-01-19 16:51:56 +07:00
2013-01-23 15:48:55 +07:00
2013-02-12 16:41:54 +00:00
2012-10-15 01:00:29 +01:00
2013-02-23 13:53:20 -05:00
2013-02-23 13:53:20 -05:00
2013-02-22 22:11:42 +01:00
2013-01-24 19:18:39 +08:00
2013-02-19 17:25:29 -05:00
2013-02-15 12:21:13 -05:00
2013-02-15 12:21:13 -05:00
2013-01-20 07:24:00 +07:00
2013-02-23 13:53:20 -05:00
2012-12-31 14:53:04 +00:00
2013-02-16 19:09:41 -05:00
2013-01-28 09:32:37 +08:00
2013-02-12 11:06:39 -08:00
2013-02-15 12:21:13 -05:00
2013-02-23 00:01:19 -05:00
2013-01-23 15:48:55 +07:00
2011-03-25 22:52:57 -04:00
2011-04-03 17:45:53 -04:00
2013-02-19 10:49:25 +00:00
2013-01-19 16:51:56 +07:00
2013-01-24 15:22:45 -08:00
2011-03-25 22:52:57 -04:00
2013-01-28 09:32:37 +08:00
2013-02-06 16:36:49 +00:00
2013-01-23 15:48:55 +07:00
2013-01-23 15:48:55 +07:00
2013-01-23 15:48:55 +07:00
2013-01-23 15:48:55 +07:00
2013-01-23 15:48:56 +07:00
2013-02-15 12:21:13 -05:00
2013-01-23 15:48:56 +07:00
2013-01-23 15:48:55 +07:00
2013-02-23 13:53:20 -05:00
2013-02-23 13:53:20 -05:00
2013-02-22 19:08:38 +00:00
2013-01-18 14:24:37 +01:00
2010-10-05 15:54:25 -07:00
2013-02-19 10:07:21 -05:00
2013-01-20 17:14:44 +00:00
2013-01-10 11:27:52 -08:00
2013-02-19 06:14:42 -08:00
2013-01-23 15:48:55 +07:00
2012-12-20 14:22:09 +01:00
2013-01-11 00:48:18 +00:00
2013-01-24 19:18:39 +08:00
2013-02-24 17:36:30 +00:00
2013-01-22 15:47:33 -08:00
2013-01-23 15:48:55 +07:00
2013-02-15 23:47:01 -05:00
2013-01-23 15:48:55 +07:00
2012-02-24 19:44:13 +00:00
2009-11-02 15:59:42 -08:00
2013-01-30 12:46:27 +08:00