Commit Graph

3811 Commits

Author SHA1 Message Date
Pietro Gagliardi db9977a4ee Fixed uiImage on Windows. Phew. Also made it have Windows decide the best parameters, like on other platforms. 2018-09-01 19:09:47 -04:00
Pietro Gagliardi 869992010c Fixed uiImage on GTK+. Also changed it to have cairo manage memory and decide best parameters for us. I forgot to mention that the fix on OS X did this there too. Also made sure we use cairo surfaces properly this time. 2018-08-30 11:08:44 -04:00
Pietro Gagliardi e098cb5585 More TODOs 2018-08-29 20:36:18 -04:00
Pietro Gagliardi f065abedd7 Fixed the uiImage implemenation on OS X. Even though libui won't be running on a big-endian Mac any time soon, I still want to test that code on one to make sure it's correct. 2018-08-29 20:32:12 -04:00
Pietro Gagliardi abeb0144d4 Changed the image generator for the tester to print the premultiplied RGBA byte stream instead of uint32_ts; regenerated images.c. 2018-08-29 19:58:35 -04:00
Pietro Gagliardi 9f89071db3 More notes. 2018-08-19 21:56:22 -04:00
Pietro Gagliardi dcf6a2c178 More notes. 2018-08-19 04:38:14 -04:00
Pietro Gagliardi c552c4bcae More typo fixes. 2018-08-14 21:28:51 -04:00
Pietro Gagliardi 1692d5d465 Quick documentation fix. 2018-08-13 20:11:20 -04:00
Pietro Gagliardi 76edc665b7 More TODOs. 2018-08-11 19:38:49 -04:00
Pietro Gagliardi 6a513038f4 Okay let's try this again, with deployment keys this time. 2018-08-10 20:11:15 -04:00
Pietro Gagliardi 2872e65db0 Declare Alpha 4. It doesn't have everything I want, but some of what I want will require bigger changes than I feel comfortable making in such a long-awaited release. 2018-08-10 19:45:04 -04:00
Pietro Gagliardi 419c584523
Merge pull request #379 from mischnic/attrstr-delete
Fix uiAttributedStringDelete
2018-08-09 05:16:52 -04:00
Pietro Gagliardi 9120d6b93f Continuation of previous commit. 2018-08-09 05:08:38 -04:00
Pietro Gagliardi 5d959e5cbc
Merge pull request #387 from mischnic/area-scroll
"Fix area setSize macOS"

I forgot to change this when I made scrollview.m not use Auto Layout. Oops.
2018-08-09 05:07:01 -04:00
Pietro Gagliardi 52bd45bb09 More TODOs. Update #395 2018-08-09 04:54:49 -04:00
Pietro Gagliardi 24df7bc3f2 Cleaned up timers in uiUninit() on GTK+. Update #395. 2018-08-09 04:49:07 -04:00
Pietro Gagliardi ad1641f9ab Cleaned up timers in uiUninit() on Windows. Update #395. 2018-08-09 04:29:16 -04:00
Pietro Gagliardi ea1fde52ad More TODOs and removed the old C++. 2018-08-08 21:31:58 -04:00
Pietro Gagliardi b3de605d50 Started template support, writing the initial C++ template. 2018-08-08 21:31:12 -04:00
Pietro Gagliardi ecf9efd6d7 More functions in funclist.proto. 2018-08-08 20:53:32 -04:00
Pietro Gagliardi 1f4d7dc374 Adjusted mk.sh slightly. 2018-08-08 19:51:20 -04:00
Pietro Gagliardi c33ea32e0f Started a new hresultwrap in Go. I'll run it locally. 2018-08-08 19:48:52 -04:00
Pietro Gagliardi 2df2d565f9 Merge branch 'master' into windows-namespace-and-hresult-cleanup 2018-08-08 18:29:24 -04:00
Pietro Gagliardi 075d5efb61 Merge branch 'table'
FINALLY.

Update #310
2018-08-08 09:33:27 -04:00
Pietro Gagliardi 1a8e5555da Updated the README and merged uitable.h into ui.h. Now to merge! 2018-08-08 09:24:22 -04:00
Pietro Gagliardi f47e1423cf And finished documenting uitable.h. Yay, we can merge back in now! 2018-08-08 09:17:50 -04:00
Pietro Gagliardi 1c3d7be227 More uiTableModel documentation. 2018-08-07 11:18:11 -04:00
Pietro Gagliardi 9202aeee2a Documented uiTableModel. 2018-08-07 10:58:12 -04:00
Pietro Gagliardi dee35216ac Added documentation for uiTableValue. Also added a @role to uiFreeAttribute(). 2018-08-06 20:03:57 -04:00
Pietro Gagliardi cd38f77490 More TODOs regarding strides. 2018-08-06 08:52:51 -04:00
Pietro Gagliardi 976279ef33
Merge pull request #402 from mischnic/table-image-fix
"Fix uiImage on mac"

uiImageAppend()'s swizzling only works if the pixel stride is a multiple of four. Don't swizzle the pixel stride pixels.

Also a minor documentation fix.
2018-08-06 08:15:36 -04:00
Niklas Mischkulnig 68dade3e81
Rename loop variable 2018-08-06 10:54:19 +02:00
Niklas Mischkulnig c0742d3de0
Mac uiImageAppend: handle stride correctly 2018-08-06 09:28:25 +02:00
Pietro Gagliardi e0ca00e55b Resolved confusion about the terminology of strides in uiImageAppend(). Also prevents overallocation on some platforms. Thanks to @mischnic and @msink for spotting this. Update #402. 2018-08-05 18:39:29 -04:00
Pietro Gagliardi e7305349f3 Documented uiImage functions. 2018-08-05 17:52:15 -04:00
Pietro Gagliardi 4eaf01f840 Fix double-free spotted by @mischnic in #402. 2018-07-29 13:25:53 -04:00
Pietro Gagliardi b60953ed1c More TODOs. 2018-07-28 13:57:20 -04:00
Pietro Gagliardi 3c44d332da More notes. 2018-07-22 21:41:03 -04:00
Pietro Gagliardi 6812cab625 Implemented uiControlDestroy() for uiTable on GTK+. 2018-07-08 21:50:16 -04:00
Pietro Gagliardi a37fdadbd7 Implemented uiControlDestroy() for uiTable on OS X. 2018-07-08 21:22:55 -04:00
Pietro Gagliardi 095e63d522 Fixed memory leaks in the tester and a symbol name flub in OS X's image.m. 2018-07-08 21:20:42 -04:00
Pietro Gagliardi 1700c0ccea Reworded a TODO. 2018-07-08 21:13:19 -04:00
Pietro Gagliardi 5e2b8cb6ae Removed nowintable.diff; we don't need it anymore. 2018-07-08 21:04:23 -04:00
Pietro Gagliardi ce0168e1a5 I give up 2018-07-01 17:35:34 -04:00
Pietro Gagliardi 37bd4fc5a1 Added a test program to demonstrate the GTK+ progress bar cell renderer timer issues. 2018-06-25 21:25:23 -04:00
Pietro Gagliardi bd197684aa Added internationalization notes in the meantime. 2018-06-25 09:11:07 -04:00
Pietro Gagliardi 5d9928028f Wrote the initial version of the indeterminate progressbar in tables code on GTK+. VirtualBox is giving me issues when any indeterminate progressbar (real or table-based) is up; I wonder what's going on. 2018-06-24 18:23:25 -04:00
Pietro Gagliardi bd685f24f9 Removed a stale TODO; added more TODOs. 2018-06-24 14:48:09 -04:00
Pietro Gagliardi 4ed6e3ec8a Minor TODO resolution. 2018-06-24 14:46:24 -04:00