Mishiranu / Dashchan-Extensions

Dashchan extensions
GNU General Public License v3.0
48 stars 29 forks source link

Support for lainchan.jp #8

Open prometheus-lain opened 7 years ago

prometheus-lain commented 7 years ago

Hi, could you please make an extension for lainchan.jp? I tried compiling myself, but even a fresh pull from git fails with


src/com/mishiranu/dashchan/chan/lainchan/LainchanBoardsParser.java:39: error: TemplateParser() is not public in TemplateParser; cannot be accessed from outside package
        private static final TemplateParser<LainchanBoardsParser> PARSER = new TemplateParser<LainchanBoardsParser>()
                                                                           ^
src/com/mishiranu/dashchan/chan/lainchan/LainchanBoardsParser.java:40: error: method equals in class Object cannot be applied to given types;
                        .equals("div", "class", "boardlist").open((i, holder, t, a) -> !(holder.boardListParsing = true))
                        ^
  required: Object
  found: String,String,String
  reason: actual and formal argument lists differ in length
src/com/mishiranu/dashchan/chan/lainchan/LainchanBoardsParser.java:42: error: illegal start of type
                if (holder.boardListParsing) {
                   ^
8 errors
:compileReleaseJavaWithJavac FAILED
:compileRetrolambdaRelease

FAILURE: Build failed with an exception.
Mishiranu commented 7 years ago

The problem is that I've updated the library so about 50% extensions can't be compiled without some small changes.

The second problem that there is a long queue of requests and I fulfill them very slowly because I a bit tired of making extensions. So if you wish I can update the lainchan extension to compileable state and you can try to finish it yourself.

Mishiranu commented 7 years ago

I've updated the lainchan package.