2018-05-09
@Elias Daler
Fixed clipboard paste memory leak in SDL examples. (#1803)
Elias Daler authored on 9 May 2018 omar committed on 9 May 2018
2018-05-08
@omar
Data types: Fix format srtings with leading blanks. Fix ColorEdit4() to not use obsolete formats (when using IMGUI_DISABLE_OBSOLETE_FUNCTIONS) (#643)
omar committed on 8 May 2018
@omar
Apply fix from data_types branch, some widgets broken when format string doesn't contains a %. Broken by 92f0165. Data_types branch fix c5fb929.
omar committed on 8 May 2018
@omar
Internals: Declaring DragBehavior, SliderBehavior in there (no warantee given) as they may be useful to custom widgets.
omar committed on 8 May 2018
@omar
Moved DragScalar, InputScalar, SliderScalar to imgui.h as well as ImGuiDataType (#320, #643, #708, #1011)
omar committed on 8 May 2018
@omar
Data types: Fixed empty format string (or no % specifier) breaking the parsing back of values.
omar committed on 8 May 2018
@omar
Fix to allow compiling in unity builds where stb_rectpack/stb_truetype may be already included in the same compilation unit.
omar committed on 8 May 2018
2018-05-07
@omar
Settings: Comments (#923, #993)
omar committed on 7 May 2018
@omar
Settings: Added LoadIniSettingsFromDisk(), LoadIniSettingsFromMemory(), SaveIniSettingsToDisk(), SaveIniSettingsToMemory(), io.WantSaveIniSettings. (#923, #993)
omar committed on 7 May 2018
@omar
Internals: Removed unnecessary allocation indirection for g.LogClipboard (this only made sense when there was a global context instance)
omar committed on 7 May 2018
@omar
imgui_freetype: skip missing glyphs as well to match our stb loader (#1671, #1703)
omar committed on 7 May 2018
@omar
Skip missing font glyphs V2 revert changes to stb_truetype.h (
omar committed on 7 May 2018
@omar
Skip missing font glyphs to 1) avoid using space for missing glyphs and 2) allow merging fonts with overlapping ranges. Demo: Fixed displaying ? instead of greyed out empty box. (#1671, #1703)
omar committed on 7 May 2018
@omar
Ran a spell checker for sanity.
omar committed on 7 May 2018
@omar
Examples: DirectX9: Comments, updated changelog, notes about usage of imconfig.h (#1790, #1687)
omar committed on 7 May 2018
@SR_team
add renderstate D3DRS_SHADEMODE for Dx9 impl ...
SR_team authored on 3 May 2018 omar committed on 7 May 2018
2018-05-04
@omar
SliderScalar, VSliderScalar(): Support for any data types. Tested with various ranges/limits. Note that Drag/Slider/Input currently fail if the format string doesn't preview the actual value. Will fix next. (#320, #643, #708, #1011)
omar committed on 4 May 2018
@omar
Internals: A few selected math helpers are now using template to handle all supported types. Added ImPow() to wrap float/double in a standard manner without calling pow(double) when not needed in Drag code.
omar committed on 4 May 2018
@omar
Internals: Data types: Made format string optional. DragBehavior: Moved a bit of code outside of the template. Slider tidying up. Removed unnecessary call to fabsf().
omar committed on 4 May 2018
@omar
DragFloat, DragInt: Default format string is none is passed to the function. Fixed demo using old style %.0f.
omar committed on 4 May 2018
@omar
Made IMGUI_DISABLE_OBSOLETE_FUNCTIONS exceptionally not affect the layout of ImGuiIO. (#1695)
omar committed on 4 May 2018
2018-05-03
@omar
Internals: Missing const, some renaming. Tweak legacy fast path.
omar committed on 3 May 2018
@omar
DragInt, DragScalar: Actually made the fast-past handle the now-most-common case..
omar committed on 3 May 2018
@omar
DragInt: Patch old format strings to replace %f by %d when using the DragInt() entry point. (#320, #643, #708, #1011)
omar committed on 3 May 2018
@omar
Ran a spell checker for sanity.
omar committed on 3 May 2018
@omar
Internals: Tidying up internal helpers. Fixed a case ImParseFormatTrimDecorations() can return an off by one (out of bound) pointer if the format string is invalid. Extracted ImParseFormatFindEnd() out of TrimDecorations so we can use it to find the format type and replace the %f in old Int apis.
omar committed on 3 May 2018
@omar
Internals: Fixed DragInt* default format string. InputScalar(), InputScalarN(), removed InputFloatN(), InputInt(). Note that DragInt2/3/4 will %f format strings will currently be broken. (#320, #643, #708, #1011)
omar committed on 3 May 2018
@omar
Internal: DragScalar(), InputScalar() now support signed/unsigned, 32/64 bits, float/double data types. (#320, #643, #708, #1011)
omar committed on 3 May 2018
@omar
Internals: DragFloat: Fixed power handling. Use an temporary accumulator and no absolute values so we will be able to manipulate double as well as 64-bit integers. (#1011, #708, #320)
omar committed on 3 May 2018
@omar
Internals: DragFloat: Removed DragSpeedScaleFast/DragSpeedScaleSlow since it's not yet usable and Nav version doesn't have an equivalent.
omar committed on 3 May 2018