summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* TIS-620 is equivalent to ISO 8859-11, so map the MIME name for the former toBen Harris2005-09-17
| | | | | | | the latter. [originally from svn r6316] [this svn revision also touched charset,filter,timber]
* Substantial overhaul of the UTF-8 decoder. It now uses 26 bits of stateBen Harris2005-09-16
| | | | | | | | rather than 32, which might make it possible to use it inside another decoder. All the tests still pass. [originally from svn r6315] [this svn revision also touched charset,filter,timber]
* Bring utf8.c's internal tests up to date in the (somewhat belated)Simon Tatham2005-09-16
| | | | | | | | wake of r3713. [originally from svn r6314] [r3713 == 9392c7ecb6da984e144ce00dfb8c7cb725ad0a61 in timber repository] [this svn revision also touched charset,filter,timber]
* I've apparently had this todo-list comment sitting on stormhawk forSimon Tatham2005-09-13
| | | | | | | nearly a year and not checked it in. [originally from svn r6309] [this svn revision also touched charset,filter,timber]
* Ben Hutchings points out that `.UC', which I think I must haveSimon Tatham2005-07-29
| | | | | | | | | copied mindlessly from whatever man page I read when working out the format of man pages, has the function of putting `3rd Berkely Distribution' in one of the footer slots and therefore is probably inaccurate... [originally from svn r6146]
* The heading depth of a para_Subsect is p->aux+1, not p->aux+2.Ben Harris2005-05-18
| | | | | | Spotted (indirectly) by Damien Miller. [originally from svn r5802]
* input.c was capable of generating a paragraph structure with no textSimon Tatham2005-04-12
| | | | | | | | | | in it, if the input paragraph contained (say) an unrecognised control command and nothing else. Such paragraphs can confuse back ends later on, so input.c should refrain from generating them. Added a check and a polite error message (just in case the user manages to generate an empty paragraph using otherwise legal syntax). [originally from svn r5629]
* Also, while I'm wandering past here, I've just noticed thatSimon Tatham2005-03-10
| | | | | | | `anonfrag' should be a char[] rather than a char *, or else lenof() will give the wrong answer. [originally from svn r5477]
* Explicitly constify a bunch of static data declarations which wereSimon Tatham2005-03-10
| | | | | | | | | conceptually const but not declared as such. Halibut is now back to the practically-speaking-pointless but rather satisfying status of having no global writable data whatsoever :-) [originally from svn r5476] [this svn revision also touched charset,filter,timber]
* Ability to specify multiple arguments to \cfg{html-template-fragment};Jacob Nevins2005-03-08
| | | | | | | | | | | | | | | Halibut will output fragment names in all specified formats. (I forget now precisely why I thought this was necessary, but it seems potentially useful.) Also ensure that legal fragment names are generated even if none of the characters from the original turn out to be legal (e.g., %k with an entirely numeric keyword), and correct an untruth I inserted in the documentation of this. (This commit hits more than just the HTML backend as I've generalised an error message, and fixed a fault in the info backend's error handling while there.) [originally from svn r5457]
* Move contact details inside <address> to make validator.w3.org happy.Jacob Nevins2005-03-07
| | | | [originally from svn r5454]
* In contents lists, put <ul> inside <li> to make validator.w3.org happier (forJacob Nevins2005-03-07
| | | | | | | | | all HTML flavours). Also add newlines to the contents output so that the source is vaguely legible. Couple of extra comments in the code. [originally from svn r5453]
* Formatting fix if no indexJacob Nevins2005-02-18
| | | | [originally from svn r5350]
* Oops, overzealous search-and-replaceJacob Nevins2005-02-18
| | | | [originally from svn r5349]
* Comment in template codeJacob Nevins2005-02-18
| | | | [originally from svn r5348]
* Missing index modifiersJacob Nevins2005-02-18
| | | | [originally from svn r5347]
* Update the documentation of the HTML backend to match reality.Jacob Nevins2005-02-18
| | | | [originally from svn r5346]
* Add a `--list-charsets' option to Halibut to enumerate canonical names of knownJacob Nevins2005-02-18
| | | | | | | | | character sets. (Also make libcharset `return_in_enum' values saner.) [originally from svn r5341] [this svn revision also touched charset,filter,timber]
* Indexing tweaks for recent changes.Jacob Nevins2005-02-18
| | | | [originally from svn r5339]
* Add \versionid.Jacob Nevins2005-02-17
| | | | [originally from svn r5338]
* It's been a new year for a while.Jacob Nevins2005-02-17
| | | | [originally from svn r5337]
* Replace crash with assertion failure if we attempt to xref a non-existentJacob Nevins2005-02-17
| | | | | | name. [originally from svn r5336]
* Note that we'd appreciate help re charsets in WinHelpJacob Nevins2005-02-17
| | | | [originally from svn r5334]
* Note visibly that HTML docs are out of date.Jacob Nevins2005-02-17
| | | | [originally from svn r5333]
* Changes/additions to input character set handling:Jacob Nevins2005-02-17
| | | | | | | | | | | | | | | | | - After discussion with Simon, change the default input charset back to ASCII, rather than trying to work it out from the locale, for the sake of promoting .but file portability. - Add a new command-line option "--input-charset=csname", which overrides the ASCII default for all input files (since there's no other way to use a non-ASCII-compatible input file). - Output a warning if -Cinput-charset:foo is specified that it has no effect. - Update the docs to match all this. Also try to clarify some other things in this area that caught me out. [originally from svn r5332]
* Shouldn't consider para_Title to be a heading when going throughSimon Tatham2005-01-24
| | | | | | sections looking for local configuration data. [originally from svn r5196]
* `origtext' was not getting set correctly for escaped tokens (\\, \{,Simon Tatham2005-01-24
| | | | | | \}), making it difficult to put CSS fragments in HTML configuration. [originally from svn r5193]
* Added a new config directive `html-local-head', which permits me toSimon Tatham2005-01-24
| | | | | | put an AppleTitle tag in only one of a set of output HTML files. [originally from svn r5192]
* Use .PHONY to ensure the various fake make targets (`all', `clean',Simon Tatham2005-01-24
| | | | | | | | `install' etc) don't get confused by the existence of a file with the same name. Required in particular for `make install' on OS X, since otherwise its case-insensitive fs gets confused by INSTALL. [originally from svn r5189]
* Mac OS X gcc warns about a signed/unsigned comparison here. Explicit cast.Simon Tatham2005-01-24
| | | | [originally from svn r5188]
* Halibut highlighting mode for GNU enscript. This allows our ViewCVSSimon Tatham2004-12-08
| | | | | | | installation to syntax-highlight the numerous .but files kicking around the Subversion repository. [originally from svn r4962]
* It turns out that the man format requires the \& sequence (toSimon Tatham2004-11-21
| | | | | | | neutralise a dot at the start of a line) even if there's been an \fB-type sequence on the line before the dot. [originally from svn r4867]
* Move MODULE files out of individual project directories into aSimon Tatham2004-11-18
| | | | | | | | MODULES top-level directory, which is where the Tartarus website scripts will (hopefully) start reading them from. [originally from svn r4813] [this svn revision also touched charset,enigma,filter,putty,puzzles,pycee,sdlgames,timber]
* David Leonard has contributed an RPM spec file for building RedHatSimon Tatham2004-11-18
| | | | | | | packages of Halibut. I can't conveniently test it, but it's here if anyone needs it. [originally from svn r4812]
* Remove the svn:externals property that pulls a copy of libcharsetSimon Tatham2004-11-17
| | | | | | | | | | | | into a subdirectory of `halibut'. It wasn't very good anyway (since it insisted on loading via an unauthenticated svn:// URL). The Halibut makefile now expects _either_ a subdir `charset', _or_ a directory called `charset' as a sibling of `halibut', and will work with the first of those that it finds. A new release script arranges to provide the former in source tarballs (so that building if you're an ordinary user is just as simple as it always was). [originally from svn r4808]
* Allow macros to work (a) at the very start of a paragraph, and (b)Simon Tatham2004-11-17
| | | | | | | across files (defining a macro in one source file and invoking it in a later one). [originally from svn r4803]
* Remove .cvsignore files on all active branches.Simon Tatham2004-11-16
| | | | | [originally from svn r4788] [this svn revision also touched bmbm,caltrap,charset,enigma,filter,fonts,golem,grunge,html,lj,local,misc,polyhedra,putty,putty-website,putty-wishlist,puzzles,pycee,sdlgames,svn-tools,timber,tweak]
* man supports `.SS' for subsection headings. Use it.Simon Tatham2004-11-06
| | | | [originally from svn r4758]
* Couple of fiddly fixes in libcharset.Simon Tatham2004-10-26
| | | | | [originally from svn r4701] [this svn revision also touched charset,filter,timber]
* Add kerning support to paper backends, embedding the kerning tables fromBen Harris2004-09-28
| | | | | | the AFM files in psdata.c. Also fix a couple of bugs that this revealed. [originally from svn r4588]
* Cross-testing the libcharset compound text implementation againstSimon Tatham2004-09-25
| | | | | | | | | | Xutf8TextListToTextProperty reveals that the latter supports JIS X 0212 via the escape sequences ESC $ ( D and ESC $ ) D, although this is not listed in my copy of ctext.ps. It's easy enough to support it, though, so now we do. [originally from svn r4581] [this svn revision also touched charset,filter,timber]
* Don't bother overriding the metrics of PostScript fonts. If the metricsBen Harris2004-09-25
| | | | | | | we've got are wrong, things are going to look horrible either way, so we may as well apply minimal effort. [originally from svn r4580]
* Fix first two bugs in compound text support: escape sequences wereSimon Tatham2004-09-25
| | | | | | | mis-ordered, and initial charset state failed to specify 8859-1 in GR. [originally from svn r4579] [this svn revision also touched charset,filter,timber]
* The COMPOUND_TEXT encoding used by some X applications to transferSimon Tatham2004-09-25
| | | | | | | | | | | | | internationalised text in selections is a subset of ISO 2022 containing no base character sets which libcharset doesn't already support. As such, it isn't too hard to add direct compound text support into libcharset, so here it is. With any luck I should eventually be able to integrate this into Unix PuTTY, to deal with the fact that the useful Xutf8 functions we currently use are specific to XFree86. [originally from svn r4578] [this svn revision also touched charset,filter,timber]
* If you're going to change the metrics of a font, it's necessary to leave spaceBen Harris2004-09-24
| | | | | | | in the new font dictionary for the Metrics entry. This is mentioned in the first edition of the Red Book, but not the second. [originally from svn r4577]
* Replace the empirical GhostScript-derived font metrics with ones derivedBen Harris2004-09-24
| | | | | | | | | | from Adobe's official AFM files. These are expressed in integer multiples of 1/1000 pt (well, 1/1000 of the design size of the font, actually, but that's always a whole number of points), so use that as our internal unit rather than 1/4096 pt. This doesn't seem to make a significant difference to Halibut's output. [originally from svn r4576]
* Page-break penalties were calculated by taking the amount of spare spaceBen Harris2004-09-24
| | | | | | | | | on the page (in internal units) and squaring it. This was fine except that fixed penalties weren't scaled by the size of an internal unit, so the page- breaking changed when the units were changed. Rather than scaling all the fixed penalties, scale the space into 1/4096 point units before squaring it. [originally from svn r4575]
* Stupid bug: "t" was leaving the y-coordinate on the stack, which confusedBen Harris2004-09-21
| | | | | | | "restore". Quite how GhostScript managed not to give an error on this I don't know. [originally from svn r4565]
* Replace the hardcoded instances of "4096" and "4096.0" in the paper backendsBen Harris2004-09-21
| | | | | | | with a macro. halibut.ps and halibut.pdf are identical (modulo dates) over this change. [originally from svn r4564]
* Bracket each page in a save/restore pair. This is suggested by the Red Book,Ben Harris2004-09-21
| | | | | | | enforces page independence, avoids leaking VM on level 1 interpreters, and speeds things up to boot. [originally from svn r4561]