Commit Graph

2759 Commits

Author SHA1 Message Date
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
Pietro Gagliardi 5272e749c0 Fixed grapheme stuff on GTK+. 2016-05-25 15:07:32 -04:00
Pietro Gagliardi ac652f0690 Did most of the work for grapheme cluster boundary based text layout characters on GTK+. 2016-05-25 01:52:53 -04:00
Pietro Gagliardi a8aa842172 More TODOs. 2016-05-25 01:15:43 -04:00
Pietro Gagliardi 474d3fb1d5 Oops, forgot to free something in the previous commit. 2016-05-25 01:10:47 -04:00
Pietro Gagliardi 47632fe560 Switched text layout attributes to grapheme-based indices on Windows, just like on OS X. 2016-05-25 01:08:55 -04:00
Pietro Gagliardi 278227a3d7 More announcements. 2016-05-24 23:27:56 -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 ff1971d8d6 More longterming. 2016-05-24 23:13:44 -04:00
Pietro Gagliardi 31d6939c48 README updates. 2016-05-24 22:46:53 -04:00
Pietro Gagliardi 558e56c124 Implemented uiMainStep() on OS X. 2016-05-24 22:44:40 -04:00
Pietro Gagliardi 8bf24cb791 Implemented uiMainStep() on GTK+. 2016-05-24 22:29:33 -04:00
Pietro Gagliardi a9e731ed59 Added uiMainStep() and implemented it on Windows. 2016-05-24 22:14:05 -04:00
Pietro Gagliardi c349edda5e Merge branch 'master' of github.com:andlabs/libui 2016-05-24 21:37:25 -04:00
Pietro Gagliardi 890643c5b2 Merge pull request #60 from kainjow/osx-test-crash
Fix test crash on exit on OS X
2016-05-24 21:36:57 -04:00
Pietro Gagliardi 45edacf8ca Consolidated GetAncestor() calls again. 2016-05-24 21:18:29 -04:00
Kevin Wojniak 7fdcbb5365 Fix test crash on exit on OS X 2016-05-24 12:24:54 -07:00
Pietro Gagliardi 095e08bc79 Added uiEditableCombobox on Windows. 2016-05-24 10:06:24 -04:00
Pietro Gagliardi ce338bcaaf Quick fix. 2016-05-24 01:41:54 -04:00
Pietro Gagliardi e8cedf502f Split uiCombobox on GTK+. 2016-05-24 01:35:05 -04:00
Pietro Gagliardi b9bc71a9ba Clarified some stuff in darwin/editablecombo.m. 2016-05-24 01:19:57 -04:00
Pietro Gagliardi 18f225fddb Merge branch 'master' of github.com:andlabs/libui 2016-05-24 01:04:25 -04:00
Pietro Gagliardi ea6bef5146 Merge pull request #58 from kainjow/osx-mapTable-leak-crash
Fix crash when closing program on OS X
2016-05-24 01:04:12 -04:00
Pietro Gagliardi 3272515de6 Merge branch 'master' of github.com:andlabs/libui 2016-05-24 00:58:33 -04:00
Pietro Gagliardi 275c818868 Merge pull request #57 from kainjow/travis-osx
Enable OS X Travis tests
2016-05-24 00:57:48 -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
Kevin Wojniak abb3c39c78 Spaces to tabs 2016-05-23 21:11:12 -07:00
Kevin Wojniak 2ebb9052cc Fix crash when closing program on OS X
This fixes #14. Autorelease pools need to be used to make sure objects get properly released. Unfortunately this produces a new error when menuManager gets deallocated, which I am looking at fixing:

map.m:25:mapDestroy() POSSIBLE IMPLEMENTATION BUG; CONTACT ANDLABS:
attempt to destroy map with items inside
2016-05-23 21:09:46 -07:00
Kevin Wojniak ab35ae254f Enable OS X Travis tests 2016-05-23 20:18:41 -07:00
Pietro Gagliardi 363916855c Split uiCombobox on OS X. 2016-05-23 18:50:02 -04:00
Pietro Gagliardi 996ba99b0f Began uiEditableCombobox splitting. 2016-05-23 17:41:37 -04:00
Pietro Gagliardi a571bd4779 Added a composed character test to page 10. 2016-05-23 08:11:22 -04:00
Pietro Gagliardi 156c3584f7 Documentation update. 2016-05-23 01:12:52 -04:00
Pietro Gagliardi 5d63fe4cec Fixed surrogate pair drawing on OS X. 2016-05-23 01:11:43 -04:00
Pietro Gagliardi e3bcf31764 More TODO resolution. 2016-05-23 00:41:56 -04:00
Pietro Gagliardi 399af0319c Whoops, forgot the date 2016-05-22 23:30:22 -04:00
Pietro Gagliardi 268bdbcb34 More announcements. 2016-05-22 23:28:17 -04:00
Pietro Gagliardi 0e5e37f98b Fixed multilne entry changed events on GTK+. 2016-05-22 23:14:33 -04:00
Pietro Gagliardi 60627e13a1 Fleshed out page 12. 2016-05-22 23:05:37 -04:00
Pietro Gagliardi 4ab0d9c1f6 More TODO resolution. 2016-05-22 22:57:18 -04:00