947 Commits

Author SHA1 Message Date
Vadim Godunko
3316199226 Virtual_String.Trim, Trim_Leading & Trim_Trailing 2026-02-06 14:00:47 +04:00
Vadim Godunko
270d25cff7 Virtual_String.Head_To operation 2026-02-06 09:34:24 +04:00
Vadim Godunko
43fac082d8 Preserve null stage of the string on Slice operation. 2026-02-06 09:19:25 +04:00
Vadim Godunko
9f5dc0eed1 Get value of White_Space property of the characters. 2026-02-06 07:24:38 +04:00
Vadim Godunko
534bb176f7 Code refactoring to remove code duplication. 2026-02-06 07:17:38 +04:00
Vadim Godunko
a245f7883f Regenerate data. 2026-02-06 07:02:38 +04:00
Eric Botcazou
7dd4c487ca Work around an illegal Ada 2012 construct now spotted by the compiler
The construct is the function call in the return statement of Backward,
which is illegal per RM 6.4.1(6.4): In a function call, the accessibility
level of the actual object for each explicitly aliased parameter shall not
be statically deeper than the accessibility level of the master of the call.

The fix would be to make the Self parameter explicitly aliased, but it's a
bit painful since the function is overriding.  And it's legal in Ada 2022.

Issue: eng/toolchain/gnat#1696
2025-12-18 15:13:30 +01:00
Vadim Godunko
68ef72e9d8 Formatters for Character_Offset and Line_Offset types. 2025-12-03 16:53:24 +04:00
Vadim Godunko
9fe8e31dac Add _Offset types for characters, lines, etc. 2025-10-08 09:42:25 +00:00
Vadim Godunko
1d1fc92265 Remove Ada.Strings.Unbounded.VSS_Aux package...
... and use `Ada.Strings.Unbounded.Aux` package instead, it provides
necessary subprogram in FSF GCC 15.
2025-08-27 13:35:48 +04:00
Vadim Godunko
1b01870057 Fix computation of the slice size for an empty string. 2025-08-21 16:29:10 +04:00
Vadim Godunko
fac7c04064 Move text->float conversion implementation into text library 2025-07-31 20:10:23 +04:00
Vadim Godunko
a509a5bd7b Remove standard text streams, it depends from OS API. 2025-07-29 09:36:11 +04:00
Vadim Godunko
8c4cc3312f Left text processing only. 2025-07-25 21:03:00 +04:00
Vadim Godunko
7d2ebff15b Check information of the current character, not starter. 2025-07-25 09:42:21 +04:00
Vadim Godunko
04858c2706 Pass number of code units to be preserved on reallocation. 2025-07-23 18:13:43 +04:00
Vadim Godunko
cd4b284ae6 Mutate text on Delete operation. 2025-07-23 18:12:44 +04:00
Vadim Godunko
b813d531da Make SSO storage size configurable. 2025-07-23 12:48:29 +04:00
Vadim Godunko
7856936522 Remove use of not overriding from public API 2025-07-21 17:16:34 +04:00
Vadim Godunko
317f137862 Add overriding keyword to avoid compiler's warning. 2025-07-21 16:58:10 +04:00
Vadim Godunko
04b3dd1418 Various style fixes to build tests in validation profile 2025-07-21 16:06:15 +04:00
Vadim Godunko
6186bff4f2 Rename Storage_Manager to Text_Storage 2025-07-21 15:35:03 +04:00
Vadim Godunko
63dedd5713 Clarification of the components and subprograms. 2025-07-21 15:35:03 +04:00
Vadim Godunko
594aec46be Code cleanup. 2025-07-21 15:35:03 +04:00
Vadim Godunko
44d228aa6e Improve performance of character iterator. 2025-07-21 15:35:03 +04:00