Commit graph

612 commits

Author SHA1 Message Date
Michael Opdenacker
8ffb3d9599 README.adoc: special version of "universal-ctags" no longer required
Because required changes are now included in the official packages
(at least in Ubuntu 22.04)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2023-03-23 11:18:55 +01:00
Andrew Soutar
65e496b950 vertical-align:top to fix line-number offset on some platforms 2023-03-23 10:19:56 +01:00
Ziyue Pan
a627571baf Style: fix redundant parentheses and typos 2023-03-23 09:54:14 +01:00
Ziyue Pan
7c4886cf3c Style: fix redundant parentheses and typos
(cherry picked from commit cd89684ce633c4997b328395cc882de3ab655475)
2023-03-23 09:54:14 +01:00
Ziyue Pan
67562314e1 fix typo in README 2023-03-21 08:14:07 +01:00
Michael Opdenacker
5d4a8d4e5d README.adoc: now use upstream version of Pygments
No more need for a custom version, as our changes are now upstream.

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2022-11-23 16:40:45 +01:00
Tamir Carmeli
76197b5973
BUGFIX: Don't double quote DT compatible strings (#229)
Both query.py and api.py call parse.quote(ident) which perform
url encoding twice on the identifier. For instance, when
ident="linux,kvm" the first encoding done in api.py changes the
ident to   GNU nano 6.2   /home/tamir/elixir/.git/COMMIT_EDITMSG *          │
BUGFIX: Don't double quote DT compatible strings

Both query.py and api.py call parse.quote(ident) which perform
url encoding twice on the identifier. For instance, when
ident="linux,kvm" the first encoding done in api.py changes the
ident to 'wow%2Cey' but the second encoding done in query.py
changes it to 'wow%252Cey' which is no longer valid.

Remove the call to parse.quote on api.py as only one quoting is
necessary, the one in query.py
2022-11-23 15:20:27 +01:00
Michael Opdenacker
cb5fc9fbdc Update default HTML banner
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2022-11-23 14:56:39 +01:00
Michael Opdenacker
50218bba02
Merge pull request #227 from tleb/frontend-fix
Front-end: make the whole width of all entries clickable
2022-11-23 14:27:53 +01:00
Michael Opdenacker
00f52df9dc dpdk: also index the "stable" release repository
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2022-07-29 12:47:42 +02:00
Michael Opdenacker
f5c6d1cd0a Fix tags for llvm
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2022-07-21 10:59:56 +02:00
Théo Lebrun
14dcd032c4 Front-end: make the whole width of all entries clickable
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
2022-07-04 18:17:44 +02:00
Michael Opdenacker
c9dc29d58e
Merge pull request #225 from anatasluo/master
README: add configure step for SELinux and systemd
2022-05-20 17:14:18 +02:00
anatasluo
514fa38ed8 README: add configure step for SELinux and systemd
To fix issues like #213, configure for SELinux
is necessary.

Signed-off-by: anatasluo <luolongjuna@gmail.com>
2022-05-19 09:42:44 +08:00
Michael Opdenacker
aa34f01f35
Merge pull request #220 from eknoes/add-bluez
Add BlueZ
2021-12-01 18:39:39 +01:00
Soenke Huster
2899eafe38
BlueZ: Use sed -E for portability 2021-10-18 11:28:00 +02:00
Soenke Huster
f77b14860e
Sort BlueZ tags 2021-10-17 13:46:16 +02:00
Soenke Huster
8b0e6722b7
Fix BlueZ tags 2021-10-17 13:05:11 +02:00
Soenke Huster
f0842f8688
Add BlueZ 2021-10-16 22:51:14 +02:00
Michael Opdenacker
0a46686643 Remove 'page' identifier from the Linux blacklist
- Don't want to skip this important structure in the Linux kernel
- This fixes https://github.com/bootlin/elixir/issues/207

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2021-01-08 15:02:44 +01:00
Michael Opdenacker
70e868d4bf
Merge pull request #202 from MaximeChretien/issue-199
docker: debian: Use pip3 version of falcon instead of debian package
2020-12-10 09:47:42 +01:00
Michael Opdenacker
dd347664fe
Merge pull request #204 from MaximeChretien/issue-196
update.py: Filter defs when indexing refs
2020-12-10 09:40:14 +01:00
Maxime Chretien (MixLeNain)
763e4fd1aa update.py: use a constant for the key modifier of defs_idxes
As Chris White said it, it's better to have only one line to change if
we have to update that value.

Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-12-07 14:19:44 +01:00
Maxime Chretien (MixLeNain)
10f08e33ea test: Remove defs from refs results
Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-12-07 12:20:59 +01:00
Maxime Chretien (MixLeNain)
c7f427b672 update.py: Filter defs when indexing refs
Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-12-07 12:02:26 +01:00
Maxime Chretien (MixLeNain)
73df02f07a docker: debian: Use pip3 version of falcon instead of debian package
The debian package is outdated so tests fail.

Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-11-09 11:59:00 +01:00
Michael Opdenacker
21fdc0c3ec Fix tags for op-tee
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-11-04 12:26:40 +01:00
Michael Opdenacker
7992eb48c3 Update definition for op-tee
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-11-04 09:15:44 +01:00
Michael Opdenacker
3b20f73281 op-tee: add tags filter
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-11-04 09:08:17 +01:00
Michael Opdenacker
fc517b659d Rename op-tee project
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2020-11-04 09:00:46 +01:00
Michael Opdenacker
4f39239b19
Merge pull request #201 from mwalle/master
Add optee support
2020-11-03 21:45:45 +01:00
Michael Walle
450b1d3a02 Add optee support
Fetch tags that look like a version number, i.e. "[0-9].".

Signed-off-by: Michael Walle <michael@walle.cc>
2020-11-03 14:58:25 +01:00
Michael Opdenacker
e5a941e385
Merge pull request #198 from MaximeChretien/docker-pytest
Fix tests in docker
2020-10-30 17:55:45 +01:00
Maxime Chretien (MixLeNain)
ac8b65a36d docker: use rh-git218 package instead of git in centos
This allows to have git 2.18 instead of git 1.8 and is needed for tests

Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-10-30 15:58:04 +01:00
Michael Opdenacker
ef8e54b54b
Merge pull request #197 from MaximeChretien/defs-split
web.py : Split defintion list into lists for each type
2020-10-30 14:12:36 +01:00
Maxime Chretien (MixLeNain)
9ec7cf5b2e docker : Add symlink for pytest and dummy git config
Also add perl test packages to centos

Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-10-30 13:13:44 +01:00
Maxime Chretien (MixLeNain)
f867ebfb8e web.py : Split defintion list into lists for each type
This splits definition printing into multiple lists, one for each type.
It allows to find wanted definitions faster when a single name is used
for multiple definitions.

Signed-off-by: Maxime Chretien (MixLeNain) <mchretien@linuxmail.org>
2020-10-30 11:03:42 +01:00
Michael Opdenacker
cc557f70e7
Merge pull request #179 from AlphaHot/patch-1
web : Add autofocus when entering a search
2020-10-30 10:59:40 +01:00
Michael Opdenacker
946a26c215
Merge pull request #195 from cxw42/issue192
find-file-doc-comments: Handle "type\nname" definitions
2020-10-27 10:04:37 +01:00
Chris White
7613d5be61 Remove duplicate test [minor]
Apparently a copy-and-paste error --- we were running one test twice.
Remove the second test, since I can't think of any reason we would need it.
2020-10-26 21:48:42 -04:00
Chris White
e544e25ee5 find-file-doc-comments: handle "type\nname"
Previously, find-file-doc-comments could handle

    int foo() {}

but not

    int
    foo() {}

When processing a function, if the reported line begins with the
function's symbol, assume we have the latter situation.  Move backward
to the first line that doesn't start with an ASCII letter.  This is
my best current guess as to a reasonable heuristic.
2020-10-26 21:48:39 -04:00
Chris White
868b8676b8 Add test of #192 2020-10-26 21:43:11 -04:00
Michael Opdenacker
d7b0a5a904
Merge pull request #191 from xrmx/pyflakes-warnings
Silence some pyflakes warnings
2020-10-26 16:25:53 +01:00
Michael Opdenacker
2c196ebd23
Merge pull request #193 from MaximeChretien/update-unbuffered
docker: Execute update.py with unbuffered output
2020-10-26 16:14:48 +01:00
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