Commit Graph

3075 Commits

Author SHA1 Message Date
Pietro Gagliardi ca514d94d1 Set up a proper, formal layout and attirbute system. No attributes right now, but initial font style is in. Implemented it on GTK+. 2016-01-07 18:37:43 -05:00
Pietro Gagliardi 4f2dbe2662 Really fixed the NSMapTable nonsense now. Added a TODO to go through the rest of the code for the same. 2016-01-07 16:01:11 -05:00
Pietro Gagliardi 9cfc133481 "Fixed" the weird crashes and fixed the makefile failures. 2016-01-07 15:43:35 -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 f9b940f698 More TODOs. 2016-01-06 20:39:47 -05:00
Pietro Gagliardi 68a3476f35 Fixed the controlgallery example. Reenabled it in make examples. Changed .travis.yml to build the test first. 2016-01-06 19:38:27 -05:00
Pietro Gagliardi 6a15e23897 Set up saner handling of sonames at build time. 2016-01-05 11:51:36 -05:00
Pietro Gagliardi a620e3921e Okay this isn't going to work 2016-01-05 00:37:46 -05:00
Pietro Gagliardi 8672a46545 Okay let's try that again 2016-01-05 00:29:05 -05:00
Pietro Gagliardi 0713e36e57 Let's try adding OS X to the Travis file. 2016-01-05 00:26:52 -05:00
Pietro Gagliardi 84b392d0f9 Quick formatting fix in the README. 2016-01-04 19:03:34 -05:00
Pietro Gagliardi 70c8d075e9 Merge branch 'master' of github.com:andlabs/libui 2016-01-04 19:03:02 -05:00
Pietro Gagliardi 73b0a634a4 Merge pull request #11 from fclairamb/master
Adding travis icon
2016-01-04 19:02:46 -05:00
Florent Clairambault 9f43f4089b Adding travis icon 2016-01-05 00:54:41 +01:00
Pietro Gagliardi 6f10fcaee7 Trivial change: Windows sizing stuff gone. 2016-01-04 16:13:54 -05:00
Pietro Gagliardi c7d7a64373 Removed the ID2D1RenderTarget_GetSize note from the README; it affects MSVC too. 2016-01-04 16:04:16 -05:00
Pietro Gagliardi 319331e0dd More commit stuff. 2016-01-04 16:00:16 -05:00
Pietro Gagliardi 9570981b50 Cleaned up some things related to the previous merge. 2016-01-04 15:52:39 -05:00
Pietro Gagliardi 24f7c2d803 Merge branch 'master' of github.com:andlabs/libui 2016-01-04 15:49:20 -05:00
Pietro Gagliardi b6f433cb13 Merge pull request #10 from fclairamb/master
Makefile changes + Travis file
2016-01-04 15:48:44 -05:00
Pietro Gagliardi 27ece23442 More TODOs. 2016-01-03 15:54:17 -05:00
Pietro Gagliardi dfd2b7c916 More TODOs. 2016-01-03 13:53:55 -05:00
Pietro Gagliardi 9e8e09f262 Added an explicit check for ARC. 2016-01-02 09:22:24 -05:00
Florent Clairambault e24c8f6440 Merge remote-tracking branch 'upstream/master' 2016-01-02 13:27:08 +01:00
Florent Clairambault bdded52f5e Mac Os X install rule: Tiny fix. 2016-01-01 23:20:49 +01:00
Florent Clairambault c204e47b72 Various fixes around makefiles
* $PREFIX is uppercase (I have no idea why I put it lowercase before).
* "install" rules is OS specific and moved to new OS specific files. So that they can be included last.
* "examples" rule defines the list of examples to execute.
* Travis launches the "test" rule.
2016-01-01 23:19:14 +01:00
Pietro Gagliardi 05ab8d07db And added compatibility manifests to the examples too. 2015-12-31 20:12:14 -05:00
Pietro Gagliardi 46aadf62c1 Added a manifest to the test program. 2015-12-31 20:09:20 -05:00
Pietro Gagliardi 5d40eff32a Added Windows 7 compatibility to the manifest. 2015-12-31 19:58:03 -05:00
Florent Clairambault 3152ff0512 Travis: Triggering build 2016-01-01 01:48:13 +01:00
Florent Clairambault cfcbe9859f Tiny warning fix.
Why not switch to -Werror by the way ?
2016-01-01 01:45:32 +01:00
Florent Clairambault 48bf6d2b37 Adding travis file. 2016-01-01 01:43:38 +01:00
Florent Clairambault b795cda79e Makefile: Added examples + install rules. 2016-01-01 01:42:54 +01:00
Pietro Gagliardi c5d4813dec Stubbed out the text drawing functions on Windows too. 2015-12-31 12:30:53 -05:00
Yauhen Kirylau 9c3a8f9a44 chore(readme): add the link to arch linux aur 2015-12-29 01:50:06 +01:00
Pietro Gagliardi 1b3d303cbe More TODOs. 2015-12-27 22:55:41 -05:00
Pietro Gagliardi a1beccd63d Pinpointed the issues with mouseExited:. A TODO for now; this is gonna be murder to figure out :) 2015-12-27 22:19:59 -05:00
Pietro Gagliardi 66ad8066ea Improved the exited debugging. 2015-12-27 17:13:57 -05:00
Pietro Gagliardi 93a9847b59 Added debugging code for mouseExited:. In El Capitan it's not working in scrolled views... 2015-12-27 16:15:18 -05:00
Pietro Gagliardi 0ec70f9111 Removed libgmalloc. That was a mistake; it slows down callbacks tremendously on DEFAULT SETTINGS. 2015-12-27 15:54:53 -05:00
Pietro Gagliardi c31d06c254 Quick change for now: added libgmalloc to the OS X build so I can debug potential memory allocation issues. I think something is wrong in the mouseExited logic... 2015-12-27 15:19:14 -05:00
Pietro Gagliardi 3b916fa749 Stubbed out the text drawing functions on OS X. 2015-12-27 11:32:47 -05:00
Pietro Gagliardi 15bb899770 Vertically condensed Page 9 a bit. 2015-12-24 23:04:07 -05:00
Pietro Gagliardi 6fd945b602 Split the text test onto a separate page, Page 9. 2015-12-24 22:59:00 -05:00
Pietro Gagliardi 353afcd464 Added the Language field to the text styles list. 2015-12-24 22:31:32 -05:00
Pietro Gagliardi 6ef404c2dd Implemented the basic uiDrawText() function on GTK+. It looks like I missed some PangoAttributes; I'll add those in next. 2015-12-24 19:48:57 -05:00
Pietro Gagliardi 280ef464f6 Started work on text rendering. Right now, features match Pango; they will be stripped as needed. Also I never committed test/page8.c; whoops. 2015-12-24 18:05:16 -05:00
Pietro Gagliardi 6a5997cc1a More notes. 2015-12-23 15:22:01 -05:00
Pietro Gagliardi 5698d84cf3 More text rendering stuff. And given how it appears I have to render DirectWrite data into a Direct2D path geometry, I might be a little bit too much in over my head here... 2015-12-23 15:19:40 -05:00
Pietro Gagliardi a9419e0cc4 Oops, I completely overlooked the Core Text Font Manager Reference, which would have told me that CTFontManagerCopyAvailableFontFamilyNames() was what I was looking for. Yay; the font families stuff now works on OS X as well! 2015-12-23 00:58:06 -05:00