Quantcast
Channel: Yahoo! UI Library: YUI Compressor for .Net
Viewing all 275 articles
Browse latest View live

Created Issue: Compressor spoils encoding of JS files [10956]

$
0
0
Enconding of non-english characters (e.g. Greek) in Javascript files is spoiled in minified file.

Commented Issue: Compressor spoils encoding of JS files [10956]

$
0
0
Enconding of non-english characters (e.g. Greek) in Javascript files is spoiled in minified file.
Comments: ** Comment from web user: freeranger **

Hello,

Can you elaborate on this please?
At least tell us which version you are using, and ideally provide a small self contained example of the problem.

There was an issue a while back with accented characters which was resolved:

http://yuicompressor.codeplex.com/workitem/10507

We need more info to be able to help you.

Created Issue: The software seems to have been infiltrated by a twelve-year-old. [10987]

$
0
0
```
Log.LogMessage("8< --------------------------------- ( o Y o ) --------------------------------- >8");
```
Seriously?

Commented Issue: The software seems to have been infiltrated by a twelve-year-old. [10987]

$
0
0
```
Log.LogMessage("8< --------------------------------- ( o Y o ) --------------------------------- >8");
```
Seriously?
Comments: ** Comment from web user: freeranger **

I'm not sure what the issue is that you are proposing - you are free to download the source code and modify it how you wish for your own personal use, or indeed to simply not use it at all.

Closed Issue: The software seems to have been infiltrated by a twelve-year-old. [10987]

$
0
0
```
Log.LogMessage("8< --------------------------------- ( o Y o ) --------------------------------- >8");
```
Seriously?

Commented Issue: The software seems to have been infiltrated by a twelve-year-old. [10987]

$
0
0
```
Log.LogMessage("8< --------------------------------- ( o Y o ) --------------------------------- >8");
```
Seriously?
Comments: ** Comment from web user: purekrome **

FreeRanger, Kesti is talking about the ascii

* scissors
* boobs.

Sorry Kesti if you're offended by the ascii scissors. I was talking the piss out of the internets late one night half a decade ago when i coded that up.

I really really REALLY wish I was 12 years old at the time when I did add that line in.

I guess humour is lost these days and that anything like is this always seen as misogynist, sexist, rude, outoftouch and arrogant.

I could patch out those two little scissors but .. I think they are quiet cute.

Your most welcome to Fork the code :)

GL and thanks for highlighting this digression!

Patch Uploaded: #14495

$
0
0

burken has uploaded a patch.

Description:
Made some changes to improve the speed of the CssCompressor. Main change was to rewrite the logic for removing empty rules. The problem with the original regex was that it started matching every rule and keept in memory only to realize most rules aren't empty when reaching the brackets. Now it checks if there are any empty brackets, and if so handle these.

Also changed matches and loops with Regex.Replace with MatchEvaluator delegate (as lambda expression).

Created Unassigned: NuGet package references old Iesi.Collections [11093]

$
0
0
YUI Compressor nuget package has dependency "Iesi.Collection=3.2.0.4000" meaning that the project using latest NHibernate can not update to the latest Iesi.Collection if it has YUI Compressor installed.

I believe nuget package dependency specification should be changed to "Iesi.Collection≥3.2.0.4000"

Commented Unassigned: NuGet package references old Iesi.Collections [11093]

$
0
0
YUI Compressor nuget package has dependency "Iesi.Collection=3.2.0.4000" meaning that the project using latest NHibernate can not update to the latest Iesi.Collection if it has YUI Compressor installed.

I believe nuget package dependency specification should be changed to "Iesi.Collection≥3.2.0.4000"
Comments: ** Comment from web user: purekrome **

Hi @FuriCuri :)

Ah! well done! i'll push up a new package today with a minor version bump, with the new dependency spec.

watch this space!

Commented Unassigned: NuGet package references old Iesi.Collections [11093]

$
0
0
YUI Compressor nuget package has dependency "Iesi.Collection=3.2.0.4000" meaning that the project using latest NHibernate can not update to the latest Iesi.Collection if it has YUI Compressor installed.

I believe nuget package dependency specification should be changed to "Iesi.Collection≥3.2.0.4000"
Comments: ** Comment from web user: purekrome **

I just had a quick read of the Iesi.Collections release notes.

they say that version 4+ are dependant upon .NET 4.0

YUICompressor is .NET 2.0 only.

Looking at the Iesi release history, i can say use any version of Iesi where version < 4.

Would that for for you, @FuriCuri?

Or does the latest version of NHib require Iesi 4+ ?

Commented Unassigned: NuGet package references old Iesi.Collections [11093]

$
0
0
YUI Compressor nuget package has dependency "Iesi.Collection=3.2.0.4000" meaning that the project using latest NHibernate can not update to the latest Iesi.Collection if it has YUI Compressor installed.

I believe nuget package dependency specification should be changed to "Iesi.Collection≥3.2.0.4000"
Comments: ** Comment from web user: FuriCuri **

For now - no, NHibernate does not use .net 4 yet. But they do have plans for it.

Closed Issue: Compressor spoils encoding of JS files [10956]

$
0
0
Enconding of non-english characters (e.g. Greek) in Javascript files is spoiled in minified file.
Comments: No feedback, closing

Closed Issue: Invalid characters in file are not ignored [10742]

$
0
0
Example:
jquery.caret.js - http://code.google.com/p/jcaret

Compressing this using the 'official' jar version of YUI Compressor works without error.
On the .net port, it throws syntax error.

There's a hex character at the start of (function

Would be good if the .net port could strip out unsupported characters before trying to compress?

Blogged about it here:
http://www.alexjamesbrown.com/blog/development/syntax-error-using-yahoo-yui-compressor-net-port-works-using-java-version/
Comments: Not a YUI Issue

Commented Unassigned: NuGet package references old Iesi.Collections [11093]

$
0
0
YUI Compressor nuget package has dependency "Iesi.Collection=3.2.0.4000" meaning that the project using latest NHibernate can not update to the latest Iesi.Collection if it has YUI Compressor installed.

I believe nuget package dependency specification should be changed to "Iesi.Collection≥3.2.0.4000"
Comments: ** Comment from web user: purekrome **

https://nuget.org/packages/YUICompressor.NET/2.2.1.0

new build now up. Tell me if that's better.

Source code checked in, #92c0b16faec63fdc89ea55b4a8b35a0f7ac6d0fb

$
0
0
- Updated NuGet spec files so the Iesi.Collections is now >= 3.2.0.4000. - Version updated to 2.2.1.0.

Created Unassigned: Installing MSBuild version doesn't properly place files yahoo.yui.compressor.dll, etc [11154]

$
0
0
When you install this package via command line, it appears to download the dependencies properly. However when you run the sample code, it will automatically fail because the dependencies for the YUI MSBuild DLL (yahoo.yui.compressor.dll, EcmaScript, Iesi) are not in the same directory as the YUI MSBuild dll. This will be a problem for everyone that installs this plugin and hopes that it just 'works'.

Commented Unassigned: Installing MSBuild version doesn't properly place files yahoo.yui.compressor.dll, etc [11154]

$
0
0
When you install this package via command line, it appears to download the dependencies properly. However when you run the sample code, it will automatically fail because the dependencies for the YUI MSBuild DLL (yahoo.yui.compressor.dll, EcmaScript, Iesi) are not in the same directory as the YUI MSBuild dll. This will be a problem for everyone that installs this plugin and hopes that it just 'works'.

This issue is mentioned here:
http://stackoverflow.com/a/15670078/186034

But the work around provided is not a very good work around. One should be able to install the package and have it just 'work' as in other packages.
Comments: ** Comment from web user: purekrome **

Heya!

can you please give me a bit more details for a repo.

like the exact steps, etc. please?

Commented Unassigned: Installing MSBuild version doesn't properly place files yahoo.yui.compressor.dll, etc [11154]

$
0
0
When you install this package via command line, it appears to download the dependencies properly. However when you run the sample code, it will automatically fail because the dependencies for the YUI MSBuild DLL (yahoo.yui.compressor.dll, EcmaScript, Iesi) are not in the same directory as the YUI MSBuild dll. This will be a problem for everyone that installs this plugin and hopes that it just 'works'.

This issue is mentioned here:
http://stackoverflow.com/a/15670078/186034

But the work around provided is not a very good work around. One should be able to install the package and have it just 'work' as in other packages.
Comments: ** Comment from web user: jherman **

Definitely!

Create any type of project. Go to the Package Manager Console:

![Image](http://i.imgur.com/XtNpeJx.png)

Note the directory structure layout once the packages are installed (4 different dll's in 4 different locations):

![Image](http://i.imgur.com/XarIm1u.png)

Now when you run the example show in the video from the same directory with msbuild:

![Image](http://i.imgur.com/G0s35nq.png)

You will get:


> Could not load file or assembly 'Yahoo.Yui.Compressor, Version=2.2.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.


Once I moved all the DLL's into the same directory as Yahoo.Yui.Compressor.MSBuild.2.2.1.1, MSbuild was able to work process the file properly. I imagine there is a way to reference the other DLL files from the MSBuild file, but I haven't found out how yet. In any case the msbuild.proj should be updated to get the example working when this is figured out.

Commented Unassigned: Installing MSBuild version doesn't properly place files yahoo.yui.compressor.dll, etc [11154]

$
0
0
When you install this package via command line, it appears to download the dependencies properly. However when you run the sample code, it will automatically fail because the dependencies for the YUI MSBuild DLL (yahoo.yui.compressor.dll, EcmaScript, Iesi) are not in the same directory as the YUI MSBuild dll. This will be a problem for everyone that installs this plugin and hopes that it just 'works'.

This issue is mentioned here:
http://stackoverflow.com/a/15670078/186034

But the work around provided is not a very good work around. One should be able to install the package and have it just 'work' as in other packages.
Comments: ** Comment from web user: purekrome **

I'll try this out right now. First thing that comes to mind.

1. Create Any type of project.
2. Install-package YUICompressor.NET.MSBuild
3. ** BUILD SLN ** (this will copy all packages to the correct /bin directory.
4. run the sample.

that's my gut feeling, but i'll try and play with it and see what's going on.

MORE IMPORTANTLY -> thank you very very very very much for the detailed repo steps. I couldn't ask for more!

Commented Unassigned: NuGet package references old Iesi.Collections [11093]

$
0
0
YUI Compressor nuget package has dependency "Iesi.Collection=3.2.0.4000" meaning that the project using latest NHibernate can not update to the latest Iesi.Collection if it has YUI Compressor installed.

I believe nuget package dependency specification should be changed to "Iesi.Collection≥3.2.0.4000"
Comments: ** Comment from web user: FuriCuri **

I've got errors like this now:

Warning as Error: Reference to type 'Iesi.Collections.Generic.HashedSet`1' claims it is defined in 'c:\TFS2\Parts\Developer\Web\packages\Iesi.Collections.4.0.1.4000\lib\net40\Iesi.Collections.dll', but it could not be found c:\TFS2\Parts\Developer\Web\packages\YUICompressor.NET.2.2.1.0\lib\NET20\Yahoo.Yui.Compressor.dll Parts

Viewing all 275 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>