This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* gcc -Wall -pedantic -g -std=c99 shmcat.c -o shmcat */ | |
#define _XOPEN_SOURCE | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/shm.h> | |
int main(int argc, char **argv) { | |
if (argc < 2) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/main/main.c b/main/main.c | |
index a0f1a658c6..65fa68f682 100644 | |
--- a/main/main.c | |
+++ b/main/main.c | |
@@ -673,20 +673,21 @@ PHP_INI_BEGIN() | |
PHP_INI_ENTRY_EX("highlight.comment", HL_COMMENT_COLOR, PHP_INI_ALL, NULL, php_ini_color_displayer_cb) | |
PHP_INI_ENTRY_EX("highlight.default", HL_DEFAULT_COLOR, PHP_INI_ALL, NULL, php_ini_color_displayer_cb) | |
PHP_INI_ENTRY_EX("highlight.html", HL_HTML_COLOR, PHP_INI_ALL, NULL, php_ini_color_displayer_cb) | |
PHP_INI_ENTRY_EX("highlight.keyword", HL_KEYWORD_COLOR, PHP_INI_ALL, NULL, php_ini_color_displayer_cb) | |
PHP_INI_ENTRY_EX("highlight.string", HL_STRING_COLOR, PHP_INI_ALL, NULL, php_ini_color_displayer_cb) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.stream-chat-header, | |
.chat-input, | |
[data-a-target="chat-welcome-message"] { | |
display: none; visibility: hidden; | |
} | |
body, section { | |
background-color: rgba(0,0,0,0) !important; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/termbox.h b/termbox.h | |
index b4ce055..81dfc3a 100644 | |
--- a/termbox.h | |
+++ b/termbox.h | |
@@ -534,21 +534,22 @@ struct tb_global_t { | |
const char *caps[TB_CAP__COUNT]; | |
struct cap_trie_t cap_trie; | |
struct bytebuf_t in; | |
struct bytebuf_t out; | |
struct cellbuf_t back; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/codegen.sh b/codegen.sh | |
index 7b0cc81..e090822 100755 | |
--- a/codegen.sh | |
+++ b/codegen.sh | |
@@ -8,6 +8,7 @@ read -r -d '' builtin_terms <<'EOD' | |
rxvt-256color | |
rxvt-unicode rxvt | |
Eterm | |
+ dvtm-256color dvtm | |
EOD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/query_processor.h b/include/query_processor.h | |
index 0fe43edb..4a7cf65d 100644 | |
--- a/include/query_processor.h | |
+++ b/include/query_processor.h | |
@@ -104,6 +104,7 @@ struct _Query_Processor_rule_t { | |
char *comment; // #643 | |
void *regex_engine1; | |
void *regex_engine2; | |
+ void *regex_engine3; | |
uint64_t hits; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c | |
index d303367a6..942bac425 100644 | |
--- a/src/plugins/php/weechat-php.c | |
+++ b/src/plugins/php/weechat-php.c | |
@@ -700,7 +700,11 @@ weechat_php_load (const char *filename, const char *code) | |
memset (&file_handle, 0, sizeof (file_handle)); | |
file_handle.type = ZEND_HANDLE_FILENAME; | |
+#if PHP_VERSION_ID >= 80100 | |
file_handle.filename = zend_string_init(filename, strlen(filename), 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c | |
index b7b6770327..fd3f5318f7 100644 | |
--- a/ext/pdo_mysql/mysql_driver.c | |
+++ b/ext/pdo_mysql/mysql_driver.c | |
@@ -410,20 +410,38 @@ static int pdo_mysql_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) | |
case PDO_MYSQL_ATTR_MAX_BUFFER_SIZE: | |
if (lval < 0) { | |
/* TODO: Johannes, can we throw a warning here? */ | |
((pdo_mysql_db_handle *)dbh->driver_data)->max_buffer_size = 1024*1024; | |
PDO_DBG_INF_FMT("Adjusting invalid buffer size to =%l", ((pdo_mysql_db_handle *)dbh->driver_data)->max_buffer_size); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/irslackd.js b/lib/irslackd.js | |
index 0442fe3..0642481 100644 | |
--- a/lib/irslackd.js | |
+++ b/lib/irslackd.js | |
@@ -1017,9 +1017,10 @@ class Irslackd { | |
// Try conversations.info | |
let convo = await ircUser.slackWeb.apiCallOrThrow('conversations.info', { channel: slackChan }); | |
- // If it's an im, pass to resolveSlackUser | |
+ // If it's an im, we are the target, use our ircNick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/buffer.c b/buffer.c | |
index 10f81ed..b6eaa87 100644 | |
--- a/buffer.c | |
+++ b/buffer.c | |
@@ -697,6 +697,126 @@ int buffer_get_bline(buffer_t *self, bint_t line_index, bline_t **ret_bline) { | |
return buffer_get_bline_w_hint(self, line_index, self->first_line, ret_bline); | |
} | |
+// Replace nchars in buffer starting at ma, optionally constrained by opt_mb. | |
+// This is used for cursors with is_block==1. This operation can only add |