Pietro Gagliardi
3914451c34
Migrated newLabel(), imageImage(), doManualMove(), and doManualResize().
2018-05-05 21:28:13 -04:00
Pietro Gagliardi
b8fc9fa817
Migrated shared functions and types of autolayout.m.
2018-05-05 20:15:48 -04:00
Pietro Gagliardi
eb28beff1b
Migrated alloc.m functions.
2018-05-05 19:46:57 -04:00
Pietro Gagliardi
090c783147
Migrated functions from window.m.
2018-05-05 19:38:16 -04:00
Pietro Gagliardi
60e71c7174
Migrated menu.m for now. Need to figure out what to do about ivars and methods and properties. Also still not happy with the property and autoreleasepool mess of main.m...
2018-05-03 23:20:12 -04:00
Pietro Gagliardi
b8316c61dd
Converted struct mapTable to uiprivMap first, since that typedef will be a dependency of later stuff. ALso I didn't realize whoever wrote that new menu code also completely rewrote map.m... Cleaned up style inconsistencies I found in both. Anyway I plan on getting rid of that menu code anyway, and I could just have something else for target-action instead of this depending on whatever happens with ARC...
2018-05-03 23:02:38 -04:00
Pietro Gagliardi
5a113e1e0b
Renamed toNSString() and fromNSString() to uiprivToNSString() and uiprivFromNSString(), respectively.
2018-05-03 22:38:21 -04:00
Pietro Gagliardi
17dc5f407e
And implemented moves on OS X.
2016-11-02 09:29:44 -04:00
Pietro Gagliardi
3eeb15bcdb
Added the initial implementation of the custom resize code.
2016-11-01 11:58:01 -04:00
Pietro Gagliardi
cc1942a929
Prepared OS X for the new uiArea functions.
2016-10-26 01:15:01 -04:00
Pietro Gagliardi
6d796b5642
More removal of uiWindow move events.
2016-10-22 18:11:49 -04:00
Pietro Gagliardi
dd2ee50710
And implemented borderless windows on OS X.
2016-06-16 11:46:58 -04:00
Pietro Gagliardi
fd9af04123
Implemented fullscreen on OS X.
2016-06-16 09:29:28 -04:00
Pietro Gagliardi
caec39281b
And implemented the new sizing stuff on OS X.
2016-06-16 00:58:40 -04:00
Pietro Gagliardi
53bec81925
More uiWindow positioning refinement and implementation on OS X.
2016-06-15 14:57:52 -04:00
Pietro Gagliardi
d54f7dd682
Added a facility to the OS X port to be notified when a child's visibility has changed; this is necessary for implementing hiding and showing properly.
2016-06-14 10:37:19 -04:00
Pietro Gagliardi
42d837806d
More stale and duplicate TODO removal.
2016-05-28 18:16:13 -04:00
Kevin Wojniak
bef8c4663f
Fix additional OS X memory management issues
...
Some of these were found via clang's analyzer
2016-05-24 20:17:08 -07:00
Pietro Gagliardi
ab0a9102b4
Added a user bug for calling SetParent() on a uiWindow.
2016-05-22 20:02:47 -04:00
Pietro Gagliardi
3705ef05d1
Fixed up uiWindow ownership mechanics in the Darwin backend.
2016-05-22 12:15:50 -04:00
Pietro Gagliardi
0552e7c4a1
Revert "Made other windows get events when a dialog is running on OS X. Of course I only now realize this creates a recursiion problem..."
...
This isn't going to work. The only real solution is to disable every window like we're already doing here, make sure it happens on GTK+, and re-add the dialog helper stuff on Windows.
This reverts commit 20994639c0
.
2016-05-15 19:04:35 -04:00
Pietro Gagliardi
20994639c0
Made other windows get events when a dialog is running on OS X. Of course I only now realize this creates a recursiion problem...
2016-05-15 16:26:43 -04:00
Pietro Gagliardi
28c9efa972
Some more work, edging us ever-closer to the correct solution...
2016-05-12 12:26:43 -04:00
Pietro Gagliardi
89425f0fa7
Finished the new uiTab. That just leaves the new uiBox.
2016-05-12 00:43:52 -04:00
Pietro Gagliardi
7d874ee911
Migrated uiGroup. Before we do uiTab, I want to refactor it a bit like we have with uiBox...
2016-05-11 18:28:42 -04:00
Pietro Gagliardi
178c0301c2
Started implementing the new logic; darwin/window.m implemented. darwin/group.m and darwin/tab.m will be similar, so they use common code here (but this is NOT child.m all over again; this is ONLY for layout!).
2016-05-11 18:06:29 -04:00
Pietro Gagliardi
8fb8b0eeba
Nuked ALL the existing Auto Layout stuff. Let's do this again, and this time, do it *right*.
2016-05-11 16:46:42 -04:00
Pietro Gagliardi
f413456b60
Revert "Did the rest of it as stubs. Now to fix issues..."
...
This reverts commit 854e87b90a
.
2016-05-08 11:28:51 -04:00
Pietro Gagliardi
854e87b90a
Did the rest of it as stubs. Now to fix issues...
2016-05-08 10:53:52 -04:00
Pietro Gagliardi
b03aa35da8
Adjusted uiGroup, uiTab, and uiWindow likewise. More TODOs.
2016-05-07 01:34:33 -04:00
Pietro Gagliardi
a3629e752d
Added default implementations of the new methods where necessary. Before we go around implementing them, it's time for a massive rewrite of uiBox.
2016-05-06 21:50:14 -04:00
Pietro Gagliardi
835c711a24
Started reworking the auto layout system. uiBox is next.
2016-04-30 17:14:14 -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
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
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
5efad5e850
Migrated the uiNewControl() definitions on OS X. This just leaves uiMenu.
2016-04-24 16:03:13 -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
499a93e32e
Completely rewrote the OS X map system to use NSMapTable correctly and hide the details behind more wrapper functions to prevent further mass rewrites; this fixes most of the crashing issues on OS X. The one with package ui still stands...
2016-01-07 14:41:20 -05:00
Pietro Gagliardi
54332b90fb
Finally merged out the redo folder.
2015-09-02 13:48:06 -04:00
Pietro Gagliardi
9f1ef9eaa1
Migrated the OS X uiWindow code back, modernizing it in the process. Also fixed a latent bug in the GTK+ uiWindow code.
2015-07-03 23:12:31 -04:00
Pietro Gagliardi
a517beccae
Added uiContainerUpdate() calls to each SetMargined().
2015-05-11 12:42:13 -04:00
Pietro Gagliardi
262ffb0bde
Migrated to uiBin on OS X and adjusted TODO.md.
2015-05-10 14:17:16 -04:00
Pietro Gagliardi
6c9a122a7d
Changed the default uiWindowOnClosing() behavior. Decided to keep the int return.
2015-05-07 20:01:17 -04:00
Pietro Gagliardi
2c7bccb3a8
Fixed bin destruction on Mac OS X.
2015-05-06 01:38:32 -04:00
Pietro Gagliardi
e571a73247
Made an executive decision about the behavior of uiControlShow() on uiWindows.
2015-05-04 17:23:01 -04:00
Pietro Gagliardi
d23fae34be
Implemented uiControlEnable() and uiControlDisable() for containers and uiWIndow on Mac OS X.
2015-05-04 01:14:18 -04:00
Pietro Gagliardi
82312861e9
Implemented menu finalization on OS X.
2015-05-03 21:28:21 -04:00