Commit Graph

  • a10e62b063 Strip leading indents from PyCode, and then restore when compiling. master Tom Rothamel 2025-02-17 09:01:24 -05:00
  • 2cda751596 lexer: Pass the column in to py_compile. Tom Rothamel 2025-02-17 01:15:15 -05:00
  • 149d16b1ec Nag about a possible gotcha for PyExpr. Tom Rothamel 2025-02-16 22:41:20 -05:00
  • 7bee83dfcb Remove node unmunging and remunging. Tom Rothamel 2025-02-16 22:25:43 -05:00
  • e89441a77c Track column numbers during parsing. Tom Rothamel 2025-02-16 21:27:54 -05:00
  • 7f303a5fbf Revert some changes to make branch surface smaller. tokenized-parser Andy_kl 2025-02-16 13:49:01 +04:00
  • 388cf6aac7 Fix -dash-attribute-names. Andy_kl 2025-02-16 13:35:30 +04:00
  • c7db343855 Fix tokenization of 1. floats. Andy_kl 2025-02-16 11:49:43 +04:00
  • 7a45ec3e0a Fix incorrect attribute name. Andy_kl 2025-02-16 11:18:56 +04:00
  • 976aeebf0b Remove lexer.Lexer and tokenizer.Tokenizer duplication. Andy_kl 2025-02-15 01:07:50 +04:00
  • 98e85f83be Do not litter renpy.lexer with tokenizer stuff. Andy_kl 2025-02-15 01:05:59 +04:00
  • 9273c41437 Fixes after review. Andy_kl 2025-02-15 00:41:15 +04:00
  • a590472f55 Update SyntaxError in tokenizer to ParseError. Andy_kl 2025-02-14 18:44:10 +04:00
  • 06e884ac70 Replace fake TokenKind class and constants with literals of token kinds. Andy_kl 2025-02-14 06:04:52 +04:00
  • fd5f97289b Fix line munging after rebase. Andy_kl 2025-02-14 05:19:20 +04:00
  • 8e2f926bc3 Move filename to PhysicalLocation named tuple. Andy_kl 2025-01-25 00:20:49 +04:00
  • 916a4b0f56 Strip \n at the end of logical line in Lexer. It was that way before, it does not break things, and people could rely on that. Andy_kl 2025-01-25 00:15:40 +04:00
  • 3191754e79 Make munging more robust. Andy_kl 2025-01-24 14:59:22 +04:00
  • 0770876b14 Make Lexer more backward compatible. Andy_kl 2025-01-24 01:14:09 +04:00
  • b4783374a8 Fix scriptedit and add_from. Andy_kl 2025-01-23 19:22:29 +04:00
  • 5c401c0406 Fix pre-7.3 CDS renpy.statements.parse function. Andy_kl 2025-01-21 20:15:26 +04:00
  • 4b39d4d0c4 Some cleanup. Andy_kl 2025-01-21 00:54:14 +04:00
  • 3860fc7d8d Rework it so it does not change Ren'Py syntax. Andy_kl 2025-01-20 15:46:42 +04:00
  • 50c70a8615 Revert "Delete lexersupport module." Andy_kl 2025-01-02 19:39:14 +04:00
  • 70f0362b4a Fix tokenization of f-strings. Andy_kl 2024-12-26 17:24:36 +04:00
  • bd418d9541 Fix _ren.py to .rpy column offsets. Andy_kl 2024-12-26 15:11:59 +04:00
  • 95e764b411 Update tokenizer for Python 3.12 Andy_kl 2024-12-26 15:11:27 +04:00
  • b173b7252d Fix ur"strings" parse. Andy_kl 2024-12-19 07:30:26 +04:00
  • 16fbd10e6f Change token kind from enum to plain string. This is even 5% faster to init and compare. Andy_kl 2024-12-19 07:17:29 +04:00
  • feb9cd85ed Get rid of 2 separate enums and make it StrEnum back. This is 15% faster accodring to cProfile. Andy_kl 2024-12-19 05:48:10 +04:00
  • 362f9d6c33 Some optimizations. Andy_kl 2024-12-19 05:12:48 +04:00
  • f2def9c148 Factor out token-based delimited python. Andy_kl 2024-12-19 03:30:37 +04:00
  • 1d994fa126 Change kind enums not to be string subclasses so TokenKind("name") != TokenExactKind("name"). Andy_kl 2024-12-19 02:58:36 +04:00
  • 16685b6b9f Move munging from tokenizer to lexer. Andy_kl 2024-12-19 02:38:51 +04:00
  • fd5841d2d2 Delete lexersupport module. Andy_kl 2024-12-19 01:00:29 +04:00
  • 753776973e Move tokenizer code into separate file. Andy_kl 2024-12-19 00:57:44 +04:00
  • e546ac6c73 Fix performance Andy_kl 2024-12-15 18:29:28 +04:00
  • e67c91d176 Make Lexer token-based. Andy_kl 2024-12-03 12:30:59 +04:00
  • 6252945a47 Update Lexer class. Andy_kl 2024-12-01 04:04:45 +04:00
  • 819d3386d7 Some changes in Lexer. Andy_kl 2024-11-19 03:23:50 +04:00
  • 430d01aa13 Update from old tokenization. Andy_kl 2024-11-18 18:55:09 +04:00
  • ef8917e044 Finish Tokenizer class. Andy_kl 2024-11-13 10:28:11 +04:00
  • 4d1be9e610 Initial Andy_kl 2024-11-09 07:39:06 +04:00
  • e1b8de8512 assimp: Rename AssimpModel to GLTF model. Tom Rothamel 2025-02-15 23:14:02 -05:00
  • e55856d177 Merge pull request #6154 from renpy/pep-657-munge Tom Rothamel 2025-02-15 22:29:44 -05:00
  • fbe7cab9c6 Remove spurious backslash in README. Tom Rothamel 2025-02-14 23:01:57 -05:00
  • d6e3b4f492 Merge pull request #6157 from jsfehler/tyop_killer Tom Rothamel 2025-02-15 17:55:35 -05:00
  • 7aac6fffb6 Fix mimor typos Joshua Fehler 2025-02-15 16:08:25 -05:00
  • 4e09103b09 Merge pull request #6155 from jsfehler/remove_unused_particle Tom Rothamel 2025-02-14 20:05:28 -05:00
  • 3605298777 Remove unused import Joshua Fehler 2025-02-14 17:35:44 -05:00
  • 6b467eca81 Merge branch 'master' into pep-657-munge Tom Rothamel 2025-02-14 00:07:08 -05:00
  • 9e966702ac More precisely control mipmapping. Tom Rothamel 2025-02-13 23:39:47 -05:00
  • cc2486fa82 gl2: Disable mipmapping by default. Tom Rothamel 2025-02-13 22:46:19 -05:00
  • 74cadd2b03 python: Raise original exception without chaining the same via cause for incorrect pythons. Andy_kl 2025-02-14 06:19:48 +04:00
  • caad552141 Update copyright year in lost files. Andy_kl 2025-02-14 05:25:38 +04:00
  • 3202e0eab2 Remove monkey-patch name from name_blacklist Andy_kl 2025-02-14 05:21:19 +04:00
  • 58434e2553 Fix Andy_kl 2025-02-14 03:48:18 +04:00
  • 78ff61dd08 Fix incorrect column offsets of munged names. This moves munging to AST, so column offsets match source code. Andy_kl 2025-02-14 03:36:22 +04:00
  • 65edc55eb0 Add PyExpr.__new__ signature. Andy_kl 2025-02-13 18:04:55 +04:00
  • 5bf35c8c4f Remove linecache.updatecache monkeypatch. That no longer needed after changes to renpy.python.create_store. Andy_kl 2025-02-13 17:59:11 +04:00
  • ef5777d6b6 Add PEP 657-style parse error handling. (#5881) Tom Rothamel 2025-02-13 00:02:28 -05:00
  • 033574e235 Merge branch 'fix' Tom Rothamel 2025-02-12 23:31:22 -05:00
  • 8a21aa55dc Wrap json loaded in revertible objects. fix Tom Rothamel 2025-02-12 23:21:48 -05:00
  • 6c948bf046 fonts: Allow deallocation and clear face cache. Tom Rothamel 2025-02-12 22:51:50 -05:00
  • 95074ff55d doc: Update keymap. Tom Rothamel 2025-02-11 22:55:40 -05:00
  • d836316e90 Document the AssimpModel displayable. Tom Rothamel 2025-02-11 01:03:18 -05:00
  • 4804b04dcc assimp: Add zoom and flip operations. Tom Rothamel 2025-02-10 23:05:37 -05:00
  • 6d08132e58 assimp: Expose AssimpModel to the default store. Tom Rothamel 2025-02-09 23:35:47 -05:00
  • dfb6c7beb1 assimp: Handle _duplicate. Tom Rothamel 2025-02-09 21:25:09 -05:00
  • d2755faa5c Optimize caching of UnoptimizedTexture. Tom Rothamel 2025-02-09 14:49:20 -05:00
  • ef40de899c assimp: Preload AsssimpModels. Tom Rothamel 2025-02-09 14:05:04 -05:00
  • d81f8264ff Fix regression in renpy.get_all_labels. Tom Rothamel 2025-02-08 22:30:19 -05:00
  • 3b60afe8dc Merge branch 'fix' Ren'Py Bot 2025-02-08 04:30:40 -05:00
  • 6783f22f3b When walking paths, replace \ with /. Tom Rothamel 2025-02-07 08:45:17 -05:00
  • 3c59cac254 Proxy SelectedIf and SensitiveIf lists into a single Action. Tom Rothamel 2025-02-07 01:24:18 -05:00
  • 8de2bda1e6 Proxy SelectedIf and SensitiveIf lists into a single Action. Tom Rothamel 2025-02-07 01:24:18 -05:00
  • 57f9a1e508 Remove disused import Mal Graty 2025-02-07 01:26:13 +00:00
  • e0ca2992ed Fix typos (#6142) Tom Rothamel 2025-02-06 20:17:35 -05:00
  • 731cb8c53c Fix typos tinyboxvk 2025-02-06 18:18:43 -04:00
  • 37d7d71d2b Avoid renaming the filename stored in nodes. Tom Rothamel 2025-02-06 00:33:28 -05:00
  • a672a6840a Redo statement names when a .rpyc file has been moved. Tom Rothamel 2025-02-06 00:23:26 -05:00
  • 8603ca2cf1 assimp: Allow tangents and bitangents to be loaded. Tom Rothamel 2025-02-06 00:17:44 -05:00
  • 6793d7e5fa Document when mouse moves are unlikely to work. Tom Rothamel 2025-02-05 23:40:10 -05:00
  • 24a8135657 Merge pull request #6138 from mal/optimised-file-scan Tom Rothamel 2025-02-05 20:54:37 -05:00
  • 1a945d9663 Merge pull request #6139 from Lezalith/master Tom Rothamel 2025-02-05 20:52:34 -05:00
  • 0196e6aa69 Merge branch 'colormatrix-docs' Lezalith 2025-02-05 18:08:24 +01:00
  • dbee728716 Doc: Audio Directory & Namespace rewrite Lezalith 2025-02-05 17:52:37 +01:00
  • 86bb2b83c0 Find archive files during main directory scan Mal Graty 2025-02-05 15:26:37 +00:00
  • 9586b0f685 Minor improvements when loading extensions Mal Graty 2025-02-05 15:18:08 +00:00
  • 6aa0ee45bf doc: Matrix uniforms. Tom Rothamel 2025-02-05 01:18:16 -05:00
  • 54e567160c gl2: Improved missing uniform handling. Tom Rothamel 2025-02-04 22:29:07 -05:00
  • 6c40f39930 gl2: Allow transforms to supply view and projection matrices. Tom Rothamel 2025-02-04 02:18:10 -05:00
  • 9eefa84bf2 gl2: Rename the model matrix, and add u_cameraview. Tom Rothamel 2025-02-03 23:00:00 -05:00
  • 9d1f34995a gl2: Break out the different kinds of matrices. Tom Rothamel 2025-02-03 22:38:03 -05:00
  • 0883e74935 gl2: Default to highp floats on gl2es. Tom Rothamel 2025-02-02 22:52:15 -05:00
  • f257dc1c41 assimp: Free the scene once import is done. Tom Rothamel 2025-02-01 16:59:26 -05:00
  • 1b079ef358 assimp: Route IO through Ren'Py. Tom Rothamel 2025-02-01 15:39:17 -05:00
  • 07b853f77f Merge pull request #6127 from dm1sh/handle_uninitialized_newest_mtime Andrej Klychin 2025-02-01 17:24:02 +02:00
  • 8db8651eb0 Handle newest_mtime initialized as None while determining newest game save dm1sh 2025-02-01 18:02:48 +03:00
  • 3568c02c42 Merge branch 'fix' Ren'Py Bot 2025-02-01 04:30:40 -05:00