3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 11:12:42 +01:00
Commit Graph

4519 Commits

Author SHA1 Message Date
Pragmatic Software
a98a0fa0fb Fix links 2022-03-26 21:05:58 -07:00
Pragmatic Software
d80b70a2e5 Dequeue cache events when removing SQLite Storage entries 2022-03-23 23:45:00 -07:00
Pragmatic Software
1f3110075a pbot-vm: fix clang2x 2022-03-19 21:50:43 -07:00
Pragmatic Software
02ca5e4435 pbot-vm: add C2X language files; default cc to C2X 2022-03-19 21:31:58 -07:00
Pragmatic Software
23efee674a Plugin/UrlTitles: update user-agents 2022-03-17 19:17:31 -07:00
Pragmatic Software
1abc466e7a Plugin/UrlTitles: include URL in history file 2022-03-17 16:47:06 -07:00
Pragmatic Software
fcb39511c3 pbot-vm: restore stdin for default languages 2022-03-16 12:18:11 -07:00
Pragmatic Software
01cefe462f pbot-vm: fix occasional "illegal escape sequence" in guest-gdb 2022-03-15 13:53:34 -07:00
Pragmatic Software
bf8749ff9e Fix blacklist command 2022-03-09 12:56:38 -08:00
Pragmatic Software
46ccc1fb70 pbot-vm: prevent [Exit 1] output with compiler errors 2022-03-06 14:07:28 -08:00
Pragmatic Software
3e2204a6b0 pbot-vm: improve exit-code handling 2022-03-06 13:51:33 -08:00
Pragmatic Software
164ecc45a7 Update factoids and registry 2022-02-27 17:16:48 -08:00
Pragmatic Software
756895b17f Plugin/UrlTitles: fix indentation 2022-02-27 17:11:55 -08:00
Pragmatic Software
c1cfa0ef4e Plugins/UrlTitles: fix indentation 2022-02-27 17:08:30 -08:00
Pragmatic Software
02cc7fc488 Refactor UrlTitles plugin
Moved logic from get_title.pl applet to plugin.
Removed get_title.pl applet.
ProcessManager::execute_process() can now take a reader subref.
2022-02-27 16:58:01 -08:00
Pragmatic Software
66856441e4 pbot-vm: do not decode non-printable characters 2022-02-24 12:55:27 -08:00
Pragmatic Software
76fd5f5fd7 pbot-vm: fix encoding issues; misc clean-ups 2022-02-24 10:39:15 -08:00
Pragmatic Software
55b203126c Fix typo in comment 2022-02-18 12:46:33 -08:00
Pragmatic Software
8b5428f77b pbot-vm: vm-exec -lang=? once again lists languages without needing <code> argument 2022-02-18 12:45:28 -08:00
Pragmatic Software
a7b27098ca Update PBot version 2022-02-15 11:42:55 -08:00
Pragmatic Software
3fdfb789df pbot-vm: Fix add_option() 2022-02-15 11:40:06 -08:00
Pragmatic Software
951b771b9c pbot-vm: vm-exec can now select VM; can be configured by vm-exec.json file
The vm-exec command now recognizes the following options:

    -vm-serial -vm-heart -vm-cid -vm-vport -vm

The -vm option accepts a name and configures the serial,
heart, cid and vport appropriately.

The vm-exec command can be configured by /host/config/vm-exec.json.
2022-02-15 11:28:47 -08:00
Pragmatic Software
619ff86a94 Rename compiler factoid to vm-client 2022-02-14 16:47:46 -08:00
Pragmatic Software
d7390c31a4 doc/VirtualMachine.md: fix minor typos 2022-02-14 16:38:37 -08:00
Pragmatic Software
3cfedcf3b8 Rename compiler_vm to pbot-vm and other misc applet updates 2022-02-14 16:33:29 -08:00
Pragmatic Software
4316f26797 compiler_vm: begin refactoring lib/Languages
This initial refactor commit starts with Languages/_default.pm. It moves
several things to their own packages: Paste, InteractiveEdit, SplitLine.
All of these packages will soon be further refactored or rewritten.
2022-02-14 11:18:49 -08:00
Pragmatic Software
df625ef14e compiler_vm: very minor edit to vm-exec header 2022-02-14 09:50:44 -08:00
Pragmatic Software
76eff85241 compiler_vm: refactor and clean-up vm_exec 2022-02-14 09:47:16 -08:00
Pragmatic Software
0f067ea577 compiler_vm: rename vm-host-watchdog -> vm-watchdog 2022-02-14 09:12:19 -08:00
Pragmatic Software
d609206be8 compiler_vm: refactor some things related to vm-exec 2022-02-13 22:01:06 -08:00
Pragmatic Software
1326b0ac5f compiler_vm: major refactor to support VM sockets (AF_VSOCK)
VM socket communication is superior to VM serial communication in
every way. Unfortunately at this time only Linux supports them.
Fortunately, that's 99% of PBot's userbase.

If you're not using Linux or if you're using an older Linux that
does not support VM sockets, the PBot VM scripts will gracefully
fallback to using the serial connection. You may explicitly
disable VM socket connection attempts by setting PBOTVM_CID=0.
2022-02-12 16:06:04 -08:00
Pragmatic Software
563dc8c70a compiler_vm: add-serials now uses HEREDOC for templating 2022-02-10 19:12:23 -08:00
Pragmatic Software
e217fb15d5 doc/VirtualMachine.md: simplify reboot procedure 2022-02-10 16:54:55 -08:00
Pragmatic Software
64c1863f05 doc/VirtualMachine.md: document env overrides for add-serial 2022-02-10 16:37:39 -08:00
Pragmatic Software
df5e288aef compiler_vm: add-serials can be configured with env 2022-02-10 16:30:11 -08:00
Pragmatic Software
d2269a3ca6 compiler_vm: more refactoring to prepare to handle multiple connections 2022-02-10 10:58:56 -08:00
Pragmatic Software
5fc4b9a6dd doc/VirtualMachine.md: remove io=native from disk to speed up snapshots 2022-02-08 12:16:09 -08:00
Pragmatic Software
1c010fe223 compiler_vm: guest-gdb no longer attempts to print undefined functions 2022-02-08 12:12:32 -08:00
Pragmatic Software
871327efb2 compiler_vm: update comments 2022-02-08 10:44:50 -08:00
Pragmatic Software
31aa1d5869 compiler_vm: simplify vm-client; move -lang option to vm-exec 2022-02-08 09:55:00 -08:00
Pragmatic Software
85b9aaddf8 compiler_vm: refactor vm_server 2022-02-07 20:33:24 -08:00
Pragmatic Software
c488b912d2 compiler_vm: update PBOTVM_SERIAL comment 2022-02-06 20:16:37 -08:00
Pragmatic Software
f4a665ef5d compiler_vm: restore default serial TCP port 2022-02-06 20:13:13 -08:00
Pragmatic Software
f9afda0580 doc/VirtualMachine.md: fix env table 2022-02-06 20:08:14 -08:00
Pragmatic Software
0a856e2c18 doc/VirtualMachine.md: remove cache=none 2022-02-06 20:05:33 -08:00
Pragmatic Software
7916930816 compiler_vm: various host improvements
* VM scripts can now be configured via environment variables:

  PBOTVM_DOMAIN, PBOTVM_TIMEOUT, PBOTVM_SERVER, PBOTVM_SERIAL,
  PBOTVM_HEART, PBOTVM_NOREVERT
2022-02-06 20:01:56 -08:00
Pragmatic Software
6b93005808 Increase indentation size 2022-02-06 19:32:34 -08:00
Pragmatic Software
46fdd01ccd compiler_vm: make guest debugging output less verbose 2022-02-06 11:33:21 -08:00
Pragmatic Software
f0dbf8c33a compiler_vm: add ulimits; fix print_last_statement() 2022-02-06 00:24:04 -08:00
Pragmatic Software
0626397dbf Replace -ggdb with -gdwarf-2 so gdb works better
Some recent changes in the default `gdb` debugging format has broken
some gdb functionality, notably the `info macro` command.

Specifying the `dwarf-2` format restores this functionality.
2022-02-04 13:57:09 -08:00