Commit graph

  • f9785629e0 Add a binary flag. David Given 2022-07-17 13:01:11 +0200
  • c44f94818f Don't try to run or build the tests on Windows because too hard. David Given 2022-07-17 13:00:39 +0200
  • 8e4a6ca47d Fix a nasty temporary file race condition. David Given 2022-07-17 13:00:18 +0200
  • 5c2f190c29 Lots of binary mode flags. David Given 2022-07-17 12:58:48 +0200
  • cb37502a23 Make work, mostly, on Windows --- temporary files are now created in the right place, creat() isn't used because it doesn't work, partial file read/writes work, etc. David Given 2022-07-17 01:58:16 +0200
  • 1654700314 Warning fix. David Given 2022-07-17 01:39:26 +0200
  • bd5ead8122 Forgot to add this to the build file... David Given 2022-07-17 00:55:06 +0200
  • 92b3dfb42c Apparently Windows doesn't have strndup or index. David Given 2022-07-17 00:47:49 +0200
  • b40f4e33fb Fix warnings. David Given 2022-07-17 00:44:23 +0200
  • 44fc125b1a Remove signals. David Given 2022-07-16 23:52:41 +0200
  • d0860c12c0 Don't build int on windows; it looks like a dead loss due to reliance on Unix functionality. David Given 2022-07-16 23:52:13 +0200
  • 2abcd7d3bd Fix CRLF issues on Windows. David Given 2022-07-16 23:47:31 +0200
  • 748dd1ac00 More removals of NAME_MAX. David Given 2022-07-16 23:27:57 +0200
  • 438fdd91a6 Windows doesn't have NAME_MAX or any interesting signals. David Given 2022-07-16 23:21:13 +0200
  • bb0236cbf7 ego uses fork/exec too, so factor out the new system() code from ack and use it there. David Given 2022-07-16 23:14:39 +0200
  • cf3f5bf64e More signal removals. David Given 2022-07-16 22:51:48 +0200
  • fd691cfaf6 Windows doesn't do signals much. David Given 2022-07-16 22:45:08 +0200
  • 31fe10bf5d Reformat. David Given 2022-07-16 22:43:39 +0200
  • 8f62160567 Nope, still need mingw32. David Given 2022-07-16 22:37:54 +0200
  • e43905afeb Reformat. David Given 2022-07-16 22:33:48 +0200
  • d48e7399ee Use system() rather than fork()/wait() to run commands, to keep Windows happy. David Given 2022-07-16 22:33:29 +0200
  • f6d83620c0 Point MSYS at the right lua. David Given 2022-07-16 19:52:19 +0200
  • 23a40fa960 Typo fix. David Given 2022-07-16 19:48:04 +0200
  • 5e186a403b I think this actually _does_ have to build with MSYS2. David Given 2022-07-16 19:45:43 +0200
  • f30bf70832 Symbols called 'eof' conflict with Windows io.h. David Given 2022-07-16 19:40:11 +0200
  • 496424acf6 Merge from default. David Given 2022-07-16 19:35:49 +0200
  • 04f723b406 Eliminate make.allocd --- something about it makes Windows unhappy and it doesn't add value anyway. David Given 2022-07-16 19:34:25 +0200
  • 0236f00d26 plat/msdos86: fix: read() on O_TEXT fd should try to return any errors signaled by low-level read tkchia 2022-07-16 17:16:45 +0000
  • 1a861669c5 Try and work around CRLF problems... again. David Given 2022-07-16 17:58:39 +0200
  • 81d706ff38 Warning fix. David Given 2022-07-16 17:58:15 +0200
  • bca0a5381d
    Merge pull request #257 from tkchia/tkchia/abort David Given 2022-07-16 13:55:22 +0200
  • f15075f9a4 Don't use ed to generate the Basic token list. David Given 2022-07-16 13:47:22 +0200
  • 0eae0d5d71 Replace the terrible ed script in em_code with our new Lua script. David Given 2022-07-16 13:37:13 +0200
  • 7298be8964 Move the em_table_lib.lua helper file elsewhere because we're going to need it. David Given 2022-07-16 13:25:13 +0200
  • 831e07e656 Remember to regenerate the ninja files if any build.lua changes. David Given 2022-07-16 13:13:08 +0200
  • 1ceaf6ea0f Remove the terrible and problematic shell script with cleaner Lua scripts for generating the em_table stuff. David Given 2022-07-16 13:12:52 +0200
  • 6443647c8c Typo fix. David Given 2022-07-16 11:54:17 +0200
  • d5914f2a9e Better Lua version compatibility. David Given 2022-07-16 11:54:13 +0200
  • 80d1932ff8 libcc.ansi: make abort() try harder to abort the process tkchia 2022-07-16 07:27:46 +0000
  • e564ec311a I hate CRLF files. David Given 2022-07-16 01:07:55 +0200
  • 0900dcc6c9 Typo fix. David Given 2022-07-16 01:02:56 +0200
  • 5c7566044a Begin to get an idea of why this keeps failing. David Given 2022-07-16 00:59:20 +0200
  • 6568ea4549 Adjust debugging. David Given 2022-07-16 00:47:24 +0200
  • eb0175591c Adjust debugging. David Given 2022-07-16 00:38:58 +0200
  • 057aad7f44 Add debugging. David Given 2022-07-16 00:11:08 +0200
  • 9519588f59 Convert all the things to Unix format. David Given 2022-07-16 00:02:46 +0200
  • 020c84db3d Try forcing ed to produce LF output files rather than CRLF ones. David Given 2022-07-15 23:42:23 +0200
  • b727599882 Try some build debugging. David Given 2022-07-15 23:34:55 +0200
  • b3deb83b6d Nope, does need to be MINGW32. David Given 2022-07-15 23:09:04 +0200
  • c33baba2a7 So apparently this only builds on MSYS. David Given 2022-07-15 23:03:52 +0200
  • 6778fd05f9 Finally make build on Windows, at least locally. David Given 2022-07-15 22:56:11 +0200
  • 98d37492ec Better llgen windowsification. David Given 2022-07-15 00:43:34 +0200
  • e7626705f6 Try and make llgen work on Windows. David Given 2022-07-15 00:34:38 +0200
  • 269115f0a2 Try and make ed build on Windows. David Given 2022-07-15 00:28:32 +0200
  • a1c755faa5 Different Lua versions. David Given 2022-07-15 00:22:08 +0200
  • ee3e292cea Luajit doesn't work? David Given 2022-07-15 00:19:06 +0200
  • 3fb6498262 Typo fix. David Given 2022-07-15 00:15:33 +0200
  • 877915da61 Don't install lua-posix any more. David Given 2022-07-15 00:14:23 +0200
  • 870ecef75e Better compatibility between Lua versions. David Given 2022-07-15 00:11:19 +0200
  • 25b6712e63 Rework all the ackbuilder scripts not to use wildcards, because we can't expand them without luaposix, which isn't available (easily) on OSX or Windows. David Given 2022-07-14 23:57:54 +0200
  • 99ec64a7a0 Add support for specifying the output directory (avoiding nasty cd tricks when using it in build scripts). David Given 2022-07-14 01:15:29 +0200
  • bbae0ba02c Stop using setfenv for compatibility with modern Luas. David Given 2022-07-13 20:27:49 +0200
  • f6d00d3025
    Merge pull request #254 from davidgiven/dtrg-ci David Given 2022-06-29 12:57:10 +0200
  • 0a38acecfd
    Update README David Given 2022-06-29 12:56:34 +0200
  • 2c3c7a28e2
    Merge pull request #256 from tkchia/tkchia/pid David Given 2022-06-29 12:53:47 +0200
  • 1c71653d7f plat/msdos86: free up program memory above 64 KiB; also check we have enough memory for BSS tkchia 2022-06-28 20:13:16 +0000
  • eef2135e9f Give up on Windows for now. David Given 2022-06-27 22:32:12 +0200
  • 1d3f0e2ee1 I need to manually install git? David Given 2022-06-27 22:25:10 +0200
  • 890a253c42 Attempt to build the luaposix rock on Windows. David Given 2022-06-27 22:21:28 +0200
  • 62ba0833bd Try and make build on Windows. David Given 2022-06-27 19:29:50 +0200
  • 0d40494c93 Try to fix building on OSX. dg 2022-06-27 17:18:08 +0000
  • 711f9213c7 Maybe v33? David Given 2022-06-26 22:46:43 +0200
  • b60019a7c6 Use luaposix 35.1 as v5 is incompatible. David Given 2022-06-26 22:42:25 +0200
  • f893c169ba Update Lua paths. David Given 2022-06-26 22:32:20 +0200
  • 46157dd29b Remove the internal Lua. David Given 2022-06-26 22:28:30 +0200
  • 9b533fcf5f Yet another typo fix. David Given 2022-06-26 22:25:02 +0200
  • 316bd318a3 Try different luarocks version syntax. David Given 2022-06-26 22:21:39 +0200
  • e1f7296c41 Typo fix. David Given 2022-06-26 22:06:03 +0200
  • d27320b94c Typo fix. David Given 2022-06-26 22:00:50 +0200
  • c4b269b039 Typo fix. David Given 2022-06-26 21:58:57 +0200
  • b98313512a Use Lua5.1. David Given 2022-06-26 21:56:31 +0200
  • 8614439ded Syntax fix. David Given 2022-06-26 21:53:16 +0200
  • ad5a8de148 Typo fix. David Given 2022-06-26 21:43:57 +0200
  • 37403f2f7b Try using native Lua. David Given 2022-06-26 21:43:10 +0200
  • 145d5ac4de Add Windows to the CI matrix. David Given 2022-06-26 19:41:13 +0200
  • c3dea7641e Fix typo. David Given 2022-06-26 16:41:57 +0200
  • b248613ba5 CodeQL is useless. David Given 2022-06-26 16:40:23 +0200
  • 9579d3ba37 Somehow this file never got checked in? David Given 2022-06-26 16:38:36 +0200
  • df6cfe0410
    Merge pull request #253 from tkchia/tkchia/pid David Given 2022-06-26 16:31:05 +0200
  • 571fce1165 plat/msdos86: make getpid() use European MS-DOS's getpid syscall if it exists tkchia 2022-06-24 17:00:57 +0000
  • 180e400cf2
    Merge pull request #251 from davidgiven/dtrg-osx2 David Given 2022-06-20 00:20:14 +0200
  • 8b0a3ac473 Attempt to make work on OSX, and update the build matrix. David Given 2022-06-20 00:18:16 +0200
  • ddfe372ac8
    Merge pull request #250 from davidgiven/dtrg-tmp David Given 2022-06-01 22:37:42 +0200
  • 76060c4dde Eliminate the TMP_DIR compile-time constant in favour of using $TMPDIR and mkstemp where possible. David Given 2022-05-29 00:44:28 +0200
  • 4972c81a5b
    Merge pull request #249 from tkchia/tkchia/self-host David Given 2022-03-19 21:40:20 +0000
  • d85480f441 aal: recognize but ignore an s option for GNU ar compatibility Tee-Kiah Chia 2022-01-20 13:22:08 +0000
  • 6bed61540d
    Merge pull request #244 from grobe0ba/default David Given 2022-02-13 21:38:53 +0100
  • 01d978cc22 Fix the groff build to put the images in the right place. David Given 2022-02-05 22:48:14 +0100
  • 4e816eb81f
    Merge pull request #247 from davidgiven/llgen David Given 2022-02-05 21:33:06 +0100
  • f7de764a86 Generate HTML versions of the documentation as well. David Given 2022-02-05 20:50:49 +0100