Commit Graph

1349 Commits

Author SHA1 Message Date
Pietro Gagliardi 2cf0707c3e Set up work for rearranging control layout to be depth-first and to relayout the entire window on a change. 2015-08-18 19:57:16 -04:00
Pietro Gagliardi b78693f21a More TODOs. 2015-08-17 20:11:10 -04:00
Pietro Gagliardi bec9ba1ba7 More relayout parent work. More TODOs. 2015-08-17 19:19:02 -04:00
Pietro Gagliardi 77a293b699 Set up a system by which a control can trigger the relayout of its parents. Not quite perfect yet. 2015-08-17 19:11:35 -04:00
Pietro Gagliardi b9b8ab7552 Removed some debugging stuff. I'm going to need to introduce a uiControlRelayoutParent(). 2015-08-17 18:53:46 -04:00
Pietro Gagliardi df832fbff8 More uiGroup work. 2015-08-17 18:30:04 -04:00
Pietro Gagliardi f2e30548fc Attempted to fill in uiGroup; also fixed uiUninit() bugs. 2015-08-17 17:27:27 -04:00
Pietro Gagliardi ab9432cc7e Stray TODO resolution removal. 2015-08-17 15:20:46 -04:00
Pietro Gagliardi 6544e76d5f Implemented the uiSlider and uiProgressBar functions and events. More TODOs. Some build warnings fixed. 2015-08-17 15:16:54 -04:00
Pietro Gagliardi 478f5d2504 More TODO resolution. 2015-08-17 12:57:45 -04:00
Pietro Gagliardi b15554cbd1 Some TODO resolution. 2015-08-17 12:42:10 -04:00
Pietro Gagliardi d8bba34caf More TODOs. 2015-08-17 12:15:32 -04:00
Pietro Gagliardi 46da8c5fc7 More TODOs. 2015-08-17 01:58:23 -04:00
Pietro Gagliardi edd2bf81e1 Fixed other build errors. IT WORKS! but isn't quite clean now... 2015-08-17 01:52:06 -04:00
Pietro Gagliardi a5a9c464bf Fixed some build and runtime errors. 2015-08-17 01:41:04 -04:00
Pietro Gagliardi eb0b1d1ab7 Changed all the things that used NSMutableDictionary to store views as keys to not do so. Will test next. 2015-08-17 01:29:34 -04:00
Pietro Gagliardi 22551413aa Set up the infrastructure for replacing NSMutableDictionary with a proper non-copying map. 2015-08-17 01:03:53 -04:00
Pietro Gagliardi 9d3ba0cfd7 More TODOs. 2015-08-16 23:45:15 -04:00
Pietro Gagliardi 4a9d0081a3 Other build issues fixed. Now for other issues. 2015-08-16 23:44:23 -04:00
Pietro Gagliardi 13e90c4263 More fixes. 2015-08-16 23:20:53 -04:00
Pietro Gagliardi 4b0d81c144 More compile fixes. 2015-08-16 23:16:42 -04:00
Pietro Gagliardi fa659395c8 Fixed some build issues and added the OS X uiControl code. 2015-08-16 23:08:00 -04:00
Pietro Gagliardi d5f2cae243 Whoops, forgot to migrate the tests. 2015-08-16 22:49:50 -04:00
Pietro Gagliardi a048f0bcc0 Migrated everything else. Now we can rebuild! 2015-08-16 22:48:27 -04:00
Pietro Gagliardi 51f714e0e4 More migration. I think that's all the code; all that's left is the makefiles... 2015-08-16 22:46:18 -04:00
Pietro Gagliardi f95b9c1204 More migration. 2015-08-16 22:30:44 -04:00
Pietro Gagliardi 705f81d7e4 Started merging back the uiControl base code. 2015-08-16 22:19:15 -04:00
Pietro Gagliardi 2cd336903d Rewrote the public-facing OS X control macro. 2015-08-16 20:56:39 -04:00
Pietro Gagliardi 7613d32bc1 Converted ui.idl to a non-IDL ui.h. 2015-08-16 17:14:46 -04:00
Pietro Gagliardi 8fec1b41d2 Some more Auto Layout utility functions. 2015-08-16 11:43:51 -04:00
Pietro Gagliardi d0ceac86c2 Wrote up the Auto Layout-based uiBox implementation. 2015-08-15 23:32:34 -04:00
Pietro Gagliardi a0bf2107d3 Migrated the uiWindow code, also reimplementing it to use the new Auto Layout system. 2015-08-15 20:37:02 -04:00
Pietro Gagliardi 459900ffd5 Fixed up tab.m. 2015-08-15 19:35:36 -04:00
Pietro Gagliardi f8fbcb3dfb Started some Auto Layout utility functions. 2015-08-15 17:05:48 -04:00
Pietro Gagliardi cfd50c16d9 More control migration. I'm going to rewrite this before continuing, but first, Auto Layout stuff. 2015-08-15 17:05:11 -04:00
Pietro Gagliardi a931957f4e More new Darwin controls. 2015-08-14 23:50:38 -04:00
Pietro Gagliardi 60856a59b7 Even more Darwin control work. 2015-08-14 22:50:20 -04:00
Pietro Gagliardi 521da6c598 More Darwin control migration. 2015-08-14 21:46:35 -04:00
Pietro Gagliardi e0963f8030 More TODOs. 2015-08-13 23:38:58 -04:00
Pietro Gagliardi 216f480d31 Started rewriting the OS X backend. This time I start by writing the controls how I'd ideally write the boilerplate. 2015-08-13 23:38:17 -04:00
Pietro Gagliardi a44498e4c3 More TODOs and comments. 2015-08-11 20:23:12 -04:00
Pietro Gagliardi 372cfd048d Experimented with manually specifying control sizes for nonstretchy controls in Box. This resolves ambiguities! 2015-08-11 20:21:30 -04:00
Pietro Gagliardi 819d778b46 Some layout.swift changes. Added support for the metrics parameter and a fitting size calculation function; this will be needed for the next experiment with boxes. 2015-08-11 20:10:12 -04:00
Pietro Gagliardi 22599c3428 Removed the OS version stuff in the previous commit. Not sure what the difference between OS Version and Subsystem Version is. 2015-08-09 16:01:55 -04:00
Pietro Gagliardi bf2bacd32c Set the major OS subsystem version for Windows targets. Thanks to nbjoerg in irc.oftc.net/#mingw-w64 and Hans Passant on Stack Overflow. 2015-08-09 15:55:37 -04:00
Pietro Gagliardi 0268028ccb Added nested Box stress tests. 2015-08-09 01:59:06 -04:00
Pietro Gagliardi 4de4fdafdf More TODOs. 2015-08-09 01:51:13 -04:00
Pietro Gagliardi ba2651ce03 Fixed other Spinbox issues. Rule for our Box is that both intrinsic dimensions MUST be provided. 2015-08-09 00:20:28 -04:00
Pietro Gagliardi 3cba5b018c Reimplemented the old main.swift_. Spinbox still has issues, it seems. 2015-08-08 23:46:56 -04:00
Pietro Gagliardi 5964af433a Fixed up Spinbox. 2015-08-08 23:33:56 -04:00