Kassy
ac83e934a1
Limit the number of cython processes ran in parallel
...
Running all the cython tasks in parallel at once is a bit violent. On my Docker
container for instance, it makes some processes be killed before they complete
because of resources exhaustion.
Using a ThreadPoolExecutor instance to limit the number of parallel tasks
guarantees there will be at least as much processes at the number of CPU plus 4
(up to 32) so that should be as fast as before without risking to reach the
host resources limit.
2025-01-23 21:01:32 +01:00
Tom Rothamel
36c00a5e19
Rewrite the imports to use typing.TYPE_CHECKING.
2025-01-05 00:48:05 -05:00
Tom Rothamel
cedcc36418
Update .gitignore and .vscode/settings.json when generating pyi files.
...
Also check in some missing pyis.
2025-01-04 23:33:41 -05:00
Tom Rothamel
20f988a175
Update copyright for 2025.
2025-01-02 19:01:36 -05:00
Tom Rothamel
26c440f7a5
Merge branch 'fix'
2025-01-02 18:57:41 -05:00
Tom Rothamel
0e9198ae0f
cy3: Build in -3 mode.
...
Now that we don't need to support Python 2, it's possible to build
in -3 mode. This should make the generated C more optimized.
2025-01-01 20:02:13 -05:00
Tom Rothamel
a794ee3b00
cslots: Merge with Ren'Py.
2024-12-28 13:06:35 -05:00
Tom Rothamel
fba051737f
dist: Classify pxd files as source only.
2024-12-22 10:26:01 -05:00
Tom Rothamel
9e9e9061e0
Distribute src/ and the new setup.py.
2024-12-22 10:08:18 -05:00
Tom Rothamel
3bef0a10b0
Remove the usue of future.
2024-12-22 09:44:33 -05:00
Tom Rothamel
e6b92d5a27
reorg: Give setup.py a main.
2024-12-15 20:39:22 -05:00
Tom Rothamel
f2d3e0d20e
reorg: Setup.py no longer probes for libraries and includes.
...
Previously, setup.py had been the main build process, and would
probe the system for dependencies. Now that all dependencies are
available on all platforms, and cross-compiling is done by renpy-build,
setup.py has been simplified by assuming everything is present.
(Optional probing is done using pkg-config.)
Various includes have been changed to be more canonical.
2024-12-15 20:27:42 -05:00
Tom Rothamel
e41a4f85e9
reorg: Eliminate use of the module directory.
...
This directory contained a mix of both c/cython source code, scripts,
and build information. Now, source is in src, scripts are in scripts,
and setup.py is in the root.
2024-12-15 18:14:26 -05:00
Tom Rothamel
d85879b1fd
Script to find recursive inner functions.
2024-10-08 22:53:24 -04:00
Tom Rothamel
3337049968
py2: Disable build process.
2024-08-23 00:56:10 -04:00
Andy_kl
d2eaf0f2e3
Minor tweak in generate_pyi script.
...
This allow to use SDK python (3.9) to execute the script.
2024-08-16 22:27:46 +04:00
Tom Rothamel
436191ab90
Remove files used to reorder config.rst.
2024-07-23 02:06:42 -04:00
Tom Rothamel
073d54b8aa
doc: Reorganize config.rst.
...
Fixes #5549 .
Co-Authored-By: Lezalith <Lezalith@gmail.com >
2024-07-23 02:05:11 -04:00
Tom Rothamel
f949c2f09a
Merge branch 'fix'
2024-06-18 22:54:36 -04:00
Tom Rothamel
689ce63e85
Pull before build.
2024-06-17 20:24:38 -04:00
Ren'Py Bot
f8f8a6b2d6
Merge branch 'fix'
2024-06-12 04:30:18 -04:00
Tom Rothamel
db12aca24b
Add a mode to show files that have changed size.
2024-06-12 01:35:35 -04:00
Tom Rothamel
a04946905d
Remove some obsolete TODOs.
2024-04-17 21:54:36 -04:00
Tom Rothamel
c916fe311f
rt: Remove guisupport when making a test game.
2023-11-16 22:28:11 -05:00
Tom Rothamel
057f69602b
Avoid nicing distribute.
2023-09-14 17:57:59 -04:00
Tom Rothamel
8c21f14bf7
autotl: Better handling of lines beginning with ##.
2023-05-21 01:48:34 -04:00
Tom Rothamel
c9ec07f566
Add infrastructure for single-string translations.
...
This is intended to allow important strings to be automatically
translated while we work on improving the quality of automatic
translations.
2023-05-21 01:47:02 -04:00
Tom Rothamel
14c06dd2e4
Add py2 before py3.
...
Useful in the github case, to ensure Ren'Py 8 is uploaded last,
and hence is at the top of the list of downloads at github.
2023-05-15 02:40:13 -04:00
Tom Rothamel
d346e7a325
Remove more automatic translations of proper nouns.
2023-05-12 01:29:02 -04:00
Tom Rothamel
ae243f44b3
tl: More translation updates.
2023-05-08 00:13:42 -04:00
Tom Rothamel
fa7023c8ec
tl: Revert more translations.
2023-05-07 23:51:01 -04:00
Tom Rothamel
ccd2abc22b
tl: Check in the automatic translation scripts.
2023-05-07 17:38:49 -04:00
Gouvernathor
e9be0244ca
back to LF
2023-02-19 15:15:48 +01:00
Tom Rothamel
7039ec5d34
rt: When selecting the project, select int the launcher.
2023-02-16 23:35:14 -05:00
Tom Rothamel
80b3e8236e
Standardize on LF line endings.
2023-02-13 23:50:51 -05:00
Tom Rothamel
8cb0fd0670
py3: Update copyright script to work with Python 3.
2023-01-07 19:20:59 -05:00
Tom Rothamel
c0de244fd9
Do not generate relative imports for renpy.common.
2022-12-29 19:38:38 -05:00
Tom Rothamel
ca2e59e0a9
doc: Build with renpy3 from now on.
2022-12-03 02:28:30 -05:00
Tom Rothamel
cf7df895a1
Move to notarytool to sign on mac.
2022-11-01 20:02:53 -04:00
Tom Rothamel
6cf589429d
Remove the (long empty) autobuild script.
2022-10-31 02:28:21 -04:00
Tom Rothamel
3b5ac939ce
Require --real to run add.py.
...
To remind me to use scripts/add_all.sh during the warring versions
period.
2022-08-12 22:37:41 -04:00
Tom Rothamel
7b25b2e9b9
Add a script to merge the maintenance branch to master.
2022-07-26 17:37:30 -04:00
Tom Rothamel
30dd75bb5c
Update itch upload script.
2022-06-27 01:46:49 -04:00
Tom Rothamel
78a10967e8
Switch away from using Aspera to upload.
2022-05-29 20:18:24 -04:00
Tom Rothamel
9d507b0e9a
More defensive coding around Apple notarization server failures.
2022-05-29 10:49:38 -04:00
Tom Rothamel
97242506f4
Merge pull request #3588 from renpy/sysmodules-copy
...
Iterate over a copy of sys.modules
2022-05-28 22:18:27 -04:00
Tom Rothamel
5598d4ff9c
Retry notarization wait.
...
To better deal with Apple's flaky servers.
2022-05-28 08:08:58 -04:00
Tom Rothamel
0a4bb0af8b
Add a script to rsync a minimal Ren'Py over to a computer.
...
This is mostly used for testing on my chromebook, but might be
good in other places.
2022-05-27 21:44:32 -04:00
Gouvernathor
2e604a4f07
Remove iteration over uncopied sys.modules
2022-05-26 13:54:16 +02:00
Tom Rothamel
559e6d81d0
py3: Port fix_translations.py
2022-05-26 01:14:24 -04:00