1. 16 9月, 2021 1 次提交
  2. 15 9月, 2021 2 次提交
  3. 14 9月, 2021 1 次提交
  4. 13 9月, 2021 1 次提交
  5. 09 9月, 2021 1 次提交
  6. 05 9月, 2021 2 次提交
  7. 03 9月, 2021 1 次提交
    • S
      Improve code formatting (#5698) · d8a2a23d
      SimonIT 提交于
      * basic spotless integration
      
      * fix formatter path
      
      * line endings lf and tabs for cpp
      
      * Update spotless, format only diffs
      
      * Exclude some folders from ignoring
      
      * Add gwt files in webapp
      
      * Fetch more git information in workflows
      
      * Correct test index.html path
      
      * Move spotless version to dependencies.gradle
      d8a2a23d
  8. 30 8月, 2021 1 次提交
  9. 27 8月, 2021 1 次提交
  10. 24 8月, 2021 2 次提交
  11. 23 8月, 2021 1 次提交
  12. 09 8月, 2021 1 次提交
  13. 06 8月, 2021 2 次提交
  14. 01 8月, 2021 1 次提交
  15. 30 7月, 2021 1 次提交
  16. 29 7月, 2021 2 次提交
  17. 28 7月, 2021 1 次提交
  18. 24 7月, 2021 2 次提交
  19. 21 7月, 2021 1 次提交
  20. 20 7月, 2021 1 次提交
  21. 19 7月, 2021 2 次提交
  22. 17 7月, 2021 1 次提交
  23. 15 7月, 2021 2 次提交
  24. 09 7月, 2021 8 次提交
  25. 08 7月, 2021 1 次提交
    • T
      GlyphLayout: Fix color-markup line wrapping (#6587) · 370631cf
      Thomas Creutzenberg 提交于
      * Merge runs
      
      * GlyphLine
      
      * Cleanup
      
      * Fix linebreaks
      
      * Extend GlyphRun
      
      * Fix colors
      
      * Fix colors
      
      * Fix colors
      
      * Fix truncate
      
      * Fix no wrap no truncate
      
      * Fixes
      
      * Naming
      
      * Adjusted GlyphRun color handling
      
      * Improved handling of newLine
      
      * Codestyle
      
      * Fixed wrapping if "\n" is inbetween color tags
      
      * Fixed wrapping if "\n" is inbetween color tags
      
      * Cleanup + comments
      
      * Optimized alignRuns() to new structure
      
      * Naming
      
      * Updated CHANGES
      
      * Improved GlyphRun#appendRun
      
      * Improved GlyphRun#appendRun
      
      * Improved wrap()
      
      * Typo
      
      * Optimizations
      
      * Changed comment
      
      * Updated comments.
      * Minor code style changes.
      * Formatted source.
      
      * adjustLastGlyph -> setLastGlyphXAdvance
      
      * if (true) -> if (runEnd != runStart)
      
      * Adjusted switch so execution only gets past it when runEnd has been set.
      
      Less indentation in the big method.
      
      * calculateAndSetWidths -> calculateWidths
      
      * Seems the "if (true)" was right and the comment was unnecessary.
      
      * Copy xAdvances with addAll.
      
      * Use IntArray for colorStack, no color pool.
      
      * Javadoc that runs are pooled, minor clean up.
      
      * Fix kerning if separated by color markup tags
      
      * Added author tag
      
      * Optimised GlyphRun#append()
      
      * Moved colors from GlyphRun to GlyphLayout
      
      * More test egde cases
      
      * Cleanup
      
      * Cleanup
      
      * Update + use reset()
      
      * Cleanup
      
      * Optimize wrap if second run is empty
      
      * Updated comment
      
      * Revert optimization (crash if there is no colorchange in whitespace)
      
      * Updated comment
      
      * BitmapFontCache#requireGlyphs() optimization
      
      * Fixed crash drawing empty GlyphLayout.
      * Use ABGR8888 for colors, easier time for BitmapFontCache.
      * totalGlyphCount -> glyphCount (internal code has to use `this.`, but public API is nicer)
      * Javadoc, comments.
      * When target width is too small for wrap, don't disable wrapping.
      * Fixed truncate color.
      * Fixed crash when truncating all glyphs.
      * Can be sure the first glyph will fit on a line.
      
      * Fix color tag as last element of string
      Co-authored-by: NNathan Sweet <nathan.sweet@gmail.com>
      370631cf