unexist.dev: Issueshttp://subtle.de/http://subtle.de/favicon.ico?15154402992018-12-18T13:36:54Zunexist.dev
Redmine subtle - Bug #320 (Unconfirmed): Problem with Subtlext::View.current not updating; :client_kill d...http://subtle.de/issues/3202018-12-18T13:36:54ZAlessa Norman
<p>Per attached file, I'm trying to track how many clients are active on the current view so I can show that number on my panel. When I switch to an empty view, the <code>View.current</code> variable doesn't update. So <code>View.current</code> will return the last populated client until I switch to another populated client.</p>
<p>If I'm in a view with clients and I close out all the clients, it tracks that correctly and <code>View.clients.length</code> shows a 0 as expected.</p>
<p>Also, if I open a dialog box as I just did (from Firefox) to attach numwin.rb to the ticket, <code>View.current.clients.length</code> is incremented, but does not show as decremented until I switch to a different view and back, so probably some dialog boxes are seen by <code>on :client_create</code> but not by <code>on :client_kill</code>.</p>
<p>Let me know if you want me to split these up into subtopics or stick them somewhere else.</p> subtle - Bug #319 (Confirmed): Subtle not compilable on Ruby 2.3http://subtle.de/issues/3192018-11-17T18:28:06ZLukas Schreinerlukas.schreiner@gmail.com
<p>I had to upgrade to Ruby 2.3 due to not further support of older Ruby version.</p>
<p>Compiling was not possible: <br /><pre>
CC build/subtle/shared.o
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:111:1: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »typedef«
typedef unsigned char OnigUChar;
^~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:159:39: Fehler: unbekannter Typname: »OnigUChar«
int (*precise_mbc_enc_len)(const OnigUChar* p,const OnigUChar* e, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:159:58: Fehler: unbekannter Typname: »OnigUChar«
int (*precise_mbc_enc_len)(const OnigUChar* p,const OnigUChar* e, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:163:34: Fehler: unbekannter Typname: »OnigUChar«
int (*is_mbc_newline)(const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:163:54: Fehler: unbekannter Typname: »OnigUChar«
int (*is_mbc_newline)(const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:164:38: Fehler: unbekannter Typname: »OnigUChar«
OnigCodePoint (*mbc_to_code)(const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:164:58: Fehler: unbekannter Typname: »OnigUChar«
OnigCodePoint (*mbc_to_code)(const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:166:45: Fehler: unbekannter Typname: »OnigUChar«
int (*code_to_mbc)(OnigCodePoint code, OnigUChar *buf, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:167:56: Fehler: unbekannter Typname: »OnigUChar«
int (*mbc_case_fold)(OnigCaseFoldType flag, const OnigUChar** pp, const OnigUChar* end, OnigUChar* to, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:167:78: Fehler: unbekannter Typname: »OnigUChar«
int (*mbc_case_fold)(OnigCaseFoldType flag, const OnigUChar** pp, const OnigUChar* end, OnigUChar* to, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:167:94: Fehler: unbekannter Typname: »OnigUChar«
int (*mbc_case_fold)(OnigCaseFoldType flag, const OnigUChar** pp, const OnigUChar* end, OnigUChar* to, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:169:69: Fehler: unbekannter Typname: »OnigUChar«
int (*get_case_fold_codes_by_str)(OnigCaseFoldType flag, const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem acs[], const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:169:89: Fehler: unbekannter Typname: »OnigUChar«
int (*get_case_fold_codes_by_str)(OnigCaseFoldType flag, const OnigUChar* p, const OnigUChar* end, OnigCaseFoldCodeItem acs[], const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:170:80: Fehler: unbekannter Typname: »OnigUChar«
int (*property_name_to_ctype)(const struct OnigEncodingTypeST* enc, const OnigUChar* p, const OnigUChar* end);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:170:100: Fehler: unbekannter Typname: »OnigUChar«
int (*property_name_to_ctype)(const struct OnigEncodingTypeST* enc, const OnigUChar* p, const OnigUChar* end);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:173:3: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* (*left_adjust_char_head)(const OnigUChar* start, const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:173:45: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* (*left_adjust_char_head)(const OnigUChar* start, const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:173:69: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* (*left_adjust_char_head)(const OnigUChar* start, const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:173:89: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* (*left_adjust_char_head)(const OnigUChar* start, const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:174:44: Fehler: unbekannter Typname: »OnigUChar«
int (*is_allowed_reverse_match)(const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:174:64: Fehler: unbekannter Typname: »OnigUChar«
int (*is_allowed_reverse_match)(const OnigUChar* p, const OnigUChar* end, const struct OnigEncodingTypeST* enc);
^~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:259:32: Fehler: unbekannter Typname: »OnigUChar«
int onigenc_mbclen_approximate P_((const OnigUChar* p,const OnigUChar* e, const struct OnigEncodingTypeST* enc));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:259:32: Fehler: unbekannter Typname: »OnigUChar«
int onigenc_mbclen_approximate P_((const OnigUChar* p,const OnigUChar* e, const struct OnigEncodingTypeST* enc));
^
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:307:1: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_step_back P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end, int n));
^~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:307:30: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_step_back P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end, int n));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:307:30: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_step_back P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end, int n));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:307:30: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_step_back P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end, int n));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:318:42: Fehler: unbekannter Typname: »OnigUChar«
void onigenc_set_default_caseconv_table P_((const OnigUChar* table));
^
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:320:1: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_right_adjust_char_head_with_prev P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end, const OnigUChar** prev));
^~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:320:57: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_right_adjust_char_head_with_prev P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end, const OnigUChar** prev));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:320:57: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_right_adjust_char_head_with_prev P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end, const OnigUChar** prev));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:320:57: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_right_adjust_char_head_with_prev P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end, const OnigUChar** prev));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:320:57: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_right_adjust_char_head_with_prev P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end, const OnigUChar** prev));
^
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:322:1: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_prev_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:322:39: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_prev_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:322:39: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_prev_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:322:39: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_prev_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:324:1: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_left_adjust_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:324:46: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_left_adjust_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:324:46: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_left_adjust_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:324:46: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_left_adjust_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:326:1: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_right_adjust_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:326:47: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_right_adjust_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:326:47: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_right_adjust_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:326:47: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* onigenc_get_right_adjust_char_head P_((OnigEncoding enc, const OnigUChar* start, const OnigUChar* s, const OnigUChar* end));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:328:20: Fehler: unbekannter Typname: »OnigUChar«
int onigenc_strlen P_((OnigEncoding enc, const OnigUChar* p, const OnigUChar* end));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:328:20: Fehler: unbekannter Typname: »OnigUChar«
int onigenc_strlen P_((OnigEncoding enc, const OnigUChar* p, const OnigUChar* end));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:330:25: Fehler: unbekannter Typname: »OnigUChar«
int onigenc_strlen_null P_((OnigEncoding enc, const OnigUChar* p));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:332:30: Fehler: unbekannter Typname: »OnigUChar«
int onigenc_str_bytelen_null P_((OnigEncoding enc, const OnigUChar* p));
^
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:636:3: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* par;
^~~~~~~~~
/usr/include/ruby-2.3.0/ruby/oniguruma.h:637:3: Fehler: unbekannter Typname: »OnigUChar«
OnigUChar* par_end;
^~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:732:14: Fehler: unbekannter Typname: »OnigUChar«
int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, const OnigSyntaxType* syntax, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:732:14: Fehler: unbekannter Typname: »OnigUChar«
int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, const OnigSyntaxType* syntax, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:736:28: Fehler: unbekannter Typname: »OnigUChar«
int onig_new_without_alloc P_((OnigRegex, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:736:28: Fehler: unbekannter Typname: »OnigUChar«
int onig_new_without_alloc P_((OnigRegex, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:738:21: Fehler: unbekannter Typname: »OnigUChar«
int onig_new_deluxe P_((OnigRegex* reg, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:738:21: Fehler: unbekannter Typname: »OnigUChar«
int onig_new_deluxe P_((OnigRegex* reg, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:744:20: Fehler: unbekannter Typname: »OnigUChar«
int onig_recompile P_((OnigRegex, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:744:20: Fehler: unbekannter Typname: »OnigUChar«
int onig_recompile P_((OnigRegex, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:746:27: Fehler: unbekannter Typname: »OnigUChar«
int onig_recompile_deluxe P_((OnigRegex reg, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:746:27: Fehler: unbekannter Typname: »OnigUChar«
int onig_recompile_deluxe P_((OnigRegex reg, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:748:26: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:748:26: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:748:26: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:748:26: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:750:31: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_search_gpos P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* global_pos, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:750:31: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_search_gpos P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* global_pos, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:750:31: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_search_gpos P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* global_pos, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:750:31: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_search_gpos P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* global_pos, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:750:31: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_search_gpos P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* global_pos, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:752:25: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:752:25: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:752:25: Fehler: unbekannter Typname: »OnigUChar«
OnigPosition onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:768:32: Fehler: unbekannter Typname: »OnigUChar«
int onig_name_to_group_numbers P_((OnigRegex reg, const OnigUChar* name, const OnigUChar* name_end, int** nums));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:768:32: Fehler: unbekannter Typname: »OnigUChar«
int onig_name_to_group_numbers P_((OnigRegex reg, const OnigUChar* name, const OnigUChar* name_end, int** nums));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:770:33: Fehler: unbekannter Typname: »OnigUChar«
int onig_name_to_backref_number P_((OnigRegex reg, const OnigUChar* name, const OnigUChar* name_end, OnigRegion *region));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:770:33: Fehler: unbekannter Typname: »OnigUChar«
int onig_name_to_backref_number P_((OnigRegex reg, const OnigUChar* name, const OnigUChar* name_end, OnigRegion *region));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:772:23: Fehler: unbekannter Typname: »OnigUChar«
int onig_foreach_name P_((OnigRegex reg, int (*func)(const OnigUChar*, const OnigUChar*,int,int*,OnigRegex,void*), void* arg));
^
/usr/include/ruby-2.3.0/ruby/oniguruma.h:772:23: Fehler: unbekannter Typname: »OnigUChar«
int onig_foreach_name P_((OnigRegex reg, int (*func)(const OnigUChar*, const OnigUChar*,int,int*,OnigRegex,void*), void* arg));
^
In file included from /usr/include/setjmp.h:29:0,
from /usr/include/freetype2/freetype/config/ftstdlib.h:156,
from /usr/include/freetype2/freetype/config/ftconfig.h:43,
from /usr/include/freetype2/freetype/freetype.h:33,
from /usr/include/X11/Xft/Xft.h:40,
from src/shared/shared.h:36,
from src/shared/shared.c:17:
/usr/include/bits/setjmp.h:31:1: Fehler: expected »=«, »,«, »;«, »asm« or »__attribute__« before »typedef«
typedef long int __jmp_buf[8];
^~~~~~~
In file included from /usr/include/freetype2/freetype/config/ftstdlib.h:156:0,
from /usr/include/freetype2/freetype/config/ftconfig.h:43,
from /usr/include/freetype2/freetype/freetype.h:33,
from /usr/include/X11/Xft/Xft.h:40,
1 src/shared/shared.h Bufs
from src/shared/shared.h:36,
from src/shared/shared.c:17:
/usr/include/setjmp.h:39:5: Fehler: unbekannter Typname: »__jmp_buf«
__jmp_buf __jmpbuf; /* Calling environment. */
^~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
src/shared/shared.c: In Funktion »subSharedRegexNew«:
src/shared/shared.c:81:28: Fehler: »OnigUChar« nicht deklariert (erste Benutzung in dieser Funktion)
ecode = onig_new(&preg, (UChar *)pattern,
^
src/shared/shared.c:81:28: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet
src/shared/shared.c:81:35: Fehler: expected expression before »)« token
ecode = onig_new(&preg, (UChar *)pattern,
^
src/shared/shared.c:81:11: Fehler: Zu wenige Argumente für Funktion »onig_new«
ecode = onig_new(&preg, (UChar *)pattern,
^~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:732:5: Anmerkung: hier deklariert
int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, const OnigSyntaxType* syntax, OnigErrorInfo* einfo));
^~~~~~~~
src/shared/shared.c:89:13: Fehler: expected »;« before »ebuf«
UChar ebuf[ONIG_MAX_ERROR_MESSAGE_LEN] = { 0 };
^~~~
src/shared/shared.c:91:37: Fehler: expected expression before »)« token
onig_error_code_to_str((UChar*)ebuf, ecode, &einfo);
^
src/shared/shared.c:94:18: Fehler: »ebuf« nicht deklariert (erste Benutzung in dieser Funktion)
pattern, ebuf);
^~~~
src/shared/shared.c:76:17: Warnung: Variable »einfo« wird nicht verwendet [-Wunused-variable]
OnigErrorInfo einfo;
^~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
src/shared/shared.c: In Funktion »subSharedRegexMatch«:
src/shared/shared.c:118:45: Fehler: »OnigUChar« nicht deklariert (erste Benutzung in dieser Funktion)
return ONIG_MISMATCH != onig_match(preg, (UChar *)string,
^
src/shared/shared.c:118:52: Fehler: expected expression before »)« token
return ONIG_MISMATCH != onig_match(preg, (UChar *)string,
^
src/shared/shared.c:118:27: Fehler: Zu wenige Argumente für Funktion »onig_match«
return ONIG_MISMATCH != onig_match(preg, (UChar *)string,
^~~~~~~~~~
In file included from src/shared/shared.h:31:0,
from src/shared/shared.c:17:
/usr/include/ruby-2.3.0/ruby/oniguruma.h:752:14: Anmerkung: hier deklariert
OnigPosition onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option));
^~~~~~~~~~
src/shared/shared.c:121:1: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
} /* }}} */
^
rake aborted!
Compiler failed with status 1
/tmp/subtle/subtle/Rakefile:204:in `block in compile'
/tmp/subtle/subtle/Rakefile:139:in `silent_sh'
/tmp/subtle/subtle/Rakefile:202:in `compile'
/tmp/subtle/subtle/Rakefile:771:in `block (2 levels) in <top (required)>'
Tasks: TOP => default => build => subtle => build/subtle/shared.o
(See full trace by running task with --trace)
</pre></p>
<p>I'm using:<br /><pre>
ruby 2.3.8p459 (2018-10-18 revision 65136) [x86_64-linux]
on Linux smallLukasGentoo 4.15.4-ck #6 SMP Thu Apr 5 21:57:37 CEST 2018 x86_64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz GenuineIntel GNU/Linux
</pre></p>
<p>Reason is a necessary include of ruby.h in src/shared/shared.h:<br /><pre><code class="c syntaxhl"><span class="CodeRay"><span class="preprocessor">#ifndef</span> SHARED_H
<span class="preprocessor">#define</span> SHARED_H <span class="integer">1</span>
<span class="comment">/* Includes {{{ */</span>
<span class="preprocessor">#include</span> <span class="include"><stdio.h></span>
<span class="preprocessor">#include</span> <span class="include"><stdlib.h></span>
<span class="preprocessor">#include</span> <span class="include"><string.h></span>
<span class="preprocessor">#include</span> <span class="include"><stdarg.h></span>
<span class="preprocessor">#include</span> <span class="include"><signal.h></span>
<span class="preprocessor">#include</span> <span class="include"><errno.h></span>
<span class="preprocessor">#include</span> <span class="include"><assert.h></span>
<span class="preprocessor">#include</span> <span class="include"><getopt.h></span>
<span class="preprocessor">#include</span> <span class="include"><ctype.h></span>
<span class="preprocessor">#include</span> <span class="include"><X11/Xlib.h></span>
<span class="preprocessor">#include</span> <span class="include"><X11/Xatom.h></span>
<span class="preprocessor">#include</span> <span class="include"><X11/Xutil.h></span>
<span class="preprocessor">#include</span> <span class="include"><X11/Xmd.h></span>
<span class="preprocessor">#include</span> <span class="include"><X11/cursorfont.h></span>
<span class="preprocessor">#include</span> <span class="include"><ruby.h></span> <span class="comment">// <=== this is missing for Ruby 2.3 </span>
<span class="preprocessor">#include</span> <span class="include"><ruby/oniguruma.h></span>
<span class="preprocessor">#include</span> <span class="include">"config.h"</span>
</span></code></pre></p>
<p>Attached a patch file of what i did.</p> subtle - Feature #314 (Unconfirmed): Allow queue access from subtlexthttp://subtle.de/issues/3142013-04-18T14:32:19ZKaito Michishigeme@mkaito.com
<p>To allow for tagging of the next spawned client via command line, we'd need to be able to push a tag to the queue from subtler.</p> subtle - Feature #312 (Confirmed): Update tag modeshttp://subtle.de/issues/3122013-01-25T01:10:19ZChristoph Kappelchristoph@unexist.dev
<p><a class="wiki-page" href="http://subtle.de/projects/subtle/wiki/Clients#Modes">Modes</a> in <a class="wiki-page" href="http://subtle.de/projects/subtle/wiki/Tagging">tags</a> are usually set like <code>mode true</code>, that is quite ambiguous, since every other value besides <code>true</code> is just ignored.</p> subtle - Feature #310 (Unconfirmed): specific tagged clients with custom color bordershttp://subtle.de/issues/3102012-11-15T14:34:17Zzed b.zeltak@gmail.com
<p>Hya</p>
<p>Would really like to have an option to have specific tagged clients have a custom color borders (and border size). It could be very useful to mark root terminals with a red background, remote SSH connections etc.</p>
<p>thx</p>
<p>Zeltak</p> subtle - Bug #307 (Unconfirmed): gtk3 does not work correctly in subtlehttp://subtle.de/issues/3072012-10-28T11:30:33ZRasmus Steinkerasi@xssn.at
<p>Menus, rightclick menus and dropdowns open up at random places in subtle.<br />I tried to reproduce this in dwm, i3, herbstluftwm and awesome, none of these have any issues with gtk3, so I dont think its a gtk3 issue.</p>
<p>Here a video in action: <a class="external" href="http://carnager.xssn.at/out.ogv">http://carnager.xssn.at/out.ogv</a></p> subtle - Feature #300 (Unconfirmed): support max_width stylehttp://subtle.de/issues/3002012-08-31T15:27:30ZDavid Jansenbw@dorfelite.net
<p>we got the mix_width style to work with,<br />it would be nice to have max_width as well</p>
<p>e.g. the mpd sublet eats a lot of panelspace if the artist and trackname a quite long<br />(it even overlaps my centered elements sometimes :/ )</p> subtle - Bug #295 (Confirmed): Setting a client's gravity in a tag's @on_match@ is brokenhttp://subtle.de/issues/2952012-05-28T22:00:03ZSae Hirakpcxunlimited@gmail.com
<p>Basically, if you try to set a client's gravity in the <code>on_match</code> of a tag, it will work if the tag is in the first view, but doesn't work in the other views. To see what I mean... try this config:</p>
<p><a class="external" href="http://pastebin.com/MzEfQPEP">http://pastebin.com/MzEfQPEP</a></p>
<p>Now, what this does is, puts all the terminals on the <code>foo</code> tag and Firefox on the <code>bar</code> tag (adjust it as needed). And then, when the clients match, it will manually assign them gravities by using <code>on_match</code>.</p>
<p>This works correctly on the <code>foo</code> view (all the terminals are on the left side), but does not work for the <code>bar</code> view (Firefox is not on the right side as expected).</p>
<p>In addition, it spews out these error messages on the console:</p>
<pre>
<WARNING> StandardError: No geometry given
from /mnt/pauan/.config/subtle/subtle.rb:49:in `gravity'
from /mnt/pauan/.config/subtle/subtle.rb:49:in `block (2 levels) in <main>'
from -e:in `call'
<WARNING> StandardError: No geometry given
from /mnt/pauan/.config/subtle/subtle.rb:40:in `gravity'
from /mnt/pauan/.config/subtle/subtle.rb:40:in `block (2 levels) in <main>'
</pre>
<p>So, the two bugs are:</p>
<ol>
<li>Complaining about a lack of geometry when setting the gravity of the client</li>
<li>Setting the gravity of a client only works on the first view (possibly related to the above bug?)</li>
</ol> subtle - Bug #282 (Confirmed): Grab involving <B4> to <B7>http://subtle.de/issues/2822012-02-20T14:58:25ZDicksmash McIroncockfuck128@mailinator.com
<p>The grabs <W-B4> and <W-B5> (:ViewPrev and :ViewNext) only work when the mouse is currently above a window, they won't work when hovering over the root window. This is an issue only present in the version developer snapshot, but not in the version packaged by Archlinux.</p>
<p>In any version I have tested, mouse <B6> and <B7> (and probably higher) fail to be recognized by subtle while other WMs, applications recognize them well (i.e. it is not an issue of the Xserver)</p> subtle - Bug #242 (Confirmed): Recent clients orderhttp://subtle.de/issues/2422011-08-07T09:27:44Zdavid unricdunric29a@gmail.com
<p>Hi,</p>
<p>I've found inconsistent results of Subtlext::Client.recent method.</p>
<p>If I switch between clients within a one view, returned Array of recent clients keeps an order where last client is pushed into the head (ie. at 0 index) and remaining are shifted to the right (ie. their index is increased by 1).</p>
However if I switch between clients on different views (within a one screen), order 'sometimes' gets lost:
<ul>
<li>Two xterms on 1st view running irb sessions<br /> left one> <code>Subtlext::Client.current.win 41943074</code><br /> right one> <code>Subtlext::Client.current.win 18874402</code></li>
<li>Firefox on 2nd view, win == 16777340</li>
</ul>
<ol>
<li>Left xterm (result of cycling between xterms within one view)<br /> <code>irb(main):047:0> Subtlext::Client.recent.collect {|c| c.win}<br /> => [41943074, 18874402, 41943074, 18874402, 41943074]</code></li>
<li>After switching to 2nd view with Firefox and back<br /> <code>irb(main):048:0> Subtlext::Client.recent.collect {|c| c.win}<br /> => [*41943074*, *16777340*, 41943074, 18874402, 41943074]</code>
<p>Good, order was kept.</p></li>
</ol>
<ol>
<li>Right xterm (result of cycling between xterms within one view)<br /> <code>irb(main):046:0> Subtlext::Client.recent.collect {|c| c.win}<br /> => [18874402, 41943074, 18874402, 41943074, 18874402]</code></li>
<li>After switching to 2nd view with Firefox and back<br /> <code>irb(main):047:0> Subtlext::Client.recent.collect {|c| c.win}<br /> => [18874402, 41943074, 18874402, *16777340*, 18874402]</code>
<p>Bad, order is lost, unexpected behaviour.</p></li>
</ol>
<p>Is this a bug or am I missing something there ?</p> subtle - Feature #205 (Confirmed): Panel/spacer border setting.http://subtle.de/issues/2052011-05-17T19:20:24ZLasse Christensenlchr@spellcraft.dk
<p>Right now, there doesn't seem to be a way to add a border (colored or otherwise) to the :spacer within a panel, or to the panel as a whole. This means that any attempt to add e.g. a permanent 1px border to the bottom of the panel as a separator between panel and appspace is currently impossible: There will be gaps in the border in the :spacer sections.</p>
<p>Adding a border property to the :spacer would solve the issue, as would the ability to add a border to the panel as a whole. I hereby request that such a property be added ;)</p>
<p>Thanks!</p> subtle - Bug #175 (Confirmed): FUTEX_WAIT deadlockhttp://subtle.de/issues/1752011-01-13T16:20:41ZChristoph Kappelchristoph@unexist.dev
<p>The futex_wait mechanism of current 'glibc':http://www.gnu.org/software/libc/ with enabled 'NPTL':http://en.wikipedia.org/wiki/Nptl can cause a deadlock, when a <a class="wiki-page" href="http://subtle.de/projects/subtle/wiki/Sublets">sublet</a> uses e.g. 'system':http://www.ruby-doc.org/core/classes/Kernel.html#M001441 periodically. <a class="wiki-page" href="http://subtle.de/projects/subtle/wiki/Subtle">subtle</a> will freeze then and 'strace':http://en.wikipedia.org/wiki/Strace just displays <strong>FUTEX_WAIT</strong> in that case.</p>
<p><a class="wiki-page" href="http://subtle.de/projects/subtle/wiki/Sublets">Sublets</a> that are known to cause this kind of problems are: pacman, storage</p>