Branch: master
Commits on Feb 19, 2019
  1. Update sqlite to 3.27.1

    shawnw committed Feb 19, 2019
Commits on Feb 4, 2019
  1. 'help helpfile2' fixes. Closes #1282

    shawnw committed Feb 4, 2019
Commits on Jan 16, 2019
  1. Update cJSON source to 1.7.10

    shawnw committed Jan 16, 2019
Commits on Nov 22, 2018
  1. Allow chatformat/mogrifiers to detect a noisy/silent cemit (#1269)

    shawnw committed Nov 22, 2018
    * Add a new argument to channel mogrifiers and formats indicating if @cemit/silent was used.
    * Describe new chatformat argument as a list of values.
  2. Sqlite 325 (#1268)

    shawnw committed Nov 22, 2018
    * Update Sqlite to 3.25.3
    * Fix a memory leak when opening a sqlite database fails.
    * More sqlite leak fixes, and better error messages.
Commits on Nov 14, 2018
  1. Changelog tweaks to reflect upcoming 1.8.7p1 release

    shawnw committed Nov 14, 2018
Commits on Nov 12, 2018
  1. Autoconf fixes (#1266)

    shawnw committed Nov 12, 2018
    * Remove typoed and unused check for a curl header.
    * Add perl version check.
    * Handle versions of tar that don't understand how to decompress tarballs.
    * Disable checking for -fstack-protector on AIX.
    * Disable slaves on all Windows platforms and IPv6 on Cygwin.
    * Rebuild configure and add hints/aix.txt
  2. Make the math test functions not depend on function aliases.

    shawnw committed Nov 12, 2018
Commits on Nov 6, 2018
  1. mmap() doesn't return NULL on failure. Fix that check.

    shawnw committed Nov 6, 2018
Commits on Oct 23, 2018
  1. Misc windows fixes (#1261)

    shawnw committed Oct 23, 2018
    * Windows compile error in markup.c
    * Fix a warning and bug in mingw builds of timer.c
    * Fix some build settings for Windows platforms
    Compiling with -fstack-protector was breaking Mingw builds.
    Compiling with PCRE2 JIT was breaking Cygwin. Fixes #1257
    * Add a --disable-jit option to configure to always disable JIT checks.
Commits on Oct 21, 2018
  1. Fd leaks (#1258)

    shawnw committed Oct 21, 2018
    * Make sure the fd opened by reserve_fd() doesn't stay open across reboots.
    * Fix an OpenSSL caused file descriptor leak.
Commits on Oct 14, 2018
  1. Add note in hints/linux.txt about Redhat OSes needing the perl-core p…

    shawnw committed Oct 14, 2018
Commits on Oct 12, 2018
  1. PCRE1 to PCRE2 (#1230)

    shawnw committed Oct 12, 2018
    * Convert from PCRE1 to PCRE2
    * Fix install path for pcre2
    * Link directly to the bundled libpcre2-8.a file.
    System ones were sometimes getting picked up instead if present. Ours is
    * Compile sitelock wildcard patterns into regular expressions.
    * Speed up atr_iter_get() and friends:
    1. Precompile regular expressions before scanning attributes.
    2. Convert wildcard patterns to REs and compile same.
    * Make the sqlite REGEXP match actually anchored like it's supposed to be.
    * Remove some references to PCRE as a dependency from documentation.
    * Fix a timestamp issue that was causing odd things when building pcre2 on some systems. Also avoid re-installing it unless needed.
    * Add changelog entry.
    * Have the configure script download a pcre2 tarball instead of including it directly in the Penn repo.
    Addresses the bloat issue in a hopefully portable way.
    * Use http instead of https because the latter isn't always supported.
    * Update to pcre2 10.32, misc tweaks.
Commits on Oct 3, 2018
  1. Fix recursive calls to json_map(). Closes #1252 (#1253)

    shawnw committed Oct 3, 2018
Commits on Sep 30, 2018
  1. Log fixups (#1249)

    shawnw committed Sep 30, 2018
    * Use ISO-8601 timestamps for log messages.
    * Replace some stray perror() calls with penn_perror() wrappers.
    * Replace some direct writes to stderr with log function calls, and put timestamps in more.
    * Timestamp libevent log messages in info_slave and ssl_slave
    * Fix warning in sig.c re penn_perror()
    * Log changes broke test suite.
    * Eliminate some duplicate brackets in log messages.
  2. Fix a bug passing an invalid pointer to sqlite3_exec (introduced in s…

    shawnw committed Sep 30, 2018
    …qlite-325) (#1251)
Commits on Sep 23, 2018
  1. Sqlite 3.25 Update (#1244)

    shawnw committed Sep 23, 2018
    * Update to Sqlite 3.25
    * Rewrite help entries generation.
    Using new sqlite window functions make it a lot cleaner and simpler.
    * Drop an index that's no longer needed from the help db.
    * Close open sqlite3 file databases before forking.
    Leaving a db open across a fork and then accessing it from the child is
    a good way to get a corrupt database. While we don't do anything after a
    fork that would use an open db connection, that might change in the
    future, and it's better to be safe than sorry anyways. Right now they're
    only reopened in the parent. In the future if a child needs access to a
    db too it can be set up to automatically reopen as well.
    * Update to Sqlite 3.25.1
  2. Merge branch 'master' into issue-1233

    shawnw committed Sep 23, 2018
  3. Add changelog entry.

    shawnw committed Sep 23, 2018
  4. Add function to set close-on-exec flag on descriptors. (#1247)

    shawnw committed Sep 23, 2018
    * Add function to set close-on-exec flag on descriptors.
    Use it in a few places instead of current inlined setting code, and now
    in @http requests. Closes #1246
    * Add changelog entry for 1246
Commits on Sep 21, 2018
  1. Make lattrp() behave like 1.8.6 again. Fixes #1233

    shawnw committed Sep 21, 2018
Commits on Sep 16, 2018
  1. Fix a warning in running softcode tests. Oops.

    shawnw committed Sep 16, 2018
  2. Hardcode Tests (#1243)

    shawnw committed Sep 16, 2018
    * Add basic hardcode test framework. Closes #1238
    Now go forth and write all the tests!
    * Rename all the softcode test case files. -> testFOO.t because they're not actually proper perl scripts
    and that was bugging me and causing syntax highlighting problems in
    * Fix a couple of typos/formatting bugs.
    * Add some more test cases.
    * Add some utf8 tests.
    * Support ancient perl, and better error handling on failed tsort invocation.
    * More tests and run the tests after loading the database.
    * Add tests for map_file()
  3. Merge pull request #1242 from pennmush/issue-1177

    shawnw committed Sep 16, 2018
    Rewrite penn_mysql_free_sql_query to avoid a possible infinite loop.
  4. Remove WITHOUT_WEBSOCKETS tests. Closes #1235 (#1240)

    shawnw committed Sep 16, 2018
Commits on Sep 13, 2018
  1. Remove unused win_gettimeofday() function.

    shawnw committed Sep 13, 2018
    penn_gettimeofday() in utils.c is what's used now, though it's the same code, just different name.
    Why Walker changed it I can't say, maybe he just liked it better that way?
  2. rename_file() was badly broken on Windows.

    shawnw committed Sep 13, 2018
  3. Improve handling of libcurl requests (#1234)

    shawnw committed Sep 13, 2018
    * Improve handling of libcurl requests that get lots of data or take too long.
    * Truncate over-long output and warn instead of erroring.
  4. Externalizing the list of named colors (#1237)

    shawnw committed Sep 13, 2018
    * Add API for memory-mapping a file.
    * Load color names and data from an external file.
    ... instead of being in a header file. Makes it much easier to add your
    own colors or otherwise modify the list.
    * Store the RGB color codes in colors.json as hex strings instead of base10 integers.
    Suggested by Mercutio.
    * Convert from Windows to Unix line endings. Oops.
    * Also use map_file() for reading connect.txt etc.
    Simplifies fcache_read() a lot.
    * Add changelog entry.
Commits on Sep 12, 2018
  1. Merge pull request #1239 from Powerthegreat/patch-2

    shawnw committed Sep 12, 2018
    Update README-Windows10.txt
Commits on Sep 3, 2018
  1. Fix some use-after-free bugs in db_open()/db_open_write()

    shawnw committed Sep 3, 2018
  2. Fix typo in configure clang-format check

    shawnw committed Sep 3, 2018
Commits on Sep 1, 2018
  1. Fix a pretty much impossible to trigger memory leak in whisper

    shawnw committed Sep 1, 2018
Commits on Aug 31, 2018