summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-17Fixing database generation under windowseroux
2010-03-14Updating to latest ConTeXt beta (2010.03.12)Khaled Hosny
Fixes a regression with legacy TeX ligatures (``'' etc.)
2010-03-14CosmeticsKhaled Hosny
2010-03-14Set minimal required luatex to 0.51Khaled Hosny
+ remove some unused compatibility code.
2010-03-12Make the loaded names database table globalKhaled Hosny
+ some cosmetics
2010-03-12Isolate database loading code and clean it a bitKhaled Hosny
2010-03-12Check for windows not "not unix"Khaled Hosny
2010-03-12LUAROCKS_UNAME_S doesn't work in tex modeKhaled Hosny
Use os.type and os.name instead, if os.name doesn't return cygwin then luatex need to be fixed.
2010-03-12CleanupKhaled Hosny
Group all our font names functions in |otfl-font-nms.lua| and make |luaotfload.lua| load it. Now |otfl-font-dum.lua| is an unmodified, we instead override the needed functions in the names module. This decreases the redundancy that we had.
2010-03-12Pump version here tooKhaled Hosny
2010-03-10Fix loading existing databseKhaled Hosny
We were always generating a new one.
2010-03-10CosmeticsKhaled Hosny
2010-03-10CosmeticsKhaled Hosny
2010-03-10--no-fc-cache doesn't make sense nowKhaled Hosny
2010-03-10Oops...eroux
2010-03-10Making purge an non-default option and fixing log levelseroux
It seems that there is no performance regressions with purge... can you test, maybe it would be better to make it default?
2010-03-09Improvements on the database and on the scripteroux
* the info on a font now contains the checksum (might be needed for font caching) * very small optimizations in force mode * database version bumping * a new purge option (not taken into consideration yet) * new mechanism to remove old entries in the database without rebuilding everything, activated all the time but (for performance reasons) will be activated only with the purge options in the very near future.
2010-03-08We support nothing but the latest and greatestKhaled Hosny
It is actually worse than that, I only test against trunk, once texlive2010 binaries are frozen we will test against it.
2010-03-08Locals are fasterKhaled Hosny
We also don't need to call that code from outside anyway (there is no point).
2010-03-08Fix log messageKhaled Hosny
2010-03-03Changing the database directory to TEXMFVAR/scripts/luatexfontdberoux
2010-03-01Now having version in status table tooeroux
Also stronger checks on status
2010-03-01Changing the checksum system to a timestamp systemeroux
- the status is now externalized in another file name (in the same directory), so that it's not loaded when just asking for a font - the status is now filename->last-modification-timestamp so that we don't have to checksum the files (much faster)
2010-03-01renaming in the Makefile tooeroux
2010-03-01not using fc-cache by defaulteroux
2010-03-01Fixing small bugseroux
2010-03-01finishing renamingeroux
2010-03-01Renaming the script mkluatexfontdberoux
2010-03-01Rewrite loggingKhaled Hosny
2010-03-01A, useless, rewriteKhaled Hosny
Rewrite the database script to be a more or less a luaotfload module (so it can be invoked, say, by fontspec) and actual file writing to the update script. Not finished yet.
2010-02-28Prepare for merging luaotfload-fonts in luaotfloadKhaled Hosny
2010-02-28Correlate checksums to filenamesKhaled Hosny
This way when the file is moved around, its filename in the database will be updated, as suggested by Elie.
2010-02-26Open the file in append modeKhaled Hosny
So that the old file content is not erased, right now if the script ended unexpectedly, we are left with an empty file.
2010-02-26Implement a --force optionKhaled Hosny
2010-02-26Checksum loaded fontsKhaled Hosny
Store checksums of already loaded fonts in the database to avoids reloading them, this isn't much faster but it avoids reloading the fonts and the huge memory consumption. Is there a faster way to hash a file?
2010-02-26Get rid of empty lines in the outputKhaled Hosny
2010-02-26Updating News fileeroux
2010-02-26Updating READMEeroux
2010-02-26making the end of the path (after TEXMFVAR) a variableeroux
as it will change soon...
2010-02-26Adding a swith on arg[0]eroux
2010-02-26Executing fc-cache if necessary (to be tested further)eroux
2010-02-26Making the log function available elsewhereeroux
+ Ooops, I missed one commit...
2010-02-26A safer path normalizationeroux
2010-02-26Remove the arg[0] checking hackKhaled Hosny
The script is no longer to be run standalone.
2010-02-26More robust progress bar buildingKhaled Hosny
2010-02-26Port to "alt_getopt"Khaled Hosny
Now the options are handled the standard getopt_long way, with a hack to support multiple -v's, and --verbose now takes a required level argument. Also, we now use require() which already have built-in error checking (if it doesn't work on some system, then this is a bug to report).
2010-02-25Updating the README and MakefileElie Roux
2010-02-25First commit of the update-luatex-font-database scriptElie Roux
I think it's quite OK as it is now... all comments are welcome!
2010-02-25Actually working checks for writabilityElie Roux
Now we scan the fonts only if we can write in the final file. There is currently (if I understand correctly) no clean way to check if a folder is writable or not in Lua: lfs.attributes will give you the string returned by ls -l, but there is no simple way to know if we can actually write, as we don't know if we are the owner, or if we have access to the group...
2010-02-25Making the final directory changeableElie Roux
Useful for the --sys option