Change 585 on 2003/11/16 by dsilvers@dsilvers_salmon betty:aranha: Fix failure to report errors by installing atexit() handler to deal with the issue where lua causes an exit(1) before the fastcgi stream has been closed properly Change 570 on 2003/10/26 by dsilvers@dsilvers_coma betty:aranha: Added the UK Pound sign to the entities to escape Change 569 on 2003/10/26 by dsilvers@dsilvers_coma betty:aranha: Fix to the PATH_INFO processing stuff Change 568 on 2003/10/26 by dsilvers@dsilvers_coma betty:aranha: fix an upvalue in cgi.lua Change 552 on 2003/10/11 by dsilvers@dsilvers_coma betty:aranha: Enable PATH_INFO stuff for .lua and .lhtml files Change 550 on 2003/10/07 by dsilvers@dsilvers_coma betty:aranha:startup: Added vmap() kmap() and gmap() to misc.lua Change 549 on 2003/10/07 by dsilvers@dsilvers_home betty:aranha:startup fixes to split/join added map() to misc.lua Change 548 on 2003/09/28 by dsilvers@dsilvers_coma betty:aranha:startup: No need to tsort() in keys() in misc.lua Change 547 on 2003/09/28 by dsilvers@dsilvers_coma betty:aranha:lua: Added 'values()' to the base library Change 545 on 2003/09/28 by dsilvers@dsilvers_coma betty:aranha:startup: Added reverse() and join() functions to misc.lua Change 544 on 2003/09/28 by dsilvers@dsilvers_home betty:aranha:socket: Fix to the makefile to aid builds Change 543 on 2003/09/28 by dsilvers@dsilvers_home betty:aranha:dbi: Change an error report function to work Change 483 on 2003/08/15 by dsilvers@dsilvers_coma betty:aranha: Misc doc fixes Change 482 on 2003/08/14 by dsilvers@dsilvers_salmon betty:aranha: Final bits to get the LuaSocket module working Change 479 on 2003/08/12 by dsilvers@dsilvers_coma betty:aranha: Initial stuff to support the socket extension (and the initial socket extension). Based on LuaSocket 2.0 Alpha Warning: this compiles, but that doesn't mean it'll work yet Change 426 on 2003/06/11 by dsilvers@dsilvers_salmon betty:aranha:md5: Fix the helper function to only return 1 value Change 423 on 2003/06/11 by dsilvers@dsilvers_coma betty:aranha: Roll in a fix for io.close() provided on lua-l Change 421 on 2003/05/25 by dsilvers@dsilvers_coma betty:aranha: Add a little more resiliency in the parent until we get the time to do the process pool. Change 418 on 2003/05/03 by dsilvers@dsilvers_coma betty:aranha:md5: Useful md5.sum function to process md5s into hex Change 405 on 2003/04/24 by dsilvers@dsilvers_coma betty:aranha:dbi Fixed a silly mistake in returning errors from .query() Change 398 on 2003/04/17 by dsilvers@dsilvers_coma betty:aranha:dbi: Fix to L_res_iterate_function to cause it to stop the iteration if there were zero rows returned. Change 396 on 2003/04/16 by dsilvers@dsilvers_salmon betty:aranha: Fix to DBI. Lua gets confused if you return the wrong number of values on the stack Change 395 on 2003/04/16 by dsilvers@dsilvers_coma betty:aranha: Ooops, cocked up the last fix Change 393 on 2003/04/16 by dsilvers@dsilvers_coma betty:aranha: Fix COPYRIGHT and re-add the changes info Change 391 on 2003/04/16 by dsilvers@dsilvers_coma betty:aranha: Fix db.execute() to return result,msg. Also fix dbi docs. Change 389 on 2003/04/12 by dsilvers@dsilvers_coma betty:aranha: Upgrade the version of Lua to Lua 5.0-final Change 388 on 2003/04/12 by dsilvers@dsilvers_coma betty:aranha: More cruft cleared out Change 387 on 2003/04/12 by dsilvers@dsilvers_coma betty:aranha: Remove unnecessary cruft from the lua distro Change 386 on 2003/04/06 by dsilvers@dsilvers_coma betty:aranha: Slight cleanup in the iolib's POPEN stuff Change 385 on 2003/04/06 by dsilvers@dsilvers_coma betty:aranha: Sundry codecache fixed to make it work properly Change 384 on 2003/04/06 by dsilvers@dsilvers_coma betty:aranha: Missing memset in lua_loader.c caused intermittent load failures. (Fixed) Change 375 on 2003/04/04 by rjek@rjek_home betty:aranha slight fix in gd's polygon drawer Change 374 on 2003/04/04 by dsilvers@dsilvers_coma betty:aranha: Lua 5.0 pre-final Change 367 on 2003/03/30 by dsilvers@dsilvers_coma betty:aranha: Attempt to make the codecache work with large files Change 366 on 2003/03/30 by dsilvers@dsilvers_salmon betty:aranha: The diverter wasn't meant to be broken :-( Change 363 on 2003/03/29 by rjek@rjek_home betty:aranha Daniel's silly. Change 362 on 2003/03/29 by rjek@rjek_home betty:aranha Fixed gd.setStyle Change 361 on 2003/03/29 by rjek@rjek_home betty:aranha Fixed img.setBrush/Tile in gd Change 360 on 2003/03/29 by rjek@rjek_home betty:aranha added gd.setThickness Change 358 on 2003/03/29 by dsilvers@dsilvers_coma betty:aranha: Make undivert() optionally take a divert entry to remove Change 352 on 2003/03/28 by dsilvers@dsilvers_coma betty:aranha: Put the lua and luac binaries into the dist-dir Also alter Makefile.aranha to syntax check pure modules Change 351 on 2003/03/28 by dsilvers@dsilvers_salmon betty:aranha: Lots of dbi fixes to make it work. Change 350 on 2003/03/28 by dsilvers@dsilvers_salmon betty:aranha: Fix to unescape() Change 349 on 2003/03/28 by dsilvers@dsilvers_coma betty:aranha: Another loader fix to allow pure modules Change 348 on 2003/03/28 by dsilvers@dsilvers_coma betty:aranha: Added .escape(str) to the dbi library Change 347 on 2003/03/27 by dsilvers@dsilvers_coma betty:aranha: Cookie support, new addheader() function to add headers which may exist more than once, support for header values being tables (for multiple values), and added trim* functions to misc.lua for cleaning up whitespace. Change 340 on 2003/03/26 by dsilvers@dsilvers_coma betty:aranha: Much cleaning up, and nice new AddHook() structure to replace the grotty prefork/prepage/postpage stuff in aranha.conf Change 339 on 2003/03/26 by dsilvers@dsilvers_coma betty:aranha: Change the codecache to use a writev() (saves 2 syscalls) Change 338 on 2003/03/26 by dsilvers@dsilvers_coma betty:aranha: Fix to the module loader so it works again past the first use of the module Change 325 on 2003/03/16 by dsilvers@dsilvers_coma betty;aranha: Remove the debugging from the loader Change 324 on 2003/03/16 by dsilvers@dsilvers_coma betty:aranha: Make the loader report errors better Change 323 on 2003/03/16 by dsilvers@dsilvers_coma betty:aranha: Fix the "NULL" problem Change 322 on 2003/03/16 by dsilvers@dsilvers_salmon betty:aranha: Lots of stuff to do with the codecache Change 313 on 2003/03/12 by dsilvers@dsilvers_coma betty:aranha: More codecache fixes Change 312 on 2003/03/12 by dsilvers@dsilvers_coma betty:aranha: Fix for when the cache isn't there Change 311 on 2003/03/12 by dsilvers@dsilvers_coma betty:aranha: Initial dbi handle caching. Change 310 on 2003/03/09 by rjek@rjek_home betty:aranha added docextract tool Change 309 on 2003/03/08 by dsilvers@dsilvers_coma betty:aranha: Remove an inline Change 308 on 2003/03/08 by dsilvers@dsilvers_coma betty:aranha: Various dist $(STAGE) cleanups Change 307 on 2003/03/08 by dsilvers@dsilvers_coma betty:aranha: Make the codecache actually work :-) Change 306 on 2003/03/08 by dsilvers@dsilvers_coma betty:aranha: Evil make bodgery to make build system cleaner Change 305 on 2003/03/08 by dsilvers@dsilvers_coma betty:aranha: Codecache now compiles, parent.frag.* removed as the module loader negates the need for them. Codecache probably won't actually work yet. Needs fixing up for lua 5.0 semantics. Change 302 on 2003/03/05 by dsilvers@dsilvers_coma betty:aranha: Fix to the loader to check _import return code Also added an _info function to dbi to return the libdbi version Change 298 on 2003/03/04 by dsilvers@dsilvers_coma betty:aranha: Fix to LoadModule to trap errors, cleaned up aranha.conf Change 297 on 2003/03/04 by dsilvers@dsilvers_coma betty:aranha: Everything needed to make the dbi library build Change 296 on 2003/03/04 by rjek@rjek_home betty:aranha Forgot to add these... Change 295 on 2003/03/04 by rjek@rjek_home betty:aranha Fixed Daniel's bug. Change 294 on 2003/03/04 by rjek@rjek_home betty:aranha Updated gd binding to work as a module Change 293 on 2003/03/04 by dsilvers@dsilvers_coma betty:aranha: Move and clean up of the dbi and gd libraries. Remove the luasocket Change 292 on 2003/03/04 by dsilvers@dsilvers_coma betty:aranha: Move the modules to be in modules/ Change 291 on 2003/03/04 by rjek@rjek_home betty:aranha added some documentation comments to gd binding Change 290 on 2003/03/04 by dsilvers@dsilvers_coma betty:aranha: Second set of missing bits for the loader change Change 289 on 2003/03/04 by dsilvers@dsilvers_coma betty:aranha: First set of missing files for the loader Change 288 on 2003/03/04 by dsilvers@dsilvers_coma betty:aranha: First stab at a module loader. I hope it's complete Change 286 on 2003/02/28 by dsilvers@dsilvers_coma betty:aranha: change permissions on gd library to exclude execute Change 284 on 2003/02/25 by dsilvers@dsilvers_salmon betty:aranha: Attempt to fix the run_hooks code Change 283 on 2003/02/13 by rjek@rjek_home betty:aranha Added polygon, font, and constant stuff. Change 282 on 2003/02/13 by dsilvers@dsilvers_coma betty:aranha: Tell the truth in docs/file.format about <@ @> Change 281 on 2003/02/13 by rjek@rjek_home betty:aranha Added first version of the libgd binding Change 280 on 2003/02/13 by dsilvers@dsilvers_salmon betty:aranha: Resurrect lua_getn since it's useful to have. Change 279 on 2003/02/12 by dsilvers@dsilvers_coma betty:aranha: Mmmm warnings are nice Change 278 on 2003/01/28 by dsilvers@dsilvers_coma betty:aranha: Some patches from Darkgod, and some tweaks to make Aranha compile with -Wall -Werror -pedantic -Wno-long-long At some point, I shall add these to the default compile flags Change 276 on 2003/01/27 by dsilvers@dsilvers_salmon betty:aranha: Docs for DBI, removed postgres, cleaned Makefile.config Change 273 on 2003/01/26 by dsilvers@dsilvers_home betty:aranha: All of the main DBI code is now done. Docs to follow Change 264 on 2003/01/26 by dsilvers@dsilvers_coma betty:aranha: Initial DBI layer stuff Change 263 on 2003/01/26 by rjek@rjek_home Betty:Aranha Added escapeEntities() and some important entity entries Change 262 on 2003/01/26 by dsilvers@dsilvers_coma betty:aranha: A couple more execution fixes to the startup code Change 261 on 2003/01/26 by rjek@rjek_home betty:aranha Updated error reporting to work with Lua 5 Change 260 on 2003/01/26 by dsilvers@dsilvers_coma betty:aranha: Implemented the >>dprint<< code in llex.[ch] and lparser.c Change 259 on 2003/01/25 by rjek@rjek_home Betty:Aranha Updated various bits of startup/*.lua for Lua 5 Change 258 on 2003/01/25 by dsilvers@dsilvers_coma betty:aranha: Lots of bitty changes to make "Hello World" work Change 257 on 2003/01/25 by dsilvers@dsilvers_coma betty:aranha: Include the auxlib headers for lua_dofile Change 254 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: More fixes Change 253 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Final changes to make the code compile. Note that the code still doesn't link and when it does it won't work until it is ported to the API changes Change 252 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Made the Postgres binding compile with Lua5.0 Change 251 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Made the MD5 library compile for Lua 5.0 Change 250 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Make the FastCGI library compile Change 249 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Make the aranha directory compile for Lua 5.0 Change 248 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Basic changes needed so the startup code will compile. Later, we'll need to go through and make sure it runs. Change 247 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Add enough to get lua to build for Aranha. Note: Aranha itself will still not build Change 246 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Checking in some bits lying around Change 245 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Added Lua 5.0 beta to the depot. This will become what Aranha is based upon. Change 244 on 2003/01/11 by dsilvers@dsilvers_coma betty:aranha: Removed the old Lua, ready to introduce Lua 5.0 Change 237 on 2002/12/15 by dsilvers@dsilvers_coma betty:aranha: Some codecache fixes (memleak and reconnect time) Change 236 on 2002/12/15 by dsilvers@dsilvers_coma betty:aranha: Initial stab at a potentially shared codecache. Change 235 on 2002/12/14 by dsilvers@dsilvers_coma betty:aranha: Fix suppress_crunching() so it works Change 234 on 2002/12/14 by dsilvers@dsilvers_coma betty:aranha: Implement the ability to suppress the crunch on a page-by-page granularity Change 233 on 2002/12/14 by dsilvers@dsilvers_coma betty:aranha: Cleaned up the header handling a little. Added support for Rob's HTML cruncher. Change 232 on 2002/12/14 by rjek@rjek_home betty:arahana New optimised HTML cruncher Change 231 on 2002/12/14 by dsilvers@dsilvers_coma betty:aranha: Implement full "local" access in dprint <@@> expressions Change 230 on 2002/12/13 by dsilvers@dsilvers_coma betty:aranha: Rudimentary dependency generator. Change 229 on 2002/12/13 by dsilvers@dsilvers_coma betty:aranha: Fix to README, cache in docs/postgres. Also made the postgres cache configurable in Makefile.frag Change 228 on 2002/12/13 by dsilvers@dsilvers_coma betty:aranha: I believe this implements the LRU cache as needed for sensible db handle caching in postgres Change 227 on 2002/12/13 by dsilvers@dsilvers_coma betty:aranha: Added a cache, pqNew() is cached (up to 8 of them are actually) -- currently there's no way to expire entries so I need to do a LRU scheme, but at least this code work. Change 226 on 2002/12/07 by dsilvers@dsilvers_coma betty:aranha: Added the change information for what we did to lua Change 225 on 2002/12/07 by dsilvers@dsilvers_coma betty:aranha: A few fixes to README about Apache configuration Change 224 on 2002/12/07 by dsilvers@dsilvers_coma betty:aranha: Added a COPYRIGHT file and some third party docs Change 223 on 2002/12/07 by dsilvers@dsilvers_coma betty:aranha Initial documentation for users Change 222 on 2002/12/07 by dsilvers@dsilvers_coma betty:aranha: Added vdprint(...) which is a verbatim version of dprint(...) (I.E. does no <@ @> variable interpolation) Change 221 on 2002/12/06 by dsilvers@dsilvers_coma betty:aranha: Remove io_tmpname until a better alternative can be written using mkstemp() Change 220 on 2002/12/06 by dsilvers@dsilvers_coma betty:aranha: Basic set of tests Change 219 on 2002/12/05 by dsilvers@dsilvers_coma betty:aranha Support for a 'chooser' function which decides if a file should be >>wrapped<< or not. Default is .lhtml is, everything else isn't Change 218 on 2002/12/05 by dsilvers@dsilvers_coma betty:aranha A pile of work to integrate rjek's CGI decoding work and to make multipart/form-data parsing slightly neater. Change 217 on 2002/12/04 by rjek@rjek_home betty:arahan added startup/cgi.lua for parameter parsinge etc Change 216 on 2002/12/04 by dsilvers@dsilvers_coma betty:aranha: Added sleep(X) function to all lua states Change 215 on 2002/12/04 by dsilvers@dsilvers_coma betty:aranha: Added streaming support with the begin_streaming() function Change 214 on 2002/12/04 by dsilvers@dsilvers_coma betty:aranha: Changes to the diverter to enable streaming Change 213 on 2002/12/03 by dsilvers@dsilvers_coma betty:aranha: Delinked the header generation Change 212 on 2002/12/02 by rjek@rjek_home betty:aranha added split() function, which takes optional boundry Change 211 on 2002/12/02 by dsilvers@dsilvers_coma betty:aranha: Added prefork, prepage and postpage run hooks Change 210 on 2002/12/02 by dsilvers@dsilvers_coma betty:aranha: Make aranha read aranha.conf from the dir you launched aranha from. This allows multiple conf files by symlinking the fastcgi into multiple dirs Change 209 on 2002/12/02 by dsilvers@dsilvers_coma betty:aranha: Funky new build system (Still no deps) Change 208 on 2002/12/02 by dsilvers@dsilvers_coma betty:aranha: Oops, missed one Change 207 on 2002/12/02 by dsilvers@dsilvers_coma betty:aranha: Remove the old build infrastructure Change 206 on 2002/12/02 by dsilvers@dsilvers_coma betty:aranha: Added postgres binding Change 205 on 2002/12/01 by rjek@rjek_home betty:aranha Added MD5 library Change 204 on 2002/12/01 by dsilvers@dsilvers_coma betty:aranha:Basic build system and code for handling .lhtml files Change 199 on 2002/11/14 by rjek@rjek_home betty:aranha Much faster macro expansion Change 198 on 2002/11/13 by dsilvers@dsilvers_coma betty:aranha: Added single-line-IF Change 197 on 2002/11/13 by dsilvers@dsilvers_coma betty:aranha: Added != as a synonym for ~= Change 196 on 2002/11/13 by dsilvers@dsilvers_coma betty:aranha: Added the function a.b.c()...end patch Change 195 on 2002/11/13 by dsilvers@dsilvers_coma betty:aranha: Added multiline comment patch Change 194 on 2002/11/13 by dsilvers@dsilvers_coma betty:aranha: Applied 'Constructors' patch to make table constructors nicer and easier to do. Change 193 on 2002/11/12 by dsilvers@dsilvers_coma betty:aranha: Force the lib/ directory to exist also Change 192 on 2002/11/12 by dsilvers@dsilvers_coma betty:aranha: Added >>this<< to aranha's lua lexer and parser as shorthand for dprint [[this]] Change 191 on 2002/11/12 by rjek@rjek_home betty:aranha Third time lucky with divert.lua? Change 190 on 2002/11/12 by dsilvers@dsilvers_coma betty:aranha: Initial import of Lua 4.0.1 which is the 'standardised' lua for betty/aranha Change 189 on 2002/11/12 by rjek@rjek_home betty:aranha I saved the changes this time. Change 188 on 2002/11/12 by rjek@rjek_home betty:aranha dprint() now evaluates <@ @> macros. Change 187 on 2002/11/12 by rjek@rjek_home betty:aranha tidied misc.lua Change 186 on 2002/11/12 by rjek@rjek_home betty:aranha added divert.lua Change 185 on 2002/11/12 by dsilvers@dsilvers_coma betty:aranha:Added list manager and misc guff Change 184 on 2002/11/12 by dsilvers@dsilvers_coma betty:aranha: Initial files for the startup infrastructure