Debian Codegraph @

KNOWNBUGS

raw
1 EPIC5 Projects, Bugs, and other Errata:
2
3 THINGS TO WORK ON
4 ------------------------------------------------
5 Actual bugs
6 ============
7 <none>
8
9 Creature Comforts
10 ====================
11 * /window maximize + new status expando when a zero-height window gets output
12 * Be able to retrieve/cycle through "next notified (activity) window"
13
14 Data improvements
15 ===================
16 * Rethink "targets" with channels and queries
17 * Change /ignore to support broader patterns (servers, nicks, etc)
18 * Support "virtual timestamps" -- don't fetch the real time
19 * Support ZNC's CAP that prefixes timestamp (see above)
20
21 Weaknesses
22 ===========
23 * The way we handle "screen is not tall enough" underflow needs work
24 * Typing 😂😂(multi-column emojis) upsets screen.
25 * I don't think /msg @L1 is implemented correctly
26 files.c:file_write() for type == 2
27
28 Foundational improvements
29 ===========================
30 * Mouse support (for fusion)
31 * Unlimited size input line with auto-chonking
32 * Outbound flood control for irc servers
33 * Properly support 005 PREFIX=(qaohv)~&@%+
34 * Properly support CAP
35 https://datatracker.ietf.org/doc/html/draft-mitchell-irc-capabilities-01
36 * Rewrite the RFC1459 message tokenizer ("BreakArgs")
37 - Make CAP tokens (@stupid=value) first class citizens somehow
38 * Support for column counting ZWJ compound emojis
39 + Sending a "Man shrugging medium-light skin tone"
40 https://emojipedia.org/man-shrugging-medium-light-skin-tone
41 is a "ZWJ sequence" which epic may not support correctly
42 [ 5:34PM] -> (#epic) https://imgur.com/a/46IUXP0 -- how it originally appeared as received (expected behavior per github)
43 [ 5:34PM] -> (#epic) https://imgur.com/a/P8gEFnG -- how it appeared after you swapped the window out and in again
44 [ 5:35PM] -> (#epic) https://imgur.com/a/lSlLqQE -- how it appeared in the log (text) file
45 + Not every terminal emulator handles them, and then there's screen and tmux, too
46 + Supposedly, you can output emojis and ask for column position to assess what's supported.
47
48 [I moved the old list to the file "WISHLIST" to keep this file short]
49
50 [See http://www.epicsol.org/PROJECTS for things to come in the future]
51 [See http://www.epicsol.org/CHANGELOG5 for things that changed in the past]
52
53 THE CHANGELOG SINCE THE LAST RELEASE:
54 -------------------------------------
55 * Patch from twincest to fix build on solaris
56 * Don't honor queries for WALLOPS (requested by opers)
57 * Conditionalize <ieeefp.h> per twincest's fix.
58 * Clear RUBYDOTOH if ruby is found but it isn't usable (rb Zoopee)
59 * Rewrite checks for (intmax_t) for systems w/o strtoimax(). (rb JailBird)
60 * Define NSIG as _NSIG or 32 if it's not defined (rb JailBird)
61 * Broaden what you can specify for the server "proto" field (see UPDATES)
62 * Fix figure_out_address() to properly identify a server name
63 * This fixes /ignore [email protected] which was lamely broken.
64 * Make /window channel output all channels in the window
65 * Don't call update_all_status() if /set -status_clock (by Oliver Fromme)
66 * Comment out strtol() compat stuff, causing people problems.
67 * More graciously handle snprintf() returning -1 (rb twincest)
68 * Do not use /usr/include/ep on hpux
69 * Mark lastlog items as "dead" and check for them to avoid dangling ptrs
70 * Handle (graciously) when /set scroll_lines is > size of the window. (rb CE)
71 * Properly handle remove_lastlog_item() for the very last item.
72 * Fixes /eval defer window new kill;defer window new;defer window kill_others
73 * Add $hookctl(ARGS <recursive> <args>) allows you to replace $* in /on.
74 * Add $hookctl(USERINFO <recursive> <info>) allows you to set dynamic info.
75 * Don't lamely malloc_strcpy() over non-malloced strings in hookctl.
76 * Add $iconvctl() to control iconv stuff. (See UPDATES.)
77 * Add $xform(iconv +<iconv id>) functionality. (See UPDATES.)
78 * Fix bug where /window number could lead to confused lastlogs
79 * Generalize base64 encoding so it doesn't hardcode the base64 string.
80 * Add $xform(+FISH64 ...) which does FiSH's base64 encoding.
81 * Make a better test for embedded perl support by calling SvTRUE().
82 * Fix /bind -defaults so it actually removes all keybindings first. doh.
83 * Fix /window double so it actually shows you the current double status.
84 * Make the expression error for too many operands output the expression.
85 * Rewrite the iconv() configure checks to deal with libiconv's #define's.
86 * Rewrite the strtoimax() tests so they don't fail lamely to detect (intmax_t)
87 * Rewrite the perl and ruby runtime configure tests so they work right with gcc
88 * Fix various warnings revealed by gcc warnings
89 * Make a very preliminary attempt to write some fish decoding stuff. Not Ready!
90 * Fix for configure to handle perl's non-existance (kreca)
91 * Fix wserv4 dependencies so you can do make -j4 on multi-cpu.
92 * Rework the ruby checking in configure so it builds on freebsd-7
93 * Add CTCP FISH support (this is _not_ fish support!), see UPDATES
94 * Make an initial stab at proper support for FiSH's base64 converter.
95 * I took the "fish64" entry out of $xform() for now while it's broken.
96 * Capture stdout of ruby scripts and send it to an epic window. yay!
97 * This means you can do regular old 'puts' in ruby script and it'll Just Work.
98 * Finish $xform() for +fish64 and -fish64, verified against actual FiSH code
99 * Try to make the perl configure check more robust for non-working perls.
100 * Start a project to convert things to use transform_string().
101 * Fix show_lastlog() to return the rewritten result (so -mangle works)
102 * Actually sunset [en|de]code().
103 * Create transform_string_dyn, a pleasant api in front of transform_string.
104 * Create a bunch of global vars for transform_string to avoid lookups.
105 * Add hints to how big destination buffers should be for xforming.
106 * Fix transforms by initializing the expander and overhead items.
107 * Make various sanity checks for transforms to fix amn.
108 * Ensure all the users of transform_string_dyn are prepared to handle NULLs
109 * Ensure all the xform encoder/decoders can handle zero dest buffer sizes
110 * Add code to configure to fail if OpenSSL is not found. No turning back!
111 * Split the notion of "iv size" and "blocksize" in crypto support
112 * This is needed because FiSH does not use an IV, being an ECB cipher
113 * It's also needed because the notion that the IV *must* be blocksize is lame.
114 * Add notion of "trimmable bytes" to end of crypto message
115 * Again, this is for FiSH, because it doesn't trim bytes on last packet.
116 * Support for assissting valgrind in helping us find memory leaks (caf)
117 * Fix memory leaks found by valgrind (caf)
118 * GC function_[en|de]code() and function_sha256 (superceded by $xform())
119 * GC unused [en|de]code(), enquote_it, dequote_it, and dequote_buffer().
120 * Fix display calcs when adding 1st window to 1st screen
121 * This allows you to change 'status.number' for default # of status lines
122 * Start tracking timestamps for scrollback items
123 * Full generalization of scrollback/scrollforward functions
124 * Implement scrollback/forward based on lines
125 * Implement scrollback/forward based on regex
126 * Begin thinking about implementing scrollback/forward based on time (not done)
127 * Windows that are hidden from birth have a fake height of 24 lines
128 * This fixes a bug where doing /window double on hold_slider 0 in a
129 never-visible window caused it to get stuck in an infinite loop.
130 * Add new scripts, "help.irc", "history.rb", "locale", and "tabkey.sjh"
131 * I need to document these in UPDATE!
132 * Add /exec -closeout, to send EOF to the exec'd process
133 * Add $dccctl(FD_TO_REFNUM <fd>) to convert $connect() to a refnum for dccctl.
134 * Remember $dccctl(GET refnum WRITABLE) detects a connected socket, by rule
135 * Change /on 322 handler so output always goes to OTHER, not to the window.
136 * Add an /on switch_query, but it's incomplete, so don't use it yet.
137 * Rewrite malloc_sprintf() so it can be used by do_hook_internal().
138 * Revamp do_hook() so it returns the final value of $*
139 * This will allow future use of do_hook() to rewrite text.
140 * Don't test for /usr/local/lib/libiconv.a because os x doesn't have it
141 * Prototype malloc_vsnprintf().
142 * Don't test uninitialized variables, you dummy.
143 * Have to be more aggressive using va_copy() for 64-bit sake
144 * Add /xeval -n {...} which un-does the ^ operation.
145 * Fix the 'ambig' script to use /xeval -n.
146 * Fix the command mode support in 'builtins' to use /xeval -n
147 * Reorganize open_log(), add support for double quotes around filenames
148 * Verify that logfiles are now working as I Hope they would.
149 * Make 'global' load ambig and newnick, since those recently came up
150 * Change a variable name to avoid conflicts with a global symbol
151 * Create a stub function to calculate how long the input line could be.
152 * Fix a bug with /who -real (i forgot who reported this, sorry!)
153 * Fix the redonkulous spurious errors when using $convert().
154 * Add a configure check for strtoimax() being a macro (ugh)
155 * Apparently strings in configure are supposed to be [quote]d.
156 * Check for strtoimax() separately in inttypes.h and stdint.h
157 * This hopefully fixes the build on hpux
158 * Add @E<win> as a /msg target so you can /msg a window.
159 * Fix lame compile error in wserv() if we need yell().
160 * Improve the test for libarchive in configure
161 * Fix /bind -default because it whacked the bindings themselves. doh!
162 * Normalize the copyright notice on scripts BlackJac wrote, per his request
163 * Fix 439 handling for inspircd (rb twincest)
164 * Add the ability to /log server all or /log add all for server logs.
165 * Change the configure test for perl from AC_TRY_LINK to AC_TRY_RUN
166 * Change string insensitive comparisons so "SERVER" doesn't match "SASAFRASS"
167 * Bump up the "overhead" bytes for xform()s to multiples of 8 per zlonix
168 * Support /log server ALL and /log type server add ALL to log all servers
169 * Fix brain-o that I missed -- strnicmp() consumers must use FULL STRINGS!
170 * Fix more. You'd think I was not paying attention or something.
171 * Don't permit /xecho /flag because that's just useless
172 * Fix two dcc locking bogons that i discovered by accident.
173 * Revert the string insensitive comparison changes for now.
174 * Use PRIdMAX and PRIuMAX for printing (intmax_t), for hpux, or larne
175 * Fix my brokenness of my_stricmp(). Time to go hide under a rock.
176 * Fix the bug where the right indicator appeared when it should not.
177 * Add the 'logman' script which does per-server, and per-channel logging
178 * Handle inspired's BBC 351 numeric, for larne.
179 * Fix bug with /encrypt complaining "X is not a multiple of Y!" (rb zlonix)
180 * Add a bunch more scripts I've been sitting on that were contributed.
181 * Add 'cycle', 'set_color', 'ban', and 'speak.irc' scripts. i need to doc them
182 * Create some internal funcs to allow updating a server desc on the fly
183 * Allow add_servers() to update server descriptions
184 * Allow /server -add to update server descriptions
185 * Allow /server -update to update server descriptions
186 * Allow plain old /server to update server descriptions
187 * Allow $serverctl(READ_FILE filename) to update server descriptions
188 * Add $serverctl(UPDATE refnum stuff) to update server descriptions
189 * Allow /window server to update server descriptions
190 * Add $windowctl(GET x SERVER_STRING) returns last good /window server value
191 * Release epic5-1.1.1 (commit 1631) (Prolixity)
192 * Fixes so /server <group> doesn't clobber <host> with <group> (rb howl)
193 * Add support for /server refnum:<other flags> which I noticed
194 * For example, this means, /server 0:type=irc-ssl now works! yay!
195 * Add special check for OS X (Zach)
196 * Fix configure check for perl so it doesn't segfault.
197 * Fix configure check for iconv, so it doesn't bork the freebsd port
198 * Iconv support really is mandatory now! I mean it!
199 * Fix transform_string_dyn(). How did nobody catch this??
200 * Add a function findchar_quoted() like strchr(), but honors \.s
201 * Use this in server descriptions to find the unquoted : after a PASS.
202 * This means you can \ a : in a password. yay!
203 * Nuke the "URLPASS" support. Let us never speak of this again.
204 * Two changes to timer.c from caf.
205 * Fix bugs found by --with-warns.
206 * Add a check in configure for -fno-strict-aliasing; could be used with -O2?
207 * Fix /parsekey reset_line so it sets the cursor to the end (for howl)
208 * Add /on unknown_set for howl (see UPDATES)
209 * Fix set_input(), which fixes history. yay!
210 * When /dcc causes nonblocking connect, tell the user so they know we tried
211 * Add 'c' option to $sar() and $msar() (see UPDATES)
212 * Revamp substitute_string() so $sar() and $msar() work as intended.
213 * Add a NONE_xform const to do null transformations.
214 * Release epic5-1.1.2 (commit 1638) (Trencherman)
215 * Fix build so it builds on mac os x, with or without macports perl.
216 * Fix brain-dead typo with /on unknown_set support
217 * Rewrite /bind transpose_characters in response to it being borked.
218 * Fix configure support so valgrind can be used (caf)
219 * Fix crash when you output to a window while it's being killed (caf)
220 * Fix memory leak with initialization of hook stuff (caf)
221 * Fix memory leak with realnames when a server is destroyed (caf)
222 * Change /bind previous_word and next_word to honor /set word_break
223 * Apparently the lastlog output stuff wasn't guarded properly by show_lastlog
224 * Refine fix for crash when you output to a window while it's being killed
225 * Use the length passed to write_server_ssl(), that's what it's there for (ce)
226 * Avoid null derefs with OMATCH/IMATCH/PMATCH in serverctl (ce)
227 * Fix /allocdump so it doesn't crash without a filename (ce)
228 * Fix for a bug that stopped "/xquote -u" inserting null chars.
229 * Fixed $serverctl([gio]match ...) to not return deleted servers.
230 * Improve performance in the main select loop. In practice, MAY require minor script alterations.
231 * Save the errno from a failed $dbmctl(OPEN) for $dbmctl(ERROR -1)
232 * Add $channelsyncing(#chan server) for tjh.
233 * Make $info(o) show "S" if OpenSSL was compiled in -- useful for crypto
234 * When starting /dcc nonblocking connect, don't worry the user with noise
235 * Display the original /window arglist on any syntax error.
236 * Remove ADD_STR_TO_LIST macro (caf)
237 * Add "from" window to adjust_context_windows, windows are killed (caf)
238 * Fix from_server getting lost in vsyserr (caf)
239 * Fix null deref in umode handler (caf)
240 * Add %G status expando, to return 005 NETWORK (caf)
241 * Friendlier ZNC support changes follow here...
242 * Allow multiple servers on same (host,port) with different passwords
243 * For now, neutralize adjust_window_refnums() until a proper fix (rb tjh)
244 * Caf noticed I fixed the wrong bug. oops!
245 * EPIC5-1.1.3 released here (Feculance) (Commit ID: 1656)
246 * Add $xform("+LEN" ...) which turns anything into a length (for ciphertext)
247 * Fix $xform("-FiSH" ...) for compatability with other implementations.
248 * Don't accept EAGAIN as a valid error code for connect (caf)
249 * Fix infinite loop bug with /userhost (caf)
250 * Fix memory leak with /who in certain error conditions (caf)
251 * Rewrite isonbase() so it handles longer nicks correctly (caf)
252 * Implement /lastlog -ignore, which shows everything EXCEPT the pattern.
253 * Add /xeval -nolog which suppresses logging for that command.
254 * Implement $dccctl([SG]ET refnum PACKET_SIZE num) for packet-buffering
255 * Implement $dccctl([SG]ET refnum FULL_LINE_BUFFER [01]) for forced line buff
256 * Implement $hookctl(CURRENT_IMPLIED_HOOK) for implied on hooks to know context
257 * Add "expire timeout" to lastlog entries
258 * Create do_expire_lastlog_entries() which wipes expired window output
259 * Add functions to "merge" logfiles/channels/output/timers to a new window
260 * Remove the scripted COMMAND_MODE feature, which interferes with /window merge
261 * Add /xecho -E which causes window output to get away after some seconds
262 * Add /window merge which collapses two windows into one and kills the other
263 * window->lastlog_size must be maintained for both giver and taker!
264 * Try to fix some infinite loops when cleaning up window lastlogs.
265 * Add fn name to many panics.
266 * Make /on set only throw once if the user types the canonical /set name.
267 * Automatically close all $dbmctl() open files on exit.
268 * Fix /lastlog -context (but only for the normal case. -reverse comes next)
269 * Update_server_from_raw_desc() was missing a clear_serverinfo().
270 * Improve error handling for /hostname errors.
271 * Add /xdebug no_color which turns off color support at the lowest level.
272 * Fix /lastlog -reverse -context, all done now!
273 * Don't allow $repeat() or $pad() to request strings > 1MB.
274 * Have the malloc-failed panic tell you how many bytes were requested.
275 * Add a feature to check for unreleased message_from contexts in main().
276 * Fix two missing message_from leaks in server handler.
277 * Fix the lastlog trimming, an infinite loop (caf)
278 * Increase detail when debugging output contexts (caf)
279 * Reformat some code, fix more display context leaks (caf)
280 * EPIC5-1.1.4 released here (Adumbration) (Commit ID: 1667)
281 * Fix lock-ups when killing windows by refining the safeguard
282 * Create slurp_elf_file/string_feof|fgets|fgetc, to front-end ELF files
283 * Change /load to use the string front-end functions
284 * This allows /load to work on pure strings, and decouples from files
285 * Create recode_with_iconv() to convert a string using iconv() (for /load)
286 * Add /load -encoding which lets you specify the encoding of the file
287 * This means you can load iso-8859-1 encoded files on a utf8 terminal!
288 * Fix various warnings from gcc -Wall
289 * Add a new /set DEFAULT_SCRIPT_ENCODING -- will be used soon!
290 * Call setlocale(LC_ALL, "") at start of main() to get locale info
291 * Fix slurp_file() (caf)
292 * Fix make installman, man page filename had changed
293 * Begin a major project to fix issues suggested by clang (Ancient)
294 * Fix xecho as suggested by clang
295 * Check retval of set[ug]id() just because it's good style
296 * Make sure "MAXPATHLEN" (bsd) is always spelled "PATH_MAX" (posix)
297 * Fix while as suggested by clang
298 * Re-comment translate_user_input() based on suggestion by ce
299 * Move add_wait_prompt() to a new home
300 * Fix whoreply() as suggested by clang
301 * All of the below were suggested by clang.
302 * Fix set_screens_current_window() and search_for().
303 * Fix a "use-after-free" when realloc() fails
304 * Fix or paper over string-overruns for a malformed globs
305 * Fix a memory leak when opening a compressed file fails
306 * Fix a corruption of from_server in vsyserr()
307 * Check the param to denormalize_string()
308 * Slurp_file shouldn't call stat() or check its retval
309 * Denormalize_string() should check its param
310 * And so should p_killmsg(), and dishonor kill msg if its malformed.
311 * Fix /while, /topic, and $repeat() in case of malformed arguments
312 * All of the above were suggested by clang
313 * More fixes suggested by clang that I'm too annoyed to list out.
314 * Even more fixes suggested by clang (most related to theoretical null derefs)
315 * Even more fixes...
316 * Rewrite /window move and /window move_to to make clang happy
317 * One final batch of updates by clang....
318 * Rewrite lastlog moving funcs to use windows ptrs instead of refnums (caf)
319 * EPIC5-1.1.5 released here (Gallimaufry) (Commit ID: 1683)
320 * Add /QUEUE -RUNONE
321 * Caf and jm confirmed that ircu doesn't use 307 for USERIP any more.
322 * ignorectl(DELETE) is not silent and it should be.
323 * To satisfy fedora packaging rules, accept DESTDIR for 'make install'
324 * Many printf() format fixes (caf)
325 * Many changes clang suggested
326 * Fix "topicbar" script to double quote "s for now.
327 * Fixed-skipped windows don't get channels from /window kill (unless no choice)
328 * Add $windowctl(REFNUMS_BY_PRIORITY) to give you windows by current-ness
329 * Add /lastlog -reignore (ce)
330 * Add $logctl(NEW)
331 * Add $logctl(LAST_CREATED)
332 * EPIC5-1.1.6 released here (Kakorrhaphiophobia) (Commit ID: 1693)
333 * Begin a big project to decouple status bar generation from window refresh.
334 * Create $status_oneoff() which lets you press a status bar on the fly.
335 * Fix configure and the build so it works with ruby 1.8/1.9/2.0
336 * Update the help script to work with the new website (credit <fill in here>)
337 * Make many changes based on suggestions by clang and scan-build
338 * Make the configure checks for ruby support more ruby executable names
339 * A few minor changes to the history.rb script for no reason
340 * Add /input -- to end arg processing so your prompt can start with hyphen
341 * Fix a typo bug that kept the correct status bar from being regen.
342 * Fix another issue with /window server that caused status not to be updated
343 * Add a VERY TEMPORARY /debuglog command for my use. Will go away soon!
344 * Fix status bar update problems (sigh)
345 * Update status bar from set_server_005s, so %G updates right away. (caf)
346 * Larnifications for incoming nicknames (caf)
347 * Add %{4}S status bar expando, always returns full "itsname"
348 * When checking Maildir for /set mail 1, ignore subdirectories (rb zlonix)
349 * Change string_fgets() to return the number of bytes read
350 * Always check servers at startup, even if user did -S.
351 * (They might have done /server in their startup)
352 * Change file_size() to use normalize_filename().
353 * This allows MAILDIR to support ~-expansion (ie, ~/Maildir)
354 * The sender can be omitted (such as with "NOTICE AUTH"), so don't check those
355 * New xmsglog script from zlonix
356 * Fix trimming support for $xform(). Plus, FISH should do trimming. (rb zlonix)
357 * Fix maildir support for /set mail 1 (help by zlonix)
358 * Update tabkey.ce from fudd
359 * Update xmsglog from zlonix
360 * Two new scripts, sasl_auth and idlealert from zlonix.
361 * EPIC5-1.1.7 released here (Kainotophobia) (Commit ID: 1705)
362 * Updated massmode from zlonix.
363 * All the stuff below are round 1 utf8 support for input line
364 * New file, wcwidth.c, utf8<->unicode conversion, unicode column counting.
365 * Revamp /INPUT system to be utf8 aware. callback 2nd arg is now const.
366 * Specifically, save the state of the input line across /INPUTs.
367 * -- This is stub code. needs to be completely fleshed out.
368 * Reformat keys.c so I can work with it easier
369 * Only bytes < 127 can now participate in binds. >= 128 are SELF_INSERT.
370 * I think the keybinding system can grow 'namespaces' which might be cool.
371 * The TRANSPOSE_CHARACTERS keybinding has passed away quietly.
372 * New keybinding DEBUG_INPUT_LINE to help me
373 * Revamp the edit_codepoint() system to work with unicode code points
374 * Screen input now collects bytes until it gets valid utf8 code points.
375 * Collect all of the input line data structures into Struct InputLine
376 * Give each screen it's own inputline with an eye towards stacking them.
377 * The ability to 'fake' input in dumb mode has passed away quietly.
378 * Completely revamp input.c to work with inputline data structure
379 * Change input line so users operate on "logical characters"
380 * Inputline data structure maps "logical characters" to bytes in input buffer.
381 * It's almost too overwhelming to describe specific details.
382 * Basically the input system accepts unicode code points, and stores in utf8.
383 * Things like cursor movement, column counting, side scrolling all Just Work.
384 * Even things like cut buffering work.
385 * HOWEVER -- it seems this stuff doesn't work in GNU screen. can't fix this. :/
386 * Internal function strext2() allows me to cut substrings out, for input buf.
387 * Fix input_delete_character(), it forgot to call retokenize_input()
388 * Fix term_inputline_putchar() so it doesn't mangle 0x9b (valid utf8 char)
389 * Fix $curpos(), sort of. Does this return byte offset or column offset?
390 * It used to be the same, but now it's not!
391 * InputLine.buffer_pos isn't used any more. Whack that.
392 * Test every keybinding, fix the ones that are broken.
393 * Fix handling of highlight chars
394 * Add "number_of_logical_chars" to input line so we can boundary check eol.
395 * Error if you try to /bind a high bit char -- that's illegal now.
396 * Test and fix composed characters (for mac os x)
397 * Teach the normalize_string, prepare_display, and output_with_count about utf8
398 * Since utf8 parsing is "consumptive", some utility funcs changed too
399 * Column counting/line wrapping in the display works correctly now.
400 * Fix read_color_seq().
401 * ... again.
402 * Fix screen prompts so they can recurse, and restore previous state!
403 * Fix line wrapping bug that zlonix found.
404 * Get column counting working for the status bar (rb zlonix)
405 * Re-implement /input -noecho
406 * Create a utf8 string checker
407 * Add "encoding=<stuff>" flag to /server descriptions to act as default.
408 * EG, /server host=irc.foo.com:encoding=ISO-8859-1
409 * Run every non-utf8 string from the server through iconv using def encoding
410 * Extend $chr() to accept U+xxxx strings
411 * Add function $unicode() converts input into U+xxxx strings
412 * Add recode.c, to hold stuff regarding /ENCODING and encoding xlates
413 * New command, /ENCODING, declare encodings for targets. only "console" now.
414 * Translate user input via /encoding console setting, defaults to utf8.
415 * Translate screen output to /encoding console setting
416 * Non-utf8 users now appear as utf8 users to irc!
417 * UTF8 users now appear as non-utf8 users to non-utf8 epic users!
418 * Automatically recode undeclared non-utf8 scripts using /encoding scripts
419 * Add Emojis (unicode 6) to the column counting code (rb Kitambi)
420 * Set /ENCODING CONSOLE automatically to nl_langinfo(CODESET) from LC_ALL.
421 * If the default codeset is "US-ASCII" then it's changed to ISO-885-1.
422 * In translate_user_input() try to detect utf8 typers using non-utf8 encodings
423 * Tell user if we're recoding a script at /load time.
424 * Fix slurp_elf_file() it was leaving a 0xFF at end of file, confusing /load
425 * Don't bind ^T to non-existing TRANSPOSE_CHARACTERS keybinding.
426 * Bump MAXPARA from 15 to 20 for RusNet
427 * Fix the UTF8 detector for user input
428 * Fix cursor left when switching zones to the left.
429 * Allow /set word_break to include high bit code points (rb fusion)
430 * To work around RusNET, forgive truncated utf8 sequences at the end.
431 * Fix /server , so it doesn't null deref.
432 * Add /lastlog -this_server and /lastlog -global for zlonix.
433 * Fix $windowctl(NEW) by forbidding status updates during window creation.
434 * Default /ENCODING CONSOLE to the user's locale, not to utf8.
435 * Re-implement /set allow_c1_chars for input line, display prep, and output.
436 * Fix diagnostic output of /encoding
437 * Comment out some stuff in term.c that isn't being used.
438 * Re-implement status repeat-char-fill for utf8. (rb fudd)
439 * Fix /xtype -l to be UTF-8 aware. (rb zlonix)
440 * When status updates are suppressed, make a note if an attempt is tried
441 * When status updates are permitted again, do an update_all_status() if defered
442 * Make /set lastlog do a scrollback redraw to "dispose" of extra lines
443 * Make /set lastlog refuse to set to a value < twice the biggest window.
444 * However, doing /set lastlog 0 WILL delete everything and clear every window.
445 * Have configure auto-detect your "local" directory (/usr/local|opt|/usr/pkg)
446 * Have configure use the auto-detected local directory.
447 * Reformat some parts of server.c
448 * Change the current window whenever we're processing server stuff.
449 -- This was withdrawn because it was very unpopular.
450 * Don't allow /window lastlog to set the lastlog too low.
451 * Add support for ITALICS (^P) (\020), including ITALIC keybinding.
452 * Add support for 256 colors. I should document all changes but i don't wanna
453 * Document all the places where encoding translation should happen.
454 * De-harshen some comments I wrote 20 years ago in anger.
455 * Fix colors with high bit set. (rb Hellfire)
456 * Change ^X so it only supports two hex digits 00-FF
457 * Fix QUOTE_CHARACTER (^Q)
458 * Lots of internal work to implement back-end of /encoding.
459 * Add decide_encoding() to evaluate rules and pick one for non-utf8 stuff.
460 * Add serverinfo_matches_servref() internal to decide if (si) works for a serv.
461 * Add outbound_recode() internal to translate messages we're sending out
462 * Add inbound_recode() internal to translate messages received from irc.
463 * Add recode_with_iconv_t() internal function for the above.
464 * Rewrite (inbound_recode()) privmsgs, notices, topics, all this good stuff
465 * Rewrite (outbound_recode()) msgs, notices.
466 * Withdraw the /server -encoding feature.
467 * Add /xdebug recode to debug recoding rules. Help you help me!
468 * Review the recode code and leave comments for future improvement
469 * Don't allow the user to delete the magic recode rules.
470 * Fix $tobase(<base> 0) to always return 0 instead of empty string.
471 * Fix $"", caused by accumulator in translate_user_input not being cleaned.
472 * Fix bug with /encoding found by zlonix.
473 * Make serverinfo_matches_servref() honor 005 NETWORK value.
474 * Add /encoding support for 311, 314, 322, 332, and 352 numerics (*gulp*)
475 * Leave notes to add support for outbound topic/kick/part/etc.
476 * Add /encoding support for CTCPs (reported by zlonix)
477 * Fix /encoding support for PARTs (found by zlonix)
478 * Add /encoding support for outbound KICKs/TOPICs/etc
479 * Create internal rfc1459_any_to_utf8 to preprocess before parse_server().
480 * Tokenize recode rule "target" at create time instead of every evaluation
481 * This is part of a larger code cleanup for recode.c
482 * Remove the per-message handling for /encoding since it's done globally now.
483 * Change vsend_to_aserver so it does recoding.
484 * This means outbound doesn't honor /set translation any more
485 * This requires send_to_server_with_payload() since payloads already recoded
486 * Fix typo causing payload not to be recoded properly.
487 * Missing a break. d'oh.
488 * Outbound messages should not be recoded if they're already utf8.
489 * Yes they must be! duh. Square all this away with zlonix.
490 * Fix send_text so it doesn't send non-utf8 text through /on send_msg
491 * Finnese invalid_utf8str() so it doesn't truncate partial cp's for non-utf8s
492 * Warn if we try to do double-outbound-recoding
493 * Be more sensible about handling string lengths in vsend_to_server()s.
494 * Add $^*var to 'quote everything' (except letters and digits)
495 * When recoding inbound, move server|payload part out of buffer first.
496 * Don't double decode the ircname in whoreply.
497 * Rewrite strformat() to be utf8 aware. This fixes $[9]var
498 * Rewrite $pad() to be utf8 aware.
499 * Allow char-based /set's to hold a utf8 code point (for /set pad_char)
500 * Fix typo in check_xdigit() that borked 256 colors
501 * Fix $status_oneoff() to repeat with space if status bar is empty string.
502 * Don't -1 the line len when passing to prepare_display(); already adjusted!
503 * De-confuse ctcp_type and sed_type in the /encrypt stuff
504 * Make encryption work again, with encoding (but not with recursive ctcps)
505 * Write special handling for (defering) recoding of CTCPs until decrypted
506 * Rewrite $left(), $right(), and $mid() to be utf8 aware.
507 * Make /FEC utf8 aware.
508 * Fix a double recode with outbound ctcps
509 * Extend send_text() with a new flag saying if text already recoded
510 * Don't double-recode ctcp's!
511 * Inbound recoding of CTCPs must happen *before* processing, not afterwards
512 * This fixes /encode + /encrypt + /me
513 * Convert $strlen() to utf8-aware, many others to follow
514 * Add new flag "CTCP_NORECODE" which tells do_ctcp not to recode first.
515 * This allows non-encryption ctcps to automatically be recoded.
516 * This fixes /me yet again.
517 * Create internal cpindex() and rcpindex(), like [r]sindex(), but works on CPs
518 * Adjust internal chop() to work on code points.
519 * Make a first pass to choke if /encoding argument is not valid locale.
520 * Write some more internal CP based functions in wcwidth.c
521 * Rewrite/ensure these functions are UTF8 aware:
522 strlen chop index rindex indextoword wordtoindex maxlen
523 * Write a half-finished reimplementation of $fix_width() that is commented out
524 * Fix rcpindex() when the search char isn't in the string
525 * Fix search_for() which makes $before() and $after() utf8 aware.
526 * Eliminate usage of internal sindex() -> strchr(), strpbrk(), or cpindex().
527 * Rewrite/ensure these functions are UTF8 aware:
528 strip split before after curpos
529 * At startup, create a (locale_t) that points to "en_US.UTF-8" for ctype funcs
530 * Create internal mkupper_l and mklower_l to convert codepoints to upper/lower
531 * Rewrite internal upper()/lower() to use mk(upper|lower)_l.
532 * This makes $toupper() and $tolower() utf8 aware. yay! And other stuff!
533 * Implement internal utf8_strnicmp and use it for my_str[n]icmp.
534 * This means things like case insensitive aliases work for non-english! yay!
535 * Rewrite/ensure these functions are UTF8 aware:
536 toupper tolower
537 * Add sanity check to next_code_point() to warn if i do something stupid.
538 * Revise next_in_div_list to take CP so $[m]sar() can take arbitrary delims
539 * Revise substitute_string to handle case insensitivity as utf8 aware.
540 * Rewrite/ensure these functions are UTF8 aware:
541 reverse rest pass sar msar
542 * De-emphasize toupper() and tolower(), which are not utf8 aware
543 * Comment out $shiftseg() until I learn more about it (needs utf8)
544 * Rewrite/ensure these functions are UTF8 aware:
545 center tr chrq insert
546 * Rewrite/ensure these functions are UTF8 aware:
547 substr rsubstr
548 * Fix many warnings suggested by the compiler
549 * Zlonix updated idlealert, sasl_auth, xmsglog, and added new_lastlog.
550 * I had added contrib/utf8.c and regress/test_xform3 regress/test_xform4.
551 * Fix many warnings/bugs suggested by clang's static analyzer
552 * Add sanity checking for encodings, so we can warn the user
553 * Specifically check the locale encoding for sanity, use ISO-8859-1 as fallback
554 * Warn the user if /encoding encoding is unusable -- and don't switch over.
555 * Put in references to two wiki pages I need to document
556 http://epicsol.org/encodings_and_locales
557 http://epicsol.org/encoding
558 * Server names can contain '*'s. (rb zlonix)
559 * Fix /topic when you don't supply a channel (rb zlonix)
560 * EPIC5-1.1.8 released here (Atavistic) (Commit ID: 1775)
561 * Fix from freebsd to avoid checking yes(1) as ruby executable in configure
562 * Create functions to enumerate what should be documented in wiki
563 * This is exposed via undocumented $help_topics() function.
564 * Explicitly set LC_NUMERIC to "C" because otherwise math parser breaks
565 * Reset /window activity when a window becomes current (as in /window notified)
566 * Create stub for $encodingctl(), and spec it, but not implemented yet.
567 * Create internal time_since_startup() function (for eventual load logging)
568 * recode.c needs to include <xlocale.h> because of newlocale(3).
569 * Add new "source" flag to recode rules, to tell user where rule came from.
570 * Implement $encodingctl().
571 * RecodeRule->magic wasn't being set correctly.
572 * Output the recode rule refnum for /encoding
573 * Rewrite internal fix_string_with(), with new chop_[final_]columns() funcs.
574 * Extend $fix_width() to support 'c'enter and 'r'ight justify, and UTF8 aware.
575 * EPIC5-1.1.9 released here (Desquamation) (Commit: 1780)
576 * Fix compile error in function_help_topics
577 * EPIC5-1.1.10 released here (Desquamation) (Commit: 1781)
578 * Updated sasl_auth (v1.2) from zlonix
579 * Fix input lines being blank on non-main screens (set output_screen)
580 * Fix not being able to chain /INPUT's together (reset input line before callb)
581 * DO NOT set the window when handling server (very unpopular)
582 (* Change the current window whenever we're processing server stuff.)
583 * Rewrite add_window_to_screen/remove_window_from_rewrite
584 * Rewrite recalculate_windows.
585 * This fixes screen corruption when creating wins or shrinking your screen.
586 * Fix a bug where UPDATE_STATUS could get ignored (introduce FORCE_STATUS)
587 * Remove /set translation and all its stuff.
588 * Don't unforce the status bar until it's actually been redrawn.
589 * Set a window's screen before hiding it on /window new_hide (rb fusion)
590 * Fix rogue semicolon.
591 * Fix a null deref in creating new window when all other windows are fixed
592 * Fix some bugs that clang static analyzer found
593 * Fix where /set -continued_line led to strange denormalize behavior (rb Tilt)
594 * Add tmux support for /window create, (zlonix)
595 * Fix all calls to iconv() so they follow standard (2d arg -> (char **))
596 * Revamp do_crypto() to recode messages after decryption. Somehow missed this
597 * Add comments to various functions that I think deserve it.
598 * Windows added to screens must have their "my_cols" set!
599 * Add support for detecting iso2022-jp for fusion (Japenese non-utf8 encoding)
600 * Plaster over two lame clang warnings in if.c so i don't have to look at them.
601 * Don't #include "wcwidth.c" from ircaux.c, compile on its own
602 * Make next_code_point() self-synchronizing; callers doesn't have to handle err
603 * Update for topicbar from zlonix (rename topicbar.purge -> datapurge)
604 * Modify next_code_point() to allow re-syncing or error reporting.
605 * This fixes a bug where invalid_utf8string was broken (rb zlonix)
606 * Adjust the wrapping point for long lines without breaks (rb fudd)
607 * Remove /set default_script_encoding (superceded by /encoding scripts)
608 * Remove /set high_bit_escape (superceded by /encoding console)
609 * When i rewrote recalculate_windows() forgot to call window_check_columns()!
610 * $read() will using /encoding scripts to convert non-utf8 strings. (temp!)
611 * Fix next_code_point() to skip bytes, not increment them (fusion)
612 * Don't permit /set no_control_log to overrule mangling
613 * Improve the warning for /set dcc_use_gateway_addr for ipv6 only conns
614 * Don't use/require /hostname to be set for /server connections, (rb stygian)
615 * Fix connecting to server w/o vhost (caused by previous commit)
616 * Fix a crash with ^L when there is a dead screen (rb zlonix)
617 * Fix a crash with /window create (rb zlonix)
618 * Do not allow add_to_log() to be recursive, an invalid rewriter can cause
619 [error] output, leading to infinite recursion (rb tjh)
620 * BTW, to do timestamping in logfiles, try
621 /@logctl(SET 2 REWRITE "\\($strftime(%b %d %X)) $$0 $$1-")
622 * Add $windowctl(REFNUMS_ON_SCREEN <winref>) to get all wins in screen order
623 * Fix configure check for socks5 (binki at gentoo dot org) -- Thanks!
624 * If after resize, scrolling view is "too high", do an /unclear (rb desaster)
625 * Get_subarray_elements (ie, /foreach) does NOT honor "type" arg and it should
626 * This fixes /foreach -cmds i {....}. Odd that nobody noticed this...
627 * Allow ~'s in nicknames because ircnet permits it. (rb Harzelien)
628 * New sasl_auth script from zlonix
629 * Add recoding support (ie, UTF8 support) to send/recv msgs from /exec procs.
630 * Don't whine that your irc hostname is invalid until /dcc fails because of it.
631 * Fix null deref when looking up a variable that exists but not as a variable
632 * Fix recoding /exec's by having the "target" be "%<name>", like /msg works.
633 * Don't let /ignore hop msgs cover up /ignore #epic joins
634 * Allow ` in nicknames for ircnet. (caf)
635 * Two scripts from zlonix, scripts/user_list scripts/tmux_away
636 * Fix build on systems without <xlocale.h>, newlocale() [FreeBSD-8]
637 * Rewrite target_file_write() to support the expected syntax
638 * Rewrite $write() and $writeb() to use new target_file_write() properly.
639 * Remove frivolous fprintf()s to stdout.
640 * These features were suggested by Roca He, who is doing a research project
641 on inproper OpenSSL API usage by open source software.
642 * Output the SSL protocol upon connect (SSL_get_version())
643 * Call SSL_CTX_load_verify_locations() to load root CAs. Need to /set-ify this
644 * Call SSL_get_verify_result() to validate certs whenever possible.
645 * Extend /on ssl_server_cert with $4=SSL_get_verify_result()
646 * Extend /on ssl_server_cert with $5=SSL_get_version()
647 * Refactor ssl_connected() with comments and clarity.
648 * Fetch a SSL server's certificate (including subject, issuer, pkey, and digest)
649 * Extend /on ssl_server_cert with $6=SSL digest (+URLified))
650 * Someday, we'll save the ssl_certificate and cert_hash in the server struct
651 * Someday, we want ssl.h to save all the metadata, for non-servers.
652 * Add new argument "snap" to add_timer(), for determining initial timeout.
653 * Updated tmux_away, userlist script (zlonix)
654 * Fix bug in target_file_write() not properly handling @W/@L/@ref
655 * Refactor the timer subsystem with comments and clarity
656 * Add /TIMER -SNAP which allows you to run timers "at the top of the interval"
657 * Make /timer option processing similar to other commands
658 * Add comments to make the timer API more clear and robust.
659 * Revamp add_time() to add snapping, and handle updating better
660 * Add /SET SSL_ROOT_CERT_LOCATION to pass to SSL_CTX_load_verify_locations
661 * Add script 'find_ssl_root_certs' which sets SSL_ROOT_CERT_LOCATION for you.
662 * Have 'find_ssl_root_certs' loaded by 'global'
663 * Fix very many warnings recommended by clang.
664 * Use X509_verify_cert_error_string() to get SSL verification explanation
665 * Revamp /load find_ssl_root_certs after discussions with folks.
666 * Signficantly revamp ssl.c, to make clearer, and save metadata of connection
667 * This is so in future, $serverctl() may provide SSL info to user/script.
668 * Create $serverctl(GET refnum SSL_<*>) operations for SSL info (see UPDATES)
669 * CIPHER VERIFY_RESULT PEM CERT_HASH PKEY_BITS
670 * SUBJECT SUBJECT_URL ISSUER ISSUER_URL VERSION
671 * New function $chankey() -- similar to $key(), but can specify servref.
672 * Support inbound recoding of dcc chat messages.
673 * (Outbound recoding of dcc chat messages was already supported)
674 * This means that dcc chat (including ctcp-over-dcc) is now utf-8 aware.
675 * This concludes the UTF-8 project. EPIC5 is now fully UTF-8 aware.
676 * Change /set ssl_root_cert_file to /set ssl_root_cert_location
677 * Change default ^X binding back to SWITCH_CHANNELS
678 * Add a callback to /set ssl_root_cert_location to help with auto-detecting
679 * Don't /load find_ssl_root_certs by default, since it's auto-detected
680 * Updated 'layout' script from zlonix.
681 * This means /set -ssl_root_cert_location uses openssl default suggestions
682 * For crypt.c and crypto.c, "key"->"password" for passwords
683 * For crypt.c and crypto.c, "key"->"crypt" for crypt struct objects
684 * Remove #ifdef HAVE_SSL's in crypt.c, because ssl is required now.
685 * Change crypt's primary key to be target only, not target+crypt type
686 * Add /encrypt -remove to remove an entry more simply
687 * Make errors for string transformations and ctcp encodings more verbose
688 * EPIC5-1.1.11 released here (Lucubrations) (Commit: 1810)
689 * Use pending-nickname if we have one as the default nickname on reconnect (caf)
690 * Add @serverctl(SET refnum UMODE ...) to overrule reconnect umodes
691 * Handle /SET -SSL_ROOT_CERTS_LOCATION in set_root_certs_location (caf)
692 * Eliminate some avoidable uses of strcpy/strcat/sprintf for the pedantic.
693 * Move the uncompleted wishlist items to the web-based wishlist
694 * Signficantly rewrite the shebang (-S) command line option to remove strcpy()s
695 * Increase the padding for SHA256 xforms to avoid a buffer overflow (caf)
696 * -- I switched to git here --
697 * "Make install" modified permissions in the tree. Ew. Take that out.
698 * EPIC5-1.2 released here (Deracination) (Commit: 1816)
699 * Always #define UNAME_HACK; don't return detailed OS info on CTCP VERSION
700 * OK, a compromise -- don't #define UNAME_HACK, but don't show OS version.
701 * Fix a crash when you do $splitw("" abcd)
702 * Make sure /encoding shows a builtin rule is "Set by User" if user changes it
703 * Internal function new_split_string() is like split_string() but utf-8 aware
704 * Rewrite $splitw() to use new_split_string(), so it's utf8-aware! yay!
705 * Fix warnings about libarchive and abs() from clang
706 * Fix warnings from ubuntu as a special favor to wjr.
707 * I can't believe it's so difficult to believe "I don't care if this fails"
708 * More complier warnings from gcc-4.9
709 * Final compiler warning, from openbsd this time.
710 * Lots of OS's and compilers checked. Looks good!
711 * Final warning fixed!
712 * Refuse to recurse more than twice in send_text() to avoid infinite recursion
713 * Fix crash if you try to clear an /encoding rule that doesn't eixst.
714 * Refactor deleting a recode rule into a func and have everyone use it (rb des)
715 * "Valid UTF8" requires something other than a broken code point at end (rb des)
716 * Treat ^C99 as a bare ^C, because of other clients (rb wuf)
717 * Turn #define use_automargins on for now
718 * Add /SET FIRST_LINE which will be prefixed to all lines of output.
719 * Do a term_clreol() at the START of output, not the end
720 * This allows us to write to the last column of the display!
721 * Just /set -continued_line and /set first_line @ (or whatever)!
722 * You _MUST_ use an automargin TERM (ie, export TERM=vt102am) for this to work
723 * EPIC5-1.4 released here (Sententious) (Commit: 1833)
724 * Fix null deref when you used an implied unary operator in expression stmt.
725 * Fix call stack dumping, which was missing a frame, null derefing (caf)
726 * Add /on raw_irc_bytes for caf - raw, unfiltered data from server
727 * Fix dcc resume (caf)
728 * Be reasonable handling DCC ACCEPTs where DCC RESUME was not requested (caf)
729 * Fix dcc resume again (caf)
730 * Ensure translate_user_input() passes nul terminated string to n_c_p (caf)
731 * Fix memory leak with sanity_checking_encoding() (caf)
732 * Fix memory leak with bind_string_comporess() (caf)
733 * Fix $bindctl(SEQUENCE .. SET ..) when find_sequence() fails (caf)
734 * Below two items were reported by Felix Janda
735 * Musl C library (for linux) doesn't support sys_siglist, and our shim fails
736 * Don't require sys_siglist to be present to build epic; just remove features
737 * Eventually I'll build something into epic to do this at startup.
738 * Fix clueless function get_all_server_groups() (rb ce)
739 * Proper signal numbers start with 0. (0 is permitted by some systems) (fj)
740 * Fix preserve_serverinfo() when the hostname is an ipv6 paddr.
741 * Deprecate the use of strformat() which can't count columns correctly
742 * Add truncation to fix_width(), to allow the below...
743 * Fix $[len]var to use fix_width(), for well-defined behavior (see UPDATES)
744 * Fix $pad() to use fix_width(), for well-defined behavior (see UPDATES)
745 * Hide all the SSL debugging chatter behind /xdebug SSL
746 * Add /window log_rewrite, to overrule /set log_rewrite on window logs
747 * Add /window log_mangle, to overrule /set mangle_logfiles on window logs
748 * Remove prohibition from /query'ing an exec process that doesn't exist
749 * For musl libc (linux), eliminate use of sys_siglist and sig.inc.
750 * Roll our own signal names at runtime (ie, SIGHUP -> "HUP")
751 * This fixes /exec -SIGNAL %process.
752 * Support iconv()s that don't support //TRANSLIT (Felix Janda)
753 * Fix /load guh, it had an old-style C comment
754 * Eliminate LocalHostName in favor of LocalIPv(4|6)HostName
755 * If your Vhost does not resolve in the family you're using, use fallback
756 * Use the protocol-specific vhost when registering with the server
757 * The following fixes make /load ../regress/func work again
758 * Fix a crash with $after(1). There are more bogons downwind here.
759 * Fix cpindex() and rcpindex() which fixes $index() and $rindex().
760 * Fix $tr() to behave the way it is documented
761 * Change transform_string_dyn() to return the bytes in retval, not it's size
762 * -- I hope this doesn't break anything else!
763 * EPIC5-1.6 released here (Usufruct) (Commit: 1854)
764 * Remove non-utf8 characters (rb Felix Janda)
765 * These bug fixes from caf
766 * Report getsockopt() errno and result in the right order (caf)
767 * Prevent memory leak after /DUMP (caf)
768 * Fix a memory leak in $bindctl(SEQUENCE .. SET ..) (caf)
769 * Fix memory leak caused by $open(file R) when file is executable (caf)
770 * Fix memory leak in /ASSIGN <name> (caf)
771 * Fix memory leak in $close() (caf)
772 * Stop looping in $delitem() after the entire array is deleted (caf)
773 * When deleting the only item in an array, $delitems() should return 0 (caf)
774 * Thanks to caf for his bug hunting and fixing! :)
775 * Fix false positive memory leak from using VALGRIND_MEMORY_TRIM (caf)
776 * Fix false positive memory leak deleting local variable stack at exit (caf)
777 * Fix memory leak when deleting server (caf)
778 * At the request of gentoo, the following patches and requests...
779 * Change highlight chars (^V) to #def's (REV_TOG_STR) because file(1) is weak
780 * Fix tcl, ruby, perl, libarchive support to be more gentoo friendly (binki)
781 * (We had already applied their socks patch a long time ago)
782 * Remove 'localhost' from IRCSERVERS default list - default is efnet now.
783 * The patches were for autoconf-2.60, so some changes were made
784 * End changes requested by gentoo
785 * Fix to make --with-localdir more gentoo friendly (binki)
786 * Fix to make parallel builds work better for gentoo (binki)
787 * Make /set logfile behave more like /log filename (see UPDATES)
788 * Make /window logfile behave more like /log filename (see UPDATES)
789 * Ooops. Should have tested that better.
790 * EPIC5-1.8 released here (Perlustration) (Commit: 1862)
791 * Fix memory leak with closing ssl cnnections (caf)
792 * Fix memory leak with servers that never get connected (caf)
793 * EPIC5-2.0 released here (Gamboling) (Commit: 1864)
794 * Call setgid() before setuid(), for best practice (caf)
795 * Fix off-by-one error with printing OpenSSL strings (caf)
796 * Don't output the full SSL certificate for a server (caf)
797 * When (re-)connecting, use the hardcoded server description nick (rb larne)
798 * Fix utf8_strnicmp(), which broke $uniq() (robo, caf)
799 * Fix null deref when a server has no CA (caf)
800 * Remove a couple of unused variables in ssl handling (caf)
801 * Fix crash when you $close() an fd from $exec() [rb CE]
802 * Reformat all the ./configure --help outputs [rb skered]
803 * EPIC5-2.0.1 released here (Indolence) (Commit: 1869)
804 * Revamped maildir support to count both 'new' and 'cur' (wcarson)
805 * Optimize maildir support so it's as fast as possible (wcarson)
806 * Fix uninitialized pointer of window->log_rewrite (rb Q)
807 * Fix handling of <locale.h> for CentOS 5.11.
808 * new_timer() should initialise ->domref (caf)
809 * Remove unnecessary window->screen check in hide_window() (caf)
810 * Remove double-setting of *outbound in check_recoding_iconv() (caf)
811 * banner() should use %d for printing current_numeric (caf)
812 * inet_vhostsockaddr() should use %d to print port (caf)
813 * Simplify expression in show_key() (caf)
814 * Remove doubled-up SIGABRT from init_signal_names() (caf)
815 * In transform_string_dyn() don't use my_dest_str_len without testing for NULL (caf)
816 * Make output size check more robust in fish64_encode() / fish64_decode() (caf)
817 * Remove unused function slurp_file() (caf)
818 * Fix $ignorectl(WITH_TYPES ...) when only exceptive ignores are supplied (caf)
819 * Remove unnecessary double-setting of window_display (caf)
820 * Loosen overly-tight restrictions from $hookctl(SET .. SERIAL) and $hookctl(SET .. NICK) (caf)
821 * Fix /USLEEP for fractional second delays (caf)
822 * Add ( ) around constants declared as macros using shift operator (caf)
823 * Include output.h in compat.c for yell() (caf)
824 * Don't lower-case the channel name passed to whobase() (caf, rb white)
825 * Only populate server->uh_addr when it's needed, to avoid spurious warning
826 * Extend new_close() to new_close_with_option() allowing callers to manage fd
827 * This is used for python fd handling.
828 * Make new_io_event() actually support NEWIO_NULL (no io callback)
829 * Python support merged into 'master' here.
830 * Add new_open_failure_callback() which allows getting a callback on dead fd.
831 * Add %{1}P status bar variable, "prefix when (not) current" (see UPDATES)
832 * Add /set status_prefix_when(_not)_current variables, default to empty string
833 * Add /window status_prefix_when(_not)_current operations, default to nothing
834 * Convert CTCP data structures from static arrays to a bucket
835 * Initialize hardcoded CTCPs at boot time
836 * Guard against null deref when changing lastlog and/or scrollback at same time
837 * Overhaul ctcp.c so there are no more magic integers used as foreign keys.
838 * Fix a core and leak to do with /userhost and /ison queues (ce)
839 * Revamp/unify do_ctcp() and do_notice_ctcp() to reduce code duplication
840 * Change send_ctcp() to take a boolean int rather than a string for first param.
841 * Simplify the CTCP flags to just "ordinary" and "special", with "raw" (or not)
842 * CTCPs are "raw" if they need the original payload, or not if payload is string
843 * CTCPs are "special" if they handle everything themselves (/me, /dcc)
844 * Enforce anti-botnet CTCP reply flooding on the /CTCP side, not request side
845 * (That way, CTCPs that don't generate responses are not throttled)
846 * Implement $ctcpctl() to register user-defined ctcp handlers. (see UPDATES)
847 * Add $ctcpctl(ALL) for CLIENTINFO purposes.
848 * Create /load ctcp, some basic CTCPs implemented in script
849 * Make /load builtins do a /load ctcp
850 * Comment out some basic CTCPs from the base client -- yay!
851 * Treat empty return strings from ctcp handlers as "not handled"
852 * Initialize status.prefix_when_(not_)current in new windows.
853 * Create a distinction between CTCPs that replace their bodies and themselves
854 * via $ctcpctl(SET <type> REPLACE_ARGS 0|1) [see UPDATES]
855 * Rewrite CTCP PING handler, create CTCP UTC handler
856 * Fix ipv6 p-addr vhosts for /server (rb wcarson)
857 * Add /exec -wintarget, output to any old window (rb wcarson) (caf)
858 * EPIC5-2.1.1 released here (Abulia) (Commit: 1898)
859 * Improve perl support (remove warnings) (caf)
860 * The : before final param is part of the syntax, not the message (caf, rb trn)
861 * Fix bug in previous patch
862 * Don't include <term.h> unless it's needed, because of ruby-2.7 support
863 * Modernize ruby support while we're at it (checked with 2.3/2.6/2.7)
864 * Add "passthrough read|write" support to newio, for python.
865 * Change python's "epic.xecho" to not default force -s by default
866 * Change python's @on decorator do a ^on so it's silent
867 * Fix a couple of compiler warnings suggested by new clang.
868 * Add _epic.callback_when_readable and _epic.callback_when_writable for python
869 * They take a python callback, and dispatch when an fd is ready.
870 * This allows python scripts to submit an fd for callback with newio.
871 * Call PyErr_Print() on an exception. This is "noisy", but i needed it for debug.
872 * Eventually we have to be able to do this on our own.
873 * Add /pyload shortener -- an in-client url shortening redirecting proxy!
874 * Capture STDOUT and STDERR from python, redirect to /echo.
875 * Pull out the python init code into its own function
876 * Don't try to fancy-print exceptions, now that we're capturing stderr.
877 * Add count_initial_codepoints() to convert a ptr to something for $mid()
878 * Change $regmatches() to use count_initial_codepoints().
879 * Fix a dumb warning from clang about pointer arithmetic.
880 * Revamp /exec to behave regularly so we can treat %proc as real targetsa (see UPDATES)
881 * Add /on send_exec so you can reformat messages being sent to exec procs
882 * Add $uuid4() -- it returns UUID4s!
883 * Add /exec -nolaunch so you can build an /exec before starting it.
884 * Add $execctl() -- see UPDATES
885 * EPIC5-2.1.2 released here (Lugibrious) (Commit: 1908)
886 * Fix count_initial_codepoints() - it couldn't return 0
887 * This fixes $regmatches() for wcarson
888 * Add /window delete_kill (rb Harzilein)
889 * Fix /wait %proc (caf, rb wuf)
890 * Fix chmod() to not use ancien S_IREAD/S_IWRITE (S_IRUSR) (rb Tilt)
891 * Support /window -<operation> to pass in NULL to window op
892 * Seed all window operations with no-op handlers for NULL
893 * Don't discard DNS results for server until we get to ACTIVE
894 * Add a stub for $inputctl() -- future expansion.
895 * Add %{5}S status expando -- the server status (ie, "ACTIVE")
896 * Signficant refactoring of server.c/server.h
897 * - Change the term "server status" to 'server state" everywhere
898 * - Reorganize Server object to show what values are filled in by each state
899 * - Make all server.c functions static whenever possible
900 * - Remove all server.c functions not used anywhere
901 * - Remove all server.h decls not used anywhere
902 * - Remove unused variables in Server and other structs
903 * - Remove extern server_list[] and make get_server() an ordinary function
904 * - Remove extern server_states[] and create get_server_state_str()
905 * - Document many more things to make it more understandable
906 * - Drive the determination of "ircop" from your umode, not from a variable
907 * Add /on server_state to duplicate /on server_status for now
908 * Support $serverctl(GET x STATE) to duplicate GET STATUS
909 * More refactoring of server.c/server.h ssl support
910 * - Remove unused fields and getters/setters
911 * - Defer all "is this ssl?" questions to the ssl module
912 * - Rename "is_ssl_enabled()" to "is_fd_ssl_enabled()"
913 * - Rename "get_server_isssl()" to "get_server_ssl_enabled()"
914 * - Remove trying to track ssl enablement separately
915 * - Since openssl has been required for a while, remove "ssl is missing" stuff
916 * - Avoid setting the server state directly (ie, avoiding /on server_state)
917 * If something goes wrong in do_server(), just close_server()
918 - If a server is connected to a window with more addrs, it'll resurrect
919 * Add $inputctl(GET|SET CUTBUFFER), manipulate the cut buffer. See UPDATES
920 * Fix /load help.irc - point to correct url
921 * Remove some commented out code before release
922 * window_next() and window_previous() can accept nulls from SWAP_NEXT_WINDOW
923 * Add /window unclear -- why did this not exist?
924 * If a Python callback fails, call the except; if that fails, give up on fd
925 * /PYDIRECT without args needs a usage message
926 * Support /timers with /unload (rb zlonix)
927 * New version of epic.py and shortener.py from skully -- he asked for testing
928 * Improve the code in vars.c
929 * - Change 'flags' to 'pending' since that's all it is used for
930 * - Change $symbolctl() to support both FLAGS and PENDING for the symbols
931 * - Make get_string_var() return a const ptr so people don't change it
932 * - Make make_string_var_bydata() take an (IrcVariable) since that's easier
933 * Crank up the warning flags and start addressing things
934 * - Add a test in configure for __attribute__((fallthrough))
935 * - This allows the use of FALLTHROUGH to shut up warnings.
936 * - Improve a lot of const correctness issues
937 * - Fix other bogons it pointed out (d'oh!)
938 * Fix my_ctime() to honor that ctime() can return NULL.
939 * EPIC5-2.1.3 released here (Redound) (Commit: 1926)
940 * Fix configure on mac when you do --with-ssl=/path/to/somewhere (rb archon)
941 * Fix configure for systems where "gcc" is c99-only
942 * Add "verbose" flag to sanity_check_encoding()
943 * This is needed in init_encodings() to not output too early. (rb wcarson)
944 * Don't make a lack of CP437 locale a boot failure (rb wcarson)
945 * A lot of work was done on configure to support macports better.
946 * Fix where NSIG was decld in irc_std.h (caf) (rb CE)
947 * Add /ON CHANNEL_CLAIM and /WINDOW CLAIM (see UPDATES)
948 * Exempt claimable channels from referential integrity checks
949 * Add $uuid4(NODASHES) to get uuids without dashes
950 * $windowctl(GET x UUID) -- every window has a hash-free UUID now
951 * Allow windows to be reffed by their UUID in /window
952 * Revamp how channels get claimed (I like this better) to be channel-driven
953 * Fix get_window_by_desc() (rb Harzilein)
954 * Migrate configure to autoconf-2.69.
955 * Round two of getting configure working with 2.69
956 * Round three of getting configure working with 2.69
957 * Round four of getting configure working with 2.69
958 * Get configure to support Python 3.8+
959 * EPIC5-2.1.5 released here (Fecund) (Commit: 1945)
960 * Add "ssl_checkhost" field to server descriptions
961 * Make ssl_startup() require a hostname for ssl hostname checks
962 * Add ssl_get_checkhost_status() to return ssl hostname check
963 * Fix a place where we don't check the retval of alloca()
964 * Remove the "ENCODING" field from server descs which went away long ago
965 * Ensure "ssl-checkhost" is preserved through serverinfo changes/updates
966 * Perform hostname checking on ssl server connections and abort if failed
967 * Change "ssl-checkhost" to "ssl-strict"
968 * Make ssl strict checking require both the cert and hostname pass muster
969 * Change ssl_info.ssl_fd to "ssl" to confuse me less
970 * Check for self-signed certificates and pass it in /on ssl_server_cert
971 * Add support for getting SANs out of an SSL certificate (rb wcarson)
972 * Add $serverctl(GET x SSL_STRICT_STATUS)
973 * Add $serverctl(GET x SSL_SANS)
974 * Remove $serverctl(GET x SSL_STRICT_STATUS)
975 * Add /on SERVER_SSL_EVAL (see UPDATES)
976 * Add /set ACCEPT_INVALID_SSL_CERT (see UPDATES)
977 * Remove per-server server "strict status" in server desc
978 * Add "accept_cert" per server, to track whether we accept the ssl cert
979 * Add $serverctl(GET x SSL_CHECKHOST_RESULT)
980 * Add $serverctl(GET x SSL_SELF_SIGNED)
981 * Add $serverctl(GET|SET x SSL_ACCEPT_CERT) (see UPDATES)
982 * Add /SET SSL_CIPHERS (see UPDATES)
983 * I forgot to implement the use of /SET SSL_CIPHERS. oops
984 * I made signficant changes, so the above probably obsolete now
985 * Create an object (ssl_cert_error)
986 * Start tracking *every* ssl cert verification error
987 * Treat ssl verification errors as tiered problems
988 * ie, self-signed is not as bad as bad-hostname not as bad as others
989 * Revamp things like "verify_result", "self_signed", etc to errors
990 * ie, verify_error, checkhost_error, self_signed_error
991 * Add a new "other_error" and "most_serious_error"
992 * Try to emulate the old policy behavior (pending more work)
993 * I need to document the flow and /on's and /set's in UPDATES
994 * Change $serverctl()s
995 * serverctl change: SSL_VERIFY_RESULT -> SSL_VERIFY_ERROR
996 * serverctl change: SSL_CHECKHOST_RESULT -> SSL_CHECKHOST_ERROR
997 * serverctl change: SSL_SELF_SIGNED -> SSL_SELF_SIGNED_ERROR
998 * serverctl change: new: SSL_OTHER_ERROR
999 * serverctl change: new: SSL_MOST_SERIOUS_ERROR
1000 * Reorg ssl.c because it was getting too jumbled to follow
1001 * Ensure every function is decld static or is in header file
1002 * Group functions by their subject area
1003 * Only create on (SSL_CTX) for all global use now
1004 * Don't bother pretending we support being an SSL server.
1005 * Create a SSL verification callback that tracks/sorts every error
1006 * This allows us to catch multiple problems (self-signed, bad hostname)
1007 * We see multiple errors on efnet, for example
1008 * Change find_ssl() to get_ssl_info() so its named after data type
1009 * Roll Bad Hostname check into main SSL verification instead of extra step
1010 * (OpenSSL discourages you from doing it as an extra step)
1011 * I need to review /on ssl_server_cert for sanity and document it
1012 * Remove the now superfluous notion of "strict status" checking
1013 * Remove the bogus stubs for #ifndef HAVE_SSL since that's not supported
1014 * Make widening the screen honor /window scrolladj
1015 * Sync all /window operations in tabkey.ce
1016 * Re-sort the /window operations list ("claim" was in the wrong place)
1017 * Document $json_explode(), $json_implode() and $json_error()
1018 * Add winref as $2 in /on channel_lost
1019 * Remove tracking of "cursor window", a thing we haven't supported in 25 years
1020 * Add support for (arglist) {block} statement type
1021 * Add /window clearlevel <levels> (rb zlonix)
1022 * The #define DEFAULT_STATUS_HOLDMODE was different from UPDATES and irregular
1023 * Fix many things clang's static analyzer pointed out.
1024 * Add /on reconnect_required (sb zlonix)
1025 * /WINDOW winref SERVER servref should no-op if it's already that way.
1026 * Add /window clearregex <regex> (rb zlonix)
1027 * When printf()ing (time_t)s, always cast to (intmax_t) and use INTMAX_FORMAT
1028 * When processing CTCPs with a script, don't short out /on ctcp or verbse_ctcp
1029 * Add $serverctl(GET x PADDR) returns the p-addr of a connected server.
1030 * Fix /server + so it correctly rolls over to server 0.
1031 * Add $serverctl(GET x OPEN) [don't forget to document this]
1032 * Set parsing_server_index around server errors so /timers create correctly
1033 * Fix missing else causing all ssl cert's to be accepted
1034 * Add support for tilde-expansion for /set ssl_root_certs_location
1035 * If a server fd does not map to any server, close it.
1036 * Updated version of 'reconnect' from zlonix.
1037 * Convert our bundled test.c to be minimal c99 to avoid warnings
1038 * Don't permit /reconnect on servers that are actively working
1039 * /RECONNECT must not default to the current input window (bah)
1040 * Reconnect script should use /server +refnum, not /reconnect
1041 * Reconnect script should only do /server + on servers with groups
1042 * EPIC5-2.1.6 (1981) (Impignorate) released here
1043 * Add debuglog testing for /window search_back (for fusion)
1044 * Strip all attributes when regex()ing /window search_back
1045 * Fix warnings on mac os x 12 (rb skered)
1046 * Add support for json object arguments ("kwargs")
1047 * Add support for kwargs for $json_implode(): "root", "compact" (rb fusion)
1048 * Add support for tcl8.6 -- run 'make makedepend'
1049 * Remove dead code that was #if 0'd out for a long time.
1050 * Make /pretend object when you're disconnected (rb skered)
1051 * Change panic() to setjmp/longjmp back to main() instead of exit()
1052 * Fix bugs with the new panic stuff.
1053 * Add 'colors' and 'sasl_nistp256' scripts from zlonix
1054 * Fix crash when you switched to AESSHA /encryption (rb zlonix)
1055 * Add configure check for newlocale() for slackware 15 (rb fusion)
1056 * Some CTCPs are "restartable" (encryption types). (rb zlonix)
1057 * Add $serverctl(GET x NEXT_SERVER_IN_GROUP)
1058 * New reconnect script (zlonix)
1059 * Fix $realpath(); the 2d arg to normalize_filename is (Filename) (zlonix)
1060 * Permit /lastlog -file to support ~-expansion (zlonix)
1061 * /ON RECONNECT_REQUIRED only gets thrown when connected!
1062 * Permit status bars on hidden windows to be generated in the ordinary way
1063 * Add /set broken_aixterm for silly emulators that don't support bold+color
1064 * Add ?? binary operator (coalesce), same priority as || ("DOR")
1065 * A /window clear on a notified hidden window requires a full status regen
1066 * Add $serverctl(DONT_CONNECT 1) to trigger the -s command line option
1067 * Add $rgb() function to convert rgbs to 256 color (first try at this)
1068 * Add support for ^[[38;2;r;g;bm (and 48-2) color codes
1069 * Prefix $rgb() with ^X for skered
1070 * Change hardcoded \003 and \030's to macros.
1071 * Add $rgb({...}) and $rgb{#RRGGBB) (see UPDATES)
1072 * EPIC5-2.1.7 (2011) (Cinereous) released here
1073 * Add /set automargin_override (for skered) - always turn on automargins
1074 * De-cruftify the /set automargin_override stuff (rb skered)
1075 * Begin a larger project to transition (Window *) ptrs to winrefs.
1076 * The intention is to make (Window *) a pure data object and not a linked list
1077 * Repair regression with lineno in /set status_update (rb ce)
1078 * Fix /on reconnect_required (doh)
1079 * Continue the work on reducing (Window *)s outside of window.h
1080 * More work (mostly focused on status)
1081 * No more Window ptrs in status.c yay!
1082 * Fix a bug with output going to the wrong window (rb fro, me)
1083 * Fix bug with /window number (rb zlonix)
1084 * Fix %F showing the wrong window refnum (rb zlonix, fro)
1085 * Ensure lookup_window() is always handled for error correctly
1086 * De-cruftify epic's install procedure. This is for all my pkg friends!
1087 * Remove configure --with-threaded-stdout
1088 * Remove crutches for people without INET6
1089 * Remove legacy compat for people without getaddrinfo()
1090 * Remove dead #define's in config.h
1091 * Fix /on switch_windows (rb zlonix)
1092 * Add $pledge() and $unveil() for openbsd (zlonix)
1093 * Add a "newlist" type for migrating linked lists to.
1094 * Improve handling of realpath() failures (rb zlonix)
1095 * Make /log on fail (ie, reset to OFF) if the log can't be opened (rb zlonix)
1096 * More improvements to window.c, refactor of /window query
1097 * Several scripting changes by zlonix
1098 * When writing to /log-files, check both refnum and user-refnum (rb zlonix)
1099 * Allow adding window refnums, names, and uuids to /logs, and check them passively
1100 * Fix /log properly showing targets for window-type logs (rb zlonix)
1101 * Fix $winchan(#chan) not returning user refnum (rb zlonix)
1102 * Improvements to sasl script (rb harzelein) (zlonix)
1103 * More changes, moving towards de-listifying the window object
1104 * Type punning project starts here...
1105 * Add check for __attribute__((may_alias)) (gcc and clang)
1106 * Tag all socket types with "may_alias"
1107 * Tag all (List *) types and subtypes with "may_alias"
1108 * List changes:
1109 * - Use C99 union type casts to convert to and from (List *)
1110 * - Create new List macros that use union type casts
1111 * - Convert everything to use the macros instead of base fns
1112 * - /crypt, /ignore, /bind, /log, /query,
1113 * Alist (array) changes:
1114 * - Remove (array_item) as a type that can be inherited from
1115 * - Create (array_item_) as a container for a (void *)
1116 * - Change (array) to keep a list of (array_item_s)
1117 * - Change all the alist api's to take these new-style (arrays)
1118 * - Convert notify lists from (NotifyList) to ordinary (array)
1119 * - Migrate the 'ison' field from (NotifyList) out to the (Server)
1120 * - Convert A005 lists from (A005) to ordinary (array)
1121 * - Convert symbol lists from (SymbolSet) to ordinary (array)
1122 * - Convert symbol api from (SymbolSet *) to (array *)
1123 * - Convert nick lists from (NickList) to ordinary (array)
1124 * Type punning project ends here ^^^^^
1125 * Compile with -O2 instead of -O to satisfy pedants
1126 * Begin removing linked list from (Window) type
1127 * - Change window_list to _window_list in screens
1128 * - This revealed every place we were manipulating the list
1129 * - Change macros in input.c to not hardcode 'current_screen'
1130 * - (This required changing INPUT_LINE to INPUT_LINE_ROW)
1131 * - Eliminate hardocded uses of 'last_input_screen' in input.c
1132 * When doing /window number, be sure to clear old refnum! (rb zlonix)
1133 * Add sanity check for direct window lookups
1134 * Have $serverwin() return user refnum not internal refnum (rb ce)
1135 * Fix the sanity check just above (rb ce)
1136 * Re-fix $serverwin() (rb ce)
1137 * Changes to color script (zlonix)
1138 * Add 'stringify.c', a program to convert data to a C string.
1139 * Add support for grabbing configure params in info.c.sh
1140 * Add support for grabbing $CC -v output in info.c.sh
1141 * Add $info(y) and $info(z) (see UPDATES)
1142 * Replace $info(y) and $info(z) with $info(z:*) (see UPDATES)
1143 * Add all this z-stuff to the -v cli
1144 * Use 'id -u -n' instead of LOGNAME in info.c.sh
1145 * Create (union SSu) to capture all (struct sockaddr*) types
1146 * Migrate all internal APIs to use (SSUs) to avoid type punning
1147 * This makes our socket code all c99-compliant.
1148 * Fix typo (reported by ce, fro)
1149 * Fix another typo (reported by ce)
1150 * Fix bogon with /assign output (rb ce)
1151 * Reduce warnings
1152 * Eliminate final warnings with -Wwrite-strings -W -Wall -Wextra
1153 (except -Wno-pointer-sign -Wno-unused -Wno-unused-parameter)
1154 * EPIC5-2.1.8 (2052 - Decoupage) released here
1155 * EPIC5-2.1.9 (2053 - Decoupage) released here
1156 * Eliminate final warnings with scan-build (clang's static analyzer)
1157 * Eliminate found warnings with clang's undefined behavior checker
1158 * Remediate the rest of clang's static analyzer's findings.
1159 * Fix slurp_elf_file() (rb fro)
1160 * Change SIZE_T_MAX to SIZE_MAX (rb ce)
1161 * Handle dequoting a single quote (detected by ubsan)
1162 * More changes to avoid undefined behavior and zlonix's "impossible bug"
1163 * EPIC5-2.1.10 (2059 - Casuistry) released here
1164 * Always call alists 'alist's instead of 'array's
1165 * Add a #define UINTMAX_HEX_FORMAT for pointers
1166 * Change (List)s to have a data pointer rather than inheritance
1167 * This removes a major remaining type punning issue
1168 * Remove '_window_list_end' from screens. Determine it on the fly.
1169 * Add get_screen_bottom_window() to replace '_window_list_end'
1170 * Change (Crypt) from a (List) type to a data object for List
1171 * Change various crypt.c functions to take a straight (List).
1172 * Change various crypt.c functions to create and store a (Crypt) in (List)
1173 * Make (WNickList) private to window.c, use ordinary (List)s ordinarily
1174 * Change window's 'waiting_chans' and 'nicks' ordinary (List)s
1175 * Add ARAs - "automatically resizable arrays"; directly addressable arrays
1176 * Comment out bucket_(var|cmd)_alias and bucket_builtin_* to avoid warnings
1177 * Except bucket_builtin_variables() which is the only one actually used!
1178 * Convert (Ignore) from a (List) type to a data object for List
1179 * If a panic() happens during shutdown, then just go ahead and exit.
1180 * Convert (Binding) from a (List) type to a data object for List
1181 * Convert (Logfile) to use a plain old (List) to hold target names.
1182 * Rename 'invislble_list' to '_invisible_list' for future deprecation
1183 * Make everything using invisible list go through a function.
1184 * Split 'delete_window' into 'unlink_window' and 'delete_window_contents'
1185 * And make those two take refnums instead of a window ptr.
1186 * /fe ("" .) foo {echo $foo} with /xdebug dword (rb ce)
1187 * Fix /window swap_others (skered)
1188 * Un-break $unveil() with no arguments (rb zlonix)
1189 * Remove configure checks for sysctlbyname(), <sys/sysctl.h>
1190 * Fix warnings from raspbian (rb zlonix)
1191 * Don't include <sys/syctl.h> (not used) (rb zlonix)
1192 * Do #define _GNU_SOURCE 1 for slackware (BAH!)
1193 * Begin untangling the "signed pointer mess"
1194 * Generally this means:
1195 * - (char *), not (unsigned char *) is the "generic type" in C params
1196 * - Pointer parameters have to have *equivalent* types, not just *compatible* types.
1197 * - The type of "a bunch of bytes" is always (char *), not (unsigned char *)
1198 * - Even though (char *) is not 8 bit clean.
1199 * - Type type of literals is always (char *), not (unsigned char *)
1200 * - So don't use (unsigned char *) for params unless the thing is NOT a BoBs.
1201 * - So DO use (char *) and cast it on both sides of the call.
1202 * - Don't have (const unsigned char **) params to modify a pointer
1203 * - Prefer (const unsigned char *) and return a (ptrdiff_t)
1204 * Change (Crypt) 'passwd' to unsigned because OpenSSL wants it that way.
1205 * Eliminate all warnings from -Wpointer-sign
1206 * - Mostly by eliminating nearly all uses of (unsigned char *)
1207 * Eliminate all warnings from -Wunused
1208 * - But not from -Wno-unused-functions or -Wno-unused-parameter
1209 * Remove many spurious casts to and from (void *) (c99-ism)
1210 * Fix warnings found by wider testing
1211 * EPIC5-2.1.11 (2071 - Adynaton) released here
1212 * Replace the historical (u_32int_t) with the c99 (uint32_t)
1213 * Remove the now-unused 'hash' field in alist data items
1214 * Remove accommodations for the long gone Interix system
1215 * Don't hide __A() and __N() from clang, which supports them just fine
1216 * We don't need to cover for systems that don't have memmove()
1217 * We should cast the retval of alloca() within LOCAL_COPY().
1218 * Stop redefinining NULL
1219 * Remove #ifdef HAVE_SSL and HAVE_ICONV since they're mandatory now
1220 * Build 'stringify' using $< and $@ (for separate builds) (rb zlonix)
1221 * Remove the c99 macro shims for (List) and rationalize the API
1222 * Remove the use of c99 macro shim "MAY_ALIAS" since it's untrue now
1223 * Move "reconnect.orig" to "reconnect.old" (rb zlonix)
1224 * get_server_protocol_state() can return -1 -- handle properly (rb zlonix)
1225 * Guard bogons in set_server_protocol_state()
1226 * Have info.c.sh.in use @builddir@ instead of @srcdir@ (zlonix)
1227 * Add add_item_to_list() for List management, fix callers
1228 * Don't let user create too many windows (rb ce)
1229 * Fix configure check for raspberry pis with bad python (rb zlonix)
1230 * Fix window refnum bogon (rb zlonix)
1231 * EPIC5-2.1.12 (2078 - Secondment) released here
1232 * When doing target searches, don't require global targets to have server
1233 * Fix /query, particularly for dcc chats (rb fudd)
1234 * Fix a null deref found by clang static checker (it was unused code)
1235 * Fix widening when window is /clear and /window scrolladj off (rb skered)
1236 * More conversions of (Window *) to int refnums
1237 * Now the (Window) refers to its neighbors through int's! Huzzah!
1238 * Now Screen's window list holds just an int to the head!
1239 * Now the invisible list is just an int to refer to the head!
1240 * This means we don't need to expose (Window) to #include "window.h"
1241 * Add $ctcpctl(SET x ACTIVE 0|1), $ctcpctl([IN]ACTIVE)
1242 * Add /ctcp_cloak and /ctcp_uncloak to /load ctcp (rb zlonix)
1243 * Remove size limits on $repeat (rb ce)
1244 * Fix CTCP CLIENTINFO (x) (rb zlonix)
1245 * Fix swap_window() (rb fro, zlonix)
1246 * Make _invisible_list an int and not a pointer. yay!
1247 * Fix bug with /server showing p-addrs on connect (rb zlonix, skered)
1248 * Continue converting internal window.c functions to refnums
1249 * More conversions of internal window.c functions to refnums
1250 * Complete conversion of internal functions from (Window *) to (int). Yay!
1251 * Create screen restful api (well, the getters at least)
1252 * Sunset global "Screen *screen_list" in favor of get_screen_by_refnum()
1253 * Make everything that used (Screen *) use int refnums (except windows)
1254 * Don't have dequoter() take clue, was causing ub (sorry, ce) (rb zlonix)
1255 * Fix screen->last_window_refnum, was wrong type (rb zlonix)
1256 * Fix /window clearlevel (need to normalize window refnums) (rb zlonix)
1257 * Fix ub with utf-8 detection for non-utf8 console users.
1258 * Revert dequoter() changes above (rb zlonix, ce)
1259 * Fix ub with decryption (rb zlonix) [this code makes me nervous]
1260 * Try a gentler fix for the ub in dequoter()
1261 * Add the "clear_point" per-window where you last did a /clear
1262 * When moving the "top of scrolling" around, honor the clear_point
1263 * The /unclear command will ignore the clear_point (backwards compatible)
1264 * The /unclear -noforce flag will honor the clear_point
1265 * Fix ub when decoding base64 data with invalid characters
1266 * Add /xdebug sequence_points and %{2}P and /set status_sequence_point
1267 * Also, $sequence_point(). This is all an easter egg.
1268 * Create notion of "Window Attachments", that belong to the screen
1269 * Create screen-focused API to manage "window attachments" (window list)
1270 * In the meantime, change (Window)->_next and ->_prev to ->_next_ and ->_prev_
1271 * Sanity check the window-based window list from the screen-based window list
1272 * Fix bug with 'clearpoint' (rb zlonix)
1273 * Updated reconnect script (zlonix)
1274 * Finalize replacement of (Screen *) with (int) refnums.
1275 * Move Screen definition inside screen.c. Yay!
1276 * Remove unused ANSIFLAGS from Makefile
1277 * Add $tags(), support for CAP tags (zlonix)
1278 * Add script for CAP negotitation (zlonix)
1279 * Add "cert" field for server descs (client-side SSL certs) (rb tjh)
1280 * Add ability to specify client-side cert for SSL (generally)
1281 * Move Window definition inside window.c YAY~!
1282 * Add dont_need_lastlog_item() so windows can repudiate lastlog items
1283 * Make /window flush_scrollback repudiate lastlog items
1284 * That way rebuilding the scrollback doesn't make flushed things re-appear
1285 * Fixes to above (rb zlonix)
1286 * Fixes/improvements from zlonix for the above
1287 * Fix handling CAP multi-prefix (rb zlonix)
1288 * Use ctime_r() [c99] instead of ctime() [c90]
1289 * Add /clearignore in 2.8script (rb sobriquet)
1290 * Begin a project to clean up message_from() in dcc [sb Harz]
1291 * Handle /redirect /cmd better so it behaves sensibly.
1292 * Expand the range of unicode 6 emojis (from 1f5ff to 1f6ff)
1293 * Add /on ping (rb skered)
1294 * Fix the addition of 'git_commit' to handle releases (rb zlonix)
1295 * Update to 'colors' script (zlonix)
1296 * Fix /window create (rb fusion); fix ub in wserv.c
1297 * Have configure check for crypt()
1298 * Adapt and regenerate configure to use autoconf-2.71 (sigh)
1299 * Make $crypt() return empty if no crypt() [rb Tilt]
1300 * In /load history, ^U should use erase_line not reset_line. (rb fusion)
1301 * Add /set blank_line_indicator (rb harz) -- see UPDATES
1302 * Add $symbolctl(GET <varname> 0 BUILTIN_VARIABLE ORIG_DATA) (very much WIP!)
1303 * Don't have configure check for <sys/fcntl.h> (sigh)
1304 * Don't use inline expandos ($L) in /load history -- use $builtin_expand()
1305 * When /set status_does_expandos, double-quote the injected text (rb fudd, lw)
1306 * Fix bogus use of * in on send_public in builtins (rb lw)
1307 * Fix antiquated/bogus use of dword in /load country
1308 * Add make uninstall, which does its best (rb skered)
1309 * Rewrite /disconnect|reconnect so it behaves more reasonably (i hope) (rb CE)
1310 * Fix a bogon with new STATUS_DOES_EXPANDOS stuff (rb wcarson)
1311 * Add $windowctl(GET x CURRENT_CHANNEL) returns a window's current channel
1312 * Fix where first char of continued lines didn't have attributes (rb skered)
1313 /eval echo $chr(3)53$repeat(500 .) for example
1314 * Remove a debug statement harz found with /window channel
1315 * Make window toplines honor /set automargin_override.
1316 * Use gcc13 -fanalyzer and clang-devel scan-build (static analyzers)
1317 * The following changes were directed by the static analyzer
1318 * Check/use -fno-delete-null-pointer-checks in configure
1319 * Fix pop_integer() to return correct type
1320 * Use fseek() instead of rewind() so clang doesn't complain about errno
1321 * Don't check a pointer after using it so as to not offend gcc13
1322 * If you pass no args to $unshift() or $push(), get nothing back
1323 * Fix uninitialized clue in $currchans() [this was an actual bug]
1324 * Strip down $globi() so I can fix static analysis complaints
1325 * Fix uninitialized variable in $hookctl() [this was an actual bug]
1326 * Don't just assume open() doesn't fail in opento() [actual bug]
1327 * ifdef out split_message() and friends because i don't understand
1328 what gcc13 is complaining about there and I don't use it
1329 * Oh, you get the idea. more of the same as above
1330 * Add /window lister "refnums" (see UPDATES)
1331 * Explore writing output using fd's rather than (FILE *)s
1332 * Add /set auto_reconnect_delay to reconnect (skered)
1333 * Update cJSON to a more recent version (upstream)
1334 * Everything below is part of the RGB project.
1335 * Change name of "256 colors" to "extended colors" to encompass RGB
1336 * Stop hardcoding the value of internal Attribute, so it can grow later.
1337 * Introduce the concept of "Unified Color Values" which will grow later.
1338 - The idea is to unify all the different number system into one 32 bit int
1339 * Extend attributes to support 32 bit fg and bg ints
1340 * Change the name "display attributes" to "internal attributes" for clarity
1341 * Make sure to match up internal attributes reader and writer
1342 * Change the name "logical attributes" to "ircii attributes", reader, writer
1343 * Modify term_attribute() to hardcode how colors are output (for now)
1344 * Change 'prepare_display2' to 'prepare_display_fixed_size' which is clearer
1345 * Add $hex(<digits> <number>) which converts <number> to <digits> hex digits
1346 * Support ^X#rrggbb,rrggbb to take RGB codes (yay! \o/)
1347 * Change the ^[[38;2;r;g;b grokker to output RGB codes instead of 256 colors
1348 * Change $rgb() to output RGB codes now (yay! \o/)
1349 * Lots of internal changes to support larger Attributes, color spaces
1350 * The above is the RGB project's first pass. Here goes nothing!
1351 * Fix colors not showing on topline in p_d_f_s() (rb fusion)
1352 * Revamp ^C handling to use 256 x-colors. (yay! \o/)
1353 * Some compilers like it when you put parens around macro params (rb fusion)
1354 * Make the ^C color xlate table absolute (so we can use RGB later)
1355 * Fix brain-o (rb fro)
1356 * Make prepare_display() tolerate longer lines without going haywire.
1357 * Don't make /set output_rewrite subject to hard size limits.
1358 * Remove length limit on physical lines of display
1359 * Refactor double_quote() so I can fix rogue \s on the status bar
1360 * Add support for bg colors in $rgb(), see UPDATES
1361 * Fix more suggestions from the nitpickers in gcc and clang
1362 * Fix $rgb() [rb wcarson, fusion]
1363 * EPIC5-2.1.13 (2125 - Sockdolager) released here
1364 * ^C16 was defined and was used by lice. sigh. (rb tjh)
1365 * Toplines were one column too narrow (rb fusion)
1366 * Very rudimentary support for CAP multi-prefix. more to come!
1367 * Fix /load files
1368 * Include new script, /load epiclogo -- a nice easter egg. :)
1369 * Change /exec so it's fully line buffered. This fixes /exec cat.
1370 * Stop using "inline", since the compiler does what it wants anyways.
1371 * Roll back the CAP support, it inteferes with the SASL script (rb skered)
1372 * Below is the "Spring Cleaning 2024" project
1373 * Sunset flood detection and its attendant features (see UPDATES)
1374 * Sunset the "clue" stuff
1375 * Sunset the "alloc tracking" stuff
1376 * Sunset the "delayed free" stuff
1377 * Differentiate between "quoting" ("") and "escaping" (\)
1378 * Below is the "ircaux.c reorg" sub-project
1379 * Categorize and sort all function decls in ircaux.h
1380 * Review each function; GC unused functions; collapse dupes
1381 * Comment functions to force analysis of behavior, fix bogons
1382 * Fix normalize_filename() (rb skered, foo, fudd)
1383 * Fix off-by-one (too short) error in dequoter() [rb fudd,lw]
1384 * Add support for OpenSSL's RAND_bytes() API
1385 * Stop doing all the other legacy PRNGs.
1386 * Sunset arc4random() support, particularly the builtin stuff
1387 * Regen autoconf with 2.72, because a 1 line change causes 125k diff!
1388 * Fix various complaints from gcc and clang's static analyzers
1389 * Refactor upper()/lower() to a new strmap() to reduce dup code
1390 * Rationalize and comment stristr() and rstristr()
1391 * Random numbers now always use openssl -- /set random_source is ignored
1392 * Fix "long topline can be longer than status bar" (rb fusion)
1393 * Sunset support for socks[45], including "socks5p.h"
1394 * Stop checking for any using <ieeefp.h> unless someone can explain why not
1395 * Sunset support for systems without job control (!!)
1396 * Various minor ircaux.c cleanups, nothing user-facing
1397 * EPIC5-2.2 (2135 - Sedulous) released here
1398 * Fix /xecho -b (rb fudd)
1399 * EPIC5-2.4 (2136 - Sedulous) released here
1400 * Fix malloc_strcat_word()
1401 * EPIC5-2.6 (2137 - Sedulous) released here
1402 * Fix binary to hex encoding
1403 * EPIC5-3.0 (2139 - Brigadoon) released here
1404 * Add circuit breaker if recalculate_windows gets jammed (rb Tilt)
1405 * Fix two memory leaks; one major, one minor (thanks, valgrind!)
1406 * Fix more memory leaks (thanks, valgrind)
1407 * EPIC5-3.0.1 (2143 - Corrigendum) released here
1408 * Don't disable padding for encryption/decryption (zlonix)
1409 * Regex problems: Extended regexes don't support backrefs (boo!)
1410 * Regex improvements: Use REG_ENHANCED for mac os x (wcarson)
1411 * Regex improvements: Use -lregex for freebsd
1412 * Add /1 /2 /3 ... aliases to /load altchan for window switch (zlonix)
1413 * Use $levelctl(LEVELS) instead of list in /load tabkey.ce (zlonix)
1414 * Updates to /load colors (zlonix)
1415 * Updates to tabkey.jm (skered)
1416 * GLOB_QUOTE does not actually exist
1417 * Change notion of "away" to "away_message" [see UPDATES]
1418 * Add notion of "away status" and $serverctl(GET x AWAY_STATUS)
1419 * Add /exec -exit {} (rb fusion) [see UPDATES]
1420 * Connecting to port 6697 now always forces SSL. So there.
1421 * If a server connection fails w/o data, it might be an SSL server
1422 * In a server desc, a + before a port means "do ssl" like other clients support.
1423 * EPIC5-3.0.2 (2154 - Peregrination) released here 12/2/2024
1424 * Backport the fix for /eval echo $rgb(#2C4267)#derp from epic6.
1425 * Fix/rewrite $uname(), (rb sob)
1426 * EPIC5-3.0.3 (2157 - Obturation) released here 2/27/2025