[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread elextr via Github-comments
Then something has probably changed in all the big changes in TM recently, 
@techee?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1356716058
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
Parser and lexer are current versions from upstreams (and both have not been 
updated for a long time). I'm sorry, right now I don't understand what the 
problem is :)
ctags/parsers/autoit.c:
```c
static roleDefinition AutoItIncludeRoles [] = {
{ true, "system", "system include" },
{ true, "local", "local include" },
};

static kindDefinition AutoItKinds [] = {
{ true, 'f', "func", "functions" },
{ true, 'r', "region", "regions" },
{ true, 'g', "global", "global variables" },
{ true, 'l', "local", "local variables" },
{ true, 'S', "script", "included scripts",
  .referenceOnly = true, ATTACH_ROLES (AutoItIncludeRoles) },
};
```

src/tagmanager/tm_parser.c:
```c
static TMParserMapEntry map_AUTOIT[] = {
{'f', tm_tag_function_t},
{'r', tm_tag_other_t},
{'g', tm_tag_member_t},
{'l', tm_tag_member_t},
{'S', tm_tag_member_t},
};
static TMParserMapGroup group_AUTOIT[] = {
{_("Functions"), TM_ICON_METHOD, tm_tag_function_t},
{_("Regions"), TM_ICON_OTHER, tm_tag_other_t},
};
```

`AutoItKinds` and `map_AUTOIT` are the same size and as I understand and see, 
`map_AUTOIT` and `group_AUTOIT` do not have to match in size.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1356326744
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

1bf4df7b9f1ee6adf9e11b622f47c4732432d4f9  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/6b6034ce7009cfa4f4506456f613a49302591dd8..1bf4df7b9f1ee6adf9e11b622f47c4732432d4f9
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

6b6034ce7009cfa4f4506456f613a49302591dd8  TMP, will be squashed later

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/b0502bf24a83fc474177a9ecc5b0dbdae2035dfa..6b6034ce7009cfa4f4506456f613a49302591dd8
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread elextr via Github-comments
> (process:10108): Tagmanager-WARNING **: 12:59:46.979: Not all tag types 
> mapped to symbol tree groups for AutoIt

https://github.com/geany/geany/blob/bb45e3b7485e27f29bf652968b9094da322d0bc7/src/tagmanager/tm_parser.c#L1351

Tagmanager and ctags are out of sync for autoit, did your updated parser change 
something?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1356292215
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Use constructor method calltip only if available (PR #3334)

2022-12-17 Thread Enrico Tröger via Github-comments
Thanks @techee!
This was great. I also felt that modifying the tags array is not a good idea 
but I didn't see why. Thanks.

Your suggestion is great, I fine tuned it a bit to not work on `__init__` tags 
directly (then their scope would be removed) because I needed to remove the 
scope from the calltip text if the tag name was replaced (otherwise we would 
have got "LocalClass.LocalClass (...)".

Tested also with some D code.
I moved the two special cases out of "find_calltip" to make it a bit less 
cluttered.
For me, this is now fine.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3334#issuecomment-1356267415
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Use constructor method calltip only if available (PR #3334)

2022-12-17 Thread Enrico Tröger via Github-comments
@eht16 pushed 1 commit.

9ae174288c7f9adcf12e212ab234ad7ffeba69c8  Use constructor method calltip only 
if available

-- 
View it on GitHub:
https://github.com/geany/geany/pull/3334/files/87ca905615cd99abd05da59656e287bc34e604a6..9ae174288c7f9adcf12e212ab234ad7ffeba69c8
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

b0502bf24a83fc474177a9ecc5b0dbdae2035dfa  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/e2881605d6b93a1b59580080f47d4ce1c48bcaa4..b0502bf24a83fc474177a9ecc5b0dbdae2035dfa
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
[/jobs/6309415770](https://github.com/geany/geany/actions/runs/3720132501/jobs/6309415770):
 What does

> (process:10108): Tagmanager-WARNING **: 12:59:46.979: Not all tag types 
> mapped to symbol tree groups for AutoIt

mean?
Maybe just drop the test when Meson is used?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1752#issuecomment-1356254513
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Use constructor method calltip only if available (PR #3334)

2022-12-17 Thread Enrico Tröger via Github-comments
@eht16 pushed 1 commit.

87ca905615cd99abd05da59656e287bc34e604a6  Use constructor method calltip only 
if available

-- 
View it on GitHub:
https://github.com/geany/geany/pull/3334/files/e15ed3fe9b8200e0dc69b200f8c20f2ac1663c70..87ca905615cd99abd05da59656e287bc34e604a6
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

e2881605d6b93a1b59580080f47d4ce1c48bcaa4  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/458af8ec125c90a5e37a7298ecfe71994f0adbf7..e2881605d6b93a1b59580080f47d4ce1c48bcaa4
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

458af8ec125c90a5e37a7298ecfe71994f0adbf7  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/9d138427b276ab049261f967afaf05e90422912d..458af8ec125c90a5e37a7298ecfe71994f0adbf7
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany-plugins] Update bundled gpgme.m4 (PR #1214)

2022-12-17 Thread Enrico Tröger via Github-comments
Merged #1214 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1214#event-8061739160
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Outdated gpgme.m4 is blocking Debian package migration (Issue #1213)

2022-12-17 Thread Enrico Tröger via Github-comments
Closed #1213 as completed via #1214.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1213#event-8061739187
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany-plugins] Update bundled gpgme.m4 (PR #1214)

2022-12-17 Thread Enrico Tröger via Github-comments
Thanks @hyperair!
Tested successfully with the nightly build setup for Windows, Debian Sid and 
Debian Bullseye.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1214#issuecomment-1356225824
You are receiving this because you are subscribed to this thread.

Message ID: 

[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

9d138427b276ab049261f967afaf05e90422912d  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/a14388d2044647c1d397d953c1836f0beb2c6401..9d138427b276ab049261f967afaf05e90422912d
You are receiving this because you are subscribed to this thread.

Message ID: 


[Github-comments] Re: [geany/geany] Add AutoIt syntax highlighting and Ctags parser for AutoIt (#1752)

2022-12-17 Thread Skif-off via Github-comments
@Skif-off pushed 1 commit.

a14388d2044647c1d397d953c1836f0beb2c6401  Add AutoIt syntax highlighting and 
Ctags parser for AutoIt

-- 
View it on GitHub:
https://github.com/geany/geany/pull/1752/files/3c784cbd593a40695cc689594d032669b33b432a..a14388d2044647c1d397d953c1836f0beb2c6401
You are receiving this because you are subscribed to this thread.

Message ID: