3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-07 20:49:31 +01:00
Commit Graph

2103 Commits

Author SHA1 Message Date
Pragmatic Software
ef3b8f0fbc compiler_vm improvements
Server-side C base now strips print_last_statement() and rebuilds/re-runs code
if there was any bad gdb output related to it (i.e. "No such symbol" or "A
syntax error in expression").
2015-09-17 22:18:14 -07:00
Pragmatic Software
76fc3a33a1 compiler_vm improvements
Compiler watchdog now properly handles signals raised during gdb functions.

Compiler watchdog now times out and flushes output when "hung".
2015-09-17 22:16:23 -07:00
Pragmatic Software
43db8ab34e Update version 2015-09-14 10:32:09 -07:00
Pragmatic Software
6cd5c9a478 Update factoids 2015-09-14 10:32:05 -07:00
Pragmatic Software
b5c5162ad0 Minor refactor of title case of adlib modifier 2015-09-14 10:29:28 -07:00
Pragmatic Software
739c28125b Remove extraneous whitespace 2015-09-14 10:25:16 -07:00
Pragmatic Software
e1d557e75f Update version 2015-09-14 10:22:58 -07:00
Pragmatic Software
aed3f34c43 Add optional modifiers to factoid variables
Adlib list variables can now accept trailing modifier keywords prefixed with
a colon. These can be chained together to combine their effects.

     :uc - uppercases the expansion
     :lc - lowercases the expansion
     :ucfirst - uppercases the first letter in the expansion
     :title - lowercases the expansion and then uppercases the first letter
              (effectively an alias for :lc:ucfirst)

Examples:
   <pragma_> echo $colors:uc
   <candide> RED
   <pragma_> echo $colors:ucfirst
   <candide> Blue
2015-09-14 10:22:55 -07:00
Pragmatic Software
d6319b27c5 Update version 2015-09-14 09:06:48 -07:00
Pragmatic Software
ebc7cb9579 Move enter-abuse logic to after chat flood logic to prevent enter-abuse warning and chat flood ban happening at the same time 2015-09-14 09:06:43 -07:00
Pragmatic Software
ecaa45b3dc Expand factoid variables sooner so argument processing occurs on expanded action 2015-09-14 09:06:00 -07:00
Pragmatic Software
d3944d82d9 Fix "an UTF"/"an union" with "a UTF"/"a union", etc 2015-09-12 06:18:34 -07:00
Pragmatic Software
ddeb70f1e3 Update version 2015-09-12 01:52:47 -07:00
Pragmatic Software
50fa9ff706 Improve recall error message when no history is found
`recall` now shows all channels a nick was seen in if they weren't seen in
the requested channel.
2015-09-12 01:52:45 -07:00
Pragmatic Software
dfcef63e5e Update version 2015-09-10 01:51:31 -07:00
Pragmatic Software
70f091545b Replace "me" in factoid arguments only during first interpretation pass 2015-09-10 01:51:24 -07:00
Pragmatic Software
d8183fc405 Update version 2015-09-09 05:24:18 -07:00
Pragmatic Software
7ce40fca4d Correct use/package paths 2015-09-09 05:24:16 -07:00
Pragmatic Software
a158e4458f Rename Plugins/_Readme to Plugins/README 2015-09-08 11:50:14 -07:00
Pragmatic Software
8e188b9013 Correct minor typos in description comment 2015-09-08 11:46:08 -07:00
Pragmatic Software
12cd20c072 Update version 2015-09-08 11:42:47 -07:00
Pragmatic Software
17e4cdb8b3 Move Quotegrabs to Plugins 2015-09-08 11:42:43 -07:00
Pragmatic Software
de2774ed00 Update version 2015-09-08 05:30:06 -07:00
Pragmatic Software
6d8b6532b6 Immediate leave UrlTitles if message doesn't contain a URL 2015-09-08 05:30:02 -07:00
Pragmatic Software
c9711e5fa4 Update version 2015-09-08 04:43:26 -07:00
Pragmatic Software
6c5c263ed2 Move URL titles conditional out of loop 2015-09-08 04:43:24 -07:00
Pragmatic Software
c57c9e2f13 Update version 2015-09-08 01:38:02 -07:00
Pragmatic Software
391cd91191 Add $event->{interpreted} example to _Example plugin 2015-09-08 01:37:59 -07:00
Pragmatic Software
e5097eee69 Move URL titles to UrlTitles.pm plugin
Add $event->{interpreted} field to events to notify other handlers
whether an event was successfully interpreted by the interpreter.

An $event->{interpreted} that is equal to or greater than 100 means the entire
message was consumed and handlers shouldn't do any further processing of it
that would generate any output to channels or users.

Otherwise, $event->{interpreted} is incremented by 1 for each referenced
command that was processed.
2015-09-08 01:37:34 -07:00
Pragmatic Software
fa2865fb10 Fix potential undefined variable warning 2015-09-08 01:30:08 -07:00
Pragmatic Software
3a428a8c1b Do not show duplicate URL titles within 60 second period from same nick 2015-09-08 01:25:12 -07:00
Pragmatic Software
99cb688032 Remove useless cfacts 2015-09-08 01:24:13 -07:00
Pragmatic Software
b0f12edc9b c2english: add uchar.h and update error message to C11 2015-09-08 01:23:44 -07:00
Pragmatic Software
3f6f3b6a36 Improvements to C-to-English 2015-09-07 22:20:52 -07:00
Pragmatic Software
d51d2367a1 Correct logic of login command ignore check 2015-09-07 05:04:54 -07:00
Pragmatic Software
1582b35db9 Update version 2015-09-07 00:20:11 -07:00
Pragmatic Software
efcca90444 Revert unplug error message 2015-09-07 00:20:06 -07:00
Pragmatic Software
5c83ea62f3 Rename Pluggable to Plugins 2015-09-06 22:53:49 -07:00
Pragmatic Software
70a3a2a354 Update version 2015-09-06 22:52:43 -07:00
Pragmatic Software
adfdccfd27 Rename Pluggable to Plugins 2015-09-06 22:52:39 -07:00
Pragmatic Software
729728a458 Update version 2015-09-06 22:39:59 -07:00
Pragmatic Software
0b74dd070d Pass PBot %conf to auto-loaded plugins 2015-09-06 22:39:40 -07:00
Pragmatic Software
8d666984dc Move AntiAway and AntiKickAutoRejoin to Pluggable 2015-09-06 22:38:59 -07:00
Pragmatic Software
539aeb3e9f Change "not found" to "failed to load" 2015-09-06 22:22:37 -07:00
Pragmatic Software
ce3a3d4b9b Update version 2015-09-06 22:17:20 -07:00
Pragmatic Software
0d7f0bf184 Add loadable core plugins
These are different from the loadable factoid modules.  The factoid modules
are external executable shell commands that take stdin as arguments and print
to stdout as a return value.  As such, they are not integrated into the bot
and cannot make use of the bot's internal subroutines.

These plugins are loaded internally and integrated into the bot such that they
can interface with the bot's internal subroutines and state.

All files in the Pluggable directory not beginning with an underscore will be
automatically loaded at bot start-up.

Plugins (including those starting with an underscore) can be manually loaded
or unloaded with the `plug` and `unplug` commands.  Use `pluglist` to list
loaded plugins.
2015-09-06 22:17:07 -07:00
Pragmatic Software
f8dba73d02 Correct name of file in error message 2015-09-06 22:04:46 -07:00
Pragmatic Software
16f467252b Do not process server NOTICES as public messages
Add time-out to automatically unban ##fix_your_connection ban-forwards
2015-09-06 22:04:21 -07:00
Pragmatic Software
511994025c Update compiler_vm stuff 2015-09-03 21:32:44 -07:00
Pragmatic Software
bff1aa34d7 Update version 2015-09-03 20:56:48 -07:00