Commit Graph

3462 Commits

Author SHA1 Message Date
Pietro Gagliardi 705bf2d9bf Planned a new system for transferring data between tables and models, based on uiAttribute. 2018-06-03 17:18:01 -04:00
Pietro Gagliardi 9c519f1bfa Added checkboxes and consolidated all the columns with or without text. Progressbars and buttons will be separate object types. I do need to redo the data-passing method, and now that there's uiAttribute I can just model a better one off that. 2018-06-03 16:50:35 -04:00
Pietro Gagliardi d1b7d14a82 Added image columns. 2018-06-03 14:13:32 -04:00
Pietro Gagliardi 5d57666764 Started writing the new table column code on OS X. This new code will take full advantage of NSTableView features like the reuse cache. Right now we just have the boilerplate for text-only columns. 2018-06-03 13:28:42 -04:00
Pietro Gagliardi 2f83428ebe Trying out a new uiTable API. This will make implementations easier, and figures that very few people need dynamic control over table column layout or contents. 2018-06-03 12:26:23 -04:00
Pietro Gagliardi 7911ed0e81 Merge branch 'master' into table 2018-05-31 08:21:21 -04:00
Pietro Gagliardi cda991b7e2
Merge pull request #376 from mischnic/datetime-unreg
Fix uiDateTimePicker-related crashes in test on OS X: they were not being destroyed properly.
2018-05-31 08:20:16 -04:00
Niklas Mischkulnig 1b4c898a0c Fix datetimepicker crash 2018-05-31 13:03:19 +02:00
Pietro Gagliardi 1cb0e9046f Made the button cell renderer draw and size much more nicely than it did before, fixing a few bugs along the way. 2018-05-30 22:48:46 -04:00
Pietro Gagliardi 0907ea47bd Merge branch 'master' into table 2018-05-30 08:53:40 -04:00
Pietro Gagliardi 2f0e6e974b And updated the README. 2018-05-30 08:52:24 -04:00
Pietro Gagliardi 61dbbdbf96 Merge branch 'master' into table 2018-05-30 08:50:40 -04:00
Pietro Gagliardi 1530192673 Finally got around to merging ANNOUNCE and Changelog into NEWS. 2018-05-30 08:49:24 -04:00
Pietro Gagliardi 32840cd88c Merge branch 'master' into table 2018-05-30 08:07:19 -04:00
Pietro Gagliardi 5bd78c1932 Merge branch 'master' of github.com:andlabs/libui 2018-05-30 08:06:39 -04:00
Pietro Gagliardi 9020b248e2
Merge pull request #372 from zhaozg/patch-1
Add another libui bare bindings for lua
2018-05-30 08:06:11 -04:00
Pietro Gagliardi 0e7f866531 More bindings. 2018-05-30 08:05:16 -04:00
Pietro Gagliardi 374eed7432 Removed the facilities for printing an int as text; this was causing the tester to crash in a weird way on OS X (through NSApplication _crashOnException: without telling me what that exception was) and I didn't intend on this part type to be used in this way anyway... 2018-05-29 20:27:31 -04:00
Pietro Gagliardi a7fe45b8a5 Removed carriage returns. 2018-05-29 20:26:48 -04:00
Pietro Gagliardi 32a83241cb
Merge pull request #361 from bcampbell/table-comctl
Add minimal uiTable implementation for Windows.

🎉
2018-05-29 20:00:22 -04:00
Ben Campbell b3b21196a1 minor windows table tweaks 2018-05-29 18:17:10 +12:00
Pietro Gagliardi cb5b6bf924 Merge branch 'master' into table 2018-05-28 13:39:11 -04:00
Pietro Gagliardi c3be9f221c Fixed a typo that led to CRLF bugs in uiMultilineEntry on Windows. Thanks to @mimecorg for spotting it.
Update #359
2018-05-28 13:38:36 -04:00
Ben Campbell ba13227bed further style consistency tweaks 2018-05-28 20:26:07 +12:00
George Zhao bd79a2fa8f
Update README.md
Add another libui bare bindings for lua
2018-05-27 14:52:21 +08:00
Ben Campbell 4246ae5549 assorted consistancy cleanup 2018-05-22 22:53:25 +12:00
Ben Campbell 7402dec266 remove superfluous #include <vector> 2018-05-22 20:41:49 +12:00
Ben Campbell fc2ea17bb8 Add minimal uiTable implementation for windows
This uses the win32 common controls listview to implement uiTable.
There are limitations:
 - It supports only a single TextPart per column.
 - ImagePart, CheckboxPart and ProgessBarPart are not implemented.
 - There is no support for cell coloring.
 - Cell editing is not implemented.
Some of these will be very hard to support using the standard
common control listview, and probably require an entire custom
listview.
2018-05-22 20:41:49 +12:00
Pietro Gagliardi 0da7b3fceb More bindings. Thanks to anonymous-coward on reddit. 2018-05-21 20:10:46 -04:00
Pietro Gagliardi 6c1a7b2b9b Cleared up exactly where libui stands. I didn't realize people were expecting more out of it than I let out, because I thought I was letting out exactly what I promised, when I didn't. Thanks to Bloodmeow (I think that was what their username was...). 2018-05-21 10:44:10 -04:00
Pietro Gagliardi 483c037d41 Merge branch 'master' of github.com:andlabs/libui 2018-05-21 08:41:24 -04:00
Pietro Gagliardi f55d34636b
Merge pull request #369 from msink/kotlin-libui
Kotlin/Native bindings
2018-05-21 08:40:27 -04:00
Mike Sinkovsky bb3066e3f5 Kotlin/Native bindings 2018-05-21 16:10:12 +05:00
Pietro Gagliardi cc477d58f8 More notes. 2018-05-20 12:55:50 -04:00
Pietro Gagliardi 919ad1f16e More Rust bindings. This list is getting nuttily formatted; need to improve it... 2018-05-20 10:20:19 -04:00
Pietro Gagliardi 422ec83162 Okay, so any future changes will require super complex cmd.exe fuckery combined with yaml's bizarre, complex quoting rules, sooooo nope.avi (I'll try again after spliting all the appveyor stuff into batch files, but at this point I'm tempted to switch to VSTS, which I can pay for). 2018-05-18 09:19:53 -04:00
Pietro Gagliardi cfb51cb1b9 And let's try again for MSVC. 2018-05-18 09:08:14 -04:00
Pietro Gagliardi 634ca8470d Gotta love curl (so much for a clean revert of this...) 2018-05-18 08:59:48 -04:00
Pietro Gagliardi abc489095e Let's try jom with 1 to start. 2018-05-18 08:56:42 -04:00
Pietro Gagliardi 96f2bf2603 And now with 3. 2018-05-18 01:28:32 -04:00
Pietro Gagliardi 4c8af90d64 Okay, that seemed to apply the flag correctly. Let's turn off the debugging spew and see if it has the effect we want. 2018-05-18 00:13:51 -04:00
Pietro Gagliardi e4852c17b7 motherfucking 2018-05-18 00:08:46 -04:00
Pietro Gagliardi b463590289 fucking 2018-05-18 00:07:09 -04:00
Pietro Gagliardi dc62cbd27f Let's try simultaneous builds in AppVeyor. 2018-05-18 00:05:19 -04:00
Pietro Gagliardi d4c41e0270 And undid all those changes. 2018-05-17 10:14:13 -04:00
Pietro Gagliardi d6ced62aab Hooray Microsoft 2018-05-17 10:08:15 -04:00
Pietro Gagliardi 911ef405c7 Okay, THAT worked, so let's fix the cmd.exe quoting 2018-05-17 10:03:24 -04:00
Pietro Gagliardi 4748828a2e Good to experience that YAML is a complicated mess for myself now! 2018-05-17 10:01:31 -04:00
Pietro Gagliardi 26e5843083 ... *sigh* 2018-05-17 09:59:25 -04:00
Pietro Gagliardi 3f1b6b3a49 Fucking YAML; so much for simple git revert of all this. 2018-05-17 09:56:11 -04:00