summaryrefslogtreecommitdiff
path: root/winhelp.c (unfollow)
Commit message (Collapse)Author
2007-02-04Quell warnings about declared but undefined static functions by not declaringBen Harris
them either. [originally from svn r7219]
2006-12-09Put all the pieces together: introduce a secondary test mode forSimon Tatham
winhelp.c which uses all my new library code to import an arbitrary PNG and embed it into the test help file. [originally from svn r6984]
2006-12-09Support, in the winhelp module only, for adding pictures to .HLPSimon Tatham
files. Halibut does not make use of this feature, but I hope that one day it might. [originally from svn r6980]
2005-11-13Just to be on the safe side about avoiding other portability hazardsSimon Tatham
in future, add `-ansi -pedantic' to the Halibut default compile options and fix the few resulting warnings (mostly signed/unsigned char mismatches and commas at the ends of enums). The one remaining warning I'm still seeing is `missing initializer' for the big table in charset/iso2022.c, but I think the code genuinely is more readable this way, and I haven't found a gcc option to disable that specific warning. [originally from svn r6458]
2004-08-04Add an explicit cast to prevent a compiler warning.Simon Tatham
[originally from svn r4399]
2004-07-30More careful context hash calculation which doesn't depend on sizeSimon Tatham
of `unsigned long'. Should help Debian build problems (bug#259504). [originally from svn r4377]
2004-06-12Switch the memory allocation macros from the Halibut onesSimon Tatham
(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]
2002-08-05Rename Buttress to Halibut. I _think_ I've caught everything in this pass.Simon Tatham
[originally from svn r1800]
2001-12-04In winhelp.c: allowed user to configure the Font section to theirSimon Tatham
liking, as planned. In bk_whlp.c, this has now allowed me to stop emphasis and code from looking silly in section titles, and also allowed me to implement an ersatz horizontal rule in the form of eighty centred nonbreaking spaces in a strike-through font. I know it's vile, but better suggestions are welcome. I think the Windows Help backend is now pretty much Go: I was getting intermittent screwups earlier but I think those were Samba cache persistence problems rather than evil segfaults. All that's really missing now is external context references. [originally from svn r1453]
2001-12-04This update should bring the Windows Help back end up toSimon Tatham
near-complete functionality. All that's missing now is indexing and horizontal rules. [originally from svn r1449]
2001-12-04Well, nearly working, that is. Remember to clear all paragraphSimon Tatham
attributes to default values right at the start of the file. We don't want the title on the very first page being 1000 pixels high! [originally from svn r1448]
2001-12-04Most of a Windows Help back end now appears to work. Missing areSimon Tatham
hierarchical topic navigation (menus at the bottom of non-leaf topics, and the Up button) and index support; also I want to give users the ability to specify context IDs for particular topics. Oh, and I haven't found a plausible way to express a horizontal rule in either .RTF or .HLP format. But everything else appears to be there. [originally from svn r1447]
2001-12-04Add tabstops, and also add proper cleaning up in whlp_abandon() soSimon Tatham
that this module doesn't leak like a sieve with the mesh missing. I think this code is now mature enough for the Buttress back end to be written. Woo. [originally from svn r1443]
2001-12-03More cleanups. In particular I've taken non-breaking spaces andSimon Tatham
hyphens off the todo list, because I've found out that NBS is just done using good old \xA0 (Winterhoff's analysis appears wrong) and hyphens are _all_ nonbreaking. Shame, but you can't have everything. [originally from svn r1442]
2001-12-03Code cleanupSimon Tatham
[originally from svn r1441]
2001-12-03Add indexing support. Wow, that was unexpectedly easy.Simon Tatham
[originally from svn r1440]
2001-12-03Implement browse sequence supportSimon Tatham
[originally from svn r1438]
2001-12-03Update the todo list at the top of the file.Simon Tatham
[originally from svn r1437]
2001-12-03Check in the first draft of a module that writes out Windows .HLPSimon Tatham
files. This is not a Buttress back end as such; it's a piece of portable, reusable code handling HLP output. I will then have to write bk_whlp.c as glue between the Buttress internal data format and the API provided by this code. [originally from svn r1436]