Changed the license to conform to Pike
Reinstated the import_path() getter.
Pike 8.1 complains if it isn't set.
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.
Replaces a macro with a function and removed some strdup.
Also some doc comment fixes.
__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.
Push current source file, absolute and relative paths, as arguments to the importer function.
Generate source map also for compile_string().
Just some doc added
Created a wrapper class for the compiler so the compiler can be explicitly destructed when the scope is left.
Removed unnecessay type checks in set_options.
Pike handles this itself.
ifdef:ed the CMOD code so it will compile if libsass is missing.
Some minor adjustments to the http import stuff.
Tightened up the types a bit.
Woot! This is the clean up of the importer object.
Only some autodoc fixes
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!
Some stuff changed...
Broke out the PIKECLASS options to an "API" which is located in pike_sass.h.
Renamed Tools.Sass.SCSS to Tools.Sass.Compiler.
HTTP imports now also from compile_file().
Some doc additions.
Had some prototype junk left in the module. Gone with it!
Importing external URIs works for compile_string() now. Prolly' some cleaning up to do, and then implement that for compile_file() as well.
Removed the file writing from the CMOD and overloaded the compile_* methods in the PMOD instead.
Some test stuff fiddeling.
Autodoc fixes. The __Sass module is now virtually mapped to Tools.Sass.
Moved _Sass to __Sass. Renamed _Api to Api. And some doc changes
Added some info methods about libsass version.
Improved configure.in to check for features in libsass.
Come autodic fixes
Implemented some more options