Branch: Tag:


2018-04-10 13:34:53 by Pontus Östlund <>

Changed the license to conform to Pike


2018-03-26 18:54:02 by Pontus Östlund <>

Reinstated the import_path() getter.

Pike 8.1 complains if it isn't set.

2018-03-26 18:40:16 by Pontus Östlund <>

Refactored how the import handler is defined and resolved.

Instead of assigning the callback to a variable we now do a symbol/identifier lookup for `handle_sass_import` in the current object.

This also got rid of the cyclic dependency wich rendered the wrapper class in the pmod obsolete.

We should probaly add some more checking so that the callback actually is callable and so forth.


2018-03-24 09:53:09 by Pontus Östlund <>

Replaces a macro with a function and removed some strdup.

Also some doc comment fixes.


2018-03-23 19:22:21 by Pontus Östlund <>

__resolve_import can now return an array of source and absolute path.

This is only useful if the Sass/SCSS files resides in a non-standard filesystem. If __resolve_import is overloaded you can resolve the absolute path of the imported file and return the source and absolute path for libsass to keep track of the import chain.
This is needed to resolve nested imports (imports in imported files) if libsass can't access the filesystem.

2018-03-23 12:44:36 by Pontus Östlund <>

Push current source file, absolute and relative paths, as arguments to the importer function.


2018-03-17 21:24:13 by Pontus Östlund <>

Generate source map also for compile_string().


2018-03-13 21:34:11 by Pontus Östlund <>

Just some doc added


2018-03-08 18:15:01 by Pontus Östlund <>

Created a wrapper class for the compiler so the compiler can be explicitly destructed when the scope is left.


2018-03-07 16:10:45 by Pontus Östlund <>

Removed unnecessay type checks in set_options.

Pike handles this itself.

ifdef:ed the CMOD code so it will compile if libsass is missing.


2018-03-05 12:58:45 by Pontus Östlund <>

Some minor adjustments to the http import stuff.


2017-07-26 14:23:21 by Pontus Östlund <>

Tightened up the types a bit.


2017-01-20 15:24:24 by Pontus Östlund <>

Woot! This is the clean up of the importer object.


2016-12-06 20:22:25 by Pontus Östlund <>

Only some autodoc fixes


2016-12-05 22:29:10 by Pontus Östlund <>

Okey, dumped all the getter/setter methods and the entire my_opts options struct.

Now the settings is handled by PIKEVARs instead. A lot simpler code and a lot simpler to use. Win*Win!


2016-12-04 12:10:32 by Pontus Östlund <>

Some stuff changed...

2016-12-04 01:50:57 by Pontus Östlund <>

Broke out the PIKECLASS options to an "API" which is located in pike_sass.h.


2016-12-03 11:24:51 by Pontus Östlund <>

Renamed Tools.Sass.SCSS to Tools.Sass.Compiler.
HTTP imports now also from compile_file().
Some doc additions.


2016-12-02 23:51:20 by Pontus Östlund <>

Had some prototype junk left in the module. Gone with it!

2016-12-02 23:47:49 by Pontus Östlund <>

Importing external URIs works for compile_string() now. Prolly' some cleaning up to do, and then implement that for compile_file() as well.


2016-12-01 22:17:28 by Pontus Östlund <>

Removed the file writing from the CMOD and overloaded the compile_* methods in the PMOD instead.

Some test stuff fiddeling.

2016-12-01 15:17:20 by Pontus Östlund <>

Autodoc fixes. The __Sass module is now virtually mapped to Tools.Sass.


2016-11-29 22:15:28 by Pontus Östlund <>

Moved _Sass to __Sass. Renamed _Api to Api. And some doc changes

2016-11-29 14:56:15 by Pontus Östlund <>

Added some info methods about libsass version.

Improved to check for features in libsass.


2016-11-26 17:07:37 by Pontus Östlund <>

Come autodic fixes


2016-11-24 15:38:58 by Pontus Östlund <>

Implemented some more options


2016-11-23 15:33:02 by Pontus Östlund <>

Initial commit