Code: Sends copy of string to upstream.
LibSass changed this behavior recently that it will own the memory we
are passing to it. this delta makes changes to MarshalString() function
so it returns a copy of char* after freeing the converted char* from
String^.
Then it removes the unrequired FreeString() calls in finally block to
avoid "double-freeing".
Fixes #28
d09c4b5
Options: Makes output linefeed adjustable. …
To make output readable in Notepad. :smile:
LibSass new API exposes this option via sass_option_set_linefeed.
This is a non-breaking change using additional property
OutputLineFeed as opposed to altering the public Compile
signature.
The default is set to \r\n as opposed to libsass default \r.
In user space, it will be adjustable as follow:
var sassCompiler = new SassCompiler();
sassCompiler.OutputLineFeed = "\r";
Console.WriteLine(sassCompiler.CompileFile(@"C:\temp\blah.scss").CSS);
9b4c3a3
Code: Explicitly convert int to bool.
Related discussion: sass/libsass#1490.
c65067a
Options: Makes sourceMappingURL disableable.
56c044c
Code: Purges unrequired (legacy) header.
sass_interface.h is unused in favour of sass_context.h.
Removes unnecessary using namespace std; (which is not ideal
anyway).
Removes #include <exception>.
664d9e6 and 5c0ccec
CI: Store artifacts for each successful job.
CI: Build for Win32 and x64 platforms.
It will zip the entire folder of libsass-net project and make the artifacts available under Artifacts tab for each job ({Configuration, Platform} pair) separately, as shown below:
a37f2f6
Code: Sends copy of string to upstream. LibSass changed this behavior recently that it will own the memory we are passing to it. this delta makes changes to
MarshalString()
function so it returns a copy ofchar*
after freeing the convertedchar*
fromString^
.Then it removes the unrequired
FreeString()
calls infinally
block to avoid "double-freeing".Fixes #28
d09c4b5
Options: Makes output linefeed adjustable. …
sass_option_set_linefeed
.OutputLineFeed
as opposed to altering the publicCompile
signature.\r\n
as opposed to libsass default\r
.In user space, it will be adjustable as follow:
9b4c3a3
Code: Explicitly convert
int
tobool
.c65067a
Options: Makes
sourceMappingURL
disableable.56c044c
Code: Purges unrequired (legacy) header.
sass_interface.h
is unused in favour ofsass_context.h
.using namespace std;
(which is not ideal anyway).#include <exception>
.664d9e6 and 5c0ccec
It will zip the entire folder of libsass-net project and make the artifacts available under Artifacts tab for each job (
{Configuration, Platform}
pair) separately, as shown below: