Commit Graph

27 Commits

Author SHA1 Message Date
Jeff Epler
9b8df7f635 Upgrade ulab
This version
 * moves source files to reflect module structure
 * adds inline documentation suitable for extract_pyi
 * incompatibly moves spectrogram to fft
 * incompatibly removes "extras"

There are some remaining markup errors in the specific revision of
extmod/ulab but they do not prevent the doc building process from
completing.
2020-07-28 16:57:48 -05:00
Diego Elio Pettenò
34b4993d63 Add license to some obvious files. 2020-07-06 19:16:25 +01:00
Scott Shawcroft
c3d1256d76
Add one-of-each build target at the top level. 2020-06-30 15:30:07 -07:00
Scott Shawcroft
a26102607e
Add UART support 2020-06-24 12:47:58 -07:00
Jeff Epler
79e2ede7c1 Makefile: "make translate" will only update circuitpython.pot
We can now rely on weblate to regularly update the individual language
files from the template, so "make translate" only needs to update the
template file circuitpython.pot.

This is advantageous because updating the other files in locale/ was
a frequent source of merge conflicts; resolving the conflict incorrectly
was something that could easily occur (and did).
2020-06-01 07:51:57 -05:00
Scott Shawcroft
0e6813d084
Fix merge-translate by starting with 'theirs' 2020-05-29 10:17:42 -07:00
Scott Shawcroft
8a42c33dca
Add top level merge-translate target 2020-05-20 10:49:01 -07:00
Scott Shawcroft
afc84c2fd1
Fix ulab, math and template. 2020-05-14 15:58:36 -07:00
Scott Shawcroft
4e8de3c554
Swap sphinx to autoapi and the inline stubs 2020-05-12 17:28:24 -07:00
Scott Shawcroft
46713482f4
Add verification script 2020-04-27 14:36:14 -07:00
Jeff Epler
38a718ff55 Translations: follow stm port rename, run 'make translate' 2020-03-17 16:42:13 -05:00
Scott Shawcroft
834259a2cf
Update translations and translation sources 2020-01-18 11:57:57 -08:00
Jeff Epler
8e9ac59396 Makefile: Fix a problem where xargs invoked xgettext 2x
On a Debian 10 system, the number of arguments to xargs was such that
it would not fit in a single invocation (xargs --show-limits prints
"bytes: Size of command buffer we are actually using: 131072").

In this situation, the output from the second invocation of xgettext
would replace the output of the first one, so messages that appeared only
in files early in the list would be lost.  Strings in "extmod" were most
frequently the victim, including "incorrect padding" from modubinascii.c.

Unfortunately, when the github environment was similar enough to the
environment where "make translate" was invoked, the problem was not
found by "check-translate", because the same (incorrect, truncated)
potfile would be generated on both systems.  Apparently Ubuntu and Debian
were different enough that the problem could become visible.

xgettext has a mode where it reads files from stdin ('-f-'), but this does
not have a zero-delimited variant documented.  Still, we will assume
that files with adversarial names are not committed to circuitpython
or created by the build process, and print newline-delimited filenames
from `find` to be processed by `xgettext -f-`.
2019-11-17 21:00:07 -06:00
Craig Forbes
d852d0f043 Explicitly set the locale when sorting translation files. 2019-06-18 16:59:05 -05:00
Dan Halbert
4fc189b60c Merge latest 4.0.x fixes into master 2019-06-11 16:16:29 -04:00
John Reese
e8521c8379 Clean up egg-info directory as well 2019-06-02 15:12:29 -07:00
Dan Halbert
71c7aca29c Add top-level Makefile target to update frozen libs easily; Update CPX lib 2019-05-28 09:09:00 -04:00
John Reese
7f7665c1c0 Use rst2pyi to generate type stubs and package 2019-05-25 21:32:06 -07:00
Scott Shawcroft
e74f5d5d76
Have xargs expect null termination 2019-05-14 10:42:52 -07:00
Scott Shawcroft
6756821fd9
Update translations and sort input files
This should stabilize the sort of files in the .po files.

Fixes #1871
2019-05-13 18:04:53 -07:00
Dan Halbert
b7a68a7020 restrict 'make translate' to include only those directories we have ports 2019-03-27 16:28:50 -04:00
Scott Shawcroft
5c104c934f
Add translation file locations back.
Skip line numbers because they cause diff churn. Also, keep sorting
by msgid to prevent churn from adding new files.
2019-03-08 12:47:04 -08:00
Scott Shawcroft
785edf719e
Update translations based on git history 2019-02-22 15:28:29 -08:00
Scott Shawcroft
8cfc4ed9ca
Remove file locations 2019-02-22 13:09:10 -08:00
Scott Shawcroft
64a333eeaf
Clean up duplicates and have make translate produce a stable ordering. 2018-08-30 16:12:20 -07:00
Scott Shawcroft
933add6cd8
Support internationalisation. 2018-08-07 14:58:57 -07:00
Karin Hawley
f9ae1ee172 Cleaning up and fixing the docs generation Makefile and README instructions
- moving Makefile to parent folder.  This resolves some of the weird path/build issues
- remove trace references to cpydiff and original file (no longer used anywhere)
- converting SOURCEDIR to a changeable variable, passed through all sphinx-build calls
- adding path to conf.py, in case it moves again
- making `-v` default with VERBOSE
- making `-E` default with FORCE
- creating BASEOPTS to store all the dirs, paths, and settings, passing them to sphinx-build in one long chain, instead of individually
- updating README to use the make command as default.  Also added text explaining some of the customization you can add into a make command
2018-05-14 11:02:25 -07:00