Eric Mellino
35aabdc9b8
Bump to 1.72b (NuGet version 1.72.0).
5 years ago
Eric Mellino
5e9d6be61d
Misc project cleanup
5 years ago
Eric Mellino
88836f5e0b
Merge remote-tracking branch 'giawa/feature/type-variants-sep-json' into feature/type-variants-sep-json
5 years ago
Eric Mellino
84ec6ed446
Update native binaries to 1.71.
5 years ago
giawa
d62cb5f278
Process the variants into a dictionary and then mark them as used as they are applied.
...
Loop over all variants at the end and display an error if the variant was unused.
5 years ago
giawa
8be7644c3e
Modify SampleProgram to use 'safe' version of GetTexDataAsRGBA32, which was auto-generated by the CodeGenerator with the new variant functionality.
5 years ago
giawa
5afed427ad
Add example variants.json that adds IntPtr* as a parameter variant for ImFontAtlas_GetTexDataAsAlpha8 and ImFontAtlas_GetTexDataAsRGBA32.
...
Rerun code generation.
5 years ago
giawa
cd5c0269b0
Add support for parameters having variant types as defined in variants.json (optional). This will cause a FunctionDefinition to expand to have several OverloadDefinitions if variants are found, and will cause both native methods and their wrappers to be generated for the variants.
5 years ago
Amer Koleci
88ca3dc6e9
Update to last 1.71
5 years ago
Eric Mellino
8e34c987ea
Download 1.70 binaries.
6 years ago
Eric Mellino
448f22dedb
Handle new default value in the code generator.
6 years ago
Amer Koleci
489f84752e
Update to v1.70.
6 years ago
Eric Mellino
34a0848556
Update to v1.69.
6 years ago
Eric Mellino
580d552d10
Merge branch 'mono-build-targets'
6 years ago
Eric Mellino
4ef0abb391
Update to 1.68.
6 years ago
Eric Mellino
dcb9b89d51
Add build targets for mono and legacy MSBuild (pre-PackageReference).
...
Also, rename native lib back to cimgui.dylib.
6 years ago
Eric Mellino
4588142ef9
Generated PInvokes for "_destroy" functions .
6 years ago
Eric Mellino
1743198544
Fix native constructor function imports
6 years ago
prime31
8e3caa1b49
Fix FNA input for text
6 years ago
Mike
78fe032ebd
cleanup
6 years ago
Mike
3a62f6b723
update link in csproj file
6 years ago
Mike
0f32fae4cd
fixes a bug with MonoGame and FNA when creating a texture at runtime
...
fixes Mono not finding the dylib by prepending "lib"
6 years ago
Eric Mellino
7f3739a64e
Update to 1.67.
6 years ago
Eric Mellino
c4842e4609
Bump version to 1.66.1.
6 years ago
Eric Mellino
571f7975cd
Fix issue with InputText(Multiline) manual overloads which could overflow their native buffers.
6 years ago
Unknown
78b6fd6042
Fixed switched mouse input
6 years ago
Eric Mellino
4c9e1579b6
Remove pre-release suffix on package version.
6 years ago
Eric Mellino
7ac01b7689
Add a 2048-byte limit to stack allocation for strings.
6 years ago
cynic
37e468dbe5
Fix non '\0' terminated labels for InputText
...
Previously only the length of the label was allocated. As .net is
initializing arrays with 0 and (at least for this stackalloc here)
this happens in 4-byte chunks only strings with a length multiple of 4
were affected as in this case the allocated size exactly matched the
length of the string and so no 0 was left to be used for string end.
Now the array is generated always one byte larger than the label length,
so there will always be a 0 at the end.
6 years ago
Marco van den Oever
0ce4c37f5d
Updated to MonoGame 3.7 ( #87 )
6 years ago
Eric Mellino
5fe333a691
Ignore static fields in structures.
6 years ago
Eric Mellino
bab93b731c
Update to v1.66 of Dear ImGui.
...
Still marking this as a beta until the final autogen work items are completed.
6 years ago
Eric Mellino
7f9b7d3baa
Order Functions alphabetically by name
...
* This helps with consistency between versions, since the json file does not always preserve order.
6 years ago
Eric Mellino
5f8dffaba5
Bump version to beta4.
6 years ago
Eric Mellino
1eef5c8131
Fix marshalling of string arrays.
...
* Affects only ImGui.Combo and ListBox.
6 years ago
Eric Mellino
2e31c95fa0
Update CodeGenerator to handle the latest output from cimgui.
6 years ago
Eric Mellino
57de7ca047
Allow "null" to be passed for string parameters.
...
NOTE: Not all native functions permit a null string to be passed, and may still fail. This change just fixes the null-ref that occurred wheen attempting to marshal the null string to UTF8.
Bumps beta identifier to beta3.
6 years ago
Eric Mellino
9212f835fa
Improve perf of InputText/Multiline.
6 years ago
Eric Mellino
1ed6432be0
Add similar manual overloads for InputTextMultiline.
6 years ago
Eric Mellino
a2ecece82d
Remove auto-generated InputText functions and add manual overloads taking a by-ref string.
6 years ago
Eric Mellino
19017294c2
Remove Bool8 entirely, as it is no longer used.
6 years ago
Eric Mellino
5c9bab0c95
Improve detection for very brief mouse button presses.
6 years ago
Eric Mellino
666b2392e4
Improve the marshalling of ImWchar* parameters (glyph ranges, mainly)
6 years ago
Eric Mellino
b4734caf52
Bump to beta2.
6 years ago
Eric Mellino
4050b768bb
Very minor code cleanup in ImGuiController.
6 years ago
Eric Mellino
bc625f6b84
In safe struct wrappers, do not use Bool8.
...
On .NET Core Unix platforms, there appears to be a codegen issue with
Bool8 which causes it to mangle values after the accessed range.
Conceptually, bool is the correc type to use in these places anyways,
and because the marshaller is not involved here, there are no problems
related to the marshaller's native-managed size mismatch.
6 years ago
Eric Mellino
0a0774ff3c
Add gitter badge to README.md
6 years ago
Eric Mellino
568024f5a0
Update json files from cimgui and handle new syntax.
6 years ago
Eric Mellino
bb8b9ecc0c
Use platform's default backend in sample program.
6 years ago
Eric Mellino
7a31d16cc1
Add back CallingConvention.Cdecl to PInvokes.
6 years ago