? ? Success

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
12 Aug 2015

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

avatar dgt41 dgt41 - open - 12 Aug 2015
avatar dgt41 dgt41 - change - 12 Aug 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Aug 2015
Labels Added: ?
avatar mbabker
mbabker - comment - 12 Aug 2015

You have to run "composer update leafo/lessphp" and update the Composer
lock file too. Otherwise things start to get very out of whack.

Run "composer update leafo/lessphp" then "composer install --no-dev" after
changing the version constraint in composer.json. The second command
uninstalls the dev dependencies that will get pulled in (by design so they
are locked to specific versions for the CI systems).

On Wednesday, August 12, 2015, Dimitris Grammatiko notifications@github.com
wrote:

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.

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 IE7 (Useless Joomla supports

IE>8)

You can view, comment on, or merge this pull request online at:

#7687
Commit Summary

  • Sync with leafo's repo ver 0.5

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#7687.

avatar wilsonge
wilsonge - comment - 12 Aug 2015

Joomla 3.x is IE8 and higher

avatar dgt41
dgt41 - comment - 13 Aug 2015

@wilsonge that is quite a paradox bootstrap 2.x is >IE7 but Joomla is >IE8.
Anyway the extra class comes from bootstrap 2.x mixins which is IE7 compatible, so we either leave it as is, or we touch the bootstrap less

avatar dgt41
dgt41 - comment - 13 Aug 2015

@mbabker done

avatar dgt41 dgt41 - change - 13 Aug 2015
The description was changed
avatar dgt41 dgt41 - change - 13 Aug 2015
The description was changed
avatar Bakual
Bakual - comment - 13 Aug 2015

The reason why we never updated beyong 0.3.9 was the B/C warning for 0.4.0:
http://leafo.net/lessphp/changelog.html

Warning: this release has some breaking changes. If you the old selector expression syntax (eg. Bootstrap 2.3) then it’s recommended to use 0.3.9.

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.

avatar vess
vess - comment - 13 Aug 2015

@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.

avatar Bakual
Bakual - comment - 13 Aug 2015

@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.
However according to @nonumber in #6451 (comment), there are issues with 0.5.0.

avatar dgt41
dgt41 - comment - 13 Aug 2015

@Bakual The errors @nonumber found are already been fixed in this PR (/cms/less/less.php)

v0.5.0 was not fine. Found issues with it (not inheriting overwritten variables)

Also @vess comment in another workgroup, which pointed to the fix:

multiple files in a row with the same instance fails... issue leafo/lessphp#594 fix that works is leafo/lessphp#607

avatar vess
vess - comment - 13 Aug 2015

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
old: (~".span@{index}") {.span(@index);}
new: .span@{index} {.span(@index);}
lukeapage/bootstrap@6b9bb54

avatar Bakual
Bakual - comment - 13 Aug 2015

Thanks!

avatar zero-24 zero-24 - change - 16 Aug 2015
Easy No Yes
avatar zero-24 zero-24 - change - 16 Aug 2015
Category External Library
avatar roland-d
roland-d - comment - 4 Nov 2015

So are we OK to get this thing in or are there B/C concerns?

avatar dgt41
dgt41 - comment - 4 Nov 2015

No B/C break with this

avatar roland-d
roland-d - comment - 4 Nov 2015

In that case, this needs to be tested.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687.

avatar RickR2H RickR2H - test_item - 12 Dec 2015 - Tested successfully
avatar RickR2H
RickR2H - comment - 12 Dec 2015

I have tested this item :white_check_mark: successfully on 657c027

Applied the patch and changed the .less files in the isis and the protostar template to monitor the output. After that executed generatecss.php to generate the stylesheets. Everything seems to work and there where no errors.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687.

5846280 17 Jan 2016 avatar dgt41 CS
e83e847 17 Jan 2016 avatar dgt41 cs
avatar joomla-cms-bot
joomla-cms-bot - comment - 17 Jan 2016

This PR has received new commits.

CC: @RickR2H


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687.

avatar joomla-cms-bot joomla-cms-bot - change - 17 Jan 2016
Labels Added: ?
avatar 810 810 - test_item - 17 Jan 2016 - Tested successfully
avatar 810
810 - comment - 17 Jan 2016

I have tested this item :white_check_mark: successfully on 675a878

>=IE10 support has been ended by Microsoft. So we can also end the support for >= J3.5


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687.

avatar brianteeman
brianteeman - comment - 17 Jan 2016

(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.

avatar dgt41
dgt41 - comment - 17 Jan 2016

@RickR2H can you retest this one? Thanks!

avatar RickR2H
RickR2H - comment - 25 Jan 2016

What is the best way to test this? I'll test asap ;)

avatar dgt41
dgt41 - comment - 25 Jan 2016

Just run php build/generate.php and see if the css's are all ok

avatar RickR2H
RickR2H - comment - 25 Jan 2016

@dgt41 I'll do that.

Just for my information, why is the LESS compiler there when developers mostly use grunt etc. to compile less?

avatar dgt41
dgt41 - comment - 25 Jan 2016

It has to be php, for the low end servers that don't have grunt etc

avatar 810
810 - comment - 25 Jan 2016

its php build/generatecss.php right not php build/generate.php

avatar dgt41
dgt41 - comment - 25 Jan 2016

@810 yes you are right!

avatar RickR2H RickR2H - test_item - 26 Jan 2016 - Tested successfully
avatar RickR2H
RickR2H - comment - 26 Jan 2016

I have tested this item :white_check_mark: successfully on 675a878

Test was successful! To test it I added extra styling to the end of the template.less file. Sources are getting compiled nicely!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7687.

avatar dgt41 dgt41 - change - 26 Jan 2016
Status Pending Ready to Commit
avatar dgt41
dgt41 - comment - 26 Jan 2016

RTC then

avatar joomla-cms-bot joomla-cms-bot - change - 26 Jan 2016
Labels Added: ?
avatar wilsonge wilsonge - change - 26 Jan 2016
Milestone Added:
avatar wilsonge wilsonge - change - 26 Jan 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-01-26 21:12:29
Closed_By wilsonge
avatar wilsonge wilsonge - reference | 175fc16 - 26 Jan 16
avatar wilsonge wilsonge - merge - 26 Jan 2016
avatar wilsonge wilsonge - close - 26 Jan 2016
avatar dgt41 dgt41 - head_ref_deleted - 26 Jan 2016
avatar brianteeman brianteeman - change - 11 May 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment