João Ventura
|
f779978a42
|
Declare 10.9 version in Darwin
Fixes compilation issues in Mavericks
|
2016-05-30 13:06:25 +01:00 |
Pietro Gagliardi
|
0d6dac5c5a
|
Migrated from GTK+ 3.4 to 3.10 and from OS X 10.7 to 10.8.
|
2016-05-28 13:06:16 -04:00 |
Pietro Gagliardi
|
923a678e87
|
Integrated the new scrollview stuff with uiMultilineEntry. Nice and stable now :D
|
2016-05-27 23:56:44 -04:00 |
Pietro Gagliardi
|
34d54f29b4
|
Started cleaning up all the NSScrollView stuff into its own file so it can be reused.
|
2016-05-27 23:42:05 -04:00 |
Pietro Gagliardi
|
b65175a19c
|
Refactored NSScrollView auto layout stuff. I should probably just split it into a separate file when I do implementt he shared scrollview source code.
|
2016-05-27 01:13:45 -04:00 |
Kevin Wojniak
|
49e17cbfd7
|
Fix "attempt to destroy map with items inside" when menuManager is deallocated
Fixes #58. The map needs to have its contents properly freed which requires releasing the properly retaining the NSMenuItem object.
|
2016-05-23 21:41:52 -07:00 |
Pietro Gagliardi
|
6c6843dac6
|
Fixed non-wrapping uiMultlineEntries.
|
2016-05-22 14:37:02 -04:00 |
Pietro Gagliardi
|
bf411e787e
|
Implemented uiColorButton on OS X.
|
2016-05-15 20:51:33 -04:00 |
Pietro Gagliardi
|
2226c54430
|
Made the font dialog respect our new modality rules on OS X.
|
2016-05-15 19:56:01 -04:00 |
Pietro Gagliardi
|
717486b7a2
|
Fixed some OS X 10.7 build errors.
|
2016-05-14 23:44:07 -04:00 |
Pietro Gagliardi
|
94587b660f
|
Some TODO resolution and stale TODO removal.
|
2016-05-13 17:54:10 -04:00 |
Pietro Gagliardi
|
8f55b7e331
|
Applied the previous edge case fix to the single-child layout stuff. Just one more edge case left!
|
2016-05-13 13:08:00 -04:00 |
Pietro Gagliardi
|
e3f822a003
|
Jiggled uiTab and uiGroup back to functioning properly when initially laid out.
|
2016-05-12 20:18:22 -04:00 |
Pietro Gagliardi
|
257c182f2b
|
More work. I can't figure out where these phantom constraints come from.
|
2016-05-12 17:09:24 -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
|
1038b8d892
|
Compile fixes. Oh boy...
|
2016-04-30 18:07:36 -04:00 |
Pietro Gagliardi
|
c87a932a6d
|
Rewrote darwin/box.m's layout code to create constraints directly. Let's try this out.
|
2016-04-30 17:45:44 -04:00 |
Pietro Gagliardi
|
835c711a24
|
Started reworking the auto layout system. uiBox is next.
|
2016-04-30 17:14:14 -04:00 |
Pietro Gagliardi
|
d0d0efce1a
|
Fixed build errors. Now to test!
|
2016-04-25 13:38:17 -04:00 |
Pietro Gagliardi
|
c2d165af94
|
Implemented the uiDrawTextFont direct from system font-making functions on other platforms.
|
2016-04-19 11:23:05 -04:00 |
Pietro Gagliardi
|
f1c9b2b15b
|
Made the uiFontButton more robust by making it not show irrelevant controls and not affect other controls. Also sets up things for uiColorButton.
|
2016-04-14 14:01:33 -04:00 |
Pietro Gagliardi
|
ae60141497
|
Decided to split the OS X text drawing stuff into its own file to make it easier to manage. In fact, darwin/draw.m used to be the longest file (by line count) in libui's source code proper (not the longest in the repo)! (Now it's windows/draw.c instead, and that *doesn't* contain text code!)
|
2016-01-12 01:14:41 -05:00 |
Pietro Gagliardi
|
11a3fcfad0
|
Fixed the drawing shenanigans.
|
2016-01-08 13:51:39 -05: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
|
9e8e09f262
|
Added an explicit check for ARC.
|
2016-01-02 09:22:24 -05:00 |
Pietro Gagliardi
|
ab97e26efc
|
Moved all the common stuff in a new folder common/. This is part of the makefile simplification.
|
2015-10-16 18:31:14 -04:00 |
Pietro Gagliardi
|
4deb0f364c
|
Migrated the OS X uiArea back into main.
|
2015-10-09 12:33:45 -04:00 |
Pietro Gagliardi
|
54332b90fb
|
Finally merged out the redo folder.
|
2015-09-02 13:48:06 -04:00 |
Pietro Gagliardi
|
ed9e70c058
|
Started redoing the OS X port.
|
2015-07-02 16:09:57 -04:00 |
Pietro Gagliardi
|
e1e9dddfdd
|
Fixed some more warnings on the OS X backend. This also introduces realNSApp() and makes applicationClass global, which is important for fixing a few other TODOs (the setAppleMenu: one, for instance).
|
2015-05-10 14:27:25 -04:00 |
Pietro Gagliardi
|
f47c8172e1
|
Implemented uninitMenus() on Mac OS X.
|
2015-05-08 20:31:19 -04:00 |
Pietro Gagliardi
|
c079e43784
|
Somewhat implemented uninitAlloc() on OS X.
|
2015-05-08 17:51:05 -04:00 |
Pietro Gagliardi
|
cc56e2cece
|
Implemented clearing realloc() on the OS X backend.
|
2015-05-04 20:07:34 -04:00 |
Pietro Gagliardi
|
82312861e9
|
Implemented menu finalization on OS X.
|
2015-05-03 21:28:21 -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
|
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
|
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
|
442907ad64
|
Implemented menu uniqueness checks on OS X. More TODOs.
|
2015-04-30 23:24:52 -04:00 |
Pietro Gagliardi
|
c8695e4ca2
|
Decided to remove allocation logging. Leak checking can be done with dedicated tools.
|
2015-04-30 13:37:13 -04:00 |
Pietro Gagliardi
|
6c6bce3702
|
Moved everything back to the top level.
|
2015-04-29 11:02:38 -04:00 |
Pietro Gagliardi
|
4c280ca42c
|
Removed or moved a bunch of stale files from the old source. All that's left now is to re-add the main controls and recreate the test program.
|
2015-04-29 10:20:25 -04:00 |
Pietro Gagliardi
|
b258e1fc82
|
Began implementing menus on Mac OS X.
|
2015-04-20 22:34:31 -04:00 |
Pietro Gagliardi
|
2fa8bfd95b
|
Migrated darwin/button.m. Yeah, this will do.
|
2015-04-17 18:20:14 -04:00 |
Pietro Gagliardi
|
d4fb903c07
|
Moved the uipriv_*.h files to the respective folders. The ui_*.h files stay up here; they'll be moved to IDLs later.
|
2015-04-15 18:51:04 -04:00 |