Commit graph

5352 commits

Author SHA1 Message Date
Mikhalkovich Stanislav 333201895f Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet 2026-01-27 22:15:23 +03:00
Mikhalkovich Stanislav 8100f61e00 RussianCities.txt 2026-01-27 22:09:12 +03:00
Sun Serega e8ed35095a
fix ArrFill in help (#3382) 2026-01-27 20:55:23 +03:00
Mikhalkovich Stanislav bb6cc43250 SPython стандартная библиотека добавил чуть 2026-01-22 13:23:35 +03:00
Mikhalkovich Stanislav 4760aa02d7 Везде в location убрал document - заменил его на непосредственно file_name 2026-01-17 23:26:40 +03:00
Александр Земляк fed0786795
Add basic support for first_assignment_defines_type in Intellisense (#3376) 2026-01-16 23:06:38 +03:00
Александр Земляк 42d7ca97a3
Рефакторинг визитора SPython и исправление global statetement (#3375)
* Delete nameTypes dictionary in SymbolTable

* Refactor SymbolTableFillingVisitor

* Disallow dotted idents in global statement
2026-01-16 21:51:17 +03:00
Александр Земляк cb09e2340f
Удаление supportedProjectFiles из Compiler и настройка использования SPython в проектах (#3374)
* Set up creating SPython projects

* Delete SupportedSourceFile class in Compiler

* Implement GetUnitTemplate function for SPython
2026-01-16 20:13:20 +03:00
Mikhalkovich Stanislav 834845213b Добавил TurtleABC в стандартные модули для Mono 2026-01-15 15:52:32 +03:00
Mikhalkovich Stanislav f5557fc8cf Улучшил RemiteCompiler - убрал утечки по совету DeepSeek 2026-01-15 10:07:23 +03:00
AlexanderZemlyak 9b3937cb03 Fix range with step function in SPythonSystem 2026-01-13 12:28:57 +03:00
Александр Земляк 51e4ae050a
Перемещение модулей SPython в Lib\SPython (#3371)
* Replace languageCaseSensitive by languageName data in PCU and caseSensitive parameters in Compiler functions

* Implement SearchDirectories filling in Compiler and move SPython standard modules to their new directory

* Implement search using current language extension first in Compiler

* Delete LibForVB folder and update TestRunner to support different Lib dirs

* Update installer scripts to create separate Lib folder for SPython

* Take into account Lib dirs not found

* Delete supportedSourceFiles variable in Compiler

* Delete unused functions from LanguageIntegrator
2026-01-13 08:20:13 +03:00
Александр Земляк d7a81d312c
Uncomment RebuildStandartModulesSPython.pas compilation in bat files (#3373) 2026-01-06 19:52:19 +03:00
Mikhalkovich Stanislav 9400fa52f8 Вернул RebuildPython 2026-01-06 19:10:48 +03:00
Mikhalkovich Stanislav 5b17f21114 В GenerateAllSetups убрал создание стандартных модулей SPython - это вызывало ошибку 2026-01-05 21:53:18 +03:00
Александр Земляк 72e40bf4e9
Add first_assignment_defines_type field to Tree.cs (#3370) 2026-01-04 15:05:57 +03:00
samuraiGH 43f02326f2
fix incorrect condition (#3369) 2026-01-03 21:06:42 +03:00
Александр Земляк 52c9e7182b
Добавление компиляции RebuildStandartModulesSPython.pas в bat файлы (#3368)
* Add RebuildStandartModules SPython.pas compilation in bat files

* Update gitignore in ReleaseGenerators
2026-01-03 20:54:32 +03:00
Mikhalkovich Stanislav 2d09016310 GenerateAllSetups восстановил 2026-01-03 01:04:53 +03:00
Mikhalkovich Stanislav 531c729e0f Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet 2026-01-02 21:03:01 +03:00
Александр Земляк c33ba11b15
Fix assign cloning in SPython visitor (#3367) 2026-01-02 19:16:52 +03:00
Mikhalkovich Stanislav 2ca853af30 WeifenLuo
WeifenLuoLinux

перенесены в Libraries
2026-01-02 13:31:59 +03:00
Mikhalkovich Stanislav 34f05622a7 Восстановил _NewAppIcons 2026-01-02 13:07:46 +03:00
Mikhalkovich Stanislav 210b15194a Перенос папки InteractiveDataDisplay в Utils 2026-01-02 12:58:59 +03:00
Mikhalkovich Stanislav 2b72dd1142 2026 2026-01-02 12:36:47 +03:00
Mikhalkovich Stanislav 0155134ab4 Перенес _NewAppIcons в Utils 2026-01-02 12:22:19 +03:00
Mikhalkovich Stanislav 7fc176f854 Удален _ParsePABC1 2026-01-02 12:16:36 +03:00
Mikhalkovich Stanislav eaebd483b8 Удалил папку _Presentations 2026-01-02 11:57:14 +03:00
Mikhalkovich Stanislav 9506d19493 Исправлена константа pi в math.pys 2026-01-02 11:15:09 +03:00
Mikhalkovich Stanislav 8de8af7320 NodesGenerator - отключил генерацию ненужного hierarchyVisitor
GenegateAllSetups - отключил тесты SPython - не проходят на некоторых компьютерах
2026-01-02 10:58:07 +03:00
Mikhalkovich Stanislav 7549262e9b Убрана зависимость Localization от Windows.Forms.dll 2026-01-01 20:30:25 +03:00
Mikhalkovich Stanislav 70fc798dd6 GraphWPF DrawImageDC 2025-12-31 21:43:58 +03:00
Александр Земляк 17f6a9b956
Spython test suite (#3362)
* Reorganize files in TestSuite dir for multiple languages

* Add SPython samples to TestSuite

* Update TestRunner to support multiple languages

* Delete dll files accidentally pushed

* Update .gitignore

* Revert "Delete dll files accidentally pushed"

This reverts commit 62bcba2b821d58ae51ec98e9dadcf621bb0fc003.

* Update testing dir path in Testing.cs

* Improve TestRunner output

* Add random module and it's usage sample

* Reorganize gitignore files

* Move pascal tests back to TestSuite and create new TestSuiteLanguagePlugins folder for SPython

* Revert "Update testing dir path in Testing.cs"

This reverts commit 7d94eafb25292421bce8315520b4f6a0de001bbd.

* Revert crlf changes in pascal tests

* Test changes of _RebuildReleaseAndRunTestsForGitHubActions.bat

* Revert "Test changes of _RebuildReleaseAndRunTestsForGitHubActions.bat"

This reverts commit 234ceae3e3a339fbc68a6170e2bd201dab14d67d.

* Test changes in StorageLocationPicker

* Another test changes in StorageLocationPicker.cs

* Rename LanguagePlugins folder to AdditionalLanguages

* Decouple TestRunner from language names and parameters

* Revert calling TestRunner without parameters in .bat files

* Fix formatter tests nogui exception handling

* Small refactoring in Testing.cs and TestRunner fix of working directory
2025-12-21 21:11:52 +03:00
Александр Земляк 9140cf4815
Переименование NewSet<T> в set of T в Intellisense и ошибках компиляции (#3364)
* Fix set type name description for PascalABC.NET

* Improve scope check for NewSet

* Add GetTemplateStringWithoutBracketsFunction

* Add renaming NewSet in compiler (In PrintableName)

* Remove setClassName constant in LanguageInformation

* Comment out BaseScope class in symbol_information.cs

* Change visibility of properties in StorageLocationPicker class
2025-12-08 15:48:18 +03:00
Александр Земляк 63251240fe
Change visibility of properties in StorageLocationPicker class (#3365) 2025-12-08 15:47:31 +03:00
Александр Земляк 770cb4fddb
Исправления некоторых падений тестов в Intellisense (#3363)
* Fix delegate hints

* Fix extensionmethods8.pas test

* Change InstanceCreationContext GetDescription strategy

* Add keywords treated as functions logic in TestForKeyword function
2025-11-29 14:27:33 +03:00
Александр Земляк 4e871c1f3a
Исправление переменных с именем, совпадающим с именами сущностей из других модулей, в SPython (#3360)
* Fix variables with special names declaration in SPython

* Add new syntax tree converters applying flag checking in Intellisense

* Fix IsVariableOrConstant function in Intellisense

* Optimize CollectNamesFromUsedUnits function in Compiler
2025-11-29 14:27:00 +03:00
Mikhalkovich Stanislav c54412c8aa a.Copy для массивов и матриц 2025-11-27 22:06:46 +03:00
Ivan Bondarev 80a314a999 revert 2025-11-27 19:44:20 +01:00
Ivan Bondarev 279e268279 fix 2025-11-27 19:35:58 +01:00
Ivan Bondarev 046deeaff2 intellisense tests in release 2025-11-27 18:24:51 +01:00
Mikhalkovich Stanislav 6d14df7ffc product для int64 2025-11-13 16:10:09 +03:00
Mikhalkovich Stanislav 16a8066a5b ToString(digits) для массива вещественных 2025-11-12 12:13:44 +03:00
Mikhalkovich Stanislav 7aed6ed062 Print($'{Arr(1,2,3)}')
теперь печатает содержимое массива
2025-11-11 22:04:03 +03:00
Mikhalkovich Stanislav deef6b40d5 Исправление справки 2025-11-10 23:04:57 +03:00
AlexanderZemlyak 30a6177a0e
Intellisense refactoring (#3359)
* Refactor LanguageInformation classes

* Add GetClassKeyword method to BaseLanguageInformation

* Fix virtual modifier adding
2025-11-10 19:37:24 +03:00
Mikhalkovich Stanislav 819a87ed40 ArrRandomInteger(n: integer; range: IntRange)
и для матрицы
2025-11-08 21:55:40 +03:00
Mikhalkovich Stanislav 3200226cfe 3.11.0.3680 2025-11-07 21:10:42 +03:00
AlexanderZemlyak 7a59245eaf
Language interface change (#3356)
* Move standard language info assigning to LanguageInformation classes

* Move Language name in compilation_unit.Language variable assigning in BaseParser

* Documentation update
2025-11-07 20:43:29 +03:00
AlexanderZemlyak 21e2141e02
Case sensitive search fixes (#3357)
* Change SelectLanguageByExtension method slightly

* Fix standard procedures names in StringConstants
2025-11-07 20:43:07 +03:00