Pietro Gagliardi
039a9db2e5
Wrapped the processing in a class and collapsed consecutive blank lines.
2018-05-28 22:57:52 -04:00
Pietro Gagliardi
d4517fab84
And changed hresultwrap to only write to the output file in main().
2018-05-28 22:50:00 -04:00
Pietro Gagliardi
b590482ccb
Expanded the tool input slightly and (finally) changed hresultwrap.cpp to use WriteCloser.
2018-05-28 22:46:30 -04:00
Pietro Gagliardi
7e2c505b1d
Merge branch 'master' into windows-namespace-and-hresult-cleanup
2018-05-28 13:39:36 -04: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
Pietro Gagliardi
ea5bd79b89
Made WINAPI (stdcall) the default calling convention. Hopefully this will opt us into some compiler optimizations... hopefully.
2018-05-27 20:44:34 -04:00
Pietro Gagliardi
eef179c1e5
And added function bodies to hresultwrap.
2018-05-27 20:38:10 -04:00
Pietro Gagliardi
a1a20837cd
And cleaned up the item class, turning it into a Function class.
2018-05-27 20:17:35 -04:00
Pietro Gagliardi
620b03f442
And fixed the remaining errors, including runtime erorrs. It works!
2018-05-27 19:48:39 -04:00
Pietro Gagliardi
cf945367a3
Rewrote hresultwrap.cpp with the new changes, fixing some build errors too. Now to fix the remaining build errors.
2018-05-27 16:32:33 -04:00
Pietro Gagliardi
4a7e7ed983
Rewrote the library to use ByteSlice.
2018-05-27 15:50:00 -04:00
Pietro Gagliardi
8231bd337f
Built a new ByteSlice interface in lib.cpp that will keep shuffling the bytes around much nicer. I'll change everything to use it next.
2018-05-27 15:36:16 -04:00
George Zhao
bd79a2fa8f
Update README.md
...
Add another libui bare bindings for lua
2018-05-27 14:52:21 +08:00
Pietro Gagliardi
481e1e30bb
And updated hresultwrap to produce signatures. Man this is so un-C++-y it actually feels like I'm doing it wrong...
2018-05-26 20:09:16 -04:00
Pietro Gagliardi
ef9e08d4ad
Started assembling the input file to this hresult utility.
2018-05-26 19:40:55 -04:00
Pietro Gagliardi
8f5eba45bd
Added more support for writing hresultwrap itself. There is probably a more C++-y way to write all this :| If only I could use Go...
2018-05-26 17:42:26 -04:00
Pietro Gagliardi
a07727515f
Updated hresultwrap to use lib.cpp, fixing errors along the way.
2018-05-26 16:56:53 -04:00
Pietro Gagliardi
a6634f775b
Minor style fretting
2018-05-25 21:17:29 -04:00
Pietro Gagliardi
472476392c
Started expanding what were scanner.cpp and scanner.hpp into a more flexible library for tool writing. Also decided to go with separate POSIX and Windows implementations.
2018-05-25 21:07:45 -04:00
Pietro Gagliardi
ca11bf1e42
More notes.
2018-05-25 20:25:36 -04:00
Pietro Gagliardi
43c2f26de3
Split Scanner into its own files.
2018-05-25 00:33:56 -04:00
Pietro Gagliardi
8b35ab973d
Simplification through adversity, or, POSIX is not as portable as it would like :D It still works, though!
2018-05-24 16:11:58 -04:00
Pietro Gagliardi
a5e07be2f5
Fixed EOF behavior.
2018-05-22 21:23:38 -04:00
Pietro Gagliardi
c38564a8f7
And integrated Scanner into the mix. C's EOF behavior is gonna make things harder...
2018-05-22 21:19:54 -04:00
Pietro Gagliardi
b769b37189
Attempted to simplify hresultwrap.cpp through a Scanner class, similar to Go's bufio.Scanner. There are a few snags right now...
2018-05-22 21:03:54 -04: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
d09be0d5fc
Fixed bugs in hresultwrap.cpp.
2018-05-21 23:05:39 -04:00
Pietro Gagliardi
fb745e80e3
Started the tool to convert Windows API functions into HRESULT wrappers.
2018-05-21 22:42:19 -04:00
Pietro Gagliardi
20483669b2
Merge branch 'master' into windows-namespace-and-hresult-cleanup
2018-05-21 20:12:42 -04: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