114 Commits

Author SHA1 Message Date
Elie Richa
2299fce43c Merge branch 'richa-main-patch-b942' into 'main'
Update reference to vss-text

See merge request eng/libadalang/prettier-ada!46
v26.0.0
2025-09-03 12:28:47 +02:00
Elie Richa
b5eb24557b Update reference to vss-text 2025-09-03 11:02:36 +02:00
Vadim Godunko
71f358ebfe Merge branch 'topic/vadim/libtype' into 'main'
Define PRETTIER_ADA_LIBRARY_TYPE as build variable.

See merge request eng/libadalang/prettier-ada!44
2025-02-17 09:53:34 +00:00
Vadim Godunko
13f4a2883d Define PRETTIER_ADA_LIBRARY_TYPE as build variable. 2025-02-07 11:17:54 +04:00
João Azevedo
db7e1a8006 Merge branch 'mr/als_1578' into 'main'
Add ALS json config

See merge request eng/libadalang/prettier-ada!43
2025-01-28 14:10:01 +00:00
Joao Azevedo
c623657a0e Add ALS json config 2025-01-28 10:31:13 +00:00
João Azevedo
641f88a98b Merge branch 'mr/langkit_1511' into 'main'
Avoid copies of Print_Command_Type_Vector and Indentation_Queue_Type

See merge request eng/libadalang/prettier-ada!42
2025-01-24 12:40:54 +00:00
Joao Azevedo
d6be4e7f63 Free allocations of indentation queues and print commands 2025-01-22 14:05:28 +00:00
Joao Azevedo
fecfe3105a Minimize copies of the indentation queue 2025-01-21 15:00:10 +00:00
Joao Azevedo
8df99fd734 Avoid copying the final result to each table element state 2024-12-11 11:58:50 +00:00
Joao Azevedo
e69e3f6fa1 Replace Print_Command_Type_Vector by access to avoid copies 2024-12-09 13:15:13 +00:00
João Azevedo
fde33628ac Merge branch 'isssue_28' into 'main'
Allow formatting of No_Document

Closes #28

See merge request eng/libadalang/prettier-ada!39
2024-10-09 13:57:40 +00:00
Joao Azevedo
85d9fa11d5 Allow formatting of No_Document
Assertions that check that no No_Documents are present were removed.
The reason is because one could create a Document_Type object as
follows:
`Document : Document_Type;`
This is equivalent to No_Document.
To disallow this, we would have to make the type Document_Type limited,
which is not desirable.
Therefore, we should allow `No_Document` and simply skip any operations
on it.
2024-10-09 09:32:48 +00:00
João Azevedo
52fd6bc991 Merge branch 'gnatformat-issue_88' into 'main'
Do not indent rows that start with EOL

Closes eng/ide/gnatformat#88

See merge request eng/libadalang/prettier-ada!37
2024-10-07 13:55:57 +00:00
Joao Azevedo
45ed59b0f2 Do not indent rows that start with EOL 2024-09-26 08:33:51 +00:00
João Azevedo
8fc0463fd3 Merge branch 'issue_30' into 'main'
Do not group segments before/between/after table separators

Closes #30

See merge request eng/libadalang/prettier-ada!35
2024-08-30 14:12:00 +00:00
Joao Azevedo
ae1a1619ff Fix break propagation of Alignment_Tables
Do not group segments before/between/after table separators
2024-08-30 13:12:42 +00:00
João Azevedo
5adba9f397 Merge branch 'issue_29' into 'main'
Flatten nested lists inside table rows

Closes #30

See merge request eng/libadalang/prettier-ada!36
2024-08-30 12:30:47 +00:00
Joao Azevedo
eefbf82dc7 Flatten nested lists inside table rows 2024-08-29 12:20:12 +00:00
João Azevedo
244fd0da3f Merge branch 'issue_26' into 'main'
Fix Fits procedure for last table element

Closes #26

See merge request eng/libadalang/prettier-ada!34
2024-08-07 08:34:39 +00:00
Joao Azevedo
e79da131c1 Fix Fits procedure for last table element 2024-08-06 16:50:52 +00:00
João Azevedo
53ebfdbaa7 Merge branch 'issue_13' into 'main'
Add Continuation_Line align kind

See merge request eng/libadalang/prettier-ada!28
2024-07-25 16:44:20 +00:00
Joao Azevedo
1f517e6143 Add Continuation_Line_Indent command
Fix Align Inner_Root kind logic when preceded by Align Text kind and
clarify its description.
2024-07-24 13:55:42 +00:00
João Azevedo
de40cee99c Merge branch 'issue_19' into 'main'
Add Table_Alignment algorithm

Closes #19

See merge request eng/libadalang/prettier-ada!29
2024-07-05 09:40:15 +00:00
Joao Azevedo
395f1806e6 Implement Table_Alignment algorithm 2024-07-04 14:50:37 +00:00