Commit Graph

3547 Commits

Author SHA1 Message Date
cody271 b1210165a0 Implement uiTimer() for Windows 2018-04-16 17:28:13 -07:00
cody271 68e1223e4d Fix TimerDelegate memory leak 2018-04-16 17:28:13 -07:00
cody271 5dbe20593d Implement uiTimer() for GTK+ and OS X 2018-04-16 17:28:12 -07:00
cody271 27b8ce1db3 Add uiTimer() API and example 2018-04-16 17:28:12 -07:00
Pietro Gagliardi 750f4214b7 Cleaned up private symbols (and in one case, explicit initialization) of symbols in all *.c files in common/. Now to decide what to do about whether uipriv.h should include ui.h and if attrstr.h should even stay, and then I can merge this back. 2018-04-16 02:31:24 -04:00
Pietro Gagliardi 7cd88ddd03 More notes. 2018-04-16 01:33:21 -04:00
Pietro Gagliardi b3df05eb8e More TODOs. (This was originally added in a prior commit but I forgot to mention it; I wanted it to be LONGTERM but forgot about that the first time.) 2018-04-15 23:16:04 -04:00
Pietro Gagliardi fcc26ab9a9 Fixed a serious bug in windows/utf16.cpp that went unnoticed for this long: we wanted utf16UTF8Count(), not utf16RuneCount(), in toUTF8(); any non-ASCII text had the wrong number of bytes, and thus random heap corruption. The string "鎿嶄綔鎴愬姛瀹屾垚銆" (taken from the completely unrelated #337) and the Set Button Text button was enough to trigger this. 2018-04-15 23:10:11 -04:00
Pietro Gagliardi c3992cc647 uipriv-ized utf.c. 2018-04-15 23:08:57 -04:00
Pietro Gagliardi 8e2004cf67 struct graphemes -> uiprivGraphemes. Also deleted OLD_uipriv.h now that that one is settled. 2018-04-15 22:43:14 -04:00
Pietro Gagliardi 01d6422664 Added uipriv prefixes to the matrix functions. 2018-04-15 22:39:34 -04:00
Pietro Gagliardi 24a4b0997c fromScancode() -> uiprivFromScancode(). 2018-04-15 22:31:17 -04:00
Pietro Gagliardi 0dddf4a490 clickCounter -> uiprivClickCounter. 2018-04-15 22:26:51 -04:00
Pietro Gagliardi f5be05f143 shouldQuit() -> uiprivShouldQuit(). 2018-04-15 21:54:46 -04:00
Pietro Gagliardi 59835a9bae Removed the declaration of newControl(): it was completely unused, as it was superceded by uiAllocControl() long ago. 2018-04-15 21:49:58 -04:00
Pietro Gagliardi f93973d3cb Migrated implbug() and userbug() to uipriv forms. 2018-04-15 21:46:08 -04:00
Pietro Gagliardi c6bb463692 uiAlloc() et al -> uiprivAlloc() et al, Windows code. 2018-04-15 18:12:58 -04:00
Pietro Gagliardi 099c4ff631 uiAlloc() et al -> uiprivAlloc() et al, GTK+ code. 2018-04-15 16:36:03 -04:00
Pietro Gagliardi 8ca32f098f uiAlloc() et al -> uiprivAlloc() et al, OS X code. 2018-04-15 16:05:24 -04:00
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