mmondor.git
9 years agoMinor optimizations
Matthew Mondor [Sat, 13 Aug 2011 09:53:34 +0000 (09:53 +0000)]
Minor optimizations

9 years agoClean up TODO list
Matthew Mondor [Sat, 13 Aug 2011 09:17:12 +0000 (09:17 +0000)]
Clean up TODO list

9 years ago- Added maximum number of characters allowed per request
Matthew Mondor [Sat, 13 Aug 2011 09:15:19 +0000 (09:15 +0000)]
- Added maximum number of characters allowed per request
- Added request timeout

9 years agoInvoke user functions for SERVE-FUNCTION and OVERFLOW-FUNCTION using
Matthew Mondor [Sat, 13 Aug 2011 09:13:46 +0000 (09:13 +0000)]
Invoke user functions for SERVE-FUNCTION and OVERFLOW-FUNCTION using
SYMBOL-FUNCTION, such that user functions may interactively be redefined
causing new requests to be routed to the most recent definition.

9 years ago- Implement optimized second-resolution timer access minimizing syscalls
Matthew Mondor [Sat, 13 Aug 2011 07:57:43 +0000 (07:57 +0000)]
- Implement optimized second-resolution timer access minimizing syscalls
- Export various time functions
- Document exported functions

9 years agoMove back *DEBUGGER-HOOK* binding within the ACCEPT-LOOP-THREAD loop as we
Matthew Mondor [Sat, 13 Aug 2011 06:48:13 +0000 (06:48 +0000)]
Move back *DEBUGGER-HOOK* binding within the ACCEPT-LOOP-THREAD loop as we
don't want the thread to exit because of an error, but to resume.

9 years agoWrote the WITH-LOG-ERRORS macro which is now used for both cases where
Matthew Mondor [Sat, 13 Aug 2011 06:44:10 +0000 (06:44 +0000)]
Wrote the WITH-LOG-ERRORS macro which is now used for both cases where
*DEBUGGER-HOOK* is bound to log errors instead of entering the debugger.
Also displace this binding to outside the ACCEPT-LOOP-THREAD LOOP.

9 years ago- Enhance LOG-LINE and use the new syntax thoughout the code
Matthew Mondor [Sat, 13 Aug 2011 06:21:54 +0000 (06:21 +0000)]
- Enhance LOG-LINE and use the new syntax thoughout the code
- Make CHILDREN-MANAGER-THREAD use LOG-ERROR

9 years agoInitial import of a minimal HTTPD example for ecl-mp-server.
Matthew Mondor [Sat, 13 Aug 2011 05:43:08 +0000 (05:43 +0000)]
Initial import of a minimal HTTPD example for ecl-mp-server.

9 years agoFix broken stack trace and funcall
Matthew Mondor [Sat, 13 Aug 2011 05:41:48 +0000 (05:41 +0000)]
Fix broken stack trace and funcall

9 years agoInitial import into server
Matthew Mondor [Sat, 13 Aug 2011 00:00:45 +0000 (00:00 +0000)]
Initial import into server

9 years agoMake a library
Matthew Mondor [Fri, 12 Aug 2011 23:58:24 +0000 (23:58 +0000)]
Make a library

9 years agoAdded thread pool manager, moved more things to parameters
Matthew Mondor [Fri, 12 Aug 2011 11:54:13 +0000 (11:54 +0000)]
Added thread pool manager, moved more things to parameters

9 years ago*** empty log message ***
Matthew Mondor [Thu, 11 Aug 2011 21:24:15 +0000 (21:24 +0000)]
*** empty log message ***

9 years ago*** empty log message ***
Matthew Mondor [Tue, 9 Aug 2011 11:28:30 +0000 (11:28 +0000)]
*** empty log message ***

9 years agoInitial import
Matthew Mondor [Tue, 9 Aug 2011 00:23:18 +0000 (00:23 +0000)]
Initial import

9 years agoMore useful utilities
Matthew Mondor [Sat, 6 Aug 2011 09:06:03 +0000 (09:06 +0000)]
More useful utilities

9 years agoPortability fix
Matthew Mondor [Sat, 6 Aug 2011 03:46:48 +0000 (03:46 +0000)]
Portability fix

9 years agoInitial import
Matthew Mondor [Sat, 6 Aug 2011 02:46:33 +0000 (02:46 +0000)]
Initial import

9 years ago*** empty log message ***
Matthew Mondor [Fri, 5 Aug 2011 14:28:31 +0000 (14:28 +0000)]
*** empty log message ***

9 years ago*** empty log message ***
Matthew Mondor [Fri, 5 Aug 2011 14:26:09 +0000 (14:26 +0000)]
*** empty log message ***

9 years ago*** empty log message ***
Matthew Mondor [Fri, 5 Aug 2011 13:14:33 +0000 (13:14 +0000)]
*** empty log message ***

9 years ago*** empty log message ***
Matthew Mondor [Fri, 5 Aug 2011 00:03:49 +0000 (00:03 +0000)]
*** empty log message ***

9 years agoAdd various new pkgsrc-2011Q2 PRs
Matthew Mondor [Tue, 2 Aug 2011 06:18:42 +0000 (06:18 +0000)]
Add various new pkgsrc-2011Q2 PRs

9 years ago*** empty log message ***
Matthew Mondor [Mon, 1 Aug 2011 21:49:44 +0000 (21:49 +0000)]
*** empty log message ***

9 years agoMinor changes
Matthew Mondor [Mon, 1 Aug 2011 21:46:33 +0000 (21:46 +0000)]
Minor changes

9 years agoSET-FINALIZER now in EXT not SI
Matthew Mondor [Sat, 30 Jul 2011 21:23:52 +0000 (21:23 +0000)]
SET-FINALIZER now in EXT not SI

9 years agoMinor fix
Matthew Mondor [Fri, 29 Jul 2011 06:26:27 +0000 (06:26 +0000)]
Minor fix

9 years ago*** empty log message ***
Matthew Mondor [Thu, 28 Jul 2011 18:29:30 +0000 (18:29 +0000)]
*** empty log message ***

9 years agoAppend SBCL assembly output
Matthew Mondor [Thu, 28 Jul 2011 11:04:42 +0000 (11:04 +0000)]
Append SBCL assembly output

9 years agoSecond test, and add description
Matthew Mondor [Thu, 28 Jul 2011 03:47:48 +0000 (03:47 +0000)]
Second test, and add description

9 years agoOptimization reated bugfixes
Matthew Mondor [Tue, 26 Jul 2011 23:01:05 +0000 (23:01 +0000)]
Optimization reated bugfixes

9 years agoBetter optimization for ADDRESS-FIXNUM
Matthew Mondor [Tue, 26 Jul 2011 22:29:33 +0000 (22:29 +0000)]
Better optimization for ADDRESS-FIXNUM

9 years agoAdd some optimization macros
Matthew Mondor [Tue, 26 Jul 2011 22:25:51 +0000 (22:25 +0000)]
Add some optimization macros

9 years agoInitial import
Matthew Mondor [Tue, 26 Jul 2011 22:22:33 +0000 (22:22 +0000)]
Initial import

9 years agoVarious enhancements:
Matthew Mondor [Tue, 26 Jul 2011 20:34:04 +0000 (20:34 +0000)]
Various enhancements:
 - Logging
 - Total and per-address limits
 - Reliable unwinding using macros

9 years agoKW_DONE -> KW_END to match better KW_BEGIN
Matthew Mondor [Fri, 15 Jul 2011 08:52:34 +0000 (08:52 +0000)]
KW_DONE -> KW_END to match better KW_BEGIN

9 years agoAt least make sure we don't write outside of the supplied values array
Matthew Mondor [Fri, 15 Jul 2011 08:50:44 +0000 (08:50 +0000)]
At least make sure we don't write outside of the supplied values array

9 years agoInitial import
Matthew Mondor [Fri, 15 Jul 2011 07:26:54 +0000 (07:26 +0000)]
Initial import

9 years agoNew directive needed
Matthew Mondor [Mon, 11 Jul 2011 20:33:42 +0000 (20:33 +0000)]
New directive needed

9 years ago- Use new ECL UTF-8 decoding recovery restart if wanted
Matthew Mondor [Sun, 10 Jul 2011 19:12:52 +0000 (19:12 +0000)]
- Use new ECL UTF-8 decoding recovery restart if wanted

9 years ago*** empty log message ***
Matthew Mondor [Wed, 27 Apr 2011 04:21:12 +0000 (04:21 +0000)]
*** empty log message ***

9 years agoMinor improvements
Matthew Mondor [Tue, 26 Apr 2011 03:47:19 +0000 (03:47 +0000)]
Minor improvements

9 years ago*** empty log message ***
Matthew Mondor [Fri, 18 Mar 2011 00:38:28 +0000 (00:38 +0000)]
*** empty log message ***

9 years ago*** empty log message ***
Matthew Mondor [Fri, 11 Mar 2011 00:23:06 +0000 (00:23 +0000)]
*** empty log message ***

9 years ago*** empty log message ***
Matthew Mondor [Thu, 10 Mar 2011 23:56:11 +0000 (23:56 +0000)]
*** empty log message ***

9 years agoInitial import
Matthew Mondor [Thu, 10 Mar 2011 13:17:34 +0000 (13:17 +0000)]
Initial import

9 years agoMinor fix
Matthew Mondor [Tue, 8 Mar 2011 08:57:56 +0000 (08:57 +0000)]
Minor fix

9 years agoA few safety fixes
Matthew Mondor [Tue, 8 Mar 2011 08:55:15 +0000 (08:55 +0000)]
A few safety fixes

9 years agoMore tests
Matthew Mondor [Sat, 5 Mar 2011 03:18:10 +0000 (03:18 +0000)]
More tests

9 years ago*** empty log message ***
Matthew Mondor [Fri, 4 Mar 2011 08:28:26 +0000 (08:28 +0000)]
*** empty log message ***

9 years agoAmong other tests, optimize the heaviest function, #'TONE-SAMPLE to use
Matthew Mondor [Sun, 27 Feb 2011 22:06:24 +0000 (22:06 +0000)]
Among other tests, optimize the heaviest function, #'TONE-SAMPLE to use
my ECL-FAST-STRUCTURE library.

9 years agoCreate a package and export wanted symbols
Matthew Mondor [Sun, 27 Feb 2011 22:05:25 +0000 (22:05 +0000)]
Create a package and export wanted symbols

9 years agoInitial import of a test synthesizer
Matthew Mondor [Tue, 22 Feb 2011 14:04:05 +0000 (14:04 +0000)]
Initial import of a test synthesizer

9 years ago- Added amplitude envelope to avoid tone transition clicks
Matthew Mondor [Mon, 21 Feb 2011 09:25:28 +0000 (09:25 +0000)]
- Added amplitude envelope to avoid tone transition clicks
- Added -t option to specify length of tones in hundredths of a second

9 years agoDocumentation enhancement.
Matthew Mondor [Fri, 11 Feb 2011 07:01:38 +0000 (07:01 +0000)]
Documentation enhancement.

9 years agoMinor LINE-WRAP fix to avoid sometimes losing the last available column
Matthew Mondor [Fri, 11 Feb 2011 07:00:50 +0000 (07:00 +0000)]
Minor LINE-WRAP fix to avoid sometimes losing the last available column
which could store one more character on the same line.

9 years agoLINE-WRAP bugfix, add comments as well
Matthew Mondor [Thu, 10 Feb 2011 12:11:53 +0000 (12:11 +0000)]
LINE-WRAP bugfix, add comments as well

9 years ago*** empty log message ***
Matthew Mondor [Wed, 9 Feb 2011 05:08:58 +0000 (05:08 +0000)]
*** empty log message ***

9 years agoImplementation mostly complete and working
Matthew Mondor [Wed, 9 Feb 2011 03:26:20 +0000 (03:26 +0000)]
Implementation mostly complete and working

9 years agoSpecial accessor macros
Matthew Mondor [Wed, 9 Feb 2011 03:25:51 +0000 (03:25 +0000)]
Special accessor macros

9 years agoInitial import of an experimental fast structures implementation utilizing
Matthew Mondor [Tue, 8 Feb 2011 09:32:49 +0000 (09:32 +0000)]
Initial import of an experimental fast structures implementation utilizing
C-inline advantages which ECL provides.

9 years agoMinor non-visible change: ensure that reply() only sends 3-columns codes
Matthew Mondor [Tue, 8 Feb 2011 00:57:00 +0000 (00:57 +0000)]
Minor non-visible change: ensure that reply() only sends 3-columns codes

9 years agoMade reply() be supplied a clientenv structure rather than an fdbuf one
Matthew Mondor [Tue, 8 Feb 2011 00:54:41 +0000 (00:54 +0000)]
Made reply() be supplied a clientenv structure rather than an fdbuf one
so that all lines are logged with the session ID prefix.

9 years agoYet another LINE-WRAP minor fix
Matthew Mondor [Fri, 4 Feb 2011 22:54:04 +0000 (22:54 +0000)]
Yet another LINE-WRAP minor fix

9 years agoIf in standalone-mode, exit at reception of SIGINT rather than letting the
Matthew Mondor [Fri, 4 Feb 2011 09:57:26 +0000 (09:57 +0000)]
If in standalone-mode, exit at reception of SIGINT rather than letting the
debugger enter.

9 years agoLINE-WRAP fix
Matthew Mondor [Fri, 4 Feb 2011 09:35:08 +0000 (09:35 +0000)]
LINE-WRAP fix

9 years agoMore cleanup and minor bugfix
Matthew Mondor [Tue, 1 Feb 2011 07:41:17 +0000 (07:41 +0000)]
More cleanup and minor bugfix

9 years agoCleanup
Matthew Mondor [Tue, 1 Feb 2011 06:41:16 +0000 (06:41 +0000)]
Cleanup

9 years ago- Minor limitrate code optimizations
Matthew Mondor [Sat, 29 Jan 2011 22:07:41 +0000 (22:07 +0000)]
- Minor limitrate code optimizations
- Humanize channel URL message

9 years ago- Some cleanups
Matthew Mondor [Fri, 28 Jan 2011 05:16:06 +0000 (05:16 +0000)]
- Some cleanups
- Added capability to optionally send TIME command to server upon connect

9 years ago- Added humanized nicknames list in variable-sized columns
Matthew Mondor [Wed, 26 Jan 2011 20:25:25 +0000 (20:25 +0000)]
- Added humanized nicknames list in variable-sized columns
- Humanized WHO output slightly better
- LINE-HUMANIZE may now return NIL if it doesn't want a line to be
  displayed in humanize mode

9 years ago- Changed path of development test config file
Matthew Mondor [Wed, 26 Jan 2011 13:20:26 +0000 (13:20 +0000)]
- Changed path of development test config file
- Humanized notice output now displays destination

9 years agoWhen nickname is already in use, and we don't have another nickname available
Matthew Mondor [Wed, 26 Jan 2011 13:01:17 +0000 (13:01 +0000)]
When nickname is already in use, and we don't have another nickname available
to rotate to, append an underscore to the current nickname.

9 years agoMinor fixes for better standalone mode
Matthew Mondor [Tue, 25 Jan 2011 02:48:23 +0000 (02:48 +0000)]
Minor fixes for better standalone mode

9 years agoInitial import, an idea for easily dealing with invalid input UTF-8
Matthew Mondor [Mon, 24 Jan 2011 13:32:49 +0000 (13:32 +0000)]
Initial import, an idea for easily dealing with invalid input UTF-8
sequences, proposed as a possible solution to adopt for ECL, as opposed as
explicitely signaling a condition holding the invalid bytes and providing
a restart (like SBCL does), which is more complex and more costly.

9 years agoAdded irclog links
Matthew Mondor [Sat, 22 Jan 2011 10:45:13 +0000 (10:45 +0000)]
Added irclog links

9 years agoInitial import; example script to build irclog standalone executable
Matthew Mondor [Sat, 22 Jan 2011 10:38:37 +0000 (10:38 +0000)]
Initial import; example script to build irclog standalone executable

9 years ago*** empty log message ***
Matthew Mondor [Sat, 22 Jan 2011 06:12:37 +0000 (06:12 +0000)]
*** empty log message ***

9 years ago- Minor LINE-PARSE fix
Matthew Mondor [Sat, 22 Jan 2011 05:48:16 +0000 (05:48 +0000)]
- Minor LINE-PARSE fix
- Comment configuration structure
- Add option to version server

9 years agoUse dynamic scope instead of global scope, i.e. use LET instead of SETF
Matthew Mondor [Sat, 22 Jan 2011 05:09:12 +0000 (05:09 +0000)]
Use dynamic scope instead of global scope, i.e. use LET instead of SETF
for top-level MAIN and STATE-LOOP-INIT.

9 years ago- Minor standalone executable fix (added an EXT:QUIT call)
Matthew Mondor [Sat, 22 Jan 2011 01:23:20 +0000 (01:23 +0000)]
- Minor standalone executable fix (added an EXT:QUIT call)
- Optimized away various GET-UNIVERSAL-TIME calls internally resulting in
  gettimeofday(2) syscalls
- Added automatic output flood throttling
- Issued USER command now RFC compliant
- Can now handle CTCP even before channel is joined, which is required by
  some IRCd bot detection systems
- Added generic QUOTE command to send arbitrary IRC commands
- Avoid setting *STANDARD-OUTPUT* stream EXTERNAL-FORMAT on SWANK

9 years agoMake the logging output stream format (currently *STANDARD-OUTPUT*)
Matthew Mondor [Fri, 21 Jan 2011 00:00:16 +0000 (00:00 +0000)]
Make the logging output stream format (currently *STANDARD-OUTPUT*)
correspond to our socket stream input format (Latin-1).

9 years agoRewrote yet another implementation of LINE-WRAP, because the previous one,
Matthew Mondor [Thu, 20 Jan 2011 05:49:50 +0000 (05:49 +0000)]
Rewrote yet another implementation of LINE-WRAP, because the previous one,
while working, trimmed contiguous spaces, ruining fix-width character
tables and art (not to mention ASCII, as UTF-8 is now common).

9 years agoSome work done on the standalone mode
Matthew Mondor [Thu, 20 Jan 2011 02:24:29 +0000 (02:24 +0000)]
Some work done on the standalone mode

9 years agoNow logs the IP address of the remote server too
Matthew Mondor [Wed, 19 Jan 2011 14:59:08 +0000 (14:59 +0000)]
Now logs the IP address of the remote server too

9 years agoFix a bug where resolving errors would leak a socket descriptor, eventually
Matthew Mondor [Wed, 19 Jan 2011 12:36:50 +0000 (12:36 +0000)]
Fix a bug where resolving errors would leak a socket descriptor, eventually
reaching the maximum allowed file descriptors for the process if the outage
persisted.

9 years agoLINE-WRAP extra cleanup
Matthew Mondor [Wed, 19 Jan 2011 07:49:35 +0000 (07:49 +0000)]
LINE-WRAP extra cleanup

9 years agoMinor LINE-WRAP fix
Matthew Mondor [Wed, 19 Jan 2011 07:12:25 +0000 (07:12 +0000)]
Minor LINE-WRAP fix

9 years agoRewrote LINE-WRAP to be cleaner and safer.
Matthew Mondor [Wed, 19 Jan 2011 05:43:33 +0000 (05:43 +0000)]
Rewrote LINE-WRAP to be cleaner and safer.

9 years ago- Added line wrapping for humanized-output
Matthew Mondor [Tue, 18 Jan 2011 14:40:37 +0000 (14:40 +0000)]
- Added line wrapping for humanized-output
- Cleaner error handling

9 years agoA few fixes to conform to last commit message, was too quick to commit
Matthew Mondor [Fri, 14 Jan 2011 10:41:43 +0000 (10:41 +0000)]
A few fixes to conform to last commit message, was too quick to commit

9 years ago- Now sets configurable UMODE
Matthew Mondor [Fri, 14 Jan 2011 10:38:11 +0000 (10:38 +0000)]
- Now sets configurable UMODE
- Humanized messages and notices
- Humanized CTCP queries and responses
- Humanized MODE commands
- Added new commands !MSG !NOTICE and !CTCP

9 years ago- Yet another line parsing fix
Matthew Mondor [Thu, 13 Jan 2011 16:38:05 +0000 (16:38 +0000)]
- Yet another line parsing fix
- More humanization
- On-JOIN TOPIC query now optional and disabled by default

9 years agoFix bug where LINE structure was supplied as USER-COMMAND's LINE instead
Matthew Mondor [Thu, 13 Jan 2011 10:43:14 +0000 (10:43 +0000)]
Fix bug where LINE structure was supplied as USER-COMMAND's LINE instead
of TEXT.

9 years agoMore cleanups:
Matthew Mondor [Thu, 13 Jan 2011 10:25:16 +0000 (10:25 +0000)]
More cleanups:
- Get rid of words-len slots and arguments
- Add a field to the LINE structure for CTCP commands like for USER ones
- Reindent COND forms

9 years ago- Short timestamps for humanized mode, also displaying the date
Matthew Mondor [Thu, 13 Jan 2011 01:58:08 +0000 (01:58 +0000)]
- Short timestamps for humanized mode, also displaying the date
  at the beginning and when it changes
- Also handle STREAM-ERROR gracefully

9 years ago- Various code cleanups
Matthew Mondor [Wed, 12 Jan 2011 22:49:37 +0000 (22:49 +0000)]
- Various code cleanups
- Yet another fix to LINE-PARSE; text-less lines with parameters had the
  last parameter set as text in the parsed structure

9 years agoFix humanized output to gracefully deal with very short idle timeouts
Matthew Mondor [Wed, 12 Jan 2011 04:25:14 +0000 (04:25 +0000)]
Fix humanized output to gracefully deal with very short idle timeouts

9 years ago- Humanize WHO responses
Matthew Mondor [Wed, 12 Jan 2011 03:59:01 +0000 (03:59 +0000)]
- Humanize WHO responses
- Humanize CTCP ACTION on channel