summaryrefslogtreecommitdiff
path: root/index.c (follow)
Commit message (Collapse)AuthorAge
* Add \s for 'strong' text, i.e. bold rather than italics. I've missedSimon Tatham2013-03-10
| | | | | | | | | | | | | | this a couple of times in Halibut markup recently (in particular, it's handy to have a typographical distinction between 'this term is emphasised because it's new' and 'this term is emphasised because I want you to pay attention to it'), so here's an implementation, basically parallel to \e. One slight oddity is that strong text in headings will not be distinguished in some output formats, since they already use bolded text for their headings. [originally from svn r9772]
* Revamp of the Halibut error handling mechanism.Simon Tatham2012-08-29
| | | | | | | | | | | | | | | | I'm not quite sure why I ever thought it was a good idea to have a central variadic error() function taking an integer error code followed by some list of arguments that depend on that code. It now seems obvious to me that it's a much more sensible idea to have a separate function per error, so that we can check at compile time that the arguments to each error call are of the right number and type! So I've done that instead. A side effect is that the errors are no longer formatted into a fixed-size buffer before going to stderr, so I can remove all the %.200s precautions in the format strings. [originally from svn r9639]
* The Halibut manual contained at least one instance of two indexSimon Tatham2004-06-13
| | | | | | | | | | | | | | terms (intentionally) differing only in case, which were being silently folded into one by the case-insensitive index tag comparison. Halibut now warns in this situation (but then folds them anyway, which I think is better than silently generating an index containing many case-distinct forms of the same word - I imagine it's very easy to do that by mistake). The manual has been fixed to explicitly define distinct keywords (in the case I spotted and in five other cases picked up by the new warning!), and also documents this issue and how to work with it. [originally from svn r4279]
* Switch the memory allocation macros from the Halibut onesSimon Tatham2004-06-12
| | | | | | | | | | | | | (mknew/mknewa/resize) to the PuTTY ones (snew/snewn/sresize). snewn and mknewa have their arguments opposite ways round; this may make the change initially painful but in the long term will free me of a nasty context switch every time I move between codebases. Also sresize takes an explicit type operand which is used to cast the return value from realloc, thus enforcing that it must be correct, and arranging that if anyone tries to compile Halibut with a C++ compiler there should be a lot less pain. [originally from svn r4276]
* Support the locale-supplied character set where appropriate. It'sSimon Tatham2004-04-22
| | | | | | | | | | used for converting command-line -C directives into Unicode; it's used for outputting Unicode strings to stderr in error messages; and it's used as the default character set for input files (although I'd be inclined to recommend everyone use \cfg{input-charset} in all their source files to ensure their portability). [originally from svn r4114]
* Info backend now takes care to avoid magic characters in node namesSimon Tatham2004-04-10
| | | | | | | | | | and index terms (the Info format doesn't like them). In the course of this I've had to introduce some infrastructure for carrying a filepos forward from the definition of every RHS index term so that a particular backend can provide a usefully localised report of which index term had a problem. [originally from svn r4051]
* I always meant to remove emphasis in the index by default. Now I doSimon Tatham2004-03-30
| | | | | | so. It's restorable using \IM. [originally from svn r4000]
* Rename Buttress to Halibut. I _think_ I've caught everything in this pass.Simon Tatham2002-08-05
| | | | [originally from svn r1800]
* Indexing in the Help backend now seems to work! Woo!Simon Tatham2001-12-04
| | | | [originally from svn r1450]
* This update should bring the Windows Help back end up toSimon Tatham2001-12-04
| | | | | | | near-complete functionality. All that's missing now is indexing and horizontal rules. [originally from svn r1449]
* Replace Buttress's old tree23 routines with my shiny new countedSimon Tatham2001-12-04
| | | | | | tree234 routines; they will be useful in the WinHelp stuff at least. [originally from svn r1444]
* Initial checkin of xhtml backend.James Aylett2000-12-21
| | | | [originally from svn r828]
* Configurability backbone, and first use of itSimon Tatham1999-11-07
| | | | [originally from svn r275]
* Fix yet another error-handling segfaultSimon Tatham1999-10-25
| | | | [originally from svn r257]
* Fix a slight oddity in index generation, revealed by error testingSimon Tatham1999-10-25
| | | | [originally from svn r256]
* First backend! Text output now pretty much works.Simon Tatham1999-10-20
| | | | [originally from svn r240]
* Further development; mid-end index handling pretty much there!Simon Tatham1999-10-18
| | | | [originally from svn r238]
* Further development: index work, phase ISimon Tatham1999-10-16
| | | | [originally from svn r237]
* More development; not nearly finished yetSimon Tatham1999-08-09
[originally from svn r193]