aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* util: better IsRunning(pid)Michael Muré2023-03-041-5/+15
|
* properly close files in edge cases in various placesMichael Muré2023-01-111-3/+8
|
* cache: fix some bugs after refactorMichael Muré2022-12-231-1/+1
|
* WIPMichael Muré2022-12-152-0/+166
|
* a few fixesMichael Muré2022-04-261-1/+1
|
* make sure every text input is safe and validatedMichael Muré2021-04-172-3/+39
| | | | fix #630
* WIPMichael Muré2021-02-142-4/+12
|
* lamport: match wikipedia algorithmMichael Muré2021-02-142-2/+2
|
* repo: finish RepoStorage moveMichael Muré2020-12-082-17/+20
|
* Fix 'no description' readability in terminal with bright backgroundZdenek Crha2020-09-271-1/+2
| | | | | | | | | | | | | | | | | The rendering of color for 'No description provided' text is broken on bright terminals - it sets black background which together with default black forground color renders opaque rectangle. The GreyBold color alias is broken too - name suggests bold gray forground color, but actually sets bold default fg color with black bacground. First make color alias consistent. Rename it to BlackBold and have it set bold black fg color (same as similar *Bold aliases). Second, update all places which use it to render text to also use white background to prevent it from disappering in terminals with black background color.
* repository: merge git.Hash in for one less /util packageMichael Muré2020-07-011-51/+0
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-268-169/+190
| | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* switch to go-term-text to fix bad underflow for label renderingMichael Muré2019-11-034-804/+0
|
* interrupt: also protect cancel with the mutexMichael Muré2019-08-311-1/+6
|
* interrupt: allow to cancel a cleanerMichael Muré2019-08-302-48/+102
|
* bug,entity: use a dedicated type to store IDsMichael Muré2019-08-111-2/+6
|
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-271-79/+0
|
* text: fix escape sequence disapearing at the end of a lineMichael Muré2019-05-102-1/+12
|
* Add unicode control characters test caseAmine Hilaly2019-05-051-0/+31
| | | | | | | | | | | Move `cleanupText` to utils/text/transform.go `text.Cleanup`: removing unicode control characters except for those allowed by `text.Safe` Add golang.org/x/text dependencies fix text.Cleanup Fix import panic
* commands: show the last modification time in "user"Michael Muré2019-03-011-0/+9
|
* a round of cleanupMichael Muré2019-03-011-7/+0
|
* identity: add more test for serialisation and push/pull/merge + fixesMichael Muré2019-03-011-8/+35
|
* identity: somewhat getting closer !Michael Muré2019-03-011-1/+1
|
* WIP identity in gitMichael Muré2019-03-011-0/+52
|
* Fix handling of long wordsYang Zhang2019-01-082-2/+17
|
* Fix bad names in text.goYang Zhang2019-01-072-25/+25
|
* Remove redundant init in text packageYang Zhang2019-01-021-7/+0
|
* Make runewidth treat ambiguous rune as short and fix ui displayYang Zhang2019-01-013-4/+18
|
* Add tests for critical internal functions in text.goYang Zhang2018-12-311-0/+75
|
* Refactor text.go to improve clearityYang Zhang2018-12-311-90/+124
|
* Fix megacheck warningsYang Zhang2018-12-311-2/+2
|
* Fix incorrect wrap of mixed wide and ascii charsYang Zhang2018-12-312-4/+23
|
* Implement a new wrap algorithm and pass all text testsYang Zhang2018-12-312-77/+177
|
* Fix tests in left_paddedYang Zhang2018-12-301-3/+3
|
* Add back removed text functionsYang Zhang2018-12-302-0/+118
|
* Use ASCII ellipsis to workaround inaccurate width of unicode ellipsisYang Zhang2018-12-301-2/+2
|
* Implement almost full CJK support.Yang Zhang2018-12-263-207/+89
|\ | | | | | | Display of CJK contents are supported. Adding CJK tags are problematic.
| * Implement displaying CJK contentsYang Zhang2018-12-263-201/+91
| |
* | text: fix handling of wide charactersMichael Muré2018-12-252-16/+28
|/
* termui: display an explicit placeholder for empty messagesMichael Muré2018-12-231-0/+1
|
* text: more chinese related fixesMichael Muré2018-12-232-6/+27
|
* text: fix a wrapping bug leading to line longer than they shouldMichael Muré2018-12-232-2/+34
|
* text: hopefuly fix the handling of chineseMichael Muré2018-12-232-7/+44
|
* text: fix broken truncate with unicode and use the ellipsis character in ↵Michael Muré2018-12-012-10/+71
| | | | LeftPadMaxLine
* interrupt: minor cleaningMichael Muré2018-10-272-8/+7
|
* Iverted order, moved print, and new testsRafael Passos2018-10-252-18/+42
|
* RegisterCleaner now uses Variadic input + testsRafael Passos2018-10-242-13/+48
|
* Inverted boolean checkRafael Passos2018-10-241-3/+4
|
* moved cleaner function to util/interruptRafael Passos2018-10-241-0/+39
|
* util: handle both sha1 and sha256 git hashesMichael Muré2018-09-261-1/+1
|