-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update of less compiler (leafo) #7687
Conversation
You have to run "composer update leafo/lessphp" and update the Composer Run "composer update leafo/lessphp" then "composer install --no-dev" after On Wednesday, August 12, 2015, Dimitris Grammatiko [email protected]
|
Joomla 3.x is IE8 and higher |
@wilsonge that is quite a paradox bootstrap 2.x is >IE7 but Joomla is >IE8. |
@mbabker done |
@wilsonge actually this -ms- class is for IE10: https://github.com/joomla/joomla-cms/blob/staging/media/jui/less/responsive-utilities.less#L9-L11 |
The reason why we never updated beyong 0.3.9 was the B/C warning for 0.4.0:
Interesting that on leafo.net, the latest version still shows as 0.4.0, while the 0.5.0 release is tagged in GitHub since Nov 2014. |
@Bakual Bootstrap moved away from that old selector expression before 0.4.0 even got out, so it should be ok to update our version. |
I have no clue what it refers to. If Bootstrap 2.3.2 doesn't use that selector expression (whatever that is), then I guess we can safely update it. |
@Bakual The errors @nonumber found are already been fixed in this PR (/cms/less/less.php)
Also @vess comment in another workgroup, which pointed to the fix:
|
@Bakual |
Thanks! |
So are we OK to get this thing in or are there B/C concerns? |
No B/C break with this |
In that case, this needs to be tested. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687. |
I have tested this item ✅ successfully on 657c027 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687. |
This PR has received new commits. CC: @RickR2H This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687. |
I have tested this item ✅ successfully on 675a878 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687. |
(MS only ended support - they did not stop anyone from using it.) This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687. |
@RickR2H can you retest this one? Thanks! |
What is the best way to test this? I'll test asap ;) |
Just run |
@dgt41 I'll do that. Just for my information, why is the LESS compiler there when developers mostly use grunt etc. to compile less? |
It has to be php, for the low end servers that don't have grunt etc |
its |
@810 yes you are right! |
I have tested this item ✅ successfully on 675a878 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687. |
RTC then |
Update of less compiler (leafo)
Joomla is using an outdated version of lessc
B/C
This should be 100% compatible with Bootstrap > 2.3 or any other less files that are using the same notation
Testing
Try to compile any less files (other than the ones Joomla is already shipping) and compare it with the previous copy. Should be identical.
It would be nice if you can apply #6979 and try to run generatecss.php, should work fine! Also since to already have applied that patch do some template switching and give to that one as well a response!
PS.
There seems to be some border color clash for a sub template of Hathor, that needs some attention.Protostar seems to get one more class for IE10, https://github.com/joomla/joomla-cms/blob/staging/media/jui/less/responsive-utilities.less#L9-L11