Commit graph

275 commits

Author SHA1 Message Date
Mikhalkovich Stanislav 4760aa02d7 Везде в location убрал document - заменил его на непосредственно file_name 2026-01-17 23:26:40 +03:00
samuraiGH 43f02326f2
fix incorrect condition (#3369) 2026-01-03 21:06:42 +03:00
samuraiGH 13b4fd3d5b
small refactoring (#3349) 2025-10-19 19:32:27 +03:00
samuraiGH 48c7fe344b
TypeFactory refactoring (#3347) 2025-10-11 22:36:05 +03:00
samuraiGH 3aa75eb9d6
replacing NetHelper.IsStandType to TypeFactory.IsStandType in NETGenerator (#3346) 2025-10-09 21:40:05 +03:00
samuraiGH 04a16fab68
removing RunOnly check (#3345) 2025-10-09 19:19:18 +03:00
AlexanderZemlyak 0626885b5f
Рефакторинг в Intellisense (#3328)
* Migrate from HashTable to Dictionary<string, string> (StandartDirectories variable)

* Add check to register files for parsing only if they have supported extension

* Delete legacy code in CodeCompletion.cs

* Delete unnecessary fields in CodeCompletionController

* Refactor compiling dependencies code in DomSyntaxTreeVisitor

* Fix AddStandardNetNamespacesToUserScope check

* Comment out uses *some type* support in Intellisense

* Delete unused SemanticOptions in DomSyntaxTreeVisitor

* Comment out unused NamespaceTypeScope
2025-10-01 11:47:05 +03:00
samuraiGH 9e4b2bcca9
small refactoring (#3336) 2025-09-29 18:58:45 +03:00
samuraiGH 19f78930ed
removing hard code (#3313) 2025-07-03 20:42:47 +03:00
samuraiGH ef795bbb64
renaming method and adding comments (#3312) 2025-07-03 20:39:09 +03:00
samuraiGH 9927a0e305
fix type name comparsion (#3309) 2025-06-30 19:19:24 +03:00
samuraiGH d4173b0bec
removing hard code (#3304) 2025-06-28 16:12:28 +03:00
Mikhalkovich Stanislav 5abe6333ba опечатка в комменте 2025-06-26 13:25:24 +03:00
Mikhalkovich Stanislav d11674efc2 Вернул старый css для справки 2025-06-10 19:56:16 +03:00
Ivan Bondarev 5875b99296 platformtarget native - .NET 9.0 2024-12-08 10:41:53 +01:00
Ivan Bondarev 591d9ebe60 fix 2024-11-13 21:34:10 +01:00
Ivan Bondarev c6505634f4 fix 2024-11-13 21:12:33 +01:00
Ivan Bondarev a6564df23c fix in new sets 2024-11-13 20:52:29 +01:00
Mikhalkovich Stanislav 82776f3c77 NewSet - много мелких исправлений.
Все тесты проходят кроме Tests 5 - видимо с pabcrtl.dll
2024-11-09 12:18:19 +03:00
Ivan Bondarev 746c4ae2c2 #3221 2024-10-31 21:00:42 +01:00
Ivan Bondarev 350d07326d #3221 2024-10-31 18:35:51 +01:00
Ivan Bondarev aae9ab408b #3221 2024-10-31 18:25:06 +01:00
Ivan Bondarev d1a1247ecd #3219 2024-10-30 20:24:16 +01:00
Ivan Bondarev b9fd59a840 #2830 2024-08-13 15:08:44 +02:00
Ivan Bondarev 4f0b0f8ba0 #3194 2024-08-13 14:43:49 +02:00
Ivan Bondarev e3ee0fed4c #3097 2024-08-13 13:49:30 +02:00
Ivan Bondarev 0d846d2335
Merge pull request #3170 from samuraiGH/ForeachResolver-rework
Foreach resolver rework
2024-08-12 15:24:11 +02:00
Ivan Bondarev af2bc0fda8 #3165 2024-07-07 11:17:26 +02:00
samuraiGH 464dc794a8 cleanup and more comments 2024-06-30 23:31:28 +03:00
samuraiGH 84b0dfe537 fix getting MethodInfo 2024-06-29 15:49:13 +03:00
samuraiGH 15a05360a4 attempt to fix GetEnumerator resolving for compiled types 2024-06-28 17:25:39 +03:00
Ivan Bondarev 8bddc9e62a #3123 2024-06-09 19:35:35 +02:00
Sun Serega 54514ab9cc
more intelligent Ldnull vs Ldc_I4_0 2024-05-10 19:31:36 +02:00
Sun Serega 00dad9d76b
Ldnull => Ldc_I4_0 2024-05-09 10:01:05 +02:00
AlexanderZemlyak efb4a4338f
New checks for directives added (#3099)
* Extract base classes from ParserTools (local) and GPPGParserHelper

* Fix string resources error

* Extract base class for unexpected token error

* Update ParserTools project file

* Add comments for compiler directives usages in compiler

* Add directives checks

* Move string constants to new project

* Implement scalable directives checks

* Remove known directives from compiler

* Fix PABCSystem namespace error

* Allow region and endregion with no params

* Allow parameters to endif directive

* Delete directive parameters extension checks

* Replace error with warning for uknown directive case

* Fix generate native code (semantic rule) assigning

* Improve error messages for directives

* Rename RunParseThread to SwitchOnIntellisence

Для отладки может требоваться отключение Intellisence на уровне кода. Для понятности метод назван SwitchOnIntellisence.

* Resolve merge conflicts

* Add new compiler errors for unsupported target framework and output file type

* Add documentation to directives checks

* Fix directives check loop
2024-05-04 20:21:50 +03:00
Ivan Bondarev c6929c5d55 fix #3059 2024-03-29 19:32:38 +01:00
Ivan Bondarev cbaff8cfd0 bug fix #3060 2024-03-29 13:39:35 +01:00
Ivan Bondarev a07d7bb8e5 bug fix #3055 2024-03-29 12:19:02 +01:00
AlexanderZemlyak 0ae7595f0d
Implement programming languages integration functionality (#3001)
* Make standardModules Dictionary instead of LanguageId usage

* Create new common string constants for pascal language

* Add LanguagesData class template

* Move some compiler directive string constants to Compiler project

* Extract LanguagesData class to separate file

Also extracted RuntimeServiceModule (IO-modules) management to new functions.

* Fix pabcnetc crashing (KeyNotFoundException)

* Make similar change in pabcnetc_clear

* Return PABCExtensions in DomConverter.cs

* Return compiler string constants to Tree Converter

* Rename MoveSystemUnitForward method

* Rename system unit variable

* Add new parser load error (localized versions)

* Fix pascal language name constant

* Add system units property to parsers

* Add LanguageKits directory with a test file

* Implement language integrator

Был реализован загрузчик комплектов дополнительных языков (всех кроме Pascal). Был пересмотрен подход к реализации ParsersController и этот класс сделан синглтоном. Добавлена загрузка стандартных модулей языков в CompilerOptions.

* Squashed commit of the following:

commit 8f9dc7e5a0
Author: Mikhalkovich Stanislav <miks@math.sfedu.ru>
Date:   Mon Mar 11 20:33:13 2024 +0300

    fix #3050

commit 90363ced45
Author: Mikhalkovich Stanislav <miks@math.sfedu.ru>
Date:   Sun Mar 3 21:37:25 2024 +0300

    Недобитки при сортировке строк

commit c9d7ba7758
Author: Mikhalkovich Stanislav <miks@math.sfedu.ru>
Date:   Sat Mar 2 13:32:14 2024 +0300

    Order и OrderDescending для строк с Ordinal

commit 6fbc0200bf
Author: AlexanderZemlyak <92867056+AlexanderZemlyak@users.noreply.github.com>
Date:   Tue Feb 27 23:21:26 2024 +0300

    Fix interface loop dependency check (#3047)

    Tests for problematic case were added

commit e4d63bfef9
Author: bormant <bormant@mail.ru>
Date:   Tue Feb 27 23:18:25 2024 +0300

    Fix typo: C (ru) -> C (en) (#3042)

commit 0d37232d21
Author: Mikhalkovich Stanislav <miks@math.sfedu.ru>
Date:   Tue Feb 27 19:15:08 2024 +0300

    School - исправление пустого диапазона простых и IP-адресов

commit 9fd4c7f338
Merge: 3cca2a89 6027083b
Author: Ivan Bondarev <ibond84@googlemail.com>
Date:   Wed Feb 21 20:57:10 2024 +0100

    Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet

commit 3cca2a8949
Author: Ivan Bondarev <ibond84@googlemail.com>
Date:   Wed Feb 21 20:56:49 2024 +0100

    fix in formatter
2024-03-13 22:16:40 +03:00
Ivan Bondarev 481192485c #2880 2024-01-04 20:59:10 +01:00
Ivan Bondarev 6764768a02 #2852 2024-01-04 10:27:26 +01:00
Ivan Bondarev 3115ba0620 #2979 2023-12-10 11:07:29 +01:00
Ivan Bondarev 5c4b3f1de4 #2915 2023-11-04 12:52:51 +01:00
Ivan Bondarev a63a489968 #2921 2023-11-01 11:48:45 +01:00
Ivan Bondarev 0e8e1d1454 #2916 2023-08-20 11:59:24 +02:00
Ivan Bondarev 740ea078ca #2916 2023-08-20 11:41:37 +02:00
Ivan Bondarev 207bfde593 #2916 2023-08-20 11:09:34 +02:00
Friedrich von Never 2e49fd2086 AssemblyResolveScope: stable binding redirect calculation 2023-08-08 22:57:50 +02:00
Friedrich von Never 04aca012c9 Generate application configuration files on compilation 2023-08-06 22:58:04 +02:00
Ivan Bondarev e6c27a120c #2894 2023-08-01 21:16:44 +02:00