-
-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use perfect hash (gperf) for parsing color names (#1848)
Signed-off-by: Tin Švagelj <[email protected]>
- Loading branch information
Showing
16 changed files
with
865 additions
and
1,659 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,7 @@ jobs: | |
audacious-dev \ | ||
cmake \ | ||
gawk \ | ||
gperf \ | ||
lcov \ | ||
libaudclient-dev \ | ||
libcairo2-dev \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ jobs: | |
freetype \ | ||
gettext \ | ||
imlib2 \ | ||
gperf \ | ||
lcov \ | ||
librsvg \ | ||
libxft \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ jobs: | |
audacious-dev \ | ||
cmake \ | ||
gawk \ | ||
gperf \ | ||
lcov \ | ||
libaudclient-dev \ | ||
libc++-14-dev \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ jobs: | |
audacious-dev \ | ||
cmake \ | ||
gawk \ | ||
gperf \ | ||
lcov \ | ||
libaudclient-dev \ | ||
libcairo2-dev \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
# Prepares stdin input YAML for gperf consumption | ||
|
||
echo "struct rgb { const char *name; uint8_t red; uint8_t green; uint8_t blue; };" | ||
echo "%%" | ||
tr -d '[]"' | tr ":" "," |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.