Commit Graph

780 Commits

Author SHA1 Message Date
Pietro Gagliardi d237449060 Fixed a typo in ui.idl. 2015-05-04 00:50:10 -04:00
Pietro Gagliardi dfbc8d439e Added uiControlSysFunc() to box.c. 2015-05-04 00:48:59 -04:00
Pietro Gagliardi c99e78268e Added a facility for system-dependent uiControl methods. 2015-05-04 00:38:28 -04:00
Pietro Gagliardi 9af3e6acc2 More TODOs. 2015-05-04 00:36:57 -04:00
Pietro Gagliardi 33c34c1572 Made a comment in the previous commit more clear. 2015-05-04 00:17:23 -04:00
Pietro Gagliardi d57df09f0e Fixed a latent bug with uiTab on GTK+. 2015-05-04 00:16:31 -04:00
Pietro Gagliardi 4ba0f795eb Switched from manually enabling menu items on OS X to automatic enabling, just like with the application menu. Same code :/ Also cleaned up useless [NSMenuItem setEnabled:] calls. 2015-05-03 21:37:45 -04:00
Pietro Gagliardi 82312861e9 Implemented menu finalization on OS X. 2015-05-03 21:28:21 -04:00
Pietro Gagliardi 9e6678b635 Implemented uiMenu window identification in the test program. It works on all platforms. 2015-05-03 21:22:00 -04:00
Pietro Gagliardi d25c954d9f Added code to get the active window for menu events on Mac OS X. Will test next. 2015-05-03 21:05:55 -04:00
Pietro Gagliardi 62424fbd79 Decided not to hide NMHDR.idFrom in Windows WM_NOTIFY handlers; it's not worth it (we can get the ID anyway with GWLP_ID) and breaks the contract on WM_NOTIFY; who knows what user code will do? 2015-05-03 20:02:44 -04:00
Pietro Gagliardi 862f84292f Fixed an error in windows/container.c. 2015-05-03 19:58:37 -04:00
Pietro Gagliardi 7086373807 Fixed an error left over in the previous commit. 2015-05-03 19:58:12 -04:00
Pietro Gagliardi fd4c559e86 Removed the typename argument from uiAlloc() and uiRealloc(). 2015-05-03 19:52:24 -04:00
Pietro Gagliardi 325f16cfb3 Added some comments to the previous commit. 2015-05-03 18:15:12 -04:00
Pietro Gagliardi 84894f2fb0 Implemented the GTK+ preferred size vtable functions for uiContainer. 2015-05-03 18:05:52 -04:00
Pietro Gagliardi 3c9d25f2fd TODO exposition. 2015-05-03 17:45:12 -04:00
Pietro Gagliardi 997db39bb7 Decided not to optimize Windows menu item lookup. 2015-05-03 17:37:36 -04:00
Pietro Gagliardi 23cfcc8c6d Confirmed that tabs are taken into account with TCM_ADJUSTRECT on Windows. 2015-05-03 17:21:48 -04:00
Pietro Gagliardi aa568e51cf Implemented uiControlPreferredSize() on Windows uiTabs. 2015-05-03 17:13:40 -04:00
Pietro Gagliardi fc1044aab9 Quick TODOTODOTODO... resolution. 2015-05-03 16:56:58 -04:00
Pietro Gagliardi c3cfb3fe09 Added a no menus option to the test program. 2015-05-03 16:46:50 -04:00
Pietro Gagliardi 4eaa3ac574 Implemented die() in the test program. 2015-05-03 16:44:13 -04:00
Pietro Gagliardi 511cc76ef8 Investigated setAppleMenu:; decided to save it for later. 2015-05-03 16:28:46 -04:00
Pietro Gagliardi ecb565e06a More TODOs. 2015-05-03 15:56:42 -04:00
Pietro Gagliardi 2186192502 Changed c-> to uiControl(c)-> in the various newcontrol files for consistency. 2015-05-03 14:44:46 -04:00
Pietro Gagliardi 51cdb1817e Added WS_EX_CONTROLPARENT to uiContainer on Windows. 2015-05-03 14:12:45 -04:00
Pietro Gagliardi a0329ba878 Moved ui.idl TODOs to TODO.md since they're long-term. 2015-05-03 13:54:42 -04:00
Pietro Gagliardi 4e1a99c868 Moved the include guards around the typedefs in ui.h. 2015-05-03 13:50:41 -04:00
Pietro Gagliardi 5ac0e7aa32 TODO consolidation/elaboration. 2015-05-03 13:47:03 -04:00
Pietro Gagliardi eae2e92d87 Confirmed that NSMenuValidation was only informal; thanks to Psy| in irc.freenode.net/#macdev for explaining how informal protocols actually worked (since the declaration in the headers threw me off). 2015-05-03 13:39:54 -04:00
Pietro Gagliardi 60d30688eb More TODOs. 2015-05-03 13:18:27 -04:00
Pietro Gagliardi ee3d9c5165 Some more TODO resolution. 2015-05-03 13:17:53 -04:00
Pietro Gagliardi 9ff20ad5f6 Implemented the bin OS parent check on OS X now that I know it actually IS meaningful. 2015-05-03 12:59:11 -04:00
Pietro Gagliardi e8600450aa TODO elaboration. 2015-05-03 12:36:35 -04:00
Pietro Gagliardi 61bcfa1a7e Cleaned up and resolved DllMain() TODOs and issues. 2015-05-03 12:34:10 -04:00
Pietro Gagliardi 80c79d31a3 Changed the Windows window-creation code to handle menu wrapping. 2015-05-03 12:15:24 -04:00
Pietro Gagliardi 643ed46b00 Cleaned up windows/container.c resize(). More TODOs. 2015-05-03 11:55:34 -04:00
Pietro Gagliardi dc5b7f4c59 Some TODO resolution in windows/tab.c. Wine bug filed (https://bugs.winehq.org/show_bug.cgi?id=38527); first tab behavior verified with program in wine bug. 2015-05-03 11:47:06 -04:00
Pietro Gagliardi ac8bc029ef More TODOs. 2015-05-03 10:28:25 -04:00
Pietro Gagliardi d50701b3a7 TODO consolidation. 2015-05-03 10:21:36 -04:00
Pietro Gagliardi 2a6da36542 Finished the OS X menu disabling code. 2015-05-03 02:45:59 -04:00
Pietro Gagliardi 810e2225ea Started writing code for proper Quit/Preferences/About enabling and disabling on Mac OS X. 2015-05-02 23:04:37 -04:00
Pietro Gagliardi a32e94b811 TODO elaboration. 2015-05-02 21:57:57 -04:00
Pietro Gagliardi 425ddd694a More TODOs. 2015-05-02 21:57:35 -04:00
Pietro Gagliardi a8fd88a5f9 Confirmed a TODO. 2015-05-02 21:05:08 -04:00
Pietro Gagliardi 454b3ecb03 Changed the various OS-side control creation functions to use Make like uiMakeContainer() does instead of New. 2015-05-02 20:51:00 -04:00
Pietro Gagliardi 57bc11d67c TODO consolidation. 2015-05-02 14:58:29 -04:00
Pietro Gagliardi 5d28ffd334 Removed a stale TODO. 2015-05-02 14:55:12 -04:00
Pietro Gagliardi 3260de37b3 BOOL -> int in initAlloc() on Windows. 2015-05-02 12:29:55 -04:00