summaryrefslogtreecommitdiff
path: root/malloc.c (follow)
Commit message (Collapse)AuthorAge
* 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]
* Add a "const" to the argument of dupstr() so that GCC doesn't complain whenBen Harris2007-02-04
| | | | | | we pass it a constant string. [originally from svn r7218]
* dup_word_list() does the right thing if passed NULL (on general principles)Jacob Nevins2004-08-06
| | | | [originally from svn r4410]
* 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]
* Rename Buttress to Halibut. I _think_ I've caught everything in this pass.Simon Tatham2002-08-05
| | | | [originally from svn r1800]
* 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]
* Further development; mid-end index handling pretty much there!Simon Tatham1999-10-18
| | | | [originally from svn r238]
* Redo memory allocation to use mknew macroSimon Tatham1999-09-02
| | | | [originally from svn r214]
* More development; not nearly finished yetSimon Tatham1999-08-09
| | | | [originally from svn r193]
* Further development work. Parser nearly finishedSimon Tatham1999-07-31
| | | | [originally from svn r187]
* Initial checkin of skeleton application. About to start reading filesSimon Tatham1999-01-30
[originally from svn r22]