1. 19 2月, 2019 1 次提交
    • H
      extended-controls.rst: split up per control class · 4f14e327
      Hans Verkuil 提交于
      The extended-controls.rst file had become too big. Split it up: each
      control class reference gets its own rst file, and this file just
      describes the Extended Control API.
      
      Each control class reference is also moved up one level into the
      table of contents to make it easier to find e.g. the codec control
      reference.
      
      Finally I rearranged the order so that all camera-related control
      classes are grouped together, ditto for codec/jpeg and fm-rx/tx.
      
      The ext-ctrls-codec.rst is still pretty big and it is a candidate
      to split up further in the future, possibly per codec.
      Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      4f14e327
  2. 17 1月, 2019 2 次提交
  3. 08 1月, 2019 1 次提交
  4. 07 12月, 2018 1 次提交
  5. 06 12月, 2018 1 次提交
  6. 05 12月, 2018 2 次提交
  7. 21 11月, 2018 1 次提交
    • W
      Documentation: Use "while" instead of "whilst" · 806654a9
      Will Deacon 提交于
      Whilst making an unrelated change to some Documentation, Linus sayeth:
      
        | Afaik, even in Britain, "whilst" is unusual and considered more
        | formal, and "while" is the common word.
        |
        | [...]
        |
        | Can we just admit that we work with computers, and we don't need to
        | use þe eald Englisc spelling of words that most of the world never
        | uses?
      
      dictionary.com refers to the word as "Chiefly British", which is
      probably an undesirable attribute for technical documentation.
      
      Replace all occurrences under Documentation/ with "while".
      
      Cc: David Howells <dhowells@redhat.com>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Michael Halcrow <mhalcrow@google.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Reported-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      806654a9
  8. 24 9月, 2018 1 次提交
  9. 04 7月, 2018 2 次提交
  10. 04 4月, 2018 1 次提交
  11. 22 3月, 2018 2 次提交
  12. 13 10月, 2017 1 次提交
  13. 27 8月, 2017 1 次提交
    • M
      media: fix pdf build with Spinx 1.6 · 70b074df
      Mauro Carvalho Chehab 提交于
      Sphinx 1.6 generates some LaTeX code before each table,
      starting its own environment before calling tabulary,
      apparently to improve table layout.
      
      The problem is that such environment is incompatible with
      adjustbox. While, in thesis, it should be possible to override
      it or to redefine tabulary, I was unable to produce such patch.
      
      Also, that would likely break on some future Sphinx version.
      
      So, instead, let's just change the font size on bigger tables,
      in order for them to fit into the page size. That is not as
      good as adjustbox, and require some manual work, but it should
      be less sensitive to Sphinx changes.
      
      While here, adjust a few other tables whose text is exceeding
      the cell boundaries.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      70b074df
  14. 08 8月, 2017 1 次提交
  15. 20 6月, 2017 1 次提交
  16. 07 6月, 2017 1 次提交
  17. 24 11月, 2016 1 次提交
  18. 17 11月, 2016 1 次提交
  19. 22 9月, 2016 1 次提交
    • L
      [media] v4l: doc: Remove row numbers from tables · c2b66caf
      Laurent Pinchart 提交于
      Shorten the tables by removing row numbers in comments, allowing for
      later insertion of rows with minimal diffs.
      
      All changes have been generated by the following script.
      
      import io
      import re
      import sys
      
      def process_table(fname, data):
      	if fname.endswith('hist-v4l2.rst'):
      		data = re.sub(u'\n{1,2}\t( ?)  -( ?) ?', u'\n\t\\1 -\\2', data, flags = re.MULTILINE)
      		data = re.sub(u'\n(\t|       )-  \.\. row [0-9]+\n\t  ?-( ?) ?', u'\\1* -\\2', data, flags = re.MULTILINE)
      	else:
      		data = re.sub(u'\n{1,2}       -( ?) ?', u'\n      -\\1', data, flags = re.MULTILINE)
      		data = re.sub(u'(\n?)(\n\n    -  \.\. row 1\n)', u'\n\\2', data, flags = re.MULTILINE)
      		data = re.sub(u'\n    -  \.\. row [0-9]+\n      -( ?) ?', u'    * -\\1', data, flags = re.MULTILINE)
      		data = re.sub(u'\n    -  \.\. row [0-9]+\n       \.\. (_[A-Z0-9_`-]*:)', u'\n    -  .. \\1', data, flags = re.MULTILINE)
      		data = re.sub(u'\n    -  \.\. (_[A-Z0-9_`-]*:)\n      -', u'    * .. \\1\n\n      -', data, flags = re.MULTILINE)
      		data = re.sub(u'^       - ', u'      -', data, flags = re.MULTILINE)
      		data = re.sub(u'^(\t{1,2})  ', u'\\1', data, flags = re.MULTILINE)
      
      	return data
      
      def process_file(fname, data):
      	buf = io.StringIO(data)
      	output = ''
      	in_table = False
      	table_separator = 0
      
      	for line in buf.readlines():
      		if line.find('.. flat-table::') != -1:
      			in_table = True
      			table = ''
      		elif in_table and not re.match('^[\t\n]|(    )', line):
      			in_table = False
      			output += process_table(fname, table)
      
      		if in_table:
      			table += line
      		else:
      			output += line
      
      	if in_table:
      		in_table = False
      		output += process_table(fname, table)
      
      	return output
      
      fname = sys.argv[1]
      
      data = file(fname, 'rb').read().decode('utf-8')
      data = process_file(fname, data)
      file(fname, 'wb').write(data.encode('utf-8'))
      Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      c2b66caf
  20. 09 9月, 2016 2 次提交
  21. 24 8月, 2016 1 次提交
  22. 22 8月, 2016 3 次提交
  23. 13 7月, 2016 1 次提交
  24. 10 7月, 2016 1 次提交
  25. 08 7月, 2016 2 次提交
  26. 05 7月, 2016 1 次提交
  27. 04 7月, 2016 3 次提交
  28. 03 7月, 2016 2 次提交
  29. 02 7月, 2016 1 次提交