Jeroen Ketema
94f8ea5612
Swift: Add upgrade and downgrade scripts
2025-10-31 11:35:50 +01:00
Jeroen Ketema
7301bc74cf
Swift: Fix key path numbering in upgrade and downgrade scripts
2025-10-31 11:01:04 +01:00
Jeroen Ketema
e415772688
Swift: Add upgrade and downgrade scripts
2025-10-24 14:38:00 +02:00
Jeroen Ketema
95ac458d2a
Swift: Add upgrade and downgrade scripts
2025-05-02 16:04:49 +02:00
Jeroen Ketema
eea963e3f4
Swift: Add upgrade and downgrade scripts
2025-04-23 17:10:57 +02:00
Paolo Tranquilli
1316e08365
Swift: add upgrade/downgrade scripts
2025-04-14 11:06:47 +02:00
Paolo Tranquilli
7ee3bf9fc8
Swift: add update/downgrade scripts
2024-12-06 12:35:01 +01:00
Tom Hvitved
575023f212
Swift: Add up/downgrade scripts
2024-09-16 13:40:06 +02:00
Tom Hvitved
74440273f1
Swift: Add DB up/downgrade scripts
2024-09-16 08:47:49 +02:00
Chuan-kai Lin
e68165fcb7
Swift: Use entities in reorder directives
2024-05-03 11:18:42 -07:00
Cornelius Riemenschneider
6ba27dc863
Upgrade rules_pkg to 0.10.1.
2024-04-16 16:29:56 +02:00
Paolo Tranquilli
a34bb2608d
Swift: fix ql format
2024-03-28 11:57:33 +01:00
Paolo Tranquilli
ece0d1f477
Swift: add upgrade/downgrade scripts
2024-03-28 11:54:18 +01:00
Paolo Tranquilli
796c862623
Swift: fix downgrade script
2024-01-10 12:23:48 +01:00
Robert Marsh
ade4809d9b
Swift: upgrade/downgrade for pattern types
2023-11-29 21:04:05 +00:00
Alex Denisov
7676ad316c
Swift: database downgrade script
2023-11-24 10:08:16 +01:00
Alex Denisov
7129ffc199
Swift: add database migration scripts
2023-11-15 14:07:45 +01:00
Alex Denisov
1c75e5b2a6
Swift: add database migration scripts for move semantics
2023-11-14 14:35:58 +01:00
Alex Denisov
8f10667ee1
Swift: update wordings in a downgrade script
2023-11-10 18:10:43 +01:00
Alex Denisov
393aad5935
Swift: downgrade parameter packs
2023-11-10 16:22:09 +01:00
Alex Denisov
2b7ce23653
Swlft: add database upgrade scripts
2023-11-07 13:40:42 +01:00
Mathias Vorreiter Pedersen
6538a7645d
Swift: Add up and downgrade scripts.
2023-10-27 15:55:12 +01:00
Paolo Tranquilli
d55289bf68
Swift: add children to UnspecifiedElement
...
This will allow better downgrade scripts in the future.
2023-10-18 16:42:04 +02:00
Robert Marsh
77fd9172fa
Swift: Fix extra param in downgrade script
2023-09-27 20:55:08 +00:00
Robert Marsh
64e4c1ea6d
Swift: remove another table from downgrade script
2023-09-27 20:52:06 +00:00
Robert Marsh
d71d6b265a
Swift: remove table from downgrade properties
2023-09-27 20:50:21 +00:00
Robert Marsh
4799ba0069
Swift: yet another downgrade script fix
2023-09-27 20:47:45 +00:00
Robert Marsh
188ad6a571
Swift: another attempt at fixing downgrade script
2023-09-27 20:07:26 +00:00
Robert Marsh
a7a50cfc9a
Swift: more downgrade script fixes
2023-09-27 18:01:17 +00:00
Robert Marsh
50521f7b45
Swift: fix ql reference in downgrade script
2023-09-26 20:08:23 +00:00
Robert Marsh
81ee932e62
Swift: Fix db types in downgrade script for for-in
2023-09-26 18:03:08 +00:00
Robert Marsh
ae1072e09f
Merge branch 'main' into rdmarsh2/swift/for-in
2023-09-26 15:12:46 +00:00
Robert Marsh
811c33b016
Swift: finish downgrade script for for-in PR
2023-09-25 20:23:43 +00:00
Robert Marsh
8ce79e6be8
Swift: for-in downgrade script
2023-09-22 19:12:27 +00:00
Paolo Tranquilli
fc51f4a80e
Swift: add update/downgrade scripts
2023-09-14 10:22:59 +02:00
Kasper Svendsen
8ce09438a0
Swift: Enable implicit this warnings for remaining packs
2023-06-27 12:09:27 +02:00
Alex Denisov
c080cba88d
Swift: add database migration scripts
2023-06-14 16:17:44 +02:00
Paolo Tranquilli
c9c1f08de7
Swift: mark downgrade as backwards compatible
2023-05-23 08:36:49 +02:00
Paolo Tranquilli
9a0f87434e
Swift: remove unneeded properties from InterpolatedStringLiteralExpr
...
These properties were unused in the QL library (hence the full
upgrade/downgrade compatibility).
2023-05-22 15:28:54 +02:00
Nora Dimitrijević
6f804ff1e7
Swift: upgrade/downgrade scripts
2023-04-26 17:03:20 +02:00
Alexandre Boulgakov
b900185ae3
Swift: Add db upgrade/downgrade scripts for key-path component extraction.
...
I've marked both scripts as "partial" since we're extracting different AST components for key-paths and don't have a good way to convert between them in QL. Each deletes the corresponding tables, but leaves non-key-path functionality intact.
2023-04-11 14:00:13 +01:00
Paolo Tranquilli
3d6916eb72
Swift: add upgrade/downgrade scripts
2023-03-30 16:44:28 +02:00
Geoffrey White
fcefd03b14
Swift: Fill out the upgrade/downgrade scripts.
2023-03-29 15:54:08 +01:00
Geoffrey White
d5928e150d
Swift: Prepare upgrade/downgrade scripts.
2023-03-29 15:51:42 +01:00
Paolo Tranquilli
a131966066
Swift: make SuccessfullyExtractedFiles.ql more precise
...
This is done by adding a `isSuccessfullyExtracted` predicate that is
filled for primary files at the very end of the extractor invocation if
the frontend was performed successfully. If for example the extractor
crashes this will therefore not be filled.
The upgrade script is written so that `SuccessfullyExtractedFiles.ql`
on an upgraded script will give exactly the same results as before it.
2023-03-20 08:34:34 +01:00
Paolo Tranquilli
f2dff092dc
Swift: remove parameter labels from function types
...
As discussed [in this accepted proposal][1], parameter labels do not
take part any more in making up a function type, so we need to not
extract them any more to avoid DB inconsistencies.
These were unused in the library, which makes the upgrade and downgrade
scripts have full compatibility.
[1]: 9c53790a13/proposals/0111-remove-arg-label-type-significance.md
2023-03-17 10:22:02 +01:00
Paolo Tranquilli
54b6c6f8f7
Swift: make AnyGenericType::getDecl's type more specific
...
As shown by the extractor's code not needing any change, the DB values
already had that more specific type, which is why the upgrade/downgrade
scripts are actually no-ops.
2023-03-14 11:49:07 +01:00
Paolo Tranquilli
7fa85b34ea
Swift: remove query predicates in upgrade/downgrade scripts
2023-02-09 17:24:27 +01:00
Alex Denisov
3448cde048
Swift: add database migration
2023-02-07 14:31:19 +01:00
Paolo Tranquilli
a3b443c310
Swift: add upgrade/downgrade scripts for regex extraction
2023-02-07 10:21:37 +01:00