Commit Graph

5653 Commits (4a10af2bda0bdc647f0757c2bf459598c8244930)
 

Author SHA1 Message Date
ocornut 4a10af2bda Unicode, Windows: Remove stringapiset.h include (breaks vs2010 and seems unnecessary?). (, )
ocornut e137db2df7 CI: Enable error on warnings for the extra warnings builds as an experiment. FAQ tweaks
ocornut aef057e975 Internals: Added GetInputTextState() + comments.
ocornut 2dcf8df9f4 Internals: Shuffled some of the windows-specific includes to avoid duplication. Might have undesirable side-effects on some compilers, please report!
ocornut de37a0bfab Internals: fix potential warning. Comments around include sections. Moved a few bits.
ocornut 1b5b87a40e Internals: Added #define NOMINMAX before windows.h include for single-compile-unit builds.
ocornut 0850b46c88 ImDrawList: Internals: Added IM_DRAWLIST_ARCFAST_TESSELLATION_MULTIPLIER setting.
ocornut b029182a73 Merge branch 'features/unicode'
omar 897704cb49 Menus: Tweak for first-level menu windows to be positioned regardless of MenuBarHeight() which is not stored in window, allowing undocumented modification of the menu bar height).
ocornut a41332453e Unicode: Changelog, comments, minimum CI integration. (, , )
omar 0283a6e566 ImFont: Demo, Store Used4kPagesMap[] map in ImFont to facilitate iteration on all codepoints with a large value of IM_UNICODE_CODEPOINT_MAX. ()
Demo uses IsGlyphRangeUnused()
Sam Hocevar c8ea0a017d Unicode: UTF32 support improvements (, , )
- Make ImWchar32 unsigned.
 - Fix Win32 version of ImFileOpen by including windows.h sooner.
 - Make ImGuiIO::AddInputCharacterUTF16() more robust by disallowing illegal
surrogate pairs.
 - Allow pushing higher plane codepoints through ImGuiIO::AddInputCharacter().
 - Minor cleaning up in the high-plane Unicode support.
 - Fix Clang -Wunreachable-code warning
Cloud Wu 6d59653e82 Unicode: full Unicode Support (6 squashed commits) (, )
fix build for WideCharToMultiByte
[3181ff1e] Full Unicode Support
[6c9e73ac] Fix ImTextCountUtf8BytesFromChar and ImTextCharToUtf8, these APIs assume the input is an unicode code point, not UTF-16
[ba85665b] Add AddInputCharacterUTF16 for windows backend to handle WM_CHAR
[fafdcaf0] Use Windows API to convert UTF-16 for ImFileOpen
[dc7d5925] Use windows API to convert UTF-16 for clipboard
ocornut 8c683de33f Internals: Refactor: Moved get height and contents regions functions, to Layout section. IF YOU GREAT CONFLICTS WHILE MERGING (NOT REBASING) THOSE 6 PREV COMMITS, TRY MERGING THEM INDIVIDUALLY 1 by 1 or 2 by 2 etc.
ocornut 602df11f19 Internals: Refactor: Moved item width/size functions to Layout section.
ocornut 6c1810e503 Internals: Refactor: Moved cursor position functions to Layout section.
ocornut 3ce26f65d4 Internals: Refactor: Moved ItemAdd(), ItemSize(), BeginGroup(), EndGroup(), SameLine(), Indent(), Unindent() to Layout section.
ocornut caca55c642 Internals: Refactor: Moved code into a Styling section and some code into the Error Handling section.
ocornut 2679bee28d Internals: Refactor: Moved code out of NewFrame() into UpdateTabFocus() and UpdateSettings()
omar 095dc996b0 Disable deprecated-enum-enum-conversion (, )
omar 628614c6ea Demo: Remove unnecessary code added by 24bd33ac.
ocornut 24bd33ace8 Menus: Some renaming, comments, add to demo. Amend 0342a3c. ()
Rokas Kupstys 0342a3c548 Menus: Implement BeginMenu() appending to existing menu when executed with same ID multiple times. ()
ocornut 898e91f20d Internals: Added TempInputText() to facilitate creation of custom widgets, renamed TempInputTextScalar() to TempInputScalar() etc. ()
+ Minor imgui.h/todo comments
ocornut e547f898a9 Demo: Added color gradient in demo to identify srgb/linear issues better. Tweaks.
ocornut 0345324646 Backends: SDL: Fixed mapping for ImGuiKey_KeyPadEnter. () [@Davido71]
ocornut 02a6c06080 Window: Fixed a bug with child window inheriting ItemFlags from their parent when the child window also manipulate the ItemFlags stack. () [@Stanbroek]
Amend f843facba4 and 8828889d5e
Omar ea3fc76038 BeginMenu: Fixed a bug where SetNextWindowXXX data before a BeginMenu() would not be cleared when the menu is not open. ()
Omar 8836975dcf Drag and Drop, Nav: Disabling navigation arrow keys when drag and drop is active. ()
Omar b62f1ea8e9 Fix zealous PVS studio warnings. Minor tweaks.
Omar 09329ea4e6 Fix Clang 9.0 zealous warnings
Omar ceec3cd3fd Backends: Win32: Added ImGui_ImplWin32_EnableDpiAwareness(), ImGui_ImplWin32_GetDpiScaleForHwnd(), ImGui_ImplWin32_GetDpiScaleForMonitor() helpers functions.
(backported from the docking branch)
Omar 8601187fee Backends: Win32: Clarify how the WndProc handler requires a forward declaration.
omar f339b24b3a
Links, alphabetical order
omar 2bc3a92f96
Update README.md
omar b4ac420fc5 Demo: Amend d284a6c (, )
omar d284a6cffc InputText: Fixed password fields displaying ASCII spaces as blanks. Fixed non-ASCII space occasionally creating unnecessary empty polygons. (, )
omar ccaec1a270 Version 1.76 WIP
omar 30bb15672d Remove trailing spaces
omar 70975fe44d Demo: Added a black and white gradient to Demo>Examples>Custom Rendering.
omar d8948b5343 ColorButton: Added ImGuiColorEditFlags_NoBorder flag to remove the border normally enforced by default.
Rokas Kupstys 21b9e42964 Minor fixes to example_sdl_metal and a changelog entry.
Add example_sdl_metal to CI builds.

Closes .
coding_jackalope f346b4b302 Examples: SDL+Metal example.
omar d16c87a5b1 Internals: Minor renaming
omar 58b3e02b95 Version 1.75
Comments
omar d37d25470a Added IMGUI_DISABLE compile-time definition to make all headers and sources empty.
omar f694244dec InputText: Fix using a combination of _CallbackResize + _EnterReturnsTrue + lack of persisting user storage. ()
Amend 24ff25981 (, , )
omar bdbb2b21f5 Fix 83efdcec from overflowing buffer + make it a single undo records + comments ()
Rokas Kupstys 83efdcec8d Canceling text input with [esc] key uses stb_textedit facilities to restore original value. This makes restoration undoable using hotkeys.
Fixes .
omar 5a437f198c Internals: GetItemStatusFlags(). Added Comments.