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 |
Pietro Gagliardi
|
a70d56d77c
|
Switched to the Windows API heap functions in windows/alloc.c.
|
2015-05-02 12:27:53 -04:00 |
Pietro Gagliardi
|
a0e2c3cf94
|
Added more menu item enabled/disabled checks. This is important because on OS X we have to hook into the delegat eot disable the three special items (we can't just set autoenable to false; the Hide/Show items won't be properly disabled anymore if we do).
|
2015-05-02 11:24:58 -04:00 |
Pietro Gagliardi
|
c89b473c76
|
Added the Services menu to the OS X application menu.
|
2015-05-02 11:11:13 -04:00 |
Pietro Gagliardi
|
a0b29d599e
|
Removed an unnecessary TODO.
|
2015-05-01 17:10:36 -04:00 |
Pietro Gagliardi
|
f86d312c74
|
Verified action signatures in darwin/menu.; thanks to mikeash in irc.freenode.net/#macdev for confirming.
|
2015-05-01 10:31:56 -04:00 |
Pietro Gagliardi
|
effb919176
|
Added DllMain() to the Windows code.
|
2015-05-01 10:19:44 -04:00 |