Commit Graph

3627 Commits

Author SHA1 Message Date
Pietro Gagliardi 2606235a74 And fixed the documentation and marked Alpha 4.1. 2018-09-01 19:14:30 -04:00
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 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
Pietro Gagliardi f3882d6124 Cleaned up color access across platforms. 2018-06-24 14:22:05 -04:00
Pietro Gagliardi acb40964f3 Deduplicated editable logic across platforms. 2018-06-24 11:41:19 -04:00
Pietro Gagliardi fb67c429d8 Made background color columns only settable at creation time; added a uiTableParams struct for the purpose. This should end edits to uitable.h for now (until we're ready to document it). Now to just clean up all the implementations. 2018-06-24 10:28:41 -04:00
Pietro Gagliardi 72c7c05f04 Fixed up AddColumn parameter and private fields names; made them consistent. 2018-06-24 09:52:01 -04:00
Pietro Gagliardi 4dbf1994a6 Deduplicated the default text column parameters across platforms. 2018-06-24 00:45:54 -04:00