summary refs log tree commit diff
Commit message (Collapse)AuthorAge
* Call uiShow at init so that TermFocus gets setJune McEnroe2018-12-03
|
* Check nick to determine if is selfJune McEnroe2018-12-03
| | | | I forgot that usernames aren't unique for a minute there.
* Ignore ~ username prefixesJune McEnroe2018-12-03
| | | | This simplifies a lot.
* Move host, port, pass, webp to selfJune McEnroe2018-12-02
|
* Add -r option for realnameJune McEnroe2018-12-02
|
* Send automated messages to TagStatus with UIColdJune McEnroe2018-12-02
|
* Various man page tweaks and editsJune McEnroe2018-12-02
|
* Fix UI resume on /urlJune McEnroe2018-12-02
|
* Add sandman.m to READMEJune McEnroe2018-12-02
|
* Crudely handle reconnecting after suspendJune McEnroe2018-12-01
|
* Fix sandman hangJune McEnroe2018-12-01
| | | | | It was hanging after sending SIGTSTP to its child, then receiving a SIGCHLD to indicate the child had stopped.
* Use sigaction in sandmanJune McEnroe2018-12-01
|
* Handle signals consistently in the event loopJune McEnroe2018-11-30
|
* Separate ircConnect and ircDisconnectJune McEnroe2018-11-30
|
* Measure length of log timestamp more consistentlyJune McEnroe2018-11-30
|
* Reformat sandman Objective-C codeJune McEnroe2018-11-30
|
* Ignore sandmanJune McEnroe2018-11-30
| | | | Oops.
* Add sandmanJune McEnroe2018-11-30
|
* Strip timestamps from log replayJune McEnroe2018-11-29
| | | | | Also fix string length. %.*s does not behave as one might expect when writing wchar_t.
* Add basic log replayJune McEnroe2018-11-29
|
* Show unread count in term titleJune McEnroe2018-11-29
| | | | Also render status line with just spaces. Looks much cleaner this way.
* Handle no such nick errorJune McEnroe2018-11-29
|
* Add /whoisJune McEnroe2018-11-29
|
* Set LIBRESSL_PREFIX in Darwin.mkJune McEnroe2018-11-29
| | | | | I think this is still the right path for Homebrew, which is the most popular...
* Add NetBSD.mkJune McEnroe2018-11-28
|
* Make use of config.mk and add Darwin.mkJune McEnroe2018-11-28
|
* Rename project catgirlJune McEnroe2018-11-27
| | | | This simplifies things.
* Add M-m key to insert a blank lineJune McEnroe2018-11-27
| | | | For manually marking the log.
* Add notification with notify-sendJune McEnroe2018-10-28
|
* Use const char *argv[] signaturesJune McEnroe2018-10-28
| | | | C is really weird about this stuff, but this makes more sense to me.
* Fix verbose view name in man pageJune McEnroe2018-10-23
|
* Add more URL schemesJune McEnroe2018-10-22
|
* Rework status lineJune McEnroe2018-10-22
|
* Rename status and verbose tagsJune McEnroe2018-10-22
|
* Revert "Race parallel connects"June McEnroe2018-09-16
| | | | | | | | | | | | This reverts commit e3e2b36ecf6a1340f1dc2542233bafe0862447fa. Apparently racing *all* of the connections is not something you should do, and I can't be bothered with all the extra logic to do this "correctly" according to RFC 8305. Provide an API, you cowards. What I did want to do was give IPv6 any chance at all of being used, but I'm just going to leave that up to the order getaddrinfo returns. It's someone else's fault.
* Race parallel connectsJune McEnroe2018-09-16
|
* Call tls_error when tls_connect_socket failsJune McEnroe2018-09-15
|
* Try successive getaddrinfo resultsJune McEnroe2018-09-15
|
* Render README from chatte.7June McEnroe2018-09-15
|
* Factor out uiPrompt to call on nick changeJune McEnroe2018-09-14
|
* Run test binaries with set -e and semicolonsJune McEnroe2018-09-14
| | | | BSD make behaves oddly when trying to replace with &.
* Fail target when any test binary failsJune McEnroe2018-09-14
|
* Run tests in default targetJune McEnroe2018-09-14
|
* Add termEvent testsJune McEnroe2018-09-14
|
* Check width of entire next word including codesJune McEnroe2018-09-14
| | | | | This results in a tiny bit of premature wrapping for color codes, but that isn't a problem.
* Remove word handling from formatParseJune McEnroe2018-09-14
|
* Apply consecutive formatting codes at onceJune McEnroe2018-09-14
| | | | Fixes the failing splits test.
* Add tests for formatParseJune McEnroe2018-09-14
| | | | With one currently failing so you know they're worth it.
* Preview with nick in input windowJune McEnroe2018-09-13
|
* Never send PRIVMSG to TagStatus or TagVerboseJune McEnroe2018-09-13
|
special treatment is required to preserve empty fields in "$@" > expansion. But it should *only* be used when $@ is quoted: ifsbreakup() > takes nulonly from the last IFS region, even if it's empty, so having an > additional zero-length region with nulonly enabled causes confusion. > > Passing quoted by value to varvalue() and not attempting to modify it > should therefore, and in my quick testing does, also work to fix the > original $@ bug. You're right. The proper fix to this is to ensure that nulonly is not set in varvalue for $*. It should only be set for $@ when it's inside double quotes. In fact there is another bug while we're playing with $@/$*. When IFS is set to a non-whitespace character such as :, $* outside quotes won't remove empty fields as it should. This patch fixes both problems. Reported-by: Martijn Dekker <martijn@inlv.org> Suggested-by: Harald van Dijk <harald@gigawatt.nl> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-04-02parser: Allow newlines within parameter substitutionHerbert Xu On Fri, Mar 16, 2018 at 11:27:22AM +0800, Herbert Xu wrote: > On Thu, Mar 15, 2018 at 10:49:15PM +0100, Harald van Dijk wrote: > > > > Okay, it can be trivially modified to something that does work in other > > shells (even if it were actually executed), but gets rejected at parse time > > by dash: > > > > if false; then > > : ${$+ > > } > > fi > > That's just a bug in dash's parser with ${} in general, because > it bombs out without the if clause too: > > : ${$+ > } This patch fixes the parsing of newlines with parameter substitution. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-04-02expand: Fix bugs with words connected to the right of $@Herbert Xu On Sun, Mar 04, 2018 at 12:44:59PM +0100, Harald van Dijk wrote: > > command: set -- a ""; space=" "; printf "<%s>" "$@"$space > bash: <a><> > dash 0.5.8: <a>< > > dash 0.5.9.1: <a>< > > dash patched: <a><> This is actually composed of two bugs. First of all our tracking of quotemark is wrong so anything after "$@" becomes quoted. Once we fix that then the problem is that the first space character after "$@" is not recognised as an IFS. This patch fixes both. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-25Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"Herbert Xu This reverts commit 7bb413255368e94395237d789f522891093c5774. The commit breaks printf with more than argument. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2018-03-22parser: Fix backquote support in here-document EOF markHerbert Xu