Michael Opdenacker
e5bfbd0b10
Merge pull request #194 from MaximeChretien/issue-189
...
query: Sort definitions by type
2020-10-26 15:46:24 +01:00
Michael Opdenacker
f73827cc41
Merge pull request #182 from Kezii/patch-1
...
Shrink ".hilight a" background color
2020-10-26 15:36:45 +01:00
Maxime Chretien (MixLeNain)
bec8105305
t/api_test.py : Update tests results according to query changes
...
Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-10-26 13:31:40 +01:00
Maxime Chretien (MixLeNain)
f6bcfabcdc
query: Sort definitions by type
...
This sorts the definition buffer by file path and then by type (reversed)
Sorting by type in reverse order allows to have structs definitions
before members.
Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-10-26 11:05:58 +01:00
Maxime Chretien (MixLeNain)
db45f2f9de
docker: Execute update.py with unbuffered output
...
This allows to have real time logging while building the database.
Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-10-24 12:16:18 +02:00
Riccardo Magliocchetti
681e6ca31f
update: silence assigned but never use warnings
...
As spotted by pyflakes
2020-10-21 08:47:36 +02:00
Riccardo Magliocchetti
016d848b38
update: remove unused imports
2020-10-20 21:29:16 +02:00
Riccardo Magliocchetti
cb0596029f
data: remove unused import
2020-10-20 21:28:27 +02:00
Riccardo Magliocchetti
3da2d7f89c
http: drop unused imports
2020-10-20 21:23:32 +02:00
Michael Opdenacker
aa969fe374
Merge pull request #190 from cxw42/issue-188
...
Doc comments: support indented #defines; report filename on warnings
2020-10-16 10:29:02 +02:00
Chris White
65c5db26b8
find-file-doc-comments: report filename on warning
...
Whenever the program issues a warning, report which filename
was being processed. This should make it easier to diagnose any future
warnings (e.g., #186 , #188 ).
2020-10-15 21:10:26 -04:00
Chris White
b74017c9df
doc comments: support indented #defines
...
Fixes #188 .
2020-10-15 20:56:48 -04:00
Chris White
ff6a55bb57
Added test of #188
2020-10-15 20:32:04 -04:00
Michael Opdenacker
6689a4fe43
Merge pull request #187 from cxw42/issue-186
...
Extract documentation even if a symbol has multiple definitions in the same file (#186 )
2020-10-12 09:10:20 +02:00
Chris White
90392b543d
doc-comment tests: add counterexamples for issue186
...
Issue 186 relates to symbols that are not documented. Add tests for
symbols that are documented in a file of the same structure.
2020-10-10 17:22:26 -04:00
Chris White
81e0c296e4
Extract doc with multiple types for an identifier
...
Fixes #186 .
In find-file-doc-comments.pl:
- Index doc comments by line, not identifier, since an identifier
may be defined differently on different lines.
- Clean up debug printing so that the verbose output is easier to read.
- Use say() instead of print() to save space (say() automatically
adds the `\n` to the output line).
2020-10-10 17:21:27 -04:00
Chris White
68232f8fba
Added test file and test for #186
2020-10-10 17:04:26 -04:00
Chris White
5aeb22b3e7
Fix typo in TestEnvironment docs [minor]
2020-10-10 17:04:26 -04:00
Michael Opdenacker
95a1d4d681
Merge pull request #184 from cxw42/issue-134
...
Extract kernel-doc comments for things besides functions
2020-10-08 09:29:40 +02:00
Chris White
5ba86bde4d
Improve doc-comment extraction ( #134 )
...
- Extract struct, enum, and macro docs
- Permit more forms of comment header. Accept some that are technically
ill-formed per [1] --- I think it's better for end-users if we are a
bit more forgiving.
[1] <https://www.kernel.org/doc/html/v5.8/doc-guide/kernel-doc.html >
2020-10-03 22:01:56 -04:00
Chris White
224ec06ced
Add tests for struct, enum, macro doc comments
2020-10-03 22:01:36 -04:00
Chris White
4ea9120101
Add test file for issue-134-specific tests
...
New file t/tree/issue134.c exercises the bugs noted in
<https://github.com/bootlin/elixir/issues/134#issue-624392766 >.
I did not copy in the files listed in that comment because those files
are GPL-2.0-only or an unspecified GPL license, not GPL-2.0-or-later.
2020-10-03 21:59:39 -04:00
Chris White
9d8b213862
Add test file t/tree/include/linux/memblock.h
...
Per <https://github.com/bootlin/elixir/issues/78#issuecomment-632611233 >.
Copied from Linux 5.6, at
<https://elixir.bootlin.com/linux/v5.6/source/include/linux/memblock.h >.
This file is GPL-2.0-or-later.
2020-10-03 21:58:27 -04:00
Michael Opdenacker
00e55918b3
Merge pull request #183 from mlerner/ml-fix-path
...
Fix a misspelling with the path used to store elixir-data
2020-09-28 08:47:31 +02:00
mlern
2c77af7895
Fix a misspelling with the path to store elixir-data
2020-09-27 11:08:11 -07:00
Kezi
f1b5596689
Shrink .hilight a background color
2020-09-17 22:32:03 +02:00
AlphaHot
09f37db41f
web : Add autofocus when entering a search
2020-08-19 14:57:59 +05:00
Michael Opdenacker
c04e9e3065
Remove trailing ";"
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-08-18 12:01:56 +02:00
Michael Opdenacker
f6758cb569
Merge pull request #177 from MaximeChretien/fix-errors
...
Fix issues #175 and #176
2020-07-09 17:33:04 +02:00
Maxime Chretien
371b03135a
web.py : Check family validity in html form results
...
This fixes https://github.com/bootlin/elixir/issues/176
Also add missing lib import
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-07-09 17:24:58 +02:00
Maxime Chretien
de1d9f5f8e
web.py : Allow the use of lowercase family names
...
This improve the fix for https://github.com/bootlin/elixir/issues/175
m.group(3) can be None but str convert it to 'None' so upper() is always
defined and the resulting 'NONE' is discarded by the next test.
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-07-09 17:10:19 +02:00
Maxime Chretien
be5e6fd6b4
web / lib : Improve family checking
...
This fixes https://github.com/bootlin/elixir/issues/175
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-07-09 17:04:37 +02:00
Michael Opdenacker
8030497287
Merge pull request #173 from MaximeChretien/docker-update
...
Update docker files for Elixir 2.1
2020-07-06 18:09:35 +02:00
Maxime Chretien
f32b5b21f2
README: Update CentOS dependencies
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-07-02 16:37:11 +02:00
Maxime Chretien
8e7691d091
docker: Update CentOS dockerfile
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-07-02 16:29:00 +02:00
Maxime Chretien
06fd537621
docker: Add missing dependencies for debian
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-07-02 12:03:36 +02:00
Maxime Chretien
82be89b0a6
docker: Update debian Dockerfile
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-06-29 10:23:44 +02:00
Michael Opdenacker
04c2458710
Merge pull request #171 from MaximeChretien/defconfigs
...
http/filters: Add links to Kconfig in defconfig files
2020-06-25 18:25:56 +02:00
Maxime Chretien
39097c7d5d
http/filters: Add links to Kconfig in defconfig files
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-06-25 14:11:43 +02:00
Michael Opdenacker
e8a82f675f
Bump version to 2.1
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-06-22 06:49:37 +02:00
Michael Opdenacker
8eea9a20c4
utlis/index-all-repository: improve verbosity
...
- Allowing to know when we switch to the second indexing pass
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-06-19 11:40:41 +02:00
Michael Opdenacker
755d7e6437
Merge pull request #170 from MaximeChretien/fix-script-2
...
utils/index-all-repositories: Add missing parameters
2020-06-19 11:33:19 +02:00
Maxime Chretien
d3a6027e55
utils/index-all-repositories: Add missing parameters
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-06-19 09:31:59 +02:00
Michael Opdenacker
c6083a84b6
Merge pull request #169 from MaximeChretien/makefile-index
...
Makefile CONFIG_ index
2020-06-15 14:49:35 +02:00
Maxime Chretien
bf31d7171f
filters: Remove makefilekconfig filter
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-06-12 21:17:57 +02:00
Michael Opdenacker
b027604dad
Merge pull request #168 from MaximeChretien/improve-api
...
api: Add documentation in api results
2020-06-12 16:37:46 +02:00
Maxime Chretien
48e59b909a
test : Update api tests
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-06-12 16:32:50 +02:00
Maxime Chretien
cc8b27ed2b
api: Add documentation in api results
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-06-12 16:17:19 +02:00
Michael Opdenacker
53c160b349
Expand "description" header for better search engine results
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-06-12 16:15:46 +02:00
Maxime Chretien
d7b4fc53f1
filters/makefileo.py : Reject macro named with a .o
...
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
2020-06-12 16:08:15 +02:00