wiki:

TracQuery


Version 2 (modified by trac, 7 years ago) (diff)

--

Trac Ticket Queries

In addition to reports, Trac provides support for custom ticket queries, used to display lists of tickets meeting a specified set of criteria.

To configure and execute a custom query, switch to the View Tickets module from the navigation bar, and select the Custom Query link.

Filters

When you first go to the query page the default filter will display tickets relevant to you:

  • If logged in then all open tickets it will display open tickets assigned to you.
  • If not logged in but you have specified a name or email address in the preferences then it will display all open tickets where your email (or name if email not defined) is in the CC list.
  • If not logged and no name/email defined in the preferences then all open issues are displayed.

Current filters can be removed by clicking the button to the left with the minus sign on the label. New filters are added from the pulldown lists at the bottom corners of the filters box ('And' conditions on the left, 'Or' conditions on the right). Filters with either a text box or a pulldown menu of options can be added multiple times to perform an or of the criteria.

You can use the fields just below the filters box to group the results based on a field, or display the full description for each ticket.

Once you've edited your filters click the Update button to refresh your results.

Clicking on one of the query results will take you to that ticket. You can navigate through the results by clicking the Next Ticket or Previous Ticket links just below the main menu bar, or click the Back to Query link to return to the query page.

You can safely edit any of the tickets and continue to navigate through the results using the Next/Previous/Back to Query links after saving your results. When you return to the query any tickets which were edited will be displayed with italicized text. If one of the tickets was edited such that it no longer matches the query criteria the text will also be greyed. Lastly, if a new ticket matching the query criteria has been created, it will be shown in bold.

The query results can be refreshed and cleared of these status indicators by clicking the Update button again.

Saving Queries

Trac allows you to save the query as a named query accessible from the reports module. To save a query ensure that you have Updated the view and then click the Save query button displayed beneath the results. You can also save references to queries in Wiki content, as described below.

Note: one way to easily build queries like the ones below, you can build and test the queries in the Custom report module and when ready - click Save query. This will build the query string for you. All you need to do is remove the extra line breaks.

Note: you must have the REPORT_CREATE permission in order to save queries to the list of default reports. The Save query button will only appear if you are logged in as a user that has been granted this permission. If your account does not have permission to create reports, you can still use the methods below to save a query.

You may want to save some queries so that you can come back to them later. You can do this by making a link to the query from any Wiki page.

[query:status=new|assigned|reopened&version=1.0 Active tickets against 1.0]

Which is displayed as:

Active tickets against 1.0

This uses a very simple query language to specify the criteria (see Query Language).

Alternatively, you can copy the query string of a query and paste that into the Wiki link, including the leading ? character:

[query:?status=new&status=assigned&status=reopened&group=owner Assigned tickets by owner]

Which is displayed as:

Assigned tickets by owner

Using the [[TicketQuery]] Macro

The TicketQuery macro lets you display lists of tickets matching certain criteria anywhere you can use WikiFormatting.

Example:

[[TicketQuery(version=0.6|0.7&resolution=duplicate)]]

This is displayed as:

No results

Just like the query: wiki links, the parameter of this macro expects a query string formatted according to the rules of the simple ticket query language. This also allows displaying the link and description of a single ticket:

[[TicketQuery(id=123)]]

This is displayed as:

#123
Fuzzed sample crashes ffplay

A more compact representation without the ticket summaries is also available:

[[TicketQuery(version=0.6|0.7&resolution=duplicate, compact)]]

This is displayed as:

No results

Finally, if you wish to receive only the number of defects that match the query, use the count parameter.

[[TicketQuery(version=0.6|0.7&resolution=duplicate, count)]]

This is displayed as:

0

Customizing the table format

You can also customize the columns displayed in the table format (format=table) by using col=<field> - you can specify multiple fields and what order they are displayed by placing pipes (|) between the columns like below:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter)]]

This is displayed as:

Results (1 - 3 of 6667)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#8782 fixed ffmpeg abort when parsing file lawhack
#8775 duplicate Theora bad encoding on 64 bit tedl
#8773 fixed libavcodec/libaomenc.c fails to build (undeclared symbols/variables) slycordinator
1 2 3 4 5 6 7 8 9 10 11

Full rows

In table format you can also have full rows by using rows=<field> like below:

[[TicketQuery(max=3,status=closed,order=id,desc=1,format=table,col=resolution|summary|owner|reporter,rows=description)]]

This is displayed as:

Results (1 - 3 of 6667)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#8782 fixed ffmpeg abort when parsing file lawhack
Description

Summary of the bug: use afl to fuzz the 4xm fileformat codec,ffmpeg abort when parsing some sample How to reproduce:

% ffmpeg -vcodec 4xm -i sample -f null -
ffmpeg version N-98388-g76a3ee996b Copyright (c) 2000-2020 the FFmpeg developers
built on built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

#8775 duplicate Theora bad encoding on 64 bit tedl
Description

Summary of the bug:

Theora encoding using the 64 bit version of ffmpeg generates bad data.

How to reproduce:

ffmpeg -i input.mp4 -c:v libtheora -q:v 7 -c:a libvorbis output.ogg

Tested on several different binaries: ffmpeg-20200628-4cfcfb3-win64-static ffmpeg-20200623-ce297b4-win64-static ffmpeg-4.3-win64-static ffmpeg-4.2.3-win64-static

Output

ffmpeg started on 2020-07-03 at 11:56:55
Report written to "ffmpeg-20200703-115655.log"
Log level: 48
ffmpeg version git-2020-06-28-4cfcfb3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200621
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 55.100 / 56. 55.100
  libavcodec     58. 93.100 / 58. 93.100
  libavformat    58. 47.100 / 58. 47.100
  libavdevice    58. 11.100 / 58. 11.100
  libavfilter     7. 86.100 /  7. 86.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2017-12-13T10:05:17.000000Z
    artist          : Microsoft Game DVR
    title           : Satari
  Duration: 00:00:24.19, start: 0.000000, bitrate: 9649 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1020 [SAR 1:1 DAR 32:17], 9168 kb/s, 30.14 fps, 60 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : VideoHandler
      encoder         : AVC Coding
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 133 kb/s (default)
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> theora (libtheora))
  Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
Output #0, ogg, to 'output.ogg':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    title           : Satari
    artist          : Microsoft Game DVR
    encoder         : Lavf58.47.100
    Stream #0:0(und): Video: theora (libtheora), yuv420p, 1920x1020 [SAR 1:1 DAR 32:17], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : VideoHandler
      encoder         : Lavc58.93.100 libtheora
      major_brand     : mp42
      minor_version   : 0
      compatible_brands: mp41isom
      title           : Satari
      artist          : Microsoft Game DVR
    Stream #0:1(und): Audio: vorbis (libvorbis), 48000 Hz, stereo, fltp (default)
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : SoundHandler
      encoder         : Lavc58.93.100 libvorbis
      major_brand     : mp42
      minor_version   : 0
      compatible_brands: mp41isom
      title           : Satari
      artist          : Microsoft Game DVR
frame=  728 fps= 15 q=-0.0 Lsize=   20528kB time=00:00:24.29 bitrate=6923.0kbits/s dup=2 drop=3 speed=0.513x
video:20140kB audio:285kB subtitle:0kB other streams:0kB global headers:7kB muxing overhead: 0.505970%

ffplay partial output

ffplay.exe -report .\output.ogg
ffplay started on 2020-07-03 at 12:00:19
Report written to "ffplay-20200703-120019.log"
Log level: 48
ffplay version git-2020-06-28-4cfcfb3 Copyright (c) 2003-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200621
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 55.100 / 56. 55.100
  libavcodec     58. 93.100 / 58. 93.100
  libavformat    58. 47.100 / 58. 47.100
  libavdevice    58. 11.100 / 58. 11.100
  libavfilter     7. 86.100 /  7. 86.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, ogg, from '.\output.ogg':0KB vq=    0KB sq=    0B f=0/0
  Duration: 00:00:24.29, start: 0.000000, bitrate: 6923 kb/s
    Stream #0:0(und): Video: theora, yuv420p, 1920x1020 [SAR 1:1 DAR 32:17], 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : VideoHandler
      encoder         : Lavc58.93.100 libtheora
      major_brand     : mp42
      minor_version   : 0
      compatible_brands: mp41isom
      title           : Satari
      artist          : Microsoft Game DVR
    Stream #0:1(und): Audio: vorbis, 48000 Hz, stereo, fltp, 112 kb/s
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : SoundHandler
      encoder         : Lavc58.93.100 libvorbis
      major_brand     : mp42
      minor_version   : 0
      compatible_brands: mp41isom
      title           : Satari
      artist          : Microsoft Game DVR
[theora @ 000002ac19240580] error in unpack_block_qpis
[theora @ 000002ac19cb9480] error in unpack_dct_coeffs
[theora @ 000002ac19dae1c0] error in unpack_vectorsq=    0B f=0/0
[theora @ 000002ac1a66e2c0] error in unpack_block_qpis
[theora @ 000002ac1a879f40] error in unpack_block_qpis
[theora @ 000002ac1aa79dc0] error in unpack_block_qpis
[theora @ 000002ac1c386d80] error in unpack_block_qpis
[theora @ 000002ac1c58ac00] error in unpack_block_qpis
[theora @ 000002ac1c78ca40] error in unpack_block_qpis
[theora @ 000002ac1c9928c0] error in unpack_block_qpis
[theora @ 000002ac1cbd7dc0] error in unpack_block_qpis
[theora @ 000002ac1cbdb480] error in unpack_block_qpis
[theora @ 000002ac1cbd9480] error in unpack_vectors
[theora @ 000002ac1cbd8240] error in unpack_block_qpis
[theora @ 000002ac19cb9480] error in unpack_block_qpis
[theora @ 000002ac19dae1c0] error in unpack_block_qpis
[theora @ 000002ac1a879f40] error in unpack_block_qpis
[theora @ 000002ac1aa79dc0] error in unpack_dct_coeffs
[theora @ 000002ac1c386d80] error in unpack_block_qpis
[theora @ 000002ac1c58ac00] error in unpack_block_qpis
[theora @ 000002ac1c78ca40] error in unpack_block_qpis
[theora @ 000002ac1cbdb000] error in unpack_block_qpis
[theora @ 000002ac1cbd7dc0] error in unpack_block_qpis
[theora @ 000002ac1cbd8240] error in unpack_block_qpis
[theora @ 000002ac1cbdb480] error in unpack_block_qpis
[theora @ 000002ac193fe140] error in unpack_block_qpis
[theora @ 000002ac19240580] error in unpack_block_qpis   0B f=0/0
[theora @ 000002ac19cb9480] error in unpack_block_qpis
[theora @ 000002ac19dae1c0] error in unpack_block_qpis
[theora @ 000002ac1a66e2c0] error in unpack_block_qpis   0B f=0/0
[theora @ 000002ac1a879f40] error in unpack_block_qpis
[theora @ 000002ac1aa79dc0] error in unpack_block_qpis
[theora @ 000002ac1c386d80] error in unpack_block_qpis
[theora @ 000002ac1c9928c0] error in unpack_vectorsq=    0B f=0/0
[theora @ 000002ac1cbd7dc0] error in unpack_block_qpis
[theora @ 000002ac1cbdb000] error in unpack_block_qpis
[theora @ 000002ac1cbdb480] error in unpack_block_qpis
[theora @ 000002ac1cbd9480] error in unpack_block_qpis   0B f=0/0
[theora @ 000002ac1cbd8240] error in unpack_block_qpis
[theora @ 000002ac193fe140] error in unpack_block_qpis
[theora @ 000002ac19240580] error in unpack_block_qpis
[theora @ 000002ac19dae1c0] error in unpack_block_qpis
[theora @ 000002ac19cb9480] error in unpack_block_qpis
[theora @ 000002ac1aa79dc0] error in unpack_block_qpis
[theora @ 000002ac1a66e2c0] error in unpack_block_qpis
[theora @ 000002ac1c386d80] error in unpack_block_qpis
[theora @ 000002ac1c58ac00] error in unpack_block_qpis   0B f=0/0
[theora @ 000002ac1c78ca40] error in unpack_block_qpis   0B f=0/0
[theora @ 000002ac1cbdb000] error in unpack_block_qpis
[theora @ 000002ac1c9928c0] error in unpack_block_qpis
[theora @ 000002ac1cbd7dc0] error in unpack_block_qpis
[theora @ 000002ac1cbd9480] error in unpack_block_qpis
[theora @ 000002ac1cbd8240] error in unpack_block_qpis
[theora @ 000002ac193fe140] error in unpack_block_qpis
[theora @ 000002ac19240580] error in unpack_block_qpis
[theora @ 000002ac19cb9480] error in unpack_block_qpis
[theora @ 000002ac1a66e2c0] error in unpack_block_qpis
[theora @ 000002ac19dae1c0] error in unpack_block_qpis
[theora @ 000002ac1aa79dc0] error in unpack_block_qpis   0B f=0/0
[theora @ 000002ac1a879f40] error in unpack_block_qpis
[theora @ 000002ac1c386d80] error in unpack_block_qpis
[theora @ 000002ac1c58ac00] error in unpack_block_qpis
[theora @ 000002ac1cbd7dc0] error in unpack_block_qpis
[theora @ 000002ac1c9928c0] error in unpack_block_qpis
[theora @ 000002ac1cbdb000] error in unpack_block_qpis
[theora @ 000002ac1cbd8240] error in unpack_block_qpis   0B f=0/0
[theora @ 000002ac1cbdb480] error in unpack_block_qpis
[theora @ 000002ac1cbd9480] error in unpack_block_qpis
[theora @ 000002ac19240580] error in unpack_block_qpis
[theora @ 000002ac193fe140] error in unpack_block_qpis
[theora @ 000002ac19cb9480] error in unpack_block_qpis
[theora @ 000002ac1a66e2c0] error in unpack_block_qpis
[theora @ 000002ac19dae1c0] error in unpack_block_qpis
[theora @ 000002ac1aa79dc0] error in unpack_block_qpis
[theora @ 000002ac1c386d80] error in unpack_block_qpis
[theora @ 000002ac1c58ac00] error in unpack_block_qpis

Encoding using the 32 bit version of ffmpeg using the same command is generating correct data.

Output

ffmpeg started on 2020-07-03 at 12:02:24
Report written to "ffmpeg-20200703-120224.log"
Log level: 48
ffmpeg version git-2020-06-28-4cfcfb3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200621
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 55.100 / 56. 55.100
  libavcodec     58. 93.100 / 58. 93.100
  libavformat    58. 47.100 / 58. 47.100
  libavdevice    58. 11.100 / 58. 11.100
  libavfilter     7. 86.100 /  7. 86.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2017-12-13T10:05:17.000000Z
    artist          : Microsoft Game DVR
    title           : Satari
  Duration: 00:00:24.19, start: 0.000000, bitrate: 9649 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1020 [SAR 1:1 DAR 32:17], 9168 kb/s, 30.14 fps, 60 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : VideoHandler
      encoder         : AVC Coding
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 133 kb/s (default)
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> theora (libtheora))
  Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
Output #0, ogg, to 'output.ogg':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    title           : Satari
    artist          : Microsoft Game DVR
    encoder         : Lavf58.47.100
    Stream #0:0(und): Video: theora (libtheora), yuv420p, 1920x1020 [SAR 1:1 DAR 32:17], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : VideoHandler
      encoder         : Lavc58.93.100 libtheora
      major_brand     : mp42
      minor_version   : 0
      compatible_brands: mp41isom
      title           : Satari
      artist          : Microsoft Game DVR
    Stream #0:1(und): Audio: vorbis (libvorbis), 48000 Hz, stereo, fltp (default)
    Metadata:
      creation_time   : 2017-12-13T10:05:17.000000Z
      handler_name    : SoundHandler
      encoder         : Lavc58.93.100 libvorbis
      major_brand     : mp42
      minor_version   : 0
      compatible_brands: mp41isom
      title           : Satari
      artist          : Microsoft Game DVR
frame=  728 fps= 15 q=-0.0 Lsize=   12537kB time=00:00:24.29 bitrate=4228.0kbits/s dup=2 drop=3 speed=0.501x
video:12187kB audio:285kB subtitle:0kB other streams:0kB global headers:7kB muxing overhead: 0.527514%

Tested on binaries: ffmpeg-20200628-4cfcfb3-win32-static

#8773 fixed libavcodec/libaomenc.c fails to build (undeclared symbols/variables) slycordinator
Description

Summary of the bug: libavcodec/libaomenc.c fails to build; gives [error: ‘AV1E_SET_ENABLE_*_PARTITIONS’ undeclared here] How to reproduce:

Download current git sources ffmpeg-snapshot.tar.bz2
Unpack
configure to build libaom
make

CC libavcodec/libfdk-aacenc.o libavcodec/libaomenc.c:148:6: error: ‘AV1E_SET_ENABLE_1TO4_PARTITIONS’ undeclared here (not in a function); did you mean ‘AV1E_SET_ENABLE_RESTORATION’?

148 | [AV1E_SET_ENABLE_1TO4_PARTITIONS] = "AV1E_SET_ENABLE_1TO4_PARTITIONS",

| | AV1E_SET_ENABLE_RESTORATION

libavcodec/libaomenc.c:148:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:148:6: note: (near initialization for ‘ctlidstr’) CC libavcodec/libmp3lame.o libavcodec/libaomenc.c:149:6: error: ‘AV1E_SET_ENABLE_AB_PARTITIONS’ undeclared here (not in a function); did you mean ‘AV1E_SET_ENABLE_RESTORATION’?

149 | [AV1E_SET_ENABLE_AB_PARTITIONS] = "AV1E_SET_ENABLE_AB_PARTITIONS",

| | AV1E_SET_ENABLE_RESTORATION

libavcodec/libaomenc.c:149:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:149:6: note: (near initialization for ‘ctlidstr’) libavcodec/libaomenc.c:150:6: error: ‘AV1E_SET_ENABLE_RECT_PARTITIONS’ undeclared here (not in a function); did you mean ‘AV1E_SET_ENABLE_RESTORATION’?

150 | [AV1E_SET_ENABLE_RECT_PARTITIONS] = "AV1E_SET_ENABLE_RECT_PARTITIONS",

| | AV1E_SET_ENABLE_RESTORATION

libavcodec/libaomenc.c:150:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:150:6: note: (near initialization for ‘ctlidstr’) CC libavcodec/libopus.o libavcodec/libaomenc.c:151:6: error: ‘AV1E_SET_ENABLE_ANGLE_DELTA’ undeclared here (not in a function); did you mean ‘AV1E_SET_ENABLE_SUPERRES’?

151 | [AV1E_SET_ENABLE_ANGLE_DELTA] = "AV1E_SET_ENABLE_ANGLE_DELTA",

| | AV1E_SET_ENABLE_SUPERRES

libavcodec/libaomenc.c:151:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:151:6: note: (near initialization for ‘ctlidstr’) libavcodec/libaomenc.c:152:6: error: ‘AV1E_SET_ENABLE_CFL_INTRA’ undeclared here (not in a function); did you mean ‘AV1E_SET_ENABLE_JNT_COMP’?

152 | [AV1E_SET_ENABLE_CFL_INTRA] = "AV1E_SET_ENABLE_CFL_INTRA",

| | AV1E_SET_ENABLE_JNT_COMP

libavcodec/libaomenc.c:152:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:152:6: note: (near initialization for ‘ctlidstr’) libavcodec/libaomenc.c:153:6: error: ‘AV1E_SET_ENABLE_FILTER_INTRA’ undeclared here (not in a function); did you mean ‘AV1E_SET_ENABLE_ORDER_HINT’?

153 | [AV1E_SET_ENABLE_FILTER_INTRA] = "AV1E_SET_ENABLE_FILTER_INTRA",

| ~ | AV1E_SET_ENABLE_ORDER_HINT

libavcodec/libaomenc.c:153:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:153:6: note: (near initialization for ‘ctlidstr’) libavcodec/libaomenc.c:154:6: error: ‘AV1E_SET_ENABLE_INTRA_EDGE_FILTER’ undeclared here (not in a function)

154 | [AV1E_SET_ENABLE_INTRA_EDGE_FILTER] = "AV1E_SET_ENABLE_INTRA_EDGE_FILTER",

|

libavcodec/libaomenc.c:154:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:154:6: note: (near initialization for ‘ctlidstr’) libavcodec/libaomenc.c:155:6: error: ‘AV1E_SET_ENABLE_PAETH_INTRA’ undeclared here (not in a function); did you mean ‘AV1E_SET_ENABLE_ORDER_HINT’?

155 | [AV1E_SET_ENABLE_PAETH_INTRA] = "AV1E_SET_ENABLE_PAETH_INTRA",

| | AV1E_SET_ENABLE_ORDER_HINT

libavcodec/libaomenc.c:155:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:155:6: note: (near initialization for ‘ctlidstr’) libavcodec/libaomenc.c:156:6: error: ‘AV1E_SET_ENABLE_SMOOTH_INTRA’ undeclared here (not in a function); did you mean ‘AV1E_SET_ENABLE_ORDER_HINT’?

156 | [AV1E_SET_ENABLE_SMOOTH_INTRA] = "AV1E_SET_ENABLE_SMOOTH_INTRA",

| ~ | AV1E_SET_ENABLE_ORDER_HINT

libavcodec/libaomenc.c:156:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:156:6: note: (near initialization for ‘ctlidstr’) libavcodec/libaomenc.c:157:6: error: ‘AV1E_SET_ENABLE_PALETTE’ undeclared here (not in a function); did you mean ‘AV1E_SET_ENABLE_SUPERRES’?

157 | [AV1E_SET_ENABLE_PALETTE] = "AV1E_SET_ENABLE_PALETTE",

| | AV1E_SET_ENABLE_SUPERRES

libavcodec/libaomenc.c:157:6: error: array index in initializer not of integer type libavcodec/libaomenc.c:157:6: note: (near initialization for ‘ctlidstr’) CC libavcodec/libopusdec.o CC libavcodec/libopusenc.o CC libavcodec/libvorbisdec.o make: * [ffbuild/common.mak:59: libavcodec/libaomenc.o] Error 1 make: * Waiting for unfinished jobs.... make: Leaving directory '/tmp/tmp.ShpjTBD5DM/ffmpeg'

1 2 3 4 5 6 7 8 9 10 11

Query Language

query: TracLinks and the [[TicketQuery]] macro both use a mini “query language” for specifying query filters. Basically, the filters are separated by ampersands (&). Each filter then consists of the ticket field name, an operator, and one or more values. More than one value are separated by a pipe (|), meaning that the filter matches any of the values. To include a literal & or | in a value, escape the character with a backslash (\).

The available operators are:

= the field content exactly matches one of the values
~= the field content contains one or more of the values
^= the field content starts with one of the values
$= the field content ends with one of the values

All of these operators can also be negated:

!= the field content matches none of the values
!~= the field content does not contain any of the values
!^= the field content does not start with any of the values
!$= the field content does not end with any of the values

The date fields created and modified can be constrained by using the = operator and specifying a value containing two dates separated by two dots (..). Either end of the date range can be left empty, meaning that the corresponding end of the range is open. The date parser understands a few natural date specifications like "3 weeks ago", "last month" and "now", as well as Bugzilla-style date specifications like "1d", "2w", "3m" or "4y" for 1 day, 2 weeks, 3 months and 4 years, respectively. Spaces in date specifications can be left out to avoid having to quote the query string.

created=2007-01-01..2008-01-01 query tickets created in 2007
created=lastmonth..thismonth query tickets created during the previous month
modified=1weekago.. query tickets that have been modified in the last week
modified=..30daysago query tickets that have been inactive for the last 30 days

See also: TracTickets, TracReports, TracGuide