Pietro Gagliardi
|
c4dd85bece
|
More reworking the OS X attributed string code. Now we need to rework the AAT code somewhat too.
|
2017-05-30 13:18:13 -04:00 |
Pietro Gagliardi
|
fb884abc41
|
Fixed memory issues with future.m.
|
2017-05-19 16:58:15 -04:00 |
Pietro Gagliardi
|
dd54469677
|
Set up a future system for OS X like we have on GTK+ and moved everything we already have to it. You'll notice we also set up a loader for what we're going to use this for: using OpenType attributes directly on OS X.
|
2017-05-19 16:40:52 -04:00 |
Pietro Gagliardi
|
bd39189a0e
|
Fixed the build and an unspotted error in the drawtext example.
|
2017-05-19 16:10:54 -04:00 |
Pietro Gagliardi
|
b7d34bf4f5
|
And tied everyhting together, sort of.
|
2017-05-19 15:48:15 -04:00 |
Pietro Gagliardi
|
0df8346bff
|
Also removed uiAttributeLangauge for compatibility reasons too. Let's settle all the TODOs now.
|
2017-02-24 12:12:03 -05:00 |
Pietro Gagliardi
|
3e941d008e
|
Integrated aat.m into the build.
|
2017-02-15 23:10:23 -05:00 |
Pietro Gagliardi
|
669538e9ce
|
Implemented uiAttributeLanguage on OS X. Untested.
|
2017-02-15 16:22:42 -05:00 |
Pietro Gagliardi
|
4195bc3b4b
|
Finalized and implemented underlines on OS X.
|
2017-02-14 14:57:56 -05:00 |
Pietro Gagliardi
|
1c238bf85b
|
And implemented uiAttributeBackground on OS X. Not sure what else to add besides the feature variants...
|
2017-02-13 02:10:39 -05:00 |
Pietro Gagliardi
|
5aaac84d55
|
Implemented uiAttributeFamily on OS X. ATTRIBUTES WORK!!!
|
2017-02-12 01:05:27 -05:00 |
Pietro Gagliardi
|
bebaf72de3
|
Started putting uiFontButton back in on OS X. Just a bunch of boilerplate for now, namely the function to take a CTFontDesciptorRef and convert it into a uiDrawFontDescriptor.
|
2017-02-11 00:53:52 -05:00 |
Pietro Gagliardi
|
8d3c68d7f0
|
Moved the AppKit text drawer out of the way for now. One last experiment first; didn't seem to matter :S
|
2017-01-24 17:12:44 -05:00 |
Pietro Gagliardi
|
4e2dc90f4f
|
Started an experimental port from Core Text to Cocoa's typesetting system, since that seems to produce more sensible results (and is somewhat easier to use...). We lose per-line spacing though :/
|
2017-01-23 01:28:53 -05:00 |
Pietro Gagliardi
|
7bda3baee3
|
Fixed build errors. DOES IT WORK?!?!?!?!?!?!?!?!
|
2017-01-17 13:05:40 -05:00 |
Pietro Gagliardi
|
f147edf949
|
More work.
|
2017-01-03 23:59:23 -05:00 |
Lailton Fernando Mariano
|
39d1c0565e
|
Update uipriv_darwin.h
|
2016-12-01 16:26:59 -02:00 |
Lailton Fernando Mariano
|
cb927659fa
|
Update uipriv_darwin.h
|
2016-12-01 14:32:14 -02: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
|
d3b33e39ce
|
Further enhancements to custom run loops on OS X for custom resize loops.
|
2016-10-31 14:33:11 -04:00 |
Pietro Gagliardi
|
39fdf7457b
|
More preparation for the OS X window move/resize code: uiMainStep() is split into an internal function that takes a pre-sendEvent: interception specifically intended for internal loops.
|
2016-10-27 23:32:33 -04:00 |
Pietro Gagliardi
|
cc1942a929
|
Prepared OS X for the new uiArea functions.
|
2016-10-26 01:15:01 -04:00 |
Pietro Gagliardi
|
49ab4a886f
|
Added image table cell parts; implemented on OS X
|
2016-06-25 19:18:25 -04:00 |
Pietro Gagliardi
|
c6e8537269
|
Started the implementation of uiForm on OS X. Mostly works, but there are Auto Layout glitches (of course there are Auto Layout glitches)
|
2016-06-07 11:29:49 -04:00 |
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 |