Commit Graph

3578 Commits

Author SHA1 Message Date
Pietro Gagliardi 72e8b9a198 Started FINALLY renaming uiAlloc(), uiNew(), uiRealloc(), and uiFree() into uipriv* forms. This handles the common folder. 2018-04-15 15:53:27 -04:00
Pietro Gagliardi 4a57b15d09 Renamed the common options variable to uiprivOptions. 2018-04-15 15:49:45 -04:00
Pietro Gagliardi e0f800d5eb Started cleaning up the common/ folder. Backed up the current uipriv.h. 2018-04-15 15:39:28 -04:00
Pietro Gagliardi f3fcf9918b
Merge pull request #336 from Qwerp-Derp/patch-1
Added link to Hedron
2018-04-14 12:59:33 -04:00
Pietro Gagliardi 0f8c59ef49
Merge pull request #330 from tom-corwin/libuisharp-bindings
Added the LibUISharp project to the list of bindings.
2018-04-14 12:59:05 -04:00
Pietro Gagliardi 03d0d4074a More notes. 2018-04-14 12:36:52 -04:00
Pietro Gagliardi a24085bd5e More notes. 2018-04-13 22:30:21 -04:00
Pietro Gagliardi 8e7bd22d6c More notes. 2018-04-12 21:55:57 -04:00
Pietro Gagliardi a098f7f78b More notes. 2018-04-09 21:32:50 -04:00
Hanyuan Li 34fd48ae0d
Added link to Hedron 2018-04-09 18:29:46 +10:00
Pietro Gagliardi ceec25f061 More notes. 2018-04-08 21:26:16 -04:00
Pietro Gagliardi 1266a77e61 More notes. 2018-04-07 23:39:41 -04:00
Pietro Gagliardi d53ab65589 More notes. 2018-04-04 11:27:59 -04:00
Thomas Corwin e45c7b4d87 Added the LibUISharp project to the list of bindings. 2018-04-02 12:47:23 -04:00
Pietro Gagliardi 177527c959 More notes. 2018-03-29 23:36:53 -04:00
Pietro Gagliardi 696459be85 More notes. 2018-03-26 22:03:17 -04:00
Pietro Gagliardi e244a0edf4 More notes. 2018-03-25 13:13:31 -04:00
Pietro Gagliardi a7c58c2c2e More notes. 2018-03-25 02:01:37 -04:00
Pietro Gagliardi 84ff1890c5 More notes. 2018-03-24 21:16:58 -04:00
Pietro Gagliardi 51f72abba8 Updated the list of bindings, adding new ones and removing some deleted ones.
Fixed #244.
FIxed #217.
Updates #206.
2018-03-23 08:25:41 -04:00
Pietro Gagliardi 6d8150d6a4
Merge pull request #304 from marcotrosi/master
added link to Lua binding library lui by Gunnar Z.
2018-03-22 15:45:21 -04:00
marcotrosi 93789560ce added link to Lua binding library lui by Gunnar Z. 2018-03-22 18:37:07 +01:00
Pietro Gagliardi 6667cf2f51
Merge pull request #254 from nopara73/patch-1
Add .NET Core bindings to readme
2018-03-20 22:21:40 -04:00
Pietro Gagliardi 242620ff0f Fixing deployment target issues on OS X broke cpp-multithread due to deployment target libc++ issues. Fixed.
Fixes #302.
2018-03-20 02:10:48 -04:00
Pietro Gagliardi 3e76d799b1 Fixed leftovers from utflib-and-attrstr that broke builds of things I didn't fully update yet, since people want to build them anyway (for testing in a CI environment, I suppose; a real unit test suite would be better for this, though, which is one of the reasons for the _future/unittest stuff...)
Updates #302.
2018-03-20 01:58:34 -04:00
Pietro Gagliardi 8d6e41e199 Oops, missed a spot 2018-03-18 15:54:55 -04:00
Pietro Gagliardi 9cf56e1674 Merge branch 'utflib-and-attrstr'
FINALLY.
2018-03-18 15:51:22 -04:00
Pietro Gagliardi c402dcac30 And finally got rid of ui_attrstr.h (it's now all in ui.h) and updated the README. Time to FINALLY merge this back in! 2018-03-18 15:49:44 -04:00
Pietro Gagliardi df03c09a9c More TODOs. 2018-03-18 15:40:45 -04:00
Pietro Gagliardi d788d86239 Removed the margins from the drawtext example. It looks better this way. 2018-03-18 15:39:44 -04:00
Pietro Gagliardi a0d2d6a1f8 Added alignment to the drawtext example. 2018-03-18 15:30:50 -04:00
Pietro Gagliardi 8944a3fc55 Finally documented the remaining functions in ui_attrstr.h. 2018-03-18 15:11:03 -04:00
Pietro Gagliardi 9aea7fa62e Polished up the drawtext demo a bit (such as finally fixing that titlebar). Also more crash-related TODOs. 2018-03-18 11:24:09 -04:00
Pietro Gagliardi bc895d6707 And added the necessary functions on OS X. Now to do some final cleanup before merging back in (at long last). 2018-03-17 23:55:33 -04:00
Pietro Gagliardi 0125e33720 Made the likewise changes on Unix. 2018-03-17 23:42:54 -04:00
Pietro Gagliardi 93f0eea140 Likewise codified uiprivStricmp(). Honestly this will probably do for the Windows code for now... 2018-03-17 23:22:17 -04:00
Pietro Gagliardi 8709838a8f Added a uiFreeFontButtonFont() function to free resources allocated by uiFontButtonFont(), implemented it on Windows, and integrated it into the drawtext example. I'm going to continue chipping away at the Windows code for a bit longer, so I'll add this to the other platforms later. 2018-03-17 23:07:40 -04:00
Pietro Gagliardi 78e0684435 Cleaned up memory management in windows attrstr.cpp; also got rid of the logHRESULT(HELP) I was using in case DirectWrite doesn't return NULL+S_OK on a nonexistent drawing effect (thankfully it does). 2018-03-17 21:26:34 -04:00
Pietro Gagliardi 70321353a1 Moved a few more future files out of the way. 2018-03-17 21:06:45 -04:00
Pietro Gagliardi fa293717af Removed the NumLines and LineByteRange functions for now; I'll count them under extents. 2018-03-17 21:05:05 -04:00
Pietro Gagliardi d358e87583 Moved the old metrics attrstr code out of the way. 2018-03-17 21:00:11 -04:00
Pietro Gagliardi 5d116d87fe Fixed a typo in the drawtext example and made it redraw immediately on a font change. 2018-03-17 16:14:50 -04:00
Pietro Gagliardi 45d11962b1 Turns out there was only one real runtime bug (a bad castee). It works! Now to clean up. 2018-03-17 16:10:11 -04:00
Pietro Gagliardi a5bbc83359 Fixed build errors. Now to test. 2018-03-17 15:49:00 -04:00
Pietro Gagliardi 2f02836181 Fixed attrstr.cpp. Wow, that unordered_map custom hash and equal_to actually compiles! 2018-03-17 15:29:06 -04:00
Pietro Gagliardi 51952b4599 And fixed the CMakeLists.txt. Now to build. 2018-03-17 14:50:10 -04:00
Pietro Gagliardi cdaf49ec30 And quick and dirty migration of fontdialog.cpp back. Okay, after fixing the CMakeLists.txt, let's see how bad this is. 2018-03-17 14:47:20 -04:00
Pietro Gagliardi e08460adc3 Cleanup from the previous commit. 2018-03-17 14:45:45 -04:00
Pietro Gagliardi 8352cd72b8 "Migrated" dwrite.cpp back. Not much to say here; it'll do for now. 2018-03-17 14:44:38 -04:00
Pietro Gagliardi 1d1b6c3162 Migrated fontbutton.cpp back. 2018-03-16 20:06:23 -04:00