Commit Graph

3898 Commits

Author SHA1 Message Date
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
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
Pietro Gagliardi 9b340ed40c Fixed checkboxes on Mac OS X. 2018-06-23 23:48:47 -04:00
Pietro Gagliardi 8f4598f641 Finally removed the extra uiImage declarations that were there for long-irrelevant compiler errors. 2018-06-23 23:45:58 -04:00
Pietro Gagliardi 74ec21f4c7 Turned the direct method calls on uiTableModel into functions to make the call sites look a bit cleaner. More stuff will go into common/tablemodel.c... 2018-06-23 23:35:42 -04:00
Pietro Gagliardi 9a79eed2ac Final cleanup, first part: renamed uiTableData to uiTableValue. 2018-06-23 20:19:30 -04:00
Pietro Gagliardi ac27e24add And even more still. I'm just gonna clean everything up for a merge at this point. 2018-06-23 11:27:02 -04:00
Pietro Gagliardi 888bb450b3 More TODOs. 2018-06-23 11:26:14 -04:00
Pietro Gagliardi 7d17df7121 HRESULT-chained the drawing functions together and fixed bugs in the focus drawing code. 2018-06-22 21:50:04 -04:00
Pietro Gagliardi d0f7cf81c5 And rewired the focus rect. 2018-06-21 23:47:24 -04:00