Commit Graph

2637 Commits

Author SHA1 Message Date
Pietro Gagliardi 12e519f928 Adjusted the rules based on the previous commit. 2016-04-25 18:08:26 -04:00
Pietro Gagliardi d7d7d4fd76 Fixed the SyncEnableState() machinery not quite working properly. 2016-04-25 18:07:29 -04:00
Pietro Gagliardi 7b0780be2a Made SyncEnableState() a uiDarwinControl method instead of a uiControl method since it's not needed on GTK+. 2016-04-25 17:52:16 -04:00
Pietro Gagliardi a651caac89 Started migrating ui_unix.h. SyncEnableState can be dropped from the GTK+ port, so let's do that next. 2016-04-25 16:45:49 -04:00
Pietro Gagliardi 98e7afc5de Freed most of the mapTables. 2016-04-25 13:47:24 -04:00
Pietro Gagliardi 5cfcf81a67 Fixed runtime errors. It seems to work! An autolayout step will need to be added... 2016-04-25 13:44:13 -04:00
Pietro Gagliardi d0d0efce1a Fixed build errors. Now to test! 2016-04-25 13:38:17 -04:00
Pietro Gagliardi 3ca4a28bb3 Settled the SetParent stuff. NOW we can test. 2016-04-25 12:59:45 -04:00
Pietro Gagliardi 23c2998040 Migrated darwin/control.m. Forgot the SetParent/SetSuperview rule! One more commit before we can build... 2016-04-25 12:55:51 -04:00
Pietro Gagliardi 189d661b7f Migrated darwin/tab.m and fixed up the other files. Now for darwin/control.m, then we can test... 2016-04-25 12:52:54 -04:00
Pietro Gagliardi b50eda0303 Migrated darwin/group.m. That just leaves darwin/tab.m and a few fixups to a number of other controls. 2016-04-25 12:42:43 -04:00
Pietro Gagliardi f0ca2dcee5 Migrated darwin/box.m. 2016-04-25 12:35:01 -04:00
Pietro Gagliardi 6e584f26d3 Migrated darwin/window.m. 2016-04-25 12:28:36 -04:00
Pietro Gagliardi c36d5079db Migrated the controls that don't have children to the new object method model on OS X. 2016-04-25 11:54:09 -04:00
Pietro Gagliardi e69010139d Fixed one last error. 2016-04-25 10:26:00 -04:00
Pietro Gagliardi 639a010a56 Tested everything by migrating darwin/combobox.m; fixed errors along the way. Also more TODOs. 2016-04-25 10:23:16 -04:00
Pietro Gagliardi a97171ed86 Quick fixes to previous commit. 2016-04-25 10:00:31 -04:00
Pietro Gagliardi a6b324a33c Finished the new ui_darwin.h. 2016-04-25 09:57:05 -04:00
Pietro Gagliardi 31dee85b5e More work with changing things for OS X. Still not fully sure about things... 2016-04-24 21:51:08 -04:00
Pietro Gagliardi e643dc3693 More new control structure work. This is turning into a disaster already. 2016-04-24 19:56:14 -04:00
Pietro Gagliardi dda30cdb3c Started the new uiControl infrastructure. 2016-04-24 19:22:21 -04:00
Pietro Gagliardi 19f563a2ac ...and a new system for allocating uiControls. 2016-04-24 18:49:28 -04:00
Pietro Gagliardi 5f624f6a38 Set up a new system for uiControl methods. 2016-04-24 18:46:03 -04:00
Pietro Gagliardi cf51ec823f Got rid of toplevelOwning(); I didn't like that one. 2016-04-24 18:23:00 -04:00
Pietro Gagliardi bc0a1d43c9 Applied the new type system to the Windows backend and fixed some more C++ stupidity related to it. 2016-04-24 17:38:48 -04:00
Pietro Gagliardi 96e8f1f8ea Did the rest of the object changes on GTK+. 2016-04-24 16:59:46 -04:00
Pietro Gagliardi fa4632d101 Fixed more build errors building the tests. OS X backend converted! 2016-04-24 16:20:57 -04:00
Pietro Gagliardi b6c54aac43 Fixed build errors. Let's test! 2016-04-24 16:14:19 -04:00
Pietro Gagliardi ded1ee6997 Removed typed stuff from darwin/menu.m. Now let's try building it. 2016-04-24 16:07:45 -04:00
Pietro Gagliardi 5efad5e850 Migrated the uiNewControl() definitions on OS X. This just leaves uiMenu. 2016-04-24 16:03:13 -04:00
Pietro Gagliardi b2c9577cb9 Set up all the control signatures and the framework for signature-based control types on OS X. 2016-04-24 15:46:29 -04:00
Pietro Gagliardi 24ac560f4b Elminated the type functions FOR REAL THIS TIME. 2016-04-24 15:18:14 -04:00
Pietro Gagliardi 8a532d66cc Adjusted common/control.c for the new type-based control system. Now to fix up the individual OSs. 2016-04-24 15:15:36 -04:00
Pietro Gagliardi f60178798f Removed common type code. 2016-04-24 15:08:48 -04:00
Pietro Gagliardi 7b0f930185 Removed all the type function declarations from all the controls. More TODOs. 2016-04-24 15:04:36 -04:00
Pietro Gagliardi 6f46bea054 Discontinued the Haiku port for now. 2016-04-24 14:18:56 -04:00
Pietro Gagliardi 46391367fe Removed the typefn stuff from ui_*.h*. 2016-04-24 14:15:56 -04:00
Pietro Gagliardi 2870f3239d More TODOs. 2016-04-24 13:32:20 -04:00
Pietro Gagliardi 712be2608e Got rid of the type checking stuff from ui.h. 2016-04-24 13:31:33 -04:00
Pietro Gagliardi 6760816b13 Updated the controlgallery screenshots. More TODOs. 2016-04-24 13:07:19 -04:00
Pietro Gagliardi d8f8812c85 Further reworking. 2016-04-24 09:50:06 -04:00
Pietro Gagliardi 68194bbfd1 Started reworking the controlgallery example's layout. 2016-04-24 09:48:38 -04:00
Pietro Gagliardi e90da765e3 Fixed a simple typo. IT WORKS! Also shortened one of the debug log messages. 2016-04-24 00:54:31 -04:00
Pietro Gagliardi 1f90366edd strsafe is a crock that does not follow its own documentation. Switch to the equivalent vcrt functions instead. 2016-04-24 00:50:19 -04:00
Pietro Gagliardi d258ac1d1d Fixed the other compiler and linker errors. We have a build! But does it work? If it does it's time to really tune this rewrite down. 2016-04-24 00:33:42 -04:00
Pietro Gagliardi c53e1c0b7d More fixes. Halfway through the alphabet now. 2016-04-23 22:29:54 -04:00
Pietro Gagliardi 158db39b68 More fixes. 2016-04-23 22:23:07 -04:00
Pietro Gagliardi 5236aa5855 More compiler error fixes. 2016-04-23 22:15:33 -04:00
Pietro Gagliardi 47aff78aae More compiler error fixes. Warning fixes will come later. 2016-04-23 21:38:51 -04:00
Pietro Gagliardi e0a8c8ce60 More fixes. 2016-04-23 21:25:56 -04:00