summaryrefslogtreecommitdiff
path: root/src/luaotfload-main.lua
Commit message (Collapse)AuthorAgeFilesLines
* [main,tool] reintroduce lost version checkPhilipp Gesang2016-05-031-1/+22
| | | | | | | | | | The version check was removed by accident in commit 5ce60cc98a30. This isn’t normally a problem except when people start to run the Pretest version on ancient Luatex binaries … In any case, the check must be present. While we’re at it, make the error messages consistent between the tool and a live TeX run. This can’t cover the fact that there is no (direct) means of determining the Luatex version when not running in TeX mode, so the checks still aren’t equivalent.
* [main] handle module load failurePhilipp Gesang2016-04-261-1/+25
| | | | | Forward the errors received from require() in a readable manner and exit on the spot.
* [*] bump versionv2.7Philipp Gesang2016-04-211-3/+3
|
* [main] fix oversight in comment (thanks, Èlie)Philipp Gesang2016-04-191-1/+1
|
* [*] shred 2014 fontloaderPhilipp Gesang2016-04-191-25/+2
| | | | | | This one hasn’t been touched for ages. The will be no compatibility loader this year. For testing, creating a loader on the fly from the Git repos is sufficient.
* *: bump version and datePhilipp Gesang2016-02-191-3/+3
| | | | Now that we’re heading towards TL 2016, this seems necessary.
* [fontloader] patch font-otn.lua to skip unusable contextpos featuresPhilipp Gesang2016-02-121-1/+1
| | | | | | | Address issue #322 The annotation says it all; reportedly this is fine with TL 2016, though.
* [auxiliary] move callback handling to initializationPhilipp Gesang2015-12-231-1/+1
|
* [*] bump version and datePhilipp Gesang2015-12-091-1/+1
| | | | | We still had some 2014 values lingering around dark corners. In theory this is all meaningless wrt. the Git repo.
* [*] tidy up headers, attributionsv2.6-rc3Philipp Gesang2015-11-291-1/+1
|
* [main] refine very early loggingPhilipp Gesang2015-11-291-1/+7
| | | | | This kludge dumps the input arguments on one line each -- fix this by defining a dumb imitation of our real logger that is installed later on.
* [main] remove locals for provides_module() return valuesPhilipp Gesang2015-11-281-2/+1
| | | | As of ltluatex, provides_module() has no return value any longer.
* for 2.6David Carlisle2015-11-211-144/+135
|\
| * [main,init] implement path dependent loading of context modulesPhilipp Gesang2015-11-171-6/+33
| |
| * [main] implement a loader for Context filesPhilipp Gesang2015-11-101-10/+29
| |
| * [main,init] add no-op loader for fontloader filesPhilipp Gesang2015-11-091-0/+12
| |
| * [*] kill off file headersPhilipp Gesang2015-11-051-2/+0
| | | | | | | | We have the VCS info in the status file; these things are just silly.
| * [main] clean up unused and irrelevant piecesPhilipp Gesang2015-11-051-11/+3
| |
| * [tool,resolvers,db] fix references to the fonts tablePhilipp Gesang2015-10-291-1/+1
| | | | | | | | This makes the ``--find`` option to luaotfload-too work again.
| * [main] dejumble module loader messagePhilipp Gesang2015-10-291-4/+4
| |
| * main: fix module insertion and throw away luatexbase-provided resourcesPhilipp Gesang2015-10-281-9/+2
| |
| * [main, *] convert for centralized initialization routinePhilipp Gesang2015-09-271-34/+62
| |
| * [main] move toplevel statements into init routinePhilipp Gesang2015-09-271-9/+8
| |
| * [main, conf] prepare for deferred loadingPhilipp Gesang2015-09-271-11/+11
| |
| * [main, parsers] prepare for deferred initializationPhilipp Gesang2015-09-271-1/+5
| |
| * [main,loaders] adjust noise and check status of loader initPhilipp Gesang2015-08-271-1/+3
| |
| * [main,loaders] regroup callback handling code with loadersPhilipp Gesang2015-08-271-102/+14
| | | | | | | | | | | | | | | | | | ... changing the meaning of the file’s designation instead of adding yet another file. All the callback manipulation is now contained inside that module which will inject most of its functionality only when its main ``.install()`` method is called.
| * [main] install stub for main initialization hookPhilipp Gesang2015-08-271-0/+8
| |
* | Patch to not assume luatexbase needs to be loadedDavid Carlisle2015-10-031-1/+3
|/ | | | | | | | | | | | | | | | | The ltluatex code being trialed at https://github.com/josephwright/ltluatex includes a luatexbase emulation package that allows luaotfload to run without change but the core code that is intended to be included in future latex formats requires two small changes and also would require that luaotfload detect that luatex support is already provided and so not load luatexbase. \RequireLuaModule is not defined by default in TeX and luatexbase.reset_callback is not defined by default in lua in the core ltluatex code.
* [main,init,db,resolvers] separate resolvers from main into separate filePhilipp Gesang2015-07-231-229/+5
|
* [init,main,package] split initialization in early and late stagePhilipp Gesang2015-07-221-1/+3
| | | | | | | | | | | | | | | | | | | | | This is a big move. Due to the restructuring of the initialization we can now separate the early tasks -- mostly dirty stuff like writing globals -- from the later stage where we actually inject the actual font loader. As a consequence, the basic configuration is now present before the font loader is injected. It’s not complete, though, in that the reconfiguration step must still be executed after the font loader is there, since some config variables require values to be set up by the loader. A decision is pending regarding how we address the situation; possible approaches are, in order of increasing complexity: * reconfigure twice, skip some of the steps the first time through * split reconfiguration into two stages * make configuration independent of fontloader values Design-wise, the last point would be the most desirable, naturally. Though the fontloader has been known to require extensive static preparation which might very well make that strategy impossible or unjustifiably demanding. We’ll see how it plays out …
* [main] adapt fontloader default namePhilipp Gesang2015-07-221-3/+1
|
* [init,override] move AGL initialization into post fontloader hookPhilipp Gesang2015-07-161-3/+1
|
* [init] remove annyoing bannerPhilipp Gesang2015-06-211-2/+2
|
* [main, init] partition initialization into a series of routinesPhilipp Gesang2015-06-211-0/+1
|
* [init] add stub for module sanitizationPhilipp Gesang2015-06-201-2/+2
|
* [main, init] move fontloader-specific stuff completely into initPhilipp Gesang2015-06-201-253/+25
|
* [main] strip file name suffix for fonts loaded as type1Philipp Gesang2015-06-131-1/+3
|
* [main,init] separate loading of fontloader and lualibs packagesPhilipp Gesang2015-06-091-6/+7
|
* [main] remove obsolete workaroundsPhilipp Gesang2015-05-261-45/+0
|
* [init] prepare fontloader initialization componentPhilipp Gesang2015-05-261-26/+36
|
* [*] bump version and datePhilipp Gesang2015-03-291-6/+6
|
* [fontloader] switch fallback to code from 2014 (works with Luatex 0.76)Philipp Gesang2015-03-181-9/+5
|
* [main] load fallback code based on Luatex versionPhilipp Gesang2015-03-111-3/+14
|
* [main, aux] add a callback that installs a .resources table in fonts that itPhilipp Gesang2014-12-141-9/+16
| | | | | | | | | | | | | | Fixes https://github.com/lualatex/luaotfload/issues/253 Sort of. In order to not interfere with the other callbacks which expect a sane environment this hack got added by means of another callback that is called whenever a defined font lacks essential subtables. This means that the user must consider cases like numbers and partially defined fonts. It’s best to keep both cases separate so those who aren’t concerned with workarounds for weird fonts can stick with the clean interface.
* [fontloader] change prefix of imported files to “fontloader”Philipp Gesang2014-12-081-49/+48
|
* [*] reorganize src/ subtreePhilipp Gesang2014-12-081-53/+57
| | | | | This moves the fontloader files into a separate subdirectory to simplify maintainance.
* [main] increase log threshold for font loader post-initialization messagePhilipp Gesang2014-12-071-1/+1
| | | | | | | | The message violated our policy of not suppressing all non-error messages on the terminal at log level 0. The faulty message was moved to level 1 for both streams. addresses https://github.com/lualatex/luaotfload/issues/256
* [main] add name fields to verbose definerPhilipp Gesang2014-09-061-7/+13
|
* [conf, main] add support for and preliminary implementation of verbose font ↵Philipp Gesang2014-08-101-9/+31
| | | | | | | | definers The definers ``info_patch`` and ``info_generic`` wrap the two existing font definers in a function that emits verbose information about the definitions taking place.