ConnorSkees
|
b17420e00b
|
dont emit comma on one arg two channels special
|
2020-04-06 22:38:55 -04:00 |
|
ConnorSkees
|
203200ca4c
|
emit rgba inside rgba for two args special
|
2020-04-06 22:35:07 -04:00 |
|
ConnorSkees
|
b545c162f5
|
two arg special function rgb/rgba
|
2020-04-06 22:33:12 -04:00 |
|
ConnorSkees
|
c95c69be4d
|
avoid unwrapping in special functions rgb/rgba one arg green
|
2020-04-06 22:26:43 -04:00 |
|
ConnorSkees
|
65ba25e555
|
handle special functions in 1 arg rgb/rgba
|
2020-04-06 22:09:36 -04:00 |
|
ConnorSkees
|
b5a0957aa7
|
handle special functions in 3args rgba
|
2020-04-06 21:58:47 -04:00 |
|
ConnorSkees
|
97425665f9
|
consolidate implementation of rgb and rgba
|
2020-04-06 21:22:03 -04:00 |
|
ConnorSkees
|
b7be1705a2
|
args and default values are lazily evaluated
|
2020-04-04 18:17:04 -04:00 |
|
ConnorSkees
|
81c85a6f86
|
handle builtin functions in get-function
|
2020-04-03 23:49:44 -04:00 |
|
ConnorSkees
|
8e3e23c6cd
|
builtin functions take args by value
|
2020-04-02 13:45:14 -04:00 |
|
ConnorSkees
|
f9fc0ed8cb
|
differentiate named and positional args
|
2020-04-02 12:28:28 -04:00 |
|
ConnorSkees
|
981bf27cb8
|
properly parse and emit bracketed lists
|
2020-03-23 19:56:24 -04:00 |
|
ConnorSkees
|
795c8bdb05
|
error messages end in periods
|
2020-03-23 12:53:55 -04:00 |
|
ConnorSkees
|
01c1cf3bb3
|
prefer the word lightness over luminance
|
2020-03-23 12:52:23 -04:00 |
|
ConnorSkees
|
2698e8257b
|
improve rgb(a)/hsl(a) 1 arg errors
|
2020-03-23 12:42:58 -04:00 |
|
ConnorSkees
|
6460c97ef4
|
better error messages for zero arg hsl(a)
|
2020-03-22 23:41:02 -04:00 |
|
ConnorSkees
|
6aae433d21
|
better error message for missing rgb/rgba args
|
2020-03-22 23:28:19 -04:00 |
|
ConnorSkees
|
0be8828bf0
|
make better use of num traits
|
2020-03-22 22:28:54 -04:00 |
|
ConnorSkees
|
22ab800e4c
|
remove todo! from other color functions
|
2020-03-21 00:10:15 -04:00 |
|
ConnorSkees
|
20f702b40b
|
Implement 1 arg for hsl and hsla
|
2020-03-19 23:44:53 -04:00 |
|
ConnorSkees
|
fb4021dae6
|
Properly handle percents in 1 arg rgb/rgba
|
2020-03-19 22:31:44 -04:00 |
|
ConnorSkees
|
dcb712e3d4
|
Refactor unit conversions into separate file
|
2020-03-19 16:24:31 -04:00 |
|
ConnorSkees
|
7a5b5c7369
|
Workaround negative numbers in macro
|
2020-03-16 16:44:52 -04:00 |
|
ConnorSkees
|
849f3d8479
|
Refactor color-other builtin function arg macros
|
2020-03-16 10:52:42 -04:00 |
|
ConnorSkees
|
51585235c3
|
Remove decl! macro
This lets rustfmt work and gives better autocomplete and error messages
inside builtin functions.
|
2020-03-16 10:35:38 -04:00 |
|
ConnorSkees
|
d8db937470
|
reorder macro params
|
2020-03-10 21:53:21 -04:00 |
|
ConnorSkees
|
276134eb93
|
prefer hashmap over btreemap where ordering is unimportant
|
2020-03-03 19:51:02 -05:00 |
|
ConnorSkees
|
33d486ccde
|
Properly handle hsl value in color::other functions
|
2020-02-17 08:16:04 -05:00 |
|
ConnorSkees
|
f550d820b0
|
change-color() hue error message
|
2020-02-16 22:49:19 -05:00 |
|
ConnorSkees
|
4040e3ad1c
|
sat and lum in change color are scale:
|
2020-02-16 22:46:27 -05:00 |
|
ConnorSkees
|
86a0e24330
|
Proper bounds for change-color rgba
|
2020-02-16 22:35:02 -05:00 |
|
ConnorSkees
|
5ee5f59b2c
|
Error messages for color::other functions
|
2020-02-16 22:30:29 -05:00 |
|
ConnorSkees
|
23b90aa97e
|
Use remove() rather than .get() to avoid a clone
|
2020-02-16 22:04:54 -05:00 |
|
ConnorSkees
|
87579b181b
|
clippy
|
2020-02-16 18:03:19 -05:00 |
|
ConnorSkees
|
f57da880b6
|
fmt
|
2020-02-16 17:49:37 -05:00 |
|
ConnorSkees
|
3e89a0a057
|
Handle numbers passed to saturate
|
2020-02-16 17:13:17 -05:00 |
|
ConnorSkees
|
d4dd360682
|
Handle number passed to invert()
|
2020-02-16 17:00:31 -05:00 |
|
ConnorSkees
|
948c489785
|
Properly implement weighted inversion
|
2020-02-16 16:53:28 -05:00 |
|
ConnorSkees
|
ca0e2d47cb
|
Grayscale function behaves differently when given a number
|
2020-02-16 16:11:24 -05:00 |
|
ConnorSkees
|
96d29f45b8
|
Bounds check for fade_(in|out)
|
2020-02-16 16:03:22 -05:00 |
|
ConnorSkees
|
048ab562b2
|
more bounds checking
|
2020-02-16 15:34:21 -05:00 |
|
ConnorSkees
|
24dc99affe
|
Include argument name in bounds error
|
2020-02-16 15:17:01 -05:00 |
|
ConnorSkees
|
5f59c71752
|
Bounds checking macro for builtin functions
|
2020-02-16 15:14:14 -05:00 |
|
ConnorSkees
|
0aac40441d
|
Put max_args! everywhere
|
2020-02-16 12:35:03 -05:00 |
|
ConnorSkees
|
46f2d4c47e
|
Proper error messages for too many arguments
|
2020-02-16 12:31:09 -05:00 |
|
ConnorSkees
|
9a36c3be73
|
More builtin color function errors
|
2020-02-16 12:14:20 -05:00 |
|
ConnorSkees
|
1995b5ec6e
|
Error messages in builtins
|
2020-02-16 11:59:04 -05:00 |
|
ConnorSkees
|
7c451e333e
|
Arg errors for (de)saturate
|
2020-02-16 11:51:25 -05:00 |
|
ConnorSkees
|
92a7264f9a
|
More error messages
|
2020-02-16 11:42:28 -05:00 |
|
ConnorSkees
|
4114bb0a78
|
rgb error messages
|
2020-02-16 11:37:27 -05:00 |
|