Re: [Github-comments] [geany/geany-plugins] Update GeanyLua for Scintilla 5 (#1118)

2021-10-22 Thread Skif-off
[GeanyLua: Update 
glspi_sci.h](https://github.com/geany/geany-plugins/pull/1123) will fix it.

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

Re: [Github-comments] [geany/geany-plugins] Update GeanyLua for Scintilla 5 (#1118)

2021-10-10 Thread elextr
Not surprising really.  Scintilla has jumped two major versions, so its API has 
changed (twice) incompatibly. 

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

[Github-comments] [geany/geany-plugins] Update GeanyLua for Scintilla 5 (#1118)

2021-10-10 Thread Enrico Tröger
After https://github.com/geany/geany/pull/2867 has been merged, the GeanyLua 
plugin needs to be updated to work with the new Scintilla version.

Currently, compilation fails as follow:
```
make: Entering directory '/home/enrico/projects/geany-plugins/geanylua'
Making all in docs
make[1]: Entering directory '/home/enrico/projects/geany-plugins/geanylua/docs'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/enrico/projects/geany-plugins/geanylua/docs'
Making all in examples
make[1]: Entering directory 
'/home/enrico/projects/geany-plugins/geanylua/examples'
Making all in dialogs
make[2]: Entering directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/dialogs'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/dialogs'
Making all in edit
make[2]: Entering directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/edit'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/edit'
Making all in info
make[2]: Entering directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/info'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/info'
Making all in scripting
make[2]: Entering directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/scripting'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/scripting'
Making all in work
make[2]: Entering directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/work'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 
'/home/enrico/projects/geany-plugins/geanylua/examples/work'
make[2]: Entering directory 
'/home/enrico/projects/geany-plugins/geanylua/examples'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory 
'/home/enrico/projects/geany-plugins/geanylua/examples'
make[1]: Leaving directory 
'/home/enrico/projects/geany-plugins/geanylua/examples'
make[1]: Entering directory '/home/enrico/projects/geany-plugins/geanylua'
  CC   libgeanylua_la-glspi_sci.lo
  CC   geanylua_la-geanylua.lo
In file included from glspi_sci.c:11:
glspi_sci.h:369:39: error: ‘SCI_GETTWOPHASEDRAW’ undeclared here (not in a 
function); did you mean ‘SCI_GETPHASESDRAW’?
  369 | {"GETTWOPHASEDRAW", SLT_BOOL, SCI_GETTWOPHASEDRAW, SLT_VOID, 
SLT_VOID},
  |   ^~~
  |   SCI_GETPHASESDRAW
  CCLD geanylua.la
glspi_sci.h:370:39: error: ‘SCI_SETTWOPHASEDRAW’ undeclared here (not in a 
function); did you mean ‘SCI_SETPHASESDRAW’?
  370 | {"SETTWOPHASEDRAW", SLT_VOID, SCI_SETTWOPHASEDRAW, SLT_BOOL, 
SLT_VOID},
  |   ^~~
  |   SCI_SETPHASESDRAW
glspi_sci.h:711:32: error: ‘SCI_SETLEXER’ undeclared here (not in a function); 
did you mean ‘SCI_SETILEXER’?
  711 | {"SETLEXER", SLT_VOID, SCI_SETLEXER, SLT_INT, SLT_VOID},
  |^~~~
  |SCI_SETILEXER
glspi_sci.h:716:40: error: ‘SCI_SETLEXERLANGUAGE’ undeclared here (not in a 
function); did you mean ‘SCI_GETLEXERLANGUAGE’?
  716 | {"SETLEXERLANGUAGE", SLT_VOID, SCI_SETLEXERLANGUAGE, SLT_VOID, 
SLT_STRING},
  |^~~~
  |SCI_GETLEXERLANGUAGE
glspi_sci.h:717:40: error: ‘SCI_LOADLEXERLIBRARY’ undeclared here (not in a 
function)
  717 | {"LOADLEXERLIBRARY", SLT_VOID, SCI_LOADLEXERLIBRARY, SLT_VOID, 
SLT_STRING},
  |^~~~
make[1]: *** [Makefile:862: libgeanylua_la-glspi_sci.lo] Error 1
make[1]: *** Waiting for unfinished jobs
make[1]: Leaving directory '/home/enrico/projects/geany-plugins/geanylua'
make: *** [Makefile:916: all-recursive] Error 1
make: Leaving directory '/home/enrico/projects/geany-plugins/geanylua'
``

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