Commit Graph

23 Commits

Author SHA1 Message Date
wn_ 8f749fe61b Address PHPStan warnings in 'include/colors.php'.
Also some formatting for readability.
2021-11-14 21:06:06 +00:00
wn_ 3cc60a0219 Address PHPStan warnings in 'include/colors.php'.
------ ------------------------------------------------------------------
Line   include/colors.php
------ ------------------------------------------------------------------
215    Variable $out might not be defined.
223    Parameter #3 $pad_string of function str_pad expects string, int
        given.
255    Variable $h might not be defined.
317    Variable $img might not be defined.
------ ------------------------------------------------------------------
2021-11-01 21:10:27 +00:00
Andrew Dolgov bf88c64d1e fix floicon not imported from global namespace 2021-02-16 18:14:57 +03:00
Andrew Dolgov 7fad6ce651 move rgb/hsl functions to their own namespace 2021-02-16 17:07:23 +03:00
Andrew Dolgov 8b39e6bca7 _color_pack: define variable before using 2021-02-06 09:29:31 +03:00
Andrew Dolgov 565547f5a1 php 7.4 deprecation-related fixes 2019-12-06 07:27:22 +03:00
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
Andrew Dolgov a586afa37d do no try to pass MS icon files to GD 2013-06-15 13:15:20 +04:00
Andrew Dolgov 8d1cfe8020 colorPalette: try checking imagesize before invoking GD 2013-06-14 10:48:25 +04:00
Andrew Dolgov a5eca88750 add a placeholder where floicon might be added if needed, still keep it
off trunk re: author being a shitlord
2013-05-19 13:53:40 +04:00
Andrew Dolgov 82852ecd33 Revert "remove floicon because its author is a colossal shitlord (http://tt-rss.org/forum/viewtopic.php?f=1&t=2055&p=10824#p10822)"
This reverts commit dce5037888.
2013-05-19 13:51:23 +04:00
Andrew Dolgov dce5037888 remove floicon because its author is a colossal shitlord (http://tt-rss.org/forum/viewtopic.php?f=1&t=2055&p=10824#p10822) 2013-05-18 22:19:24 +04:00
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 2013-05-07 00:35:10 -07:00
Andrew Dolgov f1c6dd7e90 Revert "_DISABLE_FLOICON -> _ENABLE_FLOICON"
This reverts commit 7f1113a56a.
2013-04-19 08:43:11 +04:00
Andrew Dolgov 7f1113a56a _DISABLE_FLOICON -> _ENABLE_FLOICON 2013-04-18 22:36:16 +04:00
Andrew Dolgov 073672ccd5 add _DISABLE_FLOICON 2013-04-18 14:41:30 +04:00
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 2013-04-17 18:34:18 +04:00
Andrew Dolgov 4fe9327491 Revert "remove floIcon: bugs"
This reverts commit 7970c09255.
2013-04-16 23:22:32 +04:00
Andrew Dolgov 7970c09255 remove floIcon: bugs 2013-04-16 23:16:51 +04:00
Andrew Dolgov bc7a144dd5 properly remove and replace favicon color when favicon gets manually removed/uploaded 2013-04-15 18:22:48 +04:00
Andrew Dolgov 6ac722d5b1 try to improve color guessing algorithm a bit 2013-04-15 17:01:51 +04:00
Andrew Dolgov 63b54c4d5b colors: fix resolving html color names 2012-10-27 14:28:07 +04:00
Andrew Dolgov 30c337cf3d add rrow background color setting by first assigned label 2012-10-25 16:40:17 +04:00