3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-27 14:29:30 +01:00
Commit Graph

1321 Commits

Author SHA1 Message Date
Pragmatic Software
03d377000b Use language-specific commenting and syntax highlighter for pastes 2015-01-23 19:23:33 -08:00
Pragmatic Software
74f717ad51 Update version 2015-01-23 13:50:17 -08:00
Pragmatic Software
f8b6b19398 Show only chat messages in recall surrounding context (no joins/quits/etc) 2015-01-23 13:50:14 -08:00
Pragmatic Software
340cf07558 get_title.pl: remove trailing non-word character 2015-01-23 13:49:16 -08:00
Pragmatic Software
5f9dd151e2 nickometer.pl: update special cases 2015-01-23 13:47:08 -08:00
Pragmatic Software
3010cf1d8d compiler: Lowercase language 2015-01-23 13:46:18 -08:00
Pragmatic Software
ac128312ac cjeopardy.txt: fix typo 2015-01-23 13:43:00 -08:00
Pragmatic Software
5d51fe9795 c2english.pl: show usage if no code, and add -Wno-implicit 2015-01-23 13:41:31 -08:00
Pragmatic Software
938561a2fb math.pl: add cbrt and add optional "the" to 42 question 2015-01-23 13:40:33 -08:00
Pragmatic Software
573a18e6ef Update version 2015-01-23 12:33:06 -08:00
Pragmatic Software
5ab76e6e6c Add -x/-context <nick> flag to limit recall -before/-after context to that nick 2015-01-23 11:44:38 -08:00
Pragmatic Software
90597350c5 Update version 2015-01-23 07:36:53 -08:00
Pragmatic Software
b806a473d2 Add ability to get surrounding message context in recall command
Add the -b/-before and -a/-after flags to the `recall` command to display
that many lines of surrounding context.

For example, `recall -c ##c -b 100` will show the last 100 messages in the ##c
channel.

Another example, `recall pragma- 50 -b 5 -a 5` will show the 5 messages before the 50th
most recent message spoken by pragma- and then show that 50th message and finally show
the 5 messages after it.
2015-01-23 07:36:39 -08:00
Pragmatic Software
8810605691 Show server:port when connecting 2015-01-23 05:35:06 -08:00
Pragmatic Software
7ad726b383 Ensure $last_output is defined 2015-01-22 06:41:55 -08:00
Pragmatic Software
383c9f7813 Add bc language to compiler_vm 2015-01-21 17:43:51 -08:00
Pragmatic Software
361b53a64e Remove -Wa,-Wl flags from tendra cmdline 2015-01-21 17:43:39 -08:00
Pragmatic Software
36f2f91ba0 Add -fsanitize=undefined to gcc cmdlines 2015-01-21 17:43:13 -08:00
Pragmatic Software
48bd04ba31 Remove leading whitespace at beginning of diagnostics 2015-01-21 01:05:49 -08:00
Pragmatic Software
d0a007853c Add sh, ksh and python3 languages 2015-01-20 10:13:09 -08:00
Pragmatic Software
540243764f Remove left-over uneeded $comma 2015-01-18 18:52:42 -08:00
Pragmatic Software
a0f0249c8f Use more elegant Perlish method to print supported languages 2015-01-18 18:49:36 -08:00
Pragmatic Software
a41906d323 Add python to compiler_vm languages 2015-01-18 18:36:57 -08:00
Pragmatic Software
5e2cd4fd22 Add bash to compiler_vm languages 2015-01-18 18:36:48 -08:00
Pragmatic Software
5f1f350046 Postprocess clang output for invalid %b format specifier 2015-01-18 05:43:16 -08:00
Pragmatic Software
76ead7c8cb Remove leading/trailing whitespace from nick/channel/lang/code 2015-01-18 05:42:28 -08:00
Pragmatic Software
8999e22db1 Ignore backup~ files when showing supported languages 2015-01-18 05:41:48 -08:00
Pragmatic Software
ae957c0314 Lowercase language option 2015-01-17 07:00:47 -08:00
Pragmatic Software
728015672d Update local cc to use new compiler_vm_client.pl properly 2015-01-17 05:00:42 -08:00
Pragmatic Software
53f3a59ba1 Fix #inclue typo 2015-01-17 05:00:07 -08:00
Pragmatic Software
fb286837bb Clean up compiler_vm directory a bit 2015-01-17 04:59:14 -08:00
Pragmatic Software
d473c1650b Add options conditional on whether code is being pasted 2015-01-17 04:41:50 -08:00
Pragmatic Software
9dfe67c7b3 Add missing C89 includes 2015-01-17 04:40:00 -08:00
Pragmatic Software
0afaf9eb1b Show usage if no code given 2015-01-17 04:39:19 -08:00
Pragmatic Software
c4c325085a Update clang options 2015-01-16 22:40:49 -08:00
Pragmatic Software
e8fc3e965d Improve output filtering; show line-numbers in pastes 2015-01-16 22:24:54 -08:00
Pragmatic Software
c40fc622ff Remove -fsanitize=address because it interfered with showing locals 2015-01-16 22:24:26 -08:00
Pragmatic Software
999ec05afc Show cmdline in pastes 2015-01-16 22:23:28 -08:00
Pragmatic Software
b7fe220152 Add the Brainfuck language to compiler_vm 2015-01-16 17:56:28 -08:00
Pragmatic Software
f552695393 Remove errant addition of backup file 2015-01-16 17:31:01 -08:00
Pragmatic Software
1a1f8f8e63 Correct handling of no-output 2015-01-16 17:30:09 -08:00
Pragmatic Software
e0359cba32 Update TenDRA output postprocessing and default options 2015-01-16 17:29:41 -08:00
Pragmatic Software
925f2292e0 Correct handling of no-output 2015-01-16 17:28:38 -08:00
Pragmatic Software
16dce2c484 Add -info standard option to show cmdline information 2015-01-15 22:00:20 -08:00
Pragmatic Software
45e403b51f Add support for TenDRA compiler 2015-01-15 21:21:40 -08:00
Pragmatic Software
77e95a69ae Remove debug message 2015-01-15 21:21:20 -08:00
Pragmatic Software
ac8dadb7f7 Show supported languages when invalid language given 2015-01-15 21:20:34 -08:00
Pragmatic Software
b3081b9e9f Add compiler_vm support for clang
Also renamed c11.pm to _c_base.pm and set the C languages to inherit
from _c_base.pm instead of c11.pm.
2015-01-15 01:21:18 -08:00
Pragmatic Software
bfd373814c Set compiler_watchdog.pl breakpoint one previous end of main
The clang compiler doesn't generate debug info for line number at the
closing } bracket terminating the main function.

Setting the breakpoint to the line immediately before that works for
gcc and clang.
2015-01-15 01:18:35 -08:00
Pragmatic Software
b6b90ffa49 Significantly refactor compiler_vm module
The compiler_vm module has been significantly refactored into distinct
modules in order to better facilitate the addition of other languages
and compilers.

Currently there is support for C89, C99 and C11 using gcc, as well as
support for Perl.

This is an initial work-in-progress commit and there are still some minor
rough edges to polish up.
2015-01-14 21:51:17 -08:00