Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Mon, 09 Oct 2023 17:06:20 UTC Commit: 357f2af9f4b496802b5373fcc656901e543c56d9 https://github.com/geany/geany/commit/357f2af9f4b496802b5373fcc656901e543c56...
Log Message: ----------- Update HACKING with up-to-date build instructions
Modified Paths: -------------- HACKING
Modified: HACKING 16 lines changed, 9 insertions(+), 7 deletions(-) =================================================================== @@ -522,7 +522,7 @@ printf("Prefix: %s", GEANY_PREFIX);
Adding a source file foo.[hc] in src/ or plugins/ ------------------------------------------------- -* Add foo.c, foo.h to SRCS in path/Makefile.am. +* Add foo.c, foo.h to SRCS in path/Makefile.am and meson.build. * Add path/foo.c to po/POTFILES.in (for string translation).
Adding a filetype @@ -582,10 +582,12 @@ LexFoo.cxx. Try the official Scintilla project first. Scintilla. All new lexers should be submitted back to the Scintilla project to save duplication of work.
-When adding a lexer, update: +When adding a lexer:
-* scintilla/Makefile.am -* scintilla/src/Catalogue.cxx - add a LINK_LEXER command *manually* +* add LexFoo.cxx to scintilla/lexilla/lexers +* add `&lmFoo` to scintilla/lexilla/src/Lexilla.cxx and + scintilla/scintilla_changes.patch +* update scintilla/Makefile.am and meson.build
For syntax highlighting, you will need to edit highlighting.c and highlightingmappings.h and add the following things: @@ -656,7 +658,7 @@ https://github.com/universal-ctags/ctags
Method `````` -* Add foo.c to SRCS in Makefile.am. +* Add foo.c to SRCS in Makefile.am and meson.build. * Add Foo to src/tagmanager/tm_parsers.h * Add TM_PARSER_FOO to src/tagmanager/tm_parser.h. The list here must follow exactly the order in src/tagmanager/tm_parsers.h. @@ -705,8 +707,8 @@ This file contains the tag information expected to be generated from the corresponding source file together with its human-readable form.
When you have these two files, you have to list your new test along the -other ones in the ``test_source`` variable in ``tests/ctags/Makefile.am``. -Please keep this list sorted alphabetically. +other ones in the ``test_source`` variable in ``tests/ctags/Makefile.am`` +and ``tests/meson.build``. Please keep this list sorted alphabetically.
Upgrading Scintilla -------------------
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).