Commit Graph

2798 Commits

Author SHA1 Message Date
Pietro Gagliardi 58d59f4370 Cleaned up events and proper string manipulation on uiMultilineEntry on OS X. Woo! 2016-05-28 23:08:56 -04:00
Pietro Gagliardi 0c85469e52 More TODO and intrinsic size work. 2016-05-28 22:49:27 -04:00
Pietro Gagliardi 1e8a90d9a2 Eschewed chronological order in ui.h for logical order. 2016-05-28 22:35:40 -04:00
Pietro Gagliardi c99ad0f0c5 10.8 build fix. 2016-05-28 21:50:24 -04:00
Pietro Gagliardi ae0dcada45 More TODO resolution work. 2016-05-28 21:41:07 -04:00
Pietro Gagliardi b130ddc04b Added a test of having multiple uiRadioButtons in the same parent container and started a test of intrinsic sizes of all non-container controls. 2016-05-28 21:29:00 -04:00
Pietro Gagliardi 6e94671782 More TODO resolution and LONGTERM relegation. 2016-05-28 21:17:54 -04:00
Pietro Gagliardi a0084df23a Completely redid creating uiMultilineEntry on OS X. Much better now :D 2016-05-28 19:29:25 -04:00
Pietro Gagliardi eb4bc4bfb5 Added NSTextView attributes. Let's fix uiMultilineEntry! 2016-05-28 18:59:20 -04:00
Pietro Gagliardi 42d837806d More stale and duplicate TODO removal. 2016-05-28 18:16:13 -04:00
Pietro Gagliardi eb11452dd3 More TODO resolution. Some TODOs were moved to the issue tracker. 2016-05-28 18:01:25 -04:00
Patrick Walton 5f1e8fa601 Add support for static linking.
Use `make STATIC=1` to build a static library.

Some language ecosystems, like those of Rust, have a convention of
static linking in order to make binaries easier to distribute. In those
environments, this feature helps libui fit in more easily.

In order to prevent internal symbols from linking, we first create an
intermediate object file with `ld -r` and strip private symbols from it
before using `ar` to create the library.
2016-05-28 14:46:02 -07:00
Pietro Gagliardi 18a84988fd Moved sv/ into _wip/. 2016-05-28 17:41:50 -04:00
Pietro Gagliardi ec4efe027b Some TODO resolution. 2016-05-28 17:36:31 -04:00
Pietro Gagliardi 1f9f317e7a More TODOs. 2016-05-28 17:04:28 -04:00
Pietro Gagliardi 52c3c52b56 Removed a TODO I can no longer fully confirm (only the focus rect of the NSComboBox seems to be clipped, which I'm sure is not my bug). 2016-05-28 16:09:07 -04:00
Pietro Gagliardi a6c48e087b 10.8 fixups. 2016-05-28 15:57:01 -04:00
Pietro Gagliardi e45e0e89e9 More notes. 2016-05-28 13:19:10 -04:00
Pietro Gagliardi dbf8316e9e More notes. 2016-05-28 13:13:38 -04: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 ba97455ab3 Stale TODO removal. 2016-05-28 12:40:30 -04:00
Pietro Gagliardi 3d9d782db3 Implemented enabling/disabling on uiArea on OS X. 2016-05-28 12:32:47 -04:00
Pietro Gagliardi 4c98fda7ff Added Enable/Disable buttons to page 6. 2016-05-28 11:36:16 -04:00
Pietro Gagliardi 119825f0de More scroll view refinements. 2016-05-28 00:35:56 -04:00
Pietro Gagliardi c74ac88598 Changed uiArea to use the new scroll view stuff on OS X. 2016-05-28 00:21:30 -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 46f6f2aac1 Updated bindings list. 2016-05-27 22:32:24 -04:00
Pietro Gagliardi d39cd76a8a Quick fixup. 2016-05-27 12:25:26 -04:00
Pietro Gagliardi e2266ab577 More NSScrollView auto layout fixes. 2016-05-27 12:18:35 -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
Pietro Gagliardi 3adb485c66 More old WIP file removal. 2016-05-26 23:50:54 -04:00
Pietro Gagliardi 59f4c8a460 Removed old NSTextView files. I'll rebuild this myself. 2016-05-26 23:49:19 -04:00
Pietro Gagliardi 221d57cac5 More unnecessary TODO removal. Thanks to swillits in irc.freenode.net/#macdev. 2016-05-26 23:43:51 -04:00
Pietro Gagliardi 386c9b57e6 Removed timestamps. 2016-05-26 22:52:07 -04:00
Pietro Gagliardi 325a288029 More scroll view parameters. 2016-05-26 22:44:55 -04:00
Pietro Gagliardi 5040af30dd Really calculated info about scrollviews this time. 2016-05-26 22:42:35 -04:00
Pietro Gagliardi f8311aa14d More TODO resolution. 2016-05-26 22:00:08 -04:00
Pietro Gagliardi b082f69e3f More TODOs. 2016-05-26 21:27:13 -04:00
Pietro Gagliardi 834cc12299 Named the margins and padding. Made them functions that can take parameters in the future to allow more complex spacing options in the future. 2016-05-26 21:25:32 -04:00
Pietro Gagliardi baf46c5434 Removed an unnecessary TODO; mapTables cannot be freed unless empty anyway. 2016-05-26 21:09:42 -04:00
Pietro Gagliardi 88e0a9c165 Fixed the botched formula for attribute substring length on OS X. 2016-05-26 20:48:49 -04:00
Pietro Gagliardi 3896861f39 Added another facet to page 10's tests: whether the letter after the combined one gets colored. 2016-05-26 17:44:35 -04:00
Pietro Gagliardi 0b7b9a94e7 More bindings stuff. 2016-05-25 23:35:09 -04:00
Pietro Gagliardi 965c2712e4 Updated bindings list based on wiki. 2016-05-25 23:18:21 -04:00
Pietro Gagliardi c856ff1976 Merge branch 'master' of github.com:andlabs/libui 2016-05-25 23:14:05 -04:00
Pietro Gagliardi daabfe3653 Merge pull request #61 from kainjow/osx-memory
Fix additional OS X memory management issues
2016-05-25 23:12:44 -04:00
Pietro Gagliardi d7b537e9ed Came to a consensus about combobox fonts on OS X. 2016-05-25 21:37:45 -04:00
Pietro Gagliardi cb98f4cc45 Merge pull request #70 from mogucpp/master
fix header name
2016-05-25 21:22:29 -04:00
mogucpp 01e126f9cc fix header name 2016-05-26 09:17:34 +08:00